TECHNICAL REFERENCE MANUAL
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.
Set command Get command
Command
sNSSIe+xxxxxxxx<trm> sNSSIe<trm>
Return successful
gNSSIe?<trm> gNSSIe+xxxxxxxx<trm>
Return error
gN@Ezzz<trm> gN@Ezzz<trm>
Parameters
N Device ID
xxxxxxxx 0..2
24
-1 / 0..2
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):
-1: in case of an error the last distance value will stay at the output.
-2: in case of an error the error code will be at the output
(converted to gray code if configured)
zzz Error code
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
Set command Get command
Command
sNfi+aa+bb+cc<trm> sNfi<trm>
Return successful
gNfi?<trm> gNfi+aa+bb+cc<trm>
Return error
gN@Ezzz<trm> gN@Ezzz<trm>
Parameters
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
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
Command
sNs<trm>
Return successful
gNs?<trm>
Return error
gN@Ezzz<trm>
Parameters
N Device ID
zzz Error code
Distance Laser Sensor Page 40/53