new release
This commit is contained in:
@@ -46,24 +46,30 @@ typedef struct {
|
||||
uint16_t data_block1[150];
|
||||
} input_reg_params_t;
|
||||
|
||||
|
||||
// Holding Registers (ajustado para os campos usados no ORNO 516)
|
||||
typedef struct {
|
||||
float l1_current; // 0x0016
|
||||
float l2_current; // 0x0018
|
||||
float l3_current; // 0x001A
|
||||
float l1_current;
|
||||
float l2_current;
|
||||
float l3_current;
|
||||
|
||||
float l1_voltage; // 0x000E
|
||||
float l2_voltage; // 0x0010
|
||||
float l3_voltage; // 0x0012
|
||||
float l1_voltage;
|
||||
float l2_voltage;
|
||||
float l3_voltage;
|
||||
|
||||
float active_energy;
|
||||
float reactive_energy;
|
||||
|
||||
float total_active_power; // 0x001C
|
||||
float total_reactive_power;
|
||||
float active_power;
|
||||
float apparent_power;
|
||||
float reactive_power;
|
||||
|
||||
float frequency;
|
||||
float power_factor;
|
||||
} holding_reg_params_t;
|
||||
|
||||
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
// Instâncias globais das estruturas
|
||||
|
||||
Reference in New Issue
Block a user