Siemens SIMATIC PN/BACnet LINK Operating Instructions Manual page 40

Network transitions
Table of Contents

Advertisement

Functions
4.5 Acyclic data exchange
WriteProperty
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
Element
PNreq
BNreq
DNET
Device ID
ObjectID
PropertyID
ArrayIndex
Priority
Data type
Len
Value
The result is located in a data record, which must then be read.
Table 4- 8
Element
PNresp
BNresp
DNET/ErrorClass
Device/ErrorCode
ObjectID
PropertyID
ArrayIndex
40
WRREC (Write data record) - RecordWrite data record structure for WriteProperty
service
Type
Meaning
UINT8
PROFINET service: Property access = 1
UINT8
BACnet service: "WriteProperty" = 0x0F = 15
UINT32
Network number
UINT32
BACnet device instance number
UINT32
BACnet ObjectID (type and instance)
UINT32
PropertyID
INT32
Property index (-1 = no index)
UINT16
BACnet priority (1 ... 16)
UINT16
BACnet data type of the property (according to BACnet specification)
UINT16
Length of value in bytes
Array
BACnet property value in ASN.1 format
RDREC (Read data record) - data record structure for WriteProperty result
Type
Meaning
UINT8
PROFINET error number (0 == no error)
UINT8
BACnet error number (0 == no error)
UINT32
Network number (BNresp == 0)/BACnet error class (BNresp != 0)
UINT32
BACnet device instance (BNresp == 0)/BACnet error code
(BNresp != 0)
UINT32
BACnet ObjectID (type and instance)
UINT32
PropertyID
INT32
Property index (-1 = no index)
Operating Instructions, 10/2017, A5E39895543-AA
PN/BACnet LINK

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents