SNP Special Notes

Log controller information.

Enable protocol level debugging.

Disable protocol level debugging.

Log Controller Information

When a CIMPLICITY project first establishes communication with a Series 90 controller, it prints out the Series 90 controller's model, SNP timer values, the internal data transfer size and the number of elements for each memory type available in CIMPLICITY software. This information appears in the <PORT>.out file in the project's log directory, where <PORT> is the name of the port configured for SNP communications. For example, if SNP is configured to run on COM1, the output file will be COM01.out.

Enable Protocol Level Debugging

In addition to this information, the SNP communications enabler supports the ability to dynamically enable/disable the logging of protocol level errors as they occur. This information is logged in the Status Log file. By default, the logging of protocol level errors is disabled. When difficulties are encountered in communicating with a device, it may be useful to enable the protocol level debugging. To do this, create the <PORT>.debug file in the project's \log directory, where <PORT> is the name of the port configured for SNP communications.

To create the file, select Command Prompt... from the Workbench Tools menu, then type the following commands to create the file:

cd .\log
copy nul <PORT>.debug

where <PORT> is the name of the port configured for SNP communications. For example, if SNP is configured to run on COM1, the file name will be COM01.debug.

The debugging begins immediately. You do not need to restart the CIMPLICITY project.

Disable Protocol Level Debugging

To turn off the logging of protocol level information, remove the COM01.debug file from the project's \log directory.

To remove the file, select Command Prompt... from your project's Tools menu, then type the following commands to create the file:

cd .\log
del <PORT>.debug

where <PORT> is the name of the port configured for SNP communications.

More information

SNP performance notes.