7.14 ExecutingSubstateMachineType

The ExecutingSubstateMachineType, a Substate machine of Executing State of the SystemOperationStateMachine, represents a mechanism for describing the stopping behaviour of the system. This can be used to display the stopping behaviour in more detail depending on the StopMode commanded.

The overview of the ExecutingSubstateMachine with all transitions is shown in Figure 8.

Figure 26 – ExecutingSubstateMachine

7.14.1 Overview

Figure 27 – ExecutingSubstateMachineType Overview

The ExecutingSubstateMachineType is formally defined in the table below.

Table 69 Table 69 – ExecutingSubstateMachineType Definition
Attribute Value
BrowseNameExecutingSubstateMachineType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the FiniteStateMachineType defined in OPC 10000-5
0:HasComponentVariable LastTransitionReason0:Int160:MultiStateValueDiscreteTypeM
0:HasComponentObjectRunning0:InitialStateType
0:HasComponentObjectStopping0:StateType
0:HasComponentObjectRunningToStopping0:TransitionType
Inherited from FiniteStateMachineType
0:HasComponentVariableLastTransition0:LocalizedText0:FiniteTransitionVariableTypeM
0:GeneratesEventObjectTypeTransitionEventTypeO
ConformanceUnits
Rob System ExecutingSubstate
Rob System Events

The Variable LastTransitionReason provides the reason for the LastTransition. The EnumValues of this 0:MultiStateValueDiscreteType are described in Table 70.

Table 70 – ExecutingSubstateMachineType Attribute values for child nodes

BrowsePath Value Attribute Description Attribute

[

{"Value":0,"DisplayName":"Unknown","Description":"Caused by an unknown reason"},

{"Value":1,"DisplayName":"External","Description":"Caused by external operation"},

{"Value":2,"DisplayName":"Direct","Description":"Caused by direct operation"},

{"Value":3,"DisplayName":"System","Description":"Caused by system specific behavior"},

{"Value":4,"DisplayName":"Error", "Description": "Caused by an error"},

{"Value":5,"DisplayName":"Application","Description":"Caused explicitly by end user program logic"}

]

The states of the ExecutingSubstateMachineType are described in Table 71.

Table 71 – ExecutingSubstateMachineType State Descriptions

StateName Description
RunningThe system is available, but cannot started because a preparation is needed
StoppingThe system was commanded to stop (internally or via Stop() and the needs some time for necessary background processes before entering the Ready state.

The transitions are described in .

Table 72 – ExecutingSubstateMachineType Transition Descriptions

TransitionName Description
RunningToStoppingChanges from Running to Stopping because a system stop was initiated.

The components of the ExecutingSubstateMachineType have additional references which are defined in the table below.

Table 73 Table 73 – ExecutingSubstateMachineType Additional References
SourceBrowsePath Reference Type Is Forward TargetBrowsePath
RunningToStopping0:FromStateTrueRunning
0:ToStateTrueStopping
0:HasEffectTrueTransitionEventType

The component Variables of the IdleSubstateMachineType have additional Attributes defined in the table below.

Table 74 Table 74 – ExecutingSubstateMachineType Attribute values for child Nodes
BrowsePath Value Attribute
1
2
1