Modbus slave RTU/ASCII
- July 14, 2019
- 4 replies
- 4255 views
Hi
I want to implement Modbus slave RTU/ASCII protocol on STM32F103VET6. I have read many forums about Modbus and examined several libraries, but unfortunately I couldn’t do it and I’m disappointed.
In this blog: https://blog.naver.com/eziya76/220970378890 (this is Korean, I translated it with google) there is a full explanation of running Modbus, but when I test with ‘Modbus poll’, the error ‘Time out’ occurs. The library is here: https://github.com/cwalter-at/freemodbus
Maybe I’m missing something or doing something wrong. I uploaded my project and schematic of my discovery board. I’m using Usart1 (PA9 , PA10 pins) for Modbus and connect it with Usb cable to PC.
After all, if you have a good manual or know a better library, please let me know.
I really appreciate if someone helps me. This is very important for me.
Thank you very much…
