Leuze electronic BCL 8 S M 0 Series, BCL 8 S 0 Series, BCL 8 Series, BCL 8 S N 2 Series, BCL 8 S N 0 Series, BCL 8 S M 2 Series, BCL 8 S M 102, BCL 8 S M 100, BCL 8 S M 550, BCL 8 S M 552, BCL 8 S N 100, BCL 8 S N 102, BCL 8 S N 552, BCL 8 S N 550 Original Operating Instructions
Figure 12.1: Example bar code label types ....................................................................................71
Leuze electronicBCL 83
General information
1General information
1.1Explanation of symbols
The symbols used in this technical description are explained below.
Attention!
This symbol precedes text messages which must strictly be observed. Failure to comply with
this information results in injuries to persons or damage to the equipment.
Attention Laser!
This symbol warns of possible danger caused by hazardous laser radiation.
Notice!
This symbol indicates text passages containing important information.
1.2Declaration of Conformity
The BCL 8 bar code reader and the optional MA 8.1 connector unit have been developed
and produced in accordance with the applicable European standards and directives.
Notice!
The corresponding declaration of conformity can be requested from the manufacturer.
The manufacturer of the product, Leuze electronic GmbH & Co. KG in D-73277 Owen,
possesses a certified quality assurance system in accordance with ISO 9001.
4BCL 8Leuze electronic
2Safety
This sensor was developed, manufactured and tested in line with the applicable safety standards. It corresponds to the state of the art.
2.1Intended use
The BCL 8 bar code reader is designed as a stationary scanner with integrated decoder for
all common bar codes used for automatic object detection.
The optional MA 8.1 connector unit is intended for the easy connection of a bar code reader
of type BCL 8.
Areas of application
The BCL 8 bar code reader with optional MA 8.1 connector unit is designed especially for
the following fields of application:
• labeling and packaging machines
• automatic analyzers
• space-critical bar code reading tasks
• in material flow
• pharmaceutical industry
• in robot technology and automation systems
Safety
CAUTION
Observe intended use!
Only operate the device in accordance with its intended use.
The protection of personnel and the device cannot be guaranteed if the device is operated in a manner not complying with its intended use.
Leuze electronic GmbH + Co. KG is not liable for damages caused by improper use.
Read the technical description before commissioning the device.
Knowledge of this technical description is an element of proper use.
NOTICE
Comply with conditions and regulations!
Observe the locally applicable legal regulations and the rules of the employer's liability
insurance association.
Attention
For UL applications, use is only permitted in class 2 circuits in accordance with the NEC
(National Electric Code).
Leuze electronicBCL 85
TNT 35/7-24V
Safety
2.2Foreseeable misuse
Any use other than that defined under "Intended use" or which goes beyond that use is
considered improper use.
In particular, use of the device is not permitted in the following cases:
• Rooms with explosive atmospheres
• As stand-alone safety component in accordance with the machinery directive
• Operation for medical purposes
NOTICE
Do not modify or otherwise interfere with the device.
Do not carry out modifications or otherwise interfere with the device.
The device must not be tampered with and must not be changed in any way.
The device must not be opened. There are no user-serviceable parts inside.
Repairs must only be performed by Leuze electronic GmbH + Co. KG.
2.3Competent persons
Connection, mounting, commissioning and adjustment of the device must only be carried
out by competent persons.
Prerequisites for competent persons:
• They have a suitable technical education.
• They are familiar with the rules and regulations for occupational safety and safety at
work.
• They are familiar with the technical description of the device.
• They have been instructed by the responsible person on the mounting and operation
of the device.
1)
Certified electricians
Electrical work must be carried out by a certified electrician.
Due to their technical training, knowledge and experience as well as their familiarity with
relevant standards and regulations, certified electricians are able to perform work on electrical systems and independently detect possible dangers.
In Germany, certified electricians must fulfill the requirements of accident-prevention regulations BGV A3 (e.g. electrician foreman). In other countries, there are respective regulations that must be observed.
1) Use as safety-related component within the safety function is possible, if the component combination is designed correspondingly by the machine manufacturer.
6BCL 8Leuze electronic
2.4Disclaimer
Leuze electronic GmbH + Co. KG is not liable in the following cases:
• The device is not being used properly.
• Reasonably foreseeable misuse is not taken into account.
• Mounting and electrical connection are not properly performed.
• Changes (e.g., constructional) are made to the device.
2.5Laser safety notices
ATTENTION LASER RADIATION – LASER CLASS 2
Never look directly into the beam!
The device satisfies the requirements of IEC 60825-1:2007 (EN 60825-1:2007) safety
regulations for a product in laser class 2 as well as the U.S. 21 CFR 1040.10 regulations
with deviations corresponding to "Laser Notice No. 50" from June 24th, 2007.
Never look directly into the laser beam or in the direction of reflecting laser beams.
If you look into the beam path over a longer time period, there is a risk of injury to the
retina.
Do not point the laser beam of the device at persons!
Interrupt the laser beam using a non-transparent, non-reflective object if the laser
beam is accidentally directed towards a person.
When mounting and aligning the device, avoid reflections of the laser beam off reflec-
tive surfaces!
CAUTION! The use of operating or adjusting devices other than those specified here
or carrying out of differing procedures may lead to dangerous exposure to radiation.
Adhere to the applicable legal and local regulations regarding protection from laser
beams.
The device must not be tampered with and must not be changed in any way.
There are no user-serviceable parts inside the device.
Repairs must only be performed by Leuze electronic GmbH + Co. KG.
Safety
TNT 35/7-24V
Leuze electronicBCL 87
Safety
NOTICE
Affix laser information and warning signs!
Laser information and warning signs are attached to the device (see figure 2.1). In addition, self-adhesive laser warning and information signs (stick-on labels) are supplied in
several languages (see figure 2.2).
Affix the laser information sheet to the device in the language appropriate for the place
of use.
When using the device in the U.S.A., use the stick-on label with the "Complies with
21 CFR 1040.10" notice.
Affix the laser information and warning signs near the device if no signs are attached
to the device (e.g., because the device is too small) or if the attached laser information
and warning signs are concealed due to the installation position.
Affix the laser information and warning signs so that they are legible without exposing
the reader to the laser radiation of the device or other optical radiation.
Potencia máx. (peak):
Duración del impulso:
Longitud de onda:
RADIAÇÃO LASER
NÃO OLHAR FIXAMENTE O FEIXE
EQUIPAMENTO LASER CLASSE 2
EN 60825-1:2007
Potência máx. (peak):
Período de pulso:
Comprimento de onda:
LASER RADIATION
DO NOT STARE INTO BEAM
CLASS 2 LASER PRODUCT
IEC 60825-1:2007
Complies with 21 CFR 1040.10
Maximum Output (peak):
Pulse duration:
Wavelength:
䉏⏘戟⺓
▎䦃展⏘㧮
伊䉏⏘ℶ❐
GB7247.1-2012
㦏⮶戢⒉᧤⽿⋋᧥
厘⑁㖐兼㢅梃
㽱栎
1,7 mW
<420 μs
655 nm
1,7 mW
<420 μs
655 nm
1.7 mW
<420 μs
655 nm
1,7 mW
<420 μs
655 nm
1,7 mW
<420 μs
655 nm
1,7 mW
<420 μs
655 nm
1.7 mW
<420 μs
655 nm
1.7 mW
<420 μs
655 nm
50038277-03
Figure 2.2: Laser warning and laser information signs – supplied stick-on labels
10BCL 8Leuze electronic
3Description
Reading window with
lateral beam exit
Two M4 mounting threads at the rear and bottom side of the device
M12 connector, turning or
cable, 2m
BCL 8 S M xx2
BCL 8 S N xx2
BCL 8 S M xx0
BCL 8 S N xx0
M12 connector, turning or
cable, 2m
Reading window with
beam exit at the front
Through holes
∅ 4.4 for fas-
tening
Through holes
∅ 4.4 for fas-
tening
Device construction of the BCL 8
Description
Figure 3.1:Device construction of the BCL 8
3.1The BCL 8 bar code reader
The BCL 8 bar code reader is a laser scanner with integrated decoder for all commonly used
bar codes, e.g. 2/5 Interleaved, Code 39, Code 128, EAN etc., with an extremely small
housing.
The many possible configurations of the device allow it to be adapted to a multitude of
reading tasks. Due to the small dimensions of the unit and its wide reading field, the BCL 8
may also be used in highly constrained spaces.
Information on technical data and characteristics can be found in chapter 4.
Leuze electronicBCL 811
TNT 35/7-24V
Description
3.2Stand alone operation
The BCL 8 bar code reader is operated as a "stand-alone" device. It is equipped with a fivecore cable with open ends or a 5-pin M12 connector for the electrical connection of the
supply voltage, the interface and the switching input.
With MA 8.1 connector unit
The MA 8.1 connector unit simplifies the electrical installation of the bar code reader in
stand-alone operation with an RS 232 interface.
For details on the connector units, see chapter 5.
With MA 8-01 connector unit
The MA 8-01 connector unit simplifies the electrical installation of the bar code reader in
stand-alone operation with an RS 485 interface.
For details on the connector units, see chapter 5.
3.3Daisy chain network
A daisy chain is a network based on the RS 232 interface. All devices, which consist of a
transmitter and a receiver, are connected to one another to form a ring. The transmitter of
one device is directly connected to the receiver of the next device until all devices are
connected together to form a ring. One device performs the task of the host system.
Ideally, all BCL 8 devices are to be connected to one another with MA 8.1 connector units
so that:
• the voltage supply of the BCL 8/MA 8.1 is ensured.
• TxD to RxD of the RS 232 is established from one BCL 8 to the next (host).
• the switching outputs and inputs are connected (optional).
A maximum of seven BCL 8 devices may be operated in the daisy chain together with one
host. Further information is available from your Leuze sales office.
12BCL 8Leuze electronic
4Specifications
4.1General specifications BCL 8
Optical data
Light sourcelaser diode
Laser class2 acc. to IEC 60825-1:2007 and U.S. 21 CFR 1040.10 with
Figure 4.2:Dimensioned drawing BCL 8 S M …2, BCL 8 S N …2 with front beam exit
16BCL 8Leuze electronic
4.4Optical Data
Notice!
Please note that the size of the bar code module influences the maximum reading distance
and the width of the reading field. Therefore, when selecting a mounting location and/or the
bar code label, take into account the different reading characteristics of the scanner with various bar code modules.
For different reading task and connection requirements, the BCL 8 is available in various
models (see chapter 4.4.1 "Type overview").
4.4.1Type overview
BCL 8 with M optics
Specifications
TypeRangeModule/
resolution
[mm]
BCL 8 S M 100
BCL 8 S M 102
BCL 8 S M 550
BCL 8 S M 552
Table 4.3:Type overview - M-optics
up to
160mm
0.15 … 0.5
BCL 8 with N optics
TypeRangeModule/
BCL 8 S N 100
BCL 8 S N 102
BCL 8 S N 550
BCL 8 S N 552
Table 4.4:Type overview - N-optics
up to
120mm
resolution
[mm]
0.125 … 0.4
Connection Scanner type/
Beam exit
Single Line/
M12
connector
fixed cable
(2m)
Connection Scanner type/
M12
connector
fixed cable
(2m)
lateral
Single Line/
front
Single Line/
lateral
Single Line/
front
Beam exit
Single Line/
lateral
Single Line/
front
Single Line/
lateral
Single Line/
front
Part No.
50040229
50038949
50040230
50038948
TNT 35/7-24V
Part No.
50105417
50105418
50105419
50105420
Leuze electronicBCL 817
Specifications
Reading field width in mm
Distance in mm
Code 2/5 int.
Ratio 1:2.5
Class A acc. to ANSI
Beam exit at
the front
Lateral beam
exit
4.4.2Reading fields
Notice!
Please note that the actual reading fields are also influenced by factors such as labelling material, printing quality, scanning angle, printing contrast etc., and may thus deviate from the
reading fields specified here. The origin of the read distance always refers to the front edge
of the housing of the beam exit.
BTU D12M.5-15050119323Rod Ø 12 mm, length 150mm, stainless steel
BTU D12M.5-25050119324Rod Ø 12 mm, length 250mm, stainless steel
BTU D12M-D12-A0905011932390°-connectors for 2 rods Ø 12mm
BTU D12M-D12-B09050119333
BTP 300M-D1050117827
BTP 300M-D1250117826
BTP 300M-D1450117825
Reflective tape no. 4
100 x 100mm
BCLConfig
Table 5.1:Accessories / order codes
50106119
Download at
www.leuze.com
RS 232 point-to-point connection,
1 switching input and 1 switching output, 24V DC
MA 8-01 connector unit for BCL 8,
RS 485 point-to-point connection,
1 switching input and 1 switching output, 24V DC
Sensor mounting bracket for rod Ø 10mm or cheek
1.5 … 4mm
Sensor mounting bracket for rod Ø 12mm or cheek
1.5 … 4mm
Sensor mounting bracket for rod Ø 14mm or cheek
1.5 … 4mm
Mounting bracket for rods Ø 12mm,
system-side mounting bracket 2 x M6,
hole spacing 27mm … 45mm, diecast aluminum
Sensor protective cover for rod Ø 10mm
or cheek 1.5 … 4mm
Sensor protective cover for rod Ø 12mm
or cheek 1.5 … 4mm
Sensor protective cover for rod Ø 14mm
or cheek 1.5 … 4mm
Reflective tape as reflector for AutoReflAct operation
(see chapter 10.7 on page 54)
Configuration software
20BCL 8Leuze electronic
5.2Connector unit MA 8.1
AM12 socket, 5-pin
BM12 plug, 5-pin
The MA 8.1 connector unit is used to simplify the electrical installation of the BCL 8. If offers
the following advantages over the installation of the BCL 8 as a stand-alone device:
• M12 socket for switching input and switching output
• M12 connector for RS 232 interface and voltage supply 24VDC
• M12 socket for connection of the BCL 8
Accessories / Order Designation
Figure 5.1:Photo and dimensioned drawing of the MA 8.1 connector unit
Leuze electronicBCL 821
TNT 35/7-24V
MA 8.1
Accessories / Order Designation
M12 socket
(A-coded)
M12 socket
(A-coded)
M12 plug
(A-coded)
Switching input
Switching output
5.2.1Electrical connection MA 8.1
Figure 5.2:Electrical connection MA 8.1
22BCL 8Leuze electronic
Accessories / Order Designation
3
21
4
5
RXDGND
VIN
FE
TXD
PWR IN
HOST/RS232
M12 plug
(A-coded)
M12 socket
(A-coded)
5.2.2MA 8.1 - PWR IN HOST/RS 232 - voltage supply and RS 232
PWR IN HOST/RS 232 (5-pin plug, A-coded)
PinNameRemark
1VINPositive supply voltage: +10 … +30 VDC
2TXD
3GNDSupply voltage 0V DC
4RXD
5FEFunctional earth
ThreadFEFunctional earth (housing)
Figure 5.1:MA 8.1 - Pin assignment PWR IN HOST/RS 232
Attention!
Protection class IP 67 is achieved only if the connectors and caps are screwed into place!
Voltage supply for sensors
(VOUT identical to VIN at PWR IN)
TNT 35/7-24V
Leuze electronicBCL 823
Attention!
Protection class IP 67 is achieved only if the connectors and caps are screwed into place!
Notice!
The switching input/switching output are programmed via the BCLconfig configuration software. For more information see chapter 10.6 and chapter 10.8, from page 53 onwards.
Accessories / Order Designation
Switching input
Switching output
Attention!
If you use a sensor with a standard M 12 connector, then please note the following:
Use only sensors on which the switching output does not lie on pin 2 or sensor cableson which pin 2 is not assigned. Otherwise, the switching output is not protected against
feedback on the switching input. If the inverted sensor output lies on pin 2, erroneous
behaviour of the switching output will result.
Connecting the switching input / switching output
The MA 8.1 is provided with a switching input and a switching output. The connection of
switching input / switching output is carried out according to figure 5.2.
Figure 5.2:Connection of the switching input/output of the MA 8.1
24BCL 8Leuze electronic
Accessories / Order Designation
1
23
4
5
RXDVIN
GND
SWIN/SWOUT
TXD
BCL 8
M12 socket
(A-coded)
5.2.4MA 8.1 - BCL - connecting the BCL 8 to the MA 8.1
BCL (5-pin socket, A-coded)
PinNameRemark
1VIN
2TXDRS 232 transmission line
3GND Supply voltage 0V DC
4RXDRS 232 receiving line
SWIN/
5
SWOUT
ThreadFEFunctional earth (housing)
Figure 5.1:MA 8.1 - Pin assignment BCL
Attention!
Protection class IP 67 is achieved only if the connectors and caps are screwed into place!
The BCL 8 is connected to the MA 8.1 via the connection cable KB 008-1000/2000/3000
(AA/AR). The voltage supply is connected via the PWR IN HOST/RS 232 socket.
Attention!
It is absolutely necessary to connect functional earth, since all electrical interference (EM
pick-up) is discharged via the functional earth connection.
Supply voltage for BCL 8
+4.9 … +5.4VDC
Programmable switching input/output of the
BCL 8
Leuze electronicBCL 825
TNT 35/7-24V
Accessories / Order Designation
PWR IN HOST/RS 485= Voltage supply/RS 485 host interface
SW IN/OUT= Switching input/output
BPS= Connection to BCL 8/BPS 8
Notice!
The SW IN/OUT connection is sealed with a thread plug upon delivery.
All dimensions in mm
1
23
4
5
RXDVIN
GND
SWIN/SWOUT
TXD
1
23
4
5
SWINVOUT
GND
FE
SWOUT
3
21
4
5
A (P)GND
VIN
FE
B (N)
BPSSW IN/OUT
PWR IN
HOST/RS485
M12 socket
(A-coded)
M12 socket
(A-coded)
M12 plug
(A-coded)
5.3Connector unit MA 8-01
The modular connector unit is an optional accessory when connecting a BCL 8 to an RS 485
interface. The RS 485 interface, the switching input and the switching output are all
connected to the MA 8-01. It also supplies voltage to the BCL 8. The MA 8-01 connector unit
offers the following advantages over the installation of the BCL 8 as a stand-alone device:
• M12 socket for switching input and switching output
• M12 connector for RS 485 interface and voltage supply 24V DC
• M12 socket for connection of the BCL 8
Figure 5.2:Pin assignment MA 8-01
Attention!
Protection class IP 67 is achieved only if the connectors and caps are screwed into place!
26BCL 8Leuze electronic
Accessories / Order Designation
3
21
4
5
A (P)GND
VIN
FE
B (N)
PWR IN
HOST/RS485
M12 plug
(A-coded)
Electrical connection MA 8-01
Electrical data
Interface typeRS 485
Service interfacewithout MA 8-01 connected:
RS 232 with default data format,
9600Bd, 8 data bits, no parity, 1 stop bit
with MA 8-01 connected:
Switching input /
switching output
Operating voltage10 … 30VDC
Power consumptionmax. 0.5W
5.3.1MA 8-01 - PWR IN HOST/RS 485 - voltage supply and RS 485
Protection class IP 67 is achieved only if the connectors and caps are screwed into place!
Notice!
The switching input/switching output are programmed via the parameters in the BCLconfig
configuration software. For more information see chapter 10.6 and chapter 10.8, from
page 53 onwards.
Attention!
If you use a sensor with a standard M 12 connector, then please note the following:
Voltage supply for sensors
(VOUT identical to VIN at PWR IN)
Use only sensors on which the switching output does not lie on pin 2 or sensor cables
on which pin 2 is not assigned. Otherwise, the switching output is not protected against
feedback on the switching input. If the inverted sensor output lies on pin 2, erroneous behaviour of the switching output will result.
28BCL 8Leuze electronic
Accessories / Order Designation
Switching input
Switching output
1
23
4
5
RXDVIN
GND
SWIN/SWOUT
TXD
BPS
M12 socket
(A-coded)
Figure 5.2:Electrical connection MA 8-01
5.3.3MA 8-01 - BCL - connecting the BCL 8 to the MA 8-01
BPS (5-pin socket, A-coded)
PinNameRemark
1VIN
Supply voltage for BCL 8
approx. +5.2V DC
2TXDRS 232 transmission line
3GND Supply voltage 0V DC
4RXDRS 232 receiving line
SWIN/
5
SWOUT
ThreadFEFunctional earth (housing)
Programmable switching input/output of the
BCL 8
Figure 5.1:MA 8-01 - Pin assignment BCL
Attention!
Protection class IP 67 is achieved only if the connectors and caps are screwed into place!
The BCL 8 is connected to the MA 8-01 via the connection cable KB 008-1000/2000/3000
(AA/AR). The voltage supply is connected via the PWR IN HOST/RS 485 socket.
Leuze electronicBCL 829
TNT 35/7-24V
Accessories / Order Designation
RS 485 receive/transmit data
A-line (P), pin 2
RS 485 receive/transmit data
B-line (N), pin 4
Attention!
It is absolutely necessary to connect functional earth, since all electrical interference (EM
pick-up) is discharged via the functional earth connection.
5.3.4Termination of the RS 485 interface
A permanently installed termination network is present in the MA 8-01. The network terminates the outgoing RS 485 data interface, as shown in figure 5.2, and cannot be switched
off.
5 V
390
Ω
RS 485 A
220
Ω
RS 485 B
390
Ω
GND
Figure 5.2:Termination of the RS 485 interface in the MA 8-01
30BCL 8Leuze electronic
5.4Mounting accessories
Protective covers
for rods
Ø 10/12/14mm
BTP 300 …
Sensor mounting brackets
for rods
Ø 10/12/14mm
BTU 300 …
Rod Ø12mm
BTU D12M …
System-side mounting brackets
for rods Ø 12mm
BTU D12M-D12 B090
Connectors
for rods
Ø12mm
BTU D12M-D12 A090
A variety of mounting devices are available for mounting the BCL 8. These are designed for
rod or screw mounting (see also the Leuze Catalog, Series 8 Accessories).
Universal rod mounting system
Accessories / Order Designation
Figure 5.3:Universal rod mounting system for BCL 8
Leuze electronicBCL 831
TNT 35/7-24V
Installation
BCL 8 type designation
6Installation
6.1Storage, transportation
Attention!
When transporting or storing, 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 ship-
ping 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 name plate
• Laser warning signs
• Brief manual
The name plates provide information as to what BCL type your device is. For specific information, please refer to chapter 4.4.1.
BCL 8 name plate
Figure 6.1:BCL 8 device name plate
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 8 with a soft cloth before mounting. Remove all
packaging remains, e.g. carton fibers or Styrofoam balls.
Attention!
Do not use aggressive cleaning agents such as thinner or acetone for cleaning the device.
32BCL 8Leuze electronic
6.2Mounting
Attention, laser radiation!
Follow the safety notices in chapter 2.5 on page 7!
Accessories
A variety of mounting systems are available which you can order separately from Leuze
electronic (see chapter 5.1 and chapter 5.4).
Mounting the BCL 8
There are three basic mounting arrangements for the BCL 8 (see chapter 4.3):
• using the dovetail strips and the corresponding mounting accessories BT 8-0.
• using the mounting threads on the back- and underside of the devices.
• using the two ∅ 4.4mm through holes.
Mounting the MA 8.1 connector unit
You can mount the MA 8.1 connector unit according to your needs by using the two bore
holes. Subsequently, connect the BCL 8 with the connector unit via the respective cable
(see separate data sheet for MA 8.1).
6.2.1Device arrangement
Installation
Selecting a mounting location
In order to select the right mounting location, several factors must be considered:
• size, orientation, and position tolerance of the bar codes on the objects to be scanned.
• the reading field of the BCL 8 in relation to the bar code module width.
• the resulting minimum and maximum read distance from the respective reading field
(For specific information, please refer to chapter 4.4).
• alignment of the bar code reader for avoiding reflections.
• distance between BCL 8 and host system with respect to the interface.
Notice!
The best reading results are obtained when
• the reading distance lies in the middle area of the reading field.
• there is no direct sunlight and extraneous light is avoided.
• the bar code labels are of good print quality and have good contrast ratios.
• you do not use high-gloss labels.
• the bar code is moved past the reading window with a rotational angle > approx. 15°.
• the laser beam is narrowed down for its respective reading task in order to avoid
reflections on shiny components.
Leuze electronicBCL 833
TNT 35/7-24V
Installation
α
β
γ
α = azimuth angle
β = angle of inclination
γ = angle of rotation
Recommended angle of rotation:
γ > 10°
Notice!
With front beam exit, the beam exit on the BCL 8 is nearly vertical to the reading window;
with lateral beam exit, the beam exit is at 15° from vertical. The bar code label must be rotated by > 10° to avoid a total reflection of the laser beam in the case of glossy labels.
Figure 6.2:Definition of the BCL 8 reading angles
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.
• possible extraneous light influence (no direct sunlight).
34BCL 8Leuze electronic
6.3Connection
Top view of the BCL 8 connector
Attention!
The BCL 8 bar code reader is completely sealed and cannot be opened.
Do not try to open the device under any circumstances, as this voids both protection class
IP 67 and the warranty.
Before connecting the device please ensure that the supply voltage matches 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 8 and the corresponding connector units must have a secure electrical insulation according to IEC 60742
(PELV). For UL applications: only for use in class 2 circuits according to NEC.
Take care to connect the protective conductor correctly to the housing screen. 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 commissioning.
6.3.1Connecting the BCL 8
BCL 8 pin assignment
Installation
Figure 6.3:BCL 8 pin assignment
Wiring description
Pin 1+5V DCOperating voltage 5V DC
Pin 2RS 232 TxDTxD signal line of the RS232 interface
Pin 3GNDOperating voltage 0V DC / reference ground
Pin 4RS 232 RxDRxD signal line of the RS 232 interface
Pin 5SW IN/OUTSwitching input or switching output
Table 6.1:Wiring description BCL 8
Leuze electronicBCL 835
TNT 35/7-24V
Installation
+ 5 V DC
SW_IN/OUT
GND
BCL 8
4.75 … 5.5 V DC
GND
2.2 k
1
5
3
Input resistance 36 kΩ
Connection version 1: standard setting (low = active)
+ 5 V DC
SW_IN/OUT
GND
BCL 8
GND
1
5
3
4.75 … 5.5 V DC
Input resistance 36 kΩ
Connection version 2: setting "inverted" (high = active)
6.3.2Connecting the switching input/output
The BCL 8 is provided with a switching input or a switching output. You can configure the
respective function (input or output) according to your requirements using the supplied
BCLConfig software.
Switching input (default)
By means of the SW IN/OUT combined switching input/output connection, you can trigger a
read process in the standard setting (low = active) with the connection SW IN/OUT (pin 5)
and GND (pin 3). The 2.2 kΩ "pull-up" resistor must be connected externally (connectionversion 1, figure 6.4).
Figure 6.4:Switching input for BCL 8 connection version 1 (standard setting)
With the "inverted" setting (high = active), you can trigger a read process by applying a
voltage of +5 V DC (pin 1) at SW IN/OUT (pin 5) (connection version 2, figure 6.5).
Figure 6.5:Switching input for BCL 8 connection version 2 (setting "inverted")
36BCL 8Leuze electronic
Installation
+ 5 V DC
SW_IN/OUT
GND
BCL 8
GND
1
5
3
+ 5 … 30 V DC
max. 20 mA !
R
L
4.75 … 5.5 V DC
Input resistance 36 kΩ
Switching output
The switching output connection between SW IN/OUT (pin 5) and GND (pin 3) can be activated in the scanner setup.
In the basic setting, the SW IN/OUT switching output is switched to GND (pin 3) if a code is
recognised.
Figure 6.6:Switching output BCL 8
Attention!
Do not load the respective switching output of the BCL 8 with more than 20 mA at
+5 … 30VDC!
Leuze electronicBCL 837
Notice!
You can configure the switching input/output according to your needs using the supplied
BCLConfig program.
TNT 35/7-24V
Installation
6.3.3Line lengths
The following maximum line lengths to be used must be observed:
ConnectionInterfaceMax. cable lengthShielding
BCL 8 directRS 232< 3mnecessary
BCL 8 – MA 8.1RS 232< 3mnecessary
BCL 8 – MA 8-01RS 232< 3mnecessary
MA 8.1 – hostRS 232< 10mnecessary
MA 8-01 – hostRS 485< 25mnecessary
Switching input/output< 10mnot necessary
Table 6.2:Line lengths
Notice!
The RS 232 connection between BCL 8 and host must not exceed a total of 10 m.
6.4Disassembling, packing, disposing
Repacking
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.
38BCL 8Leuze electronic
Commissioning
7Commissioning
Attention, laser radiation!
Follow the safety notices in chapter 2.5 on page 7!
7.1Measures to be performed prior to the initial commissioning
Before commissioning, familiarize yourself with the operation and configuration of the
device(s).
Before connecting the supply voltage, recheck all connections and ensure that they
have been properly made.
7.2Function Test
"Power On" test
After connecting the operating voltage, the BCL 8 performs an automatic "Power On" function test. Afterward, the green status LED on the top side of the BCL 8 lights up. Only then
are any saved customer-specific settings active.
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.
"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).
Leuze electronicBCL 839
TNT 35/7-24V
Commissioning
7.3Setting the Parameters
You have now commissioned the BCL 8. Usually, you will have to configure it before you
can use it. Using the parameter options made available by the BCL 8, you may configure
the bar code reader to suit your individual area of application. For instructions regarding the
various setting options, refer to chapter 9 or to the online help of the BCLConfig program.
To operate the BCL 8, it is normally sufficient to set code type and code length in accordance
with the bar codes that are to be read. However, depending on the application, you will additionally activate the autoReflAct function and configure the switching inputs and outputs
according to your requirements.
The setting of code type and code length is usually accomplished by using the BCLConfig
program, see "Installing the BCLConfig software" on page 44.
To understand what is happening during the parameter setting, the following chapter 7.3.1
briefly explains the various parameter sets.
The setting of the parameters then takes place in the "service" operating mode, which is
described in chapter 7.3.2.
7.3.1Parameter sets
factory default parameter set
This parameter set contains the default settings made ex works for all BCL 8 parameters. It
is permanently stored in the ROM of the BCL 8. The parameter set with the factory settings
is loaded into the memory of the BCL 8,
• the first time the device is commissioned after delivery;
• following the command "Factory Default" in the configuration program
(online command ’PC20’)
• 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 8 is in operation, the parameter set is stored in the EEPROM of the BCL 8. The current
set can be stored:
• by copying a valid parameter set from the host computer to the BCL 8;
• by an off-line setup using the BCLConfig configuration software and then subsequently copying to the BCL 8
The current parameter set is loaded into the memory of the BCL 8:
• each time the supply voltage is connected;
• following a software reset (online command ’H’).
The current parameter set is overwritten by the parameter set with the factory settings:
• by a parameter reset, see page 66.
40BCL 8Leuze electronic
7.3.2Service Operating Mode
Setting the required parameters is carried out easiest in the 'Service' operating mode. The
operating mode Service provides the following defined operating parameters on the RS 232
interface,no matter how the BCL 8 is configured for standard operation:
• transfer rate 9600 baud
• no parity
• 8 data bits
• 1 stop bit
• prefix: STX
• postfix: CR, LF
Activating the service interface
The service interface can be activated by holding a defined bar code label ("Service", see
figure 7.1) in front of the reading window during power-up (initialization phase).
Figure 7.1:Bar code label "Service"
While the laser switches on for approx. 1 s after power-up, the "Service" label is to be held
up in front of the bar code reader at a suitable read distance. When the device is in service
mode, the status LED flashes orange.
Commissioning
Connection
You can connect a PC or a terminal to the BCL 8 via the serial interface and configure the
BCL 8 through this connection. The connection is made using an RS 232 connection cable
that establishes the RxD, TxD and GND connections between PC and BCL 8.
If the BCL 8 is connected to a connector unit, you can establish the connection in the same
way in front of the connector unit. For the respective pin assignments, please refer to the
data sheet of the connector unit.
3 GND
2 TxD
4 RxD
PC
Figure 7.2:Connecting the RS 232 interface to a PC or terminal
Leuze electronicBCL 841
BCL 8
TNT 35/7-24V
Operation
8Operation
Attention, laser radiation!
Follow the safety notices in chapter 2.5 on page 7!
Notice!
- Please observe the notices for device arrangement in chapter 6.2.1.
- If possible, always trigger the laser scanner with the aid of commands, an external signal
transmitter (photoelectric sensor) or the integrated AutoReflAct function. Only then can
you be certain whether a code has been read. If read, the code contents are transmitted;
if not, the NoRead character is transmitted at the end of the reading gate).
8.1Display Elements
On the BCL 8, you will find two LEDs that show the operational readiness and the reading
state of the bar code reader (see Table 4.2 on page 14).
42BCL 8Leuze electronic
8.2Error Handling
Error, warning and status messages of the BCL 8 are transmitted via the RS 232 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 reinitialized.
Troubleshooting
Isolated warnings can be ignored, since the BCL 8 will continue to function properly.
Following a serious error, you should reinitialize the BCL 8. It will then usually again function
properly. If a hardware problem is present, the BCL 8 will not reinitialize.
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.
Operation
Notice!
Please also observe the notices for diagnostics and troubleshooting in chapter 12.3.
Leuze electronicBCL 843
TNT 35/7-24V
Communicating with the Device
9Communicating with the Device
Device parameters can be set using the automatic configuration "autoConfig", with
commands via the serial interface or using the easy-to-use BCLConfig control software.
9.1Installing the BCLConfig software
Insert the installation CD into your drive
(also available on the Internet under www.leuze.de).
Call up the installation file (e.g. Setup.exe).
Select the installation language.
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.
44BCL 8Leuze electronic
Communicating with the Device
Installation directory
Figure 9.2:Installation directory
Confirm your entry with Next, then follow the installation routine.
For further details please refer to online help of the "BCLConfig" software.
After the successful installation, double-click on the file "BCLconfig.exe" to activate the
configuration program.
Select the BCL 8 from the list at the left. The following window for the graphical configuration
is displayed:
Figure 9.3:BCL 8 configuration software
Leuze electronicBCL 845
TNT 35/7-24V
Important Parameters
10Important Parameters
10.1Decode tab
Figure 10.1: Decode tab
Code table
Number of
digits
Notice!
If the code EAN128 is to be read, 3 additional characters are to be set for the code identifier.
Features
Number of bar
codes
46BCL 8Leuze electronic
Here, 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. Codes which are not enabled are not decoded!
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
Behind the "Properties" button, to the right of the respective code, the
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.
10.1.1 Properties window – Decode tab
Figure 10.2: Standard settings for the Properties window – Decode tab
Important Parameters
Quiet zone size
Reading security
(equal scans)
No time correlation
between two identical
scans
No position
correlation between
two identical scans
Leuze electronicBCL 847
Quiet 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 7x or greater is acceptable
for the scanner.
Specifies how often a code must be decoded before the result is
valid and output. This value should only be increased for test purposes or for codes with low security.
If this parameter is set, a gap between two identical labels is
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 Parameters
Notice!
In general, the remaining parameters must not be changed. In the worst case, this could corrupt the reading result!
10.2Output tab
Figure 10.3: Output tab
Output header
Label header
Label footer
Message mode
Notice!
The structure of this message string is depicted symbolically in the preview window.
Text in the case of
misreading
Features
48BCL 8Leuze electronic
Select from the options listed below. The output header is sent in a
separate message before the read result.
The Label header is set directly before the code data.
The label footer is appended directly to the code data.
Selects whether the bar codes read are sent in concatenation or
separately as individual strings.
This character is set for each unrecognized bar code. Multiple characters (=string) may be entered here. Up to 20 characters are possible.
Set the desired formatting modes and formatting characters as necessary.
10.3Control tab
Figure 10.4: Control tab
Activation
Important Parameters
Switching input 1
function
Autostart after
decoding
Command
character
Decode delay time
Leuze electronicBCL 849
See menu "switching input"
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.
This point is usually used only for test purposes. After the time set
here has passed, the scanner automatically reactivates itself following
a reading gate end (e.g. in combination with "Autostart after decoding").
TNT 35/7-24V
Important Parameters
Deactivation
Switching input 1
function
Immediately after
complete decode
result
Command
character
Time
Scans without info
See menu "switching input"
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 (e.g. for test purposes).
Following a successful read, the scanner waits for this number of
scans (sequential scans with no read result) before it automatically
deactivates itself.
10.4Host interface tab
Figure 10.5: Host interface tab
Select the desired baud rate, the stop bits, the data bits, the parity and various transmission
modes here. These parameters are not active until following the automatic "Power-On" test
after the BCL 8 is switched on.
50BCL 8Leuze electronic
10.4.1 Properties window – Host interface tab
Figure 10.6: Standard settings for the Properties window – Host interface tab
Here, you can change the addresses settings and the protocol for sending and receiving.
To be able to continue to communicate with a BCL 8 following a parameter transfer, it may
be necessary to make appropriate adjustments to the communication properties of the
device in the BCL Configuration Tool.
Important Parameters
Leuze electronicBCL 851
TNT 35/7-24V
Important Parameters
10.5Reference code tab
Figure 10.7: Reference code tab
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 e
Contents
Compare mode
52BCL 8Leuze electronic
Select the code type.
Contents of the reference code.
Select here how the internally stored reference code is to be compared with the decoded result.
-> For additional comparison possibilities, please select the "Properties" menu
10.6Sensor tab
Figure 10.8: Sensor tab
Important Parameters
Inverted
Enable
Debounce time
Start-up delay
Pulse duration
Switch-off delay
Notice!
If the switch-off delay is activated, the parameter "pulse duration" should be "0".
Function
Attention!
Depending on wiring, either a switching input or a switching output is available on the BCL 8.
Here, the input level can be inverted.
Switching input enabled or disabled.
This time period must lapse until the trigger signal is regarded as
valid.
The trigger signal is passed on delayed by the specified time period.
If the value is higher than "0": duration of the activation, regardless of
how long the trigger signal has been present.
After the end of the trigger signal, the pulse is extended internally by
this time period.
Event that is started when the switching input is activated.
TNT 35/7-24V
Leuze electronicBCL 853
Important Parameters
10.7Laser tab
Figure 10.9: Laser tab
Start position and
stop position
Here, you can narrow down the reading field width of the laser beam.
Mode
• Normal – mode (1) with optional laser beam narrowing
This is the standard mode without the reflector polling function.
• Reflector polling with auto activation reading gate – mode (2)
In this mode, the decoding of the label is automatically started after the scanning
beam to the reflector has been interrupted. Following successful decoding or
renewed detection of the reflector, the reading gate is automatically closed. If the
reflector is covered, the reading gate is automatically opened for decoding.
• Reflector polling without auto activation reading gate, send an 'AR' command – mode (3)
In this mode, the decoding does not start automatically. Starting must be activated via
a control or via a switching input. This mode is of interest if a programmable logic controller (PLC) wants to know whether or not the scanning beam to the reflector is currently interrupted. If this is the case, the PLC can start the decoding by sending the +
command. The BCL sends an 'AR=1' command (freely configurable) if a reflector was
detected or it sends an 'AR=0' command (freely configurable) if no reflector is present.
• Reflector polling without auto activation reading gate, set the switch – mode (4)
Same as mode (3), except that the detection of whether or not a reflector is present is
passed on via the switching output. As in mode 3, decoding is not activated automatically; this is the task of the control.
• Reflector polling without auto activation reading gate, send an 'AR' command and set the switch – mode (5)
Combination of mode (3) and mode (4). In this mode, the BCL sends a message to
the control and simultaneously activates the switching output.
54BCL 8Leuze electronic
Important Parameters
Reflector polling
Reflector polling (autoReflAct) is an operating mode in which no external sensor is required
for triggering. The scanner is activated and deactivated with the aid of a reflector (see Accessories) which must be mounted in the scanning range of the BCL 8.
For simple alignment in autoReflAct mode, please select the AutoReflAct Wizard.
Once called up, the wizard attempts to establish a connection to the connected BCL 8. If this
is successfully, please select one of the four reflector polling modes under "Mode" from the
menu which then appears. A screen similar to the following appears:
Figure 10.10: AutoReflAct Wizard
Upon activation of the "Search" button, the BCL 8 scans its reading field and attempts to find
a reflector. To do this, the reflector must be positioned in the reading field of the scanner.
After a reflector has been detected, it passes on the start position of the reflector in its
reading field.
By clicking "OK", the values are stored in the scanner and in BCLConfig.
The scanner is now ready for the AutoReflAct operating mode.
Attention!
If other reflective objects are located in the reading window of the scanner besides the reflector, the application is to be checked carefully, because these reflective parts could possibly cause a mistrigger in the scanner!
Notice!
The reflector should be mounted at a distance of max. 300mm from the BCL 8.
Leuze electronicBCL 855
TNT 35/7-24V
Important Parameters
10.8Switch tab
Figure 10.11: Switch tab
Activation
Deactivation
Inverted
Pulse duration
Attention!
Depending on wiring, either a switching input or a switching output is available on the BCL 8.
By using an MA 8.1 or MA 8-01 connector unit, switching input and switching output can be
used simultaneously,
56BCL 8Leuze electronic
Select the desired event which is to initiate the switching of the switching output here. Multiple events can also be simultaneously activated.
Shown 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.
Level inver ted.
Duration of the switching output impulse.
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 8 has to be connected to computer (host) via the serial interface.
For information on the transmission protocol, please see chapter 7.3.2.
Using the "online" commands you can:
• control/decode the reading gate.
• read/write/copy parameters.
• carry out an automatic configuration.
• teach/set a reference code.
• call up error messages.
• call up statistical device information.
• carry out a software reset in order to reinitialize 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 capitalized letters can be used.
Example:
Command ’CA’:autoConfig function
Parameter ’+’:Activation
Transmitted is:’CA+’
Online commands
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 8 and any requested data returned.
For commands that are not acknowledged, command execution can be observed or monitored directly on the device.
Leuze electronicBCL 857
TNT 35/7-24V
Online commands
11.1.1 General 'online' commands
Software version number
Command’V’
DescriptionRequests device version information
ParameterNone
Ex.: ’BCL 8 V 01.10 05.10.2006’
Acknowledgment
Notice!
You can use this command to check whether the communication to the connected computer
is functional. If you do not receive an acknowledgement, please check the interface connections or the protocol.
Software reset
Command’H’
Description
Para meterNo
Acknowledgment
The device type appears in the first line followed by the device's version
number and date. The data which is actually displayed may vary from the
values given here.
Carries out a software reset. The device is restarted and reinitialized, leav-
ing it in the same state as when the supply voltage is switched on.
’S’ (start signal)
58BCL 8Leuze electronic
autoConfig
Command’CA’
Activates or deactivates the 'autoConfig' function. Certain label reading
Description
Parameter
Acknowledgment
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’
xStatus
’0’ Va li d ’CA’ command
’1’ Invalid command
’2’ autoConfig could not be activated
’3’ autoConfig could not be deactivated
’4’ Result could not be deleted
’12’Code 93
yyNo. of digits of the read code
zzzzzz
Contents of the decoded label. The ↑ appears if the label was not
correctly read.
Online commands
TNT 35/7-24V
Leuze electronicBCL 859
Online commands
Manual definition of the reference code
CommandRS
Description
Para meter
Acknowledgment
Example
This command can be used to define a new reference code in the BCL 8
by means of direct input via the serial interface. The data is saved in the
parameter set according to your input under reference code 1 or 2 and
stored in the working buffer for direct further processing.
’RSyvxxzzzzzzzz’
y, v, x and z are placeholders (variables) for the actual input.
yDef. reference code no.
’1’ (Code 1)
’2’ (Code 2)
v Storage location for reference code:
’0’ RAM+EEPROM
’3’ RAM only
xxDef. code type (see Command ’CA’)
zDef. code information (1 … 30 characters)
’RSx’
xStatus
’0’ Valid ’Rx’ command
’1’ Invalid command
’2’ Insufficient memory for reference code
’3’ Reference code has not been saved
’4’ Reference code invalid
This command enables a reference code to be defined quickly by reading
an example label.
’RTy’
yFunction
’1’ Defines reference code 1
’2’ Defines reference code 2
’+’ Activates the definition of reference code 1 or 2
’-’ Exits the Teach-in process
The BCL 8 first responds with the command ’RS’ and corresponding status (see Command RS). After a bar code has been read, it sends the
result in the following format:
’RCyvxxzzzzz’
y, v, x and z are placeholders (variables) for the actual input.
yDef. reference code no.
’1’ (Code 1)
’2’ (Code 2)
vMemory location for reference code
’0’ RAM+EEPROM
’3’ RAM only
xxDef. code type (see Command ’CA’)
zDef. code information (1 … 30 characters)
Online commands
Notice!
With this function, only code types are recognized that are identified using the autoConfig
function or which were set in the set-up.
After each reading via an ’RTy’ 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
’RTy’ command.
Leuze electronicBCL 861
TNT 35/7-24V
Online commands
Reading a reference code
Command’RR’
Description
Para meter
Acknowledgment
The command reads out the reference code defined in the BCL 8. If no
parameters are specified, all defined codes are output.
<Reference code number>
’1’ Reference code 1
’2’ Reference code 2
If no reference codes are defined, the BCL 8 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.
yDef. reference code no.
’1’ (Code 1)
’2’ (Code 2)
vMemory location for reference code
’0’ RAM+EEPROM
’3’ RAM only
xxDef. code type (see Command ’CA’)
zDef. code information (1 … 30 characters)
62BCL 8Leuze electronic
Alignment mode
Command’JP’
This command is used for simplified mounting and alignment of the BCL 8
in static installation situations. After activating the function with ’JP+’, the
scanner continuously supplies status information to 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
Description
Parameter
Acknowledgment
100 scans,
• 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.
’+’: 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.
yyyyy: Bar code information.
Online commands
Leuze electronicBCL 863
TNT 35/7-24V
Online commands
11.1.2 ’Online’ Commands for System Control
Activating sensor input
Command’+’
DescriptionThe command activates decoding.
ParameterNone
Acknowledgment
Deactivating sensor input
Command’-’
DescriptionThe command deactivates decoding.
ParameterNone
Acknowledgment
Activate switching output
None
None
Command
DescriptionThe command activates a selected switching output.
’OAx’: Activate switching output
Para meter
Acknowledgment
xSwitching output No.
’1’ (output 1)
None
’OA’
Deactivate switching output
Command’OD’
DescriptionThe command deactivates a selected switching output.
’ODx’: Deactivate switching output
Para meter
Acknowledgment
64BCL 8Leuze electronic
xSwitching output No.
’1’ (output 1)
None
11.1.3 ’Online’ commands for parameter set operations
Definitions
• <BCC type> Type of checksum calculation.
’0’: No checksum
’3’: XOR checksum (mode 3)
• <PS type> Parameter set type
’0’: Current parameter set (data stored non-volatilely in the EEPROM)
’1’: Reserved
’2’: Standard parameter set (not changeable)
’3’: Operating values (data in the RAM, will be lost after reset)
• <Status> Mode of parameter processing
'0': Does not perform a reset following the write operation; no other parameters follow.
'1': Does not perform a reset following the write operation; other parameters follow.
'2': Subsequently performs a reset, no other parameters follow.
• <Start address> Relative address of the parameter within the parameter set
• <Para0L> <Para0H>… <Para122L> <Para122H>:
Parameter-set data of the message. The sequence of the data is arranged identically
to the BCL 8, i.e. when a word is transmitted, first the low byte is sent then the high
byte. The parameter-set data is converted for transmission from HEX format to a 2byte-ASCII format. During the conversion, two ASCII characters - representing the
lower and higher nibbles - are created for each HEX value.
Example:
Online commands
DecimalHexTransmission
46600x1234'1' '2' '3' '4' = 31h 32h 33h 34h
• Para0H = 31h, Para0L = 32h, Para1H = 33h, Para1L = 34h
Taking into consideration the maximum message length and the remaining command
parameters, a maximum of 123 bytes of parameter data (246 bytes of message data)
can be transmitted in a single operation.
Valid values: '0' … '9', 'A' … 'F'
• <Acknowledgement>:
Acknowledgement of the transmitted message
'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
The command requests parameter data from the BCL 8. Parameter <PStype> displays the parameter set from which the data is to be transmitted.
’PSx’
xStatus
'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
’PR00102004’
Beginning with address 102, four (004) bytes are read out and transmitted
Acknowledge parameter message
Command’PS’
The command acknowledges the received message and delivers an
Description
Parameter
acknowledgement status which indicates whether the message was valid
or invalid.
’PSx’
xStatus
'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
Transfer parameters
Command’PT’
The command transmits parameter data beginning with the set address
and stores it there in an intermediate buffer. If the status indicates that fur-
Description
ther messages follow, these are also stored in the intermediate buffer
before they are then stored under the corresponding parameter set type in
the EEPROM. The transmission can optionally occur with a block check
test of the message data.