goodwe icon indicating copy to clipboard operation
goodwe copied to clipboard

Question: how it intepret constants like `30103` in the code base?

Open haarts opened this issue 1 year ago • 0 comments

Hi all,

I'm reading the code and I'm trying to map the constants I'm seeing there to the Modbus documentation I found.

The code defines stuff like this: Voltage("vpv1", 30103, "PV1 Voltage", Kind.PV). I can't correlate the 30103 with what I read in the Modbus documentation. The 3 must be the command. But the remainder isn't clear. From the docs I figured 0500 is the address of the vpv1 value. How does one relate to the other?

haarts avatar Jul 18 '24 17:07 haarts