Integrating the LES in the process control (Ethernet)
Leuze electronic
LES 36
113
TNT
35/7-2
4
V
10.4
Working with the protocol
Note!
The values are displayed in hexadecimal representation (0x…). The values are only transmit-
ted in "Little-Endian" format. For further information, see the note in Chapter 10.2.
Command without user data
Connect to Sensor
PC to LES:
LES to PC (command executed):
Command with user data
Set Actual Inspection Task
(LES in command mode, activate Task 15 and do not store
in volatile memory)
PC to LES:
LES to PC (command executed):
Startseq. 1
Startseq. 2
Fill character
Command
no.
Fill character
Packet no.
Fill character
Trans. no.
Status
Encoder H
Encoder L
Fill character
Scan no.
Type
No. of data
0xFFFF 0xFFFF 0x0000
0x434E
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
Startseq. 1
Startseq. 2
Fill character
Command
no.
Fill character
Packet no.
Fill character
Trans. no.
Status
Encoder H
Encoder L
Fill character
Scan no.
Type
No. of data
0xFFFF 0xFFFF 0x0000
0x4141
0x0000 0x0000 0x0000
0x434E
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
Startseq. 1
Startseq. 2
Fill character
Command
no.
Fill character
Packet no.
Fill character
Trans. no.
Status
Encoder H
Encoder L
Fill character
Scan no.
Type
No. of
d
ata
User data
User data
0xFFFF 0xFFFF 0x0000
0x004B
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
0x0002 0x000F 0x0001
Startseq. 1
Startseq. 2
Fill character
Command
no.
Fill character
Packet no.
Fill character
Trans. no.
Status
Encoder H
Encoder L
Fill character
Scan no.
Type
No. of data
0xFFFF 0xFFFF 0x0000
0x4141
0x0000 0x0000 0x0000
0x004B
0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000