The CoverStateMachineType is used to control the lid, door, or cover of a LADS Device. One Device may have any arbitrary number of lids, doors, covers and their corresponding CoverFunction. It is formally defined in Table 119.

The CoverStateMachine is depicted in Figure 19.

image023.png

Figure 19 – Overview of the CoverStateMachine

Table 119 – CoverStateMachineType Definition

Attribute

Value

BrowseName

CoverStateMachineType

IsAbstract

False

References

Node Class

BrowseName

DataType

TypeDefinition

Other

Subtype of the FiniteStateMachineType defined in OPC 10000-5

0:HasComponent

Method

Close

O

0:HasComponent

Object

Closed

StateType

0:HasComponent

Object

ClosedToError

TransitionType

0:HasComponent

Object

ClosedToLocked

TransitionType

0:HasComponent

Object

ClosedToLocking

TransitionType

0:HasComponent

Object

ClosedToOpened

TransitionType

0:HasComponent

Object

ClosedToOpening

TransitionType

0:HasComponent

Object

Closing

StateType

0:HasComponent

Object

ClosingToClosed

TransitionType

0:HasComponent

Object

Error

StateType

0:HasComponent

Object

ErrorToOpened

TransitionType

0:HasComponent

Method

Lock

O

0:HasComponent

Object

Locked

StateType

0:HasComponent

Object

LockedToClosed

TransitionType

0:HasComponent

Object

LockedToError

TransitionType

0:HasComponent

Object

LockedToUnlocking

TransitionType

0:HasComponent

Object

Locking

StateType

0:HasComponent

Object

LockingToLocked

TransitionType

0:HasComponent

Method

Open

O

0:HasComponent

Object

Opened

StateType

0:HasComponent

Object

OpenedToClosed

TransitionType

0:HasComponent

Object

OpenedToClosing

TransitionType

0:HasComponent

Object

Opening

StateType

0:HasComponent

Object

OpeningToOpened

TransitionType

0:HasComponent

Method

Reset

O

0:HasComponent

Method

Unlock

O

0:HasComponent

Object

Unlocking

StateType

0:HasComponent

Object

UnlockingToClosed

TransitionType

Conformance Units

LADS CoverStateMachineType

Close is a Optional Method that can be called in the Opened state to close the cover of the Device.

Closed is the state of the LADS Device cover when it is closed.

ClosedToError is triggered if the closed cover has a malfunction, such as on locking or opening.

ClosedToLocked is triggered if the closed cover is also locked. This can either be done manually on the Device or by calling the Lock Method remotely.

ClosedToLocking is triggered if the closed cover starts the process of closing. This can either be done manually on the Device or by calling the Lock Method remotely.

ClosedToOpened is triggered if the cover of the Device is opened. This can be done either manually or by calling the Open Method remotely.

ClosedToOpening is triggered in the process of opening the cover. This can be done either manually or by calling the Open Method remotely.

Closing is the transitive state of the LADS Device cover when it is in the process of closing.

ClosingToClosed is triggered if the cover has ended its process of closing and is finally closed.

Error is the state of the LADS Device cover when it is in an error state. For example, if the locking did not work properly or there is some kind of malfunction on locking/closing the Device cover.

ErrorToOpened is triggered if the cover recovers from an Error state. This can either be done manually or by calling the Reset Method.

Lock is a Optional Method that can be called from the Closed state to lock the cover of the Device.

Locked is the state of the LADS Device cover when it is closed and locked.

LockedToClosed is triggered if the locked cover is unlocked. This can either be done manually on the Device or by calling the Unlock Method remotely.

LockedToError is triggered if the locked cover has a malfunction, such as on unlocking.

LockedToUnlocking is triggered if the locked cover starts the process of unlocking. This can either be done manually on the Device or by calling the Unlock Method remotely.

Locking is the transitive state of the LADS Device cover when it is in the process of locking.

LockingToLocked is triggered if the cover has ended its locking process is finally locked.

Open is a Mandatory Method that can be called from the Closed state to open the cover of the Device.

Opened is the state of the LADS Device cover when it is opened.

OpenedToClosed is triggered if the cover of the Device is closed, either manually or by calling the Close Method remotely.

OpenedToClosing is triggered if the cover of the Device starts the process of closing, either manually or by calling the Close Method remotely.

Opening is the transitive state of the LADS Device cover when it is in the process of opening.

OpeningToOpened is triggered if the cover has ended its opening process is finally opened.

Unlock is a Optional Method that can be called from the Locked state to unlock the cover of the Device.

Unlocking is the transitive state of the LADS Device cover when it is in the process of unlocking.

UnlockingToClosed is triggered if the cover has ended its unlocking process is finally closed.

Reset is a Mandatory Method that can be called from the Error state to open the cover of the Device.

The children of the CoverStateMachineType have additional References, which are defined in Table 120.

Table 120 – CoverStateMachineType additional References

SourceBrowsePath

Reference Type

Is Forward

TargetBrowsePath

ClosedToError

0:FromState

True

Closed

0:ToState

True

Error

0:HasEffect

True

TransitionEventType

ClosedToLocked

0:FromState

True

Closed

0:ToState

True

Locked

0:HasCause

True

Lock

0:HasEffect

True

TransitionEventType

ClosedToLocking

0:FromState

True

Closed

0:ToState

True

Locking

0:HasCause

True

Lock

ClosedToOpened

0:FromState

True

Closed

0:ToState

True

Opened

0:HasCause

True

Open

0:HasEffect

True

TransitionEventType

ClosedToOpening

0:FromState

True

Closed

0:ToState

True

Opening

0:HasCause

True

Open

ClosingToClosed

0:FromState

True

Closing

0:ToState

True

Closed

ErrorToOpened

0:FromState

True

Error

0:ToState

True

Opened

0:HasCause

True

Reset

0:HasEffect

True

TransitionEventType

LockedToClosed

0:FromState

True

Locked

0:ToState

True

Closed

0:HasCause

True

Unlock

0:HasEffect

True

TransitionEventType

LockedToError

0:FromState

True

Locked

0:ToState

True

Error

0:HasEffect

True

TransitionEventType

LockedToUnlocking

0:FromState

True

Locked

0:ToState

True

Unlocking

0:HasCause

True

Unlock

LockingToLocked

0:FromState

True

Locking

0:ToState

True

Locked

OpenedToClosed

0:FromState

True

Opened

0:ToState

True

Closed

0:HasCause

True

Close

0:HasEffect

True

TransitionEventType

OpenedToClosing

0:FromState

True

Opened

0:ToState

True

Closing

0:HasCause

True

Close

OpeningToOpened

0:FromState

True

Opening

0:ToState

True

Opened

UnlockingToClosed

0:FromState

True

Unlocking

0:ToState

True

Closed

The Component Variables of the CoverStateMachineType have additional Attributes, as defined in Table 121.

Table 121 – CoverStateMachineType Attribute Values for Child Nodes

BrowsePath

Value Attribute

Closed

0:StateNumber

1

Closing

0:StateNumber

5

Error

0:StateNumber

2

Locked

0:StateNumber

3

Locking

0:StateNumber

6

Opened

0:StateNumber

4

Opening

0:StateNumber

7

Unlocking

0:StateNumber

8

ClosedToError

0:TransitionNumber

6

ClosedToLocked

0:TransitionNumber

3

ClosedToLocking

0:TransitionNumber

8

ClosedToOpened

0:TransitionNumber

2

ClosedToOpening

0:TransitionNumber

9

ClosingToClosed

0:TransitionNumber

10

ErrorToOpened

0:TransitionNumber

7

LockedToClosed

0:TransitionNumber

4

LockedToError

0:TransitionNumber

5

LockedToUnlocking

0:TransitionNumber

11

LockingToLocked

0:TransitionNumber

12

OpenedToClosed

0:TransitionNumber

1

OpenedToClosing

0:TransitionNumber

13

OpeningToOpened

0:TransitionNumber

14

UnlockingToClosed

0:TransitionNumber

15

The Close Method can be called in the Opened state to close the cover of the Device. The signature of this Method is specified below. Table 122 specifies its representation in the AddressSpace.

Signature

Close ()

Table 122 – Close Method AddressSpace Definition

Attribute

Value

BrowseName

Close

References

Node Class

BrowseName

DataType

TypeDefinition

ModellingRule

The Lock Method can be called from the Closed state to lock the cover of the Device. The signature of this Method is specified below. Table 123 specifies its representation in the AddressSpace.

Signature

Lock ()

Table 123 – Lock Method AddressSpace Definition

Attribute

Value

BrowseName

Lock

References

Node Class

BrowseName

DataType

TypeDefinition

ModellingRule

The Open Method can be called from the Closed state to open the cover of the Device. The signature of this Method is specified below. Table 124 specifies its representation in the AddressSpace.

Signature

Open ()

Table 124 – Open Method AddressSpace Definition

Attribute

Value

BrowseName

Open

References

Node Class

BrowseName

DataType

TypeDefinition

ModellingRule

The Reset Method can be called from the Error state to open the cover of the Device. The signature of this Method is specified below. Table 125 specifies the Arguments and AddressSpace representation.

Signature

Reset ()

Table 125 – Reset Method AddressSpace Definition

Attribute

Value

BrowseName

Reset

References

Node Class

BrowseName

DataType

TypeDefinition

ModellingRule

The Unlock Method can be called to unlock the cover. The signature of this Method is specified below. Table 126 specifies its representation in the AddressSpace.

Signature

Unlock ()

Table 126 – Unlock Method AddressSpace Definition

Attribute

Value

BrowseName

Unlock

References

Node Class

BrowseName

DataType

TypeDefinition

ModellingRule