FilterOrder1

PLCopen motion icon

 Function Block - First order filter.

Inputs

Input

Data Type

Range

Unit

Default

Description

XIN

REAL

 

 

 

Input analog value.

GAIN

REAL

 

 

 

Transformation gain.

Outputs

Output

Data Type

Range

Unit

Description

XOUT

REAL

 

 

Output signal.

Remarks

The operation performed is:

Output = (Input x Gain) + (OutputPrev * (1-Gain))

The allowed range for the gain is [0.05 .. 1.0]

Example

FBD Language Example

Not available.

FFLD Language Example

Not available.

IL Language Example

Not available.

ST Language Example

Filt1 is a declared instance of FilterOrder1 function block.

Filt1 (rIn, rGain);
Signal := Fillt1.Xout;