EasyManua.ls Logo

Galil DMC-4040 - Page 58

Galil DMC-4040
284 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RS232 - Main Port {P1} DATATERM
1 No Connect 6 No Connect
2 Transmit Data - output 7 Clear To Send - input
3 Receive Data - input 8 Request To Send - output
4 No Connect 9 No connect
5 Ground
RS232 - Auxiliary Port {P2} DATASET
1 No Connect 6 No Connect
2 Receive Data - input 7 Request To Send - output
3 Transmit Data - output 8 Clear To Send - input
4 No Connect 9 No Connect (Can be connected to 5V with APWR jumper)
5 Ground
Configuration
Configure your PC for 8-bit data, one start-bit, one stop-bit, full duplex and no parity. The baud rate for the RS232
communication can be selected by setting the proper switch configuration on the front panel according to the table
below.
Baud Rate Selection
SWITCH SETTINGS
19.2 38.4 BAUD RATE
ON ON 9600
ON OFF 19200
OFF ON 38400
OFF OFF 115200
Handshaking
The RS232 main port is set for hardware handshaking. Hardware Handshaking uses the RTS and CTS lines. The
CTS line will go high whenever the DMC-40x0 is not ready to receive additional characters. The RTS line will
inhibit the DMC-40x0 from sending additional characters. Note, the RTS line goes high for inhibit.
The auxiliary port of the DMC-40x0 can be configured either as a general port or for the daisy-chain. When
configured as a general port, the port can be commanded to send ASCII messages to another DMC-40x0 controller
or to a display terminal or panel.
CC Command: (Configure Communication) at port 2. The command is in the format of (See CC in the Command
Reference for more information):
CC m,n,r,p
where ‘m’ sets the baud rate, ‘n’ sets for either handshake or non-handshake mode, ‘r’ sets for general
port or the auxiliary port, and ‘p’ turns echo on or off.
m - Baud Rate – 9600,19200,38400,115200
n - Handshake - 0=No; 1=Yes
r - Mode - 0=Disabled; 1=enabled
p - Echo - 0=Off; 1=On; Valid only if r=0
NOTE: for the handshake of the auxiliary port, the roles for the RTS and CTS lines are reversed.
Chapter 4 Software Tools and Communication 49 DMC-40x0 User Manual

Table of Contents

Related product manuals