Execution Error
Original instructions
Execution Monitoring
An execution error is signaled in the following cases:
In all cases, the error is considered to be serious. The loop output is frozen and the errors are signaled in the status words.
Status Word
The status word displays the following messages:
Bit
Meaning
Bit 0 =1
Error at the time of a calculation with the floating point values
Bit 1 = 1
Non-admissible value detected on one of the floating point inputs
Bit 2 = 1
Division by 0 on a floating point calculation
Bit 4 = 1
The following behaviors are signaled:
  • The SP input overflows from the zone [pv_inf, pv_sup]: the function block uses the value pv_inf or pv_sup for the calculation.
  • The parameter kp or dband is negative: the block function uses the value 0 instead of the incorrect parameter value.
  • The outbias parameter comes from the zone [(out_min - out_max), (out_max - out_min)]. The function block uses the value (out_inf - out_sup) or (out_sup - out_inf) for the calculation
Bit 5 = 1
The OUT output has reached the lower limit out_min
Bit 6 = 1
The OUT output has reached the upper limit out_max or high scale of output out_sup, whichever is lower
Bit 7 = 1
The limit values pv_inf and pv_sup are the same
Bit 8 = 1
The pure delay buffer does not exist
NOTE: When a floating point calculation error occurs, the status output returns an error code.