OPC UA for Machine Tools - Part 1: Machine Monitoring and Job Management
8.4.10 ProductionProgramStateMachineType
[DEPRECATED in version 1.02] The ProductionProgramStateMachineType will be replaced by the job management defined inOPC 40001-3 in future versions of this specification. Hence the 0:IsDeprecated Reference was added.
The ProductionProgramStateMachineType shows the states a program can be in and the possible transitions between those states. Their representation in the OPC UA address space is given in Table 54. The name of each transition consists of the names of the states it connects: [FromState]To[ToState].
The ProductionProgramStateMachineType is formally defined in Table 52.
Subtype of the ProductionStateMachineType defined in 8.4.8 i.e. inheriting the InstanceDeclarations of that Node.
0:HasComponent
Object
Aborted
0:StateType
None
0:HasComponent
Object
AbortedToInitializing
0:TransitionType
None
0:HasComponent
Object
Ended
0:StateType
None
0:HasComponent
Object
EndedToInitializing
0:TransitionType
None
0:HasComponent
Object
Initializing
0:InitialStateType
None
0:HasComponent
Object
InitializingToAborted
0:TransitionType
None
0:HasComponent
Object
InitializingToRunning
0:TransitionType
None
0:HasComponent
Object
Interrupted
0:StateType
None
0:HasComponent
Object
InterruptedToAborted
0:TransitionType
None
0:HasComponent
Object
InterruptedToRunning
0:TransitionType
None
0:HasComponent
Object
Running
0:StateType
None
0:HasComponent
Object
RunningToAborted
0:TransitionType
None
0:HasComponent
Object
RunningToEnded
0:TransitionType
None
0:HasComponent
Object
RunningToInterrupted
0:TransitionType
None
0:HasComponent
Object
RunningToRunning
0:TransitionType
None
0:IsDeprecated
Object
MachineTool_v102
0:BaseObjectType
Conformance Units
MachineTool Production ProductionProgramStateMachineType
The ProductionProgramStateMachineType allows to send Events of ProductionProgramTransitionEventType with every transition, as indicated in Table 54. This makes it possible to send all relevant information of the ProductionProgramType the state machine instance belongs to with the TransitionEvent.
Initializing is the state in which the program is not yet started.
Interrupted indicates that the execution of the program has been paused and can be continued. This might be due to waiting for the execution of a subprogram or until a certain condition is met, e.g., the doors of the machine are closed.
EndedToInitializing is only used if the nodes in the ProductionPlan are never added or deleted, but remain static in the address space. The Transition is triggered when a new program is loaded. In this case, all values of the ProductionProgramType instance the state machine belongs to are changed to represent a different program. The values of this new job are sent with the ProductionProgramTransitionEventType.
The states and transitions shall have the numbers indicated in Table 53. The 0:Number property of 0:CurrentState and 0:LastTransition shall use those same numbers for the respective state/transition.
Table 53 - ProductionProgramStateMachineType Attribute values for child Nodes