FilterOrder1

PLCopen motion icon

 Function BlockClosed A function block groups an algorithm and a set of private data. It has inputs and outputs. - 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

Not available.

FFLD Language

Not available.

IL Language

Not available.

ST Language

Filt1 is a declared instance of FilterOrder1 function block.

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