CAL O_NORM_WARN_Instance (CHANNEL:=OutputChannel, X:=REAL_variable, WARN_NEG=>UnderflowFlag, WARN_POS=>OverflowFlag)
O_NORM_WARN_Instance (CHANNEL:=OutputChannel, X:=REAL_variable, WARN_NEG=>UnderflowFlag, WARN_POS=>OverflowFlag) ;
Parameter
|
Data type
|
Meaning
|
---|---|---|
WARN_NEG
|
0: no output value underflow at the closed analog output EFB
1: output value underflow at the closed analog output EFB
|
|
WARN_POS
|
BOOL
|
0: no output value overflow at the closed analog output EFB
1: output value overflow at the closed analog output EFB
|
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) |