M2
Page 12
5.
COMMUNICATION PROTOCOL
M2 can communicate with an ASCII protocol allowing to master and configure all the
functions.
5.1. Commands
5.1.1. Generalities
All the commands must be ended by a « CR » character. (ASCII code 13).
5.1.2. List of general status commands
- Displayed measurement transfer :
?
CR
-
Display
hold
:
STOP
CR
- Display hold finished :
RUN
CR
-
Absolute
mode
:
ABS
CR
-
Relative
mode
:
REL
CR
- Positive direction measurement :
POS
CR
- Negative direction measurement :
NEG
CR
- Select program 1 :
G1
CR
- Select program 2 :
G2
CR
- Turn off the M2 :
OFF
CR
- Calibration in absolute mode :
PRESET
CR
- Display reset in relative mode
:
ZERO
CR
-
Keyboard
lock
:
LOCK
CR
-
Keyboard
unlock
: UNLOCK
CR
- Activate automatic change of program :
AUTO
CR
- Deactivate automatic change
:
MAN
CR
- User interface in French
:
LANG0
CR
- User interface in English :
LANG1
CR
- User interface in Spanish :
LANG2
CR
- User interface in German :
LANG3
CR
- User interface in Dutch :
LANG4
CR
- Left hand side origin bargraph :
BAR0
CR
- Center origin bargraph :
BAR1
CR
- Needle indicator :
BAR2
CR
5.1.3. List of real values commands
Note : letter « x » has to be replaced by the program number (1 or 2).
Write
- Program reference :
xREF=nnnnnnnn
nnnnnnnn = part reference