Method to create a new job. HLS creates and sends a job into the job list on the machine. The JobState is suspended (= default job state).
The signature of this Method is specified below in Table 21 and Table 22 which specify the Arguments and AddressSpace representation, respectively.
The AddressSpace definition can be omitted if there are no Properties other than InputArguments and OutputArguments.
Signature
InsertJob (
[in]LimitedString64Identifier,
[in]LimitedString64Name,
[in]0:NodeId[]InputMaterial,
[in]0:NodeId[]OutputMaterial
[out]0:NodeIdJobNodeId
);
Table 21 – InsertJob Method Arguments
Argument |
Description |
Identifier |
Unique ID for the job |
Name |
Human readable name of the job |
InputMaterial |
Optional: Describes the materials to be processed within the job. Can include MaterialBaseType, RawGlassType, (Surface)GlassType |
OutputMaterial |
Optional: Describes the material-result of processing from the materials side. |
JobNodeId |
Optional: NodeId of the new created Job object (subtype of ProductionJobType) |
Method Result Codes (defined in Call Service)
Result Code |
Description |
Bad_UserAccessDenied |
See OPC 10000-4 for a general description. |
Table 22 – InsertJob Method AddressSpace definition
Attribute |
Value |
||||
BrowseName |
InsertJob |
||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
0:HasProperty |
Variable |
0:InputArguments |
0:Argument[] |
0:PropertyType |
0:Mandatory |
0:HasProperty |
Variable |
0:OutputArguments |
0:Argument[] |
0:PropertyType |
0:Mandatory |