RIF300 - Modbus Protocol User Manual v4.0
RIF300 - Modbus Protocol User Manual v4.0
Example: Read the upper range value (assuming the current value is 100.0), the corresponding register
starting address: 524 (0x020C in hexadecimal).
Request frame:
Address Function Code Register Address Register Numbers CRC Check
0x01 0x03 0x02,0x0C 0x00,0x02 0x05,0xB0
The correct response frame:
Address Function Code Data Length Data CRC Check
0x01 0x03 0x04 0x42,0xC8,0x00,0x00 0x6F,0xB5
Page 1
Modbus Protocol
Example: To read accumulation (assuming its current value is 100.0), the corresponding register starting
address: 1034 (0x040A in hexadecimal).
Request frame:
Address Function Code Register Address Register Numbers CRC Check
0x01 0x04 0x04,0x0A 0x00,0x02 0x50,0xF9
The correct response frame:
Address Function Code Data Length Data CRC Check
0x01 0x04 0x04 0x42,0xC8,0x00,0x00 0x6E,0x02
Example: Set the upper range value to 100.0, the corresponding register starting address is: 524 (0x020C
in hexadecimal)
Request frame:
Address Function Code Register Address Register Data Data CRC Check
Numbers Length
0x01 0x10 0x02,0x0C 0x00,0x02 0x04 0x42,0xC8,x00,0x00 0x7F,0x1C
The correct response frame:
Address Function Code Register Address Register Numbers CRC Check
0x01 0x10 0x02,0x0C 0x00,0x02 0x80,0x73
2 Registers Description
Register Data
Access Data
Address Parameter Name Length Description
Type Type
(Hexadecimal) (word)
0x0402 Percentage R 2 float
Register 0x021C holds the unit of
0x0404 Instantaneous Flow R 2 float
instantaneous flow
0x0408 Sensor Value R 2 float Sensor output frequency value
Register 0x021D holds the unit of total
0x040A Total Flow R 2 float
flow
Overflows Number
0x040C R 2 float
of Total
0x0414 Signal Gain R 2 float
unsigned
0x041C Signal Channel R 1
short
0x0421 Current R 2 float
0x0423 Pressure R 2 float
0x0425 Temperature R 2 float
Page 2
Modbus Protocol
Register Data
Access Data
Address Parameter Name Length Description
Type Type
(Hexadecimal) (word)
unsigned
0x0200 Modbus Addr. R/W 1
short Value range:1 ~ 247
{ 0, "Liquid_QV Liquid Volume "},
{1, "Liquid_QM Liquid Mass"},
{2, "Gas_QV Gas Volume"},
{3, "Gas_QM Gas Mass"},
{4, "Steam_QV Steam Volume"},
unsigned
0x0201 Flow Mode R/W 1 {5,"Steam_PT Steam Pressure and
short
Temperature Compensation "},
{6,"Steam_SAT_T Saturated Vapor
(Temperature Compensation)"},
{7,"Steam_SAT_P Saturated Vapor
(Pressure Compensation)"}
{ 0x0000, "Liquid N15" },
{ 0x0001, "Liquid DN20" },
{ 0x0002, "Liquid DN25" },
{ 0x0003, "Liquid DN32" },
{ 0x0004, "Liquid DN40" },
{ 0x0005, "Liquid DN50" },
{ 0x0006, "Liquid DN65" },
{ 0x0007, "Liquid DN80" },
{ 0x0008, "Liquid DN100"},
Meter Size and Fluid unsigned { 0x0009, "Liquid DN125"},
0x0202 R/W 1
Type. short { 0x000A, "Liquid DN150"},
{ 0x000B, "Liquid DN200"},
{ 0x000C, "Liquid DN250"},
{ 0x000D, "Liquid DN300"},
{ 0x000E, "Liquid DN350"},
{ 0x000F, "Liquid DN400"},
{ 0x0010, "Liquid DN450"},
{ 0x0011, "Liquid DN500"},
{ 0x0012, "Liquid DN600"},
{ 0x0100, "Gas DN15" },
Page 3
Modbus Protocol
{ 24, "l/s" },
{ 185, "Scf/h" },
{ 123, "Scf/m" },
{ 186, "Scf/s" },
{ 130, "cf/h" },
{ 15 , "cf/m" },
{ 26 , "cf/s" },
{ 136, "USG/h" },
{ 16 , "USG/m" },
{ 22 , "USG/s" },
{ 30 , "UKG/h" },
{ 18 , "UKG/m" },
{ 137, "UKG/s" },
{ 135, "bbl/d" },
{ 134, "bbl/h" },
{ 253, "special_Qv" }
{ 79, "t/d" },
{ 78, "t/h" },
{ 77, "t/min" },
{ 76, "kg/d" },
{ 75, "kg/h" },
{ 74, "kg/min"},
{ 73, "kg/s" },
{ 72, "g/h" },
{ 71, "g/min" },
{ 70, "g/s" },
{ 83, "lb/d" },
{ 82, "lb/h" },
{ 254, "special_Qm" }
{ 43, "m3" },
{ 41, "l" },
{ 172, "Nm3"},
{ 168, "Scf" },
{ 112, "cf" },
{ 40, "USGal" },
unsigned { 42, "UKgal" },
0x021D Total Flow Unit R 1
short { 46, "bbl"},
{ 61, "kg" },
{ 60, "g" },
{ 62, "ton"},
{ 63, "lb"},
{ 253, "special"},
{ 254, "special"},
Page 5
Modbus Protocol
Page 6
Modbus Protocol
Code short
{ 43, "m3" },
{ 172, "Nm3"}
{ 61, "kg" },
{ 62, "ton"},
unsigned { 168, "Scf" },
0x0247 Output Pulse Unit R/W 1
short { 112, "cf" },
{ 40, "USGal" },
{ 42, "UKgal" },
{ 46, "bbl"},
{ 63, "lb"},
The number of >0
0x023F output pulses per R/W 2 float
pulse unit.
Page 8