Instruction manual

ControlWave Micro Instruction Manual (CI-ControlWave Micro)
5.4 WINDIAG Diagnostic Utility
WINDIAG is a software-based diagnostic tool you use to test the
performance of I/O modules, CPU memory, communication ports, and
other system components. .
WINDIAG is a PC-based program, so the Micro must be attached to and
communicating with a PC running WINDIAG. Set configuration switch
SW2-8 OFF (closed) on the CPU module to enable the diagnostic
routines.
Establish communication between the Micro (with/without an
application loaded) and the PC with a local or network port under the
following conditions:
Turn CPU module switch SW2-8 OFF to run the WINDIAG
program. Setting this switch off prevents the boot project from
running and places the Micro in diagnostic mode.
Use a null modem cable to connect RS-232 ports between the Micro
and the PC; use an RS-485 cable (see Section 2.4.4) to connect the
RS-485 ports of the Micro and the PC.
Reserve the port running a diagnostic test for exclusive use; you
cannot use that port for any other purpose during testing.
Connect any Micro communication port to the PC provided their
port speeds match. Most PCs have a COM1 port (typically RS-232
and defaulted to 9600 bps operation).
Configure the Micro communication port to be tested using
WINDIAG for 9600 baud, 8-bits, no parity, 1 stop bit, and
BSAP/ControlWave Designer protocol operation. Communication
port COM1 is only forced to 9600 bps operation when you have set
switch SW2-3 on the CPU module to OFF.
Table 5-5. COM Port Defaults for Diagnostics
Port Module Default Configuation
COM1 CPU RS-232: 115.2 kbd using IP PPP protocol
To run diagnostics, set RS-232 to 9600 baud by setting CPU
switches SW2-3 and SW2-8 OFF.
COM2 CPU RS-232: 9600 baud, 8 bits, no parity, 1 stop bit, BSAP or
ControlWave Designer protocol.
COM3 CPU RS-485: 9600 baud, 8 bits, no parity, 1 stop bit, BSAP or
ControlWave Designer protocol.
COM4 ECOM Types 1 or
2
RS-232: 9600 baud, 8 bits, no parity, 1 stop bit, BSAP or
ControlWave Designer protocol.
COM5 ECOM Type 1 RS-485: 9600 baud, 8 bits, no parity, 1 stop bit, BSAP or
ControlWave Designer protocol.
ECOM Type 2 RS-232: 9600 baud, 8 bits, no parity, 1 stop bit, BSAP or
ControlWave Designer protocol.
COM6 ECOM Type 1 Not applicable
5-16 Service & Troubleshooting Revised May-2011