Device setup
5.3 Operation modes
The first decision to be taken is the type of operating mode that will be used to perform distance
measurements. While the "Controlled mode" provides maximum flexibility and accuracy, it is often not
suitable for integration into existing drives, PLCs or analog environments. In such cases the "Stand-
alone mode" might be preferred.
controlled-Mode
The measurement is controlled
by a host with commands such
as:
sNg
-
sNh
-
sNuf
-
See 10.2 "Operation commands"
on page 132.
After each measurement all outputs are updated corresponding to the configuration (See 10.3
"Configuration commands" 136).
5.3.1 Controlled mode
In controlled mode, each operation of a LLB is triggered by a command sent from a host system over
a serial line. While a single device can be connected to the host system using the RS232 interface, up
to 10 devices can be connected to a single serial RS-422 line. The related command set is described
in Chapter 10 "Command set" as of page 131.
TR-Electronic GmbH 2011, All Rights Reserved
Page 104 of 156
auto start
The measurement starts after
power
on.
This
must
configured with the command:
sNA
-
sNuA
-
See 10.3.3 "Set auto start
configuration (sNA)" on page
138.
TR - ELE - BA - DGB - 0021 - 06
stand-alone mode
manual start
After configuring the DO1 as
be
DI1, the measurement can be
triggered by an external signal.
Use the following command:
sNDI
-
See 10.3.5.2 "Configure digital
input (sNDI1)" on page 141.
Printed in the Federal Republic of Germany
03/09/2016