FB_TempCtrlStandByZone_TcPfw()
![FB_TempCtrlStandByZone_TcPfw() 1:](Images/png/13243026827__Web.png)
One or more function blocks of this type are called from a function block of the application to switch individual zones, zone groups or all zones of the temperature control into the standby or active state.
Syntax
VAR_INPUT
ModuleId : INT:=-1;
ZoneId : INT:=-1;
StandBy : BOOL:=TRUE;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
ModuleId | INT | ModuleId of the temperature zones to be controlled. |
ZoneId | INT | ZoneId of the temperature zones to be controlled. |
StandBy | BOOL | New state of the temperature zones. |
Behavior of the function block:
- To control a zone in a group, both the ModuleId and the ZoneId must be specified.
- To control all zones in a group, the ModuleId must be specified. The value 0 is used here as ZoneId.
- To control all zones in all groups, use the value 0 for both ModuleId and ZoneId.
In the zone(s) selected in this way ST_TcPfw_TempCtrl_Itf.SelSetpoint is updated with StandBy.