opc-OpcDeviceManager

Use the Opc Device Manager to add, edit, and access OPC device components (OpcDaClients). The Opc Device Manager is the default view of a OpcNetwork. As in other device managers, there is a Discovered table (if in Learn mode) and a Database table. For additional details, see Opc Device Manager.

Discovered table

The Discovered table in the OpcDeviceManager view has the following available columns:

  • Name

    Name of the OPC server application.

  • Address

    Hostname or IP address of the OPC server.

  • Class Id

    Windows class ID string, or CLSID, of the OPC server instance.

  • Program Id

    Text string of OPC Program Id for server, typically containing one or more periods.

  • Version Independent Program Id

    Text string of version-independent OPC Program Id for server, which may match the Program Id.

  • Cat Id

    OPC specification of the server, for example “OPC DA 2.0” for Data Access 2.0.

Database table

The Database table in the OpcDeviceManager view has the following available columns:

  • Type

    Niagara type of device component, where currently there is only OpcDaClient (Opc Da Client).

  • Name

    Niagara name of the OpcDaClient component, often left as the (discovered) OPC server application name.

  • Exts

    Shortcut to the device extensions (only one extension, Points).

  • Fault Cause

    String describing the cause of the device status fault, if any.

  • Enabled

    Indicates whether the OpcDaClient is enabled (true) or disabled (false).

  • Description

    Description property for the OpcDaClient.

  • Address

    The hostname or IP address of the OPC server.

  • Class Id

    The Windows class ID, or CLSID, of the OPC server instance.

  • Local

    Set to true if the OPC server is on the local host, otherwise it is false.

  • Program Id

    Either this or the Version Independent Program Id are needed to connect to local servers.

  • Version Independent Program Id

    Either this or the Program Id are needed to connect to local servers.

  • Use Version Independent Program Id

    Reflects this property of the OpcDaClient, which is typically true. If connecting to an older version of an OPC server, this may need to be set to false.

  • State

    Reflects the client state, which is either attached, attaching, detached, or detaching.