Siemens SIMATIC S7-1200 Manual page 168

Easy book
Hide thumbs Also See for SIMATIC S7-1200:
Table of Contents

Advertisement

PID is easy
8.2 PID_Compact instruction
Table 8- 4
Data types for the parameters
Parameter and type
Setpoint
IN
Input
IN
Input_PER
IN
ManualEnable
IN
ManualValue
IN
Reset
IN
ScaledInput
OUT
Output
OUT
1
Output_PER
OUT
1
Output_PWM
OUT
1
SetpointLimit_H
OUT
SetpointLimit_L
OUT
InputWarning_H
OUT
InputWarning_L
OUT
168
Data type
Description
Real
Setpoint of the PID controller in automatic mode. Default value: 0.0
Real
Process value. Default value: 0.0
You must also set sPid_Cmpt.b_Input_PER_On = FALSE.
Word
Analog process value (optional). Default value: W#16#0
You must also set sPid_Cmpt.b_Input_PER_On = TRUE.
Bool
Enables or disables the manual operation mode. Default value: FALSE
On the edge of the change from FALSE to TRUE, the PID controller
switches to manual mode, State = 4, and sRet.i_Mode remains
unchanged.
On the edge of the change from TRUE to FALSE, the PID controller
switches to the last active operating mode and State = sRet.i_Mode.
Real
Process value for manual operation. Default value: 0.0
Bool
Restarts the controller. Default value: FALSE
If Reset = TRUE, the following applies:
Inactive operating mode
Input value = 0
Integral part of the process value = 0
Intermediate values of the system are reset (PIDParameter is
retained)
Real
Scaled process value. Default value: 0.0
Real
Output value. Default value: 0.0
Word
Analog output value. Default value: W#16#0
Bool
Output value for pulse width modulation. Default value: FALSE
Bool
Setpoint high limit. Default value: FALSE
If SetpointLimit_H = TRUE, the absolute upper limit of the setpoint is
reached. Default value: FALSE
Bool
Setpoint low limit. Default value: FALSE
If SetpointLimit_L = TRUE, the absolute lower limit of the setpoint is
reached. Default value: FALSE
Bool
If InputWarning_H = TRUE, the process value reached or exceeded the
upper warning limit. Default value: FALSE
Bool
If InputWarning_L = TRUE, the process value reached the lower
warning limit. Default value: FALSE
Easy Book
Manual, 11/2011, A5E02486774-04

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents