Commissioning and configuration
180
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.
M 10 bit 0.0 0
Ö
1
Activation bit 0.0 is set to 1. This acti-
vates the reading gate.
M 24 bit 0.1 from 0
Ö
1
M 24 bit 0.2 = 0
M 24 byte 1 = data length
M 24 byte 2 to 16: result
The barcodes that have been read are
processed and transmitted by module
24:
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 15 decimal.
The decoding result is transmitted in the
following 15 bytes.
Internal processing
Internal data processing
M 10 Bit 0.0 1
Ö
0
Activation bit 0.0 is reset to 0
PLC photoelectric
sensor
BCL 504
i
Description
Time
Photoelectric sensor from 0
Ö
1
The photoelectric sensor is interrupted.
M 10 bit 0.0 0
Ö
1
Activation bit 0.0 is reset to 1.
Photoelectric sensor from 1
Ö
0
The reading gate elapses without read
result
M 10 Bit 0.0 1
Ö
0
Activation bit 0.0 is reset to 0
M 24 bit 0.1 from 0
Ö
1
M 24 bit 0.2 from 0
Ö
1
M 24 byte 1 = data length
M 24 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 processing of the data and sig-
nalling of the non-reading