11.2 SetMachineState
Method to set the MachineryItemState. The input argument of this method is the desired State. Allowed values are the StateNumber values in the StateType defined the MachineryItemState_StateMachineType Definition in OPC 40001-1: 0 (NotAvailable), 1 (OutOfService), 2 (NotExecuting), 3 (Executing).
Note: Not all States have to be supported by the mould. In this case, the server shall respond with the status code "Bad_NotSupported".
Signature
SetMachineState (
[in] 0:UInt32 DesiredState);| Argument | Description |
| DesiredState | Desired MachineryItemState |
| Attribute | Value | ||||
| BrowseName | SetMachineState | ||||
| References | Node Class | BrowseName | DataType | TypeDefinition | Modelling Rule |
|---|---|---|---|---|---|
| HasProperty | Variable | InputArguments | Argument[] | PropertyType | Mandatory |