Specifications
© 2010 Cypress Solutions Complete Manual: CTM-15X Firmware 1.3.0
Open CTM (Revision D)
109
Command Reference
port n d p s f
Configures the modem’s serial port baud rate and data format.
After implementing this command it will be necessary to change the baud rate of the host application to
match the new configuration.
n = 1200 1200 Baud
n = 2400 2400 Baud
n = 4800 4800 Baud
n = 9600 9600 Baud
n = 19200 19200 Baud
n = 38400 38400 Baud
n = 57600 57600 Baud
n = 115200 115200 Baud (default)
d = 5,6,7 or 8 number of data bits (d=8, default)
p = n or N no parity (default)
p = e or E even parity
p = o or O odd parity
s = 1 or 2 number of stop bits (s=1, default)
f = 0 no flow control (default)
f = 1 software flow control
f = 2 hardware flow control
The current port setting can be queried by entering the port command without parameters.
Examples:
cmd port 115200 8 n 1 2 baud rate=115200bps, 8 data bits, no parity, 1 stop bit and hardware flow
control
cmd port returns the current port value
Note1: For MODBUS Serial Master Gateway there are 2 options only for the data bit configuration:
7 and 8 for ASCII Mode.
8 for RTU-over-UDP Mode.
Note 2: If the baud rate of the serial port is changed from the serial console using the port command, and
the baud rate of the host application is changed to match the new configuration after implementing this
command, then the serial console should still be able to accept commands. This functionality is only
available if the connection mode of the modem is mode = 1 or mode = 2 before issuing port.
A cmd save and a powercycle is required for this command to take effect.
return to list of commands
ppp