Integrating the LES in the process control (Ethernet)
Leuze electronic
LES 36
103
TNT
35/7-2
4
V
10.3.3
Explanation of user data in command mode (command parameters)
Set Laser Gate
For sensor control command 0x0001, one word of user data is transmitted to the sensor:
LF=0
switches the Laser off,
LF=1
switches the laser on.
Set Actual Inspection Task
For sensor control command 0x004B, two words of user data are transmitted to the sensor:
If
SF=0
then the inspection task is changed only temporarily.
If
SF=1
then the newly set inspection task is retained even after a restart of the LES.
Get Actual Inspection Task
The LES responds to sensor control command 0x0049 with 0x004A and one word of user
data:
1)
0x4141 = Acknowledge: Execution of the command is confirmed
2)
0x414E = Not Acknowledge or Error: Command has not been executed
3)
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.
Byte
MSB
High-Byte
LSB MSB
Low-Byte
LSB Meaning of the bits
31…32
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
LF
LF
= Laser Flag
Byte
MSB
High-Byte
LSB MSB
Low-Byte
LSB Meaning of the bits
31…32
-
-
-
-
-
-
-
-
-
-
-
-
N4 N3 N2 N1 Number of the inspection task to be configured
(0 = Task0 … 15 = Task 15)
33…34
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
SF
SF
= SaveFlag
Byte
MSB
High-Byte
LSB MSB
Low-Byte
LSB Meaning of the bits
31…32
-
-
-
-
-
-
-
-
-
-
-
-
N4 N3 N2 N1 Number of the configured inspection task
(0 = Task0 … 15 = Task 15)