LD InputChannel O_FILTER FilterActivFlag, AdjustingOffsets, AdjustingGain ST OutputChannel
OutputChannel := O_FILTER (InputChannel, FilterActivFlag, AdjustingOffsets, AdjustingGain) ;
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
|
Parameter
|
Data type
|
Meaning
|
---|---|---|
CH_OUT
|
ANL_OUT
|
Output channel
|
Name
|
Type
|
Comment
|
---|---|---|
valuePtr |
UDINT |
3x or 4x raw value register |
rawControl |
BYTE |
Control Byte(internal use only) |
rawSpecific |
BYTE |
Specific Byte (internal use only) |
offset |
INT |
Offset Value |
range |
WORD |
Input range (resolution) |
channel |
BYTE |
Input Channel number |
statusMode |
BYTE |
Status Mode (internal use only) |
statusPtr |
UDINT |
Identifies high byte or low byte of status register |
warnCode |
BYTE |
Warning Code (internal use only) |