You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Problem of reading and writing regs more then 255! #43
I have 350 regs in my project, but if I want to read regs from 255 and higher - arduino freezes, and doesn't recieve any anser messages (for example, with errors or other). But if I try to read reg higher 350, I get answer with error "ILLEGAL DATA ADDRESS". How can I solve this problem?
I am also having the same problem. I'm trying to figure it out by looking at the source code. did you solve it?
I have 350 regs in my project, but if I want to read regs from 255 and higher - arduino freezes, and doesn't recieve any anser messages (for example, with errors or other). But if I try to read reg higher 350, I get answer with error "ILLEGAL DATA ADDRESS". How can I solve this problem?
Activity
atakankan commentedon Feb 15, 2022
I am also having the same problem. I'm trying to figure it out by looking at the source code. did you solve it?
maks-davletchin commentedon Feb 16, 2022
File SimpleModbusSlave.cpp, line 119, change "unsigned char index;" to "unsigned int index;"