The following three point addresses can be used in conjunction with the Diagnostic check box on the Device tab of the Point Properties dialog box (in addition to the ones selected in the Enable Tracing section such as !OPC_TRACE_ALL ). 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 CIMPLICITY to call the Refresh method for all groups in the Proficy Driver 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 CIMPLICITY to abort the connection with the Proficy Driver Server then re-establish it. Important: Use of the $OPC_FORCE_DISCONNECT_NOW diagnostic is not recommended! Normally the Proficy Driver Server does not need it. Using this diagnostic can leave the Proficy Driver Server in a bad state. After using this diagnostic, it is likely that the Proficy Driver Server will not shut down properly once the project is stopped. |
About Proficy Driver Server. |