Posts: 16
Threads: 2
Joined: Sep 2024
Reputation:
0
25.03.2025, 14:31
(This post was last modified: 27.03.2025, 07:41 by Omega Technology.)
hi, I have a problem regarding the modbus, I have a LM with 3 rs-485 ports and on all 3 I have some timeout problems and rarely also crc errors, I manage everything via script, I have already tried to add delay between readings of the registers of the same devices and delay between readings of the devices themselves, I tried to make a log to see the error this is the most common situation ,
* string: [02][04][1A][1F][00][02][47][26]
Waiting for a confirmation...
<04><00><00><81>ERROR Operation timed out: select
so randomly I have this situation ( <04><00><00><81>ERROR Operation timed out: select ) in multiple random slave.
best regards, Omega Technology.
Posts: 8065
Threads: 43
Joined: Jun 2015
Reputation:
469
Do you have GND connected between LM and Modbus devices?
Posts: 8065
Threads: 43
Joined: Jun 2015
Reputation:
469
LM has GND connection next to RS485 A/B. Some Modbus devices have 0V connection. If yours don't you can use DC power supply input negative pole / GND.
Posts: 8065
Threads: 43
Joined: Jun 2015
Reputation:
469
Provide documentation for your meters.
Posts: 8065
Threads: 43
Joined: Jun 2015
Reputation:
469
Your device doesn't have a GND connection. You can try adding a termination resistors on both line ends. Also check that LM power supply AC connection is correct (L/N are not swapped).
What line topology is used?
Posts: 8065
Threads: 43
Joined: Jun 2015
Reputation:
469
You can try using lower baud rate if possible. And check LM power supply connection as suggested earlier.
Posts: 8065
Threads: 43
Joined: Jun 2015
Reputation:
469
Check that AC input of LM power supply is wired correctly. Swapped L/N can cause communication issues.
Posts: 8065
Threads: 43
Joined: Jun 2015
Reputation:
469
Do you have a single script for the whole communication or multiple scripts? Only one script can access the serial port. This is why using mapper/profiles is the preferred method.
Posts: 4928
Threads: 28
Joined: Aug 2017
Reputation:
225
------------------------------
Ctrl+F5
Posts: 4928
Threads: 28
Joined: Aug 2017
Reputation:
225
Use profile for reading and proxy for writing but then you can just use profile.
This helps:
https://forum.logicmachine.net/showthread.php?tid=5911
------------------------------
Ctrl+F5