Chapter 4 – Special Features
37
Configuring the Serial Port
The following commands can be used to configure the Gemini serial port and the
terminals used by Motion Planner and Pocket Motion Planner. Complete descrip-
tions of these commands can be found in the Gemini Programmer's Reference.
E
Enable Serial Communication
ECHO
Enable Communication Echo
BOT
Beginning of Transmission Characters
EOT
End of Transmission Characters
EOL
End of Line Terminating Characters
ERRBAD
Error Prompt
ERRLVL
Error Detection Level
ERROK
Good Prompt
•
The baud rate for the Gemini is set at 9600. Future releases of Gemini firmware will
offer additional baud rate choices. Check the Compumotor web site
(www.compumotor.com) for information on new software releases.
•
The Gemini serial port contains connections for both RS-232 and RS-485 communi-
cation. The Gemini drive will automatically switch between RS-232 and RS-485
mode depending on which connections in the port’s 9 pin D-connector are active.
See wiring diagrams.
•
Some RS-232 cables use hardware handshake signals that are used by the RS-485
pins. The RS-485 interface will automatically disable itself if this is detected. If this
occurs, you must reset the drive to re-enable the RS-485 interface.
RS-232 Communications
Pin Out for RS-232 Communication:
Pin Description
2
Rx (receive). Connect to Tx on your computer.
3
Tx (transmit). Connect to Rx on your computer.
5
GND (logic ground). Connect to GND on your computer
•
Maximum RS-232 cable length is 50 feet (15.25 meters)
•
To establish unique addresses for daisy-chained units, use the ADDR command.
Unit 0
Unit 1
Unit 2
Tx
Rx
GND
Daisy Chain to a Computer or Terminal
25-Pin COM Port:
9-Pin COM Port:
Serial Port Connection on PC
Pin 2 (Rx)
Pin 3 (Tx)
Pin 5 (GND)
Pin 2 (Tx)
Pin 3 (Rx)
Pin 7 (GND)
Rx
Tx
GND
Rx
Tx
GND
Rx
Tx
GND
Rx
Tx
GND
Rx
Tx
GND
RS-232 Daisy Chain Connections
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com