[WP_DATI] Write property for date and time value
Function block WP_DATI writes to a specified write property or array element of data type DateAndTime in the data point.
WP_DATI writes to a specified write property or array element of data type DateAndTime in the data point.
Compatible data points:
- Any BACnet data point with write property or array element of data type DateAndTime.

WP_DATI 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. [Val] is written in the following cases:
| Date And Time | 01.01.1990 |
|
SetUnspf | Set unspecified value Defines whether an unspecified value can be written on the property or array element. | Boolean | 0 |
0 - The value from [Val] is written. | |||
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 | |||