Leuze BCL 148 Operating Instructions

BCL 148
Bar Code Reader
EN 2017/02 - 50132712
We reserve the right to
make technical changes
O r i g i n a l o p e r a t i n g i n s t r u c t i o n s
© 2017 Leuze electronic GmbH & Co. KG In der Braike 1 D-73277 Owen / Germany Phone: +49 7021 573-0 Fax: +49 7021 573-199 http://www.leuze.com
Leuze electronic BCL 148 2

Table of contents

Table of contents
1 About this document ............................................................................................5
1.1 Used symbols and signal words .............................................................................................5
2 Safety .....................................................................................................................7
2.1 Intended use ...........................................................................................................................7
2.2 Foreseeable misuse ............................................................................................................... 7
2.3 Competent persons ................................................................................................................ 8
2.4 Disclaimer ...............................................................................................................................8
2.5 Laser safety notices................................................................................................................ 9
3 Device description ..............................................................................................12
3.1 Device overview.................................................................................................................... 12
3.1.1 The BCL148 bar code reader...........................................................................................12
3.1.2 Stand-alone operation .......................................................................................................12
3.2 Performance characteristics .................................................................................................12
3.3 Device construction .............................................................................................................. 13
3.4 Connection technology .........................................................................................................13
4 Mounting..............................................................................................................14
4.1 Selecting a mounting location............................................................................................... 14
5 Electrical connection..........................................................................................16
5.1 Operating voltage ................................................................................................................. 16
5.2 Housing ground .................................................................................................................... 16
5.3 Pin assignment .....................................................................................................................17
5.4 Switching input/addressing/protocol changeover ................................................................. 18
5.4.1 Switching input ..................................................................................................................18
5.4.2 Addressing ........................................................................................................................18
5.4.3 Protocol changeover .........................................................................................................19
5.5 PC or terminal connection .................................................................................................... 19
6 Configuration and diagnostics software - SensorStudio...............................20
6.1 System requirements............................................................................................................ 20
6.2 Installing SensorStudio configuration software.................................................................... 21
6.2.1 Downloading configuration software .................................................................................21
6.2.2 Installing the SensorStudio FDT frame ............................................................................21
6.2.3 Install the communication DTM and device DTM.............................................................. 21
6.2.4 Connecting device to PC...................................................................................................21
6.3 Starting the SensorStudio configuration software................................................................ 22
6.4 Exiting SensorStudio .......................................................................................................... 23
6.5 Configuration parameters .....................................................................................................23
6.5.1 Decode tab ........................................................................................................................24
6.5.2 Output tab.......................................................................................................................... 25
6.5.3 Control tab.........................................................................................................................26
6.5.4 Host interface tab ..............................................................................................................27
6.5.5 Switching input tab ............................................................................................................29
6.5.6 System/scanner character tab........................................................................................... 30
Leuze electronic BCL 148 3
Table of contents
7 Starting up the device - Configuration..............................................................31
7.1 Measures to be performed prior to the initial commissioning ............................................... 31
7.2 Starting the device ................................................................................................................31
7.2.1 Power-on test ....................................................................................................................31
7.2.2 Interface ............................................................................................................................31
7.2.3 Online commands .............................................................................................................31
7.2.4 Problems ...........................................................................................................................31
7.3 Setting the configuration parameters.................................................................................... 31
7.3.1 Service mode ....................................................................................................................32
7.3.2 Parameter sets ..................................................................................................................33
8 Online commands...............................................................................................34
8.1 Overview of commands and parameters ..............................................................................34
8.2 General online commands.................................................................................................... 35
8.3 Online commands for controlling decoding........................................................................... 37
8.4 Online commands for controlling the code reader ................................................................38
8.5 Online commands for the parameter set operations............................................................. 41
9 Care, maintenance and disposal .......................................................................46
10 Diagnostics and troubleshooting ......................................................................47
11 Service and support ...........................................................................................48
11.1 What to do should servicing be required? ............................................................................ 48
12 Technical data .....................................................................................................49
12.1 General specifications .......................................................................................................... 49
12.2 Reading fields .......................................................................................................................50
12.3 Dimensioned drawings ......................................................................................................... 53
13 Order guide and accessories.............................................................................54
13.1 Type overview....................................................................................................................... 54
13.2 Accessories........................................................................................................................... 54
14 EC Declaration of Conformity ............................................................................55
15 Appendix..............................................................................................................56
15.1 Bar code samples .................................................................................................................56
Leuze electronic BCL 148 4

1 About this document

1.1 Used 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
NOTE Signal word for property damage
Indicates dangers that may result in property damage if the measures for dan­ger avoidance are not followed.
CAUTION Signal word for minor injuries
Indicates dangers that may result in minor injury if the measures for danger avoidance are not followed.
About this document
WARNING Signal 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 electronic BCL 148 5
Tab.1.3: Terms and abbreviations
BCL Bar code reader
About this document
DNC
This PIN must not be connected
(Do Not Connect)
DTM
Software device manager
(Device Type Manager)
EMC Electromagnetic compatibility
EN European standard
FDT
Software frame for management of device managers (DTM)
(Field Device Tool)
FE Functional earth
GUI Graphical user interface
HID
Device class for input devices with which users directly interact
(Human Interface De­vice)
NC
This pin is not contacted at the device
(Not Connected)
SWI1 Switching input
PLC Programmable Logic Control
(corresponds to Programmable Logic Controller (PLC))
Leuze electronic BCL 148 6

2 Safety

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.1 Intended use

The BCL148 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 BCL148 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. Ä LeuzeelectronicGmbH+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.2 Foreseeable misuse

Any use other than that defined under "Intended use" or which goes beyond that use is considered im­proper 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 electronic BCL 148 7

2.3 Competent 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 de­tect 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.4 Disclaimer

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.
Safety
Leuze electronic BCL 148 8

2.5 Laser safety notices

WARNING
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 regula­tions for a product of laser class2 as well as the U.S.21CFR1040.10 regulations with devia­tions corresponding to "Laser Notice No.50" from June 24, 2007.
Conforms to the applicable requirements of 21CFR SubchapterJ
Ä 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
class2 in accordance with IEC60825‑1 Edition2.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 650nm (red). Looking at the
device's mirror and operating at the lowest scanning rate (500scans/s) at a viewing distance of 100mm results in pulses with a pulse duration of 110µs on the retina of the eye. The to­tal pulse peak power at the exit window is less than 1.3mW. The average laser power is, thus, less than 1mW, corresponding to laser class2 in accordance with EN60825‑1, Edi­tion2.0 (2007) and IEC60825‑1, Edition2.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 electronic BCL 148 9
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 21CFR1040.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 warn­ing 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
Leuze electronic BCL 148 10
Safety
AVOID EXPOSURE – LASER RADIATION
IS EMITTED FROM THIS APERTURE
EXPOSITION DANGEREUSE – UN RAYONNEMENT
LASER EST ÉMIS PAR CETTE OUVERTURE
LASERSTRAHLUNG
NICHT IN DEN STRAHL BLICKEN
LASER KLASSE 2
DIN EN 60825-1:2008-05
Max. Leistung (peak): Impulsdauer: Wellenlänge:
RADIAZIONE LASER
NON FISSARE IL FASCIO
APARRECCHIO LASER DI CLASSE 2
EN 60825-1:2007
Potenza max. (peak): Durata dell'impulso: Lunghezza d'onda:
LASER RADIATION
DO NOT STARE INTO BEAM
CLASS 2 LASER PRODUCT
EN 60825-1:2007
Maximum Output (peak): Pulse duration: Wavelength:
RAYONNEMENT LASER
NE PAS REGARDER DANS LE FAISCEAU
APPAREIL À LASER DE CLASSE 2
EN 60825-1:2007
Puissance max. (crête): Durée d`impulsion: Longueur d`onde:
RADIACIÓN LÁSER
NO MIRAR FIJAMENTE AL HAZ
PRODUCTO LÁSER DE CLASE 2
EN 60825-1:2007
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 electronic BCL 148 11

3 Device description

3.1 Device overview

3.1.1 The BCL148 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/5Interleaved, Code39, Code128, 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 in­struments with manual insertion.
• Information on technical data and characteristics: see chapter 12 "Technical data".

3.1.2 Stand-alone operation

The bar code reader is operated as a “stand-alone” single device. The electrical connection of the operat­ing voltage and of the RS232/RS485 interfaces is established via a 0.9 m long cable that is equipped with a 15-pin SUB-D connector plug.

3.2 Performance 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 … 12mil) at a reading field height of ≥60mm, even with a reading distance of 30 mm
• Reading distance 30…310mm
• Scanning rate of 750scans/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: RS232 or RS485
• Service interface: RS232
Device description
Leuze electronic BCL 148 12

3.3 Device 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 BCL148

3.4 Connection technology

Connection cable with 15-pin SUB-D connector plug:
• 1 switching input
• 1 pin for addressing
• Process interface: RS232 or RS485
• Service interface: RS232
Leuze electronic BCL 148 13

4 Mounting

Ä 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.1 Selecting 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 re­spective 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 electronic BCL 148 14
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 electronic BCL 148 15

5 Electrical 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 IP65 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 IEC60742 (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 (Na­tional 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: RS232 or RS485
• Service interface: RS232
You can configure the functions of the switching input and the addressing according to your requirements via the SensorStudio configuration software (see chapter 6 "Configuration and diagnostics software - Sen­sorStudio").

5.1 Operating 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.2 Housing ground

To avoid electromagnetic interference, a low-impedance connection is necessary from the housing to the machine ground.
Leuze electronic BCL 148 16

5.3 Pin 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
Pin Signal Description
1 GND 0V DC
for IN/OUT
Reference ground bridged with pin 15
2 SWI1 Switching input IN
3 RS485A A signal line of the RS485 interface IN/OUT
4 RS485B B signal line of the RS485 interface IN/OUT
5 /MA0 Address for selecting the device in Host
IN
mode
6 DNC Do not connect - for internal use only
7 DNC Do not connect - for internal use only
8 VIN Operating voltage +18…30 V DC IN
9 /PROT Protocol changeover IN
10 DNC Do not connect - for internal use only
11 RXD232 RxD signal line of the RS232 interface IN
12 TXD232 TxD signal line of the RS232 interface OUT
13 NC Not connected ---
14 NC Not connected ---
15 GNDIN 0V DC
IN
Reference ground
Leuze electronic BCL 148 17

5.4 Switching 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 SensorStudio configuration software (see chapter 6 "Configuration and diagnostics software - SensorStudio").

5.4.1 Switching input

Via switching input connection SWI1, you can trigger a read process in the standard setting (high = active).
Electrical connection

5.4.2 Addressing

1 Operating voltage UB 18…30V DC 2 SWI1 3 GND
Input resistance: approx. 6kΩ
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 (de­fault device address=0).
Leuze electronic BCL 148 18
VIN
/MA0
GND
GND
18 … 30 V DC
1
2
3
1 Operating voltage UB 18…30V DC
VIN
/PROT
GND
GND
18 … 30 V DC
1
2
3
2 /MA0 3 GND
Fig.5.3: Circuit diagram example: addressing

5.4.3 Protocol changeover

Via the input for protocol changeover (/PROT), it is alternatively possible to make a hardware-controlled switch to the Service mode protocol.
/PROT inactive: Host mode protocol
(Level on /PROT= high or not assigned)
/PROT active: Service mode protocol
(Level on /PROT= low or GND)
Electrical connection

5.5 PC or terminal connection

Leuze electronic BCL 148 19
1 Operating voltage UB 18…30V DC 2 /PROT 3 GND
Fig.5.4: Circuit diagram example: protocol changeover
Via the RS232 service interface, you can configure the bar code reader by means of a PC or a terminal program. For this, you need an RS232 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 - SensorStudio
6 Configuration and diagnostics software - SensorStudio
The SensorStudio configuration software provides a graphical user interface for the operation, configura­tion and diagnostics of the device via the RS232 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 SensorStudio configuration software for products manufactured by Leuzeelec­tronic. The SensorStudio configuration software is offered in the following languages: German, English, French, Italian and Spanish. The FDT frame application of the SensorStudio supports all languages; all languages may not be supported in the device DTM (Device Type Manager).
The SensorStudio 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 BCL148 bar code reader
Procedure for the installation of the software and hardware:
Ä Install the SensorStudio 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 BCL148 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.1 System requirements

To use the SensorStudio configuration software, you need a PC or laptop with the following specifications:
Tab.6.1: System requirements for SensorStudio installation
Operating system WindowsXP or higher (32bit, 64bit)
Computer Processor type: 1GHz or higher
Graphics card At least 1024x768 pixels
Required hard disk capacity for SensorStudio and communication DTM
NOTICE
WindowsVista
Windows7
Windows8
Serial COM interface
CD-ROM drive
Main memory (RAM): at least 64MB
Keyboard and mouse or touchpad
35MB
Administrator privileges on the PC are necessary for installing Sensor Studio.
Leuze electronic BCL 148 20
Configuration and diagnostics software - SensorStudio
6.2 Installing SensorStudio configuration software
NOTICE
The installation files of the SensorStudio configuration software must be downloaded from the Internet at www.leuze.com. For subsequent updates, you can find the most recent version of the SensorStudio installation software on the Internet at www.leuze.com.

6.2.1 Downloading 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.2 Installing the SensorStudio 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 SensorStudio instal­lation.
You can install the communication DTM and the device DTM in the existing FDT frame. Com­munication 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.3 Install 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.4 Connecting device to PC

The device is connected to the PC via the RS232 interface.
You need an RS232 connection that establishes the RxD, TxD and GND connections between PC and de­vice (see chapter 5.5 "PC or terminal connection").
Leuze electronic BCL 148 21
Configuration and diagnostics software - SensorStudio
6.3 Starting the SensorStudio 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 RS232 interface (see chapter 6.2.4 "Connecting device to
PC").
ü The SensorStudio configuration software is installed on the PC (see chapter 6.2 "Installing SensorStu-
dio configuration software").
Ä Start the SensorStudio configuration software by double-clicking the [SensorStudio] 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 BCL148
Ä Select BCL148 in the device selection and click on [Next]. ð The device manager (DTM) of the connected BCL148 starts with the offline view for the SensorStudio
configuration project.
Ä Establish the online connection to the connected BCL148.
ð In the SensorStudio FDT frame, click on the [Establish connection with device] button. ð In the SensorStudio FDT frame, click on the [Upload parameters to device] button.
ð The current configuration data is displayed in the device manager (DTM).
Leuze electronic BCL 148 22
Configuration and diagnostics software - SensorStudio
Fig.6.2: Configuration project: device manager for BCL 148
Ä The menus of the SensorStudio device manager (DTM) can be used to change or read out the config-
uration of the connected device.
ð The user interface of the SensorStudio 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.4 Exiting SensorStudio
After completing the configuration settings, close the SensorStudio configuration software.
Ä Exit the program via File > Exit. Ä Save the configuration settings as a configuration project on the PC.

6.5 Configuration parameters

In this chapter, you will find information and explanations on the configuration parameters of the device manager (DTM) for the BCL148 bar code reader.
NOTICE
This chapter does not include a complete description of the SensorStudio configuration soft­ware. 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 BCL148 bar code readers of the SensorStudio configuration software of­fers 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 electronic BCL 148 23
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.1 Decode tab

Configuration and diagnostics software - SensorStudio
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 corre­sponding 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 In­terval mode. Up to 3 fixed element numbers with comma: e.g.: 8,13 digits
Both are also possible, but the range must be speci­fied first (select Interval mode):
e.g.: 4-10,20 elements
Leuze electronic BCL 148 24
Configuration and diagnostics software - SensorStudio
Number of bar codes
Reading security (equal scans)
(COMPLETENESS)

6.5.2 Output 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 header Select from the options listed below. The output
header is sent in a separate message before the read result.
Label header The label header is set directly before the code
data.
Label footer The label footer is appended directly to the code
data.
Message mode
(Message mode)
Selects whether the bar codes read are sent in con­catenation 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 electronic BCL 148 25
Configuration and diagnostics software - SensorStudio
Fig.6.5: Standard settings for the Properties window – Output tab

6.5.3 Control tab

Fig.6.6: Control tab
Activation
Switching input1
See menu switching input
Function
Sensor function
(Sensor Function)
Command character
(Command character)
Leuze electronic BCL 148 26
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 - SensorStudio
Delay until scanner reads
(Decode delay time)
Deactivation
Switching input1
Function
Command character
(Command character)
Time
(Time)
Scans without info
(Scans without info)

6.5.4 Host 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 pro­cedure).
The desired acknowledgment settings are also to be set in this selection window.
Leuze electronic BCL 148 27
Configuration and diagnostics software - SensorStudio
Properties window (Framing Protocol) – Host interface tab
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 SensorStudio configu­ration software.
Leuze electronic BCL 148 28

6.5.5 Switching input tab

Configuration and diagnostics software - SensorStudio
Fig.6.9: Switching input tab
Inverted Here, 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 ex­tended internally by this time period.
Event that is started when the switching input is ac­tivated.
Leuze electronic BCL 148 29

6.5.6 System/scanner character tab

With the system parameters, you can define the general behavior of the code reader.
Configuration and diagnostics software - SensorStudio
Fig.6.10: SYSTEM PROPERTIES / scanner character
Start character Start 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 character Warning 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 character Error 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 gener­ate 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 electronic BCL 148 30
Starting up the device - Configuration

7 Starting up the device - Configuration

7.1 Measures 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.2 Starting the device

7.2.1 Power-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.2 Interface

Proper function of the interface can most easily be tested in service operation using the RS232 interface with the SensorStudio configuration software.

7.2.3 Online commands

Using the online commands, important device functions can be checked, e.g. reading activation (see chap­ter 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 - SensorStudio").

7.2.4 Problems

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 Leuzeelectronic subsidiary or Leuzeelectronic cus­tomer service (see chapter 11 "Service and support").

7.3 Setting the configuration parameters

You commissioned the device. Usually, you will have to configure it before you can use it. With the configu­ration possibilities offered by the Sensor Studio configuration software or the device DTM, you can individu­ally adapt the device to your specific application. For instructions regarding the various setting options, re­fer 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 electronic BCL 148 31
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 SensorStudio configu­ration software (see chapter 6 "Configuration and diagnostics software - SensorStudio").
• 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.1 Service mode

You can connect a PC or a terminal to the device via the RS232 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 RS232 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 electronic BCL 148 32

7.3.2 Parameter 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 electronic BCL 148 33

8 Online 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 - SensorStudio").
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 configura­tion software (DIAGNOSTICS > Terminal).
Online commands

8.1 Overview 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 - SensorStudio"
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.
Leuze electronic BCL 148 34

8.2 General online commands

Software version number
Command ’V’
Description Requests device version information
Parameter None
Acknowledgment Example: ’BCL148 V60.18 17.11.2014’
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 mode Service 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 con­nections or the protocol.
Online commands
Software reset
Command ’H’
Description Carries out a software reset. The device is restarted and reinitialized, leaving it
in the same state as when the supply voltage is switched on.
Parameter None
Acknowledgment ’S’ (start signal)
Operating mode Service mode, Host mode
Device status
Command ’Z’
Description Queries the device status.
Leuze electronic BCL 148 35
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 mode Service mode, Host mode
Start setup program
Command ’E’
Description The command starts the internal setup program of the device. In the menu for
the internal setup program, you can change certain defined configuration pa­rameters of the current parameter set.
Operating mode Service 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 ter­minal program – pressing the [Enter] button once or twice.
Leuze electronic BCL 148 36

8.3 Online commands for controlling decoding

Start focusing/decoding
Command <ESC>‘f+‘ ‘<aaa>‘
Description The 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 mode Service mode
Stop focusing/decoding
Command <ESC>‘f-‘
Description The command stops decoding. The laser switches off and the lens returns to
the reference position.
<ESC> ESC (cancel) character; hex 0x1B
Answer None
Online commands
Operating mode Service mode
Leuze electronic BCL 148 37

8.4 Online 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
Scanner Code reader
Fig.8.1: Flow chart: software command status
Leuze electronic BCL 148 38
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>.
SWI1
M F0200 + L
F0220
1
3
2 4
3 3
1 Commands 2 Focus adjustment: 200mm 3 Read 4 New focus adjustment: 220mm
Fig.8.2: Flow chart: code reader in Host mode
NOTICE
The processing status of the ‘M’, ‘F’, ‘+’ and ‘-’ commands can be monitored with the ‘Z’ com­mand (status query).
Online commands
Start code reader
Command ’M’
Answer None
Operating mode Host mode
Stop code reader
Command ’N’
Answer None
Operating mode Host mode
NOTICE
Ä Refer to the flow chart for the correct sequence of command input.
Focusing the code reader
Command ’f‘‘’<aaaa>’
Description Command adjusts the focus position..
‘<aaaa>‘ Focus position in mm
Example for a focus distance of 200mm: ‘f0200‘
Answer None
Leuze electronic BCL 148 39
Start sensor (start reading)
Command ’+’
Parameter None
Answer None
Operating mode Host mode
NOTICE
Ä Refer to the flow chart for the correct sequence of command input. Ä To start a reading, the switching input must be set after the ‘+’ command.
Stop sensor (end reading)
Command ’-’
Parameter None
Answer None
Operating mode Host mode
Online commands
NOTICE
Ä Refer to the flow chart for the correct sequence of command input. Ä Before the ‘-’ command, the switching input must be reset.
Request read result
Command ’L’
Description The command requests the output of the read result.
<ESC> ESC (cancel) character; hex 0x1B
‘<aaa>‘ Focus position in mm
Leuze electronic BCL 148 40
Answer String (without carriage return):
‘<n_index><status><CR><LF>’
‘01<timer_l1><timer_h1><ncode_1><cl11><barcode 11><mr11> <cl12>…<CR> <LF>’
‘02<timer_l1><timer_h1><ncode_1><cl11><barcode 11><mr11><cl12>… <CR> <LF>…’
‘<n_index><timer_ln><timer_hn><ncode_n><cln1><barcode n1><mrn1><cln2>… <CR> <LF>‘
If multiple codes are detected in a reading gate, the decoded content is displayed in the same line.
‘<n_index>‘ Number of reading gates (00…99)
‘<status>‘ Status code
‘0‘ Read results exist
‘1‘ No read results exist
‘2‘ Scan active
‘3‘ Overflow of the communication buffer
‘4‘ Overflow of the decoder buffer
Online commands
Operating mode
‘<timer_li>‘ Time frame before the read impulse (duration of the index marking;
(0000 … 9999)
‘<timer_hi>‘ Time frame of the read impulse (0000 … 9999)
‘<ncode_i>‘ Number of codes per read impulse (0 … 9)
1: Without error
‘<clix>‘ Length of the xth code in the ith read impulse (00 … 99)
‘<barcodeix>‘ Content of the bar code (ASCII character)
‘<MRix>‘ Number of identical readings of the code (00 … 99)
‘<CR>‘ ASCII code for carriage return; hex 0x0D
‘<LF>‘ ASCII code for line feed; hex 0x0A
Host mode
NOTICE
The result string contains <CR> and <LF> characters
Ä <CR> and <LF> characters may not be used in the framing protocol. Use, e.g., <STX>mes-
sage<ETX>.
Ä If you work in Host mode, set your terminal program so that, if necessary, <CR> and <LF>
characters are not used.

8.5 Online commands for the parameter set operations

Transferring parameters to parameter set
Command ’PT <a><b><c><ddd><ee_0>…<ee_n><f>’
Description The command transmits parameter data beginning with the start address.
Leuze electronic BCL 148 41
Online commands
Parameter ‘<a>‘ BCC mode for sending the data to the code reader
’0’ No BCC
’3’ BCC mode
‘<b>‘ Memory location for the parameter set
’0’ Save parameter set in EEPROM
’3’ Save parameter set in RAM
‘<c>‘ Additional messages
’0’ No additional messages – write immediately
’3’ Additional messages follow
‘<ddd>‘ Offset for the start of transfer; decimal number
Value range: 000…510
‘<ee_n>‘ The nth byte (in hex format) that is written in the parameter set,
counting from the start of the transfer (<ddd>)
‘<f>‘ Block check test (ASCII), optional.
Answer ’PS<aa>’
‘<aa>‘ Status
’00’ Transfer successful
’01’ Invalid message
’02’ Invalid message length
’03’ Invalid BCC type
’04’ Invalid BCC
’05’ Invalid data length
’06’ Invalid message data
’07’ Invalid start address
’08’ Invalid parameter set
’09’ Invalid parameter type
Operating mode Service mode, Host mode
Requesting parameter data from parameter set
Command ’PR <a><b><ccc>ddd>’
Description The command requests parameter data from a parameter set.
Parameter ‘<a>‘ BCC mode for sending the data to the host
’0’ No BCC
’3’ BCC mode
Parameter ‘<b>‘ Parameter set for reading
’0’ Parameter set in EEPROM
’3’ Parameter set in RAM
‘<ccc>‘ Offset for the start of reading; decimal number
Value range: 000…510
<ddd> Number of answer bytes
Leuze electronic BCL 148 42
Answer ‘PT<a><b>0<ccc><dd_0><dd_1>…<dd_n><e>’
‘<dd_n>‘ The nth byte (in hex format) of the parameter set, counting from
the <start address>.
‘<e>‘ Block check test (ASCII) for <BCC type> ‘3’
’PS<aa>’
‘<aa>‘ Status
’01’ Invalid message
’02’ Invalid message length
’03’ Invalid BCC type
’05’ Invalid data length
’07’ Invalid start address
’08’ Invalid parameter set
’09’ Invalid parameter type
None, if no intermediate buffer is available for the parameter set.
Operating mode Service mode, Host mode
Online commands
Copying parameter set
Command ’PC‘ ‘<a>‘ ‘b>‘
Description The command copies complete parameter sets.
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
Answer None, 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 mode Service mode, Host mode
Analyzing parameter set
Command ’PA‘ ‘<a>>‘
Description The command analyzes the check sum calculation for the selected parameter set.
Parameter ‘<a>‘ Parameter set for analyzing the check sum calculation
0 Parameter set that is stored in the EEPROM
1 Customer-specific parameter set
2 Parameter set with factory settings
3 Parameter set currently stored in RAM
Leuze electronic BCL 148 43
Answer ’PS‘ ‘<aa>‘
‘<aa>‘ Status
’00 Transfer successful
’02’ Invalid message length
’08’ Invalid parameter set (checksum)
’09’ Invalid parameter type
Operating mode Service mode, Host mode
NOTICE
The SensorStudio 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 SensorStudio configuration software, you can use the [ ] but­ton 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:
PT301000010a000002422000084220000b422000000000000000000000000000000000000102000 0020000030000001800000000000000000000000000000000000000000100070000000000000000 00000000002000c081c08005000000000000030000" PT3010960607050001000302020000030000c8002a1100000000d­c00260240000a00050006070400010001000200000d0a00c8001027000000000000000000000000 00000000001000003b485f4c2f00530000002b2d2c2e3f0000000000000000000000W PT30119200000000000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000500000000000500000000 00000000010200010090012c010100010090012c01. PT30128800000000000000000000000000000000000000000000000000000000000008000000000 0000000003200000021000000000001002a00000000000000000000000000000000000000000000 000000000000000000000000000000000000000000\ PT300480000000000000000000000000000000000000000000000000000000000000e8bdP H
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).
• Command from the control to the code reader:
PT301000010a000002422000084220000b422000000000000000000000000000000000000102000 0020000030000001800000000000000000000000000000000000000000100070000000000000000 00000000002000c081c08005000000000000030000"
Leuze electronic BCL 148 44
Online commands
Answer from the code reader:
PS0
• Command from the control to the code reader:
PT3010960607050001000302020000030000c8002a1100000000d­c00260240000a00050006070400010001000200000d0a00c8001027000000000000000000000000 00000000001000003b485f4c2f00530000002b2d2c2e3f0000000000000000000000W
Answer from the code reader:
PS0
• Command from the control to the code reader:
PT30119200000000000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000500000000000500000000 00000000010200010090012c010100010090012c01.
Answer from the code reader:
PS0
• Command from the control to the code reader:
PT30128800000000000000000000000000000000000000000000000000000000000008000000000 0000000003200000021000000000001002a00000000000000000000000000000000000000000000 000000000000000000000000000000000000000000\\
Answer from the code reader:
PS0
• Command from the control to the code reader:
PT3013842d2e20242f2b25000000000000000000000000000000000000000000000000001000110 1000000000000400000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000+
Answer from the code reader:
PS0
• Command from the control to the code reader:
PT300480000000000000000000000000000000000000000000000000000000000000e8bdP
Answer from the code reader:
PS0
• Command from the control to the code reader:
‘H‘
Answer from the code reader:
‘S‘
The parameter set is thereby loaded in the code reader and ready.
Leuze electronic BCL 148 45

9 Care, maintenance and disposal

Cleaning
Clean the glass window of the bar code reader with a soft cloth before mounting if necessary.
NOTICE
Do not use aggressive cleaning agents!
Ä Do not use aggressive cleaning agents such as thinner or acetone for cleaning the device.
Maintenance
Usually, the bar code reader does not require any maintenance by the operator.
Repairs to the device must only be carried out by the manufacturer.
Ä For repairs, contact your responsible Leuzeelectronic subsidiary or Leuzeelectronic customer service
(see chapter 11 "Service and support").
Disposing
Ä For disposal observe the applicable national regulations regarding electronic components.
Care, maintenance and disposal
Leuze electronic BCL 148 46

10 Diagnostics and troubleshooting

Status messages from the device can be transferred via the interface.
Troubleshooting
Ä Please contact your responsible Leuzeelectronic subsidiary or Leuzeelectronic customer service if you
cannot rectify faults and errors with the configuration software (see chapter 11 "Service and support").
Tab.10.1: Errors, causes of errors and measures
Error Possible error cause Measures
Diagnostics and troubleshooting
No communi­cation possi­ble
No code reading pos­sible
Incorrect wiring. Check wiring.
Wrong interface selected. Select the correct interface via the SensorStudio con-
figuration software.
Different protocol settings. Check protocol settings in the device and in the Sensor
Studio configuration software or switch device to the Service operating mode.
Code reading not possible (qual-
Improve code quality! Entire code in laser line?
ity).
Code is not enabled. Check entries in the code table (type and length).
Excessive reflections. Increase skew of the laser beam to >10° with respect
to vertical.
Leuze electronic BCL 148 47

11 Service and support

24-hour on-call service at:
+49 (0) 7021 573-0
Service hotline:
+49 (0) 7021 573-123
Monday to Friday 8.00a.m. to 5.00p.m. (UTC+1)
E-mail:
service.identify@leuze.de
Repair service and returns:
Procedure and Internet form can be found at
www.leuze.com/repair
Return address for repairs:
Service center
Leuze electronic GmbH + Co. KG
In der Braike 1
D-73277 Owen / Germany
Service and support

11.1 What to do should servicing be required?

NOTICE
Please use this chapter as a master copy should servicing be required!
Ä Enter the contact information and fax this form together with your service order to the fax
number given below.
Customer data (please complete)
Device type:
Serial number:
Firmware:
Error description:
Company:
Contact person/department:
Phone (direct dial):
Fax:
Street/No:
ZIP code/City:
Country:
Leuze Service fax number:
+49 (0) 7021 573-199
Leuze electronic BCL 148 48

12 Technical data

12.1 General specifications

Tab.12.1: Optics
Light source Laser diode
Wavelength 650nm (visible red light)
Beam exit Lateral
Impulse duration 110µs
Max. output power (peak) 1.3mW
Laser class 2 acc. to IEC60825-1:2007
Scanning rate 750scans/s
Focus setting time <250ms
Reading distance / reading field width see chapter 12.2 "Reading fields"
Reading area 30mm…290mm for module width up to 200µm
Technical data
30mm…310mm for module width from 200µm
70mm…110mm for module width of 127µm
Reading field height Min. 60mm at reading distance from 30mm
Min. 80mm at reading distance from 50mm
Software features Selectable output format, multiple read, real time decoding, con-
trol of the switching input
Tab.12.2: Code specifications
Code types 2/5 Interleaved, Code39 (number of digits 2…63), 2/5 IATA, 2/5
Industrial, UPC(A/E) Code128, EAN128 (number of digits 2…63), Pharmacode, Add-On (EAN), Codabar
Module width
(distance dependent)
5mil, 6.5…20mil
127µm, 167…500µm
Print quality ANSIX3, 123
DINEN1635 class A, B
Angle of rotation >10°
Tab.12.3: Interfaces
Process interface RS232 or RS485
Baud rate 110…57600baud
Data formats Data bits: 7, 8, 9
Parity: none, even, odd
Stop bit: 1, 2
Service interface RS232 with fixed data format
8data bits, no parity, 1stop bit
<STX> <data> <CR><LF>
Protocols application specific
Leuze electronic BCL 148 49
Technical data
Ports 1 switching input (SWI1)
1 addressing input (/MA0)
1 changeover input for Service mode protocol / Host mode proto­col (/PROT)
Tab.12.4: Electrical equipment
Operating voltage +18…30VDC, protection classIII - PELV (Protective Extra Low
Voltage)
Note:
For UL applications: use is permitted exclusively in Class 2 cir­cuits according to NEC
Power consumption Max. 9W
Switching input +18…30VDC depending on operating voltage,
I
.= 8mA
max
Tab.12.5: Mechanical data
Degree of protection IP65
Connection type Connection cable, 0.9 m long with 15-pin SUB-D connector plug
Weight 615g
Dimensions (H x W x D) 119x71x38mm
Fastening 4 M4 mounting brackets, 4mm deep
Housing Diecast zinc
Optics cover Glass
Tab.12.6: Environmental data
Ambient temperature (operation) +5°C…+40°C
Air humidity 10%…85% rel. humidity, non-condensing
Electromagnetic compatibility EN 61326-1:2013-01
Certifications UL60950-1 For UL applications: use is permitted exclusively in
Conformity CE, FCC

12.2 Reading 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 mate­rial, printing quality, scanning angle, printing contrast etc., and may thus deviate from the read­ing fields specified here. The origin of the read distance always refers to the front edge of the housing of the beam exit.
Leuze electronic BCL 148 50
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
1 Reading distance [mm] 2 Reading field width [mm]
Fig.12.1: Reading curve for module m=127µm
Reading curve for module m=167…200µm
Leuze electronic BCL 148 51
1 Reading distance [mm] 2 Reading 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
1 Reading distance [mm] 2 Reading field width [mm]
Fig.12.3: Reading curve for module m=200…300µm
Leuze electronic BCL 148 52

12.3 Dimensioned drawings

Dimensioned drawing BCL148
Technical data
all dimensions in mm A Optical axis B M4 mounting bracket, 4mm deep (4x)
C Laser beam D Rastering max. 3mm at a distance of 200mm
E Optical beam path (for received light), approx. 15mm wide L Cable length approx. 0.9m
Fig.12.4: Dimensioned drawing BCL148
Leuze electronic BCL 148 53

13 Order guide and accessories

13.1 Type overview

Tab.13.1: Part numbers
Part no. Part designation Description
50131538 BCL148 V340B Single line scanner, RS232 or RS485 interface,

13.2 Accessories

Tab.13.2: Accessories
Order guide and accessories
310mm reading distance
SensorStudio configuration software
Download at www.leuze.com
(see chapter 6.2.1 "Downloading configuration software")
NOTICE
On request, Leuze electronic can make available the BCL Configuration Tool editor program.
SensorStudio designed according to the FDT/DTM
concept. Contains: communication DTM and device DTM
Leuze electronic BCL 148 54

14 EC Declaration of Conformity

The barcode readers of the BCL148 series have been developed and manufactured in accordance with the applicable European standards and directives.
EC Declaration of Conformity
Leuze electronic BCL 148 55

15 Appendix

15.1 Bar code samples

Module 0.3
Fig.15.1: Code type 01: Interleaved 2 of 5
Module 0.3
Fig.15.2: Code type 02: Code 39
Appendix
Module 0.3
Fig.15.3: Code type 11: Codabar
Module 0.3
Fig.15.4: Code 128
Module 0.3
Fig.15.5: Code type 08: EAN 128
SC 2
Fig.15.6: Code type 06: UPC-A
Leuze electronic BCL 148 56
SC 3
Fig.15.7: Code type 07: EAN 8
Appendix
Leuze electronic BCL 148 57
Loading...