1 FUNCTIONS
1.5 BACnet Request Function (Write Function)
139
1
■ Program example
(0) The instance number of a write destination device is stored.
The ObjectIdentifier of a write target object is stored.
The PropertyIdentifier of a write target property is stored.
'FFFFh' is stored to the ArrayIndex since the write target is not an ARRAY type.
The data type of a write target property is specified.
'0' is stored since the Priority is not specified at writing.
The data to be written is stored.
'FFFFh' is stored since Property-2 to Property-4 are not used.
(44) When sending a WritePropertyMultiple(WriteProperty) service, '1' (send request) is stored to the CONTROL.
(50) When the CONTROL is '3' (normal completion), '0' (idling) is stored to the CONTROL to reset.
(57) When the CONTROL is '4' (error end), an error code is stored to D200.
'0' (idling) is stored to the CONTROL to reset.