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