mbserialslave is a modbus rtu slave object based on mbulib. the 4 major commands can be used with mbserialslave:
- write single register
- write multiple register
- read holding registers
- read input registers
This code has been tested on linux ( ubuntu and raspbian ).
An example made with lazarus is in the example directory.
A minimal implementation of this object can be found in the simplertuslave example.