I have several Grundfos pumps wired to a Spacelynk and I want to create a profile to monitor and control them.
I want to use the registers with the address 00101 (page 18), 00357 and 00258 (page 24), but i can't figure out how to write the profile for these registers.
Can you please help me?
Hi
Start from using RTU Read test. Select holding registers, slave id and address. You may need to subtract -1 from register address so try both ways. If this works then let me know and will make example of profile.
BR
(28.10.2019, 08:25)Daniel. Wrote: Hi
Start from using RTU Read test. Select holding registers, slave id and address. You may need to subtract -1 from register address so try both ways. If this works then let me know and will make example of profile.
BR
Hello,
Sorry for replying so late, the pumps are in a remote location and I have lost contact with them.
I have attached a screenshot with the correct reading settings for pump pressure (register 301 in documentation). You were right, I needed to subtract 1.
Do not use float16 datatype directly. It is standard KNX type which only several ModBus devices actually use. In most cases values are encoded using fixed point notation. You need to use uint16 for datatype field, float16 or float32 (better precision) for bus_datatype and set value_multiplier according to the manual for each register when needed.
Sorry, I was not clear, I did the test on register 300, because it is a value that I can see on the screen and know that is read correctly. I do not know how to write the profile for registers with the adress 00101 (page 18), 00357 and 00258 (page 24). Can you please help me with these tipes of registers? BR
Yes, what you are saying is true for registers similar to 300 and 301.
Register 101 is a different type of register, each byte has to be maped and controlled separately.
Registers 357 is VolumeHI and register 358 is VolumeLO together they have to form a value, and I have no ideea how to do that...
I do not want to waste your time, but I can not find any documentation on how the profile should look...
I have attached my profile. The last line shouldn't look like that, but I have no idea how to "separate" the register into 16 separate bits. Please can you help me with that?