The Generic OPC UA Server Framework

Design File Manual

Class





Cachevariable

Attributes of cachevariable

addressSpaceWrite

makeSetGet

This attribute is deprecated and will be completely removed soon.

dataType



initializeWith

Determines what the cachevariable will be initialized with before any custom code or any OPC UA client write is effective.

initialValue

initialStatus

When initializeWith=valueAndStatus, this attribute gives the initial status of the cachevariable.
When initializeWith is different, this attribute is ignored.

isKey

nullPolicy


Relations between nullPolicy, initializeWith and initialValue attributes


nullPolicy
initializeWith
initialValue
Comment
nullAllowed
configuration
NOT RELEVANT

nullAllowed
valueAndStatus
  • If not present, the value is initialized as NULL.
  • If present, the value is initialized with the attribute contents.

nullForbidden
configuration
NOT RELEVANT

nullForbiddenvalueAndStatus
MUST BE PRESENT