15.1 Bar code samples .................................................................................................................56
Leuze electronicBCL 1484
1About this document
1.1Used symbols and signal words
Tab.1.1: Warning symbols and signal words
Symbol indicating dangers to persons
Symbol indicating dangers from harmful laser radiation
Symbol indicating possible property damage
NOTESignal word for property damage
Indicates dangers that may result in property damage if the measures for danger avoidance are not followed.
CAUTIONSignal word for minor injuries
Indicates dangers that may result in minor injury if the measures for danger
avoidance are not followed.
About this document
WARNINGSignal word for serious injury
Indicates dangers that may result in severe or fatal injury if the measures for
danger avoidance are not followed.
Tab.1.2: Other symbols
Symbol for tips
Text passages with this symbol provide you with further information.
Symbol for action steps
Text passages with this symbol instruct you to perform actions.
Symbol for action results
Text passages with this symbol describe the result of the preceding action.
Leuze electronicBCL 1485
Tab.1.3: Terms and abbreviations
BCLBar code reader
About this document
DNC
This PIN must not be connected
(Do Not Connect)
DTM
Software device manager
(Device Type Manager)
EMCElectromagnetic compatibility
ENEuropean standard
FDT
Software frame for management of device managers (DTM)
(Field Device Tool)
FEFunctional earth
GUIGraphical user interface
HID
Device class for input devices with which users directly interact
(Human Interface Device)
NC
This pin is not contacted at the device
(Not Connected)
SWI1Switching input
PLCProgrammable Logic Control
(corresponds to Programmable Logic Controller (PLC))
Leuze electronicBCL 1486
2Safety
This bar code reader was developed, manufactured and tested in accordance with the applicable safety
standards. It corresponds to the state of the art.
2.1Intended use
The BCL148 bar code reader is designed as a stationary compact scanner with integrated decoder for all
common bar codes used for automatic object detection.
Areas of application
The bar code reader of type BCL148 is intended especially for the following areas of application:
• automatic analyzers
• automation technology
Observe 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.
Ä This device is not a safety sensor and is not intended as personnel protection.
Ä The device may only be put into operation by competent persons.
Ä Only operate the device in accordance with its intended use.
Ä LeuzeelectronicGmbH+Co.KG is not liable for damages caused by improper use.
Ä Read these original operating instructions before commissioning the device. Knowledge of
Safety
CAUTION
the original operating instructions 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 insur-
ance association.
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:
• in rooms with explosive atmospheres
• in circuits which are relevant to safety
• 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.
NOTICE
To increase the decoding reliability, it is recommended that only the actually needed code types
be enabled.
Leuze electronicBCL 1487
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 original operating instructions of the device.
• They have been instructed by the responsible person on the mounting and operation of the device.
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.
2.4Disclaimer
LeuzeelectronicGmbH+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.
Safety
Leuze electronicBCL 1488
2.5Laser safety notices
WARNING
LASER RADIATION – LASER CLASS 2
Never look directly into the beam!
The device satisfies the requirements of IEC60825-1:2007 (EN60825-1:2007) safety regulations for a product of laser class2 as well as the U.S.21CFR1040.10 regulations with deviations corresponding to "Laser Notice No.50" from June 24, 2007.
Conforms to the applicable requirements of 21CFR SubchapterJ
Ä Never look directly into the laser beam or in the direction of reflected 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 reflective
surfaces!
Ä CAUTION! The use of operating or adjusting devices other than those specified here or car-
rying out of differing procedures may lead to dangerous exposure to radiation.
Ä Adhere to the applicable legal and local regulations regarding protection from laser beams in
its latest version.
Ä 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.
Ä If the scanner motor fails during the emission of laser radiation, the limit value of laser
class2 in accordance with IEC60825‑1 Edition2.0(2007) could be exceeded. The device
has safeguards to prevent this occurrence.
Ä If the emitted laser beam is at a standstill, immediately disconnect the faulty device from the
voltage supply.
Ä The device emits scanned optical radiation at a wavelength of 650nm (red). Looking at the
device's mirror and operating at the lowest scanning rate (500scans/s) at a viewing distance
of 100mm results in pulses with a pulse duration of 110µs on the retina of the eye. The total pulse peak power at the exit window is less than 1.3mW. The average laser power is,
thus, less than 1mW, corresponding to laser class2 in accordance with EN60825‑1, Edition2.0 (2007) and IEC60825‑1, Edition2.0 (2007).
Safety
NOTICE
Laser aperture!
The glass optics cover is the only aperture through which laser radiation may be observed on
this product.
Leuze electronicBCL 1489
Safety
1
2
1
3
NOTICE
Affix laser information and warning signs!
Laser information and warning signs attached to the device. Also included with the device are
self-adhesive laser warning and laser information signs (stick-on labels) in multiple languages.
Ä Affix the laser information sheet to the device in the language appropriate for the place of
use.
When using the device in the US, use the stick-on label with the "Complies with
21CFR1040.10" note.
Ä 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.
1 Laser warning sign
2 Laser aperture
3 Laser information sign with laser parameters
Fig.2.1: Laser aperture and laser warning and notice signs
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,3 mW
110 µs
650 nm
1,3 mW
110 µs
650 nm
1.3 mW
110 µs
650 nm
1,3 mW
110
µ
s
650 nm
1,3 mW
110 µs
650 nm
1,3 mW
110 µs
650 nm
1.3 mW
110 µs
650 nm
1.3 mW
110 µs
650 nm
50127449-01
Fig.2.2: Laser warning and notice signs – supplied stick-on labels
Leuze electronicBCL 14811
3Device description
3.1Device overview
3.1.1The BCL148 bar code reader
The bar code reader is a laser-based line scanner with integrated decoder and focus adjustment for all
commonly used bar codes, e.g. 2/5Interleaved, Code39, Code128, EAN etc.
• The many possible configurations of the device allow it to be adapted to a multitude of reading tasks.
• The focus adjustment enables reading of 1 - 15 rows of racks.
• Thanks to the high scanning rate of 750 scans per second, the bar code reader is ideally suited for instruments with manual insertion.
• Information on technical data and characteristics: see chapter 12 "Technical data".
3.1.2Stand-alone operation
The bar code reader is operated as a “stand-alone” single device. The electrical connection of the operating voltage and of the RS232/RS485 interfaces is established via a 0.9 m long cable that is equipped with
a 15-pin SUB-D connector plug.
3.2Performance characteristics
• Compact scanner with lateral beam exit and integrated decoder
• High-resolution optics
• Focus adjustment
• Resolution 127μm
Reading of all common codes of module sizes 127…300μm (5 … 12mil) at a reading field height of
≥60mm, even with a reading distance of 30 mm
• Reading distance 30…310mm
• Scanning rate of 750scans/s facilitates reliable reading, even while in motion
• Compact design for simple integration, even in constrained spaces
• Robust diecast zinc housing with 0.9 m cable and 15-pin SUB-D connection
• Process interface: RS232 or RS485
• Service interface: RS232
Device description
Leuze electronicBCL 14812
3.3Device construction
1
3
2
2
Device description
1 Reading window with lateral beam exit
2 M4 mounting thread, two on each of the opposing sides, 4 mm deep
3 Connection cable with 15-pin SUB-D connector plug
Fig.3.1: Device construction of the BCL148
3.4Connection technology
Connection cable with 15-pin SUB-D connector plug:
• 1 switching input
• 1 pin for addressing
• Process interface: RS232 or RS485
• Service interface: RS232
Leuze electronicBCL 14813
4Mounting
Ä Observe the mounting instructions (see chapter 4.1 "Selecting a mounting location").
Ä Fasten the bar code reader on the M4 mounting threads on one side of the device (see chapter 3.3
"Device construction").
4.1Selecting a mounting location
NOTICE
The size of the bar code module influences the maximum reading distance and the width of the
reading field.
Ä When selecting a mounting location and/or the bar code label, take into account the different
reading characteristics of the bar code reader with various bar code modules.
NOTICE
Observe when choosing the mounting location!
Ä Maintain the permissible environmental conditions (humidity, temperature).
Ä Avoid possible soiling of the reading window due to liquids, abrasion by boxes, or packaging
material residues.
Ä Ensure that there is the lowest possible chance of damage to the bar code reader by me-
chanical collision or jammed parts.
Ä Avoid possible ambient light influence (no direct sunlight).
Mounting
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 bar code reader in relation to the bar code module width.
• The resulting minimum and maximum reading distance from the respective reading field with the respective module width (see chapter 12.2 "Reading fields").
• alignment of the bar code reader for avoiding reflections.
• distance between bar code reader and host system with respect to the interface.
The best read results are obtained if the following prerequisites are fulfilled:
• The reading distance lies in the middle area of the reading field.
• There is no direct sunlight and ambient light influences are avoided
• The bar code labels are of good print quality and have good contrast ratios.
• You are not using glossy labels.
• The bar code is moved past the reading window with an angle of rotation of 10° to 15°.
Leuze electronicBCL 14814
NOTICE
α
β
γ
Avoid direct reflection of the laser beam!
The beam exits the bar code reader nearly perpendicular to the reading window.
Ä The bar code label must be rotated by >10 ° to avoid a reflection of the laser beam in the
case of glossy labels.
αAzimuth angle
βAngle of inclination
γAngle of rotation
Recommended angle of rotation: γ>10°
Fig.4.1: Definition of the reading angles
Mounting
Leuze electronicBCL 14815
5Electrical connection
CAUTION
Safety notices
Ä The bar code reader is completely sealed and must not be opened.
Ä Do not try to open the device under any circumstances, as this avoids both degree of pro-
tection IP65 and the warranty.
Ä Before connecting the device, be sure that the supply voltage agrees with the value printed
on the name plate.
Ä 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 bar code reader and
the corresponding connection units must have a secure electrical insulation according to
IEC60742 (PELV).
Ä If faults cannot be rectified, take the device out of operation and protect it from accidentally
being started.
NOTICE
UL applications!
For UL applications, use is only permitted in Class 2 circuits in accordance with the NEC (National Electric Code).
Electrical connection
NOTICE
Laying cables!
Ä Lay all connection cables and signal lines within the electrical installation space or perma-
nently in cable ducts.
Ä Lay the cables and lines so that they are protected against external damages.
Ä For further information: see EN ISO 13849-2, Table D.4.
The electrical connection is established via the connection cable with 15-pin SUB-D connector plug (see
chapter 5.3 "Pin assignment").
The bar code reader is equipped with the following ports and interfaces:
• 1 switching input
• 1 pin for addressing
• Process interface: RS232 or RS485
• Service interface: RS232
You can configure the functions of the switching input and the addressing according to your requirements
via the SensorStudio configuration software (see chapter 6 "Configuration and diagnostics software - SensorStudio").
5.1Operating voltage
The bar code reader is designed for an operating voltage of 18 … 30 V. The operating voltage is fed in via
pin 8 and pin 15 of the 15-pin SUB-D connector plug (see chapter 5.3 "Pin assignment").
5.2Housing ground
To avoid electromagnetic interference, a low-impedance connection is necessary from the housing to the
machine ground.
Leuze electronicBCL 14816
5.3Pin assignment
GND
GNDIN
NC
NC
TXD232
RXD232
DNC
/PROT
SWI1
DNC
DNC
VIN
RS485A
RS485B
/MA0
FE
Fig.5.1: Pin assignment
NOTICE
The functional earth (FE) is connected to the metal flange of the SUB-D connector plug.
Electrical connection
PinSignalDescription
1GND0V DC
for IN/OUT
Reference ground bridged with pin 15
2SWI1Switching inputIN
3RS485AA signal line of the RS485 interfaceIN/OUT
4RS485BB signal line of the RS485 interfaceIN/OUT
5/MA0Address for selecting the device in Host
IN
mode
6DNCDo not connect - for internal use only
7DNCDo not connect - for internal use only
8VINOperating voltage +18…30 V DCIN
9/PROTProtocol changeoverIN
10DNCDo not connect - for internal use only
11RXD232RxD signal line of the RS232 interfaceIN
12TXD232TxD signal line of the RS232 interfaceOUT
13NCNot connected---
14NCNot connected---
15GNDIN0V DC
IN
Reference ground
Leuze electronicBCL 14817
5.4Switching input/addressing/protocol changeover
VIN
SWI1
GND
GND
18 … 30 V DC
1
2
3
The bar code reader is equipped with a switching input (SWI1), a pin for addressing (/MA0) (see chapter
5.3 "Pin assignment") and a pin for protocol changeover (/PROT) (see chapter 5.4.3 "Protocol
changeover").
• The switching input can be used to trigger the reading.
• You can make the address setting via the pin for addressing if two bar code readers are operated on
one interface.
• /MA0 not active: device address=0
• /MA0 active: device address=1
If pin /MA0 is inactive on device startup, the device uses the device address from the parameter set
(default device address=0).
• You can make a hardware-controlled switch to Service mode via the pin for protocol changeover.
You can configure the functions of the switching input according to your requirements via the SensorStudio
configuration software (see chapter 6 "Configuration and diagnostics software - SensorStudio").
5.4.1Switching input
Via switching input connection SWI1, you can trigger a read process in the standard setting (high = active).
Electrical connection
5.4.2Addressing
1Operating voltage UB 18…30V DC
2SWI1
3GND
Input resistance: approx. 6kΩ
Fig.5.2: Switching input (standard setting)
The cable for addressing (pin /MA0) is only used during device startup. If multiple devices are operated on
an RS 485 interface, the device address of the bar code reader is defined via pin /MA0. Bit flags 0 and 1
are set for the device address.
• /MA0 not active: device address=0
(Level on /MA0 = high or not assigned)
• /MA0 active: device address=1
(Level on /MA0 = low or GND)
If pin /MA0 is inactive on device startup, the device uses the device address from the parameter set (default device address=0).
Leuze electronicBCL 14818
VIN
/MA0
GND
GND
18 … 30 V DC
1
2
3
1Operating voltage UB 18…30V DC
VIN
/PROT
GND
GND
18 … 30 V DC
1
2
3
2/MA0
3GND
Fig.5.3: Circuit diagram example: addressing
5.4.3Protocol changeover
Via the input for protocol changeover (/PROT), it is alternatively possible to make a hardware-controlled
switch to the Service mode protocol.
Via the RS232 service interface, you can configure the bar code reader by means of a PC or a terminal
program. For this, you need an RS232 connection that establishes the RxD, TxD and GND connections
between PC and bar code reader (see chapter 5.3 "Pin assignment").
Configuration and diagnostics software - SensorStudio
6Configuration and diagnostics software - SensorStudio
The SensorStudio configuration software provides a graphical user interface for the operation, configuration and diagnostics of the device via the RS232 service interface.
A device that is not connected to the PC can be configured offline.
Configurations can be saved and reopened as projects for transferring back to the device at a later time.
NOTICE
Only use the SensorStudio configuration software for products manufactured by Leuzeelectronic. The SensorStudio configuration software is offered in the following languages: German,
English, French, Italian and Spanish. The FDT frame application of the SensorStudio supports
all languages; all languages may not be supported in the device DTM (Device Type Manager).
The SensorStudio configuration software is designed according to the FDT/DTM concept:
• You make the individual configuration settings for the bar code reader in the Device Type Manager
(DTM).
• The individual DTM configurations of a project can be called up via the frame application of the Field
Device Tool (FDT).
• Communication DTM for bar code readers: LeCommInterface
• Device DTM for the BCL148 bar code reader
Procedure for the installation of the software and hardware:
Ä Install the SensorStudio configuration software on the PC.
Ä Install the communication and device DTM. Communication and device DTM are included in the Le-
AnalysisCollectionSetup installation package.
Ä Create device DTM for BCL148 in the project tree of the Sensor Studio FDT frame.
Ä Connect bar code reader to PC (see chapter 5.5 "PC or terminal connection").
Ä Activate service interface on bar code reader (see chapter 7.3.1 "Service mode").
6.1System requirements
To use the SensorStudio configuration software, you need a PC or laptop with the following specifications:
Tab.6.1: System requirements for SensorStudio installation
Operating systemWindowsXP or higher (32bit, 64bit)
ComputerProcessor type: 1GHz or higher
Graphics cardAt least 1024x768 pixels
Required hard disk capacity for SensorStudio and
communication DTM
NOTICE
WindowsVista
Windows7
Windows8
Serial COM interface
CD-ROM drive
Main memory (RAM): at least 64MB
Keyboard and mouse or touchpad
35MB
Administrator privileges on the PC are necessary for installing Sensor Studio.
Leuze electronicBCL 14820
Configuration and diagnostics software - SensorStudio
The installation files of the SensorStudio configuration software must be downloaded from the
Internet at www.leuze.com. For subsequent updates, you can find the most recent version of
the SensorStudio installation software on the Internet at www.leuze.com.
6.2.1Downloading configuration software
Ä Call up the Leuze home page: www.leuze.com
Ä Enter the type designation or part number of the device as the search term.
Ä The configuration software can be found on the product page for the device under the Downloads tab.
6.2.2Installing the SensorStudio FDT frame
NOTICE
First install the software!
Ä Do not yet connect the device to the PC.
Ä First install the software.
NOTICE
If FDT frame software is already installed on your PC, you do not need the SensorStudio installation.
You can install the communication DTM and the device DTM in the existing FDT frame. Communication DTM and device DTM are included in the LeAnalysisCollectionSetup installation
package.
Ä Start the PC.
Ä Download the configuration software from the Internet to the PC (see chapter 6.2.1 "Downloading con-
figuration software"). Unpack the installation package.
Ä Start the SensorStudioSetup.exe file.
Ä Follow the instructions on the screen.
6.2.3Install the communication DTM and device DTM
Prerequisites:
ü An FDT frame is installed on the PC.
Ä Start the LeAnalysisCollection.exe file from the installation package and follow the instructions on the
screen.
6.2.4Connecting device to PC
The device is connected to the PC via the RS232 interface.
You need an RS232 connection that establishes the RxD, TxD and GND connections between PC and device (see chapter 5.5 "PC or terminal connection").
Leuze electronicBCL 14821
Configuration and diagnostics software - SensorStudio
6.3Starting the SensorStudio configuration software
Prerequisites:
ü The device has been mounted (see chapter 4 "Mounting") and connected (see chapter 5 "Electrical
connection") correctly.
ü The device is connected to the PC via the RS232 interface (see chapter 6.2.4 "Connecting device to
PC").
ü The SensorStudio configuration software is installed on the PC (see chapter 6.2 "Installing SensorStu-
dio configuration software").
Ä Start the SensorStudio configuration software by double-clicking the [SensorStudio] icon.
ð The mode selection of the Project Wizard is displayed.
Ä Select the Device selection without communication connection (offline) configuration mode and
click on [Next].
ð The Project Wizard displays the device selection list of the configurable devices.
Fig.6.1: Device selection for the BCL148
Ä Select BCL148 in the device selection and click on [Next].
ð The device manager (DTM) of the connected BCL148 starts with the offline view for the SensorStudio
configuration project.
Ä Establish the online connection to the connected BCL148.
ð In the SensorStudio FDT frame, click on the [Establish connection with device] button.
ð In the SensorStudio FDT frame, click on the [Upload parameters to device] button.
ð The current configuration data is displayed in the device manager (DTM).
Leuze electronicBCL 14822
Configuration and diagnostics software - SensorStudio
Fig.6.2: Configuration project: device manager for BCL 148
Ä The menus of the SensorStudio device manager (DTM) can be used to change or read out the config-
uration of the connected device.
ð The user interface of the SensorStudio device manager (DTM) is largely self-explanatory.
ð The online help system provides information on the menu items and adjustment parameters. Select
the Help menu item in the menu [?].
Ä Transfer the modified configuration parameters to the device.
ð If a connection exists, click on the [Download parameters to device] button on the task bar.
6.4Exiting SensorStudio
After completing the configuration settings, close the SensorStudio configuration software.
Ä Exit the program via File > Exit.
Ä Save the configuration settings as a configuration project on the PC.
6.5Configuration parameters
In this chapter, you will find information and explanations on the configuration parameters of the device
manager (DTM) for the BCL148 bar code reader.
NOTICE
This chapter does not include a complete description of the SensorStudio configuration software. Complete information on the FDT frame menu and on the functions in the device manager
(DTM) can be found in the online help system.
The device manager (DTM) for BCL148 bar code readers of the SensorStudio configuration software offers the following configuration functions:
• Decode (see chapter 6.5.1 "Decode tab")
• Output (see chapter 6.5.2 "Output tab")
• Control (see chapter 6.5.3 "Control tab")
• Host Interface (see chapter 6.5.4 "Host interface tab")
• Switching input (sensor) (see chapter 6.5.5 "Switching input tab")
• System/scanner character (system properties) (see chapter 6.5.6 "System/scanner character tab")
Leuze electronicBCL 14823
NOTICE
The online help system displays information on the menu items and configuration parameters
for each function. Select the Help menu item in the menu [?]
The Sensor Studio configuration software offers the following buttons in the CONFIGURATION menu:
•: [Export Parameter Command File …]
Saves the currently set parameter data as text file in a selectable directory.
•: [Reset all parameters in the GUI to their factory default settings]
Resets all parameters in the graphical user interface to the factory settings.
6.5.1Decode tab
Configuration and diagnostics software - SensorStudio
Fig.6.3: Decode tab
Code table
(CODE TABLE)
Number of digits
(Element number)
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.
A range of permissible elements is indicated by a
dash:
e.g., 4-40 elements.
To select a range, set the check mark beneath Interval mode. Up to 3 fixed element numbers with
comma: e.g.: 8,13 digits
Both are also possible, but the range must be specified first (select Interval mode):
e.g.: 4-10,20 elements
Leuze electronicBCL 14824
Configuration and diagnostics software - SensorStudio
Number of bar codes
Reading security (equal scans)
(COMPLETENESS)
6.5.2Output tab
Here, the number of the bar codes to be decoded
within a read cycle (one reading gate) is set.
Under reading reliability (Equal Scans), it is possible
to select how often a code must be decoded before
the result is valid and output.
Fig.6.4: Output tab
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 mode
(Message mode)
Selects 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.
Text in the case of misreading
(No read string)
Properties
(Output Properties)
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.
Leuze electronicBCL 14825
Configuration and diagnostics software - SensorStudio
Fig.6.5: Standard settings for the Properties window – Output tab
6.5.3Control tab
Fig.6.6: Control tab
Activation
Switching input1
See menu switching input
Function
Sensor function
(Sensor Function)
Command character
(Command character)
Leuze electronicBCL 14826
The function of the switching input as trigger input is
activated or deactivated.
The standard online character for the trigger start is
the ´+´ character. The character cannot be
changed.
Configuration and diagnostics software - SensorStudio
Delay until scanner reads
(Decode delay time)
Deactivation
Switching input1
Function
Command character
(Command character)
Time
(Time)
Scans without info
(Scans without info)
6.5.4Host interface tab
Time delay after the trigger signal by the switching
input until the actual code reading is triggered.
See menu switching input
The standard online character for the trigger end is
the ´-´ character.
The character cannot be changed.
If the code reader is activated, the reading gate is
automatically closed by the code reader after this
preset time has elapsed (e.g. for test purposes).
Following a successful read, the code reader waits
for this number of scans (sequential scans with no
read result) before it automatically deactivates itself.
Fig.6.7: Host interface tab
Select the desired baud rate, the stop bits, the data bits, the parity and various transmission modes here.
The parameters are not active until these settings have been transferred to the code reader (standard procedure).
The desired acknowledgment settings are also to be set in this selection window.
Leuze electronicBCL 14827
Configuration and diagnostics software - SensorStudio
Fig.6.8: Standard settings for the Properties window (Framing Protocol) – Host interface tab
Here, you can change the address settings and the protocol for sending and receiving.
To be able to continue to communicate with a device following a parameter transfer, it may be necessary to
make appropriate adjustments to the communication properties of the device in the SensorStudio configuration software.
Leuze electronicBCL 14828
6.5.5Switching input tab
Configuration and diagnostics software - SensorStudio
Fig.6.9: Switching input tab
InvertedHere, the input level can be inverted
Debounce time
(Debounce time)
Switch-off delay
(Delay off time)
Function
(Control)
This time period must lapse until the trigger signal is
regarded as valid.
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.
Leuze electronicBCL 14829
6.5.6System/scanner character tab
With the system parameters, you can define the general behavior of the code reader.
Configuration and diagnostics software - SensorStudio
Fig.6.10: SYSTEM PROPERTIES / scanner character
Start characterStart character
The code reader sends the start character if the system is ready; i.e., once
initialization has been successfully completed. Default start character: ‘S’
After the code reader has sent the start character, the decoder system can
process external commands or signals.
Note: If this parameter is set to value zero, the code reader does not send
a start character.
Warning characterWarning character
To output a warning, the code reader sends the warning character via the
serial host interface.
Note: If this parameter is set to the value zero, the start character does not
send a warning character.
Error characterError character
In the event of an error, the code reader sends the error character via the
serial host interface.
Note: If this parameter is set to the value zero, the code reader does not
send an error character.
NOTICE
After the code reader is configured via the Sensor Studio configuration software, you can generate and save a file with the parameter data, e.g., to configure further code readers (see chapter
8.5 "Online commands for the parameter set operations").
Leuze electronicBCL 14830
Starting up the device - Configuration
7Starting up the device - Configuration
7.1Measures to be performed prior to the initial commissioning
NOTICE
Ä Observe the notices for device arrangement (see chapter 4.1 "Selecting a mounting loca-
tion")).
Ä If possible, always trigger the bar code reader with the aid of commands or an external
transducer (photoelectric sensor).
ð 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).
Ä Before commissioning, familiarize yourself with the operation and configuration of the de-
vice.
Ä Before connecting the supply voltage, recheck all connections and ensure that they have
been properly made.
7.2Starting the device
7.2.1Power-on test
After connecting the operating voltage, the bar code reader performs an automatic "Power On" function
test.
After the switch-on phase, the bar code reader responds with the start message via the interface.
• The start message is preset to ‘S’.
• If the start message has been transferred, the bar code reader is ready.
7.2.2Interface
Proper function of the interface can most easily be tested in service operation using the RS232 interface
with the SensorStudio configuration software.
7.2.3Online commands
Using the online commands, important device functions can be checked, e.g. reading activation (see chapter 8 "Online commands").
You can use online commands to directly send control and configuration commands to the device.
You can send online commands with a terminal program or with the Sensor Studio configuration software
see chapter 6 "Configuration and diagnostics software - SensorStudio").
7.2.4Problems
For information on how to proceed in the event of problems during commissioning of the devices, see
chapter 10 "Diagnostics and troubleshooting".
If a problem occurs that cannot be rectified even after checking all electrical connections and settings on
the devices and on the host, contact your responsible Leuzeelectronic subsidiary or Leuzeelectronic customer service (see chapter 11 "Service and support").
7.3Setting the configuration parameters
You commissioned the device. Usually, you will have to configure it before you can use it. With the configuration possibilities offered by the Sensor Studio configuration software or the device DTM, you can individually adapt the device to your specific application. For instructions regarding the various setting options, refer to the online help or to the see chapter 6.5 "Configuration parameters".
• To operate the bar code reader, it is normally sufficient to set code type and code length in accordance
with the bar codes that are to be read.
• Depending on the application, you can configure the switching input according to your requirements.
Leuze electronicBCL 14831
Configuration settings
The configuration settings are stored in the memory of the bar code reader in parameter sets. The various
parameter sets are explained to understand what is happening during configuration parameter setting (see
chapter 7.3.2 "Parameter sets").
• The setting of code type and code length is usually accomplished by using the SensorStudio configuration software (see chapter 6 "Configuration and diagnostics software - SensorStudio").
• You can set other configuration parameters as follows:
• Via the Sensor Studio configuration software with the buttons located under CONFIGURATION.
• Via the internal setup of the bar code reader (start with the online command CS; see chapter 7.3.2
"Parameter sets")
• Via online commands (see chapter 8.5 "Online commands for the parameter set operations").
7.3.1Service mode
You can connect a PC or a terminal to the device via the RS232 interface and configure the device
through this connection (see chapter 5.5 "PC or terminal connection").
NOTICE
Ä To enter Service mode, you must connect pin 9 (/PROT) on the connector plug to GND.
ð You can then access the device under permanently defined interface settings.
Starting up the device - Configuration
Setting the required parameters is carried out easiest in the 'Service' operating mode.
The Service mode provides the following defined operating parameters on the RS232 interface, no matter
how the device is configured for process mode:
• Transmission rate: 9600 baud
• No parity
• 8 data bits
• 1 stop bit
• Prefix: STX
• Postfix: CR, LF
NOTICE
The bar code reader has various command sets!
The command set of the bar code reader in Service mode differs in some respects from the bar
code reader in Host mode.
Leuze electronicBCL 14832
7.3.2Parameter sets
The configuration settings are stored in the memory of the bar code reader in parameter sets.
• Factory default parameter set
• Current parameter set
Factory default parameter set
This parameter set contains the factory-set default settings for all parameters of the bar code reader. It is
permanently stored in the FLASH ROM of the bar code reader.
The parameter set with the default settings is loaded into the memory of the bar code reader:
• Prior to delivery
• With the Sensor Studio configuration software via the [Factory Default] button in the DIAGNOSTICS
menu.
• After the online command PC20 (see chapter 8.5 "Online commands for the parameter set operations")
Current parameter set
In this parameter set, the current settings for all device parameters are stored. When the bar code reader is
in operation, the parameter set is stored in the EEPROM of the bar code reader.
Starting up the device - Configuration
Leuze electronicBCL 14833
8Online commands
You can use online commands to directly send control and configuration commands to the device. To do
this, connect the bar code reader to a computer (host) (see chapter 5.5 "PC or terminal connection").
NOTICE
You can send online commands with a terminal program or with the Sensor Studio configuration
software see chapter 6 "Configuration and diagnostics software - SensorStudio").
Information about the transmission protocol: see chapter 6.5.4 "Host interface tab".
Using the online commands you can:
• control/decode the reading gate.
• read/write/copy parameters.
• call up status information.
• carry out a software reset in order to reinitialize the device.
NOTICE
For diagnostics, you can send online commands to the device via the Sensor Studio configuration software (DIAGNOSTICS > Terminal).
Online commands
8.1Overview of commands and parameters
NOTICE
The following chapters describe the input of online commands via a terminal program. To input
online commands via the Sensor Studio configuration software see chapter 6 "Configuration and
diagnostics software - SensorStudio"
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:<ESC> ‘f+‘ ‘<aaa>’
<ESC>:ESC character; hex 0x1B
f+:Command, start focusing/decoding
<aaa>:Parameter, focus position in mm
Notation
Commands, parameters and returned data are enclosed between single quotation marks ’’ in the text of
this manual.
Most online commands are acknowledged by the device and any requested data returned.
The first line contains the device type of the bar code reader, followed by the
device version number and version date. The data which is actually displayed
may vary from the values given here.
Operating modeService mode, Host mode
NOTICE
You can use this command to check whether the communication between PC and bar code
reader is functional. If you do not receive an acknowledgment, please check the interface connections or the protocol.
Online commands
Software reset
Command’H’
DescriptionCarries out a software reset. The device is restarted and reinitialized, leaving it
in the same state as when the supply voltage is switched on.
ParameterNone
Acknowledgment’S’ (start signal)
Operating modeService mode, Host mode
Device status
Command’Z’
DescriptionQueries the device status.
Leuze electronicBCL 14835
Answer<a><b><c><d><e>’
<a> General status
’0’No error
’1’Read result exists
’2’Output buffer not available
’3’Focus command has wrong length
’4’Impermissible reading distance
’5’Invalid data format for the reading distance
’6’Device temperature too high
’7’Motor speed too high
<b> Device status
’0’Scanner OFF
’1’Scanner ON
’2‘Scan active
<c> Motor status
Online commands
’0’Motor OFF
’1’Motor is switched on and accelerating, but not yet ready
’2‘Motor maintaining nominal rotational speed
<d> Laser status
’0’Laser OFF
’1’Laser ON (laser starting up)
’2‘Laser ON (laser at rated power)
<e> Status of focusing
’0’Lens at reference position
’1’Lens moves from the reference position to the desired
position
’2‘Lens at the desired position
Operating modeService mode, Host mode
Start setup program
Command’E’
DescriptionThe command starts the internal setup program of the device. In the menu for
the internal setup program, you can change certain defined configuration parameters of the current parameter set.
Operating modeService mode, Host mode
Navigate in the setup program
• [E] button: start setup program
• [ESC] button: back one menu item
• [X] button: exit menu
Dialog: with or without saving
• [Enter] button: if you have entered a parameter, you must conclude the entry by – depending on the terminal program – pressing the [Enter] button once or twice.
Leuze electronicBCL 14836
8.3Online commands for controlling decoding
Start focusing/decoding
Command<ESC>‘f+‘ ‘<aaa>‘
DescriptionThe command starts decoding. The laser switches on, the motor runs at the
correct speed, etc.
<ESC>ESC (cancel) character; hex 0x1B
‘<aaa>‘Focus position in mm
Answer‘>’ on successful start, otherwise none
Operating modeService mode
Stop focusing/decoding
Command<ESC>‘f-‘
DescriptionThe command stops decoding. The laser switches off and the lens returns to
the reference position.
<ESC>ESC (cancel) character; hex 0x1B
AnswerNone
Online commands
Operating modeService mode
Leuze electronicBCL 14837
8.4Online commands for controlling the code reader
Power On
Wait For Host
Command
Wait For Motor
OK
Wait For Focus
Command
Wait For Focus
OK
Wait For
Activate Laser
Laser Activated
Scanner On (M)
Focus Adjustment (fxxxx)
Activate Laser (+)
Scanner Off (N)
Scanner Off (N)
Scanner Off (N)
Scanner Off (N)
Scanner Off (N)
Stop Scan (-)
Decoding
Activated
Switching Input
Falling Edge
Switching Input
Rising Edge
Stop Scan (-)
Scanner Off (N)
To activate the scanner in Host mode, you must enter the online commands in a certain sequence – and
with a certain device status – as shown in the following image.
Online commands
ScannerCode reader
Fig.8.1: Flow chart: software command status
Leuze electronicBCL 14838
NOTICE
Do not use <CR> and <LF> characters in the framing protocol when in host mode!
In host mode, <CR> and <LF> characters must not be used in the framing protocol in order for a
read result to be output after a read result request via the 'L' command.
Ä If you work in Host mode, set your terminal program so that, if necessary, <CR> and <LF>
characters are not used. Use, e.g., <STX>message<ETX>.
Note: Only command ‘PC20’ is valid. This command copies the parameter set
with the factory settings to the current parameter set.
Parameter‘<a>‘Output parameter set
‘<b>‘Target parameter set
AnswerNone, if the command was successfully executed (code reader restarts).
’PS‘ ‘<aa>‘
‘<aa>‘Status
’02’Invalid message length
’08’Invalid parameter set
’09’Invalid parameter type
Operating modeService mode, Host mode
Analyzing parameter set
Command’PA‘ ‘<a>>‘
DescriptionThe command analyzes the check sum calculation for the selected parameter set.
Parameter‘<a>‘Parameter set for analyzing the check sum calculation
0Parameter set that is stored in the EEPROM
1Customer-specific parameter set
2Parameter set with factory settings
3Parameter set currently stored in RAM
Leuze electronicBCL 14843
Answer’PS‘ ‘<aa>‘
‘<aa>‘Status
’00Transfer successful
’02’ Invalid message length
’08’ Invalid parameter set (checksum)
’09’ Invalid parameter type
Operating modeService mode, Host mode
NOTICE
The SensorStudio configuration software offers an [Export Parameter Command File…] button
() in the CONFIGURATION menu via which the currently set parameter data is written to a
text file in such a way that it can again be directly copied from the text file back into the code
reader.
Application example: Within the scope of series production, copy a parameter set to many code
readers.
Online commands
NOTICE
On request, Leuze electronic will be happy to provide you with additional information on the
topic of online commands. Please contact Leuze electronic customer service (see chapter 11
"Service and support").
Application example
Within the scope of series production, copy a parameter set to other code readers.
After the code reader is configured via the SensorStudio configuration software, you can use the [] button to generate a file with the parameter data and save it in the desired directory.
Example configuration:
• File name: BCL148_ParameterCMD.txt
• File type: txt files (*.txt)
File BCL148_ParameterCMD.txt contains the following data string:
To load this configuration data string for use in multiple code readers (e.g., series production), this data
must be loaded in the code readers as individual PT sequences (PT = Parameter Transmit).
1 changeover input for Service mode protocol / Host mode protocol (/PROT)
Tab.12.4: Electrical equipment
Operating voltage+18…30VDC, protection classIII - PELV (Protective Extra Low
Voltage)
Note:
For UL applications: use is permitted exclusively in Class 2 circuits according to NEC
Power consumptionMax. 9W
Switching input+18…30VDC depending on operating voltage,
I
.= 8mA
max
Tab.12.5: Mechanical data
Degree of protectionIP65
Connection typeConnection cable, 0.9 m long with 15-pin SUB-D connector plug
Weight615g
Dimensions (H x W x D)119x71x38mm
Fastening4 M4 mounting brackets, 4mm deep
HousingDiecast zinc
Optics coverGlass
Tab.12.6: Environmental data
Ambient temperature (operation)+5°C…+40°C
Air humidity10%…85% rel. humidity, non-condensing
Electromagnetic compatibilityEN 61326-1:2013-01
CertificationsUL60950-1 For UL applications: use is permitted exclusively in
ConformityCE, FCC
12.2Reading fields
FCC15 - CFR 47 Part 15 (July 18, 2014)
Class 2 circuits according to NEC
CSA C22.2 No. 60950-1-07
NOTICE
Please note that the actual reading fields are also influenced by factors such as labeling 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.
Leuze electronicBCL 14850
Reading curve for module m=127µm
-50
-30
-40
-20
-10
0
10
20
30
40
50
140 [mm]
[mm]
120100806040200
1
2
-50
-30
-40
-20
-10
0
10
20
30
40
50
350 [mm]
[mm]
300250200150100500
1
2
Technical data
1Reading distance [mm]
2Reading field width [mm]
Fig.12.1: Reading curve for module m=127µm
Reading curve for module m=167…200µm
Leuze electronicBCL 14851
1Reading distance [mm]
2Reading field width [mm]
Fig.12.2: Reading curve for module m=167…300 µm
Reading curve for module m=200…300µm
-50
-30
-40
-20
-10
0
10
20
30
40
50
350 [mm]
[mm]
300250200150100500
1
2
Technical data
1Reading distance [mm]
2Reading field width [mm]
Fig.12.3: Reading curve for module m=200…300µm
Leuze electronicBCL 14852
12.3Dimensioned drawings
Dimensioned drawing BCL148
Technical data
all dimensions in mm
AOptical axis
BM4 mounting bracket, 4mm deep (4x)
CLaser beam
DRastering max. 3mm at a distance of 200mm