TECHNICAL REFERENCE MANUAL
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 (sNc) is received by the device.
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
Command
sNuA+xxxxxxxx<trm>
Return successful
gNuA?<trm>
Return error
gN@Ezzz<trm>
Parameters
N Device ID
xxxxxxxx Sampling time in 10 ms (if 0 -> max. possible rate)
zzz Error code
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).
Set command Get command
Command
sNuof+xxxxxxxx<trm> sNuof<trm>
Return successful
gNof?<trm> gNuof+xxxxxxxx<trm>
Return error
gN@Ezzz<trm> gN@Ezzz<trm>
Parameters
N Device ID
xxxxxxxx Offset in 1/10 mm; + positive / - negative
zzz Error code
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).
Set command Get command
Command
sNuga+xxxxxxxx+yyyyyyyy<trm> sNuga<trm>
Return successful
gNuga?<trm> gNuga+xxxxxxxx+yyyyyyyy<trm>
Return error
gN@Ezzz gN@Ezzz
Parameters
N Device ID
xxxxxxxx GainNum
User
yyyyyyyy GainDen
User
GainDen
User
Must not be zero
zzz Error code
Configuration parameters need to be saved (See 9.3.13 Save configuration parameters (sNs) on page 40)
Distance Laser Sensor Page 45/53