Integration of the LES 36…/PB in the PROFIBUS
Leuze electronic
LES 36
122
TNT
35/7-2
4
V
Sensor state
Sensor status byte
uSensorState
contains the following information:
Logic
Sensor status byte
uResultEdge/Logic
contains the following information:
the high nibble (bits 7 … 4) contains the
Object Point/EAW State
for all four EAWs; the low
nibble (bits 3 … 0) contains the
AW Logic Analysis Depth
state for all four EAWs.
Object detection
Sensor status byte
uResultAWs
contains the following information:
the high nibble (bits 7 … 4) contains the object detection state of the four AWs; the low nibble
(bits 3 … 0) contains the object detection state of the four EAWs (see "Current Status" under
"Analysis Window Definitions" on page 79).
Bit
Designation
Meaning
7
ErrM
Error mode, permanent sensor malfunction
6
Cmd
Command mode: the sensor is in command mode. The queries from the control are not processed
and the measurement data are frozen (indicated by the constant scan number).
5
Menu
Menu mode: the sensor is operated by the user via the display/key pad. The queries from the control
are not processed and the measurement data are frozen (indicated by the constant scan number).
4
Meas
Measure mode: the sensor is in measure mode.
This is the normal operating state in which the maximum measurement rate is attained.
3
ErrF
Error, permanent sensor malfunction.
2
WarnF
Warning, temporary sensor malfunction.
1
Active
Sensor activated.
0
connect
Sensor connected via Ethernet.
Table 11.3:
Input data byte
uSensorState
Bit
Designation
Meaning
7
LEAW4
’Object Point/EAW State’ for EAW4: 0 =
not ok
(red), 1 =
ok
(green)
6
LEAW3
’Object Point/EAW State’ for EAW3: 0 =
not ok
(red), 1 =
ok
(green)
5
LEAW2
’Object Point/EAW State’ for EAW2: 0 =
not ok
(red), 1 =
ok
(green)
4
LEAW1
’Object Point/EAW State’ for EAW1: 0 =
not ok
(red), 1 =
ok
(green)
3
DAW4
State ’AW Logic Analysis Depth’ for EAW4: 0 =
not ok
(red), 1 =
ok
(green)
2
DAW3
State ’AW Logic Analysis Depth’ for EAW4: 0 =
not ok
(red), 1 =
ok
(green)
1
DAW2
State ’AW Logic Analysis Depth’ for EAW4: 0 =
not ok
(red), 1 =
ok
(green)
0
DAW1
State ’AW Logic Analysis Depth’ for EAW4: 0 =
not ok
(red), 1 =
ok
(green)
Table 11.4:
Input data byte
uResultEdge/Logic
Bit
Designation
Meaning
7
AW08
State of the object detection for AW08: 0 = not detected or not activated, 1 = detected
6
AW07
State of the object detection for AW07: 0 = not detected or not activated, 1 = detected
5
AW06
State of the object detection for AW06: 0 = not detected or not activated, 1 = detected
4
AW05
State of the object detection for AW05: 0 = not detected or not activated, 1 = detected
3
EAW4
State of the object detection for EAW4: 0 = not detected or not activated, 1 = detected
2
EAW3
State of the object detection for EAW3: 0 = not detected or not activated, 1 = detected
1
EAW2
State of the object detection for EAW2: 0 = not detected or not activated, 1 = detected
0
EAW1
State of the object detection for EAW1: 0 = not detected or not activated, 1 = detected
Table 11.5:
Input data byte
uResultAWs