T
ECHNICAL
R
EFERENCE
M
ANUAL
Distance Laser Sensor
Page 25/43
8.3.1 Set communication parameter (s
N
br)
Sets the communication parameters for the serial interface.
This command saves all configurations Flash Memory.
The changed baud rate is and activated after the next ower ON.
Bold
= default parameters (first use or after reset)
Command
Command input:
s
N
br+
y
<trm>
Return s
uccessful:
g
N
?<trm>
Return error:
g
N
@E
zzz
<trm>
Parameters:
N
:
Module ID
y
:
Defines the new settings
% Baud rate
Data bit
Parity
% Baud Rate Data bit
Parity
0 1200
8
N
5 4800
7
E
1 9600
8
N
6 9600
7
E
2 19200
8
N
7 19200
7
E
3 1200
7
E
8 38400
8
N
4 2400
7
E
9 38400
7
E
8.3.2 Set automatic mode (s
N
A)
This command activates the automatic mode of the MRL3 (H). It triggers continuous measurement of the distance and
sets the analog and digital outputs according to the measured distance values. The rate of measurements is defined with
the sampling time. If the sampling time is set to zero, the measurements are executed as fast as possible.
The automatic mode is active until the 's
N
c' command is issued.
The operation mode is stored in the MRL3 (H) and activated immediately. This mode is also activated after
next power ON.
Internally “tracking with buffering” is started (command
s
N
f
). Therefore the last measurement can also be
read out from the module with the command
s
N
q
.
Command
Command
s
N
A+
xxxxxxxx
<trm>
Return Successful
g
N
A?<trm>
Return Error
g
N
@E
zzz
<trm>