Simulating Pid_Temp With Plcsim - Siemens SIMATIC S7-1200 Function Manual

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

Advertisement

Using PID_Temp

6.7 Simulating PID_Temp with PLCSIM

6.7
Simulating PID_Temp with PLCSIM
Note
Simulation with PLCSIM
The simulation of PID_Temp with PLCSIM for CPU S7-1200 is not supported.
PID_TEMP can be simulated only for CPU S7-1500 with PLCSIM.
For the simulation with PLCSIM, the time behavior of the simulated PLC is not exactly
identical to that of a "real" PLC. The actual cycle clock of a cyclic interrupt OB can have
larger fluctuations with a simulated PLC than with "real" PLCs.
In the standard configuration, PID_Temp determines the time between calls automatically
and monitors them for fluctuations.
For the simulation of PID_Temp with PLCSIM, for example, a sampling time error
(ErrorBits = DW#16#00000800) can therefore be detected.
This results in ongoing tuning being aborted.
The response in automatic mode depends on the value of the ActivateRecoverMode tag.
To prevent this from happening, you should configure PID_Temp for simulation with PLCSIM
as follows:
• CycleTime.EnEstimation = FALSE
• CycleTime.EnMonitoring = FALSE
• CycleTime.Value: Assign the cycle clock of the calling cyclic interrupt OB in seconds to
this tag.
206
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