Modbus Master - possible with Industruino ?
I'm trying for several days to get the SimpleModbusMaster V2.2 library working - till now no luck. Changed the Serial to Serial1 (needed for Leonardo configuration). Has anyone tried this before - to use the Industruino as a ModBus Master - to communicate with Modbus slaves ?
Jan
Hi all,
I just uploaded a sample sketch demostrating the use of the Industruino's RS485 tranceiver, even for reading and writing
https://github.com/gianlucastella1/industruino-rs485
Thanks,
Did the trick - "standard" SimpleModbusMaster & SimpleModbusSlave works fine. Don't forget to change the Serial port to Serial1.
Dear Jan,
The direction of communication on the half duplex RS485 transceiver has to be toggled via pin D9. (can be seen on our pinout diagrams in the tech centre: https://industruino.com/page/indio-diagram )
We will upload a Modbus Master and Modbus Slave library in the coming days.
Best Regards,
Loic
Hello. Has there been a modbus library released yet? Or Jan Faber, would you mind uploading the sketch you got working?
I tried adapting the simplemodbusmaster's example sketch to pull data from an industrial controller but haven't been able to get it to work.
Any help is appreciated... Thank you!
Your answer
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
Keep Informed
About This Forum
This community is for professionals and enthusiasts of our products and services.
Read GuidelinesQuestion tools
Stats
Asked: 7/10/15, 10:04 AM |
Seen: 4514 times |
Last updated: 12/3/15, 12:35 PM |
Very nice example and documentation Gianluca! Thank you.