This ObjectType represents the current status of a machine related to the MES. It is formally defined in Table 43.
Figure 9 – MachineMESStatusType Overview
Table 43 – MachineMESStatusType Definition
Attribute |
Value |
||||
BrowseName |
MachineMESStatusType |
||||
IsAbstract |
False |
||||
References |
Node Class |
BrowseName |
DataType |
TypeDefinition |
Other |
Subtype of 0:BaseObjectType defined in OPC UA Part 5 |
|||||
0:HasProperty |
Variable |
StandstillReasonId |
0:String |
0:PropertyType |
M, RO |
0:HasComponent |
Object |
StandstillMessage |
|
StandstillMessageType |
M |
0:HasComponent |
Object |
MESMessage |
|
MESMessageType |
M |
0:HasComponent |
Method |
SetMESMessage |
|
|
M |
0:HasComponent |
Method |
ClearMESMessage |
|
|
M |
0:HasComponent |
Object |
ProductionControl |
|
ProductionControlType |
M |
GeneratesEvent |
ObjectType |
MessageConditionType |
Defined in 14.8 |
The StandstillReasonId Property represents the Id of the StandstillReason (see MachineConfiguration) set by the operator after a standstill occurs.
Default value: empty String (= no active standstill reason).
Set to an empty String by machine with starting of production.
The StandstillMessage Object represents the fault which causes standstill. This is set by machine control.
The StandstillMessageType is formally defined in Table 44.
Table 44 – StandStillMessageType Definition
Attribute |
Value |
||||
BrowseName |
StandstillMessageType |
||||
IsAbstract |
False |
||||
References |
Node Class |
BrowseName |
DataType |
TypeDefinition |
Other |
Subtype of 0:BaseObjectType defined in OPC UA Part 5 |
|||||
0:HasProperty |
Variable |
Id |
0:String |
0:PropertyType |
M, RO |
0:HasProperty |
Variable |
0:Message |
0:LocalizedText |
0:PropertyType |
M, RO |
0:HasProperty |
Variable |
0:Severity |
0:UInt16 |
0:PropertyType |
M, RO |
0:HasProperty |
Variable |
Classification |
0:Enumeration |
0:PropertyType |
M, RO |
Classification: Classification of the message. The valid values of the Enumeration are specified in the specific Companion Specification (e.g. IMMMessageClassificationEnumeration in OPC 40077).
NOTE: When creating an instance of the StandstillMessage object, the DataType of Classification shall be set to the specific Enumeration subtype (e.g. IMMMessageClassificationEnumeration).
If the machine is not in a standstill state, the values of the Properties shall be 0 or empty string.
The MESMessage Object represents a text message sent from the MES to be shown on the machine. The Properties of this Object shall only be set/changed by the MES OPC UA Client.
NOTE: This Property shall not be writeable directly. The method SetMESMessage is used for the modification.
Table 45 – MESMessageType Definition
Attribute |
Value |
|||||
BrowseName |
MESMessageType |
|||||
IsAbstract |
False |
|||||
References |
Node Class |
BrowseName |
DataType |
TypeDefinition |
Other |
|
Subtype of 0:BaseObjectType defined in OPC UA Part 5 |
||||||
0:HasProperty |
Variable |
Id |
0:String |
0:PropertyType |
M, RO |
|
0:HasProperty |
Variable |
Message |
0:String |
0:PropertyType |
M, RO |
|
0:HasProperty |
Variable |
0:Severity |
0:UInt16 |
0:PropertyType |
M, RO |
Method for setting the MESMessage.
Signature
SetMESMessage (
[in]0:StringId
[in]0:StringMessage
[in]0:UInt16Severity);
Table 46 – SetMESMessage Method Arguments
Argument |
Description |
Id |
Id of the Message (can e.g. be used for automatic processing of the message) |
Message |
Text of Message |
Severity |
Severity as defined in the BaseEventType (1 = low – 1000 = high) |
Table 47 – SetMESMessage Method AddressSpace Definition
Attribute |
Value |
||||
BrowseName |
SetMESMessage |
||||
References |
Node Class |
BrowseName |
DataType |
TypeDefinition |
Modelling Rule |
0:HasProperty |
Variable |
InputArguments |
Argument[] |
0:PropertyType |
Mandatory |
Method for clearing the MESMessage. Calling this method sets the Properties Id and Message in MESMessage to empty string and Severity to 0.
Signature
ClearMESMessage ();
The method has no Input- or OutputArguments.
Table 48 – ClearMESMessage Method AddressSpace Definition
Attribute |
Value |
||||
BrowseName |
ClearMESMessage |
||||
References |
Node Class |
BrowseName |
DataType |
TypeDefinition |
Modelling Rule |
The ProductionControl Object allows the MES to control the production of the machine. It is formally defined in Table 49.
Table 49 – ProductionControlType Definition
Attribute |
Value |
||||
BrowseName |
ProductionControlType |
||||
IsAbstract |
False |
||||
References |
Node Class |
BrowseName |
DataType |
TypeDefinition |
Other |
Subtype of 0:BaseObjectType defined in OPC UA Part 5 |
|||||
0:HasProperty |
Variable |
ProductionStatus |
ProductionStatusEnumeration |
0:PropertyType |
M, RO |
0:HasProperty |
Variable |
ProductionReleasedByMES |
0:Boolean |
0:PropertyType |
M, RW |
0:HasProperty |
Variable |
AutomaticRunEnabled |
0:Boolean |
0:PropertyType |
M, RO |
0:HasComponent |
Method |
EnableAutomaticRun |
|
|
M |
0:HasComponent |
Method |
DisableAutomaticRun |
|
|
M |
0:HasProperty |
Variable |
ProductionOnlyWithMES |
0:Boolean |
0:PropertyType |
O, RW |
0:HasComponent |
Method |
SetWatchDogTime |
|
|
O |
0:HasComponent |
Method |
ResetWatchDog |
|
|
O |
0:HasComponent |
Method |
RequestTestSample |
|
|
O |
The ProductionStatus Property of DataType ProductionStatusEnumeration represents the production status when the machine is in automatic or semi-automatic mode. When the machine is in another mode, the value is not relevant (no production). The ProductionStatusEnumeration is formally defined in Table 50.
Table 50 – ProductionStatusEnumeration Definition
Name |
Value |
Description |
OTHER |
0 |
This state is used if none of the other states below apply. |
NO_PRODUCTION |
1 |
The machine does not produce any parts/products. |
START_UP |
2 |
The machine is producing parts/products in the start-up phase. So the correct settings of the machines are not reached. |
READY_FOR_PRODUCTION |
3 |
The machine is producing parts/products, the correct settings of the machines are reached but the production is not yet released (e.g. waiting for release from quality assurance). |
PRODUCTION |
4 |
The machine is producing parts/products. In semi-automatic mode also during waiting time (e.g. for manual loading/unloading of parts) ProductionStatus remains in this state (time out possible if e.g. cycle time exceeds a pre-defined limit). |
DRY_RUN |
5 |
The machine is moving without material. |
NOTE: This is a list of a possible status and not a sequence. The support of the values NO_PRODUCTION_1 and PRODUCTION_4 is mandatory. The use of the other values is optional.
The ProductionStatus is set by the machine/operator. The selection of the value PRODUCTION_4 can be prevented by the MES OPC UA client by setting ProductionReleasedByMES to FALSE.
The ProductionReleasedByMES Property indicates if ProductionStatus may have the value PRODUCTION_4. Default value is TRUE. If ProductionReleased is FALSE it also prevents that JobStatus (see 18.4.1) has the value JOB_IN_PRODUCTION_6.
If ProductionReleased is set from TRUE to FALSE when ProductionStatus has the value PRODUCTION_4, the value shall change to READY_FOR_PRODUCTION_3. If JobStatus has the value JOB_IN_PRODUCTION_6 it shall change to JOB_INTERRUPTED_7.
The AutomaticRunEnabled Property indicates if semi-automatic and automatic run of the machine is allowed by MES. If FALSE, the machine cannot start in semi-automatic or automatic mode.
The value is set to TRUE by the Method EnableAutomaticRun and to FALSE by the Method DisableAutomaticRun. The default value is TRUE.
Can e.g. be used if wrong mould is installed or to force the operator to enter a StandstillReason after machine stop.
If the machine is running in (semi-)automatic, a call of DisableAutomaticRun will stop the machine (if applicable at the end of the cycle). The machine should show a message to the operator why the machine has stopped.
Signatures
EnableAutomaticRun ();
DisableAutomaticRun ();
The methods have no Input- or OutputArguments.
Table 51 – EnableAutomaticRun Method AddressSpace Definition
Attribute |
Value |
||||
BrowseName |
EnableAutomaticRun |
||||
References |
Node Class |
BrowseName |
DataType |
TypeDefinition |
Modelling Rule |
Table 52 – DisableAutomaticRun Method AddressSpace Definition
Attribute |
Value |
||||
BrowseName |
DisableAutomaticRun |
||||
References |
Node Class |
BrowseName |
DataType |
TypeDefinition |
Modelling Rule |
The optional Property ProductionOnlyWithMES indicates if production with the machine is only allowed when the MES is active. When ProductionOnlyWithMES is TRUE and the connection to the MES is lost, the machine may not have the ProductionStatus PRODUCTION_4 and not the JobStatus JOB_IN_PRODUCTION_6 (see 18.4.1).
NOTE: It is not fixed by this specification if the machine stops or continues running.
The default value is FALSE.
Only one MES client shall write this Property.
Some production jobs need 100% documentation of the production parameters. To ensure this, a WatchDog can be used. By setting the WatchDog time with the Method SetWatchDogTime the production is only released for the given time. The Method ResetWatchDog sets the timer to the value set by the last calling of SetWatchDogTime. This indicates to the machine that the MES is still connected and able to store the production parameters.
Only one MES client shall call these Methods to avoid overlapping.
When the defined time is exceeded without reset, the machine may not have the ProductionStatus PRODUCTION_4 and not the JobStatus JOB_IN_PRODUCTION_6 (see 18.4.1).
NOTE: It is not fixed by this specification if the machine stops or continues running.
Signature
SetWatchDogTime (
[in] 0:Int32WatchDogTime);
Table 53 – SetWatchDogTime Method Arguments
Argument |
Description |
WatchDogTime |
Time in seconds for which production is enabled by the watch dog |
Calling the method with WatchDogTime = -1 disables the watch dog and the machine can stay in production.
Table 54 – SetWatchDogTime Method AddressSpace Definition
Attribute |
Value |
||||
BrowseName |
SetWatchDogTime |
||||
References |
Node Class |
BrowseName |
DataType |
TypeDefinition |
Modelling Rule |
0:HasProperty |
Variable |
InputArguments |
Argument[] |
0:PropertyType |
Mandatory |
Signature
ResetWatchDog ();
The method has no Input- or OutputArguments.
Table 55 – ResetWatchDog Method AddressSpace Definition
Attribute |
Value |
||||
BrowseName |
ResetWatchDog |
||||
References |
Node Class |
BrowseName |
DataType |
TypeDefinition |
Modelling Rule |
The machine shall separate a test sample (e.g. for quality check). The size of the test sample depends on the product/machine configuration.
Signature
RequestTestSample ();
The method has no Input- or OutputArguments.
Table 56 – RequestTestSample Method AddressSpace Definition
Attribute |
Value |
||||
BrowseName |
RequestTestSample |
||||
References |
Node Class |
BrowseName |
DataType |
TypeDefinition |
Modelling Rule |
The MessageConditions represent text messages (incl. error messages) of the control system currently shown on the screen of the machine. The MessageConditionType is formally defined in Table 57.
Table 57 – MessageConditionType Definition
Attribute |
Value |
||||
BrowseName |
MessageConditionType |
||||
IsAbstract |
False |
||||
References |
Node Class |
BrowseName |
DataType |
TypeDefinition |
Other |
Subtype of 0:AlarmConditionType defined in OPC UA Part 9 |
|||||
0:HasProperty |
Variable |
Id |
0:String |
0:PropertyType |
M, RO |
0:HasProperty |
Variable |
Classification |
0:Enumeration |
0:PropertyType |
M, RO |
0:HasProperty |
Variable |
IsStandstillMessage |
0:Boolean |
0:PropertyType |
M, RO |
Id: Id of the message
Classification: Classification of the message. The valid values of the Enumeration are specified in the specific Companion Specification (e.g. IMMMessageClassificationEnumeration in OPC 40077).
IsStandstillMessage: Indication if the message has led to a standstill.
NOTE: The AlarmConditionType is a subtype of BaseEventType and therefore includes the Properties Severity and Message (= text).