LIBSUNSPEC  v0.1.6
A C++ library for the SunSpec protocol
MeterRegisterMapFloat Namespace Reference

Register description of the Meter specific registers. More...

Variables

struct {
   uint16_t   res = 0
 
   const uint16_t   reg = 40070 - 1
 
   const uint16_t   nb = 1
 
M21X_ID
 
struct {
   uint16_t   res = 0
 
   const uint16_t   reg = 40071 - 1
 
   const uint16_t   nb = 1
 
M21X_L
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40072 - 1
 
   const uint16_t   nb = 2
 
M21X_A
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40074 - 1
 
   const uint16_t   nb = 2
 
M21X_AphA
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40076 - 1
 
   const uint16_t   nb = 2
 
M21X_AphB
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40078 - 1
 
   const uint16_t   nb = 2
 
M21X_AphC
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40080 - 1
 
   const uint16_t   nb = 2
 
M21X_PhV
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40082 - 1
 
   const uint16_t   nb = 2
 
M21X_PhVphA
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40084 - 1
 
   const uint16_t   nb = 2
 
M21X_PhVphB
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40086 - 1
 
   const uint16_t   nb = 2
 
M21X_PhVphC
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40088 - 1
 
   const uint16_t   nb = 2
 
M21X_PPV
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40090 - 1
 
   const uint16_t   nb = 2
 
M21X_PPVphAB
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40092 - 1
 
   const uint16_t   nb = 2
 
M21X_PPVphBC
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40094 - 1
 
   const uint16_t   nb = 2
 
M21X_PPVphCA
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40096 - 1
 
   const uint16_t   nb = 2
 
M21X_Hz
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40098 - 1
 
   const uint16_t   nb = 2
 
M21X_W
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40100 - 1
 
   const uint16_t   nb = 2
 
M21X_WphA
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40102 - 1
 
   const uint16_t   nb = 2
 
M21X_WphB
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40104 - 1
 
   const uint16_t   nb = 2
 
M21X_WphC
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40106 - 1
 
   const uint16_t   nb = 2
 
M21X_VA
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40108 - 1
 
   const uint16_t   nb = 2
 
M21X_VAphA
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40110 - 1
 
   const uint16_t   nb = 2
 
M21X_VAphB
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40112 - 1
 
   const uint16_t   nb = 2
 
M21X_VAphC
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40114 - 1
 
   const uint16_t   nb = 2
 
M21X_VAR
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40116 - 1
 
   const uint16_t   nb = 2
 
M21X_VARphA
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40118 - 1
 
   const uint16_t   nb = 2
 
M21X_VARphB
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40120 - 1
 
   const uint16_t   nb = 2
 
M21X_VARphC
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40122 - 1
 
   const uint16_t   nb = 2
 
M21X_PF
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40124 - 1
 
   const uint16_t   nb = 2
 
M21X_PFphA
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40126 - 1
 
   const uint16_t   nb = 2
 
M21X_PFphB
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40128 - 1
 
   const uint16_t   nb = 2
 
M21X_PFphC
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40130 - 1
 
   const uint16_t   nb = 2
 
M21X_TotWhExp
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40132 - 1
 
   const uint16_t   nb = 2
 
M21X_TotWhExpPhA
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40134 - 1
 
   const uint16_t   nb = 2
 
M21X_TotWhExpPhB
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40136 - 1
 
   const uint16_t   nb = 2
 
M21X_TotWhExpPhC
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40138 - 1
 
   const uint16_t   nb = 2
 
M21X_TotWhImp
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40140 - 1
 
   const uint16_t   nb = 2
 
M21X_TotWhImpPhA
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40142 - 1
 
   const uint16_t   nb = 2
 
M21X_TotWhImpPhB
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40144 - 1
 
   const uint16_t   nb = 2
 
M21X_TotWhImpPhC
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40146 - 1
 
   const uint16_t   nb = 2
 
M21X_TotVAhExp
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40148 - 1
 
   const uint16_t   nb = 2
 
M21X_TotVAhExpPhA
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40150 - 1
 
   const uint16_t   nb = 2
 
M21X_TotVAhExpPhB
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40152 - 1
 
   const uint16_t   nb = 2
 
M21X_TotVAhExpPhC
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40154 - 1
 
   const uint16_t   nb = 2
 
M21X_TotVAhImp
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40156 - 1
 
   const uint16_t   nb = 2
 
M21X_TotVAhImpPhA
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40158 - 1
 
   const uint16_t   nb = 2
 
M21X_TotVAhImpPhB
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40160 - 1
 
   const uint16_t   nb = 2
 
M21X_TotVAhImpPhC
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40162 - 1
 
   const uint16_t   nb = 2
 
M21X_TotVArhImpQ1
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40164 - 1
 
   const uint16_t   nb = 2
 
M21X_TotVArhImpQ1phA
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40166 - 1
 
   const uint16_t   nb = 2
 
M21X_TotVArhImpQ1phB
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40168 - 1
 
   const uint16_t   nb = 2
 
M21X_TotVArhImpQ1phC
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40170 - 1
 
   const uint16_t   nb = 2
 
M21X_TotVArhImpQ2
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40172 - 1
 
   const uint16_t   nb = 2
 
M21X_TotVArhImpQ2phA
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40174 - 1
 
   const uint16_t   nb = 2
 
M21X_TotVArhImpQ2phB
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40176 - 1
 
   const uint16_t   nb = 2
 
M21X_TotVArhImpQ2phC
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40178 - 1
 
   const uint16_t   nb = 2
 
M21X_TotVArhExpQ3
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40180 - 1
 
   const uint16_t   nb = 2
 
M21X_TotVArhExpQ3phA
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40182 - 1
 
   const uint16_t   nb = 2
 
M21X_TotVArhExpQ3phB
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40184 - 1
 
   const uint16_t   nb = 2
 
M21X_TotVArhExpQ3phC
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40186 - 1
 
   const uint16_t   nb = 2
 
M21X_TotVArhExpQ4
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40188 - 1
 
   const uint16_t   nb = 2
 
M21X_TotVArhExpQ4phA
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40190 - 1
 
   const uint16_t   nb = 2
 
M21X_TotVArhExpQ4phB
 
struct {
   float   res = 0
 
   const uint16_t   reg = 40192 - 1
 
   const uint16_t   nb = 2
 
M21X_TotVArhExpQ4phC
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40194 - 1
 
   const uint16_t   nb = 2
 
M21X_Evt
 

Detailed Description

Register description of the Meter specific registers.

Variable Documentation

struct { ... } MeterRegisterMapFloat::M21X_A

AC total current [A]

struct { ... } MeterRegisterMapFloat::M21X_AphA

AC phase-A current [A]

struct { ... } MeterRegisterMapFloat::M21X_AphB

AC phase-B current [A]

struct { ... } MeterRegisterMapFloat::M21X_AphC

AC phase-C current [A]

struct { ... } MeterRegisterMapFloat::M21X_Evt

Events

struct { ... } MeterRegisterMapFloat::M21X_Hz

AC frequency [Hz]

struct { ... } MeterRegisterMapFloat::M21X_ID

Uniquely identifies this as a SunSpec Meter Modbus Map (float)

211: single phase 212: split phase 213: three phase

struct { ... } MeterRegisterMapFloat::M21X_L

Length of meter model block

Returns
124
struct { ... } MeterRegisterMapFloat::M21X_PF

Power factor [%]

struct { ... } MeterRegisterMapFloat::M21X_PFphA

Power factor phase-A [%]

struct { ... } MeterRegisterMapFloat::M21X_PFphB

Power factor phase-B [%]

struct { ... } MeterRegisterMapFloat::M21X_PFphC

Power factor phase-C [%]

struct { ... } MeterRegisterMapFloat::M21X_PhV

AC voltage average phase-to-neutral [V]

struct { ... } MeterRegisterMapFloat::M21X_PhVphA

AC voltage phase-A-to-neutral [V]

struct { ... } MeterRegisterMapFloat::M21X_PhVphB

AC voltage phase-B-to-neutral [V]

struct { ... } MeterRegisterMapFloat::M21X_PhVphC

AC voltage phase-C-to-neutral [V]

struct { ... } MeterRegisterMapFloat::M21X_PPV

AC voltage average phase-to-phase [V]

struct { ... } MeterRegisterMapFloat::M21X_PPVphAB

AC voltage phase-AB [V]

struct { ... } MeterRegisterMapFloat::M21X_PPVphBC

AC voltage phase-BC [V]

struct { ... } MeterRegisterMapFloat::M21X_PPVphCA

AC voltage phase-CA [V]

struct { ... } MeterRegisterMapFloat::M21X_TotVAhExp

Total apparent energy exported [VAh]

struct { ... } MeterRegisterMapFloat::M21X_TotVAhExpPhA

Total apparent energy exported phase-A [VAh]

struct { ... } MeterRegisterMapFloat::M21X_TotVAhExpPhB

Total apparent energy exported phase-B [VAh]

struct { ... } MeterRegisterMapFloat::M21X_TotVAhExpPhC

Total apparent energy exported phase-C [VAh]

struct { ... } MeterRegisterMapFloat::M21X_TotVAhImp

Total apparent energy imported [VAh]

struct { ... } MeterRegisterMapFloat::M21X_TotVAhImpPhA

Total apparent energy imported phase-A [VAh]

struct { ... } MeterRegisterMapFloat::M21X_TotVAhImpPhB

Total apparent energy imported phase-B [VAh]

struct { ... } MeterRegisterMapFloat::M21X_TotVAhImpPhC

Total apparent energy imported phase-C [VAh]

struct { ... } MeterRegisterMapFloat::M21X_TotVArhExpQ3

Total reactive energy exported Q3 [VArh]

Note
register not supported
struct { ... } MeterRegisterMapFloat::M21X_TotVArhExpQ3phA

Total reactive energy exported Q3 phase-A [VArh]

Note
register not supported
struct { ... } MeterRegisterMapFloat::M21X_TotVArhExpQ3phB

Total reactive energy exported Q3 phase-B [VArh]

Note
register not supported
struct { ... } MeterRegisterMapFloat::M21X_TotVArhExpQ3phC

Total reactive energy exported Q3 phase-C [VArh]

Note
register not supported
struct { ... } MeterRegisterMapFloat::M21X_TotVArhExpQ4

Total reactive energy exported Q4 [VArh]

Note
register not supported
struct { ... } MeterRegisterMapFloat::M21X_TotVArhExpQ4phA

Total reactive energy exported Q4 phase-A [VArh]

Note
register not supported
struct { ... } MeterRegisterMapFloat::M21X_TotVArhExpQ4phB

Total reactive energy exported Q4 phase-B [VArh]

Note
register not supported
struct { ... } MeterRegisterMapFloat::M21X_TotVArhExpQ4phC

Total reactive energy exported Q4 phase-C [VArh]

Note
register not supported
struct { ... } MeterRegisterMapFloat::M21X_TotVArhImpQ1

Total reactive energy imported Q1 [VArh]

Note
register not supported
struct { ... } MeterRegisterMapFloat::M21X_TotVArhImpQ1phA

Total reactive energy imported Q1 phase-A [VArh]

Note
register not supported
struct { ... } MeterRegisterMapFloat::M21X_TotVArhImpQ1phB

Total reactive energy imported Q1 phase-B [VArh]

Note
register not supported
struct { ... } MeterRegisterMapFloat::M21X_TotVArhImpQ1phC

Total reactive energy imported Q1 phase-C [VArh]

Note
register not supported
struct { ... } MeterRegisterMapFloat::M21X_TotVArhImpQ2

Total reactive energy imported Q2 [VArh]

Note
register not supported
struct { ... } MeterRegisterMapFloat::M21X_TotVArhImpQ2phA

Total reactive energy imported Q2 phase-A [VArh]

Note
register not supported
struct { ... } MeterRegisterMapFloat::M21X_TotVArhImpQ2phB

Total reactive energy imported Q2 phase-B [VArh]

Note
register not supported
struct { ... } MeterRegisterMapFloat::M21X_TotVArhImpQ2phC

Total reactive energy imported Q2 phase-C [VArh]

Note
register not supported
struct { ... } MeterRegisterMapFloat::M21X_TotWhExp

Total energy exported [Wh]

struct { ... } MeterRegisterMapFloat::M21X_TotWhExpPhA

Total energy exported phase-A [Wh]

struct { ... } MeterRegisterMapFloat::M21X_TotWhExpPhB

Total energy exported phase-B [Wh]

struct { ... } MeterRegisterMapFloat::M21X_TotWhExpPhC

Total energy exported phase-C [Wh]

struct { ... } MeterRegisterMapFloat::M21X_TotWhImp

Total energy imported [Wh]

struct { ... } MeterRegisterMapFloat::M21X_TotWhImpPhA

Total energy imported phase-A [Wh]

struct { ... } MeterRegisterMapFloat::M21X_TotWhImpPhB

Total energy imported phase-B [Wh]

struct { ... } MeterRegisterMapFloat::M21X_TotWhImpPhC

Total energy imported phase-C [Wh]

struct { ... } MeterRegisterMapFloat::M21X_VA

AC apparent power total [VA]

struct { ... } MeterRegisterMapFloat::M21X_VAphA

AC apparent power phase-A [VA]

struct { ... } MeterRegisterMapFloat::M21X_VAphB

AC apparent power phase-B [VA]

struct { ... } MeterRegisterMapFloat::M21X_VAphC

AC apparent power phase-C [VA]

struct { ... } MeterRegisterMapFloat::M21X_VAR

AC reactive power total [VAr]

struct { ... } MeterRegisterMapFloat::M21X_VARphA

AC reactive power phase-A [VAr]

struct { ... } MeterRegisterMapFloat::M21X_VARphB

AC reactive power phase-B [VAr]

struct { ... } MeterRegisterMapFloat::M21X_VARphC

AC reactive power phase-C [VAr]

struct { ... } MeterRegisterMapFloat::M21X_W

AC power total [W]

struct { ... } MeterRegisterMapFloat::M21X_WphA

AC power phase-A [W]

struct { ... } MeterRegisterMapFloat::M21X_WphB

AC power phase-B [W]

struct { ... } MeterRegisterMapFloat::M21X_WphC

AC power phase-C [W]