On 8/13/26 1:22 PM, Luca Toniolo wrote:
I can send PR to make `hm2_modbus` more portable

There is a PR in the pipeline that does away with the absolute path message.

The old mesa_modbus driver is very rigid and completely inflexible. It cannot have multiple devices on the same bus. It does not support endian swaps or different sized types, nor can it perform modbus device initialization or have different speed devices on the same bus.

All these problems, and a lot more, have been solved with the hm2_modbus driver. The old driver has been superseded for (more than) 12 months now.


However, from my point of view I don't really see a benefit of `hm2_modbus`
over the old solution yet. It works for me, but I don't see a feature
that would make me prefer it over the old driver.
Does that mean we need to support the old driver ad infinitum because your use case has no advantage?

For the developers, the old driver is presenting structural problems in code organization and exposure. Removing it is the only real option. We have a proper replacement, hm2_modbus, that can do it all and better.


There is also one thing I don't like about the new version: the
`mbccbs` parameter requires an absolute path to the MBCCB file. The
current documentation explicitly says:
Will be fixed shortly.

--
Greetings Bertho

(disclaimers are disclaimed)



_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to