[WP_UNSG] Write property for unsigned value
Function block WP_UNSG writes to a specified write property or array element of data type Unsigned in the data point.
WP_UNSG writes to a specified write property or array element of data type Unsigned in the data point.
Compatible data points:
- Any BACnet data point with write property or array element of data type Unsigned.

WP_UNSG does not consider the BACnet object state nor the BACnet object usage.
Input | Description | Data type | Default value |
|---|---|---|---|
EnWrit | Enable write Control input that enables or disables writing of [Val] to the property or array element. | Boolean | 1 |
Val | Value Calculated or configured value written by the control program to the property or array element. Written when:
| Double Word | 0 |
RptWrit | Repeat write Forces writing of [Val] to the property or array element. Writing is repeated in each programming cycle as long as [RptWrit] = 1. | Boolean | 0 |
0 - No action. | |||
|
BaObjRef | BA-Object reference | Structure | --- |
BaObjRef | Device identifier | Double Word | 16#3FFFFF |
BaObjRef | Object identifier | Double Word | 16#3FFFFF |
BaObjRef | Item identifier | Integer | -1 |
|
PrpyId | Property identifier Parameterized BACnet ID number of the property that is written. | Integer | 0 |
|
ArrayIdx | Array index Index number of the array element accessed by the function block. | Integer | -1 |
-1: Not used. | |||
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 | |||