Setting up "Modbus TCP" or "Modbus RTU over TCP" in ZumLink
To setup serial ports in a ZumLink Network there are 4 basic options for doing this.
- Terminal Server Relay:
- A COM-to-COM communications link.
- Limited to 20 radios.
- All Endpoints will receive the exact same data from the Gateway radio
- Set this up in the COM port pages on both the Gateway and Endpoint Zum Devices.
- MUST use the default TCP ports or else it won’t work.
- The default is 5041 for COM#1 and 5042 for COM#2
- Set the BAUD and Parity as need for device connected to it.
- These setting do not need to be the same across the radios.
- Set COM Handler as Terminal Server for both the Gateway and Endpoint COM ports.
- MUST use the default TCP ports or else it won’t work.
- Then setup Terminal Server Relay tab on the Endpoint devices ONLY. Do NOT setup on the Gateway device:
- Select how you want to mirror/link the COM ports between the Endpoint and Gateway from the Drop down menu.
- Enter the IP address of the Gateway/Master radio.
- Plug in a Serial cable to the COM port configured on the Gateway.
- Plug in a serial cable to the COM port configured on the Endpoint.
- Send Serial data to/from either system.
- Sending Modbus TCP traffic:
- Setup the COM port on the EndPoint device.
- Set the Handler to Modbus Passthru
- Set the BAUD and Parity as needed for device connected to it.
- Configure the Modbus TCP port in the Modbus tab.
- Default TCP port is 502.
- If the TCP port is changed, then you must reboot for the change to take affect.
- To connect to the Modbus Device:
- From a host connected to the Gateway device via Ethernet cable.
- Open a TCP Socket connection to IP address of the Endpoint Radio on TCP port 502 or whatever is configured in previous step.
- From a host connected to the Gateway device via Ethernet cable.
- Send Serial data over TCP Socket connection.
- Should also receive serial data as well.
- Should also receive serial data as well.
- Setup the COM port on the EndPoint device.
- Sending Modbus RTU over TCP traffic #1:
- Setup the COM port on the EndPoint device.
- Set the Handler to Modbus Passthru
- Set the BAUD and Parity as needed for device connected to it.
- Configure the Modbus RTU over TCP port in the Modbus tab.
- Default TCP port is 5021.
- If the TCP port is changed, then you must reboot for the change to take affect.
- To connect to the Modbus device:
- From a host connected to the Gateway device via Ethernet cable.
- Open a TCP Socket connection to IP address of the Endpoint Radio on TCP port 5021 or whatever is configured in previous step.
- From a host connected to the Gateway device via Ethernet cable.
- Send Serial data over TCP Socket connection.
- Should also receive serial data as well.
- Should also receive serial data as well.
- Setup the COM port on the EndPoint device.
- Sending Modbus RTU over TCP traffic #2:
- Setup the COM port on the EndPoint device.
- Set the Handler to Terminal Server
- Set the BAUD and Parity as needed for device connected to it.
- Set the TCP port as needed.
- The default is 5041 for COM#1 and 5042 for COM#2
- If the TCP port is changed, then you must reboot for the change to take affect.
- To connect to the Modbus device:
- From a host connected to the Gateway device via Ethernet cable.
- Open a TCP Socket connection to IP address of the Endpoint Radio on TCP port 5041 or whatever is configured in previous step.
- From a host connected to the Gateway device via Ethernet cable.
- Send Serial data over TCP Socket connection.
- Should also receive serial data as well.
- Should also receive serial data as well.
- Setup the COM port on the EndPoint device.
- Sending Generic Serial data:
- Any of the above options will work.
- Recommend using Modbus RTU over TCP traffic #2 in this setup.
- NOTE:
- Multiple TCP/IP Connections using Modbus RTU over TCP traffic #2 is not recommended.
NOTE: Modbus RTU over TCP Step #1 is more reliable of the 2 options.
Comments
0 comments
Please sign in to leave a comment.