
42
6K Hardware Installation Guide
Resolving Serial Communication Problems
General Notes
Power up your computer or terminal BEFORE you power up the 6K.
Make sure the serial interface is connected as instructed on page 28. Shield the cable to earth ground at
one end only. The maximum RS-232 cable length is 50 feet (15.25 meters).
RS-232: Handshaking must be disabled. Most software packages allow you to do this. You can also
disable handshaking by jumpering some terminals on the computer’s/ terminal’s serial port: connect RTS
to CTS (usually pins 4 and 5) and connect DSR to DTR (usually pins 6 and 20).
RS-485: Make sure the internal DIP switches are configured as instructed on page 5.
Test the Interface
1.
Power up the computer or terminal and launch the terminal emulator.
2.
Power up the 6K. A power-up message should be displayed, followed by a prompt (>).
3.
Type “TREV” and press the ENTER key. (The TREV command reports the software revision.) The
screen should now look as follows (if not, see Problem/Remedy table below).
*PARKER HANNIFIN 6K MOTION CONTROLLER
>TREV
*TREV92-016740-01-5.0 6K
Problem
Remedy (based on the possible causes)
No Response
COM port not enabled for 6000 language communication.
If RS-232 connected to “RS-232” connector : issue “
PORT1
” and “
DRPCHKØ
” commands.
If RS-232 connected to “RS-232/485” connector: issue “
PORT2
” and “
DRPCHKØ
” commands.
If RS-485 connected to “RS-232/485” connector: issue “
PORT2
” and “
DRPCHKØ
” commands.
Serial communication may be disabled; enable with the
E1
command.
RS-232: Echo may be disabled; enable with the
ECHO1
command.
If you are using an RS-232 connection between the host computer and the master 6K connected to multiple
6Ks in an RS-485 multi-drop, make sure the master 6K has these settings executed in the order given (you
should place these settings in your power-up
STARTP
program):
PORT1
(select RS-232 port, COM1, for configuration)
ECHO3
(echo to both COM ports)
PORT2
(select RS-232/485 port, COM2, for configuration)
ECHO2
(echo to the other COM port, COM1)
Faulty wiring. See instructions on page 28. RS-485: verify internal DIP switch settings on page 5. Also check
for shorts or opens.
Is the cable or computer/terminal bad? Here’s a test:
1.
Disconnect the serial cable from the 6K end only.
2.
Connect the cable’s Rx and Tx lines together (this echoes the characters back to the host).
3. Issue
the
TREV
command. If nothing happens, the cable or computer/terminal may be faulty.
The controller may be executing a program. Issue the
!K
command or the
<ctrl>K
command to kill the
program.
Garbled Characters
Verify setup: 9600 baud (range is 9600-1200), 8 data bits, 1 stop bit, no parity; RS-232: Full duplex; RS-
485: Half duplex (verify internal DIP switch settings on page 5).
RS-485: Transmission line not properly terminated. See page 5 for internal DIP switch settings. See page
28for connections and calculating termination resistors (if not using the internal resistors via internal DIP
switches).
Faulty wiring. See instructions on page 28. RS-485: verify internal DIP switch settings on page 5. Also check
for shorts or opens.
Double Characters
Your terminal emulator is set to half-duplex; set it to full-duplex.
www.comoso.com