Example Configurations - Leuze electronic CML 720i Ex Operating Instructions Manual

Measuring light curtain
Table of Contents

Advertisement

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.
Evaluation function 01
(group 6)
Evaluation function 02
(group 6)
Evaluation function 03
(group 6)
Evaluation function 04
(group 6)
11.1.2 Configuration of beam-stream process data via CANopen interface
 Map the TPDO1 as follows.
MAPPINGENTRY1
MAPPINGENTRY2
MAPPINGENTRY3
MAPPINGENTRY4
These 32 bits are to be read as follows:
31
Index
MSB
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 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.
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
Start beam of the area
Value:
End beam of the area
Value:
Leuze electronic
Index 72, bit offset 120
= 1
The first optical cascade (beams 1 ... 16) is transmitted in process data module 01
Index 72, bit offset 112
= 2
The second optical cascade (beams 17 ... 32) is transmitted in process data module 02
Index 72, bit offset 104
= 3
The third optical cascade (beams 33 ... 48) is transmitted in process data module 03
Index 72, bit offset 96
= 4
The fourth optical cascade (beams 49 ... 64) is transmitted in process data module 04
24120110
Index 0x2412 sub-index 01 is mapped, Length of the mapped object: 16 bit
24120210
Index 0x2412 sub-index 02 is mapped, Length of the mapped object: 16 bit
24120310
Index 0x2412 sub-index 03 is mapped, Length of the mapped object: 16 bit
24120410
Index 0x2412 sub-index 04 is mapped, Length of the mapped object: 16 bit
16 15
Sub-index
Normal - light switching
(i.e., switching if beams are
free)
1
32
8
7
Length
Value: 1
Value: 0
Inverted - dark switching
Normal - light switching
(i.e., switching if beams are
interrupted)
1
1
32
32
CML 720i Ex
Example configurations
0
LSB
Value: 1
Inverted - dark switching
1
32
98

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents