Example configurations
Leuze electronic CML 720i Ex 98
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 pr
ocess data via IO-Link interface
M
ap the beam states of the individual optical cascades in the CML 700i to the process data as follows.
11.1.2 Configuration of beam-stream pr
ocess data via CANopen interface
M
ap the TPDO1 as follows.
These 32 bits are to be read as follows:
This means that 4 x 16 bit objects can be mapped per PDO → 64 beams.
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 map
ping 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.
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
MAPPINGENTRY1 24120110 Index 0x2412 sub-index 01 is mapped, Length of the mapped object: 16 bit
MAPPINGENTRY2 24120210 Index 0x2412 sub-index 02 is mapped, Length of the mapped object: 16 bit
MAPPINGENTRY3 24120310 Index 0x2412 sub-index 03 is mapped, Length of the mapped object: 16 bit
MAPPINGENTRY4 24120410 Index 0x2412 sub-index 04 is mapped, Length of the mapped object: 16 bit
31 16 15 8 7 0
Index Sub-index Length
MSB LSB
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 the area
Value:1111
End beam of the area
Value: 32 32 32 32