85
4
Quadrant
Energy Analyzer
4
Quadrant
Energy Analyzer
SECTION 4 MODBUS PROTOCOL
Operator/programmer can reach all measured and calculated data via ModeBUS RTU protocol.
Starting address for measured and calculated data is 0.
E.g.:
Three phase average voltage is read via the 0th and 1th registers (16 bits + 16 bits = 32 bit).
PC (or PLC) Request KLEA Response
Slave ID 01h Slave ID 01h
Function code 03h Function code 03h
Register address – high 00h Byte counts 04h
Register address – low 00h Register value - high (0) 43h
Number of registers– high 00h Register value - low (0) 5Dh
Number of registers – low 02h Register value - high (1) 36h
CRC high C4h Register value - low (1) E0h
CRC low 0Bh CRC high 68h
CRC low 4Dh
The“Byte counts” information of KLEA response is two times“Number of registers” value of “PC
request” (1 register = 2 bytes).
Register value high(0) and low(0) together with register value high(1) and low(1) constitute a
32-bit value. This value should be converted (typecasted) to a flo t value. The flo t value of the
mentioned 32-bit variable is 221.2143555
Tablo 4-4 Read-only Data
Address Parameter Description R/W Unit Data Type
0 V avg. Average voltage of three phases RO V 32 bit flo t
2 I tot. Total current of three phases RO A 32 bit flo t
4 P tot. Total active power of three phases RO V 32 bit flo t
6 Q tot. Total reactive power of three phases RO VAr 32 bit flo t
8 S tot. Total apparent power of three phases RO VA 32 bit flo t
10 CosØ avg. Average CosØ of three phases RO - 32 bit flo t
12 PF avg. Average PF of three phases RO - 32 bit flo t
14 VLL1 Voltage V1-2 RO V 32 bit flo t
16 VLL2 Voltage V2-3 RO V 32 bit flo t
18 VLL3 Voltage V3-1 RO V 32 bit flo t
20 VLL avg. Average of line to line voltage of three phases RO V 32 bit flo t
22 I nötr Neutral current RO A 32 bit flo t
24 THDV tot. Total har. distortion of voltage for three RO % 32 bit flo t
26 THDI tot. Total har. distortion of voltage for three RO % 32 bit flo t