LABDMM
2
USER GUIDE
MO.LABDMM2.560.ENG.R1
Pag. 24
32. DATALOGGER COMUNICATION PROTOCOL
Commands format for comunication protocol for DataLogger
In the protocol management the host program sends a command containing an information request (read commands)
or the setting of a parameter (write commands).
The Manometer checks the message format and if valid it executes it and sends a reply string.
In case of error the command is not executed and no answer is provided.
The commands to manage the Datalogger communication protocol are ASCII strings of 8 characters:
LCXXXXX<cr>
where:
L
: Start of message
: 1 character
: ‘L’
C
: Type of request
: 1 character
: from ‘
0
’ a ‘
>
’ - ( HEX : 0x30 to 0x3E)
XXXXX
: Parameter
: 5 digit : X from ‘0’ a ‘9’:
Warning: do not use spaces for the XXXXX parameter, see examples: ‘00037’ : right
‘ 37’ : wrong
DATALOG PARAMETERS SETTING
A DataLogger cycle can be set with just two parameters :
-
Time interval between two acquisition in seconds
-
Total time duration in minutes
READ Time interval between two acquisitions in seconds
command
L800000<cr>
answer
L8YNNNNNN<cr>
Y is ‘R’ when a datalogger cycle is running otherwise Y =’ ‘ (space)
NNNNNN Time interval between two acquisitions of last datalog cycle recorded (6 ASCII char)
NOTE
SET Time interval between two acquisitions in seconds
command
L4XXXXX<cr>
answer
L8YNNNNNN<cr>
Y is ‘R’ when a datalogger cycle is running otherwise Y =’ ‘ (space)
NNNNNN Time interval between two acquisitions of last datalog cycle recorded (6 ASCII char)
NOTE
READ Time Duration of a dataLog Cycle in minutes
command
L900000<cr>
answer
L9YNNNNNN<cr>
Y is ‘R’ when a datalogger cycle is running otherwise Y =’ ‘ (space)
NNNNNN time duration of last datalog cycle recorded (6 ASCII char)
NOTE
SET number of acquisitions to perform
command
L5XXXXX<cr>
answer
L9YNNNNNN <cr>
Y is ‘R’ when a datalogger cycle is running otherwise Y =’ ‘ (space)
NNNNNN time duration of last datalog cycle recorded (6 ASCII char)
NOTE
Start / Stop DataLog commands
START DATALOG COMMAND
command
LXY0000<cr>
Where
X : 1 character :
X=‘0’ : Start a Datalog cycle without temperature
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...