OPC UA for Computerized Numerical Control (CNC) Systems – for CNC Systems: OPC UA Information Model
7 Mapping of DataTypes
7.1 Primitive data types
This information model does not define additional primitive data types.
7.2 Enumeration DataTypes
When using the following enumeration DataTypes, one of the given enumeration values has to be used. Hence, manufacturer specific extensions are not possible.
7.2.1 CncAxisStatus
This DataType is an enumeration that describes possible states of a CNC axis. Its values are defined in Table 18.
Table 18 – CncAxisStatus Enumeration Values
Value
Description
InPosition_0
CNC Axis reached commanded position
Moving_1
CNC Axis is moving to reach commanded position
Parked_2
CNC Axis is configured but not active
Its representation in the AddressSpace is defined in Table 19.
Table 19 – CncAxisStatus Enumeration Definition
Attribute
Value
BrowseName
CncAxisStatus
IsAbstract
False
References
NodeClass
BrowseName
DataType
TypeDefinition
ModellingRule
Inherit the components of the Enumeration
HasProperty
Variable
EnumValues
EnumValueType[]
PropertyType
Mandatory
7.2.2 CncSpindleStatus
This DataType is an enumeration that describes possible states of a CNC spindle. Its values are defined in Table 20.
Table 20 – CncSpindleStatus Enumeration Values
Value
Description
Stopped_0
CNC Spindle stopped
InTargetArea_1
CNC Spindle reached commanded velocity
Accelerating_2
CNC Spindle accelerating
Decelerating_3
CNC Spindle decelerating
Parked_4
CNC Spindle configured but not active
Its representation in the AddressSpace is defined in Table 21.
This DataType is an enumeration that describes possible states of the CNC part program execution within a CNC channel. Its values are defined in Table 26.
This section is for describing all structure data types.
7.3.2 CncPositionDataType
This DataType combines position values that are of common interest. CncPositionDataType comprises the current position value, the setpoint position value and the remaining distance to go for a positioning unit. The position values can be of any type (rotation, linear or similar). CncPositionDataType is defined in Table 30.
Table 30 – CncPositionDataType Structure
Name
Type
Description
CncPositionDataType
Structure
Structure of position elements.
ActPos
Double
Position current value.
CmdPos
Double
Position setpoint value.
RemDist
Double
Remaining distance.
Its representation in the AddressSpace is defined in Table 31.
Table 31 – CncPositionDataType Definition
Attributes
Value
BrowseName
CncPositionDataType
CncPositionVariableType is based on the CncPositionDataType. It offers information for unit and range additionally to the different position values of CncPositionDataType. The unit and range information is valid for all three position values. CncPositionVariableType is formally defined in Table 32.