Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years ago.
Any code for Modbus master?
Is there any implementation of Modbus master? because I found https://developer.mbed.org/users/cam/code/Modbus/ but only work as slave.
2 Answers
9 years ago.
You can try FreeModbus - http://sourceforge.net/projects/freemodbus.berlios/files/?source=navbar
thank for reply. you can see this link in a implementation on mbed about freemodbus https://developer.mbed.org/users/cam/code/Modbus/ but the implementation only works like slave if you check state machine you will see it. But my goal mbed works like master I mean mbed will send the request and will wait to reponse.
posted by 13 Dec 2015It's not difficult to modify Freemodbus to handle master functionality.
You can also go for https://code.google.com/p/simple-modbus/ , which provides limited master functionality out of the box.
posted by 13 Dec 2015
Are you trying MODBUS over TCP/IP or MODBUS over RS-485?
posted by Neel Shah 13 Dec 2015Hello. A simple gift for you. Just tips... Complete rest by yourself..
...and main
This is for MODBUS-RS485 i.e. RTU :)
posted by Kamil M 21 Dec 2015can u please help me for modbus slave?
posted by somesh burkule 03 Apr 2018