Integrating the LES in the process control (Ethernet)
Leuze electronic
LES 36
102
TNT
35/7-2
4
V
10.3.2
Commands in command mode
Note!
Command syntax (header/user data), see
The following commands are available in command mode:
Command from control to LES
Answer from LES to control
Com-
mand no.
Meaning
Num-
ber of
user
data
words
Com-
mand no.
Meaning
Num-
ber of
user
data
words
0x0001
Set Laser Gate
laser activation and deactivation
(toggle),
See Chapter 10.3.3
1
0x4141
Command executed
0
0x414E
Command was not executed.
0
0x004B
Set Actual Inspection Task
Set number of the current
inspection task, see
Chapter 10.3.3
2
0x4141
1)
The inspection task has been set
0
0x414E
2)
The transmitted command was
not processed.
0
0x0049
Get Actual Inspection Task
Get number of the current
inspection task
0
0x004A
In the user data area the task
number is transferred.
(0 = Task0, up to 15 = Task15)
1
0x0053
Set Scan Number
Sets uniform scan number for
the transmission protocol, see
1
0x4141
Command executed
0
0x414E
Command was not executed.
0
0x0059
3)
Set Single User Parameter
Writes specific LES parameters
in the sensor, e.g., deactivate
output of X-coordinates.
3
0x4141
Parameter was set
0
0x005B
3)
Get Single User Parameter
Reads specific LES parameters,
e.g., whether the output of X-
coordinates is deactivated.
1
0x005C
Parameter is output
1
0x414E
The transmitted command was
not processed.
0
0x006D
Set Single Inspection Task
Parameter
Changes individual parameters
for the active inspection task
3…14
0x4141
Command executed
0
0x414E
Command was not executed.
0
0x006F
Get Single Inspection Task
Parameter
Outputs individual parameters of
the active inspection task
1
0x0070
Parameter is output
9…20
0x414E
The transmitted command was
not processed.
0
Table 10.3:
Sensor control commands