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

Floating-point values are incorrectly read using the finslib_multiple_memory_area_read() function #20

Open
SupermanOfHeiLinPu opened this issue Feb 28, 2024 · 1 comment · May be fixed by #24
Assignees
Labels

Comments

@SupermanOfHeiLinPu
Copy link

In CX-ProgrammerI set the data of W000 address to 1.23.
1

But values are incorrectly read using the finslib_multiple_memory_area_read() function.
2

I debug finslib_multiple_memory_area_read() I find that the following assignment is incorrect
3

@lammertb
Copy link
Owner

It seems like the bytes are interpreted in the wrong sequence. I will do some testing here. If this goes wrong, there might also be problems with the double floating point values.

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