Technical data

TECHNICAL REFERENCE MANUAL
8 Command set
8.1 General
8.1.1 Command termination <trm>
All commands for the DLS-A(H) are ASCII based and terminated <trm> with <cr><lf>.
8.1.2 Module identification N
Since the module can be addressed with the ID switch, the ID is represented in the commands by N. On the
location of the
N insert the Module ID.
8.1.3 Startup sequence
After power on the DLS-A does all the initializations and sends a start sequence gN?. On these sequence, the N
stands for the Module ID. After sending this start sequence, the DLS-A is ready to measure.
8.2 Operation commands
8.2.1 STOP/CLEAR command (sNc)
Stops the current execution and resets the status LEDs as well as the digital outputs.
Command input:
sNc<trm>
N:
Module number (0..9)
Return data
Successful:
gN?<trm>
Error: gN@Ezzz<trm>
zzz:
Error code
8.2.2 Distance measurement (sNg)
Triggers simple measurement of distance. Each new command cancels an active measurement.
Command input:
sNg<trm>
N:
Module number (0..9)
Return data
Successful:
gNg+xxxxxxxx<trm>
xxxxxxxx:
Distance in 1/10 mm
Error:
gN@Ezzz<trm>
zzz:
Error code
Distance Laser Sensor Page 19/40