This Method cancels a not started job order (in AllowedToStart or NotAllowedToStart) and removes the stored information. After successful execution of the method, there shall be no job order with the JobOrderID in the JobOrderList.
The signature of this Method is specified below. Table 33 and Table 34 specify the Arguments and AddressSpace representation, respectively.
Signature
Cancel (
[in]0:String JobOrderID
[in]LocalizedText[] Comment
[out]0:UInt64 ReturnStatus
);
Table 33 – Cancel Method Arguments
Argument |
Description |
JobOrderID |
Identification of the Job Order to be canceled. |
Comment |
The comment provides a description of why the method was called. In order to provide the comment in several languages, it is an array of LocalizedText. The array may be empty, when no comment is provided. |
ReturnStatus |
Returns the status of the method execution. |
B.2 defines common values for ReturnStatus.
Note: This specification does not define how a client can access the last comment. It may be displayed in a local HMI or provided in the parameters of the job response.
Method Result Codes are defined as part of the Call service (see OPC 10000-4, or Annex B Table 94, and Table 95).
Table 34 – Cancel Method AddressSpace Definition
Attribute |
Value |
||||
BrowseName |
Cancel |
||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
0:HasProperty |
Variable |
0:InputArguments |
0:Argument[] |
0:PropertyType |
Mandatory |
0:HasProperty |
Variable |
0:OutputArguments |
0:Argument[] |
0:PropertyType |
Mandatory |