Static Tags Of Pid_Compact V1 - Siemens SIMATIC S7-1200 Function Manual

Pid control
Hide thumbs Also See for SIMATIC S7-1200:
Table of Contents

Advertisement

Instructions
9.1 PID_Compact
9.1.5.4

Static tags of PID_Compact V1

You must not change tags that are not listed. These are used for internal purposes only.
Table 9- 6
Static tags of PID_Compact V1
Tag
sb_GetCycleTime
sb_EnCyclEstimation
sb_EnCyclMonitoring
sb_RunModeByStartup
si_Unit
si_Type
sd_Warning
sBackUp.r_Gain
sBackUp.r_Ti
sBackUp.r_Td
sBackUp.r_A
sBackUp.r_B
sBackUp.r_C
sBackUp.r_Cycle
sPid_Calc.r_Cycle
288
Data type
Default
BOOL
TRUE
BOOL
TRUE
BOOL
TRUE
BOOL
TRUE
INT
0
INT
0
DWORD
DW#16#0
REAL
1.0
REAL
20.0
REAL
0.0
REAL
0.0
REAL
0.0
REAL
0.0
REAL
1.0
REAL
0.1
Description
If sb_GetCycleTime = TRUE, the automatic determi-
nation of the cycle time is started. Cy-
cleTime.StartEstimation = FALSE once measurement
is complete.
If sb_EnCyclEstimation = TRUE, the PID_Compact
sampling time is not monitored.
If sb_EnCyclMonitoring = FALSE, the PID_Compact
sampling time is not monitored. If it is not possible to
execute PID_Compact within the sampling time, an
0800 error is not output and PID_Compact does not
change to "Inactive" mode.
Activate Mode after CPU restart
If sb_RunModeByStartup = FALSE, the controller will
remain inactive after a CPU startup.
After a CPU startup and if sb_RunModeByStartup =
TRUE, the controller will return to the most recently
active operating mode.
Unit of measurement of the process value and set-
point, e.g., ºC, or ºF.
Physical quantity of the process value and setpoint,
e.g., temperature.
Variable sd_warning (Page 300) displays the warn-
ings generated since the reset, or since the last
change of the operating mode.
Saved proportional gain
You can reload values from the sBackUp structure
with sPid_Cmpt.b_LoadBackUp = TRUE.
Saved integral action time [s]
Saved derivative action time [s]
Saved derivative delay coefficient
Saved proportional action weighting factor
Saved derivative action weighting factor
Saved sampling time of PID algorithm
Sampling time of the PID_Compact instruction
r_Cycle is determined automatically and is usually
equivalent to the cycle time of the calling OB.
Function Manual, 03/2017, A5E35300227-AC
PID control

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1500

Table of Contents