99
Commands
$PASHQ,SNR,[x]
The associated query command is $PASHQ,SNR,x where x is the optional port
where the reply will be sent.
$PASHR,SNR
The response message is in the form $PASHR,SNR,str*cc, where str is DBH or
AMP, and cc is the checksum.
SPD: Serial Port Baud Rate
$PASHS,SPD,c1,d1
This command allows you to set the baud rate for the G12 serial ports, where c1 is
port A or B and d1 is a code number between 0 and 9 corresponding to the baud
rate codes listed in Table 4.41. The default baud rate is 9600. You can view the
baud rate settings for both ports by entering the $PASHQ,PAR command and
checking the SPDA and SPDB fields.
Example: Set baud rate of port A to 19200:
$PASHS,SPD,A,6
Example: Set baud rate of port B to 4800:
$PASHS,SPD,B,4
If you change the baud rate of the G12 serial port, be sure that the serial port of the device to which
the G12 port is connected is set to the same baud rate.
Table 4.41. G12 Baud Rate Codes
Code
Baud
Rate
Code
Baud
Rate
0 300 5 9600
1 600 6 19200
2 1200 7 38400
3 2400 8 56800
4 4800 9 115200
G12RevD.book Page 99 Tuesday, April 2, 2002 4:33 PM