Class
Cachevariable
Attributes of cachevariable
addressSpaceWrite
makeSetGet
dataType
initializeWith
When configuration, an appropriate entry is made in the Configuration.xsd file which in turn adds s
initialStatus
isKey
nullPolicy
When nullForbidden, the cachevariable is never allowed to contain NULL. This applies to setters (Device Logic can’t set NULL), OPC UA Client write operations (write operation carrying NULL will be denied) and initialization (when initializeFrom=valueAndStatus, initialValue is mandatory to be given). Also, thanks to this setting a short getter will be created.
When nullAllowed, there is no restriction towards NULL.
Relations between nullPolicy, initializeWith and initialValue attributes
nullPolicy |
initializeWith |
initialValue |
Comment |
nullAllowed |
configuration |
NOT RELEVANT |
|
nullAllowed |
valueAndStatus |
|
|
nullForbidden |
configuration |
NOT RELEVANT |
|
nullForbidden |
valueAndStatus |
MUST BE PRESENT |