03-03-2022 01:24 AM
i want to decode value from modbus to float LSFR what can i do
Solved! Go to Solution.
03-03-2022 01:44 AM
need to convert unsigned quad to float least significant register format
03-03-2022 01:48 AM
Your post is fully unrelated to this thread (except for using the verb "decode"). Start a new thread instead.
03-03-2022 02:20 AM
Hi Rushi,
as a new member you should learn not to post the same question into several (and mostly unrelated old) threads!
Please explain all those terms in your questions: "unsigned quad", "LSFR", "least significant register format".
Please provide examples for input data and expected output result on the desired conversion…
03-03-2022 03:36 AM - edited 03-03-2022 03:40 AM
You're probably both replying to spam.
This could be a bot trying to get enough credit to do real damage.
Not entirely sure...
@Rushi119, post what you have. There are dozens of ways to do modbus. The source of the data in important for the solution.
03-04-2022 01:32 AM
Sir I'm using elmeasure energy meter with RS485 communication . but value I'm getting in register is different than the value on meter . when I'm reading meter in modscan using least significant register first format then value I'm getting and value on meter is same .so i need to convert register value (i.e. in unsigned quad) to least significant register first .
03-04-2022 03:24 AM
03-04-2022 03:43 AM
IN MANUAL THIER IS A HOLDING REGISTER 03 AND ADDRESS REGISTER IS 157 IM USING THAT REGISTER . THE VALUE IN REGISTER IS CORRECT I NEED TO CONVERT IT INOT LEAST SIGNIFICANT REGISTER FIRST FORMAT .
03-04-2022 05:59 AM
Hi Rushi,
@Rushi119 wrote:
IN MANUAL THIER IS …
No need to cry! (Is your keyboard broken?)
Why do you read 74 values when you need just 2 or 4 items?
What does the manual say about scaling of the register values?
03-04-2022 06:28 AM
Maybe you need to show the manual to us.
But normal Modbus float conversion: