Adding a control point to invoke an OPC UA method

The driver provides a means of invoking OPC UA method objects defined in a OPC UA server.  My Method icon () identifies discovered OPC UA methods.

The discovered objects on the OPC UA server are visible in the Opc Ua Point Manager view.
  1. To open the Opc Ua Client Point Manager, expand Config > Drivers > OpcUaNetwork > OpcUaDevice and double-click the Points folder.
  2. To run a discovery job, lick Discover.
  3. Select a MyMethod and click Add.
    The driver adds the method in the Discovered pane to the database. The added control point now has a callMethod action.
  4. Right-click on the method and click Actions > callMethod.
    If the method has defined input arguments, a Call Method window opens with the arguments.


    A descriptor displays each argument. You may need to scroll the descriptor to see the complete text.

  5. Enter the desired argument values and click OK.

    The OpcUaMethod control point is a subclass of BStringPoint. The out property is a StatusString type. The data type of the method return value may not be a string. In addition to setting the Out property by converting the method results to a string, the driver adds a Result property of the appropriate BStatusValue type.
    This invokes the method in the OPC UA server with the provided arguments.
On completion, the Out property reflects and displays the control point.