Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Modbus TCP Slave with 3 modules

Modbus TCP Slave with 3 modules 10 months 3 weeks ago #11944

  • michael.schalck
  • michael.schalck's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 1
  • Karma: 0
Hi :)

Im trying to read data from a modbus TCP slave. But i can only managed to get 2 modules to work... The 3 gives an "Status Unknown" And it never tries to read the data in this address range on the slave.
Any idea of how i can setup more than 2 modbus modules?
Attachments:
The administrator has disabled public write access.

Modbus TCP Slave with 3 modules 10 months 3 weeks ago #11948

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3170
  • Thank you received: 497
  • Karma: 133
Hi Michael,

There is no limitation in the number of modules. Have you configured the module correctly with ChanDi? The name indicates that it handles Do and then you have to use WriteSingleCoil or WriteMultipleCoils with ChanDo.

/Claes
Last Edit: 10 months 3 weeks ago by claes.
The administrator has disabled public write access.

Modbus TCP Slave with 3 modules 10 months 1 week ago #11957

  • michael.schalck
  • michael.schalck's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
  • Thank you received: 1
  • Karma: 0
It looks like im getting StatusUnknown when ever i add the 3rd module...
Im trying to read modbus data from a RP2040 running Micropython via TCP...
But im not sure if is could be som timing issue and the RP2040 replies to slow.
-- UPDATE --
I decided to switch back to MQTT for communication with smaller MCUs..
Then i have a much more stable communication over wifi.
And then i have a bit that i toggle to supervise if the node is alive :)
Last Edit: 10 months 1 week ago by michael.schalck.
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 7.868 seconds