
Commissioning and configuration
Leuze electronic
BCL 548
i
203
TNT
35/7-2
4
V
10.18 Sample configuration: Direct activation via the switching input
10.18.1 Task
• Reading of a 12-digit bar code in 2/5 Interleaved format
• Direct activation of the BCL 548
i
via a photoelectric sensor
Code sample
Code 2/5 Interleaved 12 digits with check digit
‹8p"L6$›
561234765436
10.18.2 Procedure
Hardware, connections
The following connections must have been established:
• Voltage supply (PWR)
• PROFINET-IO (HOST/BUS) In
• Photoelectric sensor at SWIO1
Required modules
Include the following modules in your project:
• Module 1023 – Decoding result 12 bytes
Parameter settings of the "device parameters"
Byte
Description
Init value
Change value to:
1
Code type 1
0
01: 2/5 Interleaved
4
Digits 3
0
12
Table 10.60:
Device parameters for example configuration 2