Using PID_Temp
6.4 Cascade control with PID_Temp
PID control
194 Function Manual, 03/2017, A5E35300227-AC
● Interconnection of the interface for information exchange between master and slave
The "Slave" parameter of a master has to be assigned to the "Master" parameter of all its
directly subordinate slaves (which receive their setpoint from this master). The
assignment should be carried out via the interface of the slave in order to allow the
interconnection of a master with multiple slaves and the display of the interconnection in
the Inspector window of the slave in the basic settings.
This interconnection can be carried out in the programming editor or automatically in the
Inspector window of the slave in the basic settings via the selection of the master.
The Anti-Wind-Up functionality and the evaluation of the slave operating modes at the
master can only function correctly if this interconnection is carried out.
In the example, the "Slave" parameter of PID_Temp_1 is assigned to the "Master"
parameter of PID_Temp_2.
Program code of the example using SCL (without assignment of the output value of the slave
to the actuator):
"PID_Temp_1"(Input:="TempChocolate");
"PID_Temp_2"(Input:="TempWater", Master := "PID_Temp_1".Slave, Setpoint :=
"PID_Temp_1".OutputHeat);
PID_Temp ActivateRecoverMode tag (Page 442)