Example configurations
Leuze electronic
CML 730-PS
88
11
Example configurations
11.1 Example configuration - Reading out 64 beams (beam-stream)
The beam-stream evaluation function is used, e.g., for evaluating the size and position of objects on a
transport system.
11.1.1 Configuration of beam-stream process data via IO-Link interface
Map the beam states of the individual optical cascades in the CML 700i to the process data as follows.
11.2 Example configuration - Mapping of beams 1 … 32 to output pin 2
11.2.1 Configuration of area/output mapping (general)
The following table shows an example configuration for an area mapping to an output. In this example,
beams 1 … 32 are to be applied to output pin 2 on interface X1.
Map beams 1 … 32 to area 01.
Configure pin 2 as area output.
Evaluation function 01
(group 6)
Index 72, bit offset 120 = 1
The first optical cascade (beams 1 … 16) is transmitted in process data module 01
Evaluation function 02
(group 6)
Index 72, bit offset 112 = 2
The second optical cascade (beams 17 … 32) is transmitted in process data module 02
Evaluation function 03
(group 6)
Index 72, bit offset 104 = 3
The third optical cascade (beams 33 … 48) is transmitted in process data module 03
Evaluation function 04
(group 6)
Index 72, bit offset 96
= 4
The fourth optical cascade (beams 49 … 64) is transmitted in process data module 04
Description / variables
Display detailed area configuration
Value: 0 = area 01
Configuration of area 01
Area
Value: 1 = active
Logical behavior of the area Value: 0
Normal - light switching
(i.e., switching if beams are
free)
Value: 1
Inverted - dark switching
(i.e., switching if beams are
interrupted)
Value: 0
Normal - light switching
Value: 1
Inverted - dark switching
Start beam of area
Value:
1
1
1
1
End beam of area
Value:
32
32
32
32
Number of active beams for
area ON
Value:
32
32
1
1
Number of active beams for
area OFF
Value:
31
31
0
0
Switching behavior
Value: 0 = normal - light
switching (i.e., switching if
beams are free)
Output 1 if all beams are
free.
Output 0 if a beam is inter
-
rupted or if more than a
beam are interrupted.
Output 0 if all beams are
free or 1 … 31 beams are
free.
Output 1 only if 32 beams
are interrupted.
Output 1 if all beams are
free or as long as 1 … 31
beams are free.
Output 0 if 32 beams are
interrupted.
Output 0 if all beams are
free.
Output 1 as soon as a
beam is interrupted.
Switching behavior
Value: 1 = inverted - dark
switching (i.e., switching if
beams are interrupted)
Output 0 if all beams are
free.
Output 1 if one or more
beams are interrupted.
OR function
Output 1 if all beams are
free or 1 … 31 beams are
free.
Output 0 only if 32 beams
are interrupted.
AND function
Output 0 if all beams are
free or as long as 1 … 31
beams are free.
Output 1 if 32 beams are
interrupted.
Output 1 if all beams are
free.
Output 0 as soon as a
beam is interrupted.