Runtime error
Original instructions
Status word
The following messages are displayed in the status word:
Bit
Description
Bit 4 = 1
The following behavior is displayed:
  • The SP input lies outside the area [pv_inf, pv_sup]: for calculation the function block requires the values pv_inf or pv_sup.
  • One of the kp, dband, gain _kp parameters outrate is negative. the function block uses the value 0 outside the incorrect parameter value.
  • kd < 1 (with td <> 0) : the function block uses the value 1 instead of the faulty value of kd.
  • The parameter ovs_att is outside the [0.1] range: for calculation, the function block uses the value 0 or 1.
  • One of the parameters out_min or out_max is outside the range [out_inf, out_sup]. For calculation, the function block uses the value out_inf or out_sup.
  • One of the parameters outbias, otff_inf or otff_sup is outside the range [(out_min - out_max), (out_max - out_min)]. For calculation, the function block uses the value (out_min - out_max) or (out_max - out_min).
Bit 5 = 1
The output OUT has reached the lower threshold out_min (see Note)
Bit 6 = 1
The output OUT has reached the upper threshold out_max (see Note)
Bit 7 = 1
The thresholds pv_inf and pv_sup are identical.
If an error occurs during floating point processing, it will also be displayed on the Statusoutput. For the list of possible floating point error codes, see Common Floating Point Errors.
Note on output OUT
NOTE: In manual mode these bits stay at 1 for only one program cycle. When the user enters a value for OUT which exceeds one of the thresholds, the function block sets the Bit 5 or 6 to 1 and blocks them from the user entered value. During the next execution of the function block, the value of OUT no longer lies outside the range and bits 5 and 6 are set to zero again.
Error message
An error is displayed when a non-floating point has been recorded at an input, when a problem occurs during a calculation with floating points or when the thresholds pv_inf and pv_sup of the controller are identical. In this case the outputs OUT, OUTD, MA_O and INFO remain unchanged.
NOTE: For a list of all block error codes and values, see Controller.
Warning Message
In the following cases a warning message is given: