The OPC UA Method Result codes, from OPC 10000-4, are copied in Table 94.

Table 94 – OPC UA Method Result Codes

Result Code

Description

Bad_MethodInvalid

See OPC 10000-4 for the description of this result code. (The method id does not refer to a method for the specified object.)

Bad_NotImplemented

See OPC 10000-4 for the description of this result code. (Requested operation is not implemented.)

Bad_NodeIdUnknown

See OPC 10000-4 for the description of this result code. (Used to indicate that the specified object is not valid)

Bad_ArgumentsMissing

See OPC 10000-4 for the description of this result code (The client did not specify all of the input arguments for the method.)

Bad_TooManyArguments

See OPC 10000-4 for the description of this result code (The client specified more input arguments than defined for the method.)

Bad_InvalidArgument

See OPC 10000-4 for the description of this result code. (Used to indicate in the operation level results that one or more of the input arguments are invalid. The inputArgumentResults contain the specific status code for each invalid argument.)

Bad_TypeMismatch

See OPC 10000-4 for the description of this result code. (Used to indicate that an input argument does not have the correct data type.)

Bad_OutOfRange

See OPC 10000-4 for the description of this result code. (Used to indicate that an input argument is outside the acceptable range.)

Bad_Timeout

See OPC 10000-4 for the description of this result code. (The operation timed out. – the server did not respond to the command)

Bad_InvalidState

See OPC 10000-4 for the description of this result code. (The operation cannot be completed because the object is closed, uninitialized or in some other invalid state.)

The job order methods’ return status codes are defined as a bit map in a UInt64 variable, allowing for multiple codes to be defined at the same time. The codes and bitmap positions are defined in Table 95. In the OPC format, the bit positions start at bit 0 for the least significant digit.

Note: In case the ReturnStatus should be provided, the Method call cannot return a BAD StatusCode (then no return arguments are provided) but either the GOOD StatusCode, or an UNCERTAIN StatusCode (when the Method call was not successful).

Table 95 – ISA-95 Methods Return Status Codes

Bit Position

Description

Notes

0

No Error

If bit 0 set (UInt64 value = 1) then there are no errors. This is returned on all successful method calls.

1

Unknown Job Order ID

The Job Order ID is unknown by the Information Receiver/Provider

3

Invalid Job Order Status

The Job Order status is unknown.

4

Unable to accept Job Order

The Job Order cannot be accepted

5-31

Reserved

32

Invalid request

The request is invalid due to an unspecified reason.

33-63

Implementation-specific

These values are reserved for use in specific implementations and should be defined in the implementation specification.