
LDM41E and LDM42E Manual
Commands and Parameter
ASTECH GmbH
Page 27
8.7
DM – distance measurement
Input parameter
SD, SE, SF, ST, OF
Output
RS232/RS232, digital switching output, analog output
DM mode triggers a single measurement (single shot)
8.8
TP – internal temperature [°C]
TP queries the value of the inner LDM41E and LDM42E temperature.
Note: In tracking mode, the inner temperature may exceed the surrounding
temperature level by as much as 10 K.
8.9
SA – display/set average value [1..20]
SA allows you to calculate a floating average value from 1 to 20 measured
values. Calculation is based on this formula:
Average value:
𝑥 =
𝑥
1
+ 𝑥
2
+ 𝑥
3
+... + 𝑥
𝑛(20)
𝑛
Standard setting is 1 (no average).
8.10
SD – display/set display format [d/h/s}]
SD selects the output format of measured value data. There are three modes
available:
Table 9 : Output format LDM41E and LDM42E
Parameter
Output
Format
d
decimal
xxx.xxx<CR><LF>
x=0…9
h
hexadecimal
<SPACE>xxxxxx<CR><LF>
x=0...F
s
decimal with signal quality
xxx.xxx<SPACE>yyyyyy<CR><LF>
x=0…9; y=0…9
SD affects all commands that output a distance value.
An output value is calculated from a given measured distance value (in mm),
multiplied by the scale factor SF.