6.3 Identification and MachineryBuildingBlocks

The MachineIdentificationType is defined in OPC UA for Machinery (OPC 40001-1) and provides basic information on a machine/device.

For the InstanceDeclaration the ModellingRules of the Properties Model and DeviceClass are overridden to mandatory and the Property ControllerName is added.

The Object MachineryBuildingBlocks contains building blocks from OPC UA for Machinery as defined in OPC 40001-1. For this version of OPC 40084-1, the Object uses the two AddIns MachineryItemState and MachineryOperationMode, where for the first a sub-state machine with substates for Executing is added.

Table 2 – ExtrusionDeviceType Additional Subcomponents
BrowsePath References NodeClass BrowseName DataType TypeDefinition Other
2:Identification0:HasPropertyVariable2:Model0:LocalizedText0:PropertyTypeM, RO
2:Identification0:HasPropertyVariable2:DeviceClass0:String0:PropertyTypeM, RO
2:Identification0:HasPropertyVariableControllerName0:String0:PropertyTypeM, RO
4:MachineryBuildingBlocks0:HasAddInObject2:Identification4:MachineIdentificationTypeM
4:MachineryBuildingBlocks0:HasAddInObject4:MachineryItemStateExtrusionMachineryItemState_StateMachineTypeM
4:MachineryBuildingBlocks0:HasAddInObject4:MachineryOperationMode4:MachineryOperationModeStateMachineTypeM

The ControllerName Property represents the name of the machine controller (e.g. “CP22xx”).

6.3.1 Extension of MachineryItemState

For this specification the MachineryItemState defined in OPC UA for Machinery is extended by a SubStateMachine for the State Executing.

Figure 4 – Extended MachineryItemState

For this, the ExtrusionMachineryItemState_StateMachineType is defined in Table 3.

Table 3 – ExtrusionMachineryItemState_StateMachineType definition
Attribute Value
BrowseNameExtrusionMachineryItemState_StateMachineType
IsAbstractFalse
References Node Class BrowseName DataType TypeDefinition Other
Subtype of 4:MachineryItemState_StateMachineType defined in OPC UA for Machinery
0:HasPropertyVariable0:DefaultInstanceBrowseName0:QualifiedName0:PropertyType
0:HasComponentObject4:NotAvailable0:StateType
0:HasComponentObject4:OutOfService0:StateType
0:HasComponentObject4:Executing0:StateType
0:HasComponentObject4:NotExecuting0:StateType
0:HasComponentObject4:FromNotAvailableToOutOfService0:TransitionType
0:HasComponentObject4:FromNotAvailableToNotExecuting0:TransitionType
0:HasComponentObject4:FromNotAvailableToExecuting0:TransitionType
0:HasComponentObject4:FromNotAvailableToNotAvailable0:TransitionType
0:HasComponentObject4:FromOutOfServiceToNotAvailable0:TransitionType
0:HasComponentObject4:FromOutOfServiceToNotExecuting0:TransitionType
0:HasComponentObject4:FromOutOfServiceToExecuting0:TransitionType
0:HasComponentObject4:FromOutOfServiceToOutOfService0:TransitionType
0:HasComponentObject4:FromNotExecutingToNotAvailable0:TransitionType
0:HasComponentObject4:FromNotExecutingToOutOfService0:TransitionType
0:HasComponentObject4:FromNotExecutingToExecuting0:TransitionType
0:HasComponentObject4:FromNotExecutingToNotExecuting0:TransitionType
0:HasComponentObject4:FromExecutingToNotAvailable0:TransitionType
0:HasComponentObject4:FromExecutingToOutOfService0:TransitionType
0:HasComponentObject4:FromExecutingToNotExecuting0:TransitionType
0:HasComponentObject4:FromExecutingToExecuting0:TransitionType
0:HasComponentObject4:ExtrusionExecutingSubStateExtrusionExecutingSubState_StateMachineTypeM

The InstanceDeclarations of the ExtrusionMachineryItemState_StateMachineType have additional Attribute values defined in Table 4

Table 4 – ExtrusionMachineryItemState_StateMachineType Attribute Values for Child Nodes
BrowsePath Value Attribute Description Attribute
0:DefaultInstanceBrowseNameMachineryItemStateThe default BrowseName for instances of the type
4:NotAvailableThe machine is not available and does not perform any activity (e.g., switched off, in energy saving mode)
4:OutOfServiceThe machine is not functional and does not perform any activity (e.g., error, blocked)
4:NotExecutingThe machine is available & functional and does not perform any activity. It waits for an action from outside to start or restart an activity
4:ExecutingThe machine is available & functional and is actively performing an activity (pursues a purpose)
4:FromNotAvailableToOutOfServiceTransition from state NotAvailable to state OutOfService
4:FromNotAvailableToNotExecutingTransition from state NotAvailable to state NotExecuting
4:FromNotAvailableToExecutingTransition from state NotAvailable to state Executing
4:FromNotAvailableToNotAvailableTransition from state NotAvailable to state NotAvailable
4:FromOutOfServiceToNotAvailableTransition from state OutOfService to state NotAvailable
4:FromOutOfServiceToNotExecutingTransition from state OutOfService to state NotExecuting
4:FromOutOfServiceToExecutingTransition from state OutOfService to state Executing
4:FromOutOfServiceToOutOfServiceTransition from state OutOfService to state OutOfService
4:FromNotExecutingToNotAvailableTransition from state NotExecuting to state NotAvailable
4:FromNotExecutingToOutOfServiceTransition from state NotExecuting to state OutOfService
4:FromNotExecutingToExecutingTransition from state NotExecuting to state Executing
4:FromNotExecutingToNotExecutingTransition from state NotExecuting to state NotExecuting
4:FromExecutingToNotAvailableTransition from state Executing to state NotAvailable
4:FromExecutingToOutOfServiceTransition from state Executing to state OutOfService
4:FromExecutingToNotExecutingTransition from state Executing to state NotExecuting
4:FromExecutingToExecutingTransition from state Executing to state Executing
0
1
2
3
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

The components of the ExtrusionMachineryItemState_StateMachineType have additional References which are defined in Table 5. As extension to the MachineryItemState_StateMachineType the State Executing gets an additional reference to the ExtrusionExecutingSubState.

Table 5 – ExtrusionMachineryItemState_StateMachineType Additional Reference
SourceBrowsePath Reference Type Is Forward TargetBrowsePath
4:FromNotAvailableToOutOfService0:FromStateTrue4:NotAvailable
0:ToStateTrue4:OutOfService
4:FromNotAvailableToExecuting0:FromStateTrue4:NotAvailable
0:ToStateTrue4:Executing
4:FromNotAvailableToNotExecuting0:FromStateTrue4:NotAvailable
0:ToStateTrue4:NotExecuting
4:FromOutOfServiceToNotAvailable0:FromStateTrue4:OutOfService
0:ToStateTrue4:NotAvailable
4:FromOutOfServiceToExecuting0:FromStateTrue4:OutOfService
0:ToStateTrue4:Executing
4:FromOutOfServiceToNotExecuting0:FromStateTrue4:OutOfService
0:ToStateTrue4:NotExecuting
4:FromExecutingToNotAvailable0:FromStateTrue4:Executing
0:ToStateTrue4:NotAvailable
4:FromExecutingToOutOfService0:FromStateTrue4:Executing
0:ToStateTrue4:OutOfService
4:FromExecutingToNotExecuting0:FromStateTrue4:Executing
0:ToStateTrue4:NotExecuting
4:FromNotExecutingToNotAvailable0:FromStateTrue4:NotExecuting
0:ToStateTrue4:NotAvailable
4:FromNotExecutingToOutOfService0:FromStateTrue4:NotExecuting
0:ToStateTrue4:OutOfService
4:FromNotExecutingToExecuting0:FromStateTrue4:NotExecuting
0:ToStateTrue4:Executing
4:FromNotAvailableToNotAvailable0:FromStateTrue4:NotAvailable
0:ToStateTrue4:NotAvailable
4:FromOutOfServiceToOutOfService0:FromStateTrue4:OutOfService
0:ToStateTrue4:OutOfService
4:FromExecutingToExecuting0:FromStateTrue4:Executing
0:ToStateTrue4:Executing
4:FromNotExecutingToNotExecuting0:FromStateTrue4:NotExecuting
0:ToStateTrue4:NotExecuting
4:Executing0:HasSubStateMachineTrueExtrusionExecutingSubState


6.3.2 Definition of ExtrusionExecutingSubState_StateMachineType

The ExtrusionExecutingSubState_StateMachineType is used for a SubStateMachine which divides the Executing State into ReadyToRun, ManualRun and ControlledRun. This SubStateMachine is not active if the parent State Executing is not active. In this case the CurrentState and LastTransition Variables of the ExtrusionExecutingSubState state machine shall have a status equal to Bad_StateNotActive.

Table 6 – ExtrusionExecutingSubState_StateMachineType
Attribute Value
BrowseNameExtrusionExecutingSubState_StateMachineType
IsAbstractFalse
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:HasComponentObjectReadyToRun0:StateType
0:HasComponentObjectManualRun0:StateType
0:HasComponentObjectControlledRun0:StateType
0:HasComponentObjectFromReadyToRunToManualRun0:TransitionType
0:HasComponentObjectFromManualRunToReadyToRun0:TransitionType
0:HasComponentObjectFromReadyToRunToControlledRun0:TransitionType
0:HasComponentObjectFromControlledRunToReadyToRun0:TransitionType
0:HasComponentObjectFromManualRunToControlledRun0:TransitionType
0:HasComponentObjectFromControlledRunToManualRun0:TransitionType
Conformance Units
Extrusion Device

The difference between NotExecuting and ReadyToRun is that in he state NotExecuting also the heating is switched off and in the state ReadyToRun it is switched on (but no movement of the screw).

The InstanceDeclaration of the ExtrusionExecutionSubState_StateMachineType has additional Attribute values defined in Table 7.

Table 7 – ExtrusionExecutingSubState_StateMachineType Attribute Values for Child Nodes
SourceBrowsePath Value Description
ReadyToRunComponent is not running but able to start immediately (e.g. heating is switched on, set temperatures have been reached)
ManualRunComponent is running with manually set parameters
ControlledRunComponent is running with controlled parameters
FromReadyToRunToManualRunTransition from state ReadyToRun to state ManualRun
FromManualRunToReadyToRunTransition from state ManualRun to state ReadyToRun
FromReadyToRunToControlledRunTransition from state ReadyToRun to state ControlledRun
FromControlledRunToReadyToRunTransition from state ControlledRun to state ReadyToRun
FromManualRunToControlledRunTransition from state ManualRun to state ControlledRun
FromControlledRunToManualRunTransition from state ControlledRun to state ManualRun
0
1
2
0
1
2
3
4
5

The components of the ExtrusionExecutingSubState_StateMachineType have additional References which are defined in Table 8.

Table 8 – ExtrusionExecutingSubState_StateMachineType Additional References
SourceBrowsePath Reference Type Is Forward TargetBrowsePath
FromReadyToRunToManualRun0:FromStateTrueReadyToRun
0:ToStateTrueManualRun
FromManualRunToReadyToRun0:FromStateTrueManualRun
0:ToStateTrueReadyToRun
FromReadyToRunToControlledRun0:FromStateTrueReadyToRun
0:ToStateTrueControlledRun
FromControlledRunToReadyToRun0:FromStateTrueControlledRun
0:ToStateTrueReadyToRun
FromManualRunToControlledRun0:FromStateTrueManualRun
0:ToStateTrueControlledRun
FromControlledRunToManualRun0:FromStateTrueControlledRun
0:ToStateTrueManualRun