Libmodbus on raspberry pi
Posted: Fri Dec 26, 2014 5:05 pm
by anyypsilon
Hi,
did any try the libmodbus library on the raspberry pi.
I wrote a slave program, this woks. I just have some problems to work as a master.
Has anyone a living example code?
Re: Libmodbus on raspberry pi
Posted: Fri Dec 26, 2014 5:49 pm
by danjperron
I use it a lot to control some build-in I/O remote . Works like a charm in master mode if you are using an USB to RS-485 adapter.
This is the post.
http://www.raspberrypi.org/forums/viewt ... 12#p538112
This is the github. You will have some code on my github. Check 'configPIC.c'. I use libmodbus on it.
https://github.com/danjperron/PIC_MULTI_10_IO
I have some spare time today, I will translate my french document.
https://docs.google.com/document/d/1JIR ... sp=sharing
Daniel
Re: Libmodbus on raspberry pi
Posted: Fri Dec 26, 2014 6:26 pm
by iinnovations