IEC_BACNET_ACTION_COMMAND
(STRUCT)
TYPE IEC_BACNET_ACTION_COMMAND : STRUCT
The Action-Command data structure is a specification of a single value to be written to a single property of a single object. It contains all co-ordinates of the value to be written: Device, object and Property identifiers, Array-Index and Priority (VOID if the property is not array or it is not a commandable property). This data structure also indicates a behaviour of the process of writing an optional Post-Delay attribute represents a delay in seconds prior to the execution of the next writing, Quit-On-Failure flag indicates if the device shall terminate the execution of the action list prematurely in the case of writing fail (TRUE) or writing shall continue after each failure with the next element of the action list. A Write-Successful attribute of Action-Command data structure shall be set to FALSE if the write fails for any reason. If the Quit-On-Failure attribute of Action-Command data structure is TRUE and the write fails, then it terminate the execution list prematurely and set Write-Successful flag in subsequent entries in the same list to FALSE.
- InOut:
Name
Type
Comment
mask
Flags which indicate what parameters are present and valid.
Combined valid values are: ACTION_DEVICE_ID_FLAG or ACTION_POST_DELAY_FLAG.
deviceID
An optional BACnet device identifier which is referenced.
objectID
An object identifier which is referenced.
propertyID
The property identifier which is referenced.
index
The optional property array index.
Ihis is used only with array datatypes. For referencing non array datatypes BACNET_VOID_INDEX (-1) shall be used.
value
A value to be written.
priority
A conditional priority.
postDelay
An optional post-writing delay time.
quitOnFailure
A premature quit flag.
writeSuccessful
A write success flag.