
Serial Server User’s Guide
Document #40179-120 Rev. A 1-5
Factory Default Settings
The TROY Serial Server is shipped with a default configuration that will work with the most common
serial-to-Ethernet and wireless connections. The default settings can be changed to suit specific
installation requirements via the ExtendView Utility, the embedded Web server, or via a Telnet connection
to the Serial Server’s internal console. The factory default settings can be easily restored at any time by
performing a cold reset (press and hold the pushbutton on the device for more than five seconds).
Port Parameters and MODBUS Settings
Parameter Description Settings
CHARACTER bits per character 7, 8 (default)
FLOW flow control NONE (default), Xon/Xoff, CTS/RTS
PARITY parity NONE (default), EVEN, ODD, MARK, or SPACE
SPEED baud rate (bits per second) 300, 600, 1200, 2400, 3600, 4800, 7200, 9600
(default), 14400, 19200, 38400, 57600, 76800,
115200 (console port default), 230400, 460800
STOP stop bits per character 1 (default), 2
MODE line mode (serial port protocol) 232 (default), 422, 485, 485HD, Disabled
ECABLE E-Cable mode (for TCP connections) Enable, Disable (default)
ECADDR E-Cable destination IP address (set by user)
ECONN E-Cable connection attempt time 20 seconds
ECPORT E-Cable destination IP port number 9100 (default), or set by user
MULTI multidrop protocol Host (default), MODBUS
MBTYPE MODBUS attached device type RTU slave (default)2, ASCII slave
MBINIT MODBUS initialization delay interval 100 – 3276 ms (default = 100 ms)
MBAUTOID MODBUS auto slave ID Enable (default)1, Disable
MBCHARTMO MODBUS character timeout interval 10 – 3000 ms (default = 100 ms)
MBMSGTMO MODBUS message timeout interval 10 – 3000 ms (default = 1000 ms)
(N/A) MODBUS/TCP Exception handling Enable, Disable (default)
Configuration Notes
1. The MODBUS/TCP protocol contains a “Unit ID” field to identify multiple MODBUS slave devices that are accessible at a single IP
address. When the MODBUS/TCP command contains a Unit ID, the MODBUS Gateway can pass the Unit ID to MODBUS serial devices,
which allows multiple serial devices to be linked with a MODBUS Gateway. When Auto Slave ID is enabled, a unit ID will be assigned
automatically. If the Auto Slave ID is disabled, a unit ID (any number between 1 and 247) must be manually assigned in the Slave ID
field.
2. When the MODBUS serial protocol is set to MODBUS/RTU, the Serial Server is ready to receive connection requests from
MODBUS/TCP master devices. Each message packet is determined by a character timeout. An incorrect character timeout may cause a
CRC (Cyclic Redundancy Check) checksum error. MODBUS ASCII slave mode functions the same as MODBUS/RTU slave mode,
except that the data format is MODBUS/ASCII.
3. The MODBUS/TCP Exception is in effect when the MODBUS Gateway connects a MODBUS/TCP Master with MODBUS serial slave
devices. When the MODBUS Gateway cannot get a response from MODBUS serial devices, the MODBUS serial protocol will not
respond to the master device. However, the TCP protocol has a longer waiting time, which could cause a network traffic problem for
MODBUS/TCP. For this reason, the MODBUS Gateway can automatically send a MODBUS exception code 16 to the MODBUS/TCP
master device when there is not response from the MODBUS serial slave devices, thereby making overall network communication much
more efficient.