Option 1. Set up OPC Connection Trace Logging

Trace logging monitors the state of a connection between an OPC client(s) and the CIMPLICITY OPC Server.

Information is captured using the Trace Logging diagnostic tool. This tool is used to log information about an OPC conversation between a client and a server to a text file.

Set the Trace file path.

Select what will be logged.

Trace and interpret connections

  1. Set the Trace File Path

  1. Do one of the following.

1

Click File>Set Trace Filename on the OPC Server window menu bar.

2

Click the Set Trace File Path button.

3

Press Alt+F+T on the keyboard.

An Open dialog box opens.

  1. Select the Trace file location.

  2. Enter the name of the trace text file, e.g. CimOPCServerTrace.txt.

  3. Click Open.

Result: The Open dialog box closes; logging will be written to the selected file in the selected location.

  1. Select what will be logged

  1. Click File on the CIMPLICITY OPC Server menu bar.

  2. Check one of the following.

Option

Log

Off

Turn off trace logging

Connect

Server activation events and client connect / disconnect events.

Group

OPC group creation, deletion, and modification events.

Item

OPC item transaction events (read, write, subscription updates).

All

All events: connect, group, item.

  1. Trace and interpret connections

Option 1.1

Use the Trace Log.

Option 1.2

Interpret the Trace Log.

 Note: Messages written to the trace log assume that the user is familiar with the OPC Foundation Data Access specification.

More information

1. OPC Server diagnostic tools.