The ProductionProgramStateMachineTypeshows 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 42. The name of each transition consists of the names of the states it connects: [FromState]To[ToState].
The ProductionProgramStateMachineTypeis formally defined in. Table 41.
Table 41– ProductionProgramStateMachineType Definition
Attribute |
Value |
|||||
BrowseName |
ProductionProgramStateMachineType |
|||||
IsAbstract |
False |
|||||
References |
Node Class |
BrowseName |
DataType |
TypeDefinition |
Other |
|
Subtype of the ProductionStateMachineTypedefined in 8.4.8i.e. inheriting the InstanceDeclarations of that Node. |
||||||
0:HasComponent |
Object |
AbortedToInitializing |
|
0:TransitionType |
No ModellingRule |
|
0:HasComponent |
Object |
EndedToInitializing |
|
0:TransitionType |
No ModellingRule |
|
0:HasComponent |
Object |
InitializingToAborted |
|
0:TransitionType |
No ModellingRule |
|
0:HasComponent |
Object |
InitializingToRunning |
|
0:TransitionType |
No ModellingRule |
|
0:HasComponent |
Object |
InterruptedToAborted |
|
0:TransitionType |
No ModellingRule |
|
0:HasComponent |
Object |
InterruptedToRunning |
|
0:TransitionType |
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 |
The ProductionProgramStateMachineTypeallows to send Eventsof ProductionProgramTransitionEventTypewith every transition, as indicated in Table 42. This makes it possible to send all relevant information of the ProductionProgramTypethe state machine instance belongs to with the TransitionEvent.
Initializingis the state in which the program is not yet started.
Interruptedindicates 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 tool are closed.
EndedToInitializingis only used if the nodes in the ProductionPlanare never added or deleted, but remain static in the address space. The Transitionis triggered when a new program is loaded. In this case, all values of the ProductionProgramTypeinstance the state machine belongs to are changed to represent a different program. The values of this new job are sent with the ProductionProgramTransitionEventType.
Table 42– ProductionProgramStateMachineType Additional References
Source Path |
ReferenceType |
Is Forward |
Target Path |
||
AbortedToInitializing |
0:FromState |
True |
|
||
|
0:ToState |
True |
|
||
|
0:HasEffect |
True |
ProductionProgramTransitionEventType |
||
EndedToInitializing |
0:FromState |
True |
|
||
|
0:ToState |
True |
|
||
|
0:HasEffect |
True |
ProductionProgramTransitionEventType |
||
InitializingToAborted |
0:FromState |
True |
|
||
|
0:ToState |
True |
|
||
|
0:HasEffect |
True |
ProductionProgramTransitionEventType |
||
InitializingToRunning |
0:FromState |
True |
|
||
|
0:ToState |
True |
|
||
|
0:HasEffect |
True |
ProductionProgramTransitionEventType |
||
InterruptedToAborted |
0:FromState |
True |
|
||
|
0:ToState |
True |
|
||
|
0:HasEffect |
True |
ProductionProgramTransitionEventType |
||
InterruptedToRunning |
0:FromState |
True |
|
||
|
0:ToState |
True |
|
||
|
0:HasEffect |
True |
ProductionProgramTransitionEventType |
||
RunningToAborted |
0:FromState |
True |
|
||
|
0:ToState |
True |
|
||
|
0:HasEffect |
True |
ProductionProgramTransitionEventType |
||
RunningToEnded |
0:FromState |
True |
|
||
|
0:ToState |
True |
|
||
|
0:HasEffect |
True |
ProductionProgramTransitionEventType |
||
RunningToInterrupted |
0:FromState |
True |
|
||
|
0:ToState |
True |
|
||
|
0:HasEffect |
True |
ProductionProgramTransitionEventType |
||
RunningToRunning |
0:FromState |
True |
|
||
|
0:ToState |
True |
|
||
|
0:HasEffect |
True |
ProductionProgramTransitionEventType |