User’s Manual
Rev1.0
Date:15/07/2015 User’s Manual
33
/
47
Code Name
Meaning
01
Illegal function
code
Flowmeter can not process the function code in a command. Maybe
this function code can only be used on a new device, or it can also
indicate that the flowmeter is under error statues.
02
Illegal address
The flowmeter can not process with the address in the command. The
initiate address plus address diversion are higher than the highest
address.
03
Illegal contents
of value
The content of the value in the command is not acceptable for the
flowmeter.
04
Flow
meter
function failed
An unrecoverable failure happened when the flowmeter is trying to
reponse.
05
Reponse
The flow meter will take a long while to process the command. So
reponse this error code to prevent the host from processing a overtime
command.
06
Flowmeter
is
busy
To advise the host that the flowmeter is processing a command which
will takes a long time. So the host should resend the command when the
flowmeter is free.
6.7 Examples of communication
The flowmeter’s instrument Modbus address is 01, baud rate=4800 (C08=01, C09=05, C40=02).
Example 1:
Read flow rate F,F=916.49 (4 bytes float)
Host command
:
01 03 00 00 00 02 C4 0B
Flowmeter reponse
:
01 03 04
44 65 1F CE
77 78
Example 2:
Read total flow
Host command
:
01 03 00 06 00 02 24 0A
Flowmeter reponse
:
01 03 04
44 9D 1E 3F
36 9D
Example 3:
Read all the value displayed on the flowmeter, including flow rate, temperature, pressure,
total flow ….. all together 4 value (16 bytes)
Host command
:
01 03 00 00 00 08 44 0C
Flowmeter reponse
:
01 03 10
44 65 1F CE
(
flow rate
=
916.49
)
00 00 00 00
(
temperature
=
0
)
00 00 00 00
(
pressure
=
0
)
44 9D 1E 3F
(
total flow in float
=
1256.94
)
B7
(CRCL)
BF
(CRCH)
7 Introduction of HART communication protocol
7.1 HART commands