Commissioning and configuration
182
BCL 504
i
Leuze electronic
Flow diagrams
Successful reading:
Unsuccessful reading:
PLC photoelectric
sensor
BCL 504
i
Description
Time
Photoelectric sensor from 0
Ö
1
The photoelectric sensor is interrupted.
The signal of the switching output of the
photoelectric sensor is present at the
switching input of the BCL 504
i
and acti-
vates 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 barcodes that have been read are
processed and transmitted 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 BCL 504
i
to 0. This deactivates the
scanner.
PLC photoelectric
sensor
BCL 504
i
Description
Time
Photoelectric sensor from 0
Ö
1
The photoelectric sensor is interrupted.
The signal of the switching output of the
photoelectric sensor is present at the
switching input of the BCL 504
i
and acti-
vates the scanner.
Photoelectric sensor from 1
Ö
0
The beam of the photoelectric sensor is
cleared before a read result is present.
The photoelectric sensor sets the switch-
ing input of the BCL 504
i
to 0 and deac-
tivates the scanner.
M 23 bit 0.1 from 0
Ö
1
M 23 bit 0.2 from 0
Ö
1
M 23 byte 1 = 1
M 23 byte 2 = result
The module decoding state signals:
Reading concluded bit 0.1 = 1 and bar-
code
not
decoded bit 0.2 = 1.
The data length is entered in byte 1.
The result hex 3F ("?" = no read) is
transmitted.
Internal processing
Internal data processing