Example configurations
Leuze electronic GmbH + Co. KG
CML 730i
166
15.2.6 Configuration of area/output mapping via RS 485 Modbus interface
Map the beams to output pin 2 as follows.
15.3 Example configuration - Hole recognition
The following table shows an example configuration for hole recognition for web material with signaling of
a hole at output pin 2. Example of detection beginning with a free beam with fixed/dynamic web position.
First activate and configure a beam area (e.g., area 01).
Map the area to the corresponding switching output.
Map configured area 1 to pin 2.
Configuration of digital I/Os
(module 32)
Parameter
Pin 2 - Input/output selection
:
= 0
Pin 2 as output
Parameter
Pin 2 - Switching behavior
:
= 1
Switching behavior inverted
Parameter
Pin 2 - Output function
:
= 1
Switching output area 1 … 32
Parameter
Pin 2 - Area mapping 32 … 1
:
= 1
Bit mapping of area 01 to pin 2
Area 01
(group 12)
Parameter
0x64 area 01
Write access (specified middle and specified width remain
zero):
01 10 00 64 00 07 0E 01 00 01 00 20 00 20 00 1F 00 00 00 00
00 A6 5F
Response to write access:
01 10 00 64 00 07 C0 14
Digital IO Pin 2 Settings
(group 10)
Parameter
0x50 Digital IO Pin 2 Settings
Write access:
01 10 00 50 00 02 04 01 00 00 00 F7 6F
Response to write access:
01 10 00 50 00 02 41 D9
Configuration of switching output
pin 2
(group 11)
Parameter
0x54 configuration of switching
output pin 2 settings
Write access:
01 10 00 54 00 04 08 00 00 00 00 01 86 8A
Response to write access:
01 10 00 54 00 04 80 1A
Description / variables
Configuration of area 01
Area
Value: 1 = active
01
This area is active and is then mapped to output pin 2.
Logical behavior of the area
Value: 0 = normal - light switching
00
Switching in case of free beams.
Start beam of area
Value: FIB for dynamic web position or fixed position
value, if specified
FIB
If a hole is to be detected in a web with arbitrary position or width, the value
FIB is to be set for the start beam.
With fixed position value, the start beam of the area is to be set.
End beam of area
Value: LIB for dynamic web position or fixed position
value, if specified
LIB
If a hole is to be detected in a web with arbitrary position or width, the value LIB
is to be set for the end beam.
With fixed position value, the end beam of the area is to be set.
Number of active beams for area ON
Value: 1
1
With this setting, the area (output) switches as soon as one or more beams are
not interrupted.
Number of active beams for area OFF
Value: 0
0
Description / variables
Configuration of pin 2
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
Switching behavior
Switching behavior
Value: 0 = normal - light switching
Value: 1 = inverted - dark switching
Configuration according to the necessary switching
behavior of the output