node-modbus-serial icon indicating copy to clipboard operation
node-modbus-serial copied to clipboard

Connection timesout when connecting to multiple clients to modbus server in parallel over modbus tcpip connection

Open maitreyi-timesys opened this issue 2 years ago • 3 comments

I am using modbus-serial package to connect to EthernetPLC using TCPConnect() method. My program continuously reads and writes registers from PLC. I have 3 Clients in parallel which will connect to Ethernet PLC device. But when I connect 1, the other one gives connection timeout Error. when other one connects then Port not open error on previous Client is noticed.

Interestingly, when I connect my program with modbus-SIMULATOR exe, (https://sourceforge.net/projects/modrssim/) I can seemlessly connect multiple devices and run the same application, without getting any communication error.

maitreyi-timesys avatar Apr 20 '23 08:04 maitreyi-timesys

I have this issue too. I've been currently extracting data from 1-2 PLCs for the demo. I'm in a situation where my end product will be reading data from approximately 800 PLCs. I am extremely worried that when we get to that point, this method of extracting data might not hold up. I'm eagerly waiting for a response from the author of this repo

indroneelray avatar Apr 29 '23 16:04 indroneelray

@maitreyi-timesys did you manage to figure this out?

indroneelray avatar Aug 20 '23 05:08 indroneelray

No solution as yet.

On Sun, Aug 20, 2023, 10:41 Indroneel Ray @.***> wrote:

@maitreyi-timesys https://github.com/maitreyi-timesys did you manage to figure this out?

— Reply to this email directly, view it on GitHub https://github.com/yaacov/node-modbus-serial/issues/500#issuecomment-1685178531, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEYBGHUKTCB7ONBDYSA5GJDXWGL7TANCNFSM6AAAAAAXFFPQJQ . You are receiving this because you were mentioned.Message ID: @.***>

maitreyi-timesys avatar Aug 24 '23 12:08 maitreyi-timesys