57
Commands
Table 4.7 describes a typical CRR response message.
CTS: Handshaking Protocol
$PASHS,CTS,[c1,]s1
This command allows you to enable or disable the CTS/RTS (Clear To Send/
Request To Send) handshaking protocol on one or both of the serial ports. The c1
parameter is the optional port designator (A or B); s1 is ON or OFF. If a port is not
designated, the command applies the change to the port from which the command
was sent. Handshaking is enabled on both ports by default. Handshaking requires
five connections for each serial port (
CTS, TXD, GND, RTS, RXD). When handshaking
is disabled, only three connections are required (
TXD, GND, RXD). See Figure 1.2
on page 6 for the J301 pin configuration.
Example: Disable handshaking on port A:
$PASHS,CTS,A,OFF
$PASHQ,CTS,[c1]
This command allows you to query the current CTS setting, where c1 is the optional
port designator for the output of the response. If a port is not specified, the receiver
sends the response to the current port.
$PASHR,CTS
The response message is output in the format:
$PASHR,CTS,c1,s1*hh
Table 4.7. Typical CRR Message
Item Description
$PASHR Header
CRR Message identifier
E Indicates that channels 1-12 are set in edge correlator mode
*37 Checksum
DEFAULT SETTING
CRR—E
G12RevD.book Page 57 Tuesday, April 2, 2002 4:33 PM