Modbus RTU out of range
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi everyone
I am trying to read some values out of a sensor connected to the PC over a RS485 serial adapter.
Currently I am trying to read the values with the modbus communication in matlab (MODBUS Communication - MATLAB & Simulink - MathWorks Schweiz). I am able to read the values in the first holdingregisters, but as soon as I go higher than 30, there's an error message telling me the address and count are out of range.
Smaller addresses are read correctly and I also checked that with a python script I am able to read the higher adresses. Did anyone have that same problem? Or does anyone know of a better library I could use? As I see it, the modbus communication I am using must have some limit on which addresses can be read...
Thanks, in advance!
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Modbus Communication에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!