frangoteam / FUXA

Web-based Process Visualization (SCADA/HMI/Dashboard) software
https://frangoteam.org
MIT License
2.74k stars 805 forks source link

[Modbus RTU] _readMemory error! Error: Data length error, expected 7 got 1[BUG] #1181

Open dtx1234 opened 5 months ago

dtx1234 commented 5 months ago

Describe the bug A clear and concise description of what the bug is. Communication with the Modbus Poll connection is normal and communication with FUXA appears: _readMemory error!Error :DataLength error,expected 7got 1. To Reproduce Steps to reproduce the behavior:

  1. Go to '...' 1

  2. Click on '....'

  3. Scroll down to '....'

  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Environment

rvbatista commented 4 months ago

This error is modbus-serial telling you that receives less information that it was expecting. How you have setup the communication in Fuxa and in Modbus poll? Are you able to provide wireshark data captures for both cases?

unocelli commented 4 months ago

Hi, I added the possibility to set a frame delay that maybe can help (in master branch), would be nice to try and give me feedback