Page 18 of 27 MCM-Inst-1.10
Select the baud rate with DIP switch positions 7 and 8 (see below). The change will take effect imme-
diately. Other baud rates may be factory configured or programmed using the
BaudRate
register.
Table 3: Modbus Baud Rate DIP Switch
Baud Rate
DIP Switch 7
DIP Switch 8
9,600 (default)
0, Off
0, Off
19,200
0, Off
1, On
38,400
1, On
0, Off
115,200
1, On
1, On
The RS-485 settings default to no parity, 8 data bits, and one stop bit (N81). Other parity and stop bit
settings may be configured with factory options or with the Modbus
ParityMode
register.
Select the RS-485 termination and biasing using the lower DIP switches. Set DIP switch 1 to the
ON
position to enable 120
Ω
termination. Set DIP switches 2 and 3 to the
ON
position enables RS-485
biasing with 1.2 k
Ω
ohm resistors.
3.8 Modbus TCP (Ethernet) Communication
This section only applies to MCM-MBT models (MCMxx-y-
MBT
-zzzz) with Modbus TCP using the
Ethernet physical link. These models may have DIP switches present, but if so, they will be inactive.
The MCM-MBT uses a Lantronix XPort-IAP-05 with Modbus (part number XP1001000M-05R) to
provide the Modbus TCP Ethernet interface. The XPort includes the following features:
●
Modbus bridge from Modbus TCP (port 502) to Modbus RTU
●
DHCP for automatic IP address assignment
●
Telnet interface (port 9999) for advanced configuration
●
Automatic discovery of devices (port 30718) with DeviceInstaller
●
Supports ARP, ICMP (ping), and TFTP
Some XPort models support other features, such as a web interface, but this model does not.
The directions in this guide should be sufficient for most installations, but for more advanced configu-
ration or additional details, see the following Lantronix links.
●
https://www.lantronix.com/products/xport/
●
https://ltrxdev.atlassian.net/wiki/spaces/LTRXTS/pages/106070471
●
DeviceInstaller user’s guide:
http://www.lantronix.com/wp-content/uploads/pdf/
●
XPort user’s guide:
https://cdn.lantronix.com/wp-content/uploads/pdf/XPort_UG.pdf
●
XPort datasheet:
https://cdn.lantronix.com/wp-content/uploads/pdf/XPort_DS.pdf
●
https://cdn.lantronix.com/wp-content/uploads/pdf/Modbus_Proto-
3.8.1 Ethernet Cables
The MCM-MBT communicates at 10 Mbit or 100 Mbit and will work with CAT5, CAT5e, CAT6, or better
Ethernet cables with RJ45 plugs. Generally, the Ethernet cable will connect to an Ethernet switch,
which then connects to the local area network (LAN). It may also be connected directly to another
device, although a crossover cable may be required.
●
The MCM-MBT Ethernet output is electrically isolated from dangerous voltages.
●
If possible, route and secure the Ethernet cable away from line voltages.
●
If you run the Ethernet cable near line voltage wiring, use cables with a 300 V or 600 V rating (not
less than the service voltage).
●
If the output cable runs near bare conductors, it must be double insulated or jacketed.