
MAGB2 User Guide
26
V1.7 2021-10-01
When writing to the Holding registers, data validity is not checked. Writing incorrect values can result in
unexpected behaviour of the device. In any further explanations, the following data types are used:
•
Longint
– Number consisting of 32 bits, formed by 2
Modbus registers. It is necessary to write both Low and
High Word of this item, the register number always has
to be an even number. Not meeting these requirements
will cause an Exception 2 error (Illegal data address). In
case information about the number of decimals is
available, then the final number is given by the following
formula: Y = X * 10^(-DEC), where Y is the final
number, X the read number, and DEC the number of
decimals.
•
Bool
– this item can be read, but its value has no
meaning. Writing value 1 to this item will cause an
unspecified operation to be performed (resetting the
flow totalizers, etc.) It is necessary to write both Low
and High Word of this item, the register number always
has to be an even number. Not meeting these
requirements will cause an Exception 2 error (Illegal
data address).
•
Float
– IEEE 754-1985 single precistion (Approximately
7 decimal digits), number consisting of 32 bits, formed
by 2 Modbus registers. It is necessary to write both Low
and High Word of this item, the register number always has to be an even number. Not meeting these
requirements will cause an Exception 2 error (Illegal data address). Full range ±1.18×10
−38
to ±3.4×10
38
.
It is always needed to read 4 bytes (2 words).
11.4. Password
To enter the "User settings and Factory settings" sections, it is necessary to enter a password.
Modbus
register
Modbus
address
Data type
No. of
decimal
Min
Value
Max Value
Description
Read/
Write
2
1
Longint
0
0
9999
Password (User)
R*/W
4
3
Longint
0
0
9999
Password (Service)
R*/W
6
5
Longint
0
0
99999999
Password (Factory)
R*/W
8
7
Longint
0
0
9999
Authorize**
R*/W
10
9
Longint
0
0
9999
Password (External
measurements)
R*/W
*) For safety purposes, it is not possible to read this item directly. In case a 0 is read from this register, it
means that no valid password was entered, and the given section is not accessible. In case a 1 is read, a
valid password was entered and hence the given section can be accessed freely. To close the section, you
write any possible invalid password to the password entry.
**) In case of lost user password it is possible to restore it using serial number of the flowmeter. Send the
serial number of the meter together with the authorize request to support channel of the company.
Data type memory map
Modbus
register
Data Type
Low/High
Word
2
Longint
L
3
H
4
Bool
L
5
H
6
Float
L
7
H