LIBSUNSPEC  v0.1.6
A C++ library for the SunSpec protocol
MeterRegisterMapIntSf 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
 
M20X_ID
 
struct {
   uint16_t   res = 0
 
   const uint16_t   reg = 40071 - 1
 
   const uint16_t   nb = 1
 
M20X_L
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40072 - 1
 
   const uint16_t   nb = 1
 
M20X_A
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40073 - 1
 
   const uint16_t   nb = 1
 
M20X_AphA
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40074 - 1
 
   const uint16_t   nb = 1
 
M20X_AphB
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40075 - 1
 
   const uint16_t   nb = 1
 
M20X_AphC
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40076 - 1
 
   const uint16_t   nb = 1
 
M20X_A_SF
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40077 - 1
 
   const uint16_t   nb = 1
 
M20X_PhV
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40078 - 1
 
   const uint16_t   nb = 1
 
M20X_PhVphA
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40079 - 1
 
   const uint16_t   nb = 1
 
M20X_PhVphB
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40080 - 1
 
   const uint16_t   nb = 1
 
M20X_PhVphC
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40081 - 1
 
   const uint16_t   nb = 1
 
M20X_PPV
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40082 - 1
 
   const uint16_t   nb = 1
 
M20X_PPVphAB
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40083 - 1
 
   const uint16_t   nb = 1
 
M20X_PPVphBC
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40084 - 1
 
   const uint16_t   nb = 1
 
M20X_PPVphCA
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40085 - 1
 
   const uint16_t   nb = 1
 
M20X_V_SF
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40086 - 1
 
   const uint16_t   nb = 1
 
M20X_Hz
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40087 - 1
 
   const uint16_t   nb = 1
 
M20X_Hz_SF
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40088 - 1
 
   const uint16_t   nb = 1
 
M20X_W
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40089 - 1
 
   const uint16_t   nb = 1
 
M20X_WphA
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40090 - 1
 
   const uint16_t   nb = 1
 
M20X_WphB
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40091 - 1
 
   const uint16_t   nb = 1
 
M20X_WphC
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40092 - 1
 
   const uint16_t   nb = 1
 
M20X_W_SF
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40093 - 1
 
   const uint16_t   nb = 1
 
M20X_VA
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40094 - 1
 
   const uint16_t   nb = 1
 
M20X_VAphA
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40095 - 1
 
   const uint16_t   nb = 1
 
M20X_VAphB
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40096 - 1
 
   const uint16_t   nb = 1
 
M20X_VAphC
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40097 - 1
 
   const uint16_t   nb = 1
 
M20X_VA_SF
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40098 - 1
 
   const uint16_t   nb = 1
 
M20X_VAR
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40099 - 1
 
   const uint16_t   nb = 1
 
M20X_VARphA
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40100 - 1
 
   const uint16_t   nb = 1
 
M20X_VARphB
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40101 - 1
 
   const uint16_t   nb = 1
 
M20X_VARphC
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40102 - 1
 
   const uint16_t   nb = 1
 
M20X_VAR_SF
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40103 - 1
 
   const uint16_t   nb = 1
 
M20X_PF
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40104 - 1
 
   const uint16_t   nb = 1
 
M20X_PFphA
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40105 - 1
 
   const uint16_t   nb = 1
 
M20X_PFphB
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40106 - 1
 
   const uint16_t   nb = 1
 
M20X_PFphC
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40107 - 1
 
   const uint16_t   nb = 1
 
M20X_PF_SF
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40108 - 1
 
   const uint16_t   nb = 2
 
M20X_TotWhExp
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40110 - 1
 
   const uint16_t   nb = 2
 
M20X_TotWhExpPhA
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40112 - 1
 
   const uint16_t   nb = 2
 
M20X_TotWhExpPhB
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40114 - 1
 
   const uint16_t   nb = 2
 
M20X_TotWhExpPhC
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40116 - 1
 
   const uint16_t   nb = 2
 
M20X_TotWhImp
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40118 - 1
 
   const uint16_t   nb = 2
 
M20X_TotWhImpPhA
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40120 - 1
 
   const uint16_t   nb = 2
 
M20X_TotWhImpPhB
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40122 - 1
 
   const uint16_t   nb = 2
 
M20X_TotWhImpPhC
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40124 - 1
 
   const uint16_t   nb = 1
 
M20X_TotWh_SF
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40125 - 1
 
   const uint16_t   nb = 2
 
M20X_TotVAhExp
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40127 - 1
 
   const uint16_t   nb = 2
 
M20X_TotVAhExpPhA
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40129 - 1
 
   const uint16_t   nb = 2
 
M20X_TotVAhExpPhB
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40131 - 1
 
   const uint16_t   nb = 2
 
M20X_TotVAhExpPhC
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40133 - 1
 
   const uint16_t   nb = 2
 
M20X_TotVAhImp
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40135 - 1
 
   const uint16_t   nb = 2
 
M20X_TotVAhImpPhA
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40137 - 1
 
   const uint16_t   nb = 2
 
M20X_TotVAhImpPhB
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40139 - 1
 
   const uint16_t   nb = 2
 
M20X_TotVAhImpPhC
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40141 - 1
 
   const uint16_t   nb = 1
 
M20X_TotVAh_SF
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40142 - 1
 
   const uint16_t   nb = 2
 
M20X_TotVArhImpQ1
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40144 - 1
 
   const uint16_t   nb = 2
 
M20X_TotVArhImpQ1phA
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40146 - 1
 
   const uint16_t   nb = 2
 
M20X_TotVArhImpQ1phB
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40148 - 1
 
   const uint16_t   nb = 2
 
M20X_TotVArhImpQ1phC
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40150 - 1
 
   const uint16_t   nb = 2
 
M20X_TotVArhImpQ2
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40152 - 1
 
   const uint16_t   nb = 2
 
M20X_TotVArhImpQ2phA
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40154 - 1
 
   const uint16_t   nb = 2
 
M20X_TotVArhImpQ2phB
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40156 - 1
 
   const uint16_t   nb = 2
 
M20X_TotVArhImpQ2phC
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40158 - 1
 
   const uint16_t   nb = 2
 
M20X_TotVArhExpQ3
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40160 - 1
 
   const uint16_t   nb = 2
 
M20X_TotVArhExpQ3phA
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40162 - 1
 
   const uint16_t   nb = 2
 
M20X_TotVArhExpQ3phB
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40164 - 1
 
   const uint16_t   nb = 2
 
M20X_TotVArhExpQ3phC
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40166 - 1
 
   const uint16_t   nb = 2
 
M20X_TotVArhExpQ4
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40168 - 1
 
   const uint16_t   nb = 2
 
M20X_TotVArhExpQ4phA
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40170 - 1
 
   const uint16_t   nb = 2
 
M20X_TotVArhExpQ4phB
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40172 - 1
 
   const uint16_t   nb = 2
 
M20X_TotVArhExpQ4phC
 
struct {
   int16_t   res = 0
 
   const uint16_t   reg = 40174 - 1
 
   const uint16_t   nb = 1
 
M20X_TotVArh_SF
 
struct {
   uint32_t   res = 0
 
   const uint16_t   reg = 40175 - 1
 
   const uint16_t   nb = 2
 
M20X_Evt
 

Detailed Description

Register description of the Meter specific registers.

Variable Documentation

struct { ... } MeterRegisterMapIntSf::M20X_A

AC total current [A]

struct { ... } MeterRegisterMapIntSf::M20X_A_SF

AC current scale factor

struct { ... } MeterRegisterMapIntSf::M20X_AphA

AC phase-A current [A]

struct { ... } MeterRegisterMapIntSf::M20X_AphB

AC phase-B current [A]

struct { ... } MeterRegisterMapIntSf::M20X_AphC

AC phase-C current [A]

struct { ... } MeterRegisterMapIntSf::M20X_Evt

Events

struct { ... } MeterRegisterMapIntSf::M20X_Hz

AC frequency [Hz]

struct { ... } MeterRegisterMapIntSf::M20X_Hz_SF

Frequency scale factor

struct { ... } MeterRegisterMapIntSf::M20X_ID

Uniquely identifies this as a SunSpec Meter Modbus Map

201: single phase 202: split phase 203: three phase

struct { ... } MeterRegisterMapIntSf::M20X_L

Length of meter model block

Returns
105
struct { ... } MeterRegisterMapIntSf::M20X_PF

Power factor [%]

struct { ... } MeterRegisterMapIntSf::M20X_PF_SF

Power factor scale factor

struct { ... } MeterRegisterMapIntSf::M20X_PFphA

Power factor phase-A [%]

struct { ... } MeterRegisterMapIntSf::M20X_PFphB

Power factor phase-B [%]

struct { ... } MeterRegisterMapIntSf::M20X_PFphC

Power factor phase-C [%]

struct { ... } MeterRegisterMapIntSf::M20X_PhV

AC voltage average phase-to-neutral [V]

struct { ... } MeterRegisterMapIntSf::M20X_PhVphA

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

struct { ... } MeterRegisterMapIntSf::M20X_PhVphB

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

struct { ... } MeterRegisterMapIntSf::M20X_PhVphC

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

struct { ... } MeterRegisterMapIntSf::M20X_PPV

AC voltage average phase-to-phase [V]

struct { ... } MeterRegisterMapIntSf::M20X_PPVphAB

AC voltage phase-AB [V]

struct { ... } MeterRegisterMapIntSf::M20X_PPVphBC

AC voltage phase-BC [V]

struct { ... } MeterRegisterMapIntSf::M20X_PPVphCA

AC voltage phase-CA [V]

struct { ... } MeterRegisterMapIntSf::M20X_TotVAh_SF

Total apparent energy scale factor

struct { ... } MeterRegisterMapIntSf::M20X_TotVAhExp

Total apparent energy exported [VAh]

struct { ... } MeterRegisterMapIntSf::M20X_TotVAhExpPhA

Total apparent energy exported phase-A [VAh]

struct { ... } MeterRegisterMapIntSf::M20X_TotVAhExpPhB

Total apparent energy exported phase-B [VAh]

struct { ... } MeterRegisterMapIntSf::M20X_TotVAhExpPhC

Total apparent energy exported phase-C [VAh]

struct { ... } MeterRegisterMapIntSf::M20X_TotVAhImp

Total apparent energy imported [VAh]

struct { ... } MeterRegisterMapIntSf::M20X_TotVAhImpPhA

Total apparent energy imported phase-A [VAh]

struct { ... } MeterRegisterMapIntSf::M20X_TotVAhImpPhB

Total apparent energy imported phase-B [VAh]

struct { ... } MeterRegisterMapIntSf::M20X_TotVAhImpPhC

Total apparent energy imported phase-C [VAh]

struct { ... } MeterRegisterMapIntSf::M20X_TotVArh_SF

Total reactive energy scale factor

Note
register not supported
struct { ... } MeterRegisterMapIntSf::M20X_TotVArhExpQ3

Total reactive energy exported Q3 [VArh]

Note
register not supported
struct { ... } MeterRegisterMapIntSf::M20X_TotVArhExpQ3phA

Total reactive energy exported Q3 phase-A [VArh]

Note
register not supported
struct { ... } MeterRegisterMapIntSf::M20X_TotVArhExpQ3phB

Total reactive energy exported Q3 phase-B [VArh]

Note
register not supported
struct { ... } MeterRegisterMapIntSf::M20X_TotVArhExpQ3phC

Total reactive energy exported Q3 phase-C [VArh]

Note
register not supported
struct { ... } MeterRegisterMapIntSf::M20X_TotVArhExpQ4

Total reactive energy exported Q4 [VArh]

Note
register not supported
struct { ... } MeterRegisterMapIntSf::M20X_TotVArhExpQ4phA

Total reactive energy exported Q4 phase-A [VArh]

Note
register not supported
struct { ... } MeterRegisterMapIntSf::M20X_TotVArhExpQ4phB

Total reactive energy exported Q4 phase-B [VArh]

Note
register not supported
struct { ... } MeterRegisterMapIntSf::M20X_TotVArhExpQ4phC

Total reactive energy exported Q4 phase-C [VArh]

Note
register not supported
struct { ... } MeterRegisterMapIntSf::M20X_TotVArhImpQ1

Total reactive energy imported Q1 [VArh]

Note
register not supported
struct { ... } MeterRegisterMapIntSf::M20X_TotVArhImpQ1phA

Total reactive energy imported Q1 phase-A [VArh]

Note
register not supported
struct { ... } MeterRegisterMapIntSf::M20X_TotVArhImpQ1phB

Total reactive energy imported Q1 phase-B [VArh]

Note
register not supported
struct { ... } MeterRegisterMapIntSf::M20X_TotVArhImpQ1phC

Total reactive energy imported Q1 phase-C [VArh]

Note
register not supported
struct { ... } MeterRegisterMapIntSf::M20X_TotVArhImpQ2

Total reactive energy imported Q2 [VArh]

Note
register not supported
struct { ... } MeterRegisterMapIntSf::M20X_TotVArhImpQ2phA

Total reactive energy imported Q2 phase-A [VArh]

Note
register not supported
struct { ... } MeterRegisterMapIntSf::M20X_TotVArhImpQ2phB

Total reactive energy imported Q2 phase-B [VArh]

Note
register not supported
struct { ... } MeterRegisterMapIntSf::M20X_TotVArhImpQ2phC

Total reactive energy imported Q2 phase-C [VArh]

Note
register not supported
struct { ... } MeterRegisterMapIntSf::M20X_TotWh_SF

Total energy scale factor

struct { ... } MeterRegisterMapIntSf::M20X_TotWhExp

Total energy exported [Wh]

struct { ... } MeterRegisterMapIntSf::M20X_TotWhExpPhA

Total energy exported phase-A [Wh]

struct { ... } MeterRegisterMapIntSf::M20X_TotWhExpPhB

Total energy exported phase-B [Wh]

struct { ... } MeterRegisterMapIntSf::M20X_TotWhExpPhC

Total energy exported phase-C [Wh]

struct { ... } MeterRegisterMapIntSf::M20X_TotWhImp

Total energy imported [Wh]

struct { ... } MeterRegisterMapIntSf::M20X_TotWhImpPhA

Total energy imported phase-A [Wh]

struct { ... } MeterRegisterMapIntSf::M20X_TotWhImpPhB

Total energy imported phase-B [Wh]

struct { ... } MeterRegisterMapIntSf::M20X_TotWhImpPhC

Total energy imported phase-C [Wh]

struct { ... } MeterRegisterMapIntSf::M20X_V_SF

Voltage scale factor

struct { ... } MeterRegisterMapIntSf::M20X_VA

AC apparent power total [VA]

struct { ... } MeterRegisterMapIntSf::M20X_VA_SF

Apparent power scale factor

struct { ... } MeterRegisterMapIntSf::M20X_VAphA

AC apparent power phase-A [VA]

struct { ... } MeterRegisterMapIntSf::M20X_VAphB

AC apparent power phase-B [VA]

struct { ... } MeterRegisterMapIntSf::M20X_VAphC

AC apparent power phase-C [VA]

struct { ... } MeterRegisterMapIntSf::M20X_VAR

AC reactive power total [VAr]

struct { ... } MeterRegisterMapIntSf::M20X_VAR_SF

Reactive power scale factor

struct { ... } MeterRegisterMapIntSf::M20X_VARphA

AC reactive power phase-A [VAr]

struct { ... } MeterRegisterMapIntSf::M20X_VARphB

AC reactive power phase-B [VAr]

struct { ... } MeterRegisterMapIntSf::M20X_VARphC

AC reactive power phase-C [VAr]

struct { ... } MeterRegisterMapIntSf::M20X_W

AC power total [W]

struct { ... } MeterRegisterMapIntSf::M20X_W_SF

Power scale factor

struct { ... } MeterRegisterMapIntSf::M20X_WphA

AC power phase-A [W]

struct { ... } MeterRegisterMapIntSf::M20X_WphB

AC power phase-B [W]

struct { ... } MeterRegisterMapIntSf::M20X_WphC

AC power phase-C [W]