Applies To:
  • CitectSCADA 1.00 1.01 1.10 1.11 1.20 2.00 2.01

Summary:
The DebugStr parameter (which enables the debug mode on a protocol) does not enable the debug modes. 

Solution:
CIT has confirmed this to be a problem in Citect for Windows. This problem has been fixed in version 5.0.

To enable the debug modes, you must goto the kernel and enter the command from there. You can also enable the protocol debug modes by using the Cicode function KerCmd(). You should call this function from your startup Cicode command to enable the debug commands that are required. If you call this function from the startup Cicode command, then any protocol activity occurring before this time will not be logged, this would include initialising the units.

To use KerCmd to enable debug mode on port1 use the following:

KerCmd("main", "Debug port1 all");

KerCmd has two arguments, the first is the kernel window to send the command to, and the second is the data to send. KerCmd should allow you to execute any command in the debug kernel from Cicode.

 

Keywords:
 

Attachments