I suggest that you try using the F1 key and looking at the HTML help file. To answer your question, on the "Registers" display near the top right there is a "Clone" checkbox that reverses the byte order for floats and doubles. Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There are some manufacturers of PLC's that say they support the Modbus
protocol that use the swapped word arrangement for floats internally.
There is no defined standard within the Modbus documents about how a 32-bit
IEEE-754 floating point number is stored in a Modbus PLC.
So there is no consistency among manufacturers, other than that most that
deviate from what Modbus does, do word swaps.
This is what the "Clone" represents. The "Clone" selection means that this
handles the 32-bit floats like "Clone" PLC vendors would.
The format for 32-bit floating point that I used matches that used in an actual Modicon A984-131 processor as shown by its programming software, so this is what I call technically correct. I happen to own one of these processors and its programming software.
Last edit: Doug Lyons 2024-12-10
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am closing this "Bug" because it was more a "Question" that hopefully has been answered now. Please create another "Bug" report if there is anything remaining to be answered in your opinion. Thanks. Doug Lyons
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I suggest that you try using the F1 key and looking at the HTML help file. To answer your question, on the "Registers" display near the top right there is a "Clone" checkbox that reverses the byte order for floats and doubles. Thanks.
Why is it named 'Clone'?...
There are some manufacturers of PLC's that say they support the Modbus
protocol that use the swapped word arrangement for floats internally.
There is no defined standard within the Modbus documents about how a 32-bit
IEEE-754 floating point number is stored in a Modbus PLC.
So there is no consistency among manufacturers, other than that most that
deviate from what Modbus does, do word swaps.
This is what the "Clone" represents. The "Clone" selection means that this
handles the 32-bit floats like "Clone" PLC vendors would.
The format for 32-bit floating point that I used matches that used in an actual Modicon A984-131 processor as shown by its programming software, so this is what I call technically correct. I happen to own one of these processors and its programming software.
Last edit: Doug Lyons 2024-12-10
I am closing this "Bug" because it was more a "Question" that hopefully has been answered now. Please create another "Bug" report if there is anything remaining to be answered in your opinion. Thanks. Doug Lyons