Modbus universal

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Smotek7
Normal user
Posts: 165
Joined: 01 Aug 2020, 16:18
Location: SK

Modbus universal

#1 Post by Smotek7 » 20 Jul 2024, 18:58

Hi,
a year ago the idea was to create a Modbus universal plugin.
I was looking for some info, but I couldn't find it.
What is the current status?

The thought occurred to me whether it wouldn't be easier not to make it completely universal. But take some existing one and add devices and registries to it.
For example SDMxxx. Devices are selected there and registers are changed accordingly.
Basically, it's a controlled addition of Modbus devices to the list.
What do you think about it?

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

Re: Modbus universal

#2 Post by TD-er » 20 Jul 2024, 20:06

The SDM/Eastron plugin is already using the new idea I have for managing the shared modbus among several plugins/tasks.

What this Eastron plugin does is it is scheduling a list of registers (and modbus addresses) to query and then process this list plus store the result on the appropriate task output.
This approach has as big advantage that you're not waiting for a reply but just periodically check if there is a reply.

However this right now only does work when performing lots of reads.
When you also want to write inbetween, you need to make sure this is put to the front of the list and maybe also claim a time slot where no other calls are being made inbetween.

So I want to implement this "modbus manager" first before I can make such a generic plugin (or simply add modbus commands to be called from rules)

Smotek7
Normal user
Posts: 165
Joined: 01 Aug 2020, 16:18
Location: SK

Re: Modbus universal

#3 Post by Smotek7 » 20 Jul 2024, 20:39

Oh yeah
in other words, you work on it after small steps.
Thank you for the info.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 0 guests