Hello guys!
I'm working on an arduino project, I want send data to single register on arduino and view it on lcd. At first I want to connect with arduino by modbus. I use SimpleModbusSlave.h and Modbus Poll (Modbus Poll Quick start) . I want to connect by UART and data send by modbus RTU.
My problem is that I can not communicate with arduino by Modbus Poll , it shows "illegal data".
I know this implementation does not fully comply with the Modbus specifications.
How I can send this data to arduino using function 06?
SimpleModbusSlave.cpp (9.32 KB)
SimpleModbusSlave.h (2.62 KB)