Runtime error
Original instructions
Status word
The following messages are displayed in the Status word:
Bit
Value in Dec.
Value in Hex.
ENO Status
Description
Bit 0 = 1
1
0x0001
False
Error in a floating point value calculation
Bit 1 = 1
2
0x0002
False
Recording of an invalid value on one of the floating point value inputs
Bit 2 = 1
4
0x0004
False
Division by zero during a floating point value calculation
Bit 3 = 1
8
0x0008
False
Capacity overflow during floating point value calculation
Bit 4 = 1
16
0x0010
True
IN or one of the parameters out1_th1, out1_th2, out2_th1, out2_th2 is not in the range [0, 100]: for calculation, the function block uses the value 0 or 100.
Bit 5 = 1
32
0x0020
True
The output OUT1 has reached the lower threshold out1_inf: OUT1 is forced to out1_inf.
Bit 6 = 1
64
0x0040
True
The output OUT1 has reached the upper threshold out1_sup: OUT1 is forced to out1_sup.
Bit 7 = 1
128
0x0080
False
Both the threshold values of an output are identical: out1_th1 = out1_th2, out2_th1 = out2_th2.
Bit 8 = 1
256
0x0100
True
The output OUT2 has reached the lower threshold out2_inf: OUT2 is forced to out2_inf.
Bit 9 = 1
516
0x0200
True
The output OUT2 has reached the upper threshold out2_sup: OUT2 is forced to out2_sup.
For the list of other possible floating point error codes, see Common Floating Point Errors.
Error message
A runtime error appears in the following cases:
The outputs OUT1 and OUT2 are never modified.
NOTE: For a list of all block error codes and values, seeOutput Processing.
Warning
A warning is given if one of the parameters out1_th1, out1_th2, out2_th1, out2_th2 is not in the [0 - 100] range. In this case the function block uses the value 0 or 100 for calculating.