User Manual

PID is easy
8.3 PID_Compact instruction ErrorBit parameters
Easy Book
Manual, 03/2014, A5E02486774-AF
177
8.3
PID_Compact instruction ErrorBit parameters
If several errors are pending, the values of the error codes are displayed by means of binary
addition. The display of error code 0003, for example, indicates that the errors 0001 and
0002 are also pending.
Table 8- 5 PID_Compact instruction ErrorBit parameters
ErrorBit (DW#16#...)
Description
0000
No error
0001
1, 2
The Input parameter is outside the process value limits.
Input > Config.InputUpperLimit
Input < Config.InputLowerLimit
0002
2, 3
Invalid value at the Input_PER parameter. Check whether an error is
pending at the analog input.
0004
4
Error during fine tuning. Oscillation of the process value could not be
maintained.
0008
4
Error at start of pre-tuning. The process value is too close to the setpoint.
Start fine tuning.
0010
4
The setpoint was changed during tuning.
Note: You can set the permitted fluctuation on the setpoint at the
CancelTuningLevel tag.
0020 Pre-tuning is not permitted during fine tuning.
Note: If ActivateRecoverMode = TRUE before the error occurred,
PID_Compact remains in fine tuning mode.
0080
4
Error during pre-tuning. Incorrect configuration of output value limits.
Check whether the limits of the output value are configured correctly and
match the control logic.
0100
4
Error during fine tuning resulted in invalid parameters.
0200
2, 3
Invalid value at the Input parameter: Value has an invalid number format.
0400
2, 3
Calculation of the output value failed. Check the PID parameters.
0800
1, 2
Sampling time error: PID_Compact is not called within the sampling time of
the cyclic interrupt OB.
1000
2, 3
Invalid value at the Setpoint parameter: Value has an invalid number format.
10000 Invalid value at the ManualValue parameter: Value has an invalid number
format.
Note: If ActivateRecoverMode = TRUE before the error occurred,
PID_Compact uses SubstituteOutput as the output value. As soon as you
assign a valid value in the ManualValue parameter, PID_Compact uses it as
the output value.