Command set
10.2 Operation commands
10.2.1 Distance measurement (sNg)
Trigger simple measurement of distance. Each new command cancels an active measurement.
Command
Return successful gNg+xxxxxxxx<trm>
Return Error
Parameters
10.2.2 Single sensor tracking (sNh)
Trigger continuous measurement (tracking) of the distance. This command is not to be used with more
than one LLB on the RS-232/RS-422 line. The measuring is carried out as quickly as possible
(measurement speed is dependent on the target composition). The measurements are continued until
the STOP/CLEAR command (sNc) is issued. The status LEDs and the digital outputs are updated
corresponding to the new measured distance.
Command
Return successful
Return Error
Parameters
TR-Electronic GmbH 2011, All Rights Reserved
Page 132 of 156
Command
sNg<trm>
gN@Ezzz<trm>
Device ID (0..9)
N
Distance in 1/10 mm
xxxxxxxx
Error code
zzz
•
Danger of physical injury and damage to property by undefined
interface states !
Never use this command if more than one device is connected to the
-
RS-232 / RS-422 line
Command
sNh<trm>
gNh+xxxxxxxx<trm>
<trm>
gN@Ezzz
Device ID (0..9)
N
Distance in 0.1 mm
xxxxxxxx
Error code
zzz
TR - ELE - BA - DGB - 0021 - 06
Printed in the Federal Republic of Germany
03/09/2016