Set Auto Start Configuration (Sna); Set/Get Analog Output Min Level (Snvm); Set/Get Analog Output Value In Error Case (Snve) - 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.3.3 Set auto start configuration (sNA)

This command activates the stand-alone mode with auto start of the DLS-C(H)/FLS-C(H). It triggers continuous measurements of the
distance. 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 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 sNf). Therefore, the latest measurement
can also be read out from the module with the command sNq.
Command
Return successful
Return error
Parameters

9.3.4 Set/Get analog output min level (sNvm)

This command sets the minimum analog output current level (0 or 4 mA).
Command
Return successful
Return error
Parameters
Configuration parameters need to be saved (See 9.3.13 Save configuration parameters (sNs) on page 40)

9.3.5 Set/Get analog output value in error case (sNve)

This command sets the analog output current level in mA in case of an error. This level can be lower than the minimum level set in 9.3.4
Set/Get analog output min level (sNvm).
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
sNA+xxxxxxxx<trm>
gNA?<trm>
gN@Ezzz<trm>
N
Device ID
xxxxxxxx
Sampling time in 10 ms (if 0 -> max. possible rate)
zzz
Error code
Set command
sNvm+x<trm>
gNvm?<trm>
gN@Ezzz<trm>
N
Device ID
x
Minimum output for analog out
0: Minimum current is 0 mA
1: Minimum current is 4 mA
zzz
Error code
Set command
sNve+xxx<trm>
gNve?<trm>
gN@Ezzz<trm>
N
Device ID
xxx
Value in case of an error in 0.1mA
If the value is set to 999, in case of an error keep the last valid distance
zzz
Error code
Get command
sNvm<trm>
gNvm+x<trm>
gN@Ezzz<trm>
Get command
sNve<trm>
sNve+xxx<<trm>
gN@Ezzz<trm>
Page 35/53

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents