EasyManua.ls Logo

Siemens Simatic S7-1500

Siemens Simatic S7-1500
527 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Instructions
9.3 PID_Temp
PID control
Function Manual, 03/2017, A5E35300227-AC
393
9.3.4.5
In/out parameters of PID_Temp V2
Parameter
Data type
Default
Description
Mode INT 4 At Mode, specify the operating mode to which PID_Temp is to switch. Options
are:
Mode = 0: Inactive
Mode = 1: Pretuning
Mode = 2: Fine tuning
Mode = 3: Automatic mode
Mode = 4: Manual mode
The operating mode is activated by:
Rising edge at ModeActivate
Falling edge at Reset
Falling edge at ManualEnable
Cold restart of CPU if RunModeByStartup = TRUE
For pretuning and fine tuning, you specify with Heat.EnableTuning and
Cool.EnableTuning whether tuning takes place for heating or cooling.
Mode is retentive.
A detailed description of the operating modes can be found in State and Mode
parameters (Page 430).
Master
DWORD
DW#16#0
Interface for cascade control
If this PID_Temp instance is used as slave controller in a cascade (Con-
fig.Cascade.IsSlave = TRUE), assign the Master parameter at the instruction
call with the Slave parameter of the master controller.
Example:
Call of a slave controller "PID_Temp_2" with master controller "PID_Temp_1" in
SCL:
----------------------------------------------------------------------------
"PID_Temp_2"(Master := "PID_Temp_1".Slave, Setpoint :=
"PID_Temp_1".OutputHeat);
----------------------------------------------------------------------------
You use this interface to exchange slave controller information about operating
mode, limit and substitute setpoint with your master controller. Ke
ep in mind that
the call of the master controller has to take place before the call of the slave
controller in the same cyclic interrupt OB.
Assignment:
Bits 0 to 15: Unassigned
Bits 16 to 23 Limit counter:
A slave controller whose output value is limited increments this counter. De-
pending on the configured number of slaves (Config.Cascade.CountSlaves)
and of the anti-windup mode (Config.Cascade.AntiWindUpMode), the mas-
ter controller reacts accordingly.
Bit 24 Automatic mode of the slave controllers:
TRUE, if all slave controllers are in automatic mode
Bit 25 Substitute setpoint of the slave controllers:
TRUE, if a slave controller has activated the substitute setpoint (Substi-
tuteSetpointOn = TRUE)
Slave DWORD DW#16#0 Interface for cascade control
You use this interface to exchange slave controller information about operating
mode, limit and substitute setpoint with your master controller.
See description of Master parameter

Table of Contents

Other manuals for Siemens Simatic S7-1500

Related product manuals