HA_CS31_DATA_SYNC - HA Data Synchronization FB¶
Function Block HA_CS31_DATA_SYNC
Available as of PLC runtime system | V1.3 and above |
Included in library | HA_CS31_AC500_V13.lib (V1.3) and above |
Type | Function Block with historical values. |
The function block HA_CS31_DATA_SYNC is intended to be used for synchronizing different instances of function blocks in the HA-CS31 project. It is needed only if the user is not using HA-CS31 utility function blocks.
HA_CS31_DATA_SYNC is part of the HA-CS31 library and is used for synchronization. It collects data and size information of the connected function block instance and delivers those details to the HA_CS31_CONTROL function block for data synchronization. Users can use up to 1024 instances of HA_CS31_DATA_SYNC in one program. The maximum of 1024 bytes (user data) can be synchronized in one cycle. In previous library versions (< 2.4.0) the users can use only up to 256 instances of HA_CS31_DATA_SYNC.
To start synchronization HA_CS31_DATA_SYNC should be enabled in both CPUs at least once. Once the function block is enabled, it runs till the system is powered off (regardless of an enabled input status). We recommend you, always to keep ENABLE input as TRUE instead of connecting a variable.