modbus2mqtt icon indicating copy to clipboard operation
modbus2mqtt copied to clipboard

modbus over tcp

Open oedemis opened this issue 9 years ago • 4 comments

Can i also poll the slaves via Modbus TCP ?

In the code there is no option

oedemis avatar Feb 14 '16 01:02 oedemis

Not currently implemented.

However, the modbus-tk library which is used for all Modbus communication does support Modbus TCP master, so it should be easy to add.

Note that pyserial can connect via TCP, but that's not the same as Modbus TCP; it's for accessing remote serial ports (e.g. via remserial)

owagner avatar Feb 15 '16 09:02 owagner

I've added experimental support for Modbus TCP in v0.5. Untested, as I have no Modbus TCP devices.

owagner avatar Feb 15 '16 10:02 owagner

Did you have a chance to test this?

owagner avatar May 01 '16 11:05 owagner

No at this moment! Anyway I suggest you to download ad use https://sourceforge.net/projects/modbuspal/ It's a great simulator, with AUTOLEARN function, support multiple Slave ID and random function to assing random data to any register! Let me know it you find it useful for your test! Andrea

2016-05-01 13:04 GMT+02:00 Oliver Wagner [email protected]:

Did you have a chance to test this?

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/owagner/modbus2mqtt/issues/3#issuecomment-216034932

gomez100 avatar May 03 '16 09:05 gomez100