port n r d p s f

Configures the baud rate and data format of the specified serial port.

n = 1configure Primary DB9 port
n = 2configure Secondary DB9 port
n = 3configure RS485 port
r = 12001200 Baud
r = 24002400 Baud
r = 48004800 Baud
r = 96009600 Baud
r = 1920019200 Baud
r = 384008400 Baud
r = 5760057600 Baud
r = 115200115200 Baud (default)
d = 5,6,7 or 8number of data bits (default 8)
p = n or Nno parity (default)
p = e or Eeven parity
p = o or Oodd parity
s = 1 or 2number of stop bits (default 1)
f = 0no flow control (default)
f = 1software flow control
f = 2hardware flow control

Notes:


Examples:

  1. configure primary serial port with baud rate=115200bps, 8 data bits, no parity, 1 stop bit and hardware flow control :
    cmd port 1 115200 8 n 1 2

See also: Serial Port Settings

Last modified 7 years ago Last modified on 12-12-26 03:47:36 PM