![MRC MRL3 15 Technical Reference Manual Download Page 21](http://html1.mh-extra.com/html/mrc/mrl3-15/mrl3-15_technical-reference-manual_1845446021.webp)
T
ECHNICAL
R
EFERENCE
M
ANUAL
Distance Laser Sensor
Page 21/43
8
Command set
8.1 General
8.1.1 Command termination <trm>
All commands for the MRL-2 (H) are ASCII based and terminated
<trm>
with
<cr><lf>.
8.1.2
Module identification
N
Since the module can be addressed with the ID switch, the ID is represented in the commands by
N
. On the
location of the
N
insert the Module ID.
8.1.3 Parameter separator
The command syntax uses the '
+
' sign as parameter separator. The '
+
' sign can be replaced by the minus '
-
'
sign if applicable by the command.
8.1.4
Module identification
N
All configuration commands that are used to set configuration values can also be used to read the currently
set value by omitting the parameter. The command syntax is described as follows:
Set Command
Get Command
Command
s
N
uof+xxxxxxxx<trm>
s
N
uof<trm>
Return Successful
g
N
of?<trm>
g
N
uof+
xxxxxxxx
<trm>
Return Error
g
N
@E
zzz
g
N
@E
zzz
Parameters
N
Module ID
xxxxxxxx
Offset in 1/10 mm; + positive / - negative
zzz
Error code
8.1.5 Startup sequence
After power on the MRL-2 does all the initializations and sends a start sequence
g
N
?
. On this sequence, the
N
stands for the Module ID. After sending this start sequence, the MRL-2 is ready to measure.