PVI-12.5-OUTD Modbus communication
Hello,
I am trying to communicate with a PVI-12.5-OUTD inverter using Modbus communication.
I have the PVI-RS485-MODBUS converter and I am able to read the modbus address of the inverter by reading register 103 (103-1) and the answer from the inverter is correct.
It is the same for all Unsinged Int values.
However, I am not able to correctly read FLOAT values.
For example, to get the energy, I read 2 registers from address 134 (134-1) and I get : [56099, 16121] which is not a valid FLOAT (-45949660371615.74).
For registers 148 (POWER), 150 (GRID FREQUENCY) and 164 (Inverter Temperature), it answers [38, 0] which is strange too.
What am I missing ?
I am trying to communicate with a PVI-12.5-OUTD inverter using Modbus communication.
I have the PVI-RS485-MODBUS converter and I am able to read the modbus address of the inverter by reading register 103 (103-1) and the answer from the inverter is correct.
It is the same for all Unsinged Int values.
However, I am not able to correctly read FLOAT values.
For example, to get the energy, I read 2 registers from address 134 (134-1) and I get : [56099, 16121] which is not a valid FLOAT (-45949660371615.74).
For registers 148 (POWER), 150 (GRID FREQUENCY) and 164 (Inverter Temperature), it answers [38, 0] which is strange too.
What am I missing ?
Voted best answer
Answers
The issue was that I didn't configured the inverter...
And yes the word order is Little also !
Thank you !
by mkr Rank: 2475 on 2/18/2021 12:08:32 PM | Like (1) | Report
If you swap the energy registers you would get 0.488, is that a reasonable value?
by Dieter Henkel
How does your inverter break down the 32Bit Floating point value into the 2 Modbus registers? How do you convert the 2 registers back into a float value? Are you using the Freelance METOR function block?
by alexandre.julien Rank: 3774 on 2/19/2021 1:57:06 AM | Like (0) | Report
It has been solved, the inverter was not properly configured, that's why.
Add new comment