7.1 RelativeValueType

The RelativeValueType is a subtype of the BaseDataVariableType. It is used to inform how values, which are represented by this type, behave, or reference to another value representation.

It is formally defined in Table 17.

Table 17 – RelativeValueType Definition
Attribute Value
BrowseNameRelativeValueType
IsAbstractTrue
ValueRank-2 (Any)
DataTypeBaseDataType
References NodeClass BrowseName DataType TypeDefinition Other
Subtype of the BaseDataVariableType defined in OPC 10000-5
0:HasComponentVariableBase 0:NodeId0:BaseDataVariableTypeO

To express if the Value is constant and does not change, the Constant bit of the Attribute AccessLevelEx of the RelativeValueType Variable shall be set to True.

To express if the base (on which the value is based) is constant, the Constant bit of the Attribute AccessLevelEx of the Variable Base shall be set to True.

Figure 6 shows an example usage to the RelativeValueType and the Variable Base.

Figure 6 – Example of RelativeValueType usage