The ProductionJobType provides all information for a single job and is formally defined in Table 25.
Table 25 – ProductionJobType Definition
Attribute |
Value |
||||
BrowseName |
ProductionJobType |
||||
IsAbstract |
false |
||||
References |
Node Class |
BrowseName |
DataType |
TypeDefinition |
Other |
Subtype of the BaseObjectType defined in OPC 10000-5, i.e. inheriting the InstanceDeclarations of that Node. |
|||||
0:HasComponent |
Object |
InputMaterials |
|
FolderType |
Mandatory |
0:HasComponent |
Object |
OutputMaterials |
|
FolderType |
Mandatory |
0:HasComponent |
Variable |
EndTime |
0:DateTime |
0:BaseDataVariableType |
Mandatory |
0:HasComponent |
Object |
Instruction |
|
InstructionType |
Mandatory |
0:HasProperty |
Variable |
Identifier |
LimitedString64 |
0:PropertyType |
Mandatory |
0:HasComponent |
Object |
State |
|
ProductionStateMachineType |
Mandatory |
0:HasComponent |
Object |
Lock |
|
2:LockingServicesType |
Optional |
0:HasProperty |
Variable |
Name |
LimitedString64 |
0:PropertyType |
Optional |
0:HasComponent |
Method |
ReleaseJob |
|
|
Optional |
0:HasProperty |
Variable |
JobGroup |
LimitedString64 |
0:PropertyType |
Optional |
0:HasComponent |
Variable |
StartTime |
|
0:BaseDataVariableType |
Mandatory |
0:HasComponent |
Method |
SuspendJob |
|
|
Optional |
0:HasComponent |
Method |
AbortJob |
|
|
Optional |
0:HasComponent |
Method |
QueueJob |
|
|
Optional |
0:HasInterface |
ObjectType |
0:IOrderedObjectType |
|
|
|
Applied from 0:IOrderedObjectType |
|||||
0:HasProperty |
Variable |
NumberInList |
0:UInt16 |
0:PropertyType |
Mandatory |
InputMaterials describes a folder that contains objects of subtypes of the BaseMaterialType. These represents the materials to be processed within the job. The folder contains a MandatoryPlaceholder of the BaseMaterialType.
OutputMaterial describes a folder that contains objects of subtypes of the BaseMaterialType. These represents the materials after processing from the materials side. The folder contains a MandatoryPlaceholder of the BaseMaterialType.
EndTime defines the timestamp when processing was finished and the machine switched to the ended or aborted state.
Instruction contains all the information required by the glass machine to perform the job. In case of an assembly job, it contains all necessary steps for the mounting of the unit. For a glass cutting process, the cutting plan is provided.
Identifier defines a unique identifier for the job.
State describes the current processing state in reference to the ProductionStateMachine.
Lock contains the methods and properties to get the information about the locking status of the job and to modify the lock. For more information refer to Locking Service in OPC 10000-100.
Name defines a human readable name of the job.
NumberInList is used to enumerate ProductionJobType instances used as list elements. This index shall be 0 for the first list element and increase by one for each subsequent list element. If nodes are deleted from the list or inserted into the list, the NumberInList has to be adjusted for all following nodes in the list, such that the NumberInList elements always form a sequential series of numbers.
StartTime defines the timestamp of starting processing when the machine switched from released to the running state.
JobGroup is an attribute to combine multiple jobs in a configurable order.
The components of the ProductionJobType have additional subcomponents which are defined in Table 26
Table 26 – ProductionJobType Type Additional Subcomponents
BrowsePath |
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
Others |
InputMaterials |
0:HasComponent |
Object |
<InputMaterial> |
|
BaseMaterialType |
MandatoryPlaceholder |
OutputMaterials |
0:HasComponent |
Object |
<OutputMaterial> |
|
BaseMaterialType |
MandatoryPlaceholder |
Method to abort a job. Let the job enter the state Abort from the JobStateMachine. If the job is in running the stop will be stopped. The stop behaviour depends on the machine and the current conditions of the machine.
The signature of this Method is specified below in Table 27 and Table 28 which specify the Arguments and AddressSpace representation, respectively.
Signature
AbortJob (
);
Table 27 – AbortJob Method Arguments
Argument |
Description |
Method Result Codes (defined in Call Service)
Result Code |
Description |
Bad_UserAccessDenied |
See OPC 10000-4 for a general description. |
Table 28 – AbortJob Method AddressSpace definition
Attribute |
Value |
||||
BrowseName |
ReleaseJob |
||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
Method to release a job. Let the job enter the state released from the JobStateMachine. A released job can be processed by the machine. This Release Method can be called only if the job is locked from this client (see Lock Service). This method will unlock the job within the releasing process.
The signature of this Method is specified below in Table 29 and Table 30 which specify the Arguments and AddressSpace representation, respectively.
Signature
ReleaseJob (
);
Table 29 – ReleaseJob Method Arguments
Argument |
Description |
Method Result Codes (defined in Call Service)
Result Code |
Description |
Bad_UserAccessDenied |
See OPC 10000-4 for a general description. |
Table 30 – ReleaseJob Method AddressSpace definition
Attribute |
Value |
||||
BrowseName |
ReleaseJob |
||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
A method to suspend a job. Let the job enter the state suspended from the JobStateMachine. A suspended job will not be processed by the machine.
The signature of this Method is specified below in Table 31 and Table 32 which specify the Arguments and AddressSpace representation, respectively.
Signature
SuspendJob (
);
Table 31 – SuspendJob Method Arguments
Argument |
Description |
Method Result Codes (defined in Call Service)
Result Code |
Description |
Bad_UserAccessDenied |
See OPC 10000-4 for a general description. |
Table 32 – SuspendJob Method AddressSpace definition
Attribute |
Value |
||||
BrowseName |
SuspendJob |
||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
Method to queue a job which has been inserted via the InsertJob Method and all required data has been passed to the OPC UA server for production. Let the job enter the state Queued from the JobStateMachine. A queued job is ready to receive the final production release.
The signature of this Method is specified below in Table 31 and Table 32 which specify the Arguments and AddressSpace representation, respectively.
Signature
QueueJob(
);
Table 33 – QueueJob Method Arguments
Argument |
Description |
Method Result Codes (defined in Call Service)
Result Code |
Description |
Bad_UserAccessDenied |
See OPC 10000-4 for a general description. |
Table 34 – QueueJob Method AddressSpace definition
Attribute |
Value |
||||
BrowseName |
QueueJob |
||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |