Revision: 3.0.3
Slave Address Operation
Function Code
1 byte 1 byte
0x01~0xF7 0x03
The slave returns the data frame format:
Slave Address Read Operation
Function Code
1 byte 1 byte
0x01~0xF7 0x03
N*=data register number
The range of flow meter addresses
1 to 247 (Hexadecimal: 0x01
example, decimal number "11" displayed on Menu 46 means the address of the flow meter in the MODBUS
protocol is 0x0B.
The CRC Verify Code adopts CRC-16-IBM
gained by the cyclic redundancy algorithm
method. Low byte of the verify code is at the beginning while the high
byte is at the end.
For example, to read the address 1 (0x01) in
unit(m3/h), namely reads 40005 and
0x01 0x03
Flowmeter Address Function Code
Flowmeter returned data is (assuming
the current flow=1.234567m3/h)
0x01 0x03
Flowmeter Address Function Code
The four bytes 3F 9E 06 51 is in the
IEEE754 format single precision floating point form of 1.2345678.
Pay attention to the data storage
order of the above example.
used directly to input the required data
in the corresponding variable address,
beginning, such as the above example
9.3.2.3 Error Check
The flowmeter
only returns one error code 0x02 which means data first address
For example, to read address 1 (0x01
) of the flowmeter 40002 register data
considers it to be invalid data, and send
0x01 0x03
Flowmeter Address Function Code
Flowmeter returned error code:
0x01 0x83
Flowmeter Address Error Code
9.3.2.4 MODBUS
The flowmeter MODBUS Register has a
Read Register Address List (use
D116
Series Ultrasonic Flowmeter
First Address Register
Register Number
2 bytes 2 bytes
0x0000~0xFFFF 0x0000~0x7D
Number of Data
Bytes
Data Bytes
1 byte N*x2 byte
2xN* N*x2
1 to 247 (Hexadecimal: 0x01
~0xF7 ), and can be
checked in the Menu 46. For
example, decimal number "11" displayed on Menu 46 means the address of the flow meter in the MODBUS
(polynomial is X
16
+X
15
+X
2
+1, shield character is 0x
method. Low byte of the verify code is at the beginning while the high
the RTU mode, if the
instantaneous flow rate uses hour as
the read command is as follows:
0x00 0x04 0x00 0x02
Register Address Register Number CRC
the current flow=1.234567m3/h)
0x04 0x06 0x51 0x3F 0x9E
Data Bytes Data(1.2345678) CRC
IEEE754 format single precision floating point form of 1.2345678.
order of the above example.
Using C language to explain
in the corresponding variable address,
the low byte
, 3F 9E 06 51 data stored in order as 06 51
only returns one error code 0x02 which means data first address
in error.
) of the flowmeter 40002 register data
in the RTU
0x00 0x01 0x00 0x01
Register Address Register Number CRC
0x02 0xC0 0xF1
Extended Code CRC Verify Code
a single write register.
read)
Series Ultrasonic Flowmeter
Page 44 of 53
Verify Code
2 bytes
CRC(Verify)
y Code
2 bytes
checked in the Menu 46. For
example, decimal number "11" displayed on Menu 46 means the address of the flow meter in the MODBUS
1) which is
method. Low byte of the verify code is at the beginning while the high
instantaneous flow rate uses hour as
a
IEEE754 format single precision floating point form of 1.2345678.
, pointers can be
at the
.
flowmeter