Description
Combines bits 0...15 into a single analog value.
Function
This function block primarily combines numerical values, a common occurrence in Modbus communication when sending alarms generated by control devices (in combination) to other devices.
Input
|
Name | Data type |
BIT0 | Boolean |
BIT1 | Boolean |
BIT2 | Boolean |
BIT3 | Boolean |
… | Boolean |
BIT15 | Boolean |
Output
PIN | Data type | Description |
|---|---|---|
Output | Analog | The data type of the output is INT unsigned integer |
Example
When acting as the server, the controller combines various fault alarms generated by the connected devices into a main fault code and sends it to the client.