API For bNodeUART

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 24

2022

bNode User Guide

EPIGON MEDIA TECHNOLOGIES PVT LTD Version 2.0.0 Updated on 01


December 2022
1 Host to bNode Packet description:
The following are commands can be sent to bNode from host as of now.

1. Single register access (to read/ write a single register)


2. Sequential register access (to read/ write multiple registers up to 4)
3. Client ID request (MAC address, longitude, latitude)
4. Calibration register data.

Preamble Preamble
Byte-2
Byte-1 Data Type Frame Length Data
(0x7a)
(0xa7) (1 Byte) (2 Byte) (Depends on Data Type and Frame
(1 Byte) Length)
(1 Byte)
(Frame Length -4 )

Note: All the data representation will be sent in Little endian format.

1.1 Preamble Byte-1 and Preamble Byte-2:


These two bytes to indicate the start of the Data frame. Preamble Byte-1, Preamble Byte-2 are 0xa7,
0x7a Respectively.

1.2 Data Type


This is of 3rd byte of the bNode data frame. This defines the characteristic of ptp data. Depending on
data need to send, the frames classified in to 2 data types (see table below).

Data Type Value

Client ID 0x00

Single Register access 0x02

Sequential Register access 0x03

Calibration Register write 0x05


1.2.1 Single Register Access
The Single Register access can be done depending on read or write operation as illustrated below.
This is useful to read/write any register from ADE 9000.

For reading a single-Register:

0xa7 0x7a 0x02 Length of Read Flag Size of the Address of


the frame register the Register
(1 Byte) (1 Byte) (1 Byte) (1 Byte)
(2 Byte) (1 Byte) ( 4 Byte)

For writing a single-Register:

0xa7 0x7a 0x02 Length Write Flag Size of the Address Data to be
of the register of the Written
(1 Byte) (1 Byte) (1 Byte) (1 Byte)
frame Register
(1 Byte) (4 Bytes
(2 Byte) (4 Byte)

Note: Read flag value is 0x80. Write flag value is 0xF0. Size of the register is of 1 byte, which should
be either 2 or 4 depending on the Register value being requested. As of now for writing register you
will not get any reply from bNode.

For Reply frame from bNode: refer Single Register access reply:

E.g. Waveform buffer configuration register (WFB_CFG) can be written with 0x1010/0x1070/0x1270
for corresponding waveform buffer data. for more information about waveform buffer data
configurations refer section Waveform buffer Configurations.

E.g. to get waveform buffer data of 16 resampled, the data frame is as follows

0xa7 0x7a 0x02 0x000E 0xF0 0x02 0x000004a0 0x00001010

E.g. to get waveform buffer data of Sinc4 output, the data frame is as follows

0xa7 0x7a 0x02 0x000E 0xF0 0x02 0x000004a0 0x00001070

E.g. to get waveform buffer data of Sinc4 output and IIR Filtered, the data frame is as follows
0xa7 0x7a 0x02 0x000E 0xF0 0x02 0x000004a0 0x00001270

1.2.2 Sequential Register access


The sequential data access can be done as illustrated below. In sequential access you can request
data of any number of registers as below.

0xa7 0x7a 0x03 Length of Read Size of Address If write


the frame Flag/ the of the operation
(1 Byte) (1 Byte) (1 Byte)
register Register data to be
(2 Byte) Write flag
written
(1 Byte) ( 4 Byte)
(1 Byte)
(4 Bytes)

Size of the register Address of the If write operation


Register data to be written
(1 Byte)
( 4 Byte) (4 Bytes)

Size of the register Address of the If write operation


Register data to be written
(1 Byte)
( 4 Byte) (4 Bytes)

………….

…………

Size of the register Address of the If write operation


Register data to be written
(1 Byte)
( 4 Byte) (4 Bytes)

Note:

Read flag value is 0x80. Write flag value is 0xF0.


Size of the register is of 1 byte, which should be either 2 or 4 depending on the Register value being
requested.

For Reply frame from bNode: refer Sequential Register access reply:

1.2.3 Client ID Request:


Client ID can be requested by sending the following frame. You can request it by sending below
command at any time.

0xa7 0x7a 0x00 0x0004

(1 Byte) (1 Byte) (1 Byte) (2 Byte)

Preamble Byte 1 Preamble Byte 2 Data Type Frame Length

For the reply frame structure, refer Client id:

1.2.4 Calibration Register write:


The calibration registers can be write by sending the following frame. The calibration
register list is present in Table 5.12. Calibration process explained

0xa7 0x7a 0x02 Length of Calibration register structure


the
(1 Byte) (1 Byte) (1 Byte) (164 Bytes)
frame
(2 Byte)

The calibration register structure is define as follows


typedef struct
{
uint16_t cf1den; // CF1 denominator register.
uint16_t cf2den; //CF2 denominator register.
uint16_t cf3den; // CF3 denominator register.
uint16_t cf4den; // CF4 denominator register.

uint32_t aigain;
uint32_t avgain;
uint32_t aphcal;
uint32_t apgain;
uint32_t airmsos;
uint32_t avrmsos;
uint32_t awattos;
uint32_t avaros;
uint32_t aifrmsos;
uint32_t avfrmsos;
uint32_t afwattos;
uint32_t afvaros;

uint32_t bigain;
uint32_t bvgain;
uint32_t bphcal;
uint32_t bpgain;
uint32_t birmsos;
uint32_t bvrmsos;
uint32_t bwattos;
uint32_t bvaros;
uint32_t bifrmsos;
uint32_t bvfrmsos;
uint32_t bfwattos;
uint32_t bfvaros;

uint32_t cigain;
uint32_t cvgain;
uint32_t cphcal;
uint32_t cpgain;
uint32_t cirmsos;
uint32_t cvrmsos;
uint32_t cwattos;
uint32_t cvaros;
uint32_t cifrmsos;
uint32_t cvfrmsos;
uint32_t cfwattos;
uint32_t cfvaros;

uint32_t nigain;
uint32_t nphcal;
uint32_t nirmsos;
} Update_Calibaration_Params;

1.3 Frame Length and Data


Frame Length is of two bytes (4th and 5th Bytes) of the data frame. Frame Length gives the total
length of the frame. Different frames with length with corresponding example data explained
already explained in the section Data Type: .

Note: All the register data will be sent in little endian format.

2 bNode to Host Packet Description

Preamble Preamble
Byte-2
Byte-1 Data Type Frame Length Data
(0x7a)
(0xa7) (2 Bytes) (4 Bytes) (Depends on Data Type and Frame
(1 Byte) Length)
(1 Byte)
(Frame Length - 8)

Note: All the data representation will be sent in little endian format.
2.1 Preamble Byte-1 and Preamble Byte-2:
These two bytes to indicate the start of the Data frame. Preamble Byte-1, Preamble Byte-2 are 0xa7,
0x7a respectively.

2.2 Data Type:


This is of size 2 Bytes (3rd and 4th) of the bNode data frame. This defines the characteristic of ptp
data. Depending on data need to send, the frames classified in to 5 data types (see table below).

Data Type Value

Client id 0x0000

Normal Register Data 0x0001

Single Register access 0x0002

Sequential Register access 0x0003

Waveform buffer data 0x0004

2.2.1 Client id:


In this data frame, client identification information will be sent. This frames data comprises MAC id
(6 Bytes), GPS latitude (4 Bytes) and GPS Longitude. This will be sent immediately after connecting to
server. This can be requested with command.

Example frame:

0xa7 0x7a 0x0000 0x00000016 MAC Address Latitude Longitude

(2 Bytes) (4 Bytes) (6 Bytes) (4 Bytes) (4 Bytes)

2.2.2 Normal Register Data


In this frame, Register data will be sent based on their update times. This data will be send
continuously without any Host commands. We classified registers depending on updated rates as
follows (refer table at the end of documentation for classification)

1. Registers updated at half cycle rate


2. Registers updated at 10/12 cycle rate
3. Registers updated at 8 ksps
4. Registers updated for 1.024 seconds
5. Registers with no update rate mentioned
6. Registers which are Thresholds and configurations
7. Registers updated depending on PWR_TIME
8. Registers updated depending on EGY_TIME
9. Registers updated on DIP Condition
10. Registers updated on SWELL Condition
11. Registers updated on OI Condition

Example frame:

0xa7 0x7a 0x0001 Length of Time Stamp Configuration Data


the frame
(8 Bytes) (4 Bytes) (Register Values)

For the data being sent, the corresponding register bits in the configuration will be set.

The configuration Register:

Reserved 10 9 8 7 6 5 4 3 2 1 0

(31:11)

OI Condition Register bit

SWELL Condition Register bit

DIP Condition Register bit

EGY_TIME dependent Register bit

PWR_TIME dependent Register bit

Thresholds and Configuration bit

Normal Update Register bit

1.024 seconds update Register bit

8 ksps Register bit

10/12 Cycle Register bit

Half Cycle Register bit

Note: combination of registers can be send by adding configurations together.


Example: if Half cycle rate registers and 10/12 cycle rate registers need to send then configuration is
0x3 (1+2).

If 8 ksps rate registers and Normal rate register need to send the configuration is 0x14 (16 + 4 = 20
=0x14).

Note: the Registers data will be filled as the same sequence mention in the tables of registers.

If configuration is 0x100 then data will be as below (refer Table 4.9)

ADDR_DIPA ADDR_DIPB ADDR_DIPC

(4 Bytes) (4 Bytes) (4 Bytes)

If configuration is 0x8 then data will be as below (refer Table 4.4)

ADDR_APF ADDR_BP ADDR_CPF ADDR_AVTHD ADDR_BVTHD ADDR_CVTHD ADDR_AITHD


F
(4 Bytes) (4 Bytes) (4 Bytes) (4 Bytes) (4 Bytes) (4 Bytes)
(4 Bytes)

ADDR_BITHD ADDR_CITHD

(4 Bytes) (4 Bytes)

2.2.3 Single Register access reply:


This data frame will come when the Server request Read Operation on a Single Register.

Reply frame from bNode:

Preamble Preamble Data Type Length


Byte1 Byte2
0x0002 0x0000000 Register Address Register Data
0xa7 0x7a 8
(2 Bytes) (4 Bytes) (4 Bytes)
(1 Byte) (1 Byte) (4 Bytes)

2.2.4 Sequential Register access reply:


This data frame will come when the Server requested sequential data read access.

Reply frame from bNode board:

0xa7 0x7a 0x0003 Length of the Register Register


frame Address
(1 Byte) (1 Byte) (2 Bytes) Value
(4 Byte) (4 Bytes)
(4 Bytes)
Register Register Register Register
Address Address
Value Value
(4 Bytes) (4 Bytes)
(4 Bytes) (4 Bytes)

…………..

Register Register Register Register


Address Address
Value Value
(4 Bytes) (4 Bytes)
(4 Bytes) (4 Bytes)

2.2.5 Waveform buffer data:


This data frame will come when server request by writing WFB_CFG register (address 0x4a0) with
the following values for corresponding data. 10 Waveform Buffer data frames will be sent for 1
request. The Waveform buffer data is interleaved and the interleaved sequence is
IA,VA,IB,VB,IC,VC,IN.

E.g. Waveform buffer configuration register (WFB_CFG) can be written with 0x1010/0x1070/0x1270
for corresponding waveform buffer data. for more information about waveform buffer data
configurations refer section Waveform buffer Configurations.

E.g. to get waveform buffer data of 16 resampled, the data frame is as follows

0xa7 0x7a 0x02 0x000E 0xF0 0x02 0x000004a0 0x00001010

2.2.5.1 Waveform buffer Configurations


Value of No of Samples
WFB_CFG (to be Received by the
Waveform Data speed packaging Endian
written) host
represents format

0x1270 Sinc4 + IIR LPF 8ksps 24 bit (packed) Little 1792*7 = 12544
output endian

0x1070 Sinc4 output 32ksps 24 bit (packed) Little


endian
6400*7 = 44800
0x1010 Resampled Depends on 16 bit Little 5120*7 = 35840
waveform line period endian

Data frame from bNode board:

0xa7 0x7a 0x0004 Length of the Time Stamp Current Waveform


frame WFB_CFG Buffer Data
(1 Byte) (1 Byte) (2 Bytes) (8 Bytes)
register
(4 Bytes)
value

(2 Bytes)

2.3 Frame Length and Data:


Frame Length is of 4 bytes from 5th Byte to 8Th Byte. Frame length gives the total length of the frame.
Different frames with length with corresponding example data explained already explained in the
data types section.

Note: All the register data will be sent in Little endian format.

3 Value Conversion from Register content:

3.1 Power Factor Measurement


The power factor result is stored in 5.27 format. The highest power factor value is 0x07FF FFFF,
which corresponds to a power factor of 1. A power factor of −1 is stored as 0xF800 0000. To
determine the power factor from the xPF register value, use the
Following equation:

Power Factor = xPF * 2pow(−27)

Example: If PF register value is 0x03FF FFFF then


Power Factor = 0x03FF FFFF * 2pow(−27)
= 67,108,863 * 0.000000007450580596923828125
= 0.499999992549419403076171875
3.2 Total Harmonic Distortion Measurement
The THD calculation is stored in signed 5.27 format. The highest THD value is 0x2000 0000, which
corresponds to a THD of 400%. To calculate the THD value as a percentage, use the following
equation:

%THD on Current Channel x = xITHD × 2−27 * 100%


Example: if THD register value is 0x1000 0000
%THD = 0x1000 0000 * 2−27 * 100%
= 268435456 * 0.000000007450580596923828125 * 100%
= 200 %

3.3 Angle Measurement


To convert angle register reading to degrees, use the following equations.
For a 50 Hz system,
Angle (Degrees) = ANGL_x_y * 0.017578125
For a 60 Hz system,
Angle (Degrees) = ANGL_x_y * 0.02109375

Example: if Angle Register value is 0x2800 for 50 Hz system


Angle in Degrees = 0x2800 * 0.017578125
= 10240 * 0.017578125 = 180
if Angle Register value is 0x2800 for 60 Hz system
Angle in Degrees = 0x2800 * 0.02109375
= 10240 * 0.02109375 = 216

3.4 Period Measurement


Calculate the line period, tL, from the xPERIOD register, according to the following equation:

tL = xPeriod +18000 * 2 pow(16)


If the calculated period value is outside the range of 40 Hz to 70 Hz, or if zero crossings for that
phase are not detected, the xPERIOD register is coerced to correspond to 50 Hz or 60 Hz, depending
on SELFREQ bit in the ACCMODE register.

Example: if Period register value is 0x00A0 0000


tL = (0x00A0 0000 +1) / (8000 * 2 ^ 16)
tL = 0.0200000019073486328125

3.5 Voltage RMS Measurement


C code for Conversion Factor Generator for V_RMS Register to Value

#define SQUREROOT_OF_2 1.4142135623731L


#define RMS_FULL_SCALE_VALUE 52702092
#define FP_TYPE double
#define TOP_LEG_DIVIDER_RESISTOR 800
#define BOTTOM_LEG_DIVIDER_RESISTOR 1

#define VOLTAGE_TRANSFER_FUNCTION

(((FP_TYPE)BOTTOM_LEG_DIVIDER_RESISTOR)/(BOTTOM_LEG_DIVIDER_RESISTOR+TOP_LEG_DIVID
ER_RESISTOR))
#define VOLTAGE_MUL_FACTOR (((FP_TYPE)1.0)/(52702092 *
SQUREROOT_OF_2 * VOLTAGE_TRANSFER_FUNCTION))

#define VOLTAGE_CONVERSION(V_RMS) (V_RMS * VOLTAGE_MUL_FACTOR)


//1.0747059751070689319981383927719e-5

Example: if RMS value is 0x142152d


The RMS value = 0x142152d * 1.0747059751070689319981383927719e-5
= 21,108,013 * 1.0747059751070689319981383927719e-5
= 226.84907693737687408512821170428 V

3.6 Current RMS Measurement


C code for Conversion Factor Generator for I_RMS Register to Value
#define CT_TURNS_RATIO 1000
#define TOTAL_CT_BURDEN_RESISTOR 49.9

#define CURRENT_TRANSFER_FUNCTION
(((FP_TYPE)TOTAL_CT_BURDEN_RESISTOR)/CT_TURNS_RATIO)

#define CURRENT_MUL_FACTOR (((FP_TYPE)1.0)/(52702092 *


SQUREROOT_OF_2 * CURRENT_TRANSFER_FUNCTION))

#define CURRENT_CONVERSION(I_RMS) (I_RMS * CURRENT_MUL_FACTOR)


//2.6887882509264851036021698534796e-7

Example: if RMS value is 0x400000


The RMS value = 0x400000 * 2.6887882509264851036021698534796e-7
= 4,194,304 * 2.6887882509264851036021698534796e-7
= 1.1277595316013960175978995425129 A

4 Tables:
4.1 Registers updated at half cycle rate
Register Name Address Type Update Rate Size in bytes

ADDR_ISUMRMS 0x00000269 RMS half-cycle 4

ADDR_NIRMS 0x0000060D RMS half-cycle 4

ADDR_AIRMSONE 0x0000062F RMS half-cycle 4


ADDR_BIRMSONE 0x00000630 RMS half-cycle 4

ADDR_CIRMSONE 0x00000631 RMS half-cycle 4

ADDR_AVRMSONE 0x00000632 RMS half-cycle 4

ADDR_BVRMSONE 0x00000633 RMS half-cycle 4

ADDR_CVRMSONE 0x00000634 RMS half-cycle 4

ADDR_NIRMSONE 0x00000635 RMS half-cycle 4

4.2 Registers updated at 10/12 cycle rate


Register Name Address Type Update Rate Size in bytes

ADDR_AIRMS1012 0x00000636 RMS 10 or 12 cycle 4

ADDR_BIRMS1012 0x00000637 RMS 10 or 12 cycle 4

ADDR_CIRMS1012 0x00000638 RMS 10 or 12 cycle 4

ADDR_AVRMS1012 0x00000639 RMS 10 or 12 cycle 4

ADDR_BVRMS1012 0x0000063A RMS 10 or 12 cycle 4

ADDR_CVRMS1012 0x0000063B RMS 10 or 12 cycle 4

ADDR_NIRMS1012 0x0000063C RMS 10 or 12 cycle 4

4.3 Registers updated at 8 ksps


Register Name Address Type Update Rate Size in bytes

ADDR_AWATT 0x0000060E Power and 8 ksps 4


Energies

ADDR_BWATT 0x0000060F Power and 8 ksps 4


Energies

ADDR_CWATT 0x00000610 Power and 8 ksps 4


Energies

ADDR_AVA 0x00000611 Power and 8 ksps 4


Energies

ADDR_BVA 0x00000612 Power and 8 ksps 4


Energies

ADDR_CVA 0x00000613 Power and 8 ksps 4


Energies

ADDR_AVAR 0x00000614 Power and 8 ksps 4


Energies

ADDR_BVAR 0x00000615 Power and 8 ksps 4


Energies

ADDR_CVAR 0x00000616 Power and 8 ksps 4


Energies

ADDR_AFVAR 0x00000617 Power and 8 ksps 4


Energies

ADDR_BFVAR 0x00000618 Power and 8 ksps 4


Energies

ADDR_CFVAR 0x00000619 Power and 8 ksps 4


Energies

ADDR_AFWATT 0x00000623 Power and 8 ksps 4


Energies

ADDR_BFWATT 0x00000624 Power and 8 ksps 4


Energies

ADDR_CFWATT 0x00000625 Power and 8 ksps 4


Energies

ADDR_AFVA 0x00000626 Power and 8 ksps 4


Energies

ADDR_BFVA 0x00000627 Power and 8 ksps 4


Energies

ADDR_CFVA 0x00000628 Power and 8 ksps 4


Energies

ADDR_AIFRMS 0x0000020E RMS 8 ksps 4

ADDR_AVFRMS 0x0000020F RMS 8 ksps 4

ADDR_BIFRMS 0x0000022E RMS 8 ksps 4

ADDR_BVFRMS 0x0000022F RMS 8 ksps 4

ADDR_CIFRMS 0x0000024E RMS 8 ksps 4

ADDR_CVFRMS 0x0000024F RMS 8 ksps 4

ADDR_AIRMS 0x00000607 RMS 8 ksps 4

ADDR_BIRMS 0x00000608 RMS 8 ksps 4

ADDR_CIRMS 0x00000609 RMS 8 ksps 4

ADDR_AVRMS 0x0000060A RMS 8 ksps 4

ADDR_BVRMS 0x0000060B RMS 8 ksps 4

ADDR_CVRMS 0x0000060C RMS 8 ksps 4


4.4 Registers updated for 1.024 seconds
Register Name Address Type Update Rate Size in bytes

ADDR_APF 0x0000061A Power quality 1.024 s 4

ADDR_BPF 0x0000061B Power quality 1.024 s 4

ADDR_CPF 0x0000061C Power quality 1.024 s 4

ADDR_AVTHD 0x0000061D Power quality 1.024 s 4

ADDR_BVTHD 0x0000061E Power quality 1.024 s 4

ADDR_CVTHD 0x0000061F Power quality 1.024 s 4

ADDR_AITHD 0x00000620 Power quality 1.024 s 4

ADDR_BITHD 0x00000621 Power quality 1.024 s 4

ADDR_CITHD 0x00000622 Power quality 1.024 s 4

4.5 Registers with no update rate mentioned


Register Name Address Type Update Rate Size in bytes

ADDR_APERIOD 0x00000418 Angle No time period 4

ADDR_BPERIOD 0x00000419 Angle No time period 4

ADDR_CPERIOD 0x0000041A Angle No time period 4

ADDR_COM_PERIOD 0x0000041B Angle No time period 4

ADDR_ANGL_VA_VB 0x00000482 Angle No time period 2

ADDR_ANGL_VB_VC 0x00000483 Angle No time period 2

ADDR_ANGL_VA_VC 0x00000484 Angle No time period 2

ADDR_ANGL_VA_IA 0x00000485 Angle No time period 2

ADDR_ANGL_VB_IB 0x00000486 Angle No time period 2

ADDR_ANGL_VC_IC 0x00000487 Angle No time period 2

ADDR_ANGL_IA_IB 0x00000488 Angle No time period 2

ADDR_ANGL_IB_IC 0x00000489 Angle No time period 2

ADDR_ANGL_IA_IC 0x0000048A Angle No time period 2

4.6 Register which are Thresholds


Register Name Address Type Update Rate Size in bytes

ADDR_OILVL 0x00000409 Power quality threshold 4


ADDR_DIP_LVL 0x00000410 Power quality threshold 4

ADDR_SWELL_LVL 0x00000414 Power quality threshold 4

ADDR_ZXTHRSH 0x00000499 Power quality threshold 2

ADDR_ACCMODE 0x00000492 config threshold 2

ADDR_CONFIG0 0x00000060 config threshold 4

ADDR_CONFIG1 0x00000481 config threshold 2

ADDR_CONFIG2 0x000004AF config threshold 2

ADDR_CONFIG3 0x00000493 config threshold 2

ADDR_CONFIG5 0x000004A4 config threshold 2

4.7 Registers with update rate depends on PWR_TIME


Register Name Address Type Update Rate Size in bytes

ADDR_AWATT_ACC 0x000002E5 Power and PWR_TIME 4


Energies

ADDR_AVAR_ACC 0x000002EF Power and PWR_TIME 4


Energies

ADDR_AVA_ACC 0x000002F9 Power and PWR_TIME 4


Energies

ADDR_AFWATT_ACC 0x00000303 Power and PWR_TIME 4


Energies

ADDR_AFVAR_ACC 0x0000030D Power and PWR_TIME 4


Energies

ADDR_AFVA_ACC 0x00000317 Power and PWR_TIME 4


Energies

ADDR_BWATT_ACC 0x00000321 Power and PWR_TIME 4


Energies

ADDR_BVAR_ACC 0x0000032B Power and PWR_TIME 4


Energies

ADDR_BVA_ACC 0x00000335 Power and PWR_TIME 4


Energies

ADDR_BFWATT_ACC 0x0000033F Power and PWR_TIME 4


Energies

ADDR_BFVAR_ACC 0x00000349 Power and PWR_TIME 4


Energies

ADDR_BFVA_ACC 0x00000353 Power and PWR_TIME 4


Energies

ADDR_CWATT_ACC 0x0000035D Power and PWR_TIME 4


Energies

ADDR_CVAR_ACC 0x00000367 Power and PWR_TIME 4


Energies

ADDR_CVA_ACC 0x00000371 Power and PWR_TIME 4


Energies

ADDR_CFWATT_ACC 0x0000037B Power and PWR_TIME 4


Energies

ADDR_CFVAR_ACC 0x00000385 Power and PWR_TIME 4


Energies

ADDR_CFVA_ACC 0x0000038F Power and PWR_TIME 4


Energies

ADDR_PWATT_ACC 0x00000397 Power and PWR_TIME 4


Energies

ADDR_NWATT_ACC 0x0000039B Power and PWR_TIME 4


Energies

ADDR_PVAR_ACC 0x0000039F Power and PWR_TIME 4


Energies

ADDR_NVAR_ACC 0x000003A3 Power and PWR_TIME 4


Energies

4.8 Registers with update rate depends on EGY_TIME


Register Name Address Type Update Rate Size in bytes

ADDR_AWATTHR_LO 0x000002E6 Power and EP_CFG and 4


Energies EGY_TIME

ADDR_AWATTHR_HI 0x000002E7 Power and EP_CFG and 4


Energies EGY_TIME

ADDR_AVARHR_LO 0x000002F0 Power and EP_CFG and 4


Energies EGY_TIME

ADDR_AVARHR_HI 0x000002F1 Power and EP_CFG and 4


Energies EGY_TIME

ADDR_AVAHR_LO 0x000002FA Power and EP_CFG and 4


Energies EGY_TIME
ADDR_AVAHR_HI 0x000002FB Power and EP_CFG and 4
Energies EGY_TIME

ADDR_AFWATTHR_LO 0x00000304 Power and EP_CFG and 4


Energies EGY_TIME

ADDR_AFWATTHR_HI 0x00000305 Power and EP_CFG and 4


Energies EGY_TIME

ADDR_AFVARHR_LO 0x0000030E Power and EP_CFG and 4


Energies EGY_TIME

ADDR_AFVARHR_HI 0x0000030F Power and EP_CFG and 4


Energies EGY_TIME

ADDR_AFVAHR_LO 0x00000318 Power and EP_CFG and 4


Energies EGY_TIME

ADDR_AFVAHR_HI 0x00000319 Power and EP_CFG and 4


Energies EGY_TIME

ADDR_BWATTHR_LO 0x00000322 Power and EP_CFG and 4


Energies EGY_TIME

ADDR_BWATTHR_HI 0x00000323 Power and EP_CFG and 4


Energies EGY_TIME

ADDR_BVARHR_LO 0x0000032C Power and EP_CFG and 4


Energies EGY_TIME

ADDR_BVARHR_HI 0x0000032D Power and EP_CFG and 4


Energies EGY_TIME

ADDR_BVAHR_LO 0x00000336 Power and EP_CFG and 4


Energies EGY_TIME

ADDR_BVAHR_HI 0x00000337 Power and EP_CFG and 4


Energies EGY_TIME

ADDR_BFWATTHR_LO 0x00000340 Power and EP_CFG and 4


Energies EGY_TIME

ADDR_BFWATTHR_HI 0x00000341 Power and EP_CFG and 4


Energies EGY_TIME

ADDR_BFVARHR_LO 0x0000034A Power and EP_CFG and 4


Energies EGY_TIME

ADDR_BFVARHR_HI 0x0000034B Power and EP_CFG and 4


Energies EGY_TIME

ADDR_BFVAHR_LO 0x00000354 Power and EP_CFG and 4


Energies EGY_TIME

ADDR_BFVAHR_HI 0x00000355 Power and EP_CFG and 4


Energies EGY_TIME

ADDR_CWATTHR_LO 0x0000035E Power and EP_CFG and 4


Energies EGY_TIME

ADDR_CWATTHR_HI 0x0000035F Power and EP_CFG and 4


Energies EGY_TIME

ADDR_CVARHR_LO 0x00000368 Power and EP_CFG and 4


Energies EGY_TIME

ADDR_CVARHR_HI 0x00000369 Power and EP_CFG and 4


Energies EGY_TIME

ADDR_CVAHR_LO 0x00000372 Power and EP_CFG and 4


Energies EGY_TIME

ADDR_CVAHR_HI 0x00000373 Power and EP_CFG and 4


Energies EGY_TIME

ADDR_CFWATTHR_LO 0x0000037C Power and EP_CFG and 4


Energies EGY_TIME

ADDR_CFWATTHR_HI 0x0000037D Power and EP_CFG and 4


Energies EGY_TIME

ADDR_CFVARHR_LO 0x00000386 Power and EP_CFG and 4


Energies EGY_TIME

ADDR_CFVARHR_HI 0x00000387 Power and EP_CFG and 4


Energies EGY_TIME

ADDR_CFVAHR_LO 0x00000390 Power and EP_CFG and 4


Energies EGY_TIME

ADDR_CFVAHR_HI 0x00000391 Power and EP_CFG and 4


Energies EGY_TIME

4.9 Registers updated on DIP Condition


Register Name Address Type Update Rate Size in bytes

ADDR_DIPA 0x00000411 Power quality DIP 4

ADDR_DIPB 0x00000412 Power quality DIP 4

ADDR_DIPC 0x00000413 Power quality DIP 4

4.10 Registers updated on SWELL Condition


Register Name Address Type Update Rate Size in bytes

ADDR_SWELLA 0x00000415 Power quality SWELL 4


ADDR_SWELLB 0x00000416 Power quality SWELL 4

ADDR_SWELLC 0x00000417 Power quality SWELL 4

4.11 Registers updated on OI Condition


Register Name Address Type Update Rate Size in bytes

ADDR_OIA 0x0000040A Power quality OI 4

ADDR_OIB 0x0000040B Power quality OI 4

ADDR_OIC 0x0000040C Power quality OI 4

ADDR_OIN 0x0000040D Power quality OI 4

4.12 Calibration registers

Register Name Address Type Size in bytes

CF1DEN 0x494 Calibration Register 2

CF2DEN 0x495 Calibration Register 2

CF3DEN 0x496 Calibration Register 2

CF4DEN 0x497 Calibration Register 2

AIGAIN 0x000 Calibration Register 4

AVGAIN 0x00B Calibration Register 4

APHCAL 0x006 Calibration Register 4

APGAIN 0x00E Calibration Register 4

AIRMSOS 0x00C Calibration Register 4

AVRMSOS 0x00D Calibration Register 4

AWATTOS 0x00F Calibration Register 4

AVAROS 0x010 Calibration Register 4

AIFRMSOS 0x013 Calibration Register 4

AVFRMSOS 0x014 Calibration Register 4

AFWATTOS 0x011 Calibration Register 4

AFVAROS 0x012 Calibration Register 4

BIGAIN 0x020 Calibration Register 4

BVGAIN 0x02B Calibration Register 4


BPHCAL 0x026 Calibration Register 4

BPGAIN 0x02E Calibration Register 4

BIRMSOS 0x02C Calibration Register 4

BVRMSOS 0x02D Calibration Register 4

BWATTOS 0x02F Calibration Register 4

BVAROS 0x030 Calibration Register 4

BIFRMSOS 0x033 Calibration Register 4

BVFRMSOS 0x034 Calibration Register 4

BFWATTOS 0x031 Calibration Register 4

BFVAROS 0x032 Calibration Register 4

CIGAIN 0x040 Calibration Register 4

CVGAIN 0x04B Calibration Register 4

CPHCAL 0x46 Calibration Register 4

CPGAIN 0x04E Calibration Register 4

CIRMSOS 0x04C Calibration Register 4

CVRMSOS 0x04D Calibration Register 4

CWATTOS 0x04F Calibration Register 4

CVAROS 0x050 Calibration Register 4

CIFRMSOS 0x053 Calibration Register 4

CVFRMSOS 0x054 Calibration Register 4

CFWATTOS 0x051 Calibration Register 4

CFVAROS 0x052 Calibration Register 4

NIGAIN 0x06D Calibration Register 4

NPHCAL 0x06E Calibration Register 4

NIRMSOS 0x06B Calibration Register 4

You might also like