FB_BA_PISync1202
Parameter synchronisation for 2 controllers of type FB_BACnetLoop1202. This function block can be used to synchronise the master controllers, for example, which are used to generate the inlet air set values for an air conditioning system with an air cooler and an air heater.
Functional description
This function block automatically synchronises the P- and I-parameters and the minimum and maximum output values lrYMin and lrYMax of two controllers of type FB_BACnetLoop1202. It is irrelevant where the change takes place: at one of the two controllers in the PLC or in BACnet.
The function block automatically detects a change and transfers it to the respective other controllers via ADS. To this end, both controllers should be referenced via the IN-OUT-variables fbCtrl1 and fbCtrl2 at the function block - fbDvc is the reference to the BACnet device, under which both function blocks run.
Inputs/outputs
VAR_IN_OUT
fbCtrl1 : FB_BACnetLoop1202;
fbCtrl2 : FB_BACnetLoop1202;
fbDvc : FB_BACnet_Device;
fbCtrl1: reference to controller no. 1 of the parameter adjustment
fbCtrl2: reference to controller no. 2 of the parameter adjustment
fbDvc: reference to the function block of the BACnet device object
Requirements
Development environment | Target system | required library | required supplement |
---|---|---|---|
TwinCAT 2.11 R3/x64 | PC/CX | TcBA library from V1.0.0 | TS8040 | TwinCAT Building Automation from V1.0.0 |