OPCIS System UDCs

OPCIS Group status points serve several purposes, including:

An OPCIS Group status tag is just like any other tag in the PNT insomuch as it can be configured for alarms, notifications, and history. The properties that make an OPCIS Group Status tag unique are its facility (the name of the OPCIS group or the OPCIS) and its OPCIS-specific UDC. These UDCs are described below in the Group Activity, Group Control, and Group Status tables.

An OPCIS has at least one group — the default group. The facility of this group is OPCDEFAULTGROUP. OPCIS Group Status Points can be added for the default group or any custom group.

See the following subsections for more information:

For general information about system UDCs, see System UDCs.

Assorted

The following UDCs provide system-level information.

UDC UDC Name Description Point Type

SYOPCGSRT

OPC Server Data Request Time

The elapsed time, in MS, when retrieving data synchronously from the OPC server.

Analog Input

SYOPCPRQS

OPC Process Queue Size

Number of entries in the update processing queue of the OPCIS. This can be useful when measuring the performance of the OPCIS.

Analog Input

SYOPCPWQP

OPC % Pushes Waited

The percentage of total queue entries that had to wait to be added to the update processing queue because the queue was full. This can be useful when measuring performance of the OPCIS.

Analog Input

Group Activity

The following UDCs provide system-level information. These points monitor group activity. These points are automatically added by the OPCIS. The Facility of the points is: SITE_SERVICE.

Example

MYSITE_OPCIS

UDC UDC Name Description Point Type

SYOPCSGAC

OPC Groups Active

Number of groups active in the OPCIS.

Analog Input

SYOPCSGCT

OPC Group Count

Number of groups defined in the OPCIS.

Analog Input

SYOPCSGNC

OPC Groups Not Connected

Number of groups not connected in the OPCIS.

Analog Input

Group Control

The following UDCs provide system-level information. These points can be used to control an OPCIS Facility Group via the use of a setpoint command. The Facility of a tag is its group name.

Example

OPC30SEC

UDC UDC Name Description Point Type

SYOPCGCTL

OPC Group Control

This point triggers an update, forces a health check, or reregisters the group with the OPC server. Options for the trigger are:

0 = None

1 = Read all values

2 = Health check

3 = Register group

Enumeration table is OPCGCTL.

Enum Output

SYOPCGDEF

OPC Group Definition

Point configuration attributes for the OPC Group Definition tag define the information about the group, while the value of the tag defines the update rate of a group. The group point attributes described below will take precedence over OPC service configuration file keyword settings.

The point configuration fields that have special meaning for an OPC Group Definition tag are General 1, Table Driven 1, Table Driven 2, Table Driven 3, and External ID. These fields are configured on the Application and Point Reference pages of the point configuration record:

Field PNT Page Description

General 1

Application

Use the General 1 data field to configure application-specific properties for a particular point. The value can be free-form text up to a maximum of 20 characters.

Group Rollup Filter Definition

Use the General 1 data field to specify a group rollup filter definition. You can use facility attributes or group node attributes.

Use the General 3 data field to reference a Group Service (GRP) attribute if the filter definition exceeds 20 characters.

For more information about uses for these properties, see Filtering a Group Rollup.

OPCIS Points

Many OPC servers initialize tags to a sentinel value (for example, -9999.99) that does not represent a true tag value. Set the General 1 data field to a numeric value that should be ignored. When a tag with this value is received from the external OPC Server, it is marked as unreliable, but the value will be discarded and the previous value is retained.

For more information about OPC Group Definition tags, see OPCIS Groups.

SVCMON Points

For more information, see Validating the SVCMON.

Table Driven 1

Application

Use the Table Driven 1 data field to configure application-specific properties for a particular point. The table entry is from the TRS.CMT1 table.

OPCIS Points

The Table Driven 1 data field has special meaning for an OPC Group Definition tag. It can be used to indicate what to do with the value of an OPC tag with OPC Quality flags that indicate an error. That is, how is the value of the real-time record in the OPCIS updated when unreliable data is returned from an external OPC Server.

Select a value from the drop-down menu or click to select or configure an entry. Two default options are supported: store the value or ignore the value. The default behavior is to mark it as unreliable and save the value from the external OPC Server.

  • If set to OPCIS Store Unreliable Value (OPCBADSTR) and a value with a bad OPC quality is read from the OPC Server, the value will be stored. When the value is stored, the UNRELIABLE status bit is set and the timestamp is updated.
  • If set to OPCIS Ignore Unreliable Value (OPCBADIGNR) and a value with a bad OPC quality is read from the OPC Server, the value will be discarded and the previous value is retained. When the previous value is retained, the UNRELIABLE status bit is set and the timestamp is updated.

Normal point processing will occur to determine if the updated real-time record is sent to the VHS, and since either the status bits or the value have changed, the record will be sent to the VHS. However, if the UNRELIABLE status bit was previously set, then neither the value nor status bits will have changed and so no new record will be sent to the VHS.

For more information, see OPCIS Groups.

SVCMON Points

For more information, see Validating the SVCMON.

Table Driven 2

Application

Use the Table Driven 2 data field to configure application-specific properties for a particular point. The table entry is from the TRS.CMT2 table.

OPCIS Points

The Table Driven 2 data field has special meaning for an OPC Group Definition tag. It can be used to specify whether the OPC server is to retrieve data from the cache or the device. This applies to all synchronous communication. This attribute provides the functionality of the OPC_SYNC_IO configuration file keyword at the group level.

Select a value from the drop-down menu or click to select or configure an entry. Two default options are supported: sync data via the cache or sync data via the device.

  • If set to OPCIS Sync IO via Cache (OPCSYNCCCH), the OPCIS will sync IO via the cache
  • If set to OPCIS Sync IO via Device (OPCSYNCDEV), the OPCIS will sync IO via the device.

For more information, see OPCIS Groups.

Table Driven 3

Application

Use the Table Driven 3 data field to configure application-specific properties for a particular point. The entry is from the TRS.CMT3 table.

OPCIS Points

The Table Driven 3 data field has special meaning for an OPC Group Definition tag. It can be used to define the type of communication between the OPCIS and the OPC server. This attribute provides the functionality of the OPC_IO_TYPE configuration file keyword at the group level.

Select a value from the drop-down menu or click to select or configure an entry. Two default options are supported: asynchronous callbacks or synchronous IO.

  • If set to OPCIS Asynchronous IO (OPCIOASYNC), the OPCIS will use asynchronous callbacks, since asynchronous IO is not supported by the OPCIS.
  • If set to OPCIS Synchronous IO (OPCIOSYNC), the OPCIS will use synchronous IO.

For more information, see OPCIS Groups.

External ID

Point reference

The External ID property can be used to specify the server and machine name for the OPC group when linking points to an external OPC server. The format is: server_name=<server>; machine_name=<machine>

 

The External ID field has special meaning for an OPC Group Definition tag, see OPCIS Data Points and OPCIS Groups for more information.

The value of the OPC Group Definition tag indicates the OPC group update rate:

  • A value of 0 triggers suspension of updates to all tags in the group.
  • A value of 1 triggers the use of the update rate defined by the service’s configuration file keyword OPC_MAX_UPDATE. This is the default value.
  • All other values represent the update rate in milliseconds (recommended minimum rate is 1000 ms). If communications are synchronous, the rate is the data retrieval rate. If communications are asynchronous, the rate is the maximum rate at which the OPC server can push values to the OPCIS.

Note: Deleting an OPCIS group's SYOPCGDEF point causes that group to use the default group settings from the .cfg file.

Analog Output

SYOPCWQS

OPC Group Write Queue Sz

The value of the OPC Group Write Queue Sz point represents the current number of items in the OPC write queue, which queues requests to write values to the associated OPC server.

As with the OPC Group Definition point, the General 1 data field on the Application page of the point configuration record carries special meaning for this tag and defines information about the group. The General 1 data field is used to control the maximum write queue size of the OPC group to which the point is added.

The default value is 1000. Set the General 1 data field to another numeric value to change the size of the queue. Every change to the point will be logged in the OPCIS.

Analog Output

Group Status

The following UDCs provide system-level information. These points monitor statistics of an OPCIS Facility Group. The Facility of a tag is its group name.

Example

OPC30SEC

Initial Value

When adding OPCIS Group status points, one property to be aware of is the Initial Value property. This property determines if the tag has a value when the service starts. This is particularly important for a Group Definition tag (SYOPCGDEF), since this tag is used to specify the group update rate.

Note: The recommendation is to use an Initial Value type of Restore or Specified Value. Restore will persist the value from the last shutdown, or if no value is available it will use the value in the Value box. Specified Value will always use the value in the Value box.

Be aware that if you change the group update rate in runtime using a setpoint command and the Initial Value is Restore, the new rate will persist when the service is restarted. If you use Specified Value, the new rate will not persist. The update rate will be returned to the Specified Value when the service is restarted. To permanently change the update rate of a Control Definition Point that uses a Specified Value you must edit the Initial Value in the PNT.

It may be desirable to use a Specified Value with some Group status points.

Example

Setting the Group Active (SYOPCGACT) to 0 (Inactive) when the service starts.

UDC UDC Name Description Point Type

SYOPCCONN

OPC Group Connected

Indicates whether the OPC group connected or not.

Analog Input

SYOPCGACT

OPC Group Active

OPC Group Active. OPC group active (via health check or configuration change). 1=Active; 0=Inactive.

Digital Input

SYOPCGDBND

OPC Group Deadband

OPC group dead band in percent (via health check or configuration change).

Analog Input

SYOPCGICT

OPC Item Count

Number of items in the group.

Analog Input

SYOPCGIFL

OPC Item Fail Count

Number of items in the group that were rejected by the OPC server.

Analog Input

SYOPCGRATE

OPC Group Actual Rate

OPCIS Facility Group actual update rate in milliseconds (via health check or configuration change). Actual may differ from specified due to OPC server configuration.

Analog Input

SYOPCGTBS

OPC Group Time Bias

OPC Facility Group time zone bias in minutes (via health check or configuration change).

Analog Input

SYOPCGTIM

OPC Group Last Comm Time

Time group last communicated with OPC server (includes data and health check).

String Input

SYOPCGUCT

OPC Group Last Update Ct

Number of group values received in last update.

Analog Input

SYOPCHBAND

OPC Server Bandwidth

OPC server bandwidth (via health check).

Analog Input

SYOPCHBLD

OPC Server Build Number

OPC server build number (via health check).

Analog Input

SYOPCHCT

OPC Healthcheck Time

Time on OPC server when health check was performed.

String Input

SYOPCHST

OPC Server Start Time

Time OPC server was started up (via health check).

String Input

SYOPCHSTAT

OPC Server State

OPC server state (via health check). Enumeration table is OPCHSTAT.

Enum Input

SYOPCHUPT

OPC Health Last Upd Time

Last OPC time data was sent before health check performed (last update time).

String Input

SYOPCHVEND

OPC Server Vendor Info

OPC server vendor info (via health check).

String Input

SYOPCHVMAJ

OPC Server Version Major

OPC server major version (via health check).

Analog Input

SYOPCHVMIN

OPC Server Version Minor

OPC server minor version (via health check).

Analog Input

Back to top