InteliLite4 AMF20 Global Guide
197
Modbus TCP examples
Reading of Battery voltage
Export table of values from InteliConfig
Table: Values
Allowed Modbus functions: 03, 04
Register
address
Com.Obj. Name Dimension Type Len Dec Min Max Group
01053 8213
BatteryVoltag
e
V Integer 2 1 0 400
Controller
I/O
Request: (Numbers in Hex)
00 00 00 00 00 06 01 03 04 1D 00 01
transaction
identifier
(usually 0)
protocol
identifier
(usually 0)
Length of
data bytes
following
Controller
address
Modbus
function
Register
address
041D
hex
=
1053
dec
Number of
registers
Response: (Numbers in Hex)
00 00 00 00 00 05 01 03 02 00 F0
transaction
identifier
(usually 0)
protocol
identifier
(usually 0)
Length of
data bytes
following
Controller
address
Modbus
function
Length of
data
02
hex
= 2
bytes read
Data
00F0
hex
=
240
dec
We read a value of 240 from register 01053. From the table of Modbus registers we get the dimension of read
value and "Dec". Dec=1 means shift one decimal place to the right. So the battery voltage is 24.0 V.
6 back to Communication