Integrating the LES in the process control
102
Technical description LES
Leuze electronic
10.3.2
Commands in command mode
The following commands are available in command mode:
Command from control to LES
Answer from LES to control
Command no.
Meaning
User
data
words
Command no.
Meaning
User
data
words
0x0001
Set Laser Gate
laser activation and
deactivation (toggle),
see chapter 10.3.3
1
0x4141
Command carried out
0
0x414E
Command was not
executed.
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
0x004B
Set Actual Inspection
Task
Set number of the current
inspection task, see chapter
10.3.3
2
0x4141
1)
1)
0x4141 = Acknowledge: Execution of the command is confirmed
The inspection task has
been set
0
0x414E
2)
2)
0x414E = Not Acknowledge or Error: Command has not been executed
The transmitted command
was not processed.
0
0x005B
3)
4)
3)
Beginning with firmware V01.20
4)
The command acts globally on all inspection tasks.
Attention!
If the command is used to deactivate the output of X-coordinates, only Z-coordinates are
transmitted. LESsoft can be used to depict 2D- and 3D-views. The sensor can only be reset
to again transmit X- and Z-coordinates by means of command number 0x0059 when using
parameter ID 0x07D4. The sensor can also be reset to factory settings via the keyboard
and display, but all other sensor settings are lost as well.
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
0x0059
3) 4)
Set Single User Parameter
Writes specific LES
parameters in the sensor,
e.g., deactivate output of
X-coordinates.
deactivate.
3
0x4141
Parameter was set
0
Table 10.3:
Sensor control commands