E126-P-EL
User Manual
FW_E126-P-EL_M_v0301-01_EN
Page 63
C.2
RUNTIME VARIABLES OF THE UNIT
When reading runtime variables, the given value may differ slightly from the value that is displayed
on the display – this is because the display is limited in the number of digits and may have a slower
update rate.
When variables are read in integer format, the returned values are given including the decimals. For
example, when two decimals are selected for total, and total has a value of 123456,78 the display
will show 23456,78 while communication will read a “total” of 12345678 (note that the decimals
should be adapted according to the setting in “total decimals”, in this case 2).
RUNTIME VARIABLES OF THE E126-P-EL - INTEGER BASED – INDIVIDUAL READ
PDU
ADDRESS
HOLDING
REGISTER
VARIABLE
NO. OF
REG’S
R/W
TYPE VALUES / REPRESENTATION / REMARKS
[d] 255
[h] 0x00FF
40256
battery status
1
R
uint16 0 = unknown
1 = normal
2 = low battery
[d] 516
[h] 0x0204
40517
error status
(bitfield)
1
R
uint16 [d] 0 = no error
[d] 1 = display error
[d] 2 = data-storage error
[d] 4 = initialization error
[d] 16 = IO configuration error base
[d] 32 = IO configuration error interface
[d] 64 = Analog input error
[d] 128 = Automatic K-factor conversion error
[d] 256 = PT100 ADC error (type TP only)
[d] 512 = Total S-factor calculation error
[d] 1024 = TPC factor calculation error
[d] 2048 = Temperature sensor out of range error
[d] 540
[h] 0x021C
40541
temperature
2
R
int32 -999.9…999.9
Representation: unit depending on variable 209
[d] 560
[h] 0x0230
40561
accumulated
total
3
R
uint48 0.000…99999999999999
Representation: unit, decimals depending on variables 32, 33
[d] 566
[h] 0x0236
40567
total
3
R *
uint48 0.000…9999999999
Representation: unit, decimals depending on variables 32, 33
[d] 572
[h] 0x023C
40573
flowrate
2
R
uint32 0.000…9999999
Representation: unit, time, decimals depending on variables
48, 49, 50
[d] 4864
[h] 0x1300
44865
TPC factor
2
R
uint32 0.0001…999.9999
Multiplication factor for temperature and pressure
compensation
[d] 4640
[h] 0x1220
44641
Total command
register
1
R/W
uint16 Commands:
0x0102 (258): Clear total
* Clearing total: Total can be cleared by writing the correct command to the total command register, as shown above.
It is also still possible to use the old method: Write a value of 0 to all the 3 registers of total in a single write
action. Writing any other value will result in the reply of an error message.
Note: The runtime variables shown in above list must always be read or written individually, for the indicated
number of registers, in 1 single action!
RUNTIME VARIABLES OF THE E126-P-EL - INTEGER BASED – CONTIGUOUS READ
PDU
ADDRESS
HOLDING
REGISTER
VARIABLE
NO. OF
REG’S
R/W
TYPE VALUES / REPRESENTATION / REMARKS
[d] 6146
[h] 0x1802
46147
total
4
R
uint64 0.000…9999999999
Representation: unit, decimals depending on variables 32, 33
[d] 6150
[h] 0x1806
46151
accumulated
total
4
R
uint64 0.000…99999999999999
Representation: unit, decimals depending on variables 32, 33
[d] 6154
[h] 0x180A
46155
flow rate
2
R
uint32 0.000…9999999
Representation: unit, time, decimals depending on variables
48, 49, 50
[d] 6156
[h] 0x180C
46157
current day total
4
R
uint64 0.000…9999999999
Representation: unit, decimals depending on variables 32, 33
[d] 6160
[h] 0x1810
46161
previous day
total
4
R
uint64 0.000…9999999999
Representation: unit, decimals depending on variables 32, 33