Integrating the LES in the process control (Ethernet)
Leuze electronic
LES 36
101
TNT
35/7-2
4
V
10.3.1
Elementary commands
Note!
Command syntax (header/user data), see
Using the
Connect to sensor
and
Disconnect from sensor
commands, a connection
between control and sensor is established or terminated. The communication with the LES
is carried out via the ports previously configured in LESsoft.
Command from control to LES
Answer from LES to control
Command no.
Meaning
Command no.
Meaning
0x434E
Connect to Sensor
0x4141
Connection established, the sensor
is permanently connected.
The sensor status (bytes 17 and 18)
can be used to detect whether the
sensor is connected.
0x414E
The transmitted command was not
processed (possible sensor status:
sensor is already connected or in
menu mode, detailed info see
chapter 10.2.4 "Status").
0x4443
Disconnect from Sensor
0x4141
Connection terminated.
0x414E
The transmitted command was not
processed (possible sensor status:
sensor was already disconnected or
in menu mode, detailed info see
chapter 10.2.4 "Status").
Table 10.1:
Connection commands
Command from control to LES
Answer from LES to control
Command no.
Meaning
Command no.
Meaning
0x3132
Enter Command Mode
0x4141
Sensor in command mode
0x414E
The transmitted command was not
processed (possible sensor status:
sensor currently in menu mode and
cannot execute any commands.
Sensor is already in command
mode)
1)
.
1)
Detailed info on possible sensor states see chapter 10.2.4 "Status". You can determine
whether the sensor is in menu mode with a quick glance at the display. Menu mode can
be ended with the
Exit
menu item.
0x3133
Exit Command Mode
0x4141
Sensor back to measure mode
0x414E
The transmitted command was not
processed because the sensor was
not in command mode.
Table 10.2:
Command mode control commands