LABDMM
2
USER GUIDE
MO.LABDMM2.560.ENG.R1
Pag. 23
31. USB/RS232 COMMUNICATION PROTOCOL
Normally the USB port of
LABDMM2
is automatically recognized by the Windows operating system, otherwise it is
necessary to install the driver found in the Driver folder of the disk attached to the manometer.
The pressure gauge can alternately manage communication via USB port or via RS232 serial port (option), both USB and
RS232 communications use the same protocol.
In the Parameter Menu it is possible to select whether to manage the transmission on request
cont0
or in continuous
mode
cont1
.
From a software point of view, USB communication is compatible with RS232C communication.
Communication protocol: 8 data bits, 1 bit stop, No parity
Baud Rate (only for RS232): 9600 (in the case of USB any valid baud rate can be set)
TRANSMISSION ON REQUEST OF PRESSURE VALUE (cont0)
For pressure reading on the pressure gauge use the command:
p000cr
(cr =
carriage return
)
Data format transmitted:
SXX.XXX UM Z PY LB cr
S
1 character : sign (ASCII + o - )
XX.XXX
Pressure measured value (with decimal point)
UM
Pressure unit code (2 digit):
00
= bar,
01
= mbar,
02
= psi
03
= MPa,
04
= kPa,
05
=kg/cm2,
06
=mHg,
07
=mmHg,
08
=mmH
2
0,
09
=mH
2
O
Z
1
character
: ‘Z’
ZERO function is active otherwise ‘ ‘ (space).
PY
2 character :
p+
= peak positive functionis active :
p-
= negative peak function is active.
‘ ‘(2 spaces) – normal mode
LB
2 characters : ‘
LB’
is a low battery condition is detected otherwise ‘ ‘ (2 spaces)
cr
1 character : String Terminator CR (decimal 13) carriage return
To read the temperature use the following command:
T0000cr
The format of the response is as follows:
T0xxx.xcr
where xxx.x is the temperature
PARAMETER PROGRAMMING COMMANDS
Format of parameter programming commands:
p
Start of command (ASCII ‘p’)
n
1 character : identify the command
XX
2 characters : parameter value in ASCII
cr
1 character : String Terminator CR (decimal 13) carriage return
Pressure Unit
p1xxcr
000
= bar
01
= mbar
02
= psi
03
= MPa
04
= kPa
005
=kg/cm
2
06
=mHg
07
=mmHg
08
=mmH
2
0
09
=mH
2
O
Digital Filter
p2xxcr
xx = valori
00
5
Resoution
p3xxcr
00
= 1,
01
= 2,
02
=5,
03
=10
Auto Power Off Time
p4xxcr
xx = valori
01
30
minuti
Zero
p6xxcr
00
= OFF,
01
= ON
Positive Peak Mode
p7xxcr
00
= OFF,
01
= ON
Negative Peak
Mode
p8xxcr
00
= OFF,
01
= ON
CONTINUOUS TRANSMISSION OF THE PRESSURE VALUE.
By setting
cont 1
in the Parameter Menu, the transmission of the pressure value takes place continuously every 100ms.
The transmitted message has the same format as the one already described.
Summary of Contents for LABDMM2
Page 5: ......
Page 6: ......
Page 7: ......
Page 18: ......
Page 27: ...LABDMM2 Manuale Operativo MO LABDMM2 560 R0 Pag 26 33 Dimensioni mm CONTENITORE DA INCASSO...
Page 28: ...MO LABDMM2 560 ENG R1 PROFESSIONAL DIGITAL MANOMETER for PRESSURE and TEMPERATURE measurement...
Page 57: ...LABDMM2 USER GUIDE MO LABDMM2 560 ENG R1 Pag 29 34 Dimensions mm BUILT IN VERSION...