Starting up the device - Configuration
Leuze electronic
BCL 604i
101
10.17.2Procedure
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”
Table 10.65:
Device parameters for example configuration 2
Flow diagrams
Table 10.66:
Successful reading
Byte
Description
Init value
Change value to:
1
Code type 1
0
01: 2/5 Interleaved
4
Digits 3
0
12
PLC
Photoelectric sensor
BCL
Description
Time
Photoelectric sensor from 0 ->
1
The photoelectric sensor is interrupted. The signal of the switch
-
ing output of the photoelectric sensor is present at the switching
input of the device and activates the scanner.
M 23 bit 0.1 from 0 -> 1
M 23 bit 0.2 = 0
M 23 byte 1 = data length
M 23 byte 2 to 13 = result
The bar codes that have been read are processed and transmit
-
ted by module 23:
Reading concluded bit 0.1 = 1 and bar code not decoded bit 0.2
= 0.
The data length is entered in byte 1, in this case 12 decimal.
The decoding result is transmitted in the following 12 bytes.
Internal processing
Internal data processing.
Photoelectric sensor from 1 ->
0
The beam of the photoelectric sensor is cleared and sets the
switching input of the device to 0. This deactivates the scanner.