Set/Get Digital Output Levels (Snn) - 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.7 Set/Get digital output levels (sNn)

Sets the distance levels at which the digital outputs are switched ON and OFF with a hysteresis.
Two different situations are possible:
ON level > OFF level
DO
closed
open
0
Off
ON level < OFF level
DO
closed
open
0
On
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
Distance
On
Distance
Off
Set command
sNn+xxxxxxxx+yyyyyyyy<trm>
gNn?<trm>
gN@Ezzz<trm>
N
Device ID
n
Digital output port (1 or 2)
xxxxxxxx
Distance ON level in 1/10 mm for switching digital output ON
yyyyyyyy
Distance OFF level in 1/10 mm for switching digital output OFF
zzz
Error code
The ON level of the hysteresis is larger than the OFF level. With an increasing
distance, the digital output is switched on (open drain output is closed) when
the distance exceeds the ON level. With a decreasing distance, the digital output
is switched off (open drain output is open) when the distance falls below the
OFF level.
The ON level of the hysteresis is smaller than the OFF level. With a decreasing
distance, the digital output is switched on (open drain output is closed) when
the distance falls below the ON level. With an increasing distance, the digital
output is switched off (open drain output is open) when the distance exceeds
the OFF level.
sNn<trm>
gNn+xxxxxxxx+yyyyyyyy<trm>
gN@Ezzz<trm>
Get command
Page 37/53

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents