6.7.17 SetParameter Method
This Method allows an OPC UA Client to set the parameters that are by the machine.
Signature
SetParameter(
[in] PackMLDescriptorDataType[] Parameter
); | Argument | Description |
| Parameter | The array of parameter that can be used by the method |
Method result codes are defined in Table 60
| 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 61 specifies the AddressSpace representation for the SetParameter Method. SetParameter includes an array of InputArguments, where the input argument details are provided in Table 59.
| Attribute | Value | ||||
| BrowseName | SetParameter | ||||
| References | NodeClass | BrowseName | DataType | TypeDefinition | ModellingRule |
|---|---|---|---|---|---|
| HasProperty | Variable | InputArguments | Argument[] | PropertyType | Mandatory |