01.06.2021, 17:04
(01.06.2021, 06:35)admin Wrote: The documentation states that for 8-byte registers it still uses float32. Use "Read test" to check if 4322 and 4326 can be read by reading only the first 4 bytes (float32). If not then the profile should use block read to read 8 bytes and then use only the first 4 bytes.
many thanks for your response!
Yes, that works so far but unfortunately I don't get any decimal places for certain values.
In the attachment I am sending you a comparison between a small value (12.188kWh) and a large value (3248.00 kWh).
Here I cannot understand why I no longer receive any decimal places. I'm currently using the following snippet of code for these two values
Code:
{ "bus_datatype": 14, "datatype": "float32", "read_swap": "bw","address": 4320, "type": "register", "units": "kWh","name": "Wirkenergie Bezug T1+T2 total"},
{ "bus_datatype": 14, "datatype": "float32", "read_swap": "bw","address": 4324, "type": "register", "units": "kWh","name": "Wirkenergie Lieferung T1+T2 total"},
do you have an idea here was the problem its lead?