Revision: 3.0.3
Prefix P
The character P can be added before e
verification. The method of counting
For example: Command DI+(CR) (the
data is +10m3. (CR) (the re
37H, 45H, 2BH, 30H, 6DH, 33H, 20H
+10m3! F7 (CR), "!" mean
the two bytes after it is (2BH+31H+3
=(2)F7H)
Note: there can be no data before "!", and a
Prefix W
Usage of prefix W: W+ numeric string add
0~65535, except 13 (0DH carriage re
instantaneous velocity of No. 12345 fl
issued. Corresponding binary code is 57
Function sign &
Function sign & can add up to 5 basic co
command sent to the flowmeter toget
4321 flowmeter is requested to simult
velocity, 3] positive total flow, 4] ene
command is issued:
W04321PDQD&PDV&PDI+&PDI-&
Simultaneously returned data are like
+0.00m3/d! AC(CR)
+0.00m/s! 88(CR)
+10m3! F7(CR)
+0.0m3! DA(CR)
+0.0 m3! DA(CR)
9.3.2
MODBUS Communication
This MODBUS Protocol uses RTU transmiss
X
16
+X
15
+X
2
+1, shield character is
0xA001
) w
MODBUS RTU mode uses hexadecimals to
This MODBUS-I Protocol uses RTU transmi
is X
16
+X
15
+X
2
+1, shield character is
0xA001
MODBUS-I RTU mode uses hexadecimals to
9.3.2.1
MODBUS Protocol Functi
The flow meter protocol supports the followi
Function Code
0x03
0x06
9.3.2.2
MODBUS Protocol functi
The host sends out the read register informati
D116 Series Ultrason
re every basic command. It means that the transferred da
ng the verified sum is achieved by binary system addition.
(the relative binary system data is 44H, 49H, 2BH, 0DH
he relative binary system data is 2BH, 31H, 32H, 33H, 34
20H, 0DH, 0AH). And command PDI+ (CR) transferred da
eans the character before it is the sum character, and the v
+32H+33H+34H+35H+ 36H+37H+45H+2BH+30H+6D
, and also may be a blank character.
tring address code +basic command. Value range of the nu
age return), 10 (0AH line feed), 42 (2AH *) and 38 (26H &)
5 flowmeter is to be accessed, the command W12345DV
code is 57H, 31H, 32H, 33H, 34H, 35H, 44H, 56H and 0DH
sic commands (Prefix P is allowed) together to form a co
ogether. The flowmeter will answer simultaneously. For exa
ultaneously return: 1] instantaneous flow, 2] instantaneou
energy total, 5] AI1 analogous input current value, the fol
&PDIN(CR)
likely as follows:
on Protocol
ission mode. The Verification Code uses CRC-16-IBM
which is gained by the cyclic redundancy algorithm me
to transmit data.
mission mode. The Verification Code uses CRC-16-IBM
1
) which is gained by the cyclic redundancy algorithm
to transmit data.
ction Code and Format
wing two-function codes of the MODBUS:
Performance Data
Read register
Write single register
ction code 0x03 usage
ation frame format:
sonic Flowmeter
Page 43 of 53
ed data has CRC
ition.
H) transferred
, 34H, 35H, 36H,
ed data is
he verified sum of
6DH+33H+20H
he numeric string is
&). If the
DV(CR) can be
DH
a compound
r example, if No.
aneous flow
he following
BM (polynomial is
method.
BM (polynomial
hm method.