6 PackML Data Representation Model ToC Previous Next

6.7 Methods ToC Previous Next

6.7.17 SetParameter Method ToC Previous Next

This Method allows an OPC UA Client to set the parameters that are by the machine.

Signature

SetParameter(
[in] PackMLDescriptorDataType[] Parameter
);

Table 61 - SetParameter Method Parameters

Argument Description
Parameter The array of parameter that can be used by the method
   

Method result codes are defined in Table 62

Table 62 - SetParameter 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.). If a machine determines that it is not in a state that allows parameter changes this error is returned.
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.)

Table 63 specifies the AddressSpace representation for the SetParmeter Method. SetParameter includes an array of InputArguments, where the input argument details are provided in Table 61.

Table 63 – SetParameter Method AddressSpace Definition

Attribute Value
BrowseName SetParameter
References NodeClass BrowseName DataType TypeDefinition ModellingRule
HasProperty Variable InputArguments Argument[] PropertyType Mandatory
           

Previous Next