Skip to main content

Companion Specifications

The OPC UA Core Specification defines the protocol itself, while Companion Specifications define "how a particular industry or equipment type should expose data through OPC UA". A machine tool should expose its spindle and feed axes per OPC UA for Machine Tools, a robot its axes per OPC UA for Robotics, so that equipment from different vendors is plug-and-play.

Chapter Navigation

SDK Scope of Support​

This SDK is generally the case Client SDK; all Companion Specs have a node structure consisting of a "specific ObjectType + Variable + Method" combination, and can Call be accessed using the general Browse/ Read / Write / keywords. There's no need to write specific code for each Companion Spec..

Example: Accessing a machine tool OPC UA for Machine Tools that meets the following criteria:

// Standard node path: /Objects/MyMachine/Production/Active/State
var state = ua.Read("ns=2;s=MyMachine.Production.Active.State");

When Should You Refer to the Companion Spec?​

  1. The server-side documentation says, "I press 'expose XXX Companion Spec'."
  2. Do you want to enable plug-and-play between devices from different manufacturers?
  3. You should write "General-Purpose Machine Tool / Robot Monitoring Tool"

Otherwise, the generic version OPC UA Client API is sufficient.