Home  >  Support  >  Support Forum  >  How do I configure the WR21 as a Modbus Gateway?
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

How do I configure the WR21 as a Modbus Gateway?

0 votes
Configuration of the WR21 as a Modbus Gateway: I have a slave RS-232 device connected to the modem and a Modbus TCP master trying to poll the slave through the modem's LAN port (and later over the cellular interface). What are the correct settings at the Modbus 0 and Modbus Slaves headings in the Legacy Protocols section of the modem configuration?
asked Aug 11, 2013 in Modbus and Industrial Automation by John Rex New to the Community (1 point)
Hello,
I have similar problem.
Is it now work to you?
If yes, can you write please what are the settings you set?

Please log in or register to answer this question.

1 Answer

0 votes
The following settings work well for me:

Interfaces: Serial: SerialPort 0:
Enable, set Baud Rate, Data Bits and Parity to match the connected serial device. Set Flow Control to NONE.

Legacy Protocols: MODBUS Gateway: MODBUS 0:
Enable, Async Port = 0, Async Mode = RS232, Duplex Mode = Half, Operation Mode = Act as Master, Idle Gap = 20 ms, Fix Slave Addr = 0, Adjust Slave Addr = 0

In the IP Port Table: Port 502, 1 Socket, TCP Mode
answered 3 days ago by John Rex New to the Community (1 point)
Contact a Digi expert and get started today! CONTACT US
...