17 How to define well-known Nodes representing static values
In some cases, it is necessary to define Nodes that provide static values.
There are two approaches to achieve this:
Define a Variable within an ObjectType or VariableType without a ModellingRule.
Examples of this approach include the DefaultInstanceBrowseName used for AddIns and the States and Transitions of a StateMachine, which have Variables containing the numeric identifiers of the respective States and Transitions.
Define a well-known instance within the Server's Objects folder.
An example of this approach is the Server Object, which contains various Variables with well-known NodeIds, such as the NamespaceArray and capability-related Variables, for example, MaxStringLength.
The first approach is preferable when the static value is specific to a particular TypeDefinition, whereas the second approach is preferable when the static value applies to the Server as a whole.
___________