The ProductionStateMachineTypeshows the states an element in production can be in and the possible transitions between those states. The states and transitions are depicted in Figure 14. Their representation in the OPC UA address space is given in Table 35. The name of each transition consists of the names of the states it connects: [FromState]To[ToState]. Their Referencesare specified in Table 38.
Figure 14– The States and Transitions of the ProductionStateMachineType
The ProductionStateMachineTypeis formally defined in Table 35.
Table 35– ProductionStateMachineType Definition
Attribute |
Value |
||||
BrowseName |
ProductionStateMachineType |
||||
IsAbstract |
False |
||||
References |
Node Class |
BrowseName |
DataType |
TypeDefinition |
Other |
Subtype of the FiniteStateMachineTypedefined in OPC 10000-5i.e. inheriting the InstanceDeclarations of that Node. |
|||||
0:HasComponent |
Object |
Aborted |
|
0:StateType |
No ModellingRule |
0:HasComponent |
Object |
AbortedToInitializing |
|
0:TransitionType |
No ModellingRule |
0:HasComponent |
Variable |
0:CurrentState |
0:LocalizedText |
0:FiniteStateVariableType |
M, RO |
0:HasComponent |
Object |
Ended |
|
0:StateType |
No ModellingRule |
0:HasComponent |
Object |
EndedToInitializing |
|
0:TransitionType |
No ModellingRule |
0:HasComponent |
Object |
Initializing |
|
0:InitialStateType |
No ModellingRule |
0:HasComponent |
Object |
InitializingToAborted |
|
0:TransitionType |
No ModellingRule |
0:HasComponent |
Object |
InitializingToRunning |
|
0:TransitionType |
No ModellingRule |
0:HasComponent |
Object |
Interrupted |
|
0:StateType |
No ModellingRule |
0:HasComponent |
Object |
InterruptedToAborted |
|
0:TransitionType |
No ModellingRule |
0:HasComponent |
Object |
InterruptedToRunning |
|
0:TransitionType |
No ModellingRule |
0:HasComponent |
Variable |
0:LastTransition |
0:LocalizedText |
0:FiniteTransitionVariableType |
O, RO |
0:HasComponent |
Object |
Running |
|
0:StateType |
No ModellingRule |
0:HasComponent |
Object |
RunningToAborted |
|
0:TransitionType |
No ModellingRule |
0:HasComponent |
Object |
RunningToEnded |
|
0:TransitionType |
No ModellingRule |
0:HasComponent |
Object |
RunningToInterrupted |
|
0:TransitionType |
No ModellingRule |
0:HasComponent |
Object |
RunningToRunning |
|
0:TransitionType |
No ModellingRule |
0: Has Subtype |
Object Type |
ProductionJobStateMachineType |
Defined in 8.4.9 |
||
0: Has Subtype |
Object Type |
ProductionPartStateMachineType |
Defined in 8.4.10 |
||
0: Has Subtype |
Object Type |
ProductionProgramStateMachineType |
Defined in 8.4.11 |
The states shall have the numbers indicated in Table 37; the transitions shall have the numbers indicated in Table 37. The Numberproperty of CurrentStateand LastTransitionshall use those same numbers for the respective state/transition.
The components CurrentStateand LastTransitionof the ProductionStateMachineType have their optional property Numberchanged to be mandatory, as defined in Table 36.
Table 36– ProductionStateMachineType Additional Subcomponents
Source Path |
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
Others |
0:CurrentState |
0:HasProperty |
Variable |
0:Number |
0:UInt32 |
0:PropertyType |
M, RO |
0:LastTransition |
0:HasProperty |
Variable |
0:Number |
0:UInt32 |
0:PropertyType |
M, RO |
The state Abortedindicates that the operation of or on an element in production has been irreversibly stopped before finishing.
Endedis reached when the operation of or on an element in production has finished.
Initializingis the state in which the element in production is being prepared. During this state, the machine tool doesn’t have to be ready for production, although it has to be as soon as the transition InitializingToRunning is used. The production is not yet started.
Interruptedindicates that the execution of or on the element in production has been reversibly halted. This is usually due to an error or an intervention by the operating personnel. It is possible to restart operation of or on the element in production after it was in the interrupted state.
Runningindicates that the operation of or on an element in production has been started or re-started and is currently running.
Table 37– ProductionStateMachineType Attribute values for child Nodes
Source Path |
Value Attribute |
Description Attribute |
||
State Numbers |
||||
|
0 |
|
||
|
1 |
|
||
|
2 |
|
||
|
3 |
|
||
|
4 |
|
||
Transition Numbers |
||||
|
0 |
|
||
|
1 |
|
||
|
2 |
|
||
|
3 |
|
||
|
4 |
|
||
|
5 |
|
||
|
6 |
|
||
|
7 |
|
||
|
8 |
|
||
|
9 |
|
Fields may be empty which means this Attributeis not defined.
InitializingToRunningis triggered when the operation of or on an element in production starts.
RunningToEndedis triggered when the operation of or on an element in production finishes.
EndedToInitializingis triggered when re-initialization of the operation of or on an element in production starts.
RunningToRunningis triggered when another consecutive run of the operation of or on an element in production in direct succession starts.
RunningToInterruptedis triggered when the operation of or on an element in production is interrupted.
InterruptedToRunningis triggered when an interruption ends and the operation of or on an element in production continues running.
RunningToAbortedis triggered when the operation of or on an element in production is aborted while in the Runningstate.
InterruptedToAbortedis triggered when the operation of or on an element in production is aborted while in the Interruptedstate.
AbortedToInitializingis triggered if the operation of or on an element in production is being re-initialized after an abort.
InitializingToAbortedis triggered when the operation of or on an element in production is aborted while in the Initializingstate.
Table 38– ProductionStateMachineType Additional References
Source Path |
ReferenceType |
Is Forward |
Target Path |
AbortedToInitializing |
0:FromState |
True |
Aborted |
|
0:ToState |
True |
Initializing |
EndedToInitializing |
0:FromState |
True |
Ended |
|
0:ToState |
True |
Initializing |
InitializingToAborted |
0:FromState |
True |
Initializing |
|
0:ToState |
True |
Aborted |
InitializingToRunning |
0:FromState |
True |
Initializing |
|
0:ToState |
True |
Running |
InterruptedToAborted |
0:FromState |
True |
Interrupted |
|
0:ToState |
True |
Aborted |
InterruptedToRunning |
0:FromState |
True |
Interrupted |
|
0:ToState |
True |
Running |
RunningToAborted |
0:FromState |
True |
Running |
|
0:ToState |
True |
Aborted |
RunningToEnded |
0:FromState |
True |
Running |
|
0:ToState |
True |
Ended |
RunningToInterrupted |
0:FromState |
True |
Running |
|
0:ToState |
True |
Interrupted |
RunningToRunning |
0:FromState |
True |
Running |
|
0:ToState |
True |
Running |