[W_BG] Write binary group
Function block W_BG supports the distribution of properties present value and reliability to a group of binary, calculated value objects that share a specific group data tag.
W_BG supports the distribution of properties present value and reliability (a value/reliability pair) to a group of binary, calculated value objects that share a specific group data tag. W_BG supports the distribution of a value to a specific property of data type Bool, to a group of objects that share a specific group data tag.
Compatible data points:
- Binary, calculated value [BCalcVal]
- BACnet object with a specific property of data type Bool
Input | Description | Data type | Default value |
|---|---|---|---|
EnWrit | Enable write If [EnWrit] = 1, writing values from inputs [Val] and [SetValid] to the BACnet object is enabled. | Boolean | 1 |
Val | Value Virtual value, calculated and assigned by the control program to update the present value. [Val] is written if [EnWrit] = 1 and one of the items applies:
| Boolean | 0 |
SetValid | Set valid value indication A value calculated and assigned by the control program that indicates whether [Val] is reliable. [SetValid] is mapped to an error code that updates reliability if [EnWrit] = 1 and one of the following items applies:
| Boolean | 1 |
0 - Reliability error code 7 (unreliable - other). | |||
RptWrit | Repeat write Forces writing of [Val], and [SetValid] to the data point. Write is repeated with each program cycle until [RptWrit] = 1. Note: | Boolean | 0 |
0 - No action. | |||
GrpTag | Grouping tag Specifies the group data (present value, priority) for central distribution by the function block. | Double Word | 0 |
|
BaObjRef | BA-Object reference | Structure | --- |
BaObjRef | Device identifier | Double Word | 16#3FFFFF |
BaObjRef | Object identifier | Double Word | 16#3FFFFF |
BaObjRef | Item identifier | Integer | -1 |
Output | Description | Data type | Default value |
|---|---|---|---|
Dstb | Disturbed [Dstb] indicates whether the referenced BACnet object was accessed. | Boolean | 0 |
ErrCode | Error code indication | Integer | 0: No error |
= 0 - No error | |||