Example configurations
Leuze electronic GmbH + Co. KG
CML 730i
164
Configure pin 2 as area output.
Map pin 2 to configured area 1.
Possible additional area-to-pin configurations:
Map pin 2 to configured area 8.
Map the configured areas 1 and 8 (OR-linked) to the corresponding switching output.
15.2.2 Configuration of an area/output mapping via IO-Link interface
Map the beams to output pin 2 as follows.
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.
Description / variables
Configuration of digital inputs/outputs
Input/output selection
Value: 0 = output
Pin 2 functions as digital output
Function of the switching output
Value: 1 = switching output (area 1 … 32)
The switching output signals the logical states of beam
areas 1 … 32
Digital Output 2 Settings
Area mapping 32 … 1
(OR combination)
0b0000000000000000000000000000001
Every area is displayed as a bit.
Digital Output 2 Settings
Area mapping 32 … 1
(OR combination)
0b0000000000000000000000010000000
Digital Output 2 Settings
Area mapping 32 … 1
(OR combination)
0b0000000000000000000000010000001
Configuration of area 01
(group 14)
Index 100, bit offset 104:
= 1
Area 01 active
Index 100, bit offset 96:
= 0
Light switching
Index 100, bit offset 80:
= 1
Start beam of area
Index 100, bit offset 64:
= 32
End beam of area
Index 100, bit offset 48:
= 32
Number of active beams for area ON
Index 100, bit offset 32:
= 31
Number of active beams for area OFF
Digital IO Pin 2 Settings
(group 10)
Index 80, bit offset 24:
= 0
Pin 2 as output
Index 80, bit offset 16:
= 1
Switching behavior inverted
Index 80, bit offset 0:
= 1
Switching output area 32 … 1
Index 84, bit offset 0:
= 1
Bit mapping of area 01 to pin 2