This OPC UA MachineModuleProductionType ObjectType contains information about the currently running production and produced product master total.
Figure 14 shows an overview for the MachineModuleProductionType with related Objects. It is formally defined in Table 26.
Figure 14 – MachineModuleProductionType overview
The MachineModuleProductionType is formally defined in Table 26.
Table 26 – MachineModuleProductionType Definition
Attribute |
Value |
||||
BrowseName |
MachineModuleProductionType |
||||
IsAbstract |
False |
||||
References |
Node Class |
BrowseName |
DataType |
TypeDefinition |
Modelling Rule |
Subtype of BaseObjectType defined in OPC 10000-5. |
|||||
HasProperty |
Variable |
ProductionOrder |
POType |
PropertyType |
Mandatory |
HasProperty |
Variable |
ProductionStatus |
ProductionStatusEnumeration |
PropertyType |
Mandatory |
HasComponent |
Method |
StartProductionOrder |
|
|
Mandatory |
HasComponent |
Method |
StopProductionOrder |
|
|
Mandatory |
GeneratesEvent |
ObjectType |
POChangeLogType |
|
|
|
The MachineModuleProductionType ObjectType is a concrete type and can be used directly.
The Property ProductionOrder contains information about the currently running production order. The Type POType is defined in Table 27.
Table 27 – POType Definition
Name |
Type |
Description |
Structure |
Description of a production order (PO) |
|
String |
PO identification number |
|
MaterialType |
The finished good that the material is produced under the current PO. |
|
Double |
The quantity of material that is requested by the PO |
|
Boolean |
When ContinueAtJobEnd is True, then the operator may continue production (overproduction) after fulfilling the required order quantity |
|
DateTime |
The target time for the PO to be started according to the planning |
|
DateTime |
The target time for the PO to be completed according to the planning |
|
String |
The ID of the parameters’ dataset to be used for this PO |
|
String |
The description of the parameters’ dataset to be used for this PO |
The Type MaterialType is defined in Table 22.
The Property ProductionStatus describes the status of the ProductionOrder. The Enumeration ProductionStatusEnumeration is defined in Table 28.
Table 28 – ProductionStatusEnumeration Definition
Enumstring |
Value |
Description |
Other |
0 |
None of the below. |
Brand Change |
1 |
The PO materials are still present in the workcentre and are being removed for a different brand. |
Production |
2 |
The PO is being produced. |
No Production |
3 |
There is no PO being produced. |
The Method StartProductionOrder sends a command to start the ProductionOrder to the underlying system. If the production order is started, the ProductionOrderStatus is set to Productio n by the underlying system. If there are materials at the machine module that are not compatible with the materials required by the production order, then the ProductionOrderStatus is set to Brand Change.
Signature
StartProductionOrder (
[in]POType POToStart
[out]MethodExecutionFeedbackType ExecutionFeedback
);
Argument |
Description |
POToStart |
The production order to be started. |
ExecutionFeedback |
The extended feedback returning a detailed message in case of execution failure. |
Method Result Codes
ResultCode |
Description |
|||||||||||
BadNodeIdUnknown |
See table 173 in OPC 10000-4 for the description of these result codes. |
|||||||||||
BadTypeMismatch |
||||||||||||
BadOutOfRange |
||||||||||||
BadNotWritable |
||||||||||||
BadNotFound |
Argument |
Description |
ExecutionFeedback |
The extended feedback returning a detailed message in case of execution failure. |
When a StopProductionOrder Method is executed by the underlying system, the Message in MethodExecutionFeedback is suitably displayed on the machine HMI to inform the machine user and provide useful instructions, e.g. “A remote production stop was executed. Run the machine empty. Requested by MES Client”.
Method Result Codes
ResultCode |
Description |
BadNodeIdUnknown |
See table 173 in OPC 10000-4 for the description of these result codes. |
BadTypeMismatch |
|
BadOutOfRange |
|
BadNotWritable |
|
BadNotFound |