Specifications
CONFIG Commands - 1
CONFIG BAUD
Statement
SYNTAX: CONFIG BAUD n,baud rate, mode, parity [,com]
PURPOSE: To change the serial port parameters.
REMARKS: The power–up default for COM1 is:
19,200 baud
8 data bits and 2 stop bits
no parity
The power–up default for COM2 is:
19,200 baud
8 data bits and 1 stop bit
no parity
RS-232
All these parameters are programmable. Once programmed, the serial parameters will remain in
place even when the program stops. A reset or another power–up will cause the default values to be
reinstalled.
The parameter n is the COM port number. Legal value is 1.
The baud rate parameter is a number from 0 to 7 which correspond to the baud rates below:
0 150 4 2400
1 300 5 4800
2 600 6 9600
3 1200 7 19,200
The mode parameter determines the data word length, whether parity is checked, and the number of
stop bits.
0 7 data, no parity, 1 stop 4 8 data, no parity, 1 stop
1 7 data, no parity, 2 stop 5 8 data, no parity, 2 stop
2 7 data, parity, 1 stop 6 8 data, parity, 1 stop
3 7 data, parity, 2 stop 7 8 data, parity, 2 stop
The parity parameter determines the type of parity. Specifying a “0” is even parity and specifying
“1” is odd parity. If the mode parameter is set for no parity, then enter a “0”.
com is an optional parameter and is valid only for COM2. It determines if this port is RS-232, RS-
422, or RS-485. When in RS-485 mode, the output is automatically turn on when printing and turn
off when it is finished. The transmitter is turned off within one character time after the last character
is sent.