OPC Client Diagnostic Points

The following three point addresses can be used in conjunction with the Diagnostic checkbox on the Device tab of the Point Properties dialog box. The point ID can be anything that makes sense. The point address should be the values provided below, and the Diagnostic checkbox must be checked. These points may be configured for each CIMPLICITY device configured.

$OPC_SERVER_STATUS

Read Only

Must be configured as SINT or USINT

Will be one of the following values:

 

 

OPC_STATUS_RUNNING

OPC_STATUS_FAILED

OPC_STATUS_NOCONFIG

OPC_STATUS_SUSPENDED

OPC_STATUS_TEST

= 1

= 2

= 3

= 4

= 5

$OPC_FORCE_REFRESH_NOW

Read / Write

Must be configured as BOOL

Writing a non-zero value to this diagnostic point instructs the OPC Client to call the Refresh method for all groups in the OPC server. This instructs the server to send all point values (changed or not).

The value displayed will:

Not reflect the written value

Always display zero.

An entry is written to the status log indicating that the command was received.

$OPC_FORCE_DISCONNECT_NOW

Read / Write

Must be configured as BOOL

Writing a non-zero value to this diagnostic point instructs the OPC Client to abort the connection with the OPC server then re-establish it.

Important: Use of this diagnostic is not recommended!

Well-behaved OPC Servers simply do not need it. Using this diagnostic can leave the OPC Server in a bad state. After using this diagnostic, it is likely that the OPC server will not shut down properly once the project is stopped.

More information

About OPC Servers

About OPC Client.