This building block provides information about the MachineryOperationMode of a MachineryItem. It defines some common top-level modes. Companion specifications or vendors might extend those modes with submodes, but cannot add additional top-level modes. In order to have a modelling mechanism that allows the creation of submodes, but also to define causes and effects on specific transitions, the concept of a FiniteStateMachine defined in OPC 10000-16 is used. Since the intention of this base specification is not to restrict the Transitions between the States, the StateMachine defines Transitions between all States. Instances might restrict the usage of the defined States and Transitions. That might be used by domain-specific companion specifications to restrict the usage of the StateMachine. An overview of the StateMachine is given in Figure 16. The States are further described in 13.2.

Note that the MachineryOperationMode may not be known by the MachineryItem itself. In this case, the information needs to be provided by an external source like an MES system or the operator.

image021.png

Figure 16 – MachineryOperationMode StateMachine

The overview of the building block is shown in Figure 17. The MachineryOperationModeStateMachineType is a subtype of the FiniteStateMachineType defining the States and Transitions of that StateMachine. The usage of the building block is also shown in that figure. An instance of the MachineryOperationModeStateMachineType is added to the Object MyMachine representing a Machine using the AddIn concept. The MachineryOperationModeStateMachineType is defined in 13.2.

image022.png

Figure 17 – Building Block for MachineryOperationMode

In Figure 18, a more complex example is shown, where the Machine also contains a component having the MachineryItemState.

image023.png

Figure 18 – Example of using the MachineryOperationMode

The MachineryOperationModeStateMachineType is a subtype of FiniteStateMachineType defined in OPC 10000-16. The semantic of this AddIn is to provide the MachineryOperationMode of a MachineryItem. It is formally defined in Table 32.

Table 32 – MachineryOperationModeStateMachineType Definition

Attribute

Value

BrowseName

MachineryOperationModeStateMachineType

IsAbstract

False

Description

State machine representing the operation mode of a MachineryItem

References

Node Class

BrowseName

DataType

TypeDefinition

Other

Subtype of the 0:FiniteStateMachineType defined in OPC 10000-16, i.e. inheriting the InstanceDeclarations of that Node.

0:HasProperty

Variable

0:DefaultInstanceBrowseName

0:QualifiedName

0:PropertyType

-

0:HasComponent

Object

None

-

0:StateType

-

0:HasComponent

Object

Maintenance

-

0:StateType

-

0:HasComponent

Object

Processing

-

0:StateType

-

0:HasComponent

Object

Setup

-

0:StateType

-

0:HasComponent

Object

FromNoneToMaintenance

-

0:TransitionType

-

0:HasComponent

Object

FromNoneToSetup

-

0:TransitionType

-

0:HasComponent

Object

FromNoneToProcessing

-

0:TransitionType

-

0:HasComponent

Object

FromNoneToNone

-

0:TransitionType

-

0:HasComponent

Object

FromMaintenanceToNone

-

0:TransitionType

-

0:HasComponent

Object

FromMaintenanceToSetup

-

0:TransitionType

-

0:HasComponent

Object

FromMaintenanceToProcessing

-

0:TransitionType

-

0:HasComponent

Object

FromMaintenanceToMaintenance

-

0:TransitionType

-

0:HasComponent

Object

FromSetupToNone

-

0:TransitionType

-

0:HasComponent

Object

FromSetupToMaintenance

-

0:TransitionType

-

0:HasComponent

Object

FromSetupToProcessing

-

0:TransitionType

-

0:HasComponent

Object

FromSetupToSetup

-

0:TransitionType

-

0:HasComponent

Object

FromProcessingToNone

-

0:TransitionType

-

0:HasComponent

Object

FromProcessingToMaintenance

-

0:TransitionType

-

0:HasComponent

Object

FromProcessingToSetup

-

0:TransitionType

-

0:HasComponent

Object

FromProcessingToProcessing

-

0:TransitionType

-

Conformance Units

Machinery Operation Mode

The States and Transitions define a StateMachine as shown in Figure 16. It does not define an initial State, i.e., the initial State is vendor-specific.

Note: None of the States or Transitions have a ModellingRule, i.e., they are only provided in the TypeDefinition, not on the instance. The CurrentState Variable (inherited from StateMachineType) contains the information of the current State of the instance.

The None State represents that there is currently no MachineryOperationMode available for the MachineryItem.

The Maintenance State represents that the MachineryItem is set into maintenance mode with the intention to carry out maintenance or servicing activities of the MachineryItem.

The Setup State represents that the MachineryItem is set into setup mode with the intention to carry out setup, preparation or postprocessing activities of a production process.

The Processing State represents that the MachineryItem is set into processing mode with the intention to carry out the value adding activities.

The meaning of the Transitions is defined in the Description of Table 33.

The InstanceDeclarations of the MachineryOperationModeStateMachineType have additional Attribute values defined in Table 33.

Table 33 – MachineryOperationModeStateMachineType Attribute Values for Child Nodes

SourceBrowsePath

Value

Description

0:DefaultInstanceBrowseName

MachineryOperationMode

The default BrowseName for instances of the type

None

-

There is currently no operation mode available

Maintenance

-

MachineryItem is set into maintenance mode with the intention to carry out maintenance or servicing activities

Setup

-

MachineryItem is set into setup mode with the intention to carry out setup, preparation or postprocessing activities of a production process

Processing

-

MachineryItem is set into processing mode with the intention to carry out the value adding activities

FromNoneToMaintenance

-

Transition from state None to state Maintenance

FromNoneToSetup

-

Transition from state None to state Setup

FromNoneToProcessing

-

Transition from state None to state Processing

FromNoneToNone

-

Transition from state None to state None

FromMaintenanceToNone

-

Transition from state Maintenance to state None

FromMaintenanceToSetup

-

Transition from state Maintenance to state Setup

FromMaintenanceToProcessing

-

Transition from state Maintenance to state Processing

FromMaintenanceToMaintenance

-

Transition from state Maintenance to state Maintenance

FromSetupToNone

-

Transition from state Setup to state None

FromSetupToMaintenance

-

Transition from state Setup to state Maintenance

FromSetupToProcessing

-

Transition from state Setup to state Processing

FromSetupToSetup

-

Transition from state Setup to state Setup

FromProcessingToNone

-

Transition from state Processing to state None

FromProcessingToMaintenance

-

Transition from state Processing to state Maintenance

FromProcessingToSetup

-

Transition from state Processing to state Setup

FromProcessingToProcessing

-

Transition from state Processing to state Processing

None

0:StateNumber

0

-

Maintenance

0:StateNumber

1

-

Setup

0:StateNumber

2

-

Processing

0:StateNumber

3

-

FromNoneToMaintenance

0:TransitionNumber

0

-

FromNoneToProcessing

0:TransitionNumber

1

-

FromNoneToSetup

0:TransitionNumber

2

-

FromMaintenanceToNone

0:TransitionNumber

3

-

FromMaintenanceToProcessing

0:TransitionNumber

4

-

FromMaintenanceToSetup

0:TransitionNumber

5

-

FromProcessingToNone

0:TransitionNumber

6

-

FromProcessingToMaintenance

0:TransitionNumber

7

-

FromProcessingToSetup

0:TransitionNumber

8

-

FromSetupToNone

0:TransitionNumber

9

-

FromSetupToMaintenance

0:TransitionNumber

10

-

FromSetupToProcessing

0:TransitionNumber

11

-

FromNoneToNone

0:TransitionNumber

12

-

FromMaintenanceToMaintenance

0:TransitionNumber

13

-

FromProcessingToProcessing

0:TransitionNumber

14

-

FromSetupToSetup

0:TransitionNumber

15

-

The components of the MachineryOperationModeStateMachineType have additional References which are defined in Table 34.

Table 34 – MachineryOperationModeStateMachineType Additional References

SourceBrowsePath

Reference Type

Is Forward

TargetBrowsePath

FromNoneToMaintenance

0:FromState

True

None

0:ToState

True

Maintenance

FromNoneToProcessing

0:FromState

True

None

0:ToState

True

Processing

FromNoneToSetup

0:FromState

True

None

0:ToState

True

Setup

FromMaintenanceToNone

0:FromState

True

Maintenance

0:ToState

True

None

FromMaintenanceToProcessing

0:FromState

True

Maintenance

0:ToState

True

Processing

FromMaintenanceToSetup

0:FromState

True

Maintenance

0:ToState

True

Setup

FromProcessingToNone

0:FromState

True

Processing

0:ToState

True

None

FromProcessingToMaintenance

0:FromState

True

Processing

0:ToState

True

Maintenance

FromProcessingToSetup

0:FromState

True

Processing

0:ToState

True

Setup

FromSetupToNone

0:FromState

True

Setup

0:ToState

True

None

FromSetupToMaintenance

0:FromState

True

Setup

0:ToState

True

Maintenance

FromSetupToProcessing

0:FromState

True

Setup

0:ToState

True

Processing

FromNoneToNone

0:FromState

True

None

0:ToState

True

None

FromMaintenanceToMaintenance

0:FromState

True

Maintenance

0:ToState

True

Maintenance

FromProcessingToProcessing

0:FromState

True

Processing

0:ToState

True

Processing

FromSetupToSetup

0:FromState

True

Setup

0:ToState

True

Setup