8 OPC UA Variable Types

8.1 LocationVariableType

This VariableType is used for location information. The Properties defined by this type provide the units used for the different information contained in the location information. The LocationVariableType is formally defined in Table 28.

Table 28 – LocationVariableType Definition
Attribute Value
BrowseNameLocationVariableType
IsAbstractFalse
ValueRank−1 (−1 = Scalar)
DataTypeLocation
References Node Class BrowseName DataType TypeDefinition Modelling Rule
Subtype of the BaseDataVariableType defined in OPC 10000-5.
HasPropertyVariableLengthUnitEUInformationPropertyTypeOptional
HasPropertyVariableRotationalUnitEUInformationPropertyTypeOptional
HasPropertyVariableGeographicalUnitEUInformationPropertyTypeOptional
HasPropertyVariableSpeedUnitEUInformationPropertyTypeOptional

The LengthUnit Property of DataType EUInformation represents the unit with which the AutoID Device returns length measurements, e.g. for coordinates. Examples are meters, millimetres, inches, miles, etc.

The RotationalUnit Property of DataType EUInformation represents the unit with which the AutoID Device returns rotational measurements, e.g. to express the orientation of an object. Examples are degrees, radians, gon, etc.

The GeographicalUnit Property of DataType EUInformation represents the unit with which the AutoID Device returns geographical coordinates. Examples are deg[°] min[‘] sec[“]; deg[°] min.decimal_fraction_min[‘] or deg.decimal_fraction_deg[°].

The SpeedUnit Property of DataType EUInformation represents the unit with which the AutoID Device returns the current speed of a located object. Examples are m/s, km/h or mph.