Functions
4.5 Acyclic data exchange
PN/BACnet LINK
40 Operating Instructions, 10/2017, A5E39895543-AA
For a "WriteProperty", in addition to the parameters required for "ReadProperty", the data
record must also contain the property value and the priority of the write job.
Table 4- 7 WRREC (Write data record) - RecordWrite data record structure for WriteProperty
service
PROFINET service: Property access = 1
BACnet service: "WriteProperty" = 0x0F = 15
Device ID UINT32 BACnet device instance number
BACnet ObjectID (type and instance)
Property index (-1 = no index)
BACnet priority (1 ... 16)
BACnet data type of the property (according to BACnet specification)
BACnet property value in ASN.1 format
The result is located in a data record, which must then be read.
Table 4- 8 RDREC (Read data record) - data record structure for WriteProperty result
PROFINET error number (0 == no error)
BACnet error number (0 == no error)
Network number (BNresp == 0)/BACnet error class (BNresp != 0)
Device/ErrorCode UINT32 BACnet device instance (BNresp == 0)/BACnet error code
BACnet ObjectID (type and instance)
Property index (-1 = no index)