[WP_DINT] Write property for double integer value

Function block WP_DINT writes to a specified write property or array element of data type Double Integer in the data point.

WP_DINT writes to a specified write property or array element of data type Double Integer in the data point.

Functioning

Compatible data points:

  • Any BACnet data point with write property or array element of data type Double Integer.
info

WP_DINT does not consider the BACnet object state nor the BACnet object usage.

Pins

Input

Description

Data type

Default value
Value range

EnWrit

Enable write

Control input that enables or disables writing of [Val] to the property or array element.
If [EnWrit] changes from 0 to 1, writing occurs.

Boolean

1

Val

Value

Calculated or configured value written by the control program to the property or array element.

Written when:

  • [EnWrit] 1 and [Val] changes.
  • [EnWrit] changes from 0 to 1.
  • [RptWrit] and [EnWrit] are 1.

Double integer

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.
[RptWrit] typically is calculated and set by the control program.
Note
[RptWrit] cannot be forced permanently to 1. This may result in increased network traffic.

Boolean

0

0 - No action.
1 - [Val] is written to the property or array element with each programming cycle.

BaObjRef

BA-Object reference
Link between function block and BACnet object.

Structure

---

BaObjRef
> DeviceID

Device identifier
[DeviceID] includes object type and object instance in one ID.
Identifies the device object: local or remote. A local device object can also be identified by value 16#3FFFFF.

Double Word

16#3FFFFF

BaObjRef
> ObjectID

Object identifier
[ObjectID] includes object type and object instance in one ID.
Identifies the object on a device.

Double Word

16#3FFFFF

BaObjRef
> ItemID

Item identifier
[ItemID] represents an index in a view node object that references the BACnet object.
[ObjectID] and [ItemID] together define an indirect reference to the BACnet object.
Value -1 indicates a direct interface.

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.
Optional, configured input to indicate access to a property element of data type BACnetArray or BACnetPriorityArray.
Cannot be changed during runtime.

Integer

-1

-1: Not used.
0: Specifies the array length of the referenced property.
Note:
As writing this field is not a control program function, the requirements of [ArrayIdx] = 0 are rejected by the function block.
>0: Configured value.

 

Output

Description

Data type

Default value
Value range

Dstb

Disturbed

[Dstb] indicates whether the referenced BACnet object was accessed.
[Dstb] = 0, if:
BACnet object access = Access successful
[Dstb] = 1, if:
BACnet object access = Error during access

Boolean

0

ErrCode

Error code indication

Integer

0: No error

= 0 - No error
> 0 - XFB error codes