UA_OptionSet

This PLC data type maps the "OptionSet" node [i=12755]: reference.opcfoundation.org
This abstract data type is the base type for all data types that represent a bit mask with more than 64 bits or where the validity of individual bits must be marked.

Syntax

TYPE UA_OptionSet :
STRUCT
END_STRUCT
END_TYPE
UA_OptionSet 1:

Using UA_OptionSet

To define a specific OptionSet and use it with TF6100 (Server) and TE6100 (Nodeset Editor), it must be derived from Tc3_OpcUa.UA_OptionSet.

Sample implementation of a specific option set:

TYPE UA_OptionSet_Sample EXTENDS UA_OptionSet :
STRUCT
    BitOne : UA_OptionSet_Option;
    BitTwo : UA_OptionSet_Option;
END_STRUCT
END_TYPE