Technology instructions
10.2 PID control
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
613
OutputCool_PWM
1
OUT Bool Pulse-width-modulated output value for cooling. (Default value: FALSE)
This output value is only calculated if selected using the Con-
fig.Output.Cool.Select = 1 (default value)
parameter. If not selected, this
output is always FALSE.
SetpointLimit_H OUT Bool Setpoint high limit. (Default value: FALSE)
If SetpointLimit_H = TRUE, the absolute setpoint upper limit is reached
(Setpoint ≥ Config.SetpointUpperLimit).
The setpoint is limited to Config.SetpointUpperLimit.
SetpointLimit_L OUT Bool Setpoint low limit. (Default value: FALSE)
If SetpointLimit_L = TRUE, the absolute setpoint lower limit is reached
(Setpoint ≤ Config.SetpointLowerLimit).
The setpoint is limited to Config.SetpointLowerLimit.
InputWarning_H OUT Bool If InputWarning_H = TRUE, the process value has reached or exceed-
ed the warning high limit. (Default value: FALSE)
InputWarning_L OUT Bool If InputWarning_L = TRUE, the process value has reached or fallen
below the warning low limit. (Default value: FALSE)
State OUT Int Current operating mode of the PID controller. (Default value: 0)
You can change the operating mode using the Mode input parameter
and a rising edge at ModeActivate:
• State = 0: Inactive
• State = 1: Pre-tuning
• State = 2: Fine tuning
• State = 3: Automatic mode
• State = 4: Manual mode
• State = 5: Substitute output value with error monitoring
Error OUT Bool If Error = TRUE, at least one error message is pending in this cycle.
(Default value: FALSE)
Note: The Error parameter in V1.x PID was the ErrorBits field that con-
tained the error codes. It is now a Boolean flag indicating that an error
ErrorBits OUT DWord The PID_Temp instruction, ErrorBits parameters table
(Page 619)defines the error messages that are pending. (Default value:
DW#16#0000 (no error)). ErrorBits is retentive and is reset upon a
rising edge at Reset or ErrorAck.
Note: In V1.x, the ErrorBits parameter was defined as the Error pa-
rameter and did not exist.
Warning OUT DWord The PID_Temp instruction, Warning parameters table (Page 621) de-
fines the user-relevant warning messages that are pending. (Default
value: DW#16#0000 (no warning)).
WarningInternal OUT DWord The PID_Temp instruction, WarningInternal parameters table defines
the warning internal messages that are pending (includes all warnings).
(Default value: DW#16#0000 (no warning internal)).
1
You can use the outputs of the Output, Output_PER, and Output_PWM parameters in parallel.