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

IEC_BACNET_UNSIGNED

Flags which indicate what parameters are present and valid.

Combined valid values are: ACTION_DEVICE_ID_FLAG or ACTION_POST_DELAY_FLAG.

deviceID

IEC_BACNET_OBJECT_ID

An optional BACnet device identifier which is referenced.

objectID

IEC_BACNET_OBJECT_ID

An object identifier which is referenced.

propertyID

IEC_BACNET_PROPERTY_ID

The property identifier which is referenced.

index

IEC_BACNET_SIGNED

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

IEC_BACNET_PROPERTY_CONTENTS

A value to be written.

priority

IEC_BACNET_SIGNED

A conditional priority.

postDelay

IEC_BACNET_UNSIGNED

An optional post-writing delay time.

quitOnFailure

IEC_BACNET_BOOLEAN

A premature quit flag.

writeSuccessful

IEC_BACNET_BOOLEAN

A write success flag.