The LADSDeviceStateMachineType state machine represents the Device’s current state. It is inspired by the AnalyserDeviceStateMachineType from the Analyzer Devices Specification.
The LADSDeviceStateMachine is depicted in Figure 15
Figure 15 – LADSDeviceStateMachine
The LADSDeviceStateMachineType is formally defined in Table 17.
Table 17 – LADSDeviceStateMachineType Definition
Attribute |
Value |
||||
BrowseName |
LADSDeviceStateMachineType |
||||
IsAbstract |
False |
||||
References |
Node Class |
BrowseName |
DataType |
TypeDefinition |
Other |
Subtype of the FiniteStateMachineType defined in OPC 10000-5 |
|||||
0:HasComponent |
Method |
GotoOperate |
|
|
O |
0:HasComponent |
Method |
GotoShutdown |
|
|
O |
0:HasComponent |
Method |
GotoSleep |
|
|
O |
0:HasComponent |
Object |
Operate |
|
StateType |
|
0:HasComponent |
Object |
OperateToShutdown |
|
TransitionType |
|
0:HasComponent |
Object |
OperateToSleep |
|
TransitionType |
|
0:HasComponent |
Object |
Initialization |
|
InitialStateType |
|
0:HasComponent |
Object |
InitializationToOperate |
|
TransitionType |
|
0:HasComponent |
Object |
Shutdown |
|
StateType |
|
0:HasComponent |
Object |
Sleep |
|
StateType |
|
0:HasComponent |
Object |
SleepToOperate |
|
TransitionType |
|
Conformance Units |
|||||
LADS LADSDeviceStateMachineType |
|||||
|
There are four Device states, as follows:
Initialization: The Device is in its initializing sequence and cannot perform any other Task.
Operate: The Device is in Operating mode. The LADS Client uses this mode for normal operation: configuration, control, and data collection.
Sleep: The Device is still powered on and its OPC UA Server is still running, but it is not ready to perform any Tasks until it transitions to the Operate state. This state can be used to represent a PowerSave state where a Device may shut down some of its Components, such as the GUI. It can also be used to represent a Sleep state, where a Device is running with minimal services but ready to be triggered to transition into the Operate state.
Shutdown: The Device is in its power-down sequence and cannot perform any other Task. Optionally, there are devices that can be powered off via physical means, especially simpler ones. The electronics are turned off immediately; therefore, such devices do not transition into a Shutdown state.
Note: Initialization is the state in which the LADS Device waits for the completion of the power-up setup. Its sub-states are out of scope of the LADS specification.
Note: Shutdown is the state in which the LADS Device waits for the completion of the power down sequence. Its sub-states are out of scope of the LADS specification.
Children of the LADSDeviceStateMachineType have additional References, which are defined in Table 18.
Table 18 – LADSDeviceStateMachineType additional References
SourceBrowsePath |
Reference Type |
Is Forward |
TargetBrowsePath |
InitializationToOperate |
0:FromState |
True |
Initialization |
|
0:ToState |
True |
Operate |
|
0:HasEffect |
True |
TransitionEventType |
OperateToSleep |
0:FromState |
True |
Operate |
|
0:ToState |
True |
Sleep |
|
0:HasCause |
True |
GotoSleep |
|
0:HasEffect |
True |
TransitionEventType |
SleepToOperate |
0:FromState |
True |
Sleep |
|
0:ToState |
True |
Operate |
|
0:HasCause |
True |
GotoOperate |
|
0:HasEffect |
True |
TransitionEventType |
OperateToShutdown |
0:FromState |
True |
Operate |
|
0:ToState |
True |
Shutdown |
|
0:HasCause |
True |
GotoShutdown |
|
0:HasEffect |
True |
TransitionEventType |
The Component Variables of the LADSDeviceStateMachineType have additional Attributes, as defined in Table 19.
Table 19 – LADSDeviceStateMachineType Attribute Values for Child Nodes
BrowsePath |
Value Attribute |
||
|
1 |
||
|
2 |
||
|
3 |
||
|
4 |
||
|
3 |
||
|
4 |
||
|
2 |
||
|
1 |