Download Print this page

OEM TUF-2000F User Manual page 34

Integrated ultrasonic flow meter

Advertisement

TUF-2000F User Manual
For example if the address number 88 flow meter is going to be addressed, the command
should like: NXDV(CR), the decimal value of X should be 88.
The prefix W is strongly recommended for new users.
(3) The 'W' prefix
Usage: W + character string address + basic command
The value of the character string should have a value in the range of 0~65535, except for the
value of 13(0DH carriage return),10(0AH line feed ),42(2AH *),38(26H&).
For example, if the velocity of number 12345 flow meter is wanted, the command can be like:
W12345DV(CR), (57H,31H,32H,33H,34H,35H,44H,56H,0DH in binary numbers)
(4) The command connecter '&'
The command connecter '&' adds several basic commands into a one-line compound
command. The compound command should not exceed a length of over 253 characters. The
prefix 'P' should be added before every basic command, to make the returned results having a
check-sum.
For example, if the 1)flow rate 2)velocity 3)positive totalizer 4) net energy totalizer 5) the AI1
input 6) the AI2 input of the address number 4321 flow meter are wanted to return with
check-sum, the one-line command is like:
W4321PDQD&PDV&PDI+&PDIE&PBA1&PAI2(CR)
The returned data are:
+0.000000E+00m3/d!AC(CR)
+0.000000E+00m/s!88(CR)
+1234567E+0m3 !F7(CR)
+0.000000E+0GJ!DA(CR)
+7.838879E+00mA!59
+3.911033E+01!8E(CR)
Any command can be connected together. For example, if a serious key want be sent, to set
up the outer diameter to 1234.567 mm, a compound command will be
MENU11&M1&M2&M3&M4&M:&M5&M6&M7&M=(CR)
5.3 the compatible communication protocols
34

Advertisement

loading