Technical data

TECHNICAL REFERENCE MANUAL
8.4 Command set for single module operation (Compatibility)
The commands described in this chapter are compatible with commands form the DISTO OEM Module 3.0.
These commands only work properly for point-to-point connections of the serial interface from the module to
the PC or any other controller.
Never use these commands if more than one module is connected to the RS422 line
8.4.1 RESET command (a)
Resets the module, the status LEDs and the digital outputs.
Command input:
a<trm>
Return data
Successful:
?<trm>
Error: @Ezzz<trm>
zzz:
Error code
8.4.2 OFF command (b)
Switches the module Off. To switch the module On, use the “a” command.
Command input:
b<trm>
Return data
Successful:
?<trm>
Error: @Ezzz<trm>
zzz:
Error code
8.4.3 STOP/CLEAR command (c)
Stops the current execution and resets the status LEDs as well as the digital outputs.
Command input:
c<trm>
Return data
Successful:
?<trm>
Error: @Ezzz<trm>
zzz:
Error code
8.4.4 Distance measurement (g)
Triggers simple measurement of the distance. Each new command cancels an active measurement. The status
LEDs and the digital outputs are updated corresponding to the new measured distance.
Command input:
g<trm>
Return data
Successful:
31..06+xxxxxxxx 51....+00000000<trm>
xxxxxxxx:
Distance in 1/10 mm
Error:
@Ezzz<trm>
zzz:
Error code
Distance Laser Sensor Page 27/40