102BTechnology instructions
9.2 PID control
S7-1200 Programmable controller
System Manual, 11/2011, A5E02486680-05
337
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 9- 17 ErrorBit parameters
ErrorBit (DW#16#...)
Description
0000
No error
0001
The Input parameter is outside the limits of the process value.
Input > Config.InputUpperLimit or
Input < Config.InputLowerLimit
0002
Invalid value for the "Input_PER" parameter. Determine whether there is an error at the
analog input.
0004
Fine tuning: Oscillation of the process value (input) could not be maintained.
0008
Pretuning: The process value (input) is too close to the setpoint. Start the fine tuning.
0010
The setpoint must not be changed during pretuning at the operating point.
0020
Pretuning is set to automatic mode, which is not allowed during fine tuning.
0040
Pretuning: The setpoint is too close to the limits for the output value.
0080
Pretuning: Incorrect configuration of the limits for the output value.
0100
An error during fine tuning: resulted in invalid parameters.
0200
Invalid value for the Input parameter:
Value outside the number range (less than -1e
12
or greater than 1e
12
)
Value with invalid number format
0400
Invalid value for the Output parameter:
Value outside the number range (less than -1e
12
or greater than 1e
12
)
Value with invalid number format
800
Sampling time error: The PID_3STEP instruction is called in a program cycle OB (such as
OB 1), or the settings were changed for the cyclic interrupt OB.
1000
Invalid value for the Setpoint parameter:
Value outside the number range (less than -1e
12
, or greater than 1e
12
)
Value with invalid number format
9.2.4
Configuring the PID controller
The parameters of the technological object determine the operation of the PID
controller. Use the icon to open the configuration editor.