How to Use a Modbus TCP Gateway
Edge supports Modbus TCP for scenarios where installing a Modbus cable to energy meters isn't feasible but Ethernet is available. The recommended gateway is the Planet MG-110, which connects to Modbus RTU energy meters and interfaces with Edge via Modbus TCP.
Step 1: Install the MG-110
- Position the Planet MG-110 near the RTU energy meter
- Power using the included 12VDC adapter
- Connect via Ethernet on the same network as Edge
- Use the included DB9 terminal block adapter for meter connection
- Connect output 4 (d-) as Modbus A and output 3 (d+) as Modbus B with 120Ω termination resistor
Step 2: Configure the MG-110
-
Ensure your computer shares the 192.168.0.0 subnet (MG-110 defaults to static IP 192.168.0.100)
-
Access the configuration page by entering 192.168.0.100 in a browser
-
Login with credentials: admin/admin
-
Navigate to Modbus gateway > Serial > port 1 and configure:
- Mode: RTU slave
- Interface: rs485-2wire
- Baud Rate: match your energy meter
-
Optionally adjust Network parameters (DHCP/Static IP) in the Network tab
-
For Planet MG-110 specifically, modify:
- Modbus gateway > Modbus config > id mapping: Enable Auto Device Routing
- Modbus gateway > Modbus config > Parameters: Enable TCP Exception
-
Click Apply, then Save and Restart (approximately one minute)
Step 3: Connect Edge to the Modbus Gateway
- Login to Edge via EdgeManager and add a new energy meter
- Open the meter's settings and set Protocol to "ModbusTcp"
- Enter the gateway's IP address in the URL field (e.g., 192.168.0.100, 192.168.1.200, or lwip.lan)
- Configure the model and address to match your energy meter
- Check logs and notifications for connection status
Related Articles
Updated 3 minutes ago
