Figure 13.1: Bar code sample labels (module 0.3)......................................................................... 80
Figure 13.2: Bar code sample labels (module 0.5)......................................................................... 81
Figure 13.3: Declaration of Conformity BCL 21/22......................................................................... 82
4BCL 21/22Leuze electronic
Leuze electronicGeneral Information
1General Information
1.1Explanation of Symbols
The symbols used in this operating manual are explained below.
Attention!
Pay attention to passages marked with this symbol. Failure to heed this information can lead
to injuries to personnel or damage to the equipment.
Attention Laser!
This symbol warns of possible danger through hazardous laser radiation.
Notice!
This symbol indicates text passages containing important information.
1.2Declaration of Conformity
The bar code reader BCL 21/22 and the connector units MA 2/MA 4… have been developed
and produced in accordance with the applicable European standards and directives.
The barcode reader BCL 21/22 also fulfils the UL requirements (Underwriters Laboratory
Inc.) for the USA and Canada.
Notice!
You can find the Declaration of Conformity of the devices in the appendix on page 82.
The manufacturer of the product, Leuze electronic GmbH & Co KG in D-73277 Owen/Teck,
possesses a certified quality assurance system in accordance with ISO 9001.
U
L
C
US
LISTED
Leuze electronicBCL 21/225
TNT 35/7-24V
Safety NoticesLeuze electronic
2Safety Notices
2.1Safety Standards
The bar code readers BCL 21/22 and the connector units MA 2/MA 4… have been developed, produced and tested subject to the applicable safety standards. They correspond to
the state of the art.
2.2Intended Use
Attention!
The protection of personnel and the device cannot be guaranteed if the device is operated
in a manner not corresponding to its intended use.
Bar code readers of the type BCL 21/22 are conceived as stationary, high-speed scanners
with integrated decoders for all current bar codes used for automatic object recognition.
The connector and interface units MA 2/MA 4… are intended for the easy connection of bar
code readers of type BCL 21/22.
In particular, unauthorised uses include:
• rooms with explosive atmospheres
• operation for medical purposes
Areas of application
The bar code readers BCL 21/22 with optional connector unit MA 2/MA 4… are conceived
particularly for the following fields of application:
• labelling and packaging machines
• automatic analysers
• space-critical barcode reading tasks
• storage and conveying technologies, in particular for object identification on fast-moving conveyor belts
• pharmaceutical industry
6BCL 21/22Leuze electronic
Leuze electronicSafety Notices
2.3Working Safely
Attention!
Access to or changes on the device, except where expressly described in this operating
manual, is not authorised.
Safety regulations
Observe the locally applicable legal regulations and the rules of the employer's liability insurance association.
Qualified personnel
Mounting, commissioning and maintenance of the device must only be carried out by qualified personnel.
Electrical work must be carried out by a certified electrician.
Attention Laser Radiation!
WARNING: The barcode reader BCL 21/22 operates with a red light laser of class 2
acc. to EN 60825-1 (2003/10). If you look into the beam path over a longer time period,
the retina of your eye may be damaged!
Never look directly into the beam path!
Do not point the laser beam of the BCL 21/22 at persons!
When mounting and aligning the BCL 21/22, take care to avoid reflections of the laser
beam off reflective surfaces!
Heed the laser safety regulations according to DIN EN 60825-1 in their most current
version! The output power of the laser beam at the reading window is at most 1.3mW
acc. to (DIN) EN 60825-1 (2003/10).
The BCL 21/22 uses a laser diode with low power in the visible red light range with an
emitted wavelength of 650 … 690nm.
CAUTION - the use of operating and adjusting devices other than those specified here
or carrying out of differing procedures may lead to dangerous exposure to radiation!
Leuze electronicBCL 21/227
TNT 35/7-24V
Safety NoticesLeuze electronic
The housing of the bar code reader BCL 21/22 is labelled on the side, below the scanner window and on the rear with the following logotypes:
A
B
C
D
E
A Hazard warning & logotype
B Aperture label
C Non-interlocked protective housing label
D Warning label and certification label
E Identification label
Figure 2.1: Attachment of the sticky labels with warning notices at the BCL 21/22
8BCL 21/22Leuze electronic
Leuze electronicDescription
3Description
BCL 21/22 device construction
Mounting slider
Reading
window
Cable with 15-pin Sub-D
connector (BCL 22) or
with panel connectors for
Figure 3.1: BCL 21/22 device construction
3.1The Bar Code Readers BCL 21/22
The bar code readers BCL 21/22 are high-speed scanners with integrated decoder for all
bar codes currently in use, e.g. 2/5 Interleaved, EAN etc.
The many possible configurations allow the adaptation of the device to a multitude of reading
tasks. Due to the small dimensions, the BCL 21/22 may also be used in highly constrained
spaces. The low weight permits the installation into machines that were not designed for
heavy components. The various beam exits (perpendicular/front side) extend the area of
application of the BCL 21/22 and help it to adapt.
The connector units MA 2/MA 4… offer simple electrical installation in conjunction with the
BCL 21. Information on technical data and characteristics can be found in chapter 4.
connection to
MA 2/MA 4…
Two mounting threads M3 each
(4mm thread depth) on the rear
and bottom side of the device
TNT 35/7-24V
BCL 22 "stand alone"
The bar code reader BCL 22 is operated as a "stand-alone" device. The BCL features a
cable for the electrical connection of the supply voltage, the interface, and the switching
inputs.
BCL 21 with MA 2
If several BCLs are to be networked, the use of a connector unit MA 2/MA 4… is recommended for each BCL 21. Electrical connection, commissioning, and service can be
comfortably carried out in a short period of time. BCL 21 and MA 2/MA 4… are arranged
separately. The two devices are connected by a cable.
Leuze electronicBCL 21/229
DescriptionLeuze electronic
3.1.1Networking
Up to 30 scanners can be networked via the connector unit MA 2 and a bus master MA 30/
31. For this, every BCL 21 is assigned its own hardware address in the corresponding MA 2.
The devices are networked by connecting the individual RS 485 interfaces in parallel.
multiNet plus
In the Leuze multiNet plus, the individual network devices sequentially transfer their data to
the network master MA 30/31 when requested. In addition, every bus node declared a slave
receives a device address which is adjusted in the corresponding MA 2/MA 4… via a coding
switch. The device address remains in the MA 2/MA 4… when the scanner is replaced.
The master then transmits the data of all network devices via its host interface to a primary
PLC control system or a computer, i.e. it "collects" the scanner data in the network and transmits them to an interface on the host computer. This reduces interface costs (CPs) and time
spent programming the software.
Networking via multiNet plus
Host
(PLC, process, etc.)
Slave 1
MA 2
RS 232
RS 422
Slave 2
MA 2
RS 485
or
TTY
- backup
- parameter
Network master
Slave 3
MA 2
multiNet plus
MA30/31
RS 485
Voltage supply
Figure 3.2: Networking possibilities using the multiNet plus (BCL 21)
10BCL 21/22Leuze electronic
Leuze electronicDescription
Two-wire RS 485
The Leuze multiNet plus is optimised for fast transmission of scanner data to a primary host
computer. The multiNet plus consists physically of a two-wire RS 485 interface through
which the multiNet plus software protocol is controlled. This makes wiring the network easy
and inexpensive as slaves are connected to one another in parallel.
Interface modules
Shielded, twisted pair conductors should be used for the multiNet. This allows a total
network length of up to 1200 m. Connection of the network to the primary computer is made
via the host interface of the MA 30/31 which can be equipped with 4 different physical interface modules. The available options are modules for RS 422, RS 232, TTY or RS 485.
Leuze electronicBCL 21/2211
TNT 35/7-24V
SpecificationsLeuze electronic
4Specifications
4.1General Specifications BCL 21/22
Optical Data
Light sourcelaser diode, red 650nm, protection class 2, CDRH Class II
Scanning rate1000scans/s, vers. M; 800scans/s, vers. N, F
ResolutionBCL 2x SN: 0.15 … 0.2mm module width
Beam deflectionby means of rotating polygon mirror wheel
Read distance50 … 450mm (depending on type of optics: N, F, M)
Reading field opening70mm at 50 mm distance
Grid (R1)10 lines
Grid fieldthe distance from the first to the last laser beam is specified in
Optical windowglass with scratch-resistant Indium coating
Laser safety class2 acc. to DIN EN 60825-1 (2003/10)
Baud rateadjustable 100 … 57600 Baud
Switching inputone/two switching input(s) and output(s) (BCL 21/BCL 22)
Data formatdata bits: 7, 8, 9; parity: None, Even, Odd; stop bits: 1, 2
Operating voltage10 … 30V DC
Power consumption3.2W
Mechanical data
Protection classIP 65
Weight180g/260 g with cable
Dimensions (Wx H xD)82mm x 68 mm x 28 mm
HousingABS
Environmental conditions
Ambient temperature0°C … +40 °C
Air humiditymax. 90% rel. humidity, non-condensing
Storage temperature-20°C … +60 °C
VibrationIEC 60068-2-6, test FC
ShockIEC 60068-2-27, test Ea
Repeated shockIEC 60068-2-29, test Eb
Electromagnetic compatibilityEN 55022, EN 61326-1,
relation to the distance to the scanner:
16mm at a scanner distance of 100 mm,
29mm at a scanner distance of 200 mm,
42mm at a scanner distance of 300 mm,
55mm at a scanner distance of 400 mm,
II acc. to CDRH (U.S. 21 CFR 1040.10 and 1040.11)
EAN/UPC; EAN Adendum; Codabar; Pharma Code
additional service interface (RS 232)
EN 61000-4-2, -3, -4 and -6
12BCL 21/22Leuze electronic
Leuze electronicSpecifications
Notice!
You can find the Declaration of Conformity of the devices in the appendix on page 82.
4.2LED indicators
LED namePWR/ReadyERR/ErrorDEC/Decode
LED colourgreenredyellow
State
No voltageoffoffoff
Initialisation (after reset)flashing (cycle1)offoff
System readyonoffoff
Reading gate activeon offon
Hardware error
The flashing frequency is 5Hz; cycle2 is inverse to cycle 1.
offon-
Leuze electronicBCL 21/2213
TNT 35/7-24V
SpecificationsLeuze electronic
4.3Dimensioned and Connection Drawings
BCL 21/22
Mounting thread with thread depth of
A
4mm
Optical axis
B
(beam exit 90°)
Optical axis
C
(beam exit 0°)
D Laser beam
Figure 4.1: Dimensioned drawingBCL 21/22
14BCL 21/22Leuze electronic
Leuze electronicSpecifications
4.4Optical Data
Notice!
Please note that the size of the barcode module influences the maximum reading distance
and the width of the reading field. Therefore, when selecting a mounting location and/or the
barcode label, take into account the different reading characteristics of the scanner with various barcode modules.
For different reading tasks, the BCL 21/22 is available in various versions. Please refer to
the following table or the respective scanning curves for ratings.
4.4.1Type overview
Type key
BCL
Beam exit:
0 = perpendicular
2 = on the front side
Length of connection cable:
0 = 0.8m
1 = 3.0m
Connector:
2 = LP (circuit board connector to MA 2/MA 4…)
3 = SUB-D 15-pin
Resolution / operating range:
N = High Density up to 95mm
M = Medium Density up to 260mm
F = Low Density up to 450mm
Reading characteristics:
S = Single line scanner
R1 = Raster scanner
Host interface:
21 = RS 485
22 = RS 232
TNT 35/7-24V
Figure 4.2: Type key BCL 21/22
Leuze electronicBCL 21/2215
SpecificationsLeuze electronic
Type overview BCL 21 with RS 485 interface and integrated decoder
TypePart No.RangeScan rate
(scans/s)
BCL 21 SN 2005003098695mm800Single line scanner
BCL 21 SN 2025003098795mm800Single line scanner
BCL 21 SN 3005003107095mm800Single line scanner
BCL 21 SN 3025003107295mm800Single line scanner
BCL 21 SN 2105003202895mm800Single line scanner
BCL 21 SN 2125003203095mm800Single line scanner
BCL 21 SN 3105003203295mm800Single line scanner
BCL 21 SN 3125003203495mm800Single line scanner
BCL 21 R1 N 2005006128195mm800Raster scanner
BCL 21 R1 N 2025006128395mm800Raster scanner
BCL 21 R1 N 3005006128595mm800Raster scanner
BCL 21 R1 N 3025006128795mm800Raster scanner
BCL 21 R1 N 2105003203695mm800Raster scanner
BCL 21 R1 N 2125003203895mm800Raster scanner
BCL 21 R1 N 3105003204095mm800Raster scanner
BCL 21 R1 N 3125003204295mm800Raster scanner
BCL 21 SM 20050030988260mm1000Single line scanner
BCL 21 SM 20250030989260mm1000Single line scanner
BCL 21 SM 30050031076260mm1000Single line scanner
BCL 21 SM 30250031078260mm1000Single line scanner
BCL 21 SM 21050032044260mm1000Single line scanner
BCL 21 SM 21250031720260mm1000Single line scanner
BCL 21 SM 31050032047260mm1000Single line scanner
BCL 21 SM 31250032049260mm1000Single line scanner
BCL 21 R1 M 20050061289260mm1000Raster scanner
BCL 21 R1 M 20250061291260mm1000Raster scanner
BCL 21 R1 M 30050061293260mm1000Raster scanner
BCL 21 R1 M 30250061295260mm1000Raster scanner
BCL 21 R1 M 21050032051260mm1000Raster scanner
BCL 21 R1 M 21250032053260mm1000Raster scanner
BCL 21 R1 M 31050032055260mm1000Raster scanner
BCL 21 R1 M 31250032057260mm1000Raster scanner
Reading characteristics
BCL 21 SF 20050031080450mm800Single line scanner
BCL 21 SF 20250031082450mm800Single line scanner
BCL 21 SF 30050031084450mm800Single line scanner
BCL 21 SF 30250031086450mm800Single line scanner
BCL 21 SF 21050032059450mm800Single line scanner
BCL 21 SF 21250032061450mm800Single line scanner
BCL 21 SF 31050032063450mm800Single line scanner
BCL 21 SF 31250032065450mm800Single line scanner
16BCL 21/22Leuze electronic
Leuze electronicSpecifications
TypePart No.RangeScan rate
(scans/s)
BCL 21 R1 F 20050061297450mm800Raster scanner
BCL 21 R1 F 20250061299450mm800Raster scanner
BCL 21 R1 F 30050061301450mm800Raster scanner
BCL 21 R1 F 30250061303450mm800Raster scanner
BCL 21 R1 F 21050032067450mm800Raster scanner
BCL 21 R1 F 21250032069450mm800Raster scanner
BCL 21 R1 F 31050032071450mm800Raster scanner
BCL 21 R1 F 31250032073450mm800Raster scanner
Modular connector units and accessories see chapter 5.1
Table 4.3:Overview of the BCL 21 types
Reading characteristics
Leuze electronicBCL 21/2217
TNT 35/7-24V
SpecificationsLeuze electronic
Type overview BCL 22 with RS 232 interface and integrated decoder
TypePart No.RangeScan rate
(scans/s)
BCL 22 SN 2005003108895mm800Single line scanner
BCL 22 SN 2025003109095mm800Single line scanner
BCL 22 SN 3005003099095mm800Single line scanner
BCL 22 SN 3025003099195mm800Single line scanner
BCL 22 SN 2105003207595mm800Single line scanner
BCL 22 SN 2125006145195mm800Single line scanner
BCL 22 SN 3105003207895mm800Single line scanner
BCL 22 SN 3125003208095mm800Single line scanner
BCL 22 R1 N 2005006130595mm800Raster scanner
BCL 22 R1 N 2025006130795mm800Raster scanner
BCL 22 R1 N 3005006130995mm800Raster scanner
BCL 22 R1 N 3025006131195mm800Raster scanner
BCL 22 R1 N 2105003208295mm800Raster scanner
BCL 22 R1 N 2125003208495mm800Raster scanner
BCL 22 R1 N 3105003208795mm800Raster scanner
BCL 22 R1 N 3125003208995mm800Raster scanner
BCL 22 SM 20050031094260mm1000Single line scanner
BCL 22 SM 20250031096260mm1000Single line scanner
BCL 22 SM 30050030992260mm1000Single line scanner
BCL 22 SM 30250030993260mm1000Single line scanner
BCL 22 SM 21050032091260mm1000Single line scanner
BCL 22 SM 21250032093260mm1000Single line scanner
BCL 22 SM 31050032095260mm1000Single line scanner
BCL 22 SM 31250032097260mm1000Single line scanner
BCL 22 R1 M 20050061313260mm1000Raster scanner
BCL 22 R1 M 20250061315260mm1000Raster scanner
BCL 22 R1 M 30050061317260mm1000Raster scanner
BCL 22 R1 M 30250061319260mm1000Raster scanner
BCL 22 R1 M 21050032099260mm1000Raster scanner
BCL 22 R1 M 21250032101260mm1000Raster scanner
BCL 22 R1 M 31050031704260mm1000Raster scanner
BCL 22 R1 M 31250032104260mm1000Raster scanner
Reading characteristics
BCL 22 SF 20050031100450mm800Single line scanner
BCL 22 SF 20250031102450mm800Single line scanner
BCL 22 SF 30050031104450mm800Single line scanner
BCL 22 SF 30250031106450mm800Single line scanner
BCL 22 SF 21050032106450mm800Single line scanner
BCL 22 SF 21250032108450mm800Single line scanner
BCL 22 SF 31050032110450mm800Single line scanner
BCL 22 SF 31250032112450mm800Single line scanner
18BCL 21/22Leuze electronic
Leuze electronicSpecifications
TypePart No.RangeScan rate
BCL 22 R1 F 20050061321450mm800Raster scanner
BCL 22 R1 F 20250061323450mm800Raster scanner
BCL 22 R1 F 30050061325450mm800Raster scanner
BCL 22 R1 F 30250061327450mm800Raster scanner
BCL 22 R1 F 21050032114450mm800Raster scanner
BCL 22 R1 F 21250032116450mm800Raster scanner
BCL 22 R1 F 31050032118450mm800Raster scanner
BCL 22 R1 F 31250032120450mm800Raster scanner
Modular connector units and accessories see chapter 5.1
Table 4.4:Overview of the BCL 22 types
4.4.2Optics variants and reading fields
The BCL 21/22 is available with three different optics. The optics differ in range and resolution (see see chapter 4.1 "General Specifications BCL 21/22").
• N optics: for small modules.
• M optics: for small to medium modules
• F optics: for medium to large modules
The following graphics display the ranges of the various BCL models.
Notice!
Please notice that the real scanning curves are also influenced by factors such as labelling
material, printing quality, scanning angle, printing contrast etc., and may thus deviate from
the scanning curves specified here.
Reading characteristics
(scans/s)
Leuze electronicBCL 21/2219
TNT 35/7-24V
SpecificationsLeuze electronic
Scanning curves BCL 21/22 with N optics
m=0.15m=0.2
Read distance [mm]
Reading field width [mm]
Figure 4.3: Reading field, optics model N (high density)
Scanning curves BCL 21/22 with M optics
150
100
50
0
m=0.2m=0.3
0204060260
-50
100
80
120 140
160 180 200 220
m = 0.5
m = 0.8
240
Read distance [mm]
Reading field width [mm]
-100
-15 0
Figure 4.4: Reading field, optics model M (medium density, normal range)
20BCL 21/22Leuze electronic
Leuze electronicSpecifications
Scanning curves BCL 21/22 with F optics
m = 0.8
m=0.5
Reading field width [mm]
Figure 4.5: Reading field, optics model F (low density, long range)
m = 1.0
Read distance [mm]
Leuze electronicBCL 21/2221
TNT 35/7-24V
Accessories / Order DesignationLeuze electronic
5Accessories / Order Designation
5.1Accessories
Notice!
Products from Leuze electronic GmbH & Co KG can be ordered from any of the sales and
service offices listed on the back page of this operating manual.
BCL 21 accessories
AccessoriesPart No.InterfaceVoltageFunction
Programming software for the
BCL-Config50031298––
BT 2050060503––
BT 2150037473––
MA 31 10050030835
MA 31 11050030836
MA 31 12050030837
MA 31 13050030838
MA 250031256
MA 450031537
MA 4D50031536
RS 485
RS 485
RS 232
RS 485
TTY
RS 485
RS 422
RS 485
RS 232
RS 485
RS 232
RS 485
RS 232
RS 485
18 … -
36VDC
18 … -
36VDC
18 … -
36VDC
18 … -
36VDC
10 … 30V D
10 … 30V D
10 … 30V D
C
C
C
parameterisation,
(free download
under www.leuze.de)
Mounting device for rod and
sheet metal clamp installation
for BCL 21/22
Stainless steel mounting
for BCL 21/22
multiNet Master,
flat housing cover
multiNet Master,
flat housing cover
multiNet Master,
flat housing cover
multiNet Master,
flat housing cover
Connector unit,
stand alone or network slave
for BCL 21/22
Connector unit,
stand alone or network slave
for BCL 21/22
Connector unit,
stand alone or multiNet slave
with display for BCL 21/22
Table 5.1:BCL 21 accessories
device
22BCL 21/22Leuze electronic
Leuze electronicAccessories / Order Designation
BCL 22 accessories
AccessoriesPart No.InterfaceVoltageFunction
Programming software for the
BCL-Config50031298––
BT 2050060503––
BT 2150037473––
MA 250031256
MA 22 DC50031496RS 232
MA 450031537
MA 4D50031536
MA 4 11050039659RS 232
MA 4 12050039660TTY
MA 4 13050039661RS 422
MA 4 D 11050039662RS 232
MA 4 D 12050039663TTY
MA 4 D 13050039664RS 422
MA 42 DP-K50035298
MA 42 IS50032853
MA 42 IS PDP50032854
RS 485
RS 232
RS 232
RS 485
RS 232
RS 485
RS 232 Profi-
bus DP
RS 232 Inter-
bus-S
RS 232 Inter-
bus-S
10 … 30V D
10 … 30V D
10 … 30V D
10 … 30V D
10 … 30V D
10 … 30V D
10 … 30V D
10 … 30V D
10 … 30V D
10 … 30V D
18 … 30V D
18 … 30V D
18 … 30V D
C
C
C
C
C
C
C
C
C
C
C
C
C
parameterisation,
(free download
under www.leuze.de)
Mounting device for rod and
sheet metal clamp installation
for BCL 21/22
Stainless steel mounting
device for BCL 21/22
Connector unit,
stand alone or network slave
for BCL 21/22
Connector unit,
15-pin Sub-D connector
Connector unit,
stand alone or network slave
for BCL 21/22
Connector unit,
stand alone or multiNet slave
with display for BCL 21/22
Connector unit,
stand alone for BCL 22
electrically insulated
Connector unit,
stand alone for BCL 22
Connector unit,
stand alone for BCL 22
Connector unit,
stand alone with display for
BCL 22, electrically insulated
Connector unit,
stand alone with display
Connector unit,
stand alone with display
Connector unit
for connection to
BCL 22 x y 2..
Connector unit
for connection to
BCL 22 x y z
Connector unit
for connection to
BCL 22 x y z
Table 5.2:BCL 22 accessories
for BCL 22
TNT 35/7-24V
for BCL 22
for BCL 22
Leuze electronicBCL 21/2223
Accessories / Order DesignationLeuze electronic
5.1.1Connector units MA 2/MA 4…
Notice!
The connector units are described here in brief only. For further information regarding the
connector units please refer to the relevant data sheets
Connector unit MA 2
The connector unit MA 2 is used to simplify the electrical installation of the BCL 21/22. It has
the following advantages:
• Terminals for switching inputs and outputs, including supply voltage
• Terminals for feed-through of the RS 485 connection
• 9-pin sub-D plug for service interface
• Operating mode switch: service operation/standard operation
• Rotary switch for address setting
Figure 5.1: Connector unit MA 2
24BCL 21/22Leuze electronic
Leuze electronicAccessories / Order Designation
Fastening holes
Ø5mm
ALED indicator
Figure 5.2: Dimensioned drawing connector unit MA 2
Leuze electronicBCL 21/2225
Fastening holes
Ø5mm
TNT 35/7-24V
Accessories / Order DesignationLeuze electronic
Connector unit MA 4/MA 4D
Apart from the advantages of the connector unit MA 2, the connector units MA 4/MA 4D
have the following additional characteristics:
• Parameter memory for the BCL:
the BCL can be exchanged without the need for reconfiguration.
• Display (MA 4D only)
Figure 5.3: Connector unit MA 4/MA 4D
26BCL 21/22Leuze electronic
Leuze electronicAccessories / Order Designation
ALED indicator
BLCD indicator
Figure 5.4: Dimensioned drawing connector unit MA 4/MA 4D
Leuze electronicBCL 21/2227
TNT 35/7-24V
Accessories / Order DesignationLeuze electronic
Connector unit MA 4 1xx/MA 4 D 1xx
Compared to the MA 4/MA 4 D, additional features of this connector unit are:
• Various pluggable interface modules, such as RS 232, RS 485, TTY, and RS 422.
Figure 5.5: Connector unit MA 4 1xx/MA 4 D 1xx
28BCL 21/22Leuze electronic
Leuze electronicAccessories / Order Designation
MA 4 1xx
MA 4D 1xx
ALED indicator
Boptional LCD indicator
Figure 5.6: Dimensioned drawing MA 4 1xx/MA 4 D 1xx
Leuze electronicBCL 21/2229
TNT 35/7-24V
Accessories / Order DesignationLeuze electronic
5.1.2Fastening Accessories
The mounting device BT 20/21 (stainless steel) is available for mounting the BCL 21/22. It
permits both rod mounting and installation via sheet metal clamp.
Mounting device BT 20
Rod mounting d = 12 mm
Sheet metal clamp
installation 1.5 … 3mm
Figure 5.7: Mounting device BT 20
Mounting device BT 21
Figure 5.8: Mounting device BT 21
30BCL 21/22Leuze electronic
Leuze electronicInstallation
6Installation
6.1Storage, Transportation
Attention!
When transporting, package the device so that it is protected against collision and humidity.
Optimal protection is achieved when using the original packaging. Heed the required environmental conditions specified in the technical data.
Unpacking
!
Check the packaging for any damage. If damage is found, notify the post office or shipping agent as well as the supplier.
!
Check the delivery contents using your order and the delivery papers:
• delivered quantity
• device type and model as indicated on the nameplate
• accessories
• operating manual
The name plate provides information as to what BCL type your device is. For specific information, please refer to chapter 4.4.1.
Name plates, BCL-models
Figure 6.1: Device name plate BCL 21/22
!
Save the original packaging for later storage or shipping.
If you have any questions concerning your shipment, please contact your supplier or your
local Leuze electronic sales office.
Observe the applicable local regulations when disposing of the packaging materials.
!
Cleaning
!
Clean the glass window of the BCL 21/22 with a soft cloth before mounting. Remove all
packaging remains, e.g. carton fibres or Styrofoam balls.
Attention!
Do not use aggressive cleaning agents such as thinner or acetone for cleaning the device.
Leuze electronicBCL 21/2231
TNT 35/7-24V
InstallationLeuze electronic
6.2Mounting
Attention Laser Radiation!
Follow the safety notices in chapter 2.3 on page 7!
Mounting devices are available which have to be ordered separately as accessory at Leuze
electronic. For order numbers, see chapter 5.
The mounting devices BT 20/BT 21 are suitable both for rod mounting (d = 12mm) and for
mounting using a sheet metal clamp if the sheet metal is 1.5 … 3mm thick. Otherwise, the
mounting threads at the back and bottom side of the device are suitable for installation of
the BCL 21/22 according to its area of application.
Mounting example BCL 21/22
Fastening
thread
Mounting
device BT20
Figure 6.2: Mounting example BCL 21/22
Mounting MA 2/MA 4…
You can mount the connector units MA 2/MA 4… individually through the holes Ø 5 mm
located on the mounting plate (see figure 5.2 and figure 5.4).
Then connect the BCL 21 with the connector unit MA 2/MA 4… as described in
chapter 6.3.2.
32BCL 21/22Leuze electronic
Leuze electronicInstallation
6.2.1Device Arrangement
Selecting a mounting location
In order to select the right mounting location, several factors must be considered:
• size, orientation, and position tolerance of the barcodes on the objects to be scanned
• the reading field of the BCL 21/22 in relation to the bar code module width
• the resulting minimum and maximum reading distance from the respective reading
field
For specific information, please refer to chapter 4.4.
Notice!
The best reading results are obtained when
• the bar code is moved along the reading window at an angle of approx. 9 … 15°.
• the reading distance lies in the middle area of the reading field.
• you do not use high-gloss labels.
Application examples
Figure 6.3: Applications with perpendicular and front side beam exit
Mounting location
!
When selecting a mounting location, pay attention to
• maintaining the required environmental conditions (temperature, humidity)
• possible soiling of the reading window due to liquids, abrasion by boxes, or packaging
material residues.
• lowest possible chance of damage to the scanner by mechanical collision or jammed
parts.
Leuze electronicBCL 21/2233
TNT 35/7-24V
InstallationLeuze electronic
6.3Connection
Attention!
Do not open the device yourself under any circumstances! There is otherwise a risk of uncontrolled emission of laser radiation from the device. The housing of the BCL 21/22 contains no parts that need to be adjusted or maintained by the user.
Before connecting the device, be sure that the supply voltage agrees with the value printed
on the nameplate.
Connection of the device and maintenance work while under voltage must only be carried
out by a qualified electrician.
The power supply unit for the generation of the supply voltage for the BCL 21/22 and the
MA 2/MA 4… must have a secure electrical insulation through double insulation and safety
transformers according to EN 60742/IEC 60742 (functional low voltage).
Be sure that the earthing conductor is connected correctly. Error-free operation is only guaranteed when the device is properly earthed.
If faults cannot be corrected, the device should be removed from operation and protected
against possible use.
6.3.1Connection BCL 21/22 stand alone
BCL 21/22 Sub D-pin assignments
GND_485
SWIN1
RS485_A
RS485_B
/MA0
/MA1
/Serv
VIN
Res.
SWIN1
CTS
RTS
Res.
SWOUT2
/Serv
VIN
BCL 21 (RS 485)
BCL 22 (RS 232)
/MA4
SWOUT1
RXD_Serv
TXD_Serv
/MA2
/MA3
GNDIN
SWIN2
SWOUT1
RXD
TXD
Res.
Res.
GNDIN
Figure 6.4: BCL 21/22 Sub-D pin assignments
34BCL 21/22Leuze electronic
Leuze electronicInstallation
Wiring description BCL 21
Pin 1GND 485
Pin 2SWIN1Switching input 1, 12 … 30V DC, (see figure 6.7)
Pin 3RS485_ASignal line A, host interface RS 485
Pin 4RS485_BSignal line B, host interface RS 485
Pin 5/MA0Address selection bit 0
Pin 6/MA1Address selection bit 1
Pin 7/ServBridge to pin 15: service operation via RS 232 interface
Pin 8VINSupply voltage +10 … 30V DC
Pin 9/MA4Address selection bit 4
Pin 10 SWOUT1Switching output 1
Pin 11 RXD_Serv RXD signal, service interface RS 232
Pin 12 TXD_ServTXD signal, service interface RS 232
Pin 13 /MA2Address selection bit2
Pin 14 /MA3Address selection bit3
Pin 15 GNDINSupply voltage 0VDC
Metal
flange
Table 6.1:Wiring description BCL 21
PE
Wiring description BCL 22
Pin 1Res.Reserved
Pin 2SWIN1Switching input 1, 12 … 30V DC, (see figure 6.7)
Pin 3CTS CTS signal, host interface RS 232
Pin 4RTS RTS signal, host interface RS232
Pin 5Res.Reserved
Pin 6SWOUT2Switching output 2
Pin 7/ServBridge with pin 15: service operation
Pin 8VINSupply voltage +10 … 30V DC
Pin 9SWIN2Switching input 2, 12 … 30V DC
Pin 10 SWOUT1Switching output 1
Pin 11 RXDRXD signal, service interface RS 232
Pin 12 TXDTXD signal, service interface RS 232
Pin 13 Res.Reserved
Pin 14 Res.Reserved
Pin 15 GNDINSupply voltage 0VDC
Metal
flange
Table 6.2:Wiring description BCL 22
PE
Shielding (the shielding of the sub-D-cable is connected with the
flange of the connector casing)
Shielding (the shielding of the sub-D-cable is connected with the
flange of the connector casing)
TNT 35/7-24V
Switching inputs
A read process can be triggered by applying a voltage of 12 … 30 VDC to the switched input
connections SWIN1 and SWIN2.
Leuze electronicBCL 21/2235
InstallationLeuze electronic
6.3.2Connection BCL 21 with MA 2/MA 4… (RS 485)
Connection of the BCL is considerably easier when using the MA 2/MA 4…. The BCL 21 is
alternately equipped with flat connectors which enable connection to the MA 2/MA 4…
connector unit. The following figure shows the combination of the two devices.
BCL 21 and MA 2/MA 4…
Figure 6.5: BCL 21 with connector unit MA 2/MA 4…
Open MA 2/MA 4… casing
!
Unscrew the four screws on the front side of the MA 2/MA 4… and carefully lift off the lid
of the housing. Now you have proper access to all components within the connector unit.
Notice!
All electrical connections can be carried out on the terminal strip quickly and without screwing down or soldering. Wires with ferruled ends can be inserted directly into the terminal
without depressing the clamping lever.
36BCL 21/22Leuze electronic
Leuze electronicInstallation
Position of the connectors in the MA 2
Setting of the
device address
Service interface
SERVICE
ADR
0-15
16-31
Connector for
BCL 21
Terminal strip
Attached label
with terminal
designation
Brass clamp for
shield/PE
BCL 21
TXD
RXD
65234
123 24
SE2
RS485B
RS485A
RS485B
RS485A
GND485
GND485
Switching
SE1
VDD_SE
input
SERV
13129711
SA2
GND_SE
Switching
output
SA1
GND_SA
Figure 6.6: Connector unit MA 2
Wiring description
Terminals 1 to 6 as well as 23 and 24 in the MA 2 are assigned as described below. For
wiring through, the RS 485 interface at the MA 2 is implemented twice:
MA 2
181714 16
19
V_IN
V_IN
GND_IN
Voltage supply
10 … 30V DC
222120
PE
PE
GND_IN
TerminalSignal
1RS 485 A
2RS 485 A
3RS 485 B
4RS 485 B
5GND 485
6GND 485
23RXD (service)
24TXD (service)
Table 6.3:Terminal assignment MA 2
Leuze electronicBCL 21/2237
TNT 35/7-24V
InstallationLeuze electronic
Voltage supply
In the connector unit MA 2, the connections for the voltage supply are implemented twice.
This permits wiring through or the voltage supply of additional components.
TerminalSignalFunction
17V_INOperating voltage 10 … 30V DC
18V_INOperating voltage 10 … 30V DC
19GND_INOperating voltage 0V DC
20GND_INOperating voltage 0V DC
21PEProtective earth, grounding
22PEProtective earth, grounding
Table 6.4:Terminal assignment voltage supply
Notice!
It is imperative that the protective conductor PE also is wired through to avoid electromagnetic interference.
Switching inputs 1 and 2
The MA 2 connector unit is equipped with two switching inputs SE 1 and SE 2 (SE 2 can
only be activated with BCL 22).
• Input voltage: 12 … 30VDC
TerminalSignalFunction
7SE2Switching input 2, 12 … 30 V DC
9SE1Switching input 1, 12 … 30 V DC
11VDD_SE
12GND_SE
Table 6.5:Terminal assignment switching inputs
Switching outputs 1 and 2
The MA 2 is equipped with 2 switching outputs SA1 and SA2 (SA 2 can only be activated
with BCL 22) which can be programmed for various switching functions using the
"BCLConfig" software.
• Output voltage corresponds to operating voltage
• Output current: I
The switching voltage for the output is generated by the operating voltage V_IN:
• VDD_SA = VDD_IN
• GND_SA = GND_IN
= 100mA
max
Supply voltage, switching input,
equal to V_IN device
Supply voltage, switching input,
equal to GND_IN device
TerminalSignalFunction
13SA2Switching output 2
14SA1Switching output 1
16GND_SAExternal supply voltage for switching output 0VDC
Table 6.6:Terminal assignment switching outputs
38BCL 21/22Leuze electronic
Leuze electronicInstallation
Circuitry MA 2
SE2
Switch
A
Sensor
Load
10 … 30V DC
Figure 6.7: Circuitry MA 2
Position of the connectors in the MA 4/MA 4D
13
14
16
17
18
19
20
SE1
VDD_SE
GND_SE
SA2
SA1
GND_SA
V_IN
V_IN
GND_IN
GND_IN
SE
ISA
A Setting of the device address F Terminal strip
B Setting of the device address G Connection BCL
C Service/operation switch H Service interface
D Attached label with terminal assign. for RS232
E Attached label with terminal assign. for RS485
Figure 6.8: Connector unit MA 4/MA 4D
Leuze electronicBCL 21/2239
TNT 35/7-24V
InstallationLeuze electronic
Wiring description
Terminals 1 to 6 as well as 23 and 24 in the MA 4/MA 4D are assigned as described below.
For wiring through, the RS 485 interface at the MA 4/MA 4D is implemented twice:
TerminalSignal
1RS 485 A
2RS 485 A
3RS 485 B
4RS 485 B
5GND485
6GND485
23RXD (service)
24TXD (service)
Table 6.7:Terminal assignment MA 4/MA 4D
Voltage supply
In the connector unit MA 4/MA 4D, the connections for the voltage supply are implemented
twice. This permits wiring through or the voltage supply of additional components.
TerminalSignalFunction
17V_INOperating voltage 10 … 30V DC
18V_INOperating voltage 10 … 30V DC
19GND_INOperating voltage 0V DC
20GND_INOperating voltage 0V DC
21PEProtective earth, grounding
22PEProtective earth, grounding
Table 6.8:Terminal assignment voltage supply
Notice!
It is imperative that the protective conductor PE also is wired through to avoid electromagnetic interference.
40BCL 21/22Leuze electronic
Leuze electronicInstallation
Switching inputs 1 and 2
The connector unit MA 4/MA 4D has two switching inputs SE 1 and SE 2.
• Input voltage: 12 … 30VDC
TerminalSignalFunction
7SE2Switching input 2, 12 … 30VDC (with BCL 22 only)
9SE1Switching input 1, 12 … 30 V DC
11VDD_SE
12GND_SE
Table 6.9:Terminal assignment switching inputs
Switching outputs 1 and 2
The MA 4/MA 4D is equipped with two switching outputs (SA1 and SA2) which can be
programmed for various switching functions using the "BCLConfig" software.
• Output voltage corresponds to operating voltage
• Output current: I
The switching voltage for the output is generated by the operating voltage V_IN:
• VDD_SA = VDD_IN
• GND_SA = GND_IN
TerminalSignalFunction
13SA2Switching output 2 (with BCL 22 only)
14SA1Switching output 1
16GND_SAExternal supply voltage for switching output 0VDC
Table 6.10: Terminal assignment switching outputs
= 100mA
max
Supply voltage, switching input,
equal to V_IN device
GND, switching input,
equal to GND_IN device
Leuze electronicBCL 21/2241
TNT 35/7-24V
InstallationLeuze electronic
Circuitry MA 4/MA 4D
SE2
Switch
A
Sensor
Load
10 … 30V DC
Figure 6.9: Circuitry MA 4/MA 4D
13
14
16
17
18
19
20
SE1
VDD_SE
GND_SE
SA2
SA1
GND_SA
V_IN
V_IN
GND_IN
GND_IN
SE
ISA
42BCL 21/22Leuze electronic
Leuze electronicInstallation
Position of the connectors in the MA 4 1xx/MA 4 D 1xx
A
B
C
F
G
H
D
E
MA 4x 100MA 4x 110MA 4x 120MA 4x 130
2
5
6
1
3
RS485
4
D
D
N
485A
485B
485B
485A
GN
G
RS232
6
1
2
3
4
S
S
N D
T
T
XD
R
RXD
C
- 5G
T
X+ 1TX- 2
RX+ 3
RX- 4
TTY
T
J
pas.
TX
akt.
6
pas.
RX
- 5
GND
t.
ak
1
+
X
T
RS422
6
4
2
5
XT
-
RX+ 3
RX-
GN D
A Setting of the device address 0-15 or 16-31F Service interface
B Setting of the device address G Service/operation switch
C Interface moduleH Connection BCL
D Terminal stripJ
Jumper TTY active/passive
(MA 4x 120 … only)
E Attached label with terminal designation
Figure 6.10: Connector unit MA 4 1xx/MA 4 D 1xx
Wiring description
Terminals 1 to 6 in the MA 4 1xx/MA 4 D 1xx are assigned as described below. For wiring
through, the RS 485 interface at the MA 4 100/MA 4 D 100 is implemented twice:
Table 6.11: Terminal assignment MA 4 1xx/MA 4 D 1xx
Leuze electronicBCL 21/2243
InstallationLeuze electronic
Notice!
The operating mode active/passive is selected via the two jumpers on the TTY interface
module (MA 4 120/MA 4 D 120).
Voltage supply
In the connector unit MA 4 1xx/MA 4 D 1xx, the connections for the voltage supply are implemented twice. This permits wiring through or the voltage supply of additional components.
TerminalSignalFunction
17V_INOperating voltage 10 … 30V DC
18V_INOperating voltage 10 … 30V DC
19GND_INOperating voltage 0V DC
20GND_INOperating voltage 0V DC
21PEProtective earth, grounding
22PEProtective earth, grounding
Table 6.12: Terminal assignment voltage supply
Notice!
It is imperative that the protective conductor PE also is wired through to avoid electromagnetic interference.
Switching inputs 1 and 2
The connector unit MA 4 1xx/MA 4 D 1xx has two switching inputs SE 1 and SE 2.
• Input voltage: 12 … 30VDC
TerminalSignalFunction
7SE2Switching input 2, 12 … 30 V DC
9SE1Switching input 1, 12 … 30 V DC
11VDD_SE
12GND_SE
Table 6.13: Terminal assignment switching inputs
44BCL 21/22Leuze electronic
Supply voltage, switching input,
equal to V_IN device
GND, switching input,
equal to GND_IN device
Leuze electronicInstallation
Switching outputs 1 and 2
The MA 4 1xx/MA 4 D 1xx is equipped with two switching outputs (SA1 and SA2) which can
be programmed for various switching functions using the "BCLConfig" software.
• Output voltage corresponds to operating voltage
• Output current: I
The switching voltage for the output is generated by the operating voltage V+:
• VDD_SA = V_IN
• GND_SA = GND_IN
TerminalSignalFunction
13SA2Switching output 2
14SA1Switching output 1
16GND_SAExternal supply voltage for switching output 0VDC
Table 6.14: Terminal assignment switching outputs
Circuitry MA 4 1xx/MA 4 D 1xx
Switch
A
Sensor
Load
= 100mA
max
13
14
16
SE2
SE1
VDD_SE
GND_SE
SA2
SA1
GND_SA
SE
ISA
17
V_IN
V_IN
10 … 30V DC
18
19
GND_IN
20
GND_IN
Figure 6.11: Circuitry MA 4 1xx/MA 4 D 1xx
Leuze electronicBCL 21/2245
TNT 35/7-24V
InstallationLeuze electronic
6.3.3Wire Lengths and Shielding
The following maximum lengths for wires and the type of shielding to be used must be
observed:
For later re-use, the device is to be packed so that it is protected against shocks and dampness. Optimal protection is achieved when using the original packaging.
Notice!
Electrical scrap is a special waste product! Observe the locally applicable regulations regarding disposal of the product.
46BCL 21/22Leuze electronic
Leuze electronicCommissioning
7Commissioning
Attention Laser Radiation!
Follow the safety notices in chapter 2.3 on page 7!
7.1Measures to be performed prior to the initial commissioning
!
Before commissioning, familiarise yourself with the operation and configuration of the
device(s)!
!
Before switching on, recheck all connections and ensure that they have been properly
made.
Configuration elements using the example of the MA 2
Coding switch 0 … F
for setting the
device address
switch positions 0 … F
to the device address
correspond
0 … 15 or 16 … 31
Jumper for setting the
device address range:
Jumper above:
addr. 0 … 15
Jumper below:
addr. 16 … 31
Operating mode switch:
Switch in upper pos.:
operation
Switch in lower pos.:
service
Figure 7.1: Configuration elements in the MA 2
Setting the device address
The device address is set in the MA 2/MA 4… using a rotary code switch. The setting is
carried out as follows:
Set the device address to
!
• 0, if the combined BCL 21 / MA 2/MA 4… unit will not be operated in a network,
• 1…30, if several BCL 21 / MA 2/MA 4… units will be operated in a network. Each
multiNet plus network device must have a different device address assigned to it. If
the MA 2/MA 4… is connected to the multiNet Master, the device combination BCL 21
with MA 2/MA 4… automatically turns into a multiNet plus slave device.
Notice!
Address 31 is used for resetting the parameters.
TNT 35/7-24V
Leuze electronicBCL 21/2247
CommissioningLeuze electronic
Notice!
From the hardware address, the BCL 21 detects that networking is required. With the
BCL 21/22, it is possible to perform a reset using the software and the online commands. In
addition, it is possible to perform a reset by switching off the supply voltage. The parameters
are not lost as a result of the reset. For information on the reset commands, see chapter 9.
The LED remains dark during a reset; the green LED illuminates when the device is ready
for operation.
7.2Function Test
"Power On" test
After connecting the operating voltage, the devices carry out an automatic "Power On" function test. The LED on the front side of the MA 2/MA 4… lights up. In the case of factory
settings, the green LED flashes. In the additional service mode, the orange LED lights up.
Interface
Proper function of the interface can be tested easiest in service operation using the service
interface with the "BCLConfig" programming software and a notebook computer. For order
numbers, see chapter 5.
"Online commands"
Using the "Online" commands, important device functions can be checked, e.g. proper functioning of the laser.
Problems
Should problems occur during device commissioning, refer first to chapter 8.2. Should a
problem persist after checking all electrical connections and settings on the devices and
host, please contact a Leuze service office near you (see the back page of this operating
manual).
48BCL 21/22Leuze electronic
Leuze electronicCommissioning
7.3Setting the Parameters
In the device combination BCL 21/22 with MA 2/MA 4…, two different parameter sets are
managed:
• factory default parameter set
• current parameter set
Before a parameter set is loaded into the BCL 21/22 processor memory, the validity of the
parameter set is checked using checksums.
Factory default parameter set
This parameter set contains the default settings made ex works for all BCL 21/22 parameters. It is permanently stored in the ROM of the BCL 21/22. The parameter set with the
default settings is loaded into the memory of the BCL 21/22,
• the first time the device is commissioned after delivery
• following the command "Factory Default" in the parameterisation program
• if the checksums of the current parameter set are invalid.
Current parameter set
In this parameter set, the current settings for all device parameters are stored. When the
BCL 21/22 is in operation, the parameter set is stored in the EEPROM of the BCL 21/22. The
current set can be stored:
• by copying a valid parameter set from the host computer
• by means of an off-line setup with the PC setup program BCLConfig
The current parameter set is loaded into the memory of the BCL 21/22,
• each time the supply voltage is connected
• following a software reset
7.3.1Service Operating Mode
Setting the required parameters is carried out easiest in the 'Service' operating mode.
Service interface
By switching the operating mode switch in the MA 2/MA 4… from operation (switch in upper
pos.) to service (switch in lower pos.), the connection to the host computer is interrupted and
the RS 232 interface is activated. At the BCL 22, the interface is activated via a bridge
between the pins 7 and 15 on the 15-pin sub-D connector.
The connector unit MA 2/MA 4… offers a service interface for commissioning the reading
stations in a network. This interface can be accessed by removing the housing cover. It has
a 9-pin Sub-D connector (see figure 7.1).
Leuze electronicBCL 21/2249
TNT 35/7-24V
CommissioningLeuze electronic
Connection
A PC or terminal can be connected to the MA 2/MA 4… via the RS 232/V.24 serial interface
and used to set the parameters of the BCL 21/22. The connection is made using a crossed
RS 232 connection cable that establishes the RxD, TxD and GND connections. A hardware
handshake via RTS, CTS is not supported at the service interface.
Service Operating Mode
PC/terminal
COM interface
Figure 7.2: Connecting the MA 2 service interface to a PC or terminal
MA 2/MA 4…
service interface
Notice!
The service interface contains a predefined transmission protocol with the following parameters:
• transfer rate 9600 baud
• no parity
• 8 data bits
• 1 stop bit
• prefix: STX
• postfix: CR, LF
50BCL 21/22Leuze electronic
Leuze electronicOperation
8Operation
Attention Laser Radiation!
Follow the safety notices in chapter 2.3 on page 7!
8.1Display Elements
A LED labelled "SWO" is located on top of the MA 2/MA 4…. It indicates the state of the
switching output 1. On the BCL 21/22, you can find three LEDs that indicate different states.
For detailed information regarding the state displays of the LEDs please refer to chapter 4.2.
8.2Error Handling
Errors are indicated on the BCL 21/22 via the ERR LED. Additional error, warning and status
messages are transmitted via the Host interface.
Types of errors
Errors are divided up into the following types:
• Warnings
• Serious errors
Warnings
Warnings indicate temporary operating faults which do not affect the proper functioning of
the device.
Serious errors
Serious errors impair the proper functioning of the device. The device must be reinitialised.
Troubleshooting
Isolated warnings can be ignored, since the BCL 21/22 will continue to function properly.
Following a serious error, you should re-initialise the BCL 21/22. It will then usually again
function properly. If a hardware problem is present, the BCL 21/22 will not reinitialise.
Warnings and errors which occur frequently can be corrected easiest using the BCLConfig
software.
If you cannot correct faults and errors with the software, please contact a Leuze electronic
sales office or service facility. For addresses, please refer to the back page of this operating
manual.
Leuze electronicBCL 21/2251
TNT 35/7-24V
Communicating with the DeviceLeuze electronic
9Communicating with the Device
Device parameters can be set using the automatic configuration "autoConfig", via
commands at the serial interface or using the easy-to-use "BCLConfig" control software.
9.1Installing the "BCLConfig"-software
!
Place the installation CD in your CD/DVD drive.
!
Call up the installation file (e.g. Setup.exe)
The following window appears:
Installation window
Figure 9.1: Installation window
!
Confirm the following licence agreement and select the installation path in the following
window:
52BCL 21/22Leuze electronic
Leuze electronicCommunicating with the Device
Installation directory
Figure 9.2: Installation directory
!
Confirm your entry with Next, then follow the installation routine.
!
After the successful installation, double-click on the file "BCLconfig.exe" to activate the
configuration program.
Leuze electronicBCL 21/2253
TNT 35/7-24V
Important ParametersLeuze electronic
10Important Parameters
10.1Code menu
Figure 10.1: Standard setting of the code menu
Code tableHere, the codes which are to be decoded are set. We recommend enabling
only the code types which are to actually be read with the corresponding
element numbers.
Important: Code 1 must always be selected. If multiple code types are to
be used, set in sequential order: Code 1, Code 2, …
Number Of
Digits
Notice!
If the code EAN128 is to be read, 3 additional characters are to be set for the code identifier.
PropertiesBehind the "Properties" button, to the right of the respective code, the
Number of bar
codes
54BCL 21/22Leuze electronic
In the field Element number, up to 3 element entries may be entered.
An area is represented by a dashed line:e.g. 4-40 digits.
With 2 or 3 different element entries
by a comma: e.g: 8,13 digits
The combination is also possible,
but the range must be specified first:e.g.: 4-10,20 digits
code-specific settings, such as the check digit, can be selected.
Here, the number of the bar codes to be decoded within a read cycle (one
reading gate) is set.
Leuze electronicImportant Parameters
10.1.1 Properties of the Code menu
Figure 10.2: Standard setting of the properties of the code menu
Quiet zone sizeQuiet zone: the area to the left and right of the bar code
Module:width of the narrowest line in the bar code
According to the code specifications, each bar code must have a quiet
zone which is 10 times as wide as the module of the bar code.
Ex: for a code having a module of 0.5mm, 5mm blank space must be
present at both the left and right of the code.
By default, the scanner checks a quiet zone which is 7 times greater
than the module. This means that 7 times or greater is o.k.
Reading security
(Equal Scans)
No time correlationIf this parameter is set, a gap between two identical labels is
No position
correlation
Notice!
In general, the remaining parameters must not be changed. In the worst case, this could corrupt the reading result!
Leuze electronicBCL 21/2255
Specifies how often a code must be decoded before the result is valid
and output. This value should be increased for inspection and test purposes only.
ignored and they are treated as a single label.
If this parameter is set, then the position of a bar code label in the reading beam is not taken into account. Identical labels are treated as a single label
TNT 35/7-24V
Important ParametersLeuze electronic
10.2Output menu
Figure 10.3: Output menu
Output headerSelect from the options listed below. The output header is sent in a
separate message before the read result.
Label headerThe Label header is set directly before the code data.
Label footerThe label footer is appended directly to the code data.
Message modeSelects whether the bar codes read are sent in concatenation or
separately as individual strings.
Notice!
The structure of this message string is depicted symbolically in the preview window.
No read stringThis character is set for each unrecognised bar code. Multiple char-
acters (=string) may be entered here. Up to 20 characters are possible.
PropertiesSet the desired formatting modes and formatting characters as nec-
56BCL 21/22Leuze electronic
essary.
Leuze electronicImportant Parameters
10.3Control
Figure 10.4: Control menu default settings
Activation
Sensor 1 function see menu "switching input"
Autostart after
decoding
Command
character
Decode delay time This point is usually used only for test purposes. After the time set
Leuze electronicBCL 21/2257
In this mode, the scanner reads via an internal trigger signal with maximum performance. Attention: Up to 100 codes per second may be
transmitted.
The standard online character for the trigger start is the ´+´ character.
This character can be changed only via the tree structure.
here has passed, the scanner automatically reactivates itself following
a reading gate end.
TNT 35/7-24V
Important ParametersLeuze electronic
Deactivation
Sensor 1 function see menu "switching input"
Reading security
reached (equal
scans)
Command
character
TimeFor test purposes.
Scans without info Following a successful read, the scanner waits for this number of
10.4Communication
If this item is activated, the read result is output immediately after the
bar code is decoded.
If the item is deactivated, the read result is sent only after the trigger
signal is returned (=end of reading gate).
The standard online character for the trigger end is the ´-´ character.
This character can be changed only via the tree structure.
If the scanner is activated, the reading gate is automatically closed by
the scanner after this preset time has elapsed.
scans (sequential scans with no read result) before it automatically
deactivates itself.
Figure 10.5: Standard setting of the communication menu
Select the desired baud rate, the stop bits, the data bits and the parity here. In addition,
several different handshake modes and protocols can be set here.
58BCL 21/22Leuze electronic
Leuze electronicImportant Parameters
The RK512/3964 protocol can also be selected here. The individual parameters for this
protocol can be found in the tree-structure configuration: Communication -> Customer Interface -> 3964 / RK 512 Protocol
Attention!
If the BCL 21 is operated in a network ("Leuze multiNet"), no changes may be made here.
The scanner automatically sets itself to the multiNet protocol!
10.4.1 Communication properties
Figure 10.6: Standard setting of the property menu
Here, the frame format (prefix/postfix), the address mode as well as a BCC mode can be set.
Attention!
If the BCL 21 is operated in a network ("Leuze multiNet"), no changes may be made here.
Leuze electronicBCL 21/2259
TNT 35/7-24V
Important ParametersLeuze electronic
10.5Reference code
Figure 10.7: Reference code menu
A reference code is bar code information which is stored in the memory of the scanner.
This reference code can be compared with the current decoded bar code in various modes
and, thus, the switching output be set appropriately. To do this, the switching output must
still be set to "By comparison of reference code X" in the "Switch" menu.
One way to store the reference code is to enter it manually in this menu. You can find further
options of the reference code teach-in in the chapter on online commands.
Typ eSelect the code type.
InfoContents of the reference code
Compare modeSelect here how the internally stored reference code is to be com-
pared with the decoded result.
-> For additional comparison possibilities, please select the "Properties" menu
60BCL 21/22Leuze electronic
Leuze electronicImportant Parameters
10.6Switching input
Figure 10.8: Standard setting of the switching input menu
InvertHere, the input level can be inverted.
EnableSwitching input enabled or disabled.
Debounce timeThis time period must lapse until the trigger signal is regarded as
valid.
Delay on timeThe trigger signal is passed on delayed by the specified time period.
Pulse durationIf the value is higher than "0": duration of the activation, regardless of
how long the trigger signal has been present.
Delay off timeAfter the end of the trigger signal, the pulse is extended internally by
this time period.
Notice!
If the switch-off delay is activated, the parameter "pulse duration" should be "0".
FunctionEvent that is started when the switching input is activated.
Leuze electronicBCL 21/2261
TNT 35/7-24V
Important ParametersLeuze electronic
10.7Switching output
Figure 10.9: Standard setting of the switching output menu
ActivationSelect the desired event which is to initiate the switching of the switch-
ing output here. Multiple events can also be simultaneously activated.
DeactivationShown here is the event which results in the switching output being
reset (if the set pulse duration has not yet expired). Multiple events
can also be simultaneously activated.
InvertLevel inverted
Pulse durationDuration of the switching output impulse. A value of "0" in this position
indicates a static level, i.e., the signal remains present until the deactivation event occurs.
62BCL 21/22Leuze electronic
Leuze electronicOnline commands
11Online commands
11.1Overview of Commands and Parameters
Online commands can be used to send commands directly to the device for control and
configuration.
For this the BCL 21/22 with MA 2/MA 4… must be connected to a host or service computer
via the serial interface. The commands described can be sent either via the host or the
service interface.
For information on the transmission protocol, please see chapter 7.3.1.
Online commands
With the commands, you can
• control/decode.
• read/write/copy parameters.
• carry out an automatic configuration.
• call up error messages.
• call up statistical device information.
• carry out a software reset in order to reinitialise the device.
Syntax
"Online" commands consist of one or two ASCII characters followed by command parameters.
No separation characters may be entered between the command and the command parameter(s). Both small and capitalised letters can be used.
Example:
Command ’CA’: autoConfig function
Parameter ’+’:Activation
Transmitted is:’CA+’
Notation
Commands, command parameters and returned data are enclosed between single quotation marks ’ ’ in the text of this manual.
Most online commands are acknowledged by the BCL 21/22 and any requested data
returned. For commands that are not acknowledged, command execution can be observed
or monitored directly on the device.
Leuze electronicBCL 21/2263
TNT 35/7-24V
Online commandsLeuze electronic
11.1.1 General 'Online' Commands
Software version number
Command’V’
DescriptionRequests device version information
Parameterno
’BCL 2x V 01.00 08.01.1999’
Acknowledgement
Notice!
Using this command, you can check whether the connected host or service computer is
properly connected and configured. If you do not receive an acknowledgement, please
check interface connections, protocol and service switches.
Software reset
Command’H’
Description
Parameterno
Acknowledgement
The device type appears in the first line followed by the device's version
number and date. (The data which are actually displayed may vary
from the values given here.)
Carries out a software reset. The device is restarted and reinitialised,
leaving it in the same state as when the supply voltage is switched on.
’S’ (start signal)
64BCL 21/22Leuze electronic
Leuze electronicOnline commands
autoConfig
Command’CA’
Activates or deactivates the 'autoConfig' function. Certain label reading
Description
Parameter
Acknowledgement
Description
parameters are programmed automatically in the setup by the labels
which are read while the 'autoConfig' function is active.
’+’ activates ’autoConfig’
’/’ rejects the last code read
’-’ deactivates ’autoConfig’ and stores the decoded data in the current
parameter set.
’CSx’
x: Status
’0’ valid ’CA’ command
’1’ invalid command
’2’ autoConfig could not be activated
’3’ autoConfig could not be deactivated
’4’ result could not be deleted
’xx yy zzzzzz’
xx: No. of digits of the read code
yy Code type of the read code
’01’ 2/5 Interleaved
’02’ Code 39
’06’ UPC (A, E)
’07’ EAN
’08’ Code 128, EAN 128
’10’ EAN/UPC
’11’ Codabar
zzzzzz Contents of the decoded label. The ↑ appears if the label was
not correctly read.
Leuze electronicBCL 21/2265
TNT 35/7-24V
Online commandsLeuze electronic
Code recognition
Command’CC’
Detects an unknown bar code and outputs number of digits, code type,
Description
Parameterno
Acknowledgement
and code information to the interface, without storing it in the parameter
memory.
’xx yy zzzzzz’
xx: No. of digits of the read code
yy: Code type of the read code
’01’ 2/5 Interleaved
’02’ Code 39
’06’ UPC (A, E)
’07’ EAN
’08’ Code 128, EAN 128
’10’ EAN/UPC
’11’ Codabar
zzzzzz:
Contents of the decoded label. The ↑ appears if the label was not correctly
read.
66BCL 21/22Leuze electronic
Leuze electronicOnline commands
Alignment mode
Command’JP’
This command is used for the easy mounting and alignment of the
BCL 21/22. After the function has been activated by ’JP+’, the scanner
continuously supplies status information via the serial interfaces.
With this online command, the scanner is set to terminate the decoding
after 100 successfully decoded labels and output the status information.
Subsequently, the read process is reactivated automatically.
As status, the output returns the following values:
• scans which contain the valid label information on the basis of
100 scans,
Description
Parameter
Acknowledgement
• the decoding result.
These values can be used to determine the decoding quality.
In addition to the output of the status information, the laser beam is used
to display the reading quality. Depending on how many labels were able
be extracted, the duration of the laser's "off" time increases.
If the reading quality is high, the laser beam flashes in brief, regular intervals. The worse the decoder decodes, the longer the pauses become during which the laser is switched off. The flashing intervals become more
and more irregular because the laser may, in total, be active for longer to
extract more labels. The duration of the pauses has been stepped in such
a way that they can be distinguished by the eye.
’+’: starts the adjustment mode.
’-’:ends the adjustment mode.
’xxxxx_yyyyy’
xxxxx: "Scans since reading gate release" (scans_with info):
Number of scans that contain valid label information. The maximum value is 100. It indicates for how many of 100 scans valid
label information could be ascertained.
yyyyy: Bar code information.
Leuze electronicBCL 21/2267
TNT 35/7-24V
Online commandsLeuze electronic
Manual definition of the reference code
CommandRS
This command can be used to define a new reference code in the
BCL 21/22 by means of direct input via the serial interface. The data
Description
Parameter
Acknowledgement
Example
are saved in the parameter set according to their input under reference
code 1 through 9 and stored in the working buffer for direct further
processing.
’RSyvxxzzzzzzzz’
y, v, x and z are placeholders (variables) for the actual input.
y: def. reference code No.
’1’ (Code 1)
’2’ (Code 2) ...
’9’ (Code 9)
v Storage location for reference code:
’0’ RAM+EEPROM,
’3’ RAM only
xx def. Code type (see command ’CA’)
z def. Code information (1 … 63 characters)
’RSx’
x: Status
’0’ valid ’Rx’ command
’1’ invalid command
’2’ insufficient memory for reference code
’3’ reference code has not been saved
’4’ reference code invalid
Input = ’RS130678654331’ (Code 1 (1), RAM only (3), UPC (06), code
information
68BCL 21/22Leuze electronic
Leuze electronicOnline commands
Teach-In
Command’RT’
Description
Parameter
Acknowledgement
This command enables a reference code to be defined quickly by reading an example label.
’RTy’
y: Function
’1’ defines reference code 1
’2’ defines reference code 2 …
’9’ defines reference code 9
’+’ activates the definition of reference code 1 up to the value of Param-
eter no_of_labels
’-’ Exit the Teach-In process
The BCL first responds with the command ’RS’ and corresponding status (see command RS). After a barcode has been read, it sends the
result in the following format:
’RCyvxxzzzzz’
y, v, x and z are placeholders (variables) for the actual input.
y: def. reference code No.
’1’ (Code 1) …
’9’ (Code 9)
v: Storage location for reference code
’0’ RAM+EEPROM,
’3’ RAM only
xx def. Code type (see command ’CA’)
z def. Code information (1 … 63 characters)
Notice!
With this function, only code types are recognised that are identified using the autoConfig
function or which were set in the set-up.
!
After each reading via an ’RTx’ command, explicitly switch off the function again since
failure to do so will interfere with other commands as well as prevent execution of a new
’RTx’ command.
ExampleInput: PC20 –> all parameters are reset to default values.
The command reads out the reference code defined in the BCL. If no
parameters are specified, all defined codes are output.
<Reference code number>
’1’ ... ’9’ value range of reference codes 1 to 9
If no reference codes are defined, the BCL responds with the ’RS’
command and corresponding status (see command RS). For valid
codes, the output corresponds to the following format:
RCyvxxzzzzzz
y, v, x and z are placeholders (variables) for the actual input.
y: def. reference code No.
’1’ (Code 1) …
’9’ (Code 9)
v: Storage location for reference code
’0’ RAM+EEPROM,
’3’ RAM only
xx def. Code type (see command ’CA’)
z def. Code information (1 … 63 characters)
’03’ copy parameters from the EEPROM into the RAM and initialise all
associated functions
'20' copy standard parameters from the FLASH into the EEPROM and
RAM and initialise all relevant functions
’30’ copy parameters from the RAM into the EEPROM
’PSx’
x: Status
'0' valid transmission
'1' invalid message
'2' invalid length of message
'3' invalid block check type
'4' invalid block check checksum
'5' invalid data length
'6' invalid message data
'7' invalid start address
'8' invalid parameter set
'9' invalid parameter type
System Standby: puts the bar code reader in standby mode. The scanner
cannot be triggered, and the polygon wheel motor is stopped.
no
System boot-up: reactivates the bar code reader from standby mode back
to operating mode. The polygon wheel motor is started, the scanner works
as usual.
’S’ (start signal)
no
no
TNT 35/7-24V
Command’,’
DescriptionThe command activates the definition of reference code 1.
Parameterno
Acknowledgement
Leuze electronicBCL 21/2271
no
Online commandsLeuze electronic
Deactivate sensor input 2
Command’.’
DescriptionThe command deactivates the definition of reference code 1.
Parameterno
Acknowledgement
Activate switching output
Command’OA’
DescriptionThe command activates a selected switching output.
Parameter
Acknowledgement
Deactivate switching output
Command’OD’
DescriptionThe command deactivates a selected switching output.
DescriptionQueries the supply voltage with which the bar code reader is supplied.
Parameterno
Acknowledgement
72BCL 21/22Leuze electronic
’DUVxx.x’
xx.x: Voltage value, for example 28.2 for 28.2Volt.
Leuze electronicOnline commands
Diagnosis motor
Command’DM’
Description
Parameter
Acknowledgement
Description
Status message for diagnosis commands
Command’DS’
Description
Parameter
The command requests the operational data of the motor. In addition,
the motor can be switched on and off
’S’ Request rotary frequency of the motor. (Message from host)
’Cxxxxx’ Transmission of the motor RPM as a decimal number with 5
digits. (Message to host)
’Sxxxxx’
xxxxx is the current rotary frequency of the motor in revolutions per
minute.
In case of malfunction, the BCL responds with the command ’DS’ and
the corresponding status. (See command ’DS’)
The command serves as an acknowledgement message to the host.
The command contains as a two-digit decimal number an acknowledgement status which provides information about the processing of
the requested diagnosis function.
’0’ valid processing
’1’ invalid diagnostic message
’2’ message too long
’3’ invalid message parameter of the laser diagnosis command
’4’ invalid length of the laser diagnosis message
’5’ invalid message parameter of the motor diagnosis command
’6’ invalid length of the motor diagnosis message
Leuze electronicBCL 21/2273
TNT 35/7-24V
Online commandsLeuze electronic
11.1.4 ’Online’ command for querying error messages
Query memory error messages
Command’ER’
DescriptionThe command queries the buffer memory of the error messages.
Parameterno
1st line: New: cc
2nd through 11th lines:
Acknowledgement
Description
Notice!
If an error occurs, note the error number and contact your local Leuze service organisation.
The addresses can be found on the back page of this operating manual.
’- 00.000’ if no error has occurred
’F tt.fff’ if a fatal error has occurred
’E tt.fff’ if an error has occurred
’C tt.fff’ if a critical warning has occurred
’W tt.fff’ if a warning has occurred
cc: number of (new) errors in the error buffer
tt: task/ function number
fff: error number
Upon output, the counter for the number of errors in the error buffer is
deleted, but not the buffer itself!
74BCL 21/22Leuze electronic
Leuze electronicMaintenance
12Maintenance
12.1General Maintenance Information
The bar code reader BCL 21/22 and the connector unit MA 2/MA 4… normally should not
require any maintenance by the user.
Cleaning
Should it become soiled, clean the glass window of the BCL 21/22 with a soft cloth.
Notice!
Do not use aggressive cleaning agents such as thinner or acetone for cleaning the device.
12.2Repairs, Servicing
Repairs to the device must only be carried out by the manufacturer.
Contact your Leuze distributor or service organisation should repairs be required. For
!
addresses, please refer to the back page of this operating manual.
Leuze electronicBCL 21/2275
TNT 35/7-24V
AppendixLeuze electronic
13Appendix
13.1ASCII Table
ASCIIDec.Hex.Oct.DesignationMeaning
NUL0000NULLNull
SOH1011START OF HEADINGStart of heading
STX2022START OF TEXTStart of text characters
ETX3033END OF TEXTLast character of text
EOT4044END OF TRANSMISS.End of transmission
ENQ5055ENQUIRYRequest for data trans.
ACK6066ACKNOWLEDGEPositive acknowledgement
BEL7077BELLBell signal
BS80810BACKSPACEBackspace
HT90911HORIZ. TABULATORHorizontal tabulator
LF100A12LINE FEEDLine feed
VT110B13VERT. TABULATORVertical tabulator
FF120C14FORM FEEDForm feed
CR130D15CARRIAGE RETURNCarriage return
SO140E16SHIFT OUTShift out
SI150F17SHIFT INShift in
DLE161020DATA LINK ESCAPEData link escape
DC1171121DEVICE CONTROL 1Device control character 1
DC2181222DEVICE CONTROL 2Device control character 2
DC3191323DEVICE CONTROL 3Device control character 3
DC4201424DEVICE CONTROL 4Device control character 4
NAK211525NEG. ACKNOWLEDGENegative acknowledge
SYN221626SYNCRONOUS IDLESynchronization
ETB2317 27EOF TRANSM. BLOCK End of data transmission block