modbus: tcp slave serial master

02 Sep 2011

Hi my name is Robert and I need to use modbus in mbed microcontroller (c++).

But I need tcp slave and serial master, libraries you provide to mbed doesn't support two instances.

I would my program uses tcp and serial because I need to establish comunications betweeen server (tcp) and Serial controller.

Thanks

16 Sep 2011

Hi Robert,

I have a similar need from the mbed (Ethernet/tcp slave / rs-485 slave). Care to collaborate on this?

I think reworking the FreeModbus port would be too much effort. It seems to be designed to be very small & efficient at the expense of flexibility. Plus we may be able to avoid the TX finished interrupt issue that the porter ran into altogether. libmodbus (GPL) might be a better starting point.

The original FreeModbus writer does offer a commercial, multiple instance code if you would rather go that route.

16 Feb 2014

Hi Guys,

I am looking for the same thing. I know its 2 years later, so I was wondering if one of you has written a library for ModBus RTU master, yet? Please let me know!

Cheers, Boris