FB_BA_PISync1201

Parameter synchronization for 2 controllers of type FB_BACnetLoop1201. This function block can be used to synchronize 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.

FB_BA_PISync1201 1:

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_BACnetLoop1201. 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_BACnetLoop1201;
fbCtrl2     : FB_BACnetLoop1201;
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