Integration of the LES 36…/PB in the PROFIBUS
Leuze electronic
LES 36
119
TNT
35/7-2
4
V
Input data (from viewing position of control)
GSD
mod-
ule
Position
(bytes)
Name
Bits in byte
Value
range
Meaning
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
M3
- 22 bytes
M2
- 16 bytes
M1
- 8 bytes
0
wScanNum (HighByte)
SN_b15 SN_b14 SN_b13 SN_b12 SN_b11 SN_b10 SN_b9
SN_b8
0 … 255 Scan number (Highbyte)
1
wScanNum (LowByte)
SN_b7
SN_b6
SN_b5
SN_b4
SN_b3
SN_b2
SN_b1
SN_b0
0 … 255 Scan number (Lowbyte)
2
uSensorInfo
Edge4
Edge3
Edge2
Edge1
IT_b3
IT_b2
IT_b1
IT_b0
0 … 255
SensorInfo (state of edge detec-
tion, inspection task no.)
3
uSensorState
ErrM
Cmd
Menu
Meas
ErrF
WarnF
active
connect
0 … 255 Sensor state
4
uResultEdge/Logic
LEAW4
LEAW3
LEAW2
LEAW1
DAW4
DAW3
DAW2
DAW1
0 … 255
Obj. Point/EAW State 1…4,
AW Logic Ana. Depth 1…4
5
uResultAWs
AW08
AW07
AW06
AW05
EAW4
EAW3
EAW2
EAW1
0 … 255
State of AW05…AW08 and
EAW1…EAW4
6
wEdgeAW1Data1 (HighByte) sign
OP_b14 OP_b13 OP_b12 OP_b11 OP_b10 OP_b9
OP_b8
-32768…
+32767
Signed measurement value 1
in Edge Analysis Window EAW1
7
wEdgeAW1Data1 (LowByte)
OP_b7
OP_b6
OP_b5
OP_b4
OP_b3
OP_b2
OP_b1
OP_b0
8
wEdgeAW1Data2 (HighByte) sign
OP_b14 OP_b13 OP_b12 OP_b11 OP_b10 OP_b9
OP_b8
-32768…
+32767
Signed measurement value 2
in Edge Analysis Window EAW1
9
wEdgeAW1Data2 (LowByte)
OP_b7
OP_b6
OP_b5
OP_b4
OP_b3
OP_b2
OP_b1
OP_b0
10
wEdgeAW2Data1 (HighByte) sign
OP_b14 OP_b13 OP_b12 OP_b11 OP_b10 OP_b9
OP_b8
-32768…
+32767
Signed measurement value 1
in Edge Analysis Window EAW2
11
wEdgeAW2Data1 (LowByte)
OP_b7
OP_b6
OP_b5
OP_b4
OP_b3
OP_b2
OP_b1
OP_b0
12
wEdgeAW2Data2 (HighByte) sign
OP_b14 OP_b13 OP_b12 OP_b11 OP_b10 OP_b9
OP_b8
-32768…
+32767
Signed measurement value 2
in Edge Analysis Window EAW2
13
wEdgeAW2Data2 (LowByte)
OP_b7
OP_b6
OP_b5
OP_b4
OP_b3
OP_b2
OP_b1
OP_b0
14
wEdgeAW3Data1 (HighByte) sign
OP_b14 OP_b13 OP_b12 OP_b11 OP_b10 OP_b9
OP_b8
-32768…
+32767
Signed measurement value 1
in Edge Analysis Window EAW3
15
wEdgeAW3Data1 (LowByte)
OP_b7
OP_b6
OP_b5
OP_b4
OP_b3
OP_b2
OP_b1
OP_b0
16
wEdgeAW3Data2 (HighByte) sign
OP_b14 OP_b13 OP_b12 OP_b11 OP_b10 OP_b9
OP_b8
-32768…
+32767
Signed measurement value 2
in Edge Analysis Window EAW3
17
wEdgeAW3Data2 (LowByte)
OP_b7
OP_b6
OP_b5
OP_b4
OP_b3
OP_b2
OP_b1
OP_b0
18
wEdgeAW4Data1 (HighByte) sign
OP_b14 OP_b13 OP_b12 OP_b11 OP_b10 OP_b9
OP_b8
-32768…
+32767
Signed measurement value 1
in Edge Analysis Window EAW4
19
wEdgeAW4Data1 (LowByte)
OP_b7
OP_b6
OP_b5
OP_b4
OP_b3
OP_b2
OP_b1
OP_b0
20
wEdgeAW4Data2 (HighByte) sign
OP_b14 OP_b13 OP_b12 OP_b11 OP_b10 OP_b9
OP_b8
-32768…
+32767
Signed measurement value 2
in Edge Analysis Window EAW4
21
wEdgeAW4Data2 (LowByte)
OP_b7
OP_b6
OP_b5
OP_b4
OP_b3
OP_b2
OP_b1
OP_b0