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

ModbusTCP Connection keep open or not?

Open cattale93 opened this issue 4 years ago • 1 comments

Hello,

We are employing the modbus-serial library but we have some doubts:

  • If we perform a reading once per day is it better to close and reopen the connection each time? If yes why?
  • If we keep a connection instantiated and opened but we do not read/write data can cause some problem? Consider that we do not set the timeout in the option parameter.
  • Our concern is: if we let the connection open could it be automatically closed?
  • In addition, does the opened connection generate traffic on the PLC and on the network (even if not used)?

Thank you all for help.

cattale93 avatar Jul 23 '21 13:07 cattale93

I have the same questions 😅

timothycuenat-lam avatar Jan 26 '22 13:01 timothycuenat-lam