The PrepareForUpdateStateMachineType may be used if the device requires to be prepared before the update. Another option is to delay the resuming of normal operation until all update actions are executed. This supports to prepare for update option of 8.3.4.2.
If a Server implements this state machine, a Client shall use it except if the UpdateBehavior indicates that this is not necessary for the transferred software. If preparation is required, the installation is only allowed if the PrepareForUpdateStateMachine is in the PreparedForUpdate state.
The state machine is illustrated in Figure 47, Figure 48 and formally defined in Table 74. The transitions are formally defined in Table 76.
Figure 47 – PrepareForUpdate state machine
Figure 48 – PrepareForUpdateStateMachineType
Table 74 – PrepareForUpdateStateMachineType definition
Attribute |
Value |
||||
BrowseName |
PrepareForUpdateStateMachineType |
||||
IsAbstract |
False |
||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
Subtype of the FiniteStateMachineType defined in OPC 10000-5. |
|||||
HasComponent |
Variable |
PercentComplete |
Byte |
BaseDataVariableType |
Optional |
HasComponent |
Method |
Prepare |
|
|
Mandatory |
HasComponent |
Method |
Abort |
|
|
Mandatory |
HasComponent |
Method |
Resume |
|
|
Optional |
HasComponent |
Object |
Idle |
|
InitialStateType |
|
HasComponent |
Object |
Preparing |
|
StateType |
|
HasComponent |
Object |
PreparedForUpdate |
|
StateType |
|
HasComponent |
Object |
Resuming |
|
StateType |
|
HasComponent |
Object |
IdleToPreparing |
|
TransitionType |
|
HasComponent |
Object |
PreparingToIdle |
|
TransitionType |
|
HasComponent |
Object |
PreparingToPreparedForUpdate |
|
TransitionType |
|
HasComponent |
Object |
PreparedForUpdateToResuming |
|
TransitionType |
|
HasComponent |
Object |
ResumingToIdle |
|
TransitionType |
|
Conformance Units |
|||||
DI SU PrepareForUpdate |
The component Variables of the PrepareForUpdateStateMachineType have additional Attributes defined in Table 75.
Table 75 – PrepareForUpdateStateMachineType Attribute values for child Nodes
BrowsePath |
Value Attribute |
||
|
1 |
||
|
2 |
||
|
3 |
||
|
4 |
||
|
12 |
||
|
21 |
||
|
23 |
||
|
34 |
||
|
41 |
Table 76 – PrepareForUpdateStateMachineType Additional References
SourceBrowsePath |
Reference Type |
Is Forward |
TargetBrowsePath |
|
|||
Transitions |
|||
IdleToPreparing |
FromState |
True |
Idle |
|
ToState |
True |
Preparing |
|
HasEffect |
True |
TransitionEventType |
PreparingToIdle |
FromState |
True |
Preparing |
|
ToState |
True |
Idle |
|
HasEffect |
True |
TransitionEventType |
PreparingToPreparedForUpdate |
FromState |
True |
Preparing |
|
ToState |
True |
PreparedForUpdate |
|
HasEffect |
True |
TransitionEventType |
PreparedForUpdateToResuming |
FromState |
True |
PreparedForUpdate |
|
ToState |
True |
Resuming |
|
HasEffect |
True |
TransitionEventType |
ResumingToIdle |
FromState |
True |
Resuming |
|
ToState |
True |
Idle |
|
HasEffect |
True |
TransitionEventType |