Description
Original instructions
Function description
The function enables the adjustment of characteristic curves for analog raw values.
3 different adjustments are available:
NOTE: Correction of the automatically set values for "Offset" and "Range" is not normally necessary.
EN and ENO can be configured as additional parameters.
Representation in FBD
Representation:
Representation in LD
Representation:
Representation in IL
Representation:
LD InputChannel
O_FILTER FilterActivFlag, AdjustingOffsets, AdjustingGain
ST OutputChannel
Representation in ST
Representation:
OutputChannel := O_FILTER (InputChannel, FilterActivFlag,
    AdjustingOffsets, AdjustingGain) ;
Parameter description
Description of input parameters:
Parameter
Data type
Meaning
CH_IN
Input channel
SQRT
Square root filter
1: Filter active
0: Filter inactive
OFFS_ADJ
Adjusting offset
RNGE_ADJ
INT
Adjusting gain
Description of output parameters:
Parameter
Data type
Meaning
CH_OUT
ANL_OUT
Output channel
Runtime error
An error message is returned if the input channel has not been configured. In this case, please check the connected I/O module EFB.
NOTE: For a list of all block error codes and values, seeAnalog I/O Configuration .