Set/Get Error Value On Ssi Output; Set/Get Measurement Filter Configuration (Snfi); Save Configuration Parameters (Sns) - 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.11 Set/Get error value on SSI output

In case of an error the SSI output will show a value corresponding to this configuration. There can be a replacement value in a range of 0 to
16777215 (24Bit) or 0 to 8388607 (23Bit), the last valid distance value or the error code.
All values are shown either as binary value or gray coded depending on configuration.
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.12 Set/Get measurement filter configuration (sNfi)

The filter applied to the measurement value can be configured according the following command
Command
Return successful
Return error
Parameters
See 3.6 Output value filter on page 16 for additional information.

9.3.13 Save configuration parameters (sNs)

This command saves all configuration parameters, which are set by the commands above. The parameters are written to the Flash Memory.
Command
Return successful
Return error
Parameters
Distance Laser Sensor
M
EFERENCE
ANUAL
Set command
sNSSIe+xxxxxxxx<trm>
gNSSIe?<trm>
gN@Ezzz<trm>
N
Device ID
xxxxxxxx
24
0..2
-1 / 0..2
-1:
-2:
zzz
Error code
Set command
sNfi+aa+bb+cc<trm>
gNfi?<trm>
gN@Ezzz<trm>
N
Device ID
aa
Filter length (0: Filter off, 32: max value)
bb
Number of spikes to suppress (always pairs of min and max value)
cc
max number of errors to suppress.
Condition:
2*bb+cc <= 0.4*aa
zzz
Error code
Command
sNs<trm>
gNs?<trm>
gN@Ezzz<trm>
N
Device ID
zzz
Error code
sNSSIe<trm>
gNSSIe+xxxxxxxx<trm>
gN@Ezzz<trm>
23
-1:
Replacement value
In case of an error, the data value will be replaced by
this replacement value. (depending on the settings, the value
will be converted to gray code):
in case of an error the last distance value will stay at the output.
in case of an error the error code will be at the output
(converted to gray code if configured)
sNfi<trm>
gNfi+aa+bb+cc<trm>
gN@Ezzz<trm>
Get command
Get command
Page 40/53

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents