Using External ID-based Tags in the OPC Item for the CygNet OPC Server

The CygNet OPC Server supports the resolution of OPC items by an External ID. The External ID is an optional property of a CygNet point record (part of the CygNet Point Reference property). The CygNet OPC Server can parse and resolve ExternalID-based CygNet tags passed in as OPC items.

OPC Item Tag Format

The External ID OPC item tag format is the following:

SITE.SERVICE:::MixedCaseExternalId{;PROPERTY}

where

MixedCaseExternalId Characters

All printable ASCII characters are allowed in the "MixedCaseExternalId" portion of the OPC item, except for the semi-colon character (';'). The following characters are allowed:

Add to PNT Index and Reindex

If you plan to use an External ID as an OPC tag, we recommend that you add the following custom index to the PntAppl.ddl file to optimize performance when resolving OPC items by an External ID. Follow this by reindexing the PNT database using ReIndexESE (run as admin).

DEFINE INDEX ID=EX_INDEX,

NAME=PNT_EX_INDEX,

VERSION=1,

RECORD_ID_BYTE=27,

PREFIX=EX,

DESCR="External ID",

ITEM=(EXTID.ExtId, LENGTH=79);

See Adding a New Index to a DBS-Based Service for more information about adding an index and reindexing a service database.

Back to top