-
Notifications
You must be signed in to change notification settings - Fork 70
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
endian swap feature #2
Comments
I second this request. That would be an awesome feature. Maybe a new parameter option where you can switch both bitorder and word order. For instance for 32bit you could have ABCD as the default for MSB-LSB AND MSW-LSW and then do CDAB for MSB-LSB and LSW-MSW and so on. |
Hi, |
Hi You can use this program to simulate a modbus RTU/TCP slave https://sourceforge.net/projects/modrssim2 You can then create all the register "types" by entering the raw values in and reading them back |
Hi, |
Amazing epsilonrt. Thanks for the new update. I have physical slaves available at the office so I can verify tomorrow. |
I'm happy to confirm that the new endian swap feature is working as expected for me. Testresult LSW-MSW (Carlo Gavazzi EM24):
Testresult MSW-LSW (Circutor CVM-1D):
Thanks again:-) |
Fine ! Thanks. I merge the big-endian branch in develop branch, this improvement will be integrated into the master branch when I will spread the next version. Thank you for your participation. |
Try this program to help you debug https://sourceforge.net/projects/modrssim2
|
Can I suggest you add the feature to swap the byte order for 32 bit reads (either long ints or floats)
This comes up more often than you'd expect in the field :-(
The text was updated successfully, but these errors were encountered: