Technology instructions
10.2 PID control
S7-1200 Programmable controller
592 System Manual, V4.2, 09/2016, A5E02486680-AK
The PID_Compact instruction provides a universal PID controller with integrated self-tuning
for automatic and manual mode.
Table 10- 18 PID_Compact instruction
Setpoint:=_real_in_,
Input:=_real_in_,
Input_PER:=_word_in_,
Disturbance:=_real_in_,
ManualEnable:=_bool_in_,
ManualValue:=_real_in_,
ErrorAck:=_bool_in_,
Reset:=_bool_in_,
ModeActivate:=_bool_in_,
Mode:=_int_in_,
ScaledInput=>_real_out_,
Output=>_real_out_,
Output_PER=>_word_out_,
Output_PWM=>_bool_out_,
SetpointLimit_H=>_bool_out_,
SetpointLimit_L=>_bool_out_,
InputWarn-
ing_H=>_bool_out_,
InputWarn-
ing_L=>_bool_out_,
State=>_int_out_,
Error=>_bool_out_,
PID_Compact provides a PID controller with
self-tuning for automatic and manual mode.
PID_Compact is a PID T1 controller with
anti-windup and weighting of the P- and D-
component.
STEP 7 automatically creates the technology object and instance DB when you insert the instruction. The instance DB
contains the parameters of the technology object.
2
In the SCL example, "PID_Compact_1" is the name of the instance DB.