Special User Configuration Commands; Set User Auto Start Configuration (Snua); Set/Get User Distance Offset (Snuof); Set/Get User Distance Gain (Snuga) - 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.5 Special User configuration commands

9.5.1 Set user auto start configuration (sNuA)

This command activates the user stand-alone mode with auto start of the DLS-C(H)/FLS-C(H). It triggers continuous measurement of the
distance. The distance output at the serial interface (RS-232 and RS-422) is corrected with the user offset and user gain as set with the
command 9.5.2 Set/Get user distance offset (sNuof) and 9.5.3 Set/Get user distance gain (sNuga) on page 45. The analog, digital and SSI
outputs are updated according to the measured distance values. The sampling time defines the measurement rate. If the sampling time is
set to zero, the measurements are executed as fast as possible (depending on target conditions).
The user stand-alone mode with auto start is active until the STOP/CLEAR command (
The operating mode is stored in the DLS-C(H)/FLS-C(H) and activated immediately. This mode is also
activated after next power ON.
Internally, "tracking with buffering" is started (command sNuf). Therefore, the latest measurement
can also be read out from the module with the command sNuq.
Command
Return successful
Return error
Parameters

9.5.2 Set/Get user distance offset (sNuof)

The user can set an individual overall offset correction for all distance measurement commands in this 'Special User Command' section. The
standard distances measurement commands are not involved (See 3.5.1 Offset / Gain on page 15).
Command
Return successful
Return error
Parameters
Configuration parameters need to be saved (See 9.3.13 Save configuration parameters (sNs) on page 40)

9.5.3 Set/Get user distance gain (sNuga)

The user can set an individual user gain to create user defined output values. The output value is calculated as follows (See 3.5.1 Offset /
Gain on page 15).
Command
Return successful
Return error
Parameters
Configuration parameters need to be saved (See 9.3.13 Save configuration parameters (sNs) on page 40)
Distance Laser Sensor
M
EFERENCE
ANUAL
Command
sNuA+xxxxxxxx<trm>
gNuA?<trm>
gN@Ezzz<trm>
N
Device ID
xxxxxxxx
Sampling time in 10 ms (if 0 -> max. possible rate)
zzz
Error code
Set command
sNuof+xxxxxxxx<trm>
gNof?<trm>
gN@Ezzz<trm>
N
Device ID
xxxxxxxx
Offset in 1/10 mm; + positive / - negative
zzz
Error code
Set command
sNuga+xxxxxxxx+yyyyyyyy<trm>
gNuga?<trm>
gN@Ezzz
D
N
evice ID
xxxxxxxx
GainNum
yyyyyyyy
GainDen
GainDen
zzz
Error code
sNc
sNuof<trm>
gNuof+xxxxxxxx<trm>
gN@Ezzz<trm>
sNuga<trm>
gNuga+xxxxxxxx+yyyyyyyy<trm>
gN@Ezzz
User
User
Must not be zero
User
) is received by the device.
Get command
Get command
Page 45/53

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents