Tracking With Buffering - Start (Snf); Read Out - Tracking With Buffering(Snq); Stop/Clear Command (Snc); Signal Measurement (Snm) - Dimetix DLS-C 15 Technical Reference Manual

Distance laser sensor dls-c series fls-c series
Hide thumbs Also See for DLS-C 15:
Table of Contents

Advertisement

T
R
ECHNICAL
9.2.4 Tracking with buffering – Start (sNf)
Triggers continuous measurements of the distance with internal buffering in the device (buffer for one measurement). 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
(Measuring speed depends on target conditions). The last measurement can be read out from the module with the command sNq. The
measurements are continued until the 'sNc' command is issued.
Command
Return successful
Return error
Parameters

9.2.5 Read out - Tracking with buffering(sNq)

After starting "tracking with buffering" with the command sNf, the latest measurement can be read out from the module with the
command sNq. This command does not work if the tracking with buffering is not started.
Command
Return successful
Return error
Parameters

9.2.6 STOP/CLEAR command (sNc)

Stops the current execution and resets the status LEDs as well as the digital outputs.
Command
Return successful
Return error
Parameters

9.2.7 Signal measurement (sNm)

Signal measurement can be done continuously or with a single measurement. The signal strength is returned as a relative number in the
typical range of 0 to 40 millions.
The value for the signal strength is just an approximate value, it differs from device to device and also depends on environment conditions.
Command
Return successful
Return error
Parameters
Distance Laser Sensor
M
EFERENCE
ANUAL
Set command
sNf+xxxxxxxx<trm>
gNf?<trm>
gN@Ezzz<trm>
N
Device ID
xxxxxxxx
Sampling time in 10ms (if 0 -> max possible rate)
zzz
Error code
Command
sNq<trm>
gNq+xxxxxxxx+c<trm>
gN@Ezzz+c<trm>
N
Device ID
xxxxxxxx
Distance in 0.1mm
c
0 = no new measurement since last sNq command
1 = one new measurement since last sNq command, not overwritten
2 = more than one measurement since last sNq command, overwritten
zzz
Error code
Command
sNc<trm>
gN?<trm>
gN@Ezzz<trm>
N
Device ID
zzz
Error code
Command
sNm+c<trm>
gNm+xxxxxxxx<trm>
gN@Ezzz<trm>
N
Device ID
c
0: single measurement
1: repetitive measurements
xxxxxxxx
Signal strength (range 0.. 40 millions)
zzz
Error code
Get command
sNf<trm>
gNf+xxxxxxxx<trm>
gN@Ezzz<trm>
! warning: use with one sensor only
Page 31/53

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents