Manual - Leuze - BCL34
Manual - Leuze - BCL34
Manual - Leuze - BCL34
Barcode reader
GB 05-10/08 50038851
TECHNICAL DESCRIPTION
Leuze electronic GmbH + Co. KG
P.O. Box 1111, D- 73277 Owen / Teck
Tel. +49(0) 7021/ 573-0,
Fax +49(0)7021/ 573-199
[email protected] • www.leuze.com
Worldwide
© All rights reserved, especially the right of reproduction, distribution and translation. Copying or
reproductions in any form require the written consent of the manufacturer.
Changes reflecting technical improvements may be made.
Table of contents
1 General Information........................................................................................................... 5
1.1 Explanation of Symbols ....................................................................................................... 5
1.2 Declaration of conformity..................................................................................................... 5
4 Description ....................................................................................................................... 13
4.1 On the barcode readers BCL 34........................................................................................ 13
4.2 Modular hoods with integrated connectors MS 34 103/MS 34 105.................................. 14
4.3 Modular Service Display MSD 1 101 ................................................................................. 15
5 Specifications................................................................................................................... 17
5.1 General specifications of the BCL 34 ................................................................................ 17
5.2 LED indicators.................................................................................................................... 18
5.3 Device Construction and Components.............................................................................. 19
5.3.1 Dimensioned and Connection Drawings ..................................................................................... 19
5.4 Optical data ....................................................................................................................... 21
5.4.1 Type overview.............................................................................................................................. 21
5.4.2 Raster aperture............................................................................................................................ 22
5.4.3 Optics variants and reading fields ............................................................................................... 22
5.5 Automatic reflector activation "AutoReflAct"..................................................................... 27
TNT 35/7-24V
6 Accessories / Order Designation ................................................................................... 29
6.1 Accessories........................................................................................................................ 29
6.1.1 Modular Service Display MSD 1 101........................................................................................... 30
6.1.2 Fastening Accessories................................................................................................................. 32
6.1.3 Connection cable KB 034 2000................................................................................................... 32
7 Installation ........................................................................................................................ 33
7.1 Storage, Transportation ..................................................................................................... 33
7.2 Mounting ............................................................................................................................ 34
7.2.1 Arrangement of devices............................................................................................................... 35
7.3 Address setting .................................................................................................................. 37
7.4 Connection......................................................................................................................... 37
7.4.1 ConnectionBCL 34 ...................................................................................................................... 38
7.4.2 Ready-made PROFIBUS connection cable................................................................................. 40
7.4.3 User-configurable PROFIBUS connectors .................................................................................. 42
7.4.4 Connection of switching inputs and outputs............................................................................... 43
7.5 Disassembling, packing, disposing ................................................................................... 43
8 PROFIBUS ........................................................................................................................ 44
8.1 General Information ........................................................................................................... 44
8.1.1 GSD File .......................................................................................................................................45
8.1.2 Permanently defined parameters (device parameters) ................................................................45
8.2 Structure of the project modules ....................................................................................... 47
8.2.1 Overview of the project modules .................................................................................................47
8.3 Description of the individual project modules ................................................................... 49
8.3.1 Code table extension: Modules 1-4.............................................................................................50
8.3.2 Multilabel: Module 5.....................................................................................................................50
8.3.3 Reading Gate Control: Module 6 .................................................................................................52
8.3.4 Check Digit: Module 7..................................................................................................................53
8.3.5 EAN designator: Module 8 ...........................................................................................................54
8.3.6 Laser control: Module 9 ...............................................................................................................55
8.3.7 Pharmacode Properties: Module 10 ............................................................................................56
8.3.8 Code Type Properties: Module 11 ...............................................................................................57
8.3.9 Data Formatting: Module 12 ........................................................................................................58
8.3.10 Switching input: Module 13 .........................................................................................................59
8.3.11 Switching output: Module 14 .......................................................................................................60
8.3.12 AutoReflAct (automatic reflector activation) Module 15: ............................................................62
8.3.13 AutoControl: Module 16...............................................................................................................63
8.3.14 Reference Code Comparison: Module 17 ...................................................................................64
8.3.15 Activations: Module 18 ................................................................................................................69
8.3.16 Activations with ACK: Module 19.................................................................................................70
8.3.17 Decoding state: Module 20 ..........................................................................................................71
8.3.18 Decoding Result: Modules 21 to 27.............................................................................................71
8.3.19 Interlinked read result: Module 33 ...............................................................................................73
8.3.20 Fragmented Reading Result: Module 34 .....................................................................................74
8.3.21 Reading Gate Activations: Module 35 .........................................................................................75
8.3.22 Reading gate number: Module 36................................................................................................76
8.3.23 Number of scans per reading gate: Module 37 ...........................................................................76
8.3.24 Code Position: Module 38............................................................................................................77
8.3.25 Reading Security (Equal Scans): Module 39................................................................................78
8.3.26 Scans per barcode: Module 40....................................................................................................78
8.3.27 Scans With Information: Module 41.............................................................................................79
8.3.28 Decoding quality: Module 42 .......................................................................................................79
8.3.29 Code Direction: Module 43 ..........................................................................................................80
8.3.30 Number Of Digits: Module 44 ......................................................................................................80
8.3.31 Code type: Module 45 .................................................................................................................81
8.3.32 Alignment mode 1: Module 46 .....................................................................................................82
8.3.33 Service: Module 47 ......................................................................................................................83
8.3.34 Alignment mode 2: Module 48 .....................................................................................................84
8.3.35 Switching output expansion: Module 49 .....................................................................................85
8.3.36 RS 232: Module 50 ......................................................................................................................87
9 Example configurations................................................................................................... 88
9.1 Indirect Activation via the PLC........................................................................................... 88
9.1.1 Task ............................................................................................................................................. 88
9.1.2 Procedure .................................................................................................................................... 88
9.2 Direct Activation via the Switching Input ........................................................................... 90
9.2.1 Task ............................................................................................................................................. 90
9.2.2 Procedure .................................................................................................................................... 90
9.3 Direct Activation via the Switching Input ........................................................................... 92
9.3.1 Task ............................................................................................................................................. 92
9.3.2 Procedure .................................................................................................................................... 92
10 Commissioning ................................................................................................................ 94
10.1 Measures to be performed prior to the initial commissioning ........................................... 94
10.2 Function Test ..................................................................................................................... 94
10.2.1 Service Operating Mode.............................................................................................................. 95
11 Maintenance ..................................................................................................................... 95
11.1 General Maintenance Information...................................................................................... 95
11.2 Repairs, servicing .............................................................................................................. 95
12 Appendix ........................................................................................................................... 96
12.1 EU Declaration of Conformity ............................................................................................ 96
TNT 35/7-24V
Figure 2.1: Attachment of the sticky labels with warning notices at the BCL 34.....................................................8
Figure 3.1: Beam exit and device arrangement of the BCL 34 ...............................................................................9
Figure 3.2: View of the inside of the MS 34 .........................................................................................................10
Figure 3.3: BCL 34 with MS 34 103/MS 34 105 - Connection PWR .....................................................................10
Figure 3.4: BCL 34 with MS 34 103/MS 34 105 - Connection HOST/BUS IN and BUS OUT...................................11
Figure 3.5: Example PROFIBUS manager.............................................................................................................11
Figure 3.6: BCL 34 with MS 34 103/MS 34 105 - Connection SW IN/OUT............................................................12
Figure 3.7: BCL 34 with MS 34 103/MS 34 105 - Connection SERVICE ...............................................................12
Figure 4.1: BCL 34 device construction ...............................................................................................................13
Figure 4.2: MS 34 103 ........................................................................................................................................14
Figure 4.3: MS 34 103 ........................................................................................................................................14
Figure 4.4: MSD 1 101........................................................................................................................................15
Table 5.1: General Specifications.......................................................................................................................18
Table 5.2: LED states MS 34 103 / MS 34 105...................................................................................................18
Figure 5.1: BCL 34 with MS 34 105 ....................................................................................................................19
Figure 5.2: Dimensioned drawing of the BCL 34..................................................................................................19
Figure 5.3: Dimensioned drawing MS 34 103 / MS 34 105 .................................................................................20
Table 5.3: Type overview BCL 34 without integrated heating .............................................................................21
Table 5.4: Type overview BCL 34 Devices with integrated heating .....................................................................21
Figure 5.4: BCL 34 … 100: Reading field, M optics (medium density, normal distance) ......................................22
Figure 5.5: BCL 34 … 100: Reading field, F optics (low density, normal distance)...............................................23
Figure 5.6: BCL 34 … 100: Reading field, L optics (low density, long distance)...................................................23
Figure 5.7: BCL 34 … 100: Reading field, J optics (for ink-jet applications) ........................................................24
Figure 5.8: BCL 34 … 100 H: Reading field, M optics (medium density, normal distance) ...................................25
Figure 5.9: BCL 34 … 100 H: Reading field, F optics (low density, normal distance) ...........................................25
Figure 5.10: BCL 34 … 100 H: Reading field, L optics (low density, long distance) ...............................................26
Figure 5.11: BCL 34…100 H: Reading field, J optics (for ink-jet applications) .......................................................27
Table 5.5: Examples of reflectors which may be used ........................................................................................28
Figure 5.12: Reflector arrangement for autoReflAct...............................................................................................28
Table 6.1: Accessories / Order Designation........................................................................................................30
Figure 6.1: Modular Service Display MSD 1 101..................................................................................................31
Figure 6.2: Mounting device BT 56......................................................................................................................32
Figure 7.1: Device name plate BCL 34 ................................................................................................................33
Figure 7.2: Mounting example BCL 34 ................................................................................................................34
Figure 7.3: Beam exit on BCL 34.........................................................................................................................35
Figure 7.4: Application example "conveyor chain" ..............................................................................................36
Figure 7.5: View of the inside of the MS 34 .........................................................................................................37
Figure 7.6: Pin assignment BCL 34 with MS 34 103 / MS 34 105........................................................................38
Table 7.1: Pin assignments - PWR .....................................................................................................................39
Table 7.2: Pin assignment SW IN/OUT................................................................................................................39
Table 7.3: Pin assignment HOST/BUS IN / BUS OUT ...........................................................................................40
Table 7.4: Accessories / Order Designation........................................................................................................41
Figure 7.7: Cable structure of PROFIBUS connection cable ..................................................................................41
Figure 7.8: Connection diagram switching inputs and outputs BCL 34.................................................................43
Table 8.1: "Common" Parameters .....................................................................................................................46
Table 8.2: Code type and code length, Tables 1-4..............................................................................................46
Table 8.3: Overview of the project modules .......................................................................................................47
Figure 8.1: Specifying switch-on and switch-off positions of the laser.................................................................55
Figure 8.2: Relative position of the barcode in the scanner beam. .......................................................................77
Table 9.1: Device parameters for example configuration 2.................................................................................90
Table 9.2: Device parameters for example configuration 3.................................................................................93
Table 9.3: Module parameters for example configuration 3................................................................................93
1 General Information
Attention!
Pay attention to passages marked with this symbol. Failure to heed this information can lead
to injuries to personnel or damage to the equipment.
Attention Laser!
This symbol warns of possible danger through hazardous laser radiation.
Notice!
This symbol indicates text passages containing important information.
TNT 35/7-24V
The barcode reader models BCL 34 … 100 without integrated heating also fulfil the UL
requirements (Underwriters Laboratory Inc.) for the USA and Canada.
Notice!
You can find the corresponding declaration of conformity in the appendix of the manual.
The manufacturer of the product, Leuze electronic GmbH & Co KG in D-73277 Owen/Teck,
possesses a certified quality assurance system in accordance with ISO 9001.
C UL US
LISTED
2 Safety Notices
Attention!
The protection of personnel and the device cannot be guaranteed if the device is operated
in a manner not corresponding to its intended use.
Bar code readers of the type BCL 34 are conceived as stationary, high-speed scanners
with integrated decoders for all current bar codes used for automatic object recognition.
The modular hoods with integrated connectors MS 34 103/MS 34 105 are intended for the
easy connection of barcode readers of type BCL 34 in a PROFIBUS system and for the
setting of the respective PROFIBUS address (see chapter 7.3 "Address setting").
The modular service display MSD 1 101, which is optionally available, displays operational
data of the BCL 34 and is used as a simple means of access to the service interface.
In particular, unauthorised uses include:
• rooms with explosive atmospheres
• operation for medical purposes
Areas of application
The barcode reader BCL 34 is intended especially for the following areas of application:
• labelling and packaging machines
• space-critical barcode reading tasks
• storage and conveying engineering, in particular for object identification on fast-
moving conveyor belts
• pharmaceutical industry
Attention!
Access to or changes on the device, except where expressly described in this operating
manual, is not authorised.
Safety regulations
Observe the locally applicable legal regulations and the rules of the employer's liability
insurance association.
Qualified personnel
Mounting, commissioning and maintenance of the device must only be carried out by
qualified personnel.
Electrical work must be carried out by a certified electrician.
WARNING: The barcode reader BCL 34 operates with a red light laser of class 2 acc.
to EN 60825-1. If you look into the beam path over a longer time period, the retina of
your eye may be damaged!
When mounting and aligning the BCL 34, take care to avoid reflections of the laser
beam off reflective surfaces!
TNT 35/7-24V
Heed the laser safety regulations according to DIN EN 60825-1 in their most current
version! The output power of the laser beam at the reading window is at most 1.8mW
acc. to EN 60825-1.
The BCL 34 uses a laser diode with low power in the visible red light range with an
emitted wavelength of 650 … 690nm.
CAUTION - the use of operating and adjusting devices other than those specified
here or carrying out of differing procedures may lead to dangerous exposure to radi-
ation!
The housing of the bar code reader BCL 34 is labelled on the side, below the scanner
window and on the rear with the following logotypes:
Figure 2.1: Attachment of the sticky labels with warning notices at the BCL 34
Mechanical design
Mounting the device BCL 34
There are two different types of mounting arrangements for the BCL 34:
1. Using 4 M4x6 screws on the rear of the device.
2. Using a mounting device (BT 56) on the dovetail fastening grooves.
Notice!
The installation dimensions listed in the following figure must absolutely be adhered to.
Optically, it must be ensured that the scanner has an unobstructed view of the barcode at
all times. The scanning beam's angle of incidence on the label of at least 10° must be ad-
hered to.
Scanning beam(s)
10°
103 ± 2
TNT 35/7-24V
Beam exit
all dimensions
Read distance in mm
Notice!
During installation, the working range of the reading field curve must be taken into account.
Setting the PROFIBUS address
The PROFIBUS address must be set in the MS 34 10x connector plug hood.
Top address
100 - 126
Bottom address
1 - 99
Connecting the voltage supply and PROFIBUS
The BCL 34, in combination with an MS 34 103 or MS 34 105, is connected via M12
connectors.
4 FE FE 4 FE 4
B (P) B (P) SWIN
Socket connector Plug connector Plug connector
(B coded) (B coded) (A coded)
4 FE FE 4 FE 4
B (P) B (P) SWIN
Socket connector Plug connector Plug connector
(B coded) (B coded) (A coded)
Figure 3.4: BCL 34 with MS 34 103/MS 34 105 - Connection HOST/BUS IN and BUS OUT
Configuration via the PROFIBUS hardware manager
PROFIBUS manager
Install the GSE file associated with the BCL 34 in the PROFIBUS manager of your control.
Activate the required modules, including at least one of the modules 20 … 27.
TNT 35/7-24V
Connecting the switching input/switching output at the BCL 34
The switching input/switching output is connected via SW IN/OUT.
Socket connector Socket connector
(A coded) (A coded)
SERVICE SW IN/OUT
VIN SWOUT
TXD
/INT 2 2
3
/SERV 1 4 RXD VOUT 1 3 GND
7 5
GND 6 SCL 4 FE
BUS OUT SDA HOST/BUS IN SWIN PWR
A (N) A (N) SWOUT
2 2 2
4 FE FE 4 FE 4
B (P) B (P) SWIN
Socket connector Plug connector Plug connector
(B coded) (B coded) (A coded)
Connecting the Modular Service Display MSD 1 101
The MSD 1 101 is connected via cable KB 034-2000 (M12 connection on SERVICE and
M12 connection on MSD 1 101, see "Connection cable KB 034 2000" on page 32. on ).
Socket connector Socket connector
(A coded) (A coded)
SERVICE SW IN/OUT
VIN SWOUT
TXD
/INT 2 2
3
/SERV 1 4 RXD VOUT 1 3 GND
7 5
GND 6 SCL 4 FE
BUS OUT SDA HOST/BUS IN SWIN PWR
A (N) A (N) SWOUT
2 2 2
4 FE FE 4 FE 4
B (P) B (P) SWIN
Socket connector Plug connector Plug connector
(B coded) (B coded) (A coded)
4 Description
BCL 34 device construction
Dovetail fastening
grooves
Reading
window
TNT 35/7-24V
The many possible configurations of the device via PROFIBUS modules permit its adapta-
tion to a multitude of reading tasks. Due to the small dimensions of the unit and the short
minimum reading distance, the BCL 34 may also be used in highly constrained spaces.
A special barcode reader with optics version J is available for all ink jet applications. This
reader has been optimised for low contrast barcodes that generally feature gaps. Further-
more, device variants with integrated heating are available.
Information on technical data and characteristics can be found in chapter 5.
AutoReflAct
AutoReflAct stands for Automatic Reflector Activation and permits an activation without
additional sensors. This is achieved by directing the scanner with reduced scanning beam
towards a reflector mounted behind the conveyor path. As long as the scanner is targeted
at the reflector, the read gate remains closed. If, however, the reflector is blocked by an
object such as a container with a barcode label, the scanner activates the read procedure,
and the label on the container is read. When the path from the scanner to the reflector has
cleared, the read procedure has completed and the scanning beam is reduced and again
directed onto the reflector. The reading gate is closed.
MS 34 103
The MS 34 103 offers the following interfaces:
• PROFIBUS In (HOST/BUS IN)
• PROFIBUS Out (BUS OUT)
• Voltage supply (PWR) and 1 switching input and output each (SW IN/OUT)
MS 34 105
In addition, the MS 34 105 offers the following interfaces:
• Service interface (SERVICE)
• 1 further switching input and output each (SW IN/OUT)
TNT 35/7-24V
service interface. The LCD display contains two lines with 16 characters each. There are
3 display modes:
1. Single line:
a result is output in one line. If the information is longer than 16 characters, the char-
acters > 16 are cut off. This means that two results may be output on the LCD dis-
play.
2. Double line:
a result is displayed over both lines. Thus, only one result is visible in the display.
3. Depending on the size:
if a result is > 16 characters, both lines are used
if a result is < 16 characters, one line is used and two results are displayed
The input can be specified as a PT commentary or in the BCL Config parameter list, e.g.,
PT0001610x.
Using the maintenance display, new settings for the BCL can be tried quickly and easily,
without having to project these settings via the PROFIBUS. If these settings are to be
accepted for standard operation, these must be configured via PLC.
Notice!
With very few exceptions, the BCL 34 is configured via the PROFIBUS connection
group.Parameters which were set via the service interface are, therefore, overwritten in
PROFIBUS operation by the parameters stored in the project. If parameters in the project
were not explicitly changed, the corresponding default parameters are transferred.
In the BCLConfig configuration software, the parameter input fields which can be overwrit-
ten by the PROFIBUS are displayed with a blue background. Parameter input fields which
are not overwritten by the PROFIBUS are displayed with a white background.
If these parameters were changed, they are stored in one of the available parameter mem-
ories in the MS 34. They are, thus, safely stored even if a BCL 34 is replaced.
5 Specifications
Optical data
Light source laser diode 650nm
Scanning rate BCL with M optics: 1000scans/s
BCL with F optics: 800scans/s
BCL with L optics: 800scans/s
BCL with J optics: 1000scans/s
Resolution BCL 3x xM 100: m = 0.2mm … 0.5mm
BCL 3x xF 100: m = 0.3mm … 0.8mm
BCL 3x xL 100: m = 0.35mm … 0.8mm
BCL 3x xJ 100: application-dependent
Reading distance see reading curve
Laser class 2 acc. to EN 60825-1,
II acc. to CDRH
Code types all common code types
Software features selectable output format, autoControl, autoReflAct, reference
code comparison, adjustment mode, diagnosis, reading gate
control, control of switching inputs and switching outputs, etc.
Electrical data
Interface type PROFIBUS DP
Service interface only in combination with MS 34 105: RS232 with fixed data
format,
8 data bits, no parity, 1 stop bit,
9.6kBd
TNT 35/7-24V
Ports 1 switching output, 1 switching input
Operating voltage without heating: 10 … 30VDC
with heating: 22 … 26VDC
Power consumption without heating: 5W
with heating: max. 30W (of which window heating
accounts for: 1.5W)
Indicators
LED see chapter 5.2 "LED indicators"
Mechanical data
Protection class IP 65
BCL 34 MS 34
Weight without heating: 405g 160g
with heating: 480g
Dimensions (W x H x D) without heating: 120 x 90 x 43mm 38 x 90 x 39mm
with heating: 120 x 90 x 52mm
Housing diecast aluminium diecast zinc
Environmental data
Ambient temp. (operation/ without heating: 0°C … +40°C/-20°C … +60°C
storage) with heating: -35°C … +30°C/-20°C … +60°C
Air humidity max. 90% rel. humidity, non-condensing
Vibration IEC 60068-2-6, test FC
Shock IEC 60068-2-27, test Ea
Electromagnetic EN 61326-1,
compatibility IEC 61000-4-2, -3, -4 and -6,
Additional Functions
autoReflAct automatic reading activation via reflector
Notice!
The warm-up time before devices with integrated heating are ready for operation is
approx. 30min. (depending on the environmental conditions).
State Meaning
off voltage off or device not yet recognised 1) by the PROFIBUS
green flashing initialisation of the device, establishment of the PROFIBUS communication
green, continuous
data operation
light
red, flashing error on the PROFIBUS, error can be resolved by a reset
red, continuous light error on the PROFIBUS, error cannot be resolved by a reset
orange, continuous
SERVICE operation active
light
TNT 35/7-24V
5.3.1 Dimensioned and Connection Drawings
BCL 34
all dimensions in mm
MS 34 103 / MS 34 105
1)
1)
A = Barcode reader 1) The total length of the barcode reader + hood with
integrated connectors + connection plug is approx.
all dimensions in mm
Notice!
Please note that the size of the barcode module influences the maximum reading distance
and the width of the reading field. Therefore, when selecting a mounting location and/or the
barcode label, take into account the different reading characteristics of the scanner with
various barcode modules.
For different reading tasks, the BCL 34 is available in various versions, both as a raster
scanner and as a single line scanner. Please refer to the following table or the respective
scanning curves for ratings.
TNT 35/7-24V
BCL 34 R1 J 100 Raster 500 41801
60
50
40
Reading field width [mm]
30
20
10
-10
-20
-30
-40
-50
-60
-70
0 20 40 60 80 100 120 140 160 180 200 220
Reading distance [mm] m=0,2
m=0,3
m=0,5
Figure 5.4: BCL 34 … 100: Reading field, M optics (medium density, normal distance)
100
90
80
70
60
50
Reading field width [mm]
40
30
20
10
0
-10
-20
-30
-40
-50
-60
-70
-80
-90
-100
0 40 80 120 160 200 240 280 320 360 400 440 480 520 560
Reading distance [mm] m=0,3
m=0,5
m=0,8
Figure 5.5: BCL 34 … 100: Reading field, F optics (low density, normal distance)
150
TNT 35/7-24V
100
Reading field width [mm]
50
-50
-100
-150
-200
0 50 100 150 200 250 300 350 400 450 500 550 600 650 700 750 800
Reading distance [mm] m=0,35
m=0,5
m=0,8
Figure 5.6: BCL 34 … 100: Reading field, L optics (low density, long distance)
Notice!
The specified reading curve applies to the standard case:
black on white, sharp contours, homogeneously printed code.
The actual reading field for an ink-jet application must be checked for the respective
application.
150
100
Reading field width [mm]
50
-50
-100
-150
0 50 100 150 200 250 300 350 400 450 500 550 600 650
Figure 5.7: BCL 34 … 100: Reading field, J optics (for ink-jet applications)
60
50
40
Reading field width [mm]
30
20
10
-10
-20
-30
-40
-50
-60
-70
0 20 40 60 80 100 120 140 160 180 200 220
Reading distance [mm] m=0,2
m=0,3
m=0,5
Figure 5.8: BCL 34 … 100 H: Reading field, M optics (medium density, normal distance)
TNT 35/7-24V
70
60
50
Reading field width [mm]
40
30
20
10
0
-10
-20
-30
-40
-50
-60
-70
-80
-90
-100
0 40 80 120 160 200 240 280 320 360 400 440 480 520 560
Reading distance [mm] m=0,3
m=0,5
m=0,8
Figure 5.9: BCL 34 … 100 H: Reading field, F optics (low density, normal distance)
150
100
Reading field width [mm]
50
-50
-100
-150
-200
0 50 100 150 200 250 300 350 400 450 500 550 600 650 700 750 800
Reading distance [mm] m=0,35
m=0,5
m=0,8
Figure 5.10: BCL 34 … 100 H: Reading field, L optics (low density, long distance)
The actual reading field for an ink-jet application must be checked for the respective
application.
150
100
Reading field width [mm]
50
-50
-100
-150
0 50 100 150 200 250 300 350 400 450 500 550 600 650
m=0,5
Reading distance [mm]
m=0,8
TNT 35/7-24V
Figure 5.11: BCL 34…100 H: Reading field, J optics (for ink-jet applications)
Notice!
autoReflAct does not function if the bar codes which are to be read are put on reflecting
surfaces, e.g. foils.
Our recommendation:
• Use BCL 34 R1x100
• AutoRefl mode with or without reading gate control (single)
The maximum distances between the reflector and the BCL depend on the reflector used.
A summary is provided in the following table. The fundamental arrangement of reflector and
BCL is shown in figure 5.12.
Reflector type/reflective tape Max. distance (mm) Max. angle (°) Order No.
reflective tape no. 2 *) 1200 15 500 11523
TK 100x100 2000 20 500 03192
TKS 50x50 1000 20 500 22814
Reflector
6.1 Accessories
Notice!
Products from Leuze electronic GmbH & Co KG can be ordered from any of the sales and
service offices listed on the back page of this operating manual.
TNT 35/7-24V
KB PB-2000-SA 501 04188 PROFIBUS cable, M12 plug - open cable end, 2m
KB PB-5000-SA 501 04187 PROFIBUS cable, M12 plug - open cable end, 5m
KB PB-10000-SA 501 04186 PROFIBUS cable, M12 plug - open cable end, 10m
KB PB-15000-SA 501 04185 PROFIBUS cable, M12 plug - open cable end, 15m
KB PB-20000-SA 501 04184 PROFIBUS cable, M12 plug - open cable end, 20m
KB PB-25000-SA 501 04183 PROFIBUS cable, M12 plug - open cable end, 25m
KB PB-30000-SA 501 04182 PROFIBUS cable, M12 plug - open cable end, 30m
Socket axial - open cable end
KB PB-2000-BA 501 04181 PROFIBUS cable, M12 socket - open cable end, 2m
KB PB-5000-BA 501 04180 PROFIBUS cable, M12 socket - open cable end, 5m
KB PB-10000-BA 501 04179 PROFIBUS cable, M12 socket - open cable end, 10m
KB PB-15000-BA 501 04178 PROFIBUS cable, M12 socket - open cable end, 15m
KB PB-20000-BA 501 04177 PROFIBUS cable, M12 socket - open cable end, 20m
KB PB-25000-BA 501 04176 PROFIBUS cable, M12 socket - open cable end, 25m
KB PB-30000-BA 501 04175 PROFIBUS cable, M12 socket - open cable end, 30m
Attention!
If parameters are changed that can also be set via the PROFIBUS, they are overwritten with
the parameter setting defined in the PROFIBUS after PROFIBUS start-up. If device or mod-
ule parameters are to be changed permanently, they must be set in the PROFIBUS project.
TNT 35/7-24V
A LED indicator
B Device connector M12, 8-pin
all dimensions in mm
BT 56 mounting device
all dimensions in mm
7 Installation
Attention!
When transporting, package the device so that it is protected against collision and humidity.
Optimal protection is achieved when using the original packaging. Heed the required envi-
ronmental conditions specified in the technical data.
Unpacking
ª Check the packaging for any damage. If damage is found, notify the post office or
shipping agent as well as the supplier.
ª Check the delivery contents using your order and the delivery papers:
• delivered quantity
• device type and model as indicated on the nameplate
• accessories
• operation manual with GSD file
The name plates provide information as to what BCL type your device is. For specific
information, please refer to chapter 5.4.1.
TNT 35/7-24V
Figure 7.1: Device name plate BCL 34
ª Save the original packaging for later storage or shipping.
If you have any questions concerning your shipment, please contact your supplier or your
local Leuze electronic sales office.
ª Observe the local regulations regarding disposal and packaging.
Cleaning
ª Clean the glass window of the BCL 34 with a soft cloth before mounting. Remove all
packaging remains, e.g. carton fibres or Styrofoam balls.
Attention!
Do not use aggressive cleaning agents such as thinner or acetone for cleaning the device.
7.2 Mounting
Accessories
The mounting system BT 56 is available for installation. It may be ordered separately from
Leuze electronic. For order numbers, see table 6.1 "Accessories / Order Designation" on
page 30.
MountingBCL 34
There are two basic types of mounting arrangements for the BCL 34:
• using the dovetail groove and the corresponding mounting accessories (see
figure 7.2)
• using the fastening threads on the backside of the devices (chapter 5.3)
BCL 34
Modular Maintenance
Display
MSD 1 101
Mounting device BT 56
Notice!
The best reading results are obtained when
Notice!
On the BCL 34, the beam is not emitted perpendicular to the cover of the housing, but with
an angle of 10° towards the top. This angle is intended in order to avoid a total reflection of
the laser in the case of glossy labels. For highly reflective surfaces, this angle may be wid-
ened by tilting the BCL.
TNT 35/7-24V
10˚
103 ± 2
Light exit
all dimensions in mm
Mounting location
ª When selecting a mounting location, pay attention to
• maintaining the required environmental conditions (humidity, temperature),
• possible soiling of the reading window due to liquids, abrasion by boxes, or
packaging material residues,
• lowest possible chance of damage to the scanner by mechanical collision or
jammed parts.
Application example
*Switch position
Top address
100 - 126
Bottom address
1 - 99
7.4 Connection
Attention!
TNT 35/7-24V
Do not open the device yourself under any circumstances! There is otherwise a risk of un-
controlled emission of laser radiation from the device. The housing of the BCL 34 contains
no parts that need to be adjusted or maintained by the user.
Before connecting the device, be sure that the supply voltage agrees with the value printed
on the nameplate.
Connection of the device and maintenance work while under voltage must only be carried
out by a qualified electrician.
The power supply unit for the generation of the supply voltage for the BCL 34 and the re-
spective connector units must have a secure electrical insulation through double insulation
and safety transformers according to DIN VDE 0551 (IEC 742).
Be sure that the functional earth is connected correctly. Unimpaired operation is only guar-
anteed when the functional earth is connected properly.
If faults cannot be corrected, the device should be removed from operation and protected
against possible use.
7.4.1 ConnectionBCL 34
SERVICE SW IN/OUT
VIN SWOUT
TXD
/INT 2 2
3
/SERV 1 4 RXD VOUT 1 3 GND
7 5
GND 6 SCL 4 PE
BUS OUT SDA HOST/BUS IN SWIN PWR
N N SWOUT
2 2 2
4 PE PE 4 PE 4
P P SWIN
Attention!
For devices with integrated heating, the supply voltage must be wired with a minimum
0.5mm2 (recommended 0.75mm2) core cross section. It is not possible to loop the supply
voltage through to other loads!
TNT 35/7-24V
Pin 1 V OUT 24V voltage supply for the sensors
Pin 2 SW OUT Switching output
Pin 3 GND OUT GND for the sensors
Pin 4 SW IN Switching input
Pin 5 FE Functional earth
Table 7.2: Pin assignment SW IN/OUT
You can configure the switching input and output according to your requirements. Please
refer to figure 7.8. If you use a sensor with a standard M12 connector, then please note the
following:
Attention!
Only use sensors without switching output on pin 2 or sensor wiring configured without
pin 2, as the switching output is not protected against feedback. For example, having the
inverted sensor output incident on pin 2 leads to erroneous behaviour of the switching out-
put.
Notice!
If the device is the last participant on the PROFIBUS, use the appropriate terminating resis-
tor TS 02-4-SA. For further information, see also chapter 6.1.
N.C. 3 1 N.C.
N.C. 4
B (P)
TNT 35/7-24V
M12 plug
(B-coded)
Notice!
It is recommended to connect the drain wire also to Pin 5 of the PROFIBUS connector. This
ensures proper potential equalisation between the two connected devices.
Connector SW IN/OUT
4 SWIN
A
Sensor 1 V OUT
2 SW OUT
max.
100 mA
3 GND
5 PE
1 V IN
3 GND IN
Connector PWR
Switching input
In the standard setting, you can trigger a reading action via the switching input connection
SWIN by connecting SWIN (pin 4) and VOUT (pin 1). Likewise, the BCL 34 can be activated
via a Leuze sensor that is connected to the MS 34 105 through a standard sensor cable.
Switching output
TNT 35/7-24V
The switching output connection between SWOUT (pin 2) and GND (pin 3) is normally
open. In the standard setting, SWOUT is closed in case of a reading error.
Notice!
You can configure the switching inputs and outputs according to your requirements by us-
ing the modules 13 (Switching input) and 14 (Switching output).
Notice!
Electrical scrap is a special waste product! Observe the locally applicable regulations re-
garding disposal of the product.
8 PROFIBUS
S7
The specific function blocks SFC 14 for input data and SFC 15 for output data must be inte-
grated in the program. These are standard function blocks and are used to facilitate
consistent data transmission.
S5 with IM 308C
• Up to Release 5 together with Comprofibus software up to Release 2 and
• Release 6 and above together with Comprofibus software Release 3 and above
Here, the function block FB 192 must be integrated, which is used to transmit the
consistent data.
S5 with IM 308B
With the IM 308B consistent data transmission must be programmed via load transfer
commands.
Simatic S7 Controller
In Simatic Manager, the permanently defined parameters are set via object properties of
the device.
The module parameters are set via the module list of the selected device. By selecting the
project properties of a module, the respective parameters may be set if required.
TNT 35/7-24V
The permanently defined parameters in the BCL 34 which are available independently of
the modules, are listed below.
Notice!
In the following detailed descriptions of the modules you will find cross references (CR) to
device parameters (#) and to parameters and input/output data of other modules in
the last column of the tables. These are directly related to the parameter described. These
cross references must be observed during configuration.
The individual modules are numerically labelled from 1 … 50.
The parameters and input/output data within a module are alphanumerically labelled
from a … z .
Parameters
Input Data
none
Output Data
none
A maximum of 4 code types, all of them with separately adjustable numbers of digits (code
lengths), are used. These are defined in 4 tables with an identical structure. These tables
are called [T1]-[T4] in the configuration program. The standard values of the parameters
described above, which depend on the code type, can be found in the following table.
Standard values
Standard values
2/5 Interleaved Code 39 EAN8, EAN13 Code128
Parameter (T1) (T2) (T3) (T4)
Number-of-digits mode Enumeration Range Enumeration Range
Number of digits 1 10 4 8 4
Digits 2 0 48 13 63
Number of digits 3 0 0 0 0
Table 8.2: Code type and code length, Tables 1-4
Notice!
Inputs and outputs are described from the perspective of the PROFIBUS master.
TNT 35/7-24V
5 Multilabel Output of several barcodes per reading gate X X X
6 Reading Gate Control Extended control of the reading gate X
7 Check Digit Processing of the barcode checksum X
8 EAN designator Search for an EAN128 designator X
Alignment and limitation of the laser beam onto the
9 Laser control X
barcode.
10 Pharmacode Properties Definitions for Pharmacode readings X
The module permits changing the muted zones, the
11 Code Type Properties X
line-gap-ratios as well as the Equal Scans
12 Data Formatting Specification for formatting the data output X
13 Switching input Specification of the switching input X X
14 Switching output Specification of the switching output X X
AutoReflAct (automatic
15 reflector activation) Automatic reading activation X X X
Module 15
16 AutoControl Automatic monitoring of the reading properties X X
Reference Code Com- Activation of reference code comparison and specifica-
17 X X X
parison tion of the mode of operation
Table 8.3: Overview of the project modules
Example:
The parameter e Check digit output Code 39 in Module 7 becomes active only if Code 39
has been enabled under a Code type or in Module 1 … 4 under a Code type as the code
type to be decoded.
TNT 35/7-24V
Parameters
Input Data
none
Output Data
none
8.3.2 Multilabel
Module 5
The module permits the definition of barcode types with a different number of digits and/or
code type in the reading gate and provides the necessary input data.
If several barcodes are read in a reading gate, these barcodes are transmitted in sequence
in order to save memory in the controller. This requires a handshake, which is achieved by
using the input and output data.
Example:
3 barcodes are to be transmitted. Accordingly, the parameter "number of barcodes" is set
to the value 3. After a reading gate activation (module 18) and the reading of 3 barcodes,
the first barcode is transmitted automatically. This barcode is available from the decoding
results module (module 21 - 27).
In the input byte "number of decoding results" of module 5, the BCL indicates that there
are still 2 decoded barcodes in the BCL's buffer memory. If the first barcode in the
controller has been processed or stored, the BCL receives an acknowledgement via the
output bit "acknowledge". This bit is a toggle bit, i.e., each edge transition ( 0->1 and 1->0)
is an acknowledgement.
The BCL now immediately tries to transmit the next barcode from the buffer memory. On
the one hand, the controller recognises the successful transmission by the change of the
input byte from 2 to 1, on the other hand, it is essential that the "new result" bit and the
associated toggle bit in the decoding results (module 21 -27) are evaluated. Only if a new
barcode is actually present in the decoding results and has been processed or stored, the
next acknowledgement should be carried out via the acknowledge bit. If this is not taken
into account, decoding results may be lost.
It is also important that all transmitted barcodes are really acknowledged. It is better to
acknowledge the last barcode one time too many than not at all. Otherwise, the buffer of
the device (module 20 -27) may overflow quickly.
Parameters
TNT 35/7-24V
Parameter length: 1 byte
Input Data
Output Data
Parameters
Input Data
none
Output Data
none
Notice!
For the code types Code128, UPC, EAN, Code93, the verification of the check digit is
always carried out. Thus, the parameter "check digit evaluation" is not specifically listed for
these code types.
Parameters
TNT 35/7-24V
UPCA, UPCE result for the code type UPC GPa,
g The parameter controls the output 1 … 4a
0: No
Check digit output of the check digit in the barcode 1 –
1: Yes
EAN 8/13 result for the code type EAN
h The parameter controls the output
0: No
Check digit output of the check digit in the barcode 0 –
1: Yes
CODE128, EAN128 result for the code type CODE128
i The parameter controls the output
of the check digit in the barcode 0: No
Check digit output 0 –
result for the code type 1: Yes
Pharmacode
Pharmacode
j The parameter controls the output
0: No
Check digit output of the check digit in the barcode 0 –
1: Yes
Codabar result for the code type Codabar
k The parameter controls the output
0: No
Check digit output of the check digit in the barcode 0 – GPa,
1: Yes
Code93 result for the code type Code 93 1 … 4a
l 0: modulo 10, weighting 3
The parameter specifies the check
1: modulo 10, weighting 2 - 9
Check digit mode digit procedure for the code type 0 –
2: modulo 10, weighting 2
2/5 Interleaved 2/5 Interleaved.
3: modulo 10, weighting 4/9
Parameter length: 5 bytes
Input Data
none
Output Data
none
Parameters
Input Data
none
Output Data
none
Scan beam
Laser
emission BCL 34
window
Parameters
TNT 35/7-24V
The parameter specifies the switch-off
Laser stop 0 … 100 100 %
position of the laser.
position
Parameter length: 2 bytes
Input Data
none
Output Data
none
Parameters
Input Data
none
Output Data
none
Parameters
Input Data
none
Output Data
none
TNT 35/7-24V
Parameters
Input Data
none
Output Data
none
Parameters
Input Data
TNT 35/7-24V
addr. type module
h State of the signal of the switching
0.0 Bit 0.1 0 –
State input
Input data length: 1 byte
Output Data
none
Parameters
1) During a start-up delay ≠ 0, only these functions may be configured. Otherwise, no start-up delay
will take place. In addition, both values must always be specified, i.e., for the switch-on function and
the switch-off function, e.g., switch-on function "positive reference code comparison 1" and switch-
off function "negative reference code comparison 1".
Input Data
none
Output Data
TNT 35/7-24V
Notice!
The AutoReflAct function should not be used in connection with Module 46 (Alignment
Mode 1) as this may lead to erroneous functionality.
Parameters
Input Data
Output Data
8.3.13 AutoControl
Module 16
The module defines the mode of operation of the function AutoControl. The function moni-
tors the quality of the decoded barcodes and compares these with a limit value. If the limit
is reached, a status signal is set.
Parameters
TNT 35/7-24V
on the floating average.
Parameter length: 3 bytes
Input Data
Output Data
none
Notice!
A detailed description of the parameters defined in this module and its settings would be
too large for the following table. Thus, the table contains only the most important informa-
tion. Explanations regarding the individual parameters and value ranges may be found be-
low. Please see the relevant notes.
Parameters
h 1 … 24
The parameter defines the sequence in which the
Sequence
decoded barcodes are to be compared with the 7 unsign8 see "Explanations regarding 1 –
(comparison
RBC for comparison function 2. the parameter "Sequence""
function 2)
on page 67.
i 01h … 80h
Barcode com- The parameter defines under which conditions a
see "Explanations regarding
parison type positive result for an ASCII character comparison 8 unsign8 02h –
the parameter "Barcode
(comparison between decoded bare code and RBC occurs.
comparison type"" on
function 2)
page 68.
j The parameter defines the reserved storage
place per RBC. The RBCs themselves are depos-
ited in the following parameter (addr. 10). 0 … 64
If 0 is entered here, the individual RBCs are =0 :Dynamic
Maximum
stored one after another according to their stor- 9 unsign8 arrangement 20 –
comparison
age requirement. >0: Storage size for one
pattern length
If, for example, 16 is entered, a fixed amount of comparison pattern
16 bytes per RBC is set and only a total of 4 RBCs
can be defined.
k In this parameter, the individual RBCs are depos-
ited one after another as hex values. For exam-
ple, if the comparison pattern length is defined as
8, RBC 1 is in bytes 0-7, RBC 2 in bytes 8-15 and
so on. In case RBC 1 uses only bytes 0 through 5, 64 *
comparison 10 0 … 7Fh 00h –
bytes 6 and 7 have to be set to 0. unsign8
pattern
For each individual RBC, the code length is spec-
ified in the first byte and the code type in the sec-
ond byte (see Modules 1-4) and the reference
code itself in the following bytes.
Parameter length: 74 bytes
Input Data
TNT 35/7-24V
l The signal indicates whether the reference code comparison is acti- 0 : Off
Processing 0.0 Bit 0 –
vated or not. 1: On
state
m The signal indicates whether the decoded barcode corresponds to the
0: Not equal
Comparison RBC with regard to the comparison criteria as defined in the compari- 0.1 Bit 0 –
1: Equal
state 1 son function 1. If it matches, the value 1 is output.
n The signal indicates whether the decoded barcode corresponds to the
0: Not equal
Comparison RBC with regard to the comparison criteria as defined in the compari- 0.2 Bit 0 –
1: Equal
state 2 son function 2. If it matches, the value 1 is output.
Input data length: 1 byte
Output Data
Output Data Description Rel. addr. Data type Value Range Default Unit CR to module
d – – – – – –
Reserved
Output data length: 1 byte
Notice!
1 byte output data was reserved for future applications. Currently, no function is assigned
to this byte.
Using the two bits c1 and c2, it can be selected how the three components barcode length,
barcode type and barcode ASCII character are to be connected in order to achieve a posi-
tive reference barcode comparison.
This results in the following basic structure of comparison options:
c1, c2 Logic
00 LENGTH and TYPE and ASCII
01 LENGTH and (TYPE or ASCII)
10 (LENGTH or TYPE) and ASCII
11 LENGTH or TYPE or ASCII
With the bits mls, mts and mas individual components may now be can be negated /
inverted:
Notice!
If the bits mls, mts and mas = 0, then the RBC comparison is deactivated!
Finally, the bits mlc and mtc determine whether the comparison result is positive:
Value Meaning
Comparison in the decoding sequence –
1
The comparison result is positive if at least one barcode corresponds to one RBC.
Comparison in the decoding sequence –
2
The comparison result is positive if each decoded barcode corresponds to at least one RBC.
Comparison in the sequence of the activated RBCs –
3
The comparison result is positive if at least one barcode corresponds to one RBC.
Comparison in the sequence of the activated RBCs –
4 The comparison result is positive if each decoded barcode corresponds to the RBC it was
compared with.
11 First decoded barcode with RBC1
12 First decoded barcode with RBC2
13 First decoded barcode with RBC3
14 First decoded barcode with RBC4
15 First decoded barcode with RBC5
16 First decoded barcode with RBC6
TNT 35/7-24V
17 First decoded barcode with RBC7
18 First decoded barcode with RBC8
19 First decoded barcode with RBC9
Comparison in the decoding sequence –
The comparison result is positive if each decoded barcode corresponds to at least one RBC.
22
(Number of the received barcodes must correspond to the number deposited in the parameter
"number of barcodes per reading gate" (Module 5)).
Comparison in the sequence of the activated RBCs –
The comparison result is positive if at least one barcode corresponds to one RBC. (Number of the
23
received barcodes must correspond to the number deposited in the parameter "number of barcodes
per reading gate" (Module 5)).
Comparison in the sequence of the activated RBCs –
The comparison result is positive if each decoded barcode corresponds to the RBC it was com-
24
pared with. (Number of the received barcodes must correspond to the number deposited in the
parameter "number of barcodes per reading gate" (Module 5)).
8.3.15 Activations
Module 18
The module defines the control signals for the standard reading operation of the barcode
scanner. The data is not protected through a handshake.
Attention!
The joint use of modules 18 and 19 may cause malfunctions. Use only one of the two
modules at a time.
Parameters
none
Input Data
none
Output Data
TNT 35/7-24V
f Signal, resets the following bit states and
decoder results:
• Module 16: Bit 0.1, input data
• Module 20: Bit 0.0, input data 12b
Bit 0.1, input data 16e
0.5 Bit 0 -> 1: Data reset 0 –
Data reset Bit 0.2, input data 20abc
• Module 21 … 27: Data, when the parame- 21 … 27i
ter "Decoding result at reading gate start"
(module 12) has been set to value 1 (input
data are reset to the init. value).
g Signal, triggers a system reset if the level
0.6 Bit 0 -> 1: Reset 0 –
System reset changes from 0 to 1.
h 0: Standby off
Signal, activates the standby function 0.7 Bit 0 – 20h
Standby 1: Standby on
Output data length: 1 byte
Attention!
The joint use of modules 18 and 19 may cause malfunctions! Use only one of the two mod-
ules at a time.
Parameters
none
Input Data
none
Output Data
Parameters
none
Input Data
TNT 35/7-24V
Output Data
none
Input Data
Module Input Data Description Rel. Data type Value Range Default Unit CR to
No. addr. module
a Signal, indicates the state of the 0 : Off
21-27 Reading gate 0.0 Bit 0 –
reading gate. 1: On
state
b Signal, indicates whether a new 0: No
21-27 0.1 Bit 0 –
New result decoding result is present. 1: Yes
c Signal, indicates whether the bar- 0: Successful reading
21-27 0.2 Bit 0 –
Result state code has been read successfully. 1: NOREAD
d Signal, indicates whether further 0: No
21-27 Further results in 0.3 Bit 0 –
results are in the buffer. 1: Yes
the buffer
e Signal, indicates that result buffers
0: No
21-27 are occupied and the decoder 0.4 Bit 0 –
Buffer overflow 1: Yes
rejects data.
f Toggle bit, indicates whether a new 0 -> 1: new result
21-27 0.5 Bit 0 –
New result decoding result is present. 1 -> 0: new result
21-27
g Toggle bit, indicates that the bar-
0.6 Bit
0 -> 1: NOREAD
0 – 12a
Result state code has not been read. 1 -> 0: NOREAD
21-27
h Signal, indicates the current state of
0.7 Bit
0 : Off
0 – –
Result state the standby function 1: On
i Data length of the actual barcode
21-27 Actual data 1 unsign8 0 … 48 0 –
information.
length
k Barcode information with a length of 4x
21 2… 0 … FFh 0 –
Data consistently 4 bytes. unsign8
k Barcode information with a length of 8x
22 2… 0 … FFh 0 –
Data consistently 8 bytes. unsign8
k Barcode information with a length of 12 x
23 2… 0 … FFh 0 –
Data consistently 12 bytes. unsign8
k Barcode information with a length of 16 x
24 2… 0 … FFh 0 –
Data consistently 16 bytes. unsign8
k Barcode information with a length of 20 x
25 2… 0 … FFh 0
Data consistently 20 bytes. unsign8
k Barcode information with a length of 24 x
26 2… 0 … FFh 0
Data consistently 24 bytes. unsign8
k Barcode information with a length of 28 x
27 2… 0 … FFh 0
Data consistently 28 bytes. unsign8
Input data length: 2 bytes consistently + 4 … 28 bytes of barcode information depending on the module
Output Data
none
Parameters
Input Data
none
TNT 35/7-24V
Output Data
none
Notice!
The modules 21 to 27 are designed to transmit data of a length of up to 28 bytes only. If you
would like to transmit longer data, this can be achieved by using Module 34.
Parameters
Input Data
Input Data Description Rel. addr. Data Value Range Default Unit CR to
type module
b Current fragment number 0.0 … 0.3 Bitarea 0 … 15 0 – 34e
Fragment number
c Number of fragments which still have to be
Remaining 0.4 … 0.7 Bitarea 0 … 15 0 – 34e
read for a complete result.
fragments
d Number of digits of the fragment in the
decoding result. Always corresponds to the
1 unsign8 0 … 48 0 – 34e
Fragment size configured fragment length, except for the
last fragment
Input data length: 2 bytes consistently
Output Data
Parameters
none
Input Data
Input Data Description Rel. addr. Data type Value Range Default Unit CR to
module
a
Reading Gate Reading gate activations since system start. 0…1 unsign16 0 … 65535 0 –
Activations
Input data length: 2 bytes consistently
Output Data
none
TNT 35/7-24V
Parameters
none
Input Data
Input Data Description Rel. Data type Value Range Default Unit CR to
addr. module
a The BCL transmits the current reading gate number.
The reading gate number is initialised with the system
Reading gate start and is then incremented continuously. At 65535, 0 … 1 unsign16 0 … 65535 0 –
number an overflow occurs and the counter starts afresh
from 0.
Input data length: 2 bytes consistently
Output Data
none
Parameters
none
Input Data
Input Data Description Rel. Data type Value Range Default Unit CR to
addr. module
a 0 … 65535
Number of scans for the reading
Scans in the 0 … 1 unsign16 If the range is exceeded, the value 0 –
gate.
reading gate remains at 65535
Input data length: 2 bytes consistently
Output Data
none
Barcode start
Scan beam
Laser
emission BCL 34
window
Parameters
none
Input Data
TNT 35/7-24V
Input Data Description Rel. Data type Value Range Default Unit CR to
addr. module
a Relative position of the barcode in the scanner beam.
A value of 6040 means, that the start of the barcode is
located at 21% of the beam length. A value of 18040 0 … 1 unsign16 1000 … 25000 0 –
Code Position
identifies the start of the barcode to be located
at 71%.
Input data length: 2 bytes consistently
Output Data
none
Parameters
none
Input Data
Input Data Description Rel. Data type Value Range Default Unit CR to
addr. module
a Calculated reading security for the transmitted bar-
code.
The specified value determines how often each
Reading
individual digit of the barcode must be extracted 0…1 unsign16 0 … 65535 0 –
Security (Equal
from a scan, before it is declared as valid. Only
Scans)
once this condition is fulfilled for all digits, the bar-
code decoding is acknowledged as being valid.
Input data length: 2 bytes consistently
Output Data
none
Parameters
none
Input Data
Input Data Description Rel. Data type Value Range Default Unit CR to
addr. module
a Number of scans between the first and last
0…1 unsign16 0 … 65535 0 –
Scans per barcode detecting of the barcode
Input data length: 2 bytes consistently
Output Data
none
Parameters
none
Input Data
Input Data Description Rel. Data type Value Range Default Unit CR to
addr. module
a
Scans with
See above 0 … 1 unsign16 0 … 65535 0 –
information per
barcode
Input data length: 2 bytes consistently
Output Data
none
TNT 35/7-24V
Since module 42 can be used on its own, it is not necessary to include these modules as
well. The value calculated here specifies the percentage ratio between the number of scans
with information and the scans per barcode.
Scans with info
The equation for this is: Decoding quality = x 100
Scans per barcode
Parameters
none
Input Data
Output Data
none
Parameters
none
Input Data
Output Data
none
Parameters
none
Input Data
Output Data
none
Parameters
none
Input Data
Output Data
none
TNT 35/7-24V
Notice!
The alignment mode should not be used in connection with module 15 (AutoReflAct) as
this may lead to erroneous functionality.
Parameters
none
Input Data
Input Data Description Rel. Data type Value Range Default Unit CR to
addr. module
a Number of scans between the first and last
0 unsign16 0 … 65535 0 –
Scans per barcode detecting of the barcode
b Number of scans between the first and last
Scans with
detecting of the barcode, which have contributed 2 unsign16 0 … 65535 0 – 46c
information per
information for the formation of the result
barcode
Input data length: 4 bytes consistently
Output Data
8.3.33 Service
Module 47
The service function permits the parameter set of the BCL 34 to be reset to factory
settings, corresponding to the command "PC20" via the service interface.
However, parameters are only reset permanently if they have been altered via BCL-Config,
or if the device is connected to a hood with integrated connectors using the wrong param-
eter set.
After the reset function has been activated, the device carries out a reset and is freshly
configured on the PROFIBUS. Potentially incorrect parameter settings via PROFIBUS
continue to be active.
Parameters
none
Input Data
Output Data
TNT 35/7-24V
Output Data Description Rel. Data Value Range Default Unit CR to
addr. type module
b Reset of parameters to 0 -> 1: reset the parameters
0.0 Bit 0 – 47a
PC20_Over_Profibus factory settings 1 -> 0: standard operation
Output data length: 1 byte
Notice!
The alignment mode 2 should not be used in connection with module 15 (AutoReflAct) as
this may lead to erroneous functionality.
Parameters
none
Input Data
Output Data
Parameters
TNT 35/7-24V
switch-off function resets the counter.
b Specifies whether the switching output
0: SWOUT switches once
Comparative switches only on parity (once) or also in the
1: SWOUT switches sev- 0 –
mode (event event of greater or equal to (multiple times)
eral times
counter) after the comparative value is reached.
c Specifies whether the counter (Event Counter)
0: reset bit and [AF] in
is reset only by the reset bit and the selected
module 14
Reset mode switch-off function, or if the counter should 0 –
1: Comparative value
(event counter) be automatically reset after the comparative
reached
value is reached.
Parameter length: 8 bytes
Input Data
Output Data
none
8.3.36 RS 232
Module 50
If this module is not configured, the decoding result is also output in the ASCII framing
protocol on the serial interface (RS 232). The baud rate, data format, and prefix and postfix
characters can be configured. In the standard configuration, the Leuze framing protocol is
used. Its structure is <STX><Data><CR><LF> with data format 8 data bits, no parity and
1 stop bit (8N1) and a transmission speed of 9600 Baud.
Parameters
TNT 35/7-24V
e Third framing character that precedes the data 0
Prefix part. ASCII character as decimal number, see 0 … 127 (deacti- –
character 3 ASCII table. vated)
f First framing character that is appended to the
Postfix data part. ASCII character as decimal number, 0 … 127 13 (CR) –
character 1 see ASCII table.
g Second framing character that is appended to
Postfix the data part. ASCII character as decimal 0 … 127 10 (LF) –
character 2 number, see ASCII table.
h Third framing character that is appended to 0
Postfix the data part. ASCII character as decimal 0 … 127 (deacti- –
character 3 number, see ASCII table. vated)
Parameter length: 8 bytes
Input Data
none
Output Data
none
9 Example configurations
This chapter uses configuration examples to show how the BCL 34 can be adapted easily
to a wide range of applications by using the appropriate modules.
9.1.1 Task
• Reading of a 15-digit code 128
• Indirect activation of the BCL 34 via the PLC
Code sample
Code 128, 15 digits
Profibus Inside
9.1.2 Procedure
Hardware, Connections
The following connections must have been established:
• Voltage supply (PWR)
• PROFIBUS In
• PROFIBUS termination
Modules Required
Include the following modules into your project:
• Activations (Module 18)
• Decoding Result 16 bytes (Module 24)
Parameter Settings
No parameters need to be set especially. The standard parameter set provides all required
functions.
Flow Diagrams
Successful reading:
Unsuccessful reading:
TNT 35/7-24V
The activation bit 0.0 is reset to 1.
M 18 Bit 0.0 0 Ö 1
9.2.1 Task
• Reading of a 12-digit barcode in the 2/5 Interleaved format
• Direct activation of the BCL 34 via a photoelectric sensor
Code sample
Code 2/5 Interleaved 12 digits with check digit
‹8p"L6$›
561234765436
9.2.2 Procedure
Hardware, Connections
The following connections must have been established:
• Voltage supply (PWR)
• PROFIBUS In
• PROFIBUS termination
• Light barrier to SW IN
Modules Required
Include the following modules into your project:
• Decoding Result 12 byte (Module 23)
Parameter Settings
Byte Description Init value Change value to:
2 [T1] digits 1 10 12
5 [T2] code type Code 39 0 (no code)
9 [T3] code type EAN8, EAN13 0 (no code)
13 [T4] code type Code 128 0 (no code)
Table 9.1: Device parameters for example configuration 2
Flow Diagrams
Successful reading:
Internal processing
Internal data processing
Unsuccessful reading:
TNT 35/7-24V
activates the scanner.
The beam of the light barrier is cleared before a
reading result is present. The light barrier sets
Light barrier from 1 Ö 0
the switching input of the BCL to 0 and deacti-
vates the scanner.
The module decoding state signals:
M 23 Bit 0.1 from 0 Ö 1
Reading concluded bit 0.1 = 1 and barcode not
M 23 Bit 0.2 from 0 Ö 1
decoded bit 0.2 = 1.
M 23 Byte 1 = 1
The data length is entered into byte 1.
M 23 byte 2 = result
The result Hex 3F ("?" = no read) is transmitted.
9.3.1 Task
• Reading of 10-digit barcodes in the 2/5 Interleaved format only
• Indirect activation of the BCL 34 via PLC and light barrier
• Setting and transmission of a check digit
• The information "Number of scans with information" is required in the PLC
• Data transmission after the reading gate has ended
Code sample
Code 2/5 Interleaved 10 digits with check digit
‹z"{,;›
2234234459
9.3.2 Procedure
Hardware, Connections
The following connections must have been established:
• Voltage supply (PWR)
• PROFIBUS In
• PROFIBUS termination
• Light barrier to SW IN
Modules Required
Include the following modules into your project:
• Activations (Module 18)
• Decoding Result 12 byte (Module 23)
• Scans With Information (Module 41)
• Check Digit (Module 7)
• Switching input (Module 13)
• Reading Gate Control (Module 6)
Parameter Settings
Byte Description Init value Change value to:
5 [T2] code type Code 39 0 (no code)
9 [T3] code type EAN8, EAN13 0 (no code)
13 [T4] code type Code 128 0 (no code)
Table 9.2: Device parameters for example configuration 3
Flow Diagrams
Successful/unsuccessful reading:
TNT 35/7-24V
At the switching input of the BCL 34, the light
Light barrier from 1 Ö 0
barrier signals that the light beam is no longer
interrupted.
The BCL 34 signals to the controller that the
M 13 Bit 0.0 from 1 Ö 0
light barrier has been deactivated.
The controller closes the reading gate of the
M 18 Bit 0.0 from 1 Ö 0
BCL 34.
After the reading gate has been closed, the
module decoding state signals the result to the
PLC:
M 23 Bit 0.1 from 0 Ö 1 Reading concluded bit 0.1 = 1 and barcode
M 23 Bit 0.2 = 0 or decoded bit 0.2 = 0 (barcode decoded) or 1
Bit 0.2 from 0 Ö 1 (barcode not decoded).
M 23 byte 1 = data length The data length is entered into byte 1 (10 deci-
M 23 byte 2 to 11 = result mal if reading has been successful, 1 if barcode
could not be recognised)
The decoding result is transmitted in the follow-
ing 10 bytes.
10 Commissioning
Interface
A red/green LED for checking the interface function is located on the underside of the
modular hood. The significance of the individual LED states may be found in table 5.2 on
page 18.
Problems
Should a problem persist after checking all electrical connections and settings on the
devices and host, please contact a Leuze service office near you (see the back page of this
operating manual).
Connection
To test the functioning of the BCL 34 with the user software "BCL-Config (V4.0)" (V3.22),
connect the device to a PC or terminal via the serial interface. For this, you need a crossed
RS 232 connection cable (null modem cable) that provides the connections RxD, TxD and
GND. A hardware handshake via RTS, CTS is not supported at the service interface.
11 Maintenance
TNT 35/7-24V
Usually, the barcode reader BCL 34 does not require any maintenance by the operator.
Cleaning
Should it become soiled, clean the glass window of the BCL 34 with a soft cloth.
Notice!
Do not use aggressive cleaning agents such as thinner or acetone for cleaning the device.
12 Appendix
TNT 35/7-24V
Description . . . . . . . . . ............. 13
Cable structure . . . . . . . . . . . . . . . . . . . .41 Device construction . . . ............. 13
Check digit . . . . . . . . . . . . . . . . . . . . . . .53 Device parameters . . . . ............. 45
Cleaning . . . . . . . . . . . . . . . . . . . . . 33, 95 Dimensioned drawings . ............. 19
Code comparison . . . . . . . . . . . . . . . . . . .64 Dimensions . . . . . . . . . ............. 17
Code Direction . . . . . . . . . . . . . . . . . . . . .80 Disassembling . . . . . . . ............. 43
Code Position . . . . . . . . . . . . . . . . . . . . .77 Disposing . . . . . . . . . . ............. 43
Code sample . . . . . . . . . . . . . . . 88, 90, 92 Dont_Care character . . . ............. 64
Code table extension . . . . . . . . . . . . . . . .50 dovetail . . . . . . . . . . . . . . . . . . . . . . . 9, 34
Code type . . . . . . . . . . . . . . . . . . . . 46, 81 Drain wire . . . . . . . . . . ............. 42
Features . . . . . . . . . . . . . . . . . . . . . . .57
Code types . . . . . . . . . . . . . . . . . . . . . . .17 E
Commissioning . . . . . . . . . . . . . . . . . . . .94
EAN designator . . . . . . . . . . ......... 54
Commissioning steps at a glance . . . . . . . . .9
Electrical connection . . . . . . . ......... 38
Comparison function . . . . . . . . . . . . . . . .64
Electrical data . . . . . . . . . . . ......... 17
Comparison pattern . . . . . . . . . . . . . 64, 65
Electromagnetic compatibility ......... 18
Components . . . . . . . . . . . . . . . . . . . . . .19
Environmental data . . . . . . . . ......... 18
Configuration software . . . . . . . . . . . . . . .16
Equal Scans . . . . . . . . . . . . . ......... 78
Configuration tool . . . . . . . . . . . . . . . . . . .45
S5 with IM 308C . . . . . . . . . . . . . . . . . . . 44
P S7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Packing . . . . . . . . . . . . . . . . . . . . . . 33, 43 Safety notices . . . .................. 6
Parameter . . . . . . . . . . . . . . . . . . . . . . . .45 Scan quality . . . . . . . . . . . . . . . . . . . . . . 63
Parameter memory . . . . . . . . . . . . . . . . . .16 Scanning rate . . . . . . . . . . . . . . . . . . . . . 17
Pharmacode Scope of delivery . . . . . . . . . . . . . . . . . . 33
Features . . . . . . . . . . . . . . . . . . . . . . .56 screws . . . . . . . . .................. 9
Pin assignment . . . . . . . . . . . . . . . . . . . .38 SERVICE . . . . . . . . . . . . . . . . . . . . . . . . 38
Positioning . . . . . . . . . . . . . . . . . . . . . . .82 Service . . . . . . . . . . . . . . . . . . . . . . . . . 83
Potential equalisation . . . . . . . . . . . . . . . .42 Service interface . . . . . . . . . 15, 17, 30, 95
Power consumption . . . . . . . . . . . . . . . . .17 Servicing . . . . . . . . . . . . . . . . . . . . . . . . 95
Power On test . . . . . . . . . . . . . . . . . . . . .94 Shock . . . . . . . . . . . . . . . . . . . . . . . . . . 18
PROFIBUS . . . . . . . . . . . . . . . . . . . . . . .44 Simatic Manager . . . . . . . . . . . . . . . . . . 45
PROFIBUS address . . . . . . . . . . . . . 10, 37 slave address . . . . . . . . . . . . . . . . . . . . . 11
PROFIBUS cable . . . . . . . . . . . . . . . . . . .29 Slide switch . . . . . . . . . . . . . . . . . . . 10, 37
PROFIBUS connection cable . . . . . . . . . . .40 Standby . . . . . . . . . . . . . . . . . . . . . . . . 69
PROFIBUS manager . . . . . . . . . . . . . . . . .11 Start-up delay . . . . . . . . . . . . . . . . . 59, 60
Project tool . . . . . . . . . . . . . . . . . . . . . . .47 Status information . . . . . . . . . . . . . . . . . 71
Protection class . . . . . . . . . . . . . . . . . . . .17 Status LED . . . . . . . . . . . . . . . . . . . . . . 18
PWR . . . . . . . . . . . . . . . . . . . . . . . . . . . .38 Stick-on label . . . . .................. 8
Storage . . . . . . . . . . . . . . . . . . . . . . . . . 33
Q Sub D connector . . . . . . . . . . . . . . . . . . 30
SW IN/OUT . . . . . . . . . . . . . . . . . . . . . . 38
Quality
Switching input . . . . . . . . . . . . . . . . 43, 59
Barcode . . . . . . . . . . . . . . . . . . . . . . .63
Switching output . . . . . . . . . . . . 43, 60, 85
Quality assurance . . . . . . . . . . . . . . . . . . . .5
Switch-off delay . . . . . . . . . . . . . . . . . . . 59
Switch-off function . . . . . . . . . . . . . . . . . 60
R Switch-on function . . . . . . . . . . . . . . . . . 60
Raster aperture . . . . . . . . . . . . . . . . . . . .22 Switch-on time . . . . . . . . . . . . . . . . . . . . 60
TNT 35/7-24V
Read quality . . . . . . . . . . . . . . . . . . . . . .63 SyCon . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Read result . . . . . . . . . . . . . . . . . . . . . . .71 Symbols . . . . . . . .................. 5
Reading curve . . . . 22, 23, 24, 25, 26, 27
Reading fields . . . . . . . . . . . . . . . . . . . . .22 T
Reading gate . . . . . . . . . . . . . . . . . . 27, 75
Technical data . . . . . . . . . . . . ........ 17
Reading gate control . . . . . . . . . . . . . . . .52
PROFIBUS connection cable ....... 42
Reading security . . . . . . . . . . . . . . . . . . .78
Temperature . . . . . . . . . . . . . ........ 18
Ready for operation . . . . . . . . . . . . . . . . .18
Termination . . . . . . . . . . . . . . ........ 11
Reference code comparison . . . . . . . . . . .64
Transport . . . . . . . . . . . . . . . . ........ 33
Reflector . . . . . . . . . . . . . . . . . . . . . 27, 62
Type overview . . . . . . . . . . . . ........ 21
Repacking . . . . . . . . . . . . . . . . . . . . . . . .43
Repair . . . . . . . . . . . . . . . . . . . . . . . . . . .95
Reset function . . . . . . . . . . . . . . . . . . . . .83 U
Resolution . . . . . . . . . . . . . . . . . . . . . . . .17 UL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Rotary switch . . . . . . . . . . . . . . . . . . 10, 37 Unpacking . . . . . . . . . . . . . . . . . . . . . . . 33
S
S5 with IM 308B . . . . . . . . . . . . . . . . . . . .44
V
Vibration . . . . . . . . . . . . . . . . . . . . . . . . .18
W
Warm-up time . . . . . . . . . . . . . . . . . . . . .18
Warning notices . . . . . . . . . . . . . . . . . . . . .8
Weight . . . . . . . . . . . . . . . . . . . . . . . . . .17