29 #include "bacnetmstp.hpp" 30 #include "bacnetutil.hpp" 89 typedef enum : uint32_t {
92 AV_CT_Ratio_Primary = 3,
93 AV_CT_Ratio_Secondary = 4,
95 AV_System_Voltage = 6,
97 AV_Phase_Loss_Voltage_Threshold = 8,
98 AV_Phase_Loss_Imbalance_Threshold = 9,
100 AV_Subinterval_Length = 11
104 typedef enum : uint32_t {
138 AI_KW_Present_Demand = 34,
139 AI_KVAR_Present_Demand = 35,
140 AI_KWA_Present_Demand = 36,
141 AI_KW_Max_Demand = 37,
142 AI_KVAR_Max_Demand = 38,
143 AI_KVA_Max_Demand = 39,
144 AI_Pulse_Count_1 = 40,
146 AI_Pulse_Count_2 = 41,
152 AI_Energy_Resets = 47,
154 AI_Power_Up_Count = 50,
155 AI_Output_Config = 51,
160 typedef enum : uint16_t {
161 ALARM_Volts_Error_A = 0x0001,
162 ALARM_Volts_Error_B = 0x0002,
163 ALARM_Volts_Error_C = 0x0004,
165 ALARM_Current_Error_A = 0x0008,
166 ALARM_Current_Error_B = 0x0010,
167 ALARM_Current_Error_C = 0x0020,
169 ALARM_Frequency_Error = 0x0040,
171 ALARM_Reserved_0 = 0x0080,
173 ALARM_Phase_Loss_A = 0x0100,
174 ALARM_Phase_Loss_B = 0x0200,
175 ALARM_Phase_Loss_C = 0x0400,
177 ALARM_Power_Factor_A = 0x0800,
178 ALARM_Power_Factor_B = 0x1000,
179 ALARM_Power_Factor_C = 0x2000,
181 ALARM_RTC_RESET = 0x4000
186 CFG_CLR_ENERGY_ACCUM = 30078,
188 CFG_RESET_MAX_TO_PRESENT = 21212,
189 CFG_CLEAR_PULSE_COUNTERS = 16498
194 SYSTYPE_SINGLE_PHASE_AN = 10,
195 SYSTYPE_SINGLE_PHASE_AB = 11,
196 SYSTYPE_SPLIT_PHASE_ABN = 12,
197 SYSTYPE_3PHASE_ABC = 31,
198 SYSTYPE_3PHASE_ABCN = 40
203 CT_RATIO_SECONDARY_1 = 1,
204 CT_RATIO_SECONDARY_3 = 3
225 E50HX(uint32_t targetDeviceObjectID);
void writePTRatio(float ptRatio)
Definition: e50hx.cxx:82
void writeCTRatioPrimary(float ctRatio)
Definition: e50hx.cxx:66
UPM API for the Veris E50HX Energy Meter.
Definition: e50hx.hpp:85
~E50HX()
Definition: e50hx.cxx:47
void writePhaseLossIT(float phaseLoss)
Definition: e50hx.cxx:120
void writeConfig(CFG_VALUES_T config)
Definition: e50hx.cxx:56
C++ API wrapper for the bh1749 driver.
Definition: a110x.hpp:29
void writeDisplayUnits(DISP_UNITS_T dispUnits)
Definition: e50hx.cxx:104
uint16_t getAlarmBits()
Definition: e50hx.cxx:51
UPM Utility API for BACnet.
Definition: bacnetutil.hpp:50
void writeSystemType(SYSTEM_TYPES_T systype)
Definition: e50hx.cxx:61
void writeSystemVoltage(float sysVolts)
Definition: e50hx.cxx:93
E50HX(uint32_t targetDeviceObjectID)
Definition: e50hx.cxx:38
void writePhaseLossVT(float phaseLoss)
Definition: e50hx.cxx:109
void writeCTRatioSecondary(CT_SECONDARY_T ctRatio)
Definition: e50hx.cxx:77