This Method allows an OPC UA Client to set an interlock associated with this PackML system parameter. The parameters for the SetInterlock Method are defined in Table 56.

Signature

SetInterlock(

[in] Int32 InterlockId,

[in] Boolean State);

Table 56 - SetInterlock Method Parameters

Argument

Description

InterlockId

ID of the target interlock to set or reset. The ID typically refer to the element in the Boolean Array in the MaterialInterlock tag.

State

The state that the targeted interlock should be set to. True is set to interlocked, false is not interlocked.

Method result codes are defined in Table 57

Table 57 - SetInterlock Method result codes

Result Code

Description

Bad_MethodInvalid

See OPC 10000-4 – Services 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 – Services for the description of this result code. (Requested operation is not implemented.)

Bad_NodeIdUnknown

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

Bad_InvalidState

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

Bad_MethodInvalid

See OPC 10000-4 – Services for the description of this result code. (The Method id does not refer to a Method for the specified Object.)

Bad_ArgumentsMissing

See OPC 10000-4 – Services 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 – Services for the description of this result code (The Client specified more input arguments than defined for the Method.)

Bad_InvalidArgument

See OPC 10000-4 – Services 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 – Services for the description of this result code. (Used to indicate that an input argument does not have the correct data type.)

Table 58 specifies the AddressSpace representation for the SetInterlock Method. SetInterlock includes an array of InputArguments, where the input argument details are provided in Table 56.

Table 58 – SetInterlock Method AddressSpace Definition

Attribute

Value

BrowseName

SetInterlock

References

NodeClass

BrowseName

DataType

TypeDefinition

ModellingRule

HasProperty

Variable

InputArguments

Argument[]

PropertyType

Mandatory