background image

PROFIBUS

64

BCL 34

Leuze electronic

8.3.14

Reference Code Comparison
Module 17

The module defines the mode of operation of the reference code comparison function. The
function compares the currently decoded reading results with one or several stored
patterns for comparison. The function is split into two comparison units which can be
configured independently of each other.

The pattern for comparison is defined in addresses 9 and 10 in the parameter part of the
module

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. 

The abbreviation 

RBC

 is used below. It stands for "

R

eference

B

ar 

C

ode".

Parameters

Parameter

Description

Rel. 

addr.

Data 

type

Value Range

Default

Unit

CR to 

module

Reserved

0

Dont_Care 
character

The character is not taken into account in a com-
parison

1

unsign8 0 … 7F h

2Ah [*]

Event control

The parameter specifies the associated output 
function after a reference barcode comparison. 

2

unsign8

0:

 No event output

1:

Comparison with RBC 1 
controls output 1

2:

Comparison with RBC 1 
AND 2 controls output 1

4:

Comparison with RBC 1 
OR 2 controls output 1

1

Settings 
(comparison 
function 1)

The parameter defines the components and the 
logic for code comparison for the comparison 
function 1.

3

unsign8

0 … FFh

see "Explanations regarding 
the parameter "Settings"" 
on page 66.

0Ah

Sequence 
(comparison 
function 1)

The parameter defines the sequence in which the 
decoded barcodes are to be compared with the 
RBC for comparison function 1. 

4

unsign8

1 … 4, 
11 … 19, 
22 …24

see "Explanations regarding 
the parameter "Sequence"" 
on page 67.

1

Barcode com-
parison type 
(comparison 
function 1)

The parameter defines under which conditions a 
positive result for an ASCII character comparison 
between decoded bare code and RBC occurs. 

5

unsign8

01h … 80h

see "Explanations regarding 
the parameter "Barcode 
comparison type"" on 
page 68.

02h

Settings 
(comparison 
function 2)

The parameter defines the components and the 
logic for code comparison for comparison 
function 2. 

6

unsign8

0 … FFh

see "Explanations regarding 
the parameter "Settings"" 
on page 66.

0Ah

a

b

c

d

e

f

g

Summary of Contents for BCL34

Page 1: ...BCL34 Barcode reader GB 05 10 08 50038851 T E C H N I C A L D E S C R I P T I O N...

Page 2: ...t 38 044 4961818 C illies Co Ltd Tel Int 81 3 3443 4143 Fax Int 81 3 3443 4118 Profa Tech Ltd Tel Int 254 20 828095 6 Fax Int 254 20 828129 Leuze electronic Co Ltd Tel Int 82 31 3828228 Fax Int 82 31...

Page 3: ...d 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 act...

Page 4: ...e 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...

Page 5: ...ut 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 commissi...

Page 6: ...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 lo...

Page 7: ...2 Declaration of conformity The barcode reader BCL 34 the modular hoods with integrated connectors MS 34 103 MS 34 105 and the optional modular service display MSD 1 101 have been developed and manufa...

Page 8: ...utomatic 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 set...

Page 9: ...ser 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 Never look directly into the beam path Do not point the laser beam of th...

Page 10: ...he 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 A B D E C A Danger warning symbol B Warning...

Page 11: ...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...

Page 12: ...on Figure 3 3 BCL 34 with MS 34 103 MS 34 105 Connection PWR Slide switch for the hundreds marked with 102 Rotary switch for the tens marked with 101 Rotary switch for the single digits marked with 10...

Page 13: ...r control Activate the required modules including at least one of the modules 20 27 Figure 3 5 Example PROFIBUS manager Store the slave address for the BCL 34 in the PROFIBUS manager Ensure that the a...

Page 14: ...terface Notice Changes which were made via the service interface on the BCL 34 are lost following initial isation on the PROFIBUS Socket connector A coded Socket connector A coded Socket connector B c...

Page 15: ...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 permit...

Page 16: ...ss and supply voltage to the BCL 34 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...

Page 17: ...e parameter set of the BCL The required parameter for setting up the display mode can be altered via the service interface The LCD display contains two lines with 16 characters each There are 3 displa...

Page 18: ...p 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 t...

Page 19: ...oReflAct 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 onl...

Page 20: ...ion IEC 60068 2 6 test FC Shock IEC 60068 2 27 test Ea Electromagnetic compatibility EN 61326 1 IEC 61000 4 2 3 4 and 6 Additional Functions autoReflAct automatic reading activation via reflector Stat...

Page 21: ...ng If only the connection to the PROFIBUS is intended type MS 34 103 is sufficient If in addition switching input and output or a modular service display are to be connected an MS 34 105 is required A...

Page 22: ...uze electronic MS 34 103 MS 34 105 Figure 5 3 Dimensioned drawing MS 34 103 MS 34 105 A Barcode reader 1 1 1 The total length of the barcode reader hood with integrated connectors connection plug is a...

Page 23: ...h integrated heating Model Maximum possible oper ating range Module resolution mm Scanning rate scans s Scanner type Order No BCL 34 S M 100 up to 220mm 0 2 0 5 1000 Single line 500 37229 BCL 34 R1 M...

Page 24: ...Notice Please notice that the real scanning curves are also influenced by factors such as labelling material printing quality scanning angle printing contrast etc and may thus deviate from the scanni...

Page 25: ...h L optics Figure 5 6 BCL 34 100 Reading field L optics low density long distance 100 90 80 70 60 50 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 56...

Page 26: ...black on white sharp contours homogeneously printed code The actual reading field for an ink jet application must be checked for the respective application Figure 5 7 BCL 34 100 Reading field J optics...

Page 27: ...with F optics Figure 5 9 BCL 34 100 H Reading field F optics low density normal distance 70 60 50 40 30 20 10 0 10 20 30 40 50 60 70 0 20 40 60 80 100 120 140 160 180 200 220 m 0 2 m 0 3 m 0 5 Reading...

Page 28: ...4 with heating with L optics Figure 5 10 BCL 34 100 H Reading field L optics low density long distance 200 150 100 50 0 50 100 150 200 0 50 100 150 200 250 300 350 400 450 500 550 600 650 700 750 800...

Page 29: ...chieved 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 how...

Page 30: ...he following table The fundamental arrangement of reflector and BCL is shown in figure 5 12 Reflective tape no 2 is included Application example automatic reflector activation Figure 5 12 Reflector ar...

Page 31: ...0 20501 Voltage supply 5 pin Ready made PROFIBUS cables Connector axial open cable end KB PB 2000 SA 501 04188 PROFIBUS cable M12 plug open cable end 2m KB PB 5000 SA 501 04187 PROFIBUS cable M12 plug...

Page 32: ...MS 34 105 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...

Page 33: ...Accessories Order Designation Leuze electronic BCL 34 31 TNT 35 7 24V Figure 6 1 Modular Service Display MSD 1 101 A LED indicator B Device connector M12 8 pin all dimensions in mm...

Page 34: ...od installation BT 56 mounting device Figure 6 2 Mounting device BT 56 6 1 3 Connection cable KB 034 2000 A special connection cable of 2m length is available for the connection between MS 34 105 and...

Page 35: ...e 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 cha...

Page 36: ...esponding mounting accessories see figure 7 2 using the fastening threads on the backside of the devices chapter 5 3 Mounting example BCL 34 Figure 7 2 Mounting example BCL 34 Mounting the MSD 1 101 Y...

Page 37: ...5 4 Notice The best reading results are obtained when the barcode is moved in a plane that is parallel to the reading window the reading distance lies in the middle area of the reading field you do n...

Page 38: ...collision or jammed parts Mounting outdoors devices with integrated heating When mounting outdoors or for devices with integrated heating also observe the following points Mount the BCL 34 in a way wh...

Page 39: ...ted 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 voltag...

Page 40: ...Modular Service Display MS 34 105 only SW IN OUT switching input output MS 34 105 only Socket connector A coded Socket connector A coded Socket connector B coded Plug connector B coded Plug connector...

Page 41: ...connector corresponds to a standard RS232 interface 2 RxD 3 TxD 5 GND Connection description SW IN OUT Switching Input Output You can configure the switching input and output according to your require...

Page 42: ...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 PROFIB...

Page 43: ...M12 socket 15m KB PB 20000 SBA 501 04101 PROFIBUS cable M12 plug M12 socket 20m KB PB 25000 SBA 501 04174 PROFIBUS cable M12 plug M12 socket 25m KB PB 30000 SBA 501 04173 PROFIBUS cable M12 plug M12 s...

Page 44: ...otes on the connector packaging Contact assignment see page 41 Notice It is recommended to connect the drain wire also to Pin 5 of the PROFIBUS connector This ensures proper potential equalisation bet...

Page 45: ...tandard sensor cable Switching output 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 c...

Page 46: ...t data arrives at the controller Output data is sent out by the controller Preparing the control system for consistent data transmission During programming the control system must be prepared for the...

Page 47: ...ool Hilscher Master Controller In SyCon the permanently defined parameters are set via slave configuration parameter data common The module parameters are set via slave configuration parameter data mo...

Page 48: ...e 0 no code 1 2 5 Interleaved 2 Code39 6 UPC UPCE 7 EAN8 EAN13 8 Code128 9 Pharmacode 10 EAN Addendum 11 Codabar 12 Code93 1 4 a Number of digits mode Specifies how the subsequent digit num bers are t...

Page 49: ...rmanently defined code table see table 8 1 on page 46 X 3 Code table extension Extension of the permanently defined code table see table 8 1 on page 46 X 4 Code table extension Extension of the perman...

Page 50: ...ystem start up X 36 Reading gate number Number of the reading gate since system start up X 37 Number of scans per reading gate Number of the scans in the reading gate X 38 Code Position Relative posit...

Page 51: ...t 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...

Page 52: ...ue Range Default Unit CR to module Code type Released code type no code means that all subsequent code tables are also deactivated The valid number of digits also depends on the code type 0 No code 1...

Page 53: ...lly 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 lo...

Page 54: ...re termination of the reading gate can be triggered by reaching the defined reading security Module 11 or by reaching the specified number of barcodes per reading gate Module 5 Obviously the relevant...

Page 55: ...es 0 GPa 1 4a Check digit output Code 39 The parameter controls the output of the check digit in the barcode result for the code type Code 39 0 No 1 Yes 0 Check digit output UPCA UPCE The parameter co...

Page 56: ...t CR to module EAN 128 designator The parameter specifies the EAN128 designator which is to be searched for i e the BCL provides only a result if the designator has been found 0 10 000 10 000 GPa 1 4a...

Page 57: ...chapter Optics variants and reading fields on page 22 Figure 8 1 Specifying switch on and switch off positions of the laser Parameters Input Data none Output Data none 100 0 10 BCL 34 Laser emission w...

Page 58: ...Phar macode A standard value of 185 means that a wide bar must be 1 85 times wider than a narrow bar 0 255 185 0 01 GPa 1 4a Verification of bar widths The parameter specifies the minimum ratio of ba...

Page 59: ...tical decoding results 1 255 2 6b Quiet zone The parameter defines the minimum quiet zone in front of a barcode 3 10 7 module widths Element ratio The parameter defines the maximum ratio between narro...

Page 60: ...code could be read 1 20 bytes of ASCII characters 63 20g or 21 27g Decoding result at read ing gate start The parameter defines the state of the data at the start of the reading gate 0 Input data rema...

Page 61: ...parameter defines a de bouncing time which is implemented in software 0 255 5 ms Start up delay The parameter influences the timing during switch on 0 65 535 0 ms Minimum switch on time The parameter...

Page 62: ...d reading result 1 Positive reference code comparison 2 Negative reference code comparison 2 AutoControl bad 1 AutoControl good 1 PROFIBUS pos edge PROFIBUS neg edge Each 0 Off 1 On 0020 h 0 0 0 0 0 1...

Page 63: ...t Signal sets the state of the switching output Prerequisite switch on or switch off function is configured to PROFIBUS edge 0 0 Bit 0 Switching output 0 1 Switching output 1 0 14d 14e Reset Event Cou...

Page 64: ...ge Default Unit CR to module Mode This parameter activates the function of the laser scanner If with reading gate control 2 or 4 is set as the parameter value the BCL acti vates the reading gate autom...

Page 65: ...ary to decode the entire barcode Decoding quality 0 Off 1 Label quality 2 Decoding quality 0 Limit for reading quality The parameter defines a threshold value for the average of the reading quality If...

Page 66: ...2Ah Event control The parameter specifies the associated output function after a reference barcode comparison 2 unsign8 0 No event output 1 Comparison with RBC 1 controls output 1 2 Comparison with RB...

Page 67: ...rn 20 comparison pattern 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...

Page 68: ...inally the bits mlc and mtc determine whether the comparison result is positive bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 c1 c2 mls mlc mts mtc mas c1 c2 Logic 00 LENGTH and TYPE and ASCII 01 LE...

Page 69: ...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 b...

Page 70: ...comparison is positive depends on which bit is set obviously only one must be set The following table shows the individual conditions bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 e7 e6 e5 e4 e3 e2...

Page 71: ...e 0 0 Bit 1 0 Reading gate off 0 1 Reading gate active 0 Free 0 1 Bit 0 Free 0 2 Bit 0 Free 0 3 Bit 0 Free 0 4 Bit 0 Data reset Signal resets the following bit states and decoder results Module 16 Bit...

Page 72: ...ree 0 1 Bit 0 Free 0 2 Bit 0 Free 0 3 Bit 0 Acknowledge The toggle bit signals via positive and neg ative edge that data has been processed by the master 0 4 Bit 0 1 Data has been proc essed by the ma...

Page 73: ...cted module must also be used The modules only work consistently or synchronously in themselves Parameters none Input Data Description Rel addr Data type Value Range Default Unit CR to module Reading...

Page 74: ...ate Toggle bit indicates that the bar code has not been read 0 6 Bit 0 1 NOREAD 1 0 NOREAD 0 12a 21 27 Result state Signal indicates the current state of the standby function 0 7 Bit 0 Off 1 On 0 21 2...

Page 75: ...n the disc application In this application several discs are located on top of a box and labelled with short e g two digit barcodes Only one barcode is visible for each disc and can be decoded To avoi...

Page 76: ...he barcode information per fragment 1 28 0 Byte Parameter length 1 byte a Input Data Description Rel addr Data type Value Range Default Unit CR to module Fragment number Current fragment number 0 0 0...

Page 77: ...the communication of the reading gate activations since system start Parameters none Input Data Output Data none Input Data Description Rel addr Data type Value Range Default Unit CR to module Reading...

Page 78: ...le defines input data for the total number of scans which were required for the previous reading gate Parameters none Input Data Output Data none Input Data Description Rel addr Data type Value Range...

Page 79: ...ata Output Data none 25000 1000 6040 18040 BCL 34 Laser emission window Scan beam Barcode start Input Data Description Rel addr Data type Value Range Default Unit CR to module Code Position Relative p...

Page 80: ...nput Data Description Rel addr Data type Value Range Default Unit CR to module Reading Security Equal Scans Calculated reading security for the transmitted bar code The specified value determines how...

Page 81: ...in the modules 41 scans with info per barcode and 40 scans per barcode are evaluated Since module 42 can be used on its own it is not necessary to include these modules as well The value calculated h...

Page 82: ...he communication of the number of digits of the currently transmitted barcode Parameters none Input Data Output Data none Input Data Description Rel addr Data type Value Range Default Unit CR to modul...

Page 83: ...ly transmitted barcode Parameters none Input Data Output Data none Input Data Description Rel addr Data type Value Range Default Unit CR to module Code type Code type of the transmitted bar code 0 uns...

Page 84: ...Rel addr Data type Value Range Default Unit CR to module Scans per barcode Number of scans between the first and last detecting of the barcode 0 unsign16 0 65535 0 Scans with information per barcode...

Page 85: ...t and is freshly configured on the PROFIBUS Potentially incorrect parameter settings via PROFIBUS continue to be active Parameters none Input Data Output Data Input Data Description Rel addr Data type...

Page 86: ...ith module 15 AutoReflAct as this may lead to erroneous functionality Parameters none Input Data Output Data Input Data Description Rel addr Data type Value Range Default Unit CR to module Decoding qu...

Page 87: ...he comparative value always results in the switching output being switched once independent of the comparison mode param eter The standard switch off function AF at reading gate start is unsuited for...

Page 88: ...value The bit is reset to the init value by resetting the event counter 0 0 Bit 0 Not exceeded 1 Exceeded 0 Comparative value toggle bit event counter If SWOUT switches several times was con figured...

Page 89: ...ns 8 data bits no parity and 1 stop bit The parity can be n none e even o odd 1 7 n 2 2 7 e 1 3 7 e 2 4 7 o 1 5 7 o 2 6 8 n 1 7 8 n 2 8 8 e 1 9 8 e 2 10 8 o 1 11 8 o 2 6 Prefix character 1 First frami...

Page 90: ...digit code 128 Indirect activation of the BCL 34 via the PLC Code sample Code 128 15 digits 9 1 2 Procedure Hardware Connections The following connections must have been established Voltage supply PWR...

Page 91: ...cimal The decoding result is transmitted in the follow ing 15 bytes Internal processing Internal data processing M 18 Bit 0 0 1 0 The activation bit 0 0 is reset to 0 PLC photoelectric sensor BCL 34 D...

Page 92: ...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 followi...

Page 93: ...Internal processing Internal data processing Light barrier from 1 0 The beam of the light barrier is cleared and sets the switching input of the BCL to 0 This deacti vates the scanner PLC photoelectr...

Page 94: ...d 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...

Page 95: ...tching input of the BCL 34 and does not activate the scanner M 13 Bit 0 0 from 0 1 The BCL 34 signals to the controller that the light barrier has been triggered M 18 Bit 0 0 from 0 1 The controller a...

Page 96: ...configurations on page 88 Setting the device address The device address is set via switches in the modular hood For setting instructions refer to chapter 7 3 Set the device address according to the ad...

Page 97: ...CL 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 th...

Page 98: ...Appendix 96 BCL 34 Leuze electronic 12 Appendix 12 1 EU Declaration of Conformity...

Page 99: ...nction 64 Comparison pattern 64 65 Components 19 Configuration software 16 Configuration tool 45 Connecting cable 32 Connection 37 Modular Service Display 12 PROFIBUS 11 Switching input 12 Switching o...

Page 100: ...ser class 17 Laser control 55 Laser radiation 7 LED indicators 18 Light source 17 L optics 23 26 M Maintenance 95 Mechanical data 17 Mechanical design 9 Minimum switch on time 59 mirroring surfaces 27...

Page 101: ...18 Reference code comparison 64 Reflector 27 62 Repacking 43 Repair 95 Reset function 83 Resolution 17 Rotary switch 10 37 S S5 with IM 308B 44 S5 with IM 308C 44 S7 44 Safety notices 6 Scan quality...

Page 102: ...Index 100 BCL 34 Leuze electronic V Vibration 18 W Warm up time 18 Warning notices 8 Weight 17...

Reviews: