Commissioning and configuration
Leuze electronic
BCL 504
i
181
TNT 35/7-24V
10.17 Sample configuration: Direct activation via the switching input
10.17.1 Task
• Reading of a 12-digit barcode in 2/5 Interleaved format
• Direct activation of the BCL 504
i
via a photoelectric sensor
Code sample
Code 2/5 Interleaved 12 digits with check digit
‹8p"L6$›
561234765436
10.17.2 Procedure
Hardware, connections
The following connections must have been established:
• Voltage supply (PWR)
• PROFIBUS In
• PROFIBUS termination
• Photoelectric sensor at SWIO1
Required modules
Include the following modules in your project:
• Module 23 – Decoding result 12 bytes
Parameter settings of the "common parameters"
Byte
Description
Init value
Change value to:
1
Code type 1
0
01: 2/5 Interleaved
4
Digits 3
0
12
Table 10.63:
Device parameters for example configuration 2