Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dtx1234 opened this issue May 8, 2024 · 2 comments

Comments

@dtx1234
Copy link

dtx1234 commented May 8, 2024

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

  • FUXA version: 1.1.15-1376
  • Node.js version: 14.17.4
  • npm version: 6.14.14
  • Platform/OS:Windows
  • Browser:
@rvbatista
Copy link
Contributor

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants