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

Possible to get raw data from slave? #186

Open
mbtgsm opened this issue Mar 1, 2023 · 1 comment
Open

Possible to get raw data from slave? #186

mbtgsm opened this issue Mar 1, 2023 · 1 comment

Comments

@mbtgsm
Copy link

mbtgsm commented Mar 1, 2023

Is it possible to get the raw data from the slaves?

If I read the holding register right now, I only get the value, but I would like to se the entire response with slave id, function code, CRC, etc.

ModbusMaster version

v2.0.1

Arduino IDE version

v2.0.4

Arduino Hardware

Arduino Mega

@nikito7
Copy link

nikito7 commented Oct 2, 2023

You need do an array and convert values back to hex

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

2 participants