18.4 ActiveJobValuesType
This ObjectType represents values of the active job. It is formally defined in Table 85.
| Attribute | Value | ||||
| BrowseName | ActiveJobValuesType | ||||
| IsAbstract | False | ||||
| References | Node Class | BrowseName | DataType | TypeDefinition | Other |
|---|---|---|---|---|---|
| Subtype of 0:BaseObjectType defined in OPC UA Part 5 | |||||
| 0:HasProperty | Variable | JobStatus | JobStatusEnumeration | 0:PropertyType | M, RO |
| 0:HasComponent | Method | StartJob | M | ||
| 0:HasComponent | Method | InterruptJob | M | ||
| 0:HasComponent | Method | FinishJob | M | ||
| 0:HasProperty | Variable | CurrentLotName | 0:String | 0:PropertyType | M, RW |
| 0:HasProperty | Variable | BoxId | 0:String | 0:PropertyType | O, RW |
| 0:HasSubtype | ObjectType | ActiveCyclicJobValuesType | |||
18.4.1 JobStatus
The JobStatus Property represents the current status of the job.
| Name | Value | Description |
| OTHER | 0 | This state is used if none of the other states below apply. Set by operator. |
| TRANSFERRED_ASSIGNED | 1 | The job has been transferred to the machine and assigned as current job. |
| SET_UP_ACTIVE | 2 | The operator prepares the machine for the job. |
| SET_UP_INTERRUPTED | 3 | The operator has interrupted but not finished the preparation of the machine for the job. |
| SET_UP_FINISHED | 4 | The operator has finished the preparation of the machine for the job. |
| START_UP_ACTIVE | 5 | The operator is setting the machine in the start-up phase. |
| JOB_IN_PRODUCTION | 6 | The machine is producing parts/products for the job. |
| JOB_INTERRUPTED | 7 | The job is interrupted. The nominal output is not reached. |
| JOB_FINISHED | 8 | Nominal output reached. |
| TEAR_DOWN_ACTIVE | 9 | The operator tears the machine down. |
| TEAR_DOWN_INTERRUPTED | 10 | Tear-down is interrupted but not finished. |
| TEAR_DOWN_FINISHED | 11 | Tear-down is finished. |
The JobStatus is set by the machine/operator. This can be triggered by the methods StartJob, InterruptJob and FinishJob. The selection of the value JOB_IN_PRODUCTION_6 can be prevented by the client by setting ProductionReleased to FALSE (see 14.7.2).
18.4.2 StartJob
With this Method the client (e.g. MES) request the machine to change the JobStatus to JOB_IN_PRODUCTION_6. The following produced parts/products are counted for the job.
NOTE: The method does not change the MachineMode.
Signature
StartJob ();The method has no Input- or OutputArguments.
| Attribute | Value | ||||
| BrowseName | StartJob | ||||
| References | Node Class | BrowseName | DataType | TypeDefinition | Modelling Rule |
|---|
18.4.3 InterruptJob
With this Method the client (e.g. MES) requests the machine to change the JobStatus to JOB_INTERRUPTED_7. The following produced parts/products are not counted for the job.
NOTE: It is not fixed by this specification if the machine stops or continuous running.
Signature
InterruptJob ();The method has no Input- or OutputArguments.
| Attribute | Value | ||||
| BrowseName | InterruptJob | ||||
| References | Node Class | BrowseName | DataType | TypeDefinition | Modelling Rule |
|---|
18.4.4 FinishJob
With this Method the client (e.g. MES) requests the machine to change the JobStatus to JOB_FINISHED_8. If ContinueAtJobEnd (see 18.2.10) is FALSE, the machine stops. Otherwise a message to the operator shall be shown on the machine.
Signature
FinishJob ();The method has no Input- or OutputArguments.
| Attribute | Value | ||||
| BrowseName | FinishJob | ||||
| References | Node Class | BrowseName | DataType | TypeDefinition | Modelling Rule |
|---|
18.4.5 CurrentLotName
The CurrentLotName Property represents the current production lot. Although the modelling rule is mandatory, the 0:String can be empty.
18.4.6 BoxId
The BoxId Property represents the Id of the box in which the current production is put in.
NOTE: A "box" can be any kind of container like stacking box, lattice box, bag… .
18.4.7 ActiveCyclicJobValuesType
Additional information on the running job for cyclic production (e.g. injection moulding) is stored in the ActiveCyclicJobValuesType. It extends the ActiveJobValuesType. It is formally defined in Table 90.
| Attribute | Value | ||||
| BrowseName | ActiveCyclicJobValuesType | ||||
| IsAbstract | False | ||||
| References | Node Class | BrowseName | DataType | TypeDefinition | Other |
|---|---|---|---|---|---|
| Subtype of ActiveJobValuesType | |||||
| 0:HasComponent | Variable | JobCycleCounter | 0:UInt64 | 0:BaseDataVariableType | M, RO |
| 0:HasComponent | Variable | BoxCycleCounter | 0:UInt64 | 0:BaseDataVariableType | O, RO |
| 0:HasComponent | Variable | MachineCycleCounter | 0:UInt64 | 0:BaseDataVariableType | O, RO |
| 0:HasComponent | Variable | LastCycleTime | 0:Duration | 0:BaseDataVariableType | M, RO |
| 0:HasComponent | Variable | AverageCycleTime | 0:Duration | 0:BaseDataVariableType | O, RO |
| 0:HasComponent | Variable | JobPartsCounter | 0:UInt64 | 0:BaseDataVariableType | M, RO |
| 0:HasComponent | Variable | JobGoodPartsCounter | 0:UInt64 | 0:BaseDataVariableType | M, RO |
| 0:HasComponent | Variable | JobBadPartsCounter | 0:UInt64 | 0:BaseDataVariableType | M, RO |
| 0:HasComponent | Variable | JobTestSamplesCounter | 0:UInt64 | 0:BaseDataVariableType | M, RO |
| 0:HasComponent | Variable | BoxPartsCounter | 0:UInt64 | 0:BaseDataVariableType | O, RO |
| 0:HasComponent | Variable | BoxGoodPartsCounter | 0:UInt64 | 0:BaseDataVariableType | O, RO |
| 0:HasComponent | Variable | BoxBadPartsCounter | 0:UInt64 | 0:BaseDataVariableType | O, RO |
| 0:HasComponent | Variable | BoxTestSamplesCounter | 0:UInt64 | 0:BaseDataVariableType | O, RO |
| 0:HasComponent | Variable | LastPartId | 0:String[] | 0:BaseDataVariableType | O, RO |
| 0:HasComponent | Method | StopAtCycleEnd | M | ||
| 0:HasComponent | Method | ResetJobCounters | M | ||
| 0:HasComponent | Method | ResetBoxCounters | O | ||
| 0:HasComponent | Method | ResetAverageCycleTime | O | ||
18.4.7.1 JobCycleCounter
The JobCycleCounter Variable represents the number of finished cycles in the job.
18.4.7.2 BoxCycleCounter
The BoxCycleCounter Variable represents the number of finished cycles for the current box.
18.4.7.3 MachineCycleCounter
The MachineCycleCounter Variable represents the number of finished cycles in the machine life time.
18.4.7.4 LastCycleTime
The LastCycleTime Variable represents the cycle time (duration in milliseconds) of the recently finished cycle.
18.4.7.5 AverageCycleTime
The AverageCycleTime Variable represents the average cycle time. The calculation starts from the last calling of ResetActiveJobAverageCycleTime.
18.4.7.6 JobPartsCounter, JobGoodPartsCounter, JobBadPartsCounter, JobTestSamplesCounter
These Variables represent the total number of produced parts and the numbers of good, bad and test sample parts in the current job.
18.4.7.7 BoxPartsCounter, BoxGoodPartsCounter, BoxBadPartsCounter, BoxTestSamplesCounter
These Variables represent the total number of produced parts and the numbers of good, bad and test sample parts in the current box.
18.4.7.8 LastPartId
The LastPartId Variable is an array and represents the Ids of the parts produced in the recently finished cycle.
18.4.7.9 StopAtCycleEnd
With this Method, the MES directs the machine to stop at the end of the current cycle.
Signature
StopAtCycleEnd ();The method has no Input- or OutputArguments.
| Attribute | Value | ||||
| BrowseName | StopAtCycleEnd | ||||
| References | Node Class | BrowseName | DataType | TypeDefinition | Modelling Rule |
|---|
18.4.7.10 ResetJobCounters
Method for setting the cycle and parts counters for the job to 0.
Signature
ResetJobCounters ();The method has no Input- or OutputArguments.
| Attribute | Value | ||||
| BrowseName | ResetJobCounters | ||||
| References | Node Class | BrowseName | DataType | TypeDefinition | Modelling Rule |
|---|
18.4.7.11 ResetBoxCounters
Method for setting the cycle and parts counters for the current box to 0.
Signature
ResetBoxCounters ();The method has no Input- or OutputArguments.
| Attribute | Value | ||||
| BrowseName | ResetBoxCounters | ||||
| References | Node Class | BrowseName | DataType | TypeDefinition | Modelling Rule |
|---|
18.4.7.12 ResetAverageCycleTime
This Method initiates a new calculation of the average cycle time for the job.
Signature
ResetAverageCycleTime ();The method has no Input- or OutputArguments.
| Attribute | Value | ||||
| BrowseName | ResetAverageCycleTime | ||||
| References | Node Class | BrowseName | DataType | TypeDefinition | Modelling Rule |
|---|