ProgramStateMachineType Transitions are instances of the TransitionType defined in OPC 10000-16 which also includes the definitions of the ToState, FromState, HasCause, and HasEffect references used. Table 7 specifies the transitions defined for the ProgramStateMachineType. Each transition is assigned a unique TransitionNumber defined in Table 6.
Table 7 – ProgramStateMachineType Additional References
SourceBrowsePath |
Reference Type |
Is Forward |
TargetBrowsePath |
HaltedToReady |
ToState |
True |
Ready |
|
FromState |
True |
Halted |
|
HasCause |
True |
Reset |
|
HasEffect |
True |
ProgramTransitionEventType |
|
HasEffect |
True |
AuditProgramTransitionEventType |
|
|
|
|
ReadyToRunning |
ToState |
True |
Running |
|
FromState |
True |
Ready |
|
HasCause |
True |
Start |
|
HasEffect |
True |
ProgramTransitionEventType |
|
HasEffect |
True |
AuditProgramTransitionEventType |
|
|
|
|
RunningToHalted |
ToState |
True |
Halted |
|
FromState |
True |
Running |
|
HasCause |
True |
Halt |
|
HasEffect |
True |
ProgramTransitionEventType |
|
HasEffect |
True |
AuditProgramTransitionEventType |
|
|
|
|
RunningToReady |
ToState |
True |
Ready |
|
FromState |
True |
Running |
|
HasEffect |
True |
ProgramTransitionEventType |
|
HasEffect |
True |
AuditProgramTransitionEventType |
|
|
|
|
RunningToSuspended |
ToState |
True |
Running |
|
FromState |
True |
Suspended |
|
HasCause |
True |
Suspend |
|
HasEffect |
True |
ProgramTransitionEventType |
|
HasEffect |
True |
AuditProgramTransitionEventType |
|
|
|
|
SuspendedToRunning |
ToState |
True |
Running |
|
FromState |
True |
Suspended |
|
HasCause |
True |
Resume |
|
HasEffect |
True |
ProgramTransitionEventType |
|
HasEffect |
True |
AuditProgramTransitionEventType |
|
|
|
|
SuspendedToHalted |
ToState |
True |
Halted |
|
FromState |
True |
Suspended |
|
HasCause |
True |
Halt |
|
HasEffect |
True |
ProgramTransitionEventType |
|
HasEffect |
True |
AuditProgramTransitionEventType |
|
|
|
|
SuspendedToReady |
ToState |
True |
Ready |
|
FromState |
True |
Suspended |
|
HasCause |
True |
Reset |
|
HasEffect |
True |
ProgramTransitionEventType |
|
HasEffect |
True |
AuditProgramTransitionEventType |
|
|
|
|
ReadyToHalted |
ToState |
True |
Halted |
|
FromState |
True |
Ready |
|
HasCause |
True |
Halt |
|
HasEffect |
True |
ProgramTransitionEventType |
|
HasEffect |
True |
AuditProgramTransitionEventType |
The HaltedToReady transition specifies the transition from the Halted to Ready states. It may be caused by the Reset Method.
The ReadyToRunning transition specifies the transition from the Ready to Running states. It is caused by the Start Method.
The RunningToHalted transition specifies the transition from the Running to Halted states. It is caused by the Halt Method.
The RunningToReady transition specifies the transition from the Running to Ready states. The RunningToSuspended transition specifies the Transition from the Running to Suspended states. It is caused by the Suspend Method.
The SuspendedToRunning transition specifies the transition from the Suspended to Running states. It is caused by the Resume Method.
The SuspendedToHalted transition specifies the transition from the Suspended to Halted states. It is caused by the Halt Method.
The SuspendedToReady transition specifies the transition from the Suspended to Ready states. It is caused internally.
The ReadyToHalted transition specifies the transition from the Ready to Halted states. It is caused by the Halt Method.
Two HasEffect References are specified for each Program transition. These effects are Events of ProgramTransitionEventType and AuditProgramTransitionEventType defined in 5.2.5. The ProgramTransitionEventType notifies Clients of the Program transition and conveys result data. The AuditProgramTransitionEventType is used to audit transitions that result from Program Control Methods.