-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ModbusRTU result: E4, Mem: XXXXX RTU Timeout #356
Comments
Probably this will help #298. |
Hi @emelianov. Thank you for the direction. Haven't had time to thoroughly test it yet, but already gotten some promising results. When I get to proceed, I will provide more details. |
Unfortunately, the problem persists when RTU is connected over a Serial.
qModMaster has the following configs: Modbus Mode: TCP
Modbus Mode: RTU
output from the TCP monitor:
output from the RTU monitor:
output from debug_serial:
|
An external monitor (a Uno with the Rx of a rtu monitor:
external monitor:
bridge monitor:
|
Hi!
I'm testing the following code as a link between https://sourceforge.net/projects/qmodmaster/ and https://pypi.org/project/pyModSlave/. As hardware, I'm using a NodeMCU 1.0 and a USB/TTL converter.
When I make any request from the TCP client, I receive an RTU Timeout.
I've already tried using hard and soft Serial, baudrates of 9600 and 19200 and powering the board with a regulated supply @ 5 V-1 A.
Both programs work normally when I communicate them directly with the ESP, either reading from the RTU slave or receiving reads from the TCP client.
When I use ESP as a bridge, the RTU slave receives the request normally and responds correctly in < 5 ms, but the timeout occurs.
Please, any hint on what to test or what else to investigate? Thanks.
The text was updated successfully, but these errors were encountered: