7.17.1 Overview

Figure 32 – ReadySubstateMachineType Overview

The ReadySubstateMachineType is formally defined in Table 104.

Table 104 – ReadySubstateMachineType Definition

Attribute Value
BrowseNameReadySubstateMachineType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Other
Subtype of the FiniteStateMachineType defined in OPC 1000-5
0:HasComponentVariable LastTransitionReason0:Int160:MultiStateValueDiscreteTypeM
0:HasComponentObjectAtProgramStart0:StateType
0:HasComponentObjectSuspended0:StateType
0:HasComponentObjectProgramStartToSuspended0:TransitionType
0:HasComponentObjectSuspendedToProgramStart0:TransitionType
0:HasComponentMethodResetToProgramStartO
Inherited from FiniteStateMachineType
0:HasComponentVariableLastTransition0:LocalizedText0:FiniteTransitionVariableTypeM
0:GeneratesEventObjectTypeTransitionEventTypeO
ConformanceUnits
Rob Task Control ReadySubstate
Rob Task Control Ready Reset

The Variable LastTransitionReason provides the reason for the LastTransition. The EnumValue and ValueAsText of this 0:MultiStateValueDiscreteType are described in .

Table 105 – ReadySubstateMachineType 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 ReadySubstateMachineType are described in Table 106.

Table 106 – ReadySubstateMachineType State Descriptions

StateName Description
AtProgramStartThe program pointer of the program loaded in the task control is at the starting point.
SuspendedThe program pointer of the program loaded in the task control is anywhere in the program, but not at starting point.

The components of the ReadySubstateMachineType have additional references which are defined in Table 107.

Table 107 Table 107 – ReadySubstateMachineType Additional References
SourceBrowsePath Reference Type Is Forward TargetBrowsePath
ProgramStartToSuspended0:FromStateTrueAtProgramStart
0:ToStateTrueSuspended
0:HasEffectTrueTransitionEventType
SuspendedToProgramStart0:FromStateTrueSuspended
0:ToStateTrueAtProgramStart
0:HasEffectTrueTransitionEventType
0:HasCauseTrueResetToProgramStart

The transitions are described in Table 108 – ReadySubstateMachineType Transition Descriptions.

Table 108 – ReadySubstateMachineType Transition Descriptions

TransitionName Description
ProgramStartToSuspendedChanges from AtProgramStart to Suspended.
SuspendedToProgramStartChanges from Suspended to AtProgramStart because program was restarted. (Direct, External, System)

The component Variables of the ReadySubstateMachineType have additional Attributes defined in Table 109.

Table 109 Table 109 – ReadySubstateMachineType Attribute values for child Nodes
BrowsePath Value Attribute
1
2
1
2