Modbus RTU master

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
pruwait
New user
Posts: 2
Joined: 18 Nov 2019, 17:14

Modbus RTU master

#1 Post by pruwait » 18 Nov 2019, 17:20

I neeed to connect ESP with some Arduino. I want to use wire and ModbusRTU. Arduino is slave and ESP is master. How can I get it with EspEasy? I see "ESPEasy/src/Modbus_RTU.ino" but I cant understand how can I use it.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Modbus RTU master

#2 Post by TD-er » 18 Nov 2019, 23:19

There are currently 2 plugins using Modbus RTU.
AcuEnergy DC24x
SenseAir (S8/S11)

There is no "generic" plugin for Modbus, so you need to write one yourself.
I think the AcuEnergy is the simplest one to get started with.

pruwait
New user
Posts: 2
Joined: 18 Nov 2019, 17:14

Re: Modbus RTU master

#3 Post by pruwait » 19 Nov 2019, 09:00

Thanks for your answer. I will try to understand how working plugins P085, P052, P078 and make new one.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Modbus RTU master

#4 Post by TD-er » 19 Nov 2019, 09:44

P078 is the Eastron plugin and although it uses Modbus RTU, its library we used has still its own implementation (which eventually will be merged into the same)

Post Reply

Who is online

Users browsing this forum: No registered users and 18 guests