Address
4X
Register
s
Address
Registers
description
Attribut
e
Value
40011
10
TempH=0x00
TempL 8-bit inverter's internal temperature
R
16-bit register
40012
11
Hi=0x00
TonH (Lo)
R
16-bit register
40013
12
TonM
TonL 24-bit operating hour counter
R
16-bit register
40014
13
Trecl/UocH
Status1, bit4=1 :
Trecl/UocL
Status1, bit4=0 :
16-bit time from reclosing / 16-bit open terminal voltage
R
16-bit register
40015
14
Hi = 0x00
Rac/Phase network impedance measurement
R
16-bit register
8.2. FRAME STRUCTURE OF MODBUS-RTU PROTOCOL
Device address (1-byte) Function (1-byte)
Dane (n-bytes)
CRC-16Lo (1-byte)
CRC-16Hi (1-byte)
8.3. USED FUNCTIONS OF MODBUS-RTU PROTOCOL
Function code
Description
03 (0x03)
Readout measurement values and Inverter state from registers MODBUS-RTU
04 (0x04)
Readout measurement values and Inverter state from registers MODBUS-RTU
8.3.1. FUNCTION 0x03 / 0x04 - READOUT VALUE MEASUREMENTS AND STATUS FROM
INVERTER
8.3.1.1. READOUT OF CURRENT MEASURED VALUE STORED IN 16-BIT REGISTER [4X / 3X-
REFERENCES]
Function 0x03 / 0x04 are used for readout of status and measurement values from the INVERTER.
The measurement values readout form MODBUS-RTU register is presented by a 16-bit register.
The registers with the measurement value are in the integer format of 16-bit sign (in C/C++ type short int).
The actual measurement value is obtained from the read register using the following algorithms, using the appropriate factor value DW
(see table below).
Table of divider values DW
Measurement
Register
Description
Unit of
measure
DW factor value
Solar panel voltage
Usol
[V] DC
10
Solar panel current
Isol
[A] DC
100
AC network voltage frequency
Fac
[Hz]
100
AC network voltage
Uac
[V] AC
1
AC network current
Iac
[A] AC
100
AC network power
Pac
[W] AC
1
AC network energy meter
Eac
[kWh] AC
100
Inverter's internal temperature
Temp
[°C]
1
Operating hour counter
Ton
[h]
60
Time from reclosing
Trec
[s]
1
Network impedance measurement
Rac
[W]
100
Algorithm 1.
Readout register is saved to regular type variable (float) and then divide it by the factor
DW
// Fragment of code in C language (VS6.0) presenting above algorithm
short int siMeasurementReg;
float fMeasurmentValue
......
fMeasurmentValue = (float)siMeasurementRegister;
fMeasurmentValue = fMeasurmentValue /
DW
;
13
ADA-4040PC3