Indicates dangers that may result in property damage if the measures for danger avoidance are not followed.
Table 1.2:Other symbols
Symbol for tips
Text passages with this symbol provide you with further information.
About this document
Table 1.3:Terms and abbreviations
BCLBar code reader
CRTCode reconstruction technology
Symbols for action steps
Text passages with this symbol instruct you to perform actions.
Leuze electronicBCL 604i7
2Safety
This sensor was developed, manufactured and tested in line with the applicable safety standards. It corresponds to the state of the art.
2.1Intended use
The device is designed as a stationary high-speed scanner with integrated decoder for all common bar
codes for automatic object detection.
Areas of application
The device is specially designed for the following areas of application:
• Object identification on fast-moving conveyor lines
• Omnidirectional reading
CAUTION
Comply with conditions and regulations!
Observe the locally applicable legal regulations and the rules of the employer's liability insurance asso-
ciation.
Safety
2.2Foreseeable misuse
Any use other than that defined under “Intended use” or which goes beyond that use is considered
improper use.
In particular, use of the device is not permitted in the following cases:
• Rooms with explosive atmospheres
• Circuits relevant to safety
• For medicinal purposes
CAUTION
Do not modify or otherwise interfere with the device.
Do not carry out modifications or otherwise interfere with the device.
The device must not be tampered with and must not be changed in any way.
The device must not be opened. There are no user-serviceable parts inside.
Repairs must only be performed by Leuze electronic GmbH + Co. KG.
2.3Competent persons
Connection, mounting, commissioning and adjustment of the device must only be carried out by competent
persons.
Prerequisites for competent persons:
• They have a suitable technical education.
• They are familiar with the rules and regulations for occupational safety and safety at work.
• They are familiar with the technical description of the device.
• They have been instructed by the responsible person on the mounting and operation of the device.
Certified electricians
Electrical work must be carried out by a certified electrician.
Due to their technical training, knowledge and experience as well as their familiarity with relevant stan-
dards and regulations, certified electricians are able to perform work on electrical systems and independently detect possible dangers.
In Germany, certified electricians must fulfill the requirements of accident-prevention regulations BGV A3
(e.g. electrician foreman). In other countries, there are respective regulations that must be observed.
Leuze electronicBCL 604i8
2.4Exemption of liability
Leuze electronic GmbH + Co. KG is not liable in the following cases:
• The device is not being used properly.
• Reasonably foreseeable misuse is not taken into account.
• Mounting and electrical connection are not properly performed.
• Changes (e.g., constructional) are made to the device.
2.5Laser safety notices
2.5.1Laser safety notices– laser class 2
ATTENTION, LASER RADIATION – LASERCLASS2
Never look directly into the beam!
The device fulfills the IEC 60825-1:2007 (EN 60825-1:2007) requirements for a product in laser class 2
as well as the U.S. 21 CFR 1040.10 regulations with deviations corresponding to “Laser Notice No. 50”
from June 24th, 2007.
Never look directly into the laser beam or in the direction of reflecting laser beams.
If you look into the beam path over a longer time period, there is a risk of injury to the retina.
Do not point the laser beam of the device at persons!
Interrupt the laser beam using a non-transparent, non-reflective object if the laser beam is accidentally
directed towards a person.
When mounting and aligning the device, avoid reflections of the laser beam off reflective surfaces!
CAUTION! The use of operating or adjusting devices other than those specified here or carrying out
of differing procedures may lead to dangerous exposure to radiation.
Adhere to the applicable legal and local regulations regarding protection from laser beams.
The device must not be tampered with and must not be changed in any way.
There are no user-serviceable parts inside the device.
Repairs must only be performed by Leuze electronic GmbH + Co. KG.
Safety
CAUTION
Affix laser information and warning signs!
Laser information and warning signs attached to the device(see figure 2.1). Also included with the device
are self-adhesive laser warning and laser information signs (stick-on labels) in multiple languages (see
figure 2.3).
Affix the laser information sheet to the device in the language appropriate for the place of use.
When using the device in the US, use the stick-on label with the “Complies with 21 CFR 1040.10”
notice.
Affix the laser information and warning signs near the device if no signs are attached to the device (e.g.
because the device is too small) or if the attached laser information and warning signs are concealed
due to the installation position.
Affix the laser information and warning signs so that they are legible without exposing the reader to the
laser radiation of the device or other optical radiation.
Leuze electronicBCL 604i9
1Laser aperture
LASER RADIATION
DO NOT STARE INTO BEAM
CLASS 2 LASER PRODUCT
EN 60825-1:2007
Maximum Output (peak):
Pulse duration:
Wavelength:
2 mW
<150 µs
405 nm
AVOID EXPOSURE – LASER RADIATION
IS EMITTED FROM THIS APERTURE
23
1
LASER RADIATION
DO NOT STARE INTO BEAM
CLASS 2 LASER PRODUCT
EN 60825-1:2007
Maximum Output (peak):
Pulse duration:
Wavelength:
2 mW
<150 μs
405 nm
AVOID EXPOSURE – LASER RADIATION
IS EMITTED FROM THIS APERTURE
23
1
2Laser warning sign
3Laser information sign with laser parameters
Figure 2.1:Laser aperture, laser warning and information signs - line scanner
Safety
1Laser aperture
2Laser warning sign
3Laser information sign with laser parameters
Figure 2.2:Laser aperture, laser warning and information signs - oscillating-mirror scanner
Potencia máx. (peak):
Duración del impulso:
Longitud de onda:
RADIAÇÃO LASER
NÃO OLHAR FIXAMENTE O FEIXE
EQUIPAMENTO LASER CLASSE 2
EN 60825-1:2007
Potência máx. (peak):
Período de pulso:
Comprimento de onda:
LASER RADIATION
DO NOT STARE INTO BEAM
CLASS 2 LASER PRODUCT
IEC 60825-1:2007
Complies with 21 CFR 1040.10
Maximum Output (peak):
Pulse duration:
Wavelength:
䉏⏘戟⺓
▎䦃展⏘㧮
伊䉏⏘ℶ❐
GB7247.1-2012
㦏⮶戢⒉᧤⽿⋋᧥
厘⑁㖐兼㢅梃
㽱栎
2 mW
<150 µs
405 nm
2 mW
<150 µs
405 nm
2 mW
<150 µs
405 nm
2 mW
<150
µ
s
405 nm
2 mW
<150 µs
405 nm
2 mW
<150 µs
405 nm
2 mW
<150 µs
405 nm
2 mW
<150 µs
405 nm
50127630
Figure 2.3:Laser warning and information signs – supplied stick-on labels
Leuze electronicBCL 604i11
3Device description
2
1
3.1Device overview
Bar code readers of the BCL 600i series are high-speed scanners with integrated decoder for all
commonly used bar codes, e.g. 2/5 Interleaved, Code 39, Code 128, EAN 8/13 etc., as well as codes from
the GS1 DataBar family.
Bar code readers of the BCL 600i series are available in various optics models and as line scanners and
oscillating mirrors.
Device description
1Line scanner
2Oscillating-mirror scanner
Figure 3.1:Line scanner and oscillating-mirror scanner
The extensive options for device configuration via display or software enable adaptation to a multitude of
reading tasks. Due to the large reading distance combined with the great depth of field and a very compact
construction, the device is ideally suited for package and pallet transportation systems. In general, the bar
code readers of the BCL 600i series are designed for the conveyor and storage technology market.
The interfaces (RS 232, RS 485 and RS 422) integrated in the various device models and the fieldbus
systems (Profibus DP, PROFINET-IO, Ether net TCP/IP / UDP and Ethernet/IP) of the BCL 600i series bar
code readers offer optimum connection to the superior host system.
3.2Performance characteristics
• Integrated fieldbus connectivity = i -> Plug-and-Play fieldbus coupling and easy networking
• Numerous interface variants facilitate connection to the superior systems
• RS 232, RS 422 as well as with integrated multiNet plus master
• RS 485 and multiNet plus slave
• alternatively, various fieldbus systems, such as
PROFINET-IO
Ethernet TCP/IP
Ethernet /IP
Ethernet
PROFIBUS DP
Leuze electronicBCL 604i12
Device description
• Integrated code reconstruction technology (CRT) enables the identification of soiled or damaged bar
codes
• Maximum depth of field and reading distances from 400 mm to 1450 mm
• Large optical opening angle and, thus, large reading field width
• High scanning rate of 800 / 1000 scans/s for fast reading tasks
• Intuitive, backlit, multi-language display with user-friendly menu navigation
• Integrated USB 1.1 service interface
• Adjustment of all device parameters with a web browser
• Connection options for an external parameter memory
• Easy alignment- and diagnostics functions
• M12 connections with Ultra-Lock ™ technology
• Four freely programmable switching inputs/outputs for the activation or signaling of states
• Automatic monitoring of the read quality with autoControl
• Automatic recognition and setting of the bar code type using autoConfig
• Reference code comparison
• Heavy-duty housing of degree of protection IP 65
Leuze electronicBCL 604i13
3.3Device construction
1
1
2
3
5
6
4
66
Device description
1Reading window
2Control panel with display, LEDs and buttons
3M12 connection technology
4USB interface
5Dovetail mounting
6M4 mounting thread
Figure 3.2:Device construction
Leuze electronicBCL 604i14
3.4Connection technology
345
2
1
3
2
1
4
5
6
The bar code readers are connected using variously coded M12 connectors. This ensures unique connection assignments.
The additional USB interface is used for configuring the device.
For the locations of the individual device connections, please refer to the device detail shown below.
1Service, USB socket, type A
2SW In/Out, M12 socket (A-coded)
3Bus Out, M12 socket (D-coded)
4Host/Bus In, M12 socket (D-coded)
5PWR, M12 plug (A-coded)
le 3.1:Status displays of the switching inputs/outputs
Tab
Device description
IO1
Switching input or switching output 1 active (function dependent on set configuration).
Default: Switching input with the “Reading gate activation” function
IO2Switching input or switching output 2 active (function dependent on set configuration).
Default: Input with the “Teach-in” function
IO3Switching input or switching output 3 active (function dependent on set configuration).
Default: Switching input with the “Reading gate activation” function
IO4Switching input or switching output 4 active (function dependent on set configuration).
Default: Switching output with the “No read” function
ATTWarning (Attention)
ERRInternal device error (Error) -> The device must be sent in for inspection
Bar graph
The read quality is described on a scale of 0 - 100 %. The quality is evaluated based on the “Equal Scans”
of the read result configured in the bar code reader.
Table 3.2:Status display of the USB interface
USBThe device is connected to a PC via the USB interface.
MSAn external parameter memory is properly connected to the USB interface of the device.
Read result
The read bar code information is displayed.
3.5.3LED indicators
PWR LED
OffDevice OFF
Flashes greenDevice ok, initialization phase
Green, continuous light
• No supply voltage
• No bar code reading possible
• Voltage connected
• Self test running
• Initialization running
Device OK
• Bar code reading possible
• Self test successfully finished
• Device monitoring active
Leuze electronicBCL 604i16
Device description
Orange, continuous light
Service mode
• Bar code reading possible
• Configuration via the USB service interface
• Configuration via the display
• No data on the host interface
Flashes redDevice ok, warning set
• Bar code reading possible
• Temporary operating fault
Red, continuous
light
Device error / parameter enable
• No bar code reading possible
NET LED
OffNo supply voltage
• No communication possible
• Profibus DP communication not initialized or inactive
Flashes greenInitialization
• of the device, establishing communication
Green, continuous light
Operation OK
• Network mode ok
• Connection and communication to IO controller (PLC) established (data
exchange)
Flashes redCommunication error
Red, continuous
Network error
light
3.6Operational controls
Navigating within the menus
Use the navigation buttons to move through the menu. Activate the desired selection with the enter
button .
Press the escape button to move up one menu level.
When one of the buttons is actuated, the display illumination is activated for 10 min.
Setting values
Set the desired value with the navigation buttons and the enter button .
An accidental incorrect entry can be corrected by selecting the left arrow button and then pressing the
enter button.
Then use the navigation buttons to select save and save the set value by pressing the enter button.
Selecting options
Set the desired option with the navigation buttons and the enter button .
• Parameterization or configuration failed (parameter failure)
•IO error
• No data exchange
• No communication (protocol) to IO controller established (no data exchange)
ESC
Leuze electronicBCL 604i17
3.7External parameter memory
The optionally available external parameter memory – based on a USB memory stick (compatible with
version 1.1) – is housed in an external hood with integrated connectors which cover the USB service interface when installed (IP 65).
The external parameter memory makes it easy and reduces the time needed to replace a device on site
by providing a copy of the current parameter set of the device. This eliminates the need to configure the
exchanged device manually.
The delivery contents of the external parameter memory include the hood with integrated connectors with
unscrewable cover and the USB memory stick.
To mount, the cover of the service interface must be unscrewed. Then take the USB memory
stick and plug it into the USB connection on the device. Then, take the connector hood of the
USB memory stick and screw this over the plugged-in USB memory stick to the service interface
to close the system and ensure degree of protection IP 65.
Device description
Leuze electronicBCL 604i18
4Functions
General information
The integrated fieldbus connectivity = i contained in the bar code readers of the BCL 600i series facilitates
the use of identification systems which function without connection unit or gateways. The integrated
fieldbus interface considerably simplifies handling. The Plug-and-Play concept enables easy networking
and very simple commissioning: Directly connect the respective fieldbus and all configuration is performed
with no additional software.
For decoding bar codes, the bar code readers of the BCL 600i series make available the proven CRT
decoder with code reconstruction technology:
The proven code reconstruction technology (CRT) enables bar code readers of the BCL 600i series to
read bar codes with a small bar height, as well as bar codes with a damaged or soiled print image.
With the aid of the CRT decoder, bar codes can also be read without problem in other demanding situations, such as with a large tilt angle (azimuth angle or even twist angle).
Functions
Figure 4.1:Possible bar code orientation
With the BCL 604i, configuration is generally performed with the aid of the GSD file.
The device needs a suitable activation to start a read process as soon as an object is in the reading field.
This opens a time window (reading gate) in the device for the read process during which the bar code
reader has time to detect and decode a bar code.
In the basic setting, triggering takes place through an external reading cycle signal. Alternative activation
options include online commands via the host interface and the autoReflAct function. In the basic setting,
triggering takes place through an external reading cycle signal or via the PROFIBUS. An alternative option
for activation is the autoReflAct function.
In the basic setting, triggering takes place through an external reading cycle signal. Alternative activation
options include online commands via the host interface and the autoReflAct function. Through the read
operation, the device collects additional useful pieces of data for diagnosis which can also be transmitted
to the host. The quality of the read operation can be inspected using the alignment mode which is integrated in the webConfig tool.
A multi-language display with buttons is used to operate the device as well as for visualization purposes.
Two LEDs provide additional optical information on the current operating state of the device.
Leuze electronicBCL 604i19
The four freely configurable switching inputs/outputs SWIO 1 … SWIO 4 can be assigned various functions and control e.g. activation of the device or external devices, such as a PLC.
System, warning and error messages provide assistance in setup/troubleshooting during commissioning
and read operation.
4.1autoReflAct
autoReflAct st a nds 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 reading gate remains closed. If,
however, the reflector is blocked by an object such as a container with a bar code 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.
You will find a matching reflector in Accessories, and more are available on request.
Functions
Figure 4.2:Reflector arrangement for autoReflAct
The autoReflAct function uses the scanning beam to simulate a photoelectric sensor and thus permits an
activation without additional sensors.
Leuze electronicBCL 604i20
4.2autoConfig
With the autoConfig function, the device offers an extremely simple and convenient configuration option
to users who only want to read one code type (symbology) with one number of digits at a time.
After starting the autoConfig function via the display, switching input or from a superior control, it is sufficient to position a bar code label with the desired code type and number of digits in the reading field of the
device.
Afterward, bar codes with the same code type and number of digits are recognized and decoded.
The settings made via display or webConfig configuration tool push the parameters set in the
Profibus only temporarily into the background. They are overwritten during integration into the
Profibus or when the parameter enable is deactivated!
Device settings for operating the device on the Profibus are managed and configured exclusively
by the Profibus controller (PLC). Permanent changes must be carried out here!
For further information, see chapter 10 "Starting up the device - Configuration".
Functions
Leuze electronicBCL 604i21
5Reading techniques
5.1Line scanner (single line)
A line (scan line) scans the label. Due to the opt. opening angle, the reading field width is dependent on
the read distance. Through the movement of the object, the entire bar code is automatically transported
through the scan line.
The integrated code reconstruction technology permits twisting of the bar code (tilt angle) within certain
limits. These are dependent on the transport speed, the scanning rate of the scanner and the bar code
properties.
Areas of application of the line scanner
The line scanner is used:
• when the bars of the bar code are printed in the conveying direction ('ladder arrangement').
• with bar codes having very short bar lengths.
• when the ladder code is turned out of the vertical position (tilt angle).
• when the reading distance is large.
Reading techniques
Figure 5.1:Deflection principle for the line scanner
5.2Line scanner with oscillating mirror
The oscillating mirror deflects the scan line additionally to both sides across the scan direction at a
randomly adjustable oscillation frequency. In this way, the device can also scan larger areas or spaces for
bar codes. The reading field height (and the scan line length useful for evaluation) depends on the reading
distance due to the optical opening angle of the oscillating mirror.
Leuze electronicBCL 604i22
Reading techniques
Areas of application of the line scanner with oscillating mirror
For line scanners with oscillating mirror, oscillation frequency, start/stop position etc. are adjustable. It is
used:
• when the position of the label is not fixed, e.g. on pallets – various labels can, thus, be detected at
various positions.
• when the bars of the bar code are printed perpendicular to the conveying direction (“picket fence
arrangement”).
• when reading stationary objects.
• when the bar code is turned out of the horizontal position.
• when the reading distance is large.
• when a large reading field (reading window) has to be covered.
Figure 5.2:Deflection principle for the line scanner with oscillating mirror add-on
5.3Omnidirectional reading
In order to read arbitrarily oriented bar codes on an object, at least 2 bar code readers are necessary. If
the bar code is not printed over-square, i.e. bar length > code length, bar code readers with integrated code
reconstruction technology are necessary.
Figure 5.3:Principle arrangement for omnidirectional reading
Leuze electronicBCL 604i23
6Mounting
The bar code readers can be mounted in different ways:
• Using two M4x6 screws on the rear of the device or using four M4x6 screws on the bottom of the
device (see figure 3.2).
• Using a BT 56 mounting device on the two fastening grooves (see figure 14.3).
• Using a BT 59 mounting device on the two fastening grooves (see figure 14.4).
6.1Device arrangement
6.1.1Selecting a mounting location
In order to select the right mount
• Size, orientation, and position tolerance of the bar codes on the objects to be scanned.
• The reading field of the device in relation to the bar code module width.
• The resulting minimum and maximum reading distance from the respective reading field (see
chapter 14.4 "Reading field curves / optical data").
• The permissible cable lengths between the device and the host system depending on which interface
is used.
• The correct time for data output. The device should be positioned in such a way that, taking into consideration the time required for data processing and the conveyor belt speed, there is sufficient time
to e.g. initiate sorting operations on the basis of the read data.
• The display and control panel should be very visible and accessible.
• For configuring and commissioning with the webConfig tool, the USB interface should be easily
accessible.
• Maintaining the required environmental conditions (temperature, humidity).
• Possible soiling of the reading window due to liquids, abrasion by boxes, or packaging material residues.
• Lowest possible chance of damage to the device by mechanical collision or jammed parts.
• Possible extraneous light (no direct sunlight or sunlight reflected by the bar code).
Mounting
ing location, several factors must be considered:
With the line scanner, the beam exits the device parallel to the housing base; with the oscillating
mirror, the beam exits perpendicular to the housing base. The housing base is the black surface.
The best read results are obtained when:
• The device is mounted in such a way that the scanning beam is incident on the bar code at an angle
of inclination greater than ±10° … 15° to vertical.
• The reading distance lies in the middle area of the reading field.
• The bar code labels are of good print quality and have good contrast ratios.
• You do not use high-gloss labels.
• There is no direct sunlight.
6.1.2Avoiding total reflection – Line scann
The bar code label must be positioned at an angle of inclination greater than ±10° … 15° from vertical in
order to avoid total reflection of the laser beam (see figure 6.1)!
Total reflection occurs whenever the laser light of the bar code reader is directly incident on the surface of
the bar code at an angle of 90°. The light directly reflected by the bar code may overload the bar code
reader and thereby cause non-readings!
er
Leuze electronicBCL 604i24
1Zero position
x
1
2
x
1
2
2Bar code
xDistance acc. to reading field curves
a±10 … 15°
Figure 6.1:Total reflection – line scanner
6.1.3Avoiding total reflection – oscillating-mirror scanner
For the device with oscillating mirror, the laser beam exits at an angle of 90° to vertical.
In addition, the swivel range of ±20° is to be taken into account.
This means that in order to be on the safe side and to avoid total reflection, the device with oscillating mirror
must be inclined upward or downward 20° … 30°!
Mounting
1Zero position
2Bar code
xDistance acc. to reading field curves
a±25°
6.1.4Possible read angles between device and bar code
The optimum alignment of th
e device is accomplished when the scan line scans the code bars almost at
a right angle (90°). All read angles that are possible between the scan line and bar code must be taken
account (see figure 6.3).
In order to avoid total reflection, the skew g should be greater than 10 °
Figure 6.3:Reading angle for the line scanner
6.2Installing the external parameter memory
Remove the cover of the USB connection on the device.
Insert the USB memory stick into the USB connection and then cover it with the connector hood to
ensure degree of protection IP 65.
The USB memory stick can be inserted regardless of whether or not the device is connected to supply
voltage.
• After the USB memory stick has been inserted and supply voltage applied, the following message
appears on the display.
Memory stick connected: Export internal configuration?
Use the navigation buttons to select OK and activate with the enter button .
The configuration is now transferred to the external parameter memory and is from now on updated immediately when the configuration is changed via display or online commands.
• The display of MS under the device address indicates that the USB memory stick is correctly connected and functional.
Replacing a defective device
Uninstall the defective device.
Remove the external parameter memory from the defective device by unscrewing the protection hood.
Leuze electronicBCL 604i26
Mounting
Mount the external parameter memory on the new device.
Install and start up the new device.
The following message appears on the display again:
Use the navigation buttons to select Cancel and activate with the enter button .
Make sure you select Cancel. Otherwise, the configuration in the external parameter memory is
lost!
The configuration is now imported from the external parameter memory and the device is immediately
operational without any further configuration.
Leuze electronicBCL 604i27
7Electrical connection
345
2
1
CAUTION
Do not open the device yourself under any circumstances! There is otherwise a risk of uncontrolled
emission of laser radiation from the device. The housing of the device 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
name plate.
Connection of the device and cleaning must only be carried out by a qualified electrician.
Ensure that the functional earth (FE) is connected correctly. Unimpaired operation is only guaranteed
when the functional earth is connected properly.
If faults cannot be corrected, the device should be removed from operation and protected against pos-
sible commissioning.
CAUTION
For UL applications, use is only permitted in Class 2 circuits in accordance with the NEC (National Electric Code). The bar code readers are designed in accordance with safety class III for supply by PELV
(protective extra-low voltage with reliable disconnection).
Electrical connection
CAUTION
Degree of protection IP 65 is achieved only if the connectors and caps are screwed into place!
7.1Overview
As a PROFIBUS participant, the device is equipped with four M12 plugs/sockets which are A- and Bcoded.
The voltage supply (PWR) as well as the four freely configurable switching inputs/outputs (SW IN/OUT and
PWR) are connected there.
The device is designed for use in PROFIBUS DP. An incoming DP IN - PROFIBUS DP is available as a
HOST / BUS IN interface for connecting to the PLC. An outgoing DP OUT - PROFIBUS DP is present as
another second physical BUS OUT interface for setting up the PROFIBUS DP network.
An USB connection is used as a SERVICE interface.
1Service, USB socket, type A
2SW In/Out, M12 socket (A-coded)
3Bus Out, M12 socket (B-coded)
4Host/Bus In, M12 socket (B-coded)
5PWR, M12 plug (A-coded)
Figure 7.1:Connections of the device
Described in detail in the following are the individual connections and pin assignments.
Leuze electronicBCL 604i28
7.2PWR – Voltage supply and switching inputs/outputs 3 and 4
2
3
1
4
5
FE
Figure 7.2:PWR, M12 plug (A-coded)
Table 7.1:Pin assignments - PWR
PinNameComment
1VINPositive supply voltage +10 ... +30 V DC
2SWIO_3 Configurable switching input / output 3
3GNDNegative supply voltage 0 V DC
4SWIO_4 Configurable switching input / output 4
5FEFunctional earth
Electrical connection
ThreadFEFunctional earth (housing)
Supply voltage
CAUTION
For UL applications, use is only permitted in Class 2 circuits in accordance with the NEC (National Electric Code).
CAUTION
The BCL 604i bar code readers are designed in accordance with safety class III for supply by PELV
(protective extra-low voltage with reliable disconnection).
Connecting functional earth FE
Ensure that the functional earth (FE) is connected correctly. Unimpaired operation is only guaranteed
when the functional earth is connected properly. All electrical disturbances (EMC couplings) are discharged via the functional earth connection.
Switching input/output
The device is equipped with four freely programmable, opto-decoupled switching inputs and outputs
SWIO_1 … SWIO_4.
The switching inputs can be used to activate various internal functions of the device (decoding,
autoConfig, …). The switching outputs can be used to signal the state of the device and to implement
external functions independent of the superior control.
The two switching inputs/outputs SWIO_1 and SWIO_2 are located on the SW IN/OUT M12 socket (see
chapter 7.4). The other two (SWIO_3 and SWIO_4) of the four freely configurable switching inputs/outputs
are located on the PWR M12 plug.
In general, configuration of the bar code reader takes place on the PROFIBUS via the corre-
sponding GSD file. Alternatively, you can temporarily set the respective function as input or out-
put via the display or with the aid of the webConfig configuration tool for the purpose of testing
the respective functionality. After reconnecting to the PROFIBUS or after deactivating parameter
enabling, the parameter settings set by the PROFIBUS are again active!
The external wiring as switching input and switching output is described in the following. For the respective
function assignment to the switching inputs/outputs see chapter 10.
Leuze electronicBCL 604i29
Function as switching input
1
2
3
Electrical connection
1
2
3
1Switching input
2Switching output from controller (deactivated)
3Switching input to controller
Figure 7.3:Switching input connection diagram SWIO_3 and SWIO_4
If you use a sensor with a standard M12 connector, please note the following:
Pins 2 and 4 must not be operated as switching outputs if sensors which function as inputs are also
connected to these pins.
If, for example, the inverted sensor output is connected to pin 2, and pin 2 of the bar code reader is, at
the same time, configured as an output (and not as an input), the switching output malfunctions.
CAUTION
The maximum input current must not exceed 8 mA!
Function as switching output
1Switching output
2Switching input from controller
3Switching output to controller (deactivated)
Each configured switching output is short-circuit proof! Do not load the respective switching output of the
device with more than 60 mA at +10 … +30 V DC in normal operation!
By default, the two switching inputs/outputs SWIO_3 and SWIO_4 are configured so that switch-
ing input SWIO_3 activates the reading gate and switching output SWIO_4 switches on “No
Read”.
Leuze electronicBCL 604i30
7.3SERVICE – USB interface (type A)
4
3
1
2
1
3
2
4
5
FE
Figure 7.5:Service, USB, type A
Table 7.2:Pin assignments of SERVICE – USB interface
PinNameComment
1VBPositive supply voltage +5 V DC
2D-Data -
3D+Data -
4GNDGround
NOTICE
Maximum load of the +5 V DC supply voltage of the USB interface is 200 mA!
Ensure adequate shielding.
The entire interconnection cable must absolutely be shielded acc. to the USB specifications. Cable
length must not exceed 3 m.
Use the Leuze-specific USB service cable (see chapter 15 "Ordering information and accessories") for
the connection and use a service PC to configure.
Electrical connection
NOTICE
IP 65 is achieved only if the connectors and caps are screwed into place.
7.4SW IN/OUT – Switching input/switching output
Figure 7.6:SW IN/OUT, M12 socket (A-coded)
Table 7.3:Pin assignment SW IN/OUT
PinNameComment
1VOUTVoltage supply for sensors
(VOUT identical to VIN at PWR IN)
2SWIO_
1
3GNDGND for the sensors
Configurable switching input / output 1
4SWIO_
Configurable switching input / output 2
2
5FEFunctional earth
Leuze electronicBCL 604i31
ThreadFEFunctional earth (housing)
Electrical connection
1
2
3
4
The device is equipped with four freely programmable, opto-decoupled switching inputs and outputs
SWIO_1 … SWIO_4.
The two switching inputs/outputs SWIO_1 and SWIO_2 are located on the SW IN/OUT M12 socket. The
other two (SWIO_3 and SWIO_4) of the four freely configurable switching inputs/outputs are located on
the PWR M12 plug (see chapter 7.4).
The external wiring as switching input and switching output is described in the following. For the respective
function assignment to the switching inputs/outputs see chapter 10.
Function as switching input
1Output
2Switching output from controller (deactivated)
3Switching input to controller
4Reflection light scanner
Figure 7.7:Switching input connection diagram SWIO_1 and SWIO_2
NOTICE
If you use a sensor with a standard M12 connector, please note the following: Pins 2 and 4 must not be
operated as switching outputs if sensors which function as inputs are also connected to these pins. If, for
example, the inverted sensor output is connected to pin 2, and pin 2 of the bar code reader is, at the same
time, configured as an output (and not as an input), the switching output malfunctions.
NOTICE
The maximum input current must not exceed 8 mA!
Function as switching output
1
2
3
1Switching output
2Switching output from controller
3Switching input to controller (deactivated)
Each configured switching output is short-circuit proof! Do not load the respective switching output of the
device with more than 60 mA at +10 … +30 V DC in normal operation!
Leuze electronicBCL 604i32
By default, the two switching inputs/outputs SWIO_1 and SWIO_2 are configured so that they
3
1
2
4
FE
5
1
3
2
4
5
function as switching inputs. Switching input SWIO_1 activates the start reading gate function
and switching input SWIO_2 activates the reference code teach-in function.
The functions of the individual switching inputs/outputs are programmed via the display or via configuration
in the webConfig tool under the Switching input or Switching output heading (see chapter 10 "Starting up
the device - Configuration").
7.5HOST / BUS IN
The device makes an PROFIBUS DP IN interface available as host interface.
Figure 7.9:HOST/BUS IN – DP IN, M12 socket (B-coded)
Table 7.4:Pin assignment HOST / BUS IN
Electrical connection
PinNameComment
1N.C.Not used
2A (N)Receive/transmit data A-line (N)
3N.C.Not used
4B (P)Receive/transmit data B-line (P)
5FEFunctional earth
ThreadFEFunctional earth (housing)
NOTICE
Ensure adequate shielding. The entire interconnection cable must be shielded and earthed.
7.6BUS OUT
To set up the PROFIBUS with additional participants, the device makes available another interface of type
PROFIBUS DP OUT.
Figure 7.10: M12 socket (B-coded)
Leuze electronicBCL 604i33
Table 7.5:Pin assignment BUS OUT
PinNameComment
1VP+5VDC for bus termination
2A (N)Receive/transmit data A-line (N)
Electrical connection
3GND 48
5
4B (P)Receive/transmit data B-line (P)
5FEFunctional earth / shield
ThreadFEFunctional earth (housing)
NOTICE
Ensure adequate shielding. The entire interconnection cable must be shielded and earthed.
RS 485 ground reference for bus termination
7.7PROFIBUS termination
The last physical PROFIBUS participant must be terminated with a terminating resistor (see chapter 15
"Ordering information and accessories") on the BUS OUT socket.
7.8Cable lengths and shielding
Observe the following maximum cable lengths and shielding types:
Table 7.6:Cable lengths and shielding
ConnectionInterfaceMax. cable lengthShielding
BCL – serviceUSB3 mShielding absolutely
necessary acc. to USB
specifications
BCL – hostPROFIBUS DPAcc. to PNO specificationsAcc. to PNO specifica-
tions
BCL – power supply
unit
Switching input10 mNot necessary
Switching output10 mNot necessary
30 mNot necessary
Leuze electronicBCL 604i34
8Menu description
After voltage is applied to the bar code reader, a startup screen is displayed for several seconds. The
display then shows the bar code reading window with all status information.
8.1The main menus
Use the navigation buttons to move through the menu. Activate the desired selection with the enter
button .
Device informationThis menu item contains detailed information on
Menu description
• Device type
• Software version
• Hardware version
• Serial number
Network settings
Bar code reading window
Parameter
Language selection
Service
Actions
A detailed description of the individual parameters can be found in the description of the Profibus
GSD modules (see chapter 10.5 "Overview of the project modules").
Changes made via the display are overwritten!
Device settings for operating the device on the PROFIBUS are managed and configured exclu-
sively by the PLC. If parameters are changed via the display during bus operation, the device is
separated from the PROFIBUS at the moment parameter enabling is activated via the display.
Parameters set by the PROFIBUS are moved to the background, and changes to parameters
can be made via the display. When parameter enabling is exited, the device is automatically re-
connected to the PROFIBUS. Upon connection to the PROFIBUS, the device receives all param-
eters from the PLC.
• Display of the network settings
• Visualization of the read bar code information
• Status overview of the switching inputs/outputs
• Bar graphs for read quality of the current bar code
Further information see chapter "Indicators in the display".
• Configuration of the bar code reader
Further information see chapter 8.2 "Parameter menu".
• Selection of the display language
Further information see chapter 8.3 "Language selection menu".
• Scanner diagnosis and status messages
Further information see chapter 8.4 "Service menu".
• Various functions for scanner configuration and manual operation
Further information see chapter 8.5 "Actions menu".
8.2Parameter menu
Parameter handling
The Parameter handling submenu is used to lock and release the parameter input via the display and for
Default parametersBy pressing the enter button after selecting
Description
The standard setting (OFF) prevents unintended parameter
changes.
If parameter enabling is activated (ON), parameters can be
changed manually.
As long as parameter enabling is activated, the device is disconnected from the PROFIBUS.
Parameters to default, all parameters are reset to their standard settings without any further security prompts.
In this case, English is selected as the display language.
Standard
OFF
Decoder table
In the Decoder table submenu, 4 different code type definitions can be stored. Bar codes that have been
read can only be decoded if they correspond to one of the definitions stored here.
Value between 0 and 64
The value set here specifies the maximum number of labels that
should be detected for each reading gate.
No code
Code 2/5 Interleaved
Code 39
Code 32
Code UPC
Code EAN
Code 128
EAN Addendum
Codabar
Code 93
GS1 DataBar Omnidirectional
GS1 DataBar Limited
GS1 DataBar Expanded
If No code is configured, the current and all subsequent decoders
are deactivated.
Standard
1
Code 2/5i
Number of digitsInterval modeOFF/ON
Digits 10 to 64 characters
Digits 20 to 64 characters
Digits 30 to 64 characters
Digits 40 to 64 characters
Digits 50 to 64 characters
Reading reliabilityValue from 2 to 100
Check digit methodStandard
Check digit transmission
With the ON setting, the values in digits 1 and 2 define a range of
character numbers that are to be read.
First decodable number of characters or lower range limit.
Second decodable number of characters or upper range limit.
Third decodable number of characters.
Fourth decodable number of characters.
Fifth decodable number of characters.
Number or scans required to reliably detect a label.
No check
Depending on the symbology (code type) selected for the decoder,
further calculation algorithms can be selected here.
Check digit method used for the decoding of the bar code that has
been read.
If Standard is set, the check digit method intended for the respective code type is used.
Standard
Not standard
Specifies whether the check digit is transmitted. Standard means
that the transmission matches the standard intended for the
respective code type.
Determines the function of switching input/output 1.
In the case of passive, the connection is on 0 V if the
Inverted parameter is set to OFF, and on +UB if the
Inverted parameter is set to ON.
OFF = activation of the switching input function upon high
level at the switching input
ON = activation of the switching input function upon low
level at the switching input
Time in milliseconds for which the input signal must be
present and stable.
Time in milliseconds between the end of the debounce
time and activation of the function configured below.
Minimum activation time in milliseconds for the function
configured below.
Time in milliseconds for which the function configured
below remains activated after the switching input signal is
deactivated and the pulse duration has expired.
Reading gate start/stop
Reading gate stop
-Reading gate start
Teach reference code
Autoconfig start/stop
The function set here is carried out after the switching input
is activated.
OFF = activated switching output upon high level
ON = activated switching output upon low level
Time in milliseconds between activation function and
switching of the switching output.
Switch-on time of the switching output in milliseconds. If
the Pulse duration is set to 0, the switching output is
switched on via the Activation function and switched off via
the Deactivation function.
If the Pulse duration is greater than 0, the Deactivation
function has no effect.
Reading gate start
Reading gate end
Positive reference code comparison 1
Negative reference code comparison 1
Valid read result
Invalid read result
Device ready
Device not ready
Data transmission active
Data transmission not active
AutoCont. good quality
AutoCont. bad quality
Reflector detected
Reflector not detected
External event, pos. edge
External event, neg. edge
Device active
Device standby
No device error
Device error
Positive reference code comparison 2
Negative reference code comparison 2
The function set here specifies which event activates the
switching output.
Standard
OFF
0
400
No function
Deactivation function 1 See Activation function 1 for selection options
Value from 0 to 126
The PROFIBUS permits an address range from 0 to 126. Address 126
must not be used for data communication. It may only be used temporarily
for commissioning.
The default address is 126.
The address must be assigned separately for each bar code reader of
type BCL 604i
Standard
126
Leuze electronicBCL 604i40
8.3Language selection menu
Currently, there are 5 display languages available:
• German
• English
• Spanish
• French
• Italian
• Chinese
The display language and the language of the webConfig user interface are synchronized. The setting in
the display affects the webConfig tool and vice versa.
When operating the device on the PROFIBUS, the language configured in the GSD file is used
in the display.
8.4Service menu
Diagnostics
This menu item is used exclusively for service purposes by Leuze electronic.
Menu description
Status messages
This menu item is used exclusively for service purposes by Leuze electronic.
8.5Actions menu
Start decoding
Here, you can perform a single reading via the display.
Activate the single reading with the enter button and hold a bar code in the reading field of the device.
The laser beam is switched on and the following display appears:
zzzzzzzzz
Once the bar code is detected, the laser beam is switched off again. The read result zzzzzzzzz is shown
directly in the display for about 1 s. After that, the Actions menu is displayed again.
Start alignment
The alignment function makes it easy to align the device by optically displaying the read quality.
Activate the alignment function with the enter button and hold a bar code in the reading field of the
device.
At first, the laser beam is switched on continuously, enabling you to position the bar code securely in the
reading field. Once the bar code is read, the laser beam is switched off briefly and the following display
appears:
xxzzzzzz
xxRead quality in % (scans with info)
zzzzzzContents of the decoded bar code
Once the bar code has been detected, the laser beam starts to flash.
The flash frequency provides visual information on the read quality. The faster the laser beam flashes, the
higher the read quality.
Leuze electronicBCL 604i41
Menu description
In this mode, the bar code reader must reach at least 100 identical readings to obtain the result.
The more readings are required, the lower the read quality.
The read quality is displayed via the bar graph.
Start auto-setup
The auto-setup function provides an easy option for configuring the code type and number of digits of
Decoder 1.
Use the enter button to activate the auto-setup function and hold an unknown bar code in the reading
beam of the device.
The following display appears:
xxyyzzzzzz
The following information is displayed:
xxCode type of the detected code (sets the code type of Decoder 1)
012/5 Interleaved
02Code 39
03Code 32
06UPC (A, E)
07EAN
08Code 128, EAN 128
10EAN Addendum
11Codabar
12Code 93
13GS 1 Databar Omnidirectional
14GS 1 Databar Limited
15GS 1 Databar Expanded
yyNumber of digits of the detected code (sets the number of digits of Decoder 1)
zzzzzzContents of the decoded label. A appears if the label was not correctly read.
Start teach-in
The teach-in function can be used to conveniently read reference code 1.
Use the enter button to activate the teach-in function and hold a bar code which contains the content
that you wish to store as the reference code in the reading beam of the device.
The following display appears:
RC13xxzzzzzz
RC13Means that ReferenceCode number 1 is stored in RAM. This is always output
xxDefined code type (see auto-setup)
zDefined code information (1 … 63 characters)
8.6Operation
Shown here is an example describing important operating procedures in detail.
Leuze electronicBCL 604i42
Menu description
Parameter enable
During normal operation parameters can only be viewed. If parameters need to be changed, the ON menu
item in the Parameter enabling menu must be activated.
Use the navigation buttons to move through the menu. Activate the desired selection with
the enter button .
In the Parameter menu, select Parameter handling.
Press the enter button to enter the menu.
Select the Parameter enable menu item.
Press the enter button to enter the menu.
Select the ON menu item.
Press the enter button to enter the menu.
The PWR LED lights up red. You can now set individual parameters via the display.
Press the Escape button twice to return to the main menu.
If a password was stored, parameter enabling is not possible until this password is entered (see
chapter 8.6 "Operation", Password for parameter enabling).
The device is deactivated on the PROFIBUS if parameter enabling is activated via the display.
The device is reactivated on the PROFIBUS after parameter enabling is exited.
In the PROFIBUS network, configuration is performed exclusively via the PROFIBUS.
Parameters set via the display when operating the device on the PROFIBUS are overwritten by
the parameters set in the GSD modules. For GSD modules which are not actively used on the
PROFIBUS, the default settings of the bar code reader apply (see chapter 10.5 "Overview of the
project modules"). Thus, the PROFIBUS presets values to all parameters.
If parameters are changed via the display during bus operation, the device is separated from the
PROFIBUS at the moment parameter enabling is activated via the display. Parameters set by
the PROFIBUS are moved to the background, and changes to parameters can be made via the
display. When parameter enabling is exited, the device is automatically reconnected to the PRO-
FIBUS. Upon connection to the PROFIBUS, the device receives all parameters from the PRO-
FIBUS controller.
Changes made via the display are overwritten!
Device settings for operating the device on the PROFIBUS are managed and configured exclu-
sively by the PROFIBUS controller.
Password for parameter enabling
The password query is deactivated by default. To protect against unwanted changes, the password query
can be activated. The preset password is 0000 and can be changed as necessary . To switch on password
protection, proceed as follows:
Setting the password
In order to enter the password, parameter enabling must be activated.
A selected password is saved with save.
If the password is not known, the master password 2301 can always be used to enable the de-
vice.
Leuze electronicBCL 604i43
Menu description
When operating the device on the PROFIBUS, the password entered in the display has no effect.
The PROFIBUS overwrites the password with the default settings.
If a password is desired for PROFIBUS operation, it must be configured via module 62 (see
chapter 10.11.3 "Module 62 – Display").
Network configuration
For information on configuring PROFIBUS see chapter 10 "Starting up the device - Configuration".
Leuze electronicBCL 604i44
Commissioning – Leuze electronic webConfig tool
9Commissioning – Leuze electronic webConfig tool
With the Leuze webConfig tool, an operating-system independent, web-technology based, graphical user
interface is available for configuring bar code readers of the BCL 600i series.
Through the use of HTTP as communication protocol and by using only standard technologies on the client
side (HTML, JavaScript and AJAX), which are supported by all commonly used, modern browsers (e.g.
Mozilla Firefox beginning with Version 2 or Internet Explorer beginning with Version 7.0), it is possible to
operate the Leuze webConfig tool on any internet-ready PC.
9.1Connecting the service USB interface
The connection to the SERVICE USB interface of the device is established via the PC-side USB interface
using a special USB cable with 2 type A/A plugs.
9.2Installation
9.2.1System requirements
Operating system:
indows 2000
W
Windows XP (Home Edition, Professional)
Windows Vista
Windows 7
Windows 8
Computer:
PC with USB interface version 1.1 or higher
Graphics card:
min. 1024 x 768 pixels or higher resolution
Required disk capacity:
approx. 10 MB
It is recommended to update the operating system regularly and to install the current Windows
service packs.
9.2.2Installing the USB driver
In order for the device to be autom
once on your PC. To do this, you must have administrator privileges.
Please proceed according to the following steps.
Start your PC with administrator privileges and log on.
Load the CD included in the delivery contents of your device in the CD drive and start the setup.exe
program.
Alternatively, you can also download the setup program from the internet at www.leuze.com.
Follow the instructions provided by the setup program.
Upon successful installation of the USB driver, an icon automatically appears on the desktop.
To check: In the Windows device manager, a device called “Leuze electronic, USB Remote NDIS N etwork
Device” appears under the “Network adapter” device class following successful USB registration.
atically detected by the connected PC, the USB driver must be installed
If the installation failed, contact your network administrator: The settings of the firewall used may
need to be adjusted.
9.3Starting the webConfig tool
To start the webConfig tool, click the icon located on the desktop. Make certain that the device is
connected to the PC via the USB interface and that voltage is connected.
Leuze electronicBCL 604i45
Commissioning – Leuze electronic webConfig tool
Or alternatively: Open a browser on your PC and enter the following address: 192.168.61.100.
This is the default Leuze service address for communication with bar code readers of the BCL 600i series.
In both cases, the following start page appears on your PC.
Figure 9.1:The start page of the webConfig tool
The webConfig tool is completely contained in the firmware of the device. Depending on firmware
version, the start page may vary from that shown above.
The individual parameters are – where useful – graphically displayed in order to better illustrate the
meaning of the what are often perceived as abstract parameters.
The result is an easy-to-use and practically-oriented user interface!
9.4Short description of the webConfig tool
The webConfig tool has five main menus:
•Home
With information on the connected device as well as on installation. This information corresponds to
the information in this handbook.
• Alignment
For manually starting read processes and for aligning the bar code reader. The results of the read
processes are displayed immediately. As a result, this menu item can be used to determine the optimum installation location.
• Configuration
For adjusting decoding, for data formatting and output, switching inputs/outputs, communication
parameters and interfaces, etc. …
• Diagnosis
For event logging of warnings and errors.
• Maintenance
For updating the firmware.
The user interface of the webConfig tool is largely self-explanatory.
Leuze electronicBCL 604i46
9.5Module overview in the Configuration menu
The adjustable parameters of the device are clustered in modules in the Configuration menu.
Commissioning – Leuze electronic webConfig tool
Figure 9.2:Module overview in the webConfig tool
The webConfig tool is completely contained in the firmware of the device. Depending on firmware
version, the module overview may vary from that shown above.
The individual modules and their relationships to one another are graphically displayed in the module overview. The display is context sensitive, i.e. click a module to directly access the corresponding submenu.
An overview of the modules:
• Decoder
Definition of code types, code-type features and number of digits of the labels that are to be decoded
• Data processing
Filtering and processing of the decoded data
• Output
Sorting of the processed data and comparison with reference codes
• Communication
Formatting of the data for output via the communication interfaces
• Control
Activation/deactivation of decoding
• Switching input
Activation/deactivation of read processes
• Switching output
Definition of events which activate/deactivate the switching output
• Display
Formatting of the data for output on the display
10.1General information on the PROFIBUS implementation
10.1.1 Communication profile
The communication profile defines how participants serially transmit th
medium. The device supports the communication profile for automation systems and decentral periphery
-> PROFIBUS DP.
DP communication profile
The PROFIBUS DP communication profile is designed for efficient data exchange on the field level. Data
exchange with the decentral devices occurs primarily cyclically. The necessary communication functions
are defined in the DP base functions. The DP optionally offers acyclic communication services as well.
These are used for configuring, operating, observing and alarm handling.
In order to be able to perform data exchange, services are defined which PROFIBUS DP differentiates
between on the basis of the data access points transmitted in the telegram header.
The profile of the device is based on the PROFIBUS profile for identification systems.
Starting up the device - Configuration
eir data via the transmission
10.1.2 Bus-access protocol
The PROFIBUS communication profiles
by layer 2 of the OSI model. The bus-access control (MAC) defines the process for specifying the point in
time at which a network device can transmit data. It must ensure that no more than one participant has
permission to transmit at any given time. The PROFIBUS bus-access process includes the token-passing
process and the master-slave process.
Table 10.1:PROFIBUS bus-access processes
ProcessDescriptionBCL 604i
Token-passing processWith this process, the bus-access permission is distributed by means of a token. The
Master-slave processVarious slave devices are assigned to a master. The master can address the slaves
The two processes can also be mixed in order to create a multi-master system. The device functions both
in a mono-master system as well as in a multi-master system.
In 2007, the PROFIBUS DP was extended by the DPV2 specification. The specification will then
also permit slave-slave communication. The device does not support this type of communication.
(DP,FMS) use a uniform bus-access process. It is implemented
participant obtains permission to transmit with the token. The token wanders between
the master devices in the ring in a permanently defined time frame. This type of bus
access is used for communication between the masters.
which are assigned to it and fetch messages from them. The master always has the
initiative.
No
Yes
10.1.3 Device types
With the PROFIBUS DP, there are two types of master and one type of slave:
Table 10.2:PROFIBUS DP master and slave types
Device typeDescriptionBCL 604i
Class 1 master (DPM1)Class 1 masters are defined for the user-data communication.
Class 2 master (DPM2)Class 2 masters are defined for commissioning purposes. Additional services facili-
SlaveThe slave is a peripheral device which makes available input data for the control and
Leuze electronicBCL 604i48
(e.g.PLC,PC)
tate easier configuration as well as device diagnosis.
receives output data from the control.
X
The device is defined as a slave in device master file (GSD file) of the BCL 604i!
10.1.4 Expanded DP functions
The PROFIBUS standard has been exp
acyclic services. These services operate in parallel with the cyclic user-data communication. Masters and
slaves can use additional READ and WRITE functions as well as ALARM functions. This is intended especially for operation with an engineering tool (DP-master class 2, DPM2) in order to change parameters and
read out status information during normal operation.
The acyclic services operate with lower priority. The functions are different for the various master classes.
Table 10.3:Services for DPVM1 class 1 and slaves
FunctionSlave SAPDescriptionBCL 604i
MSAC1_ReadSAP51Read datablock at slaveYes
MSAC1_WriteSAP51Write datablock at slaveYes
MSAC1_Alarm_AcknowledgeSAP50Alarm acknowledge from master to slaveNo
Starting up the device - Configuration
anded (DPV1) and, in addition to the cyclic services, also offers
a)
b)
MSAC2_Read51Read datablock at slaveNo
MSAC2_Write51Write datablock at slaveNo
MSAC2_Initiate49Establish connection between DPM2 and slaveNo
MSAC2_Abort0 … 48Establish connection between DPM2 and slaveNo
MSAC1_Data_Transport0 … 48Write data to slave and read data from slave in a service
a) For I&M functionality
b) For I&M functionality
All expanded services are not implemented for the first PROFIBUS profile of the device.
10.1.5 Automatic baud rate detection
The PROFIBUS implementation of the device features automatic bau
function and offers no possibility for manual or permanent adjustment. The following baud rates are
supported:
Automatic baud rate detection is indicated in the device master file of the device: Auto_Baud_supp = 1
10.2Measures to be performed prior to the initial commissioning
Before commissioning, familiarize yourself with the operation and configuration of the device.
Before connecting the supply voltage, recheck all connections and ensure that they have been properly
made.
Leuze electronicBCL 604i49
Starting up the device - Configuration
345
2
1
1Service, USB socket, type A
2SW In/Out, M12 socket (A-coded)
3Bus Out, M12 socket (D-coded)
4Host/Bus In, M12 socket (D-coded)
5PWR, M12 plug (A-coded)
Figure 10.1: Connections of the device
Check the applied voltage. It must be in the range between +10V … 30 V DC.
Connecting functional earth FE
Ensure that the functional earth (FE) is connected correctly.
NOTICE
Unimpaired operation is only guaranteed when the functional earth is connected properly. All electrical
disturbances (EMC couplings) are discharged via the functional earth connection.
10.3Setting the address
10.3.1 Setting the device address on the display
The device display has an important function for
PROFIBUS address is set, i.e. the respective station number of the network device.
The address can only be set via the display if parameter enabling is active (see chapter 8.6).
The set address must be
slave on the PROFIBUS with its specific address and that it is initialized and queried by the PLC.
The PROFIBUS permits an address range from 0 to 126. Address 126 must not be used for data communication. It may only be used temporarily for commissioning. The default address is 126.
The address must be assigned separately for each bar code reader of type BCL 604i, which can be done
by entering on the display or using the webConfig tool.
³ 0 and < 126. Each network device is thereby automatically informed that it is a
setting the PROFIBUS address. This is where the
The device does not allow address assignment via PROFIBUS!
In order to set the address via the display, proceed as follows:
Use the navigation buttons to move through the menu. Activate the desired selection with
the enter button .
In the main menu, select the Parameter menu.
Select the PROFIBUS menu item.
Press the enter button to enter the menu.
Leuze electronicBCL 604i50
Select the PROFIBUS address menu item.
Press the enter button to enter the menu.
Set the desired PROFIBUS address.
Select the Save menu item.
Press the enter button in order to save the set PROFIBUS address.
After saving the PROFIBUS address, the device performs a restart and subsequently displays the bar
code reader menu.
Check the address you have set at the top right of the display.
Permissible values for the PROFIBUS address are 0 … 125. Make sure that you assign a differ-
ent PROFIBUS address for each PROFIBUS participant
All other parameters required for the reading task, such as setting the code type and number of digits, etc.,
are set using the engineering tool of the PLC with the aid of the various available modules (see
chapter 10.4).
10.4Commissioning via the PROFIBUS
10.4.1 General information
The device is designed as a PROFIBUS
eter sets which are clustered in modules. The modules are included in a GSD file, which is supplied as an
integral part of the device. By using a user-specific configuration tool, such as, e.g., Simatic Manager for
the programmable logic control by Siemens, the required modules are integrated into a project during
commissioning and its settings and parameters are adjusted accordingly. These modules are provided by
the GSD file.
Starting up the device - Configuration
slave device. The functionality of the device is defined via param-
Reception of the input data and sending of the output data are described from the perspective of
the control (IO controller).
10.4.2 Preparing the control system for consiste
During programming the control sys
tem must be prepared for consistent data transmission. This varies
from control system to control system. The following possibilities are available for the Siemens control
systems.
S7
The specific function blocks SFC 14 for input data and SFC 15 for output data must be integrated in the
program. These are standard function blocks and are used to facilitate consistent data transmission.
10.4.3 General information
on the GSD file
You can find the GSD file for the respective device model at www.leuze.com.
All data in modules required for operating the device is described in this file. These are input and output
data and device parameters for the functioning of the device and the definition of the control and status
bits.
If parameters are changed, e.g., in the project tool, these changes are stored on the PLC side in the
project, not in the GSD file. The GSD file is a certified and integral part of the device and must not be
changed manually. The file is not changed by the system either.
The functionality of the device is defined via parameter sets. The parameters and their functions are structured in the GSD file using modules. A user-specific configuration tool is used during PLC program creation
to integrate the required modules and configure them appropriately for their respective use. During operation of the device on the PROFIBUS, all parameters are set to default values. If these parameters are not
changed by the user, the device functions with the default settings delivered by Leuze electronic.
For the default settings of the device, please refer to the following module descriptions.
nt data transmission
Leuze electronicBCL 604i51
Please note that the set data is overwritten by the PLC!
Some controls make available a so-called “universal module”. This module must not be activated
for the device!
From the perspective of the device, a distinction is made between PROFIBUS parameters and internal
parameters. PROFIBUS parameters are all parameters that can be changed via the PROFIBUS and are
described in the following modules. Internal parameters, on the other hand, can only be changed via a
service interface and retain their value even following a PROFIBUS configuration.
During the configuration phase, the device receives a parameter telegram from the master. Before this is
evaluated and the respective parameter values are set, all PROFIBUS parameters are reset to default
values. This ensures that the parameters of modules that are not selected are set to the default values.
This does not affect modules 1-4 for the code table extension. By default, all but the first code
table entry are locked. If “no code” is selected here, all subsequent code tables are deactivated
(see chapter 10.6.1 "Modules 1-4 – Code table extensions 1 to 4").
10.4.4 Permanently defined parameters/device parameters
On the PROFIBUS, parameters may be stored in modules or may be defined permanently in a PROFIBUS
participant.
The permanently defined parameters are called “common” parameters or device-specific parameters,
depending on the configuration tool.
These parameters must always be present. They are defined outside of the modules and are permanently
anchored in the telegram header.
Starting up the device - Configuration
Hilscher master controller
The fixed parameters for Slave Configuration -> Parameter Data -> Common are set in SyCon. The
module parameters are set under Slave Configuration -> Parameter Data -> Module.
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.
The following list contains the parameters that are permanently defined in the device but are configurable.
These parameters always exist and are available independent of the modules.
a) Specifying a 0 for the number of digits means that this entry is ignored for the device.
Parameter length
33 bytes
Input data
None
Output data
None
0-
0-
Notice on number of digits
If 0 is specified in a field for the number of digits, the corresponding parameter is ignored by the device
firmware.
Example:
Leuze electronicBCL 604i54
For a code table entry x, the two code lengths 10 and 12 are to be enabled. For this purpose, the following
number of digit entries are necessary:
• Number of digits mode x = 0 (enumeration)
Number of digits x.1 = 10
Number of digits x.2 = 12
Number of digits x.3 = 0
Number of digits x.4 = 0
Number of digits x.5 = 0
10.5Overview of the project modules
In the current version, a total of 56 modules are available for use. A device module (see chapter 10.4.4
"Permanently defined parameters/device parameters") is used for basic configuration of the device and is
permanently integrated into the project. Further modules may be included into the project according to
requirements and application.
The modules fall into the following categories:
• Parameter module for the configuration of the device.
• Status or control modules that influence the input/output data.
• Modules that may include both parameters and control or status information.
A PROFIBUS module defines the existence and meaning of the input and output data. In addition, it
defines the necessary parameters. The arrangement of the data within a module is defined.
The composition of the input/output data is defined via the module list.
The device interprets the incoming output data and triggers the appropriate reactions in the device. The
interpreter for processing the data is adapted to the module structure during initialization.
The same applies for the input data. Using the module list and the defined module properties, the input
data string is formatted and referenced to the internal data.
During cyclic operation, the input data is then passed on to the master.
Starting up the device - Configuration
The modules can be grouped together in any order in the engineering tool. The device offers 56
different modules. Each of these modules may only be selected once; otherwise, the device ig-
nores the configuration. The device checks its max. permissible number of modules. In addition,
it checks the max. permissible total length (244 bytes each) of the input and output data over all
selected modules. The specific limits of the individual modules of the device are declared in the
GSD file.
The following module overview shows the characteristics of the individual modules:
Table 10.6:Module overview
ModuleDescriptionModule
Decoder
Code table extension 1Extension of the existing code table1800
Code table extension 2Extension of the existing code table2800
Code table extension 3Extension of the existing code table3800
Code table extension 4Extension of the existing code table4800
Code type propertiesThe module permits changing the muted zones
Code reconstruction technologySupport of code reconstruction technology7300
Control
as well as the line-gap ratios
identifier
5600
Parame-
a)
ter
Outp.
data
Inp. data
ActivationsControl bits for activation of the standard reading
Reading gate controlExtended control of the reading gate11600
Multi-labelOutput of several bar codes per reading gate12210
Leuze electronicBCL 604i55
operation
10101
Starting up the device - Configuration
ModuleDescriptionModule
Fragmented read resultTransmission of the read results in the frag-
Interlinked read resultInterlinking of the individual read results within
Result Format
Decoder stateStatus display - decoding20010
Decoding result 1Bar code information 4 bytes max.21060
Decoding result 2Bar code information 8 bytes max.220100
Decoding result 3Bar code information 12 bytes max.230140
Decoding result 4Bar code information 16 bytes max.240180
Decoding result 5Bar code information 20 bytes max.250220
Decoding result 6Bar code information 24 bytes max.260260
Decoding result 7Bar code information 28 bytes max.270300
Data formattingSpecification for formatting the data output302300
Reading gate numberNumber of the reading gate since system start-up31020
Number of scans per reading gateNumber of scans per reading gate32020
mented mode
one reading gate
identifier
13120
14100
Parame-
a)
ter
Outp.
data
Inp. data
Code positionRelative position of the bar code label in the
Reading reliabilityCalculated reading reliability for the transmitted
Scans per bar codeNumber of scans between the first and the last
Scans with informationNumber of scans with processed information36020
Decoding qualityQuality of the read result37010
Code directionOrientation of the bar code38010
Number of digitsNumber of digits in the bar code39010
Code typeBar code type40010
Code position in the swivel rangeCode position in the swivel range of an oscillat-
Data Processing
Characteristics filterConfiguration of the characteristics filter50TBDTBDTBD
Data filteringConfiguration of the data filtering516000
Segmentation acc. to the EAN processActivation and configuration of the segmentation
Segmentation via fixed positionsActivation and configuration of the segmentation
scanning beam
bar code
time of detecting the bar code
ing mirror device
acc. to the EAN process
via fixed positions
33020
34020
35020
41020
522700
533700
Segmentation acc. to identifier and separatorActivation and configuration of the segmentation
String handling parameterDefinition of placeholder characters for bar code
Device-Functions
Device statusDisplay of the device status as well as control
Laser controlSwitch-on and switch-off positions of the laser61400
acc. to identifier and separator
segmentation, filtering, completion and reference code processing
bits for reset and standby
542900
55300
60011
Leuze electronicBCL 604i56
Starting up the device - Configuration
ModuleDescriptionModule
DisplayDisplay parameter settings62300
AlignmentAlignment mode63011
Oscillating mirrorConfiguration of the oscillating mirror64600
Check digit output Turns the check digit output on or off. Standard
Used check digit procedure.7.0 … 7.6 BitArea0: Standard check digit
means that the check digit is transmitted
according to the applicable standard for the
selected code type.
If no check digit transmission is intended for
the selected code type, then “Standard” means
that the check digit is not transmitted and “Not
Standard” means that the check digit is transmitted anyway.
UPC-E extensionSwitches the extension of a UPC-E code to a
Code 128: activate EAN header
Code 39 conversion
Max. permitted width deviation of a character
in percent of the directly adjacent character.
Permissible ratio between maximum and minimum element of Code 39.
Permissible ratio for the gap between two
characters for Code 39.
Permissible ratio between maximum and minimum element of the Codabar code.
Permissible ratio for the gap between two
characters for the Codabar code.
The decoding of a Monarch bar code as Codabar bar code can be switched on or off.
Switches the transmission of a start and stop
character for the Codabar code on and off.
UPC-A result on and off.
Switches the output of the EAN header on and
off.
Defines the conversion method used for Code
39.
0UNSIGNED8 0 … 10015%
1UNSIGNED80 … 2558-
2UNSIGNED80 … 2553-
3UNSIGNED80 … 2558-
4UNSIGNED80 … 2553-
5.0Bit0: Off
5.1Bit0: Off
5.4Bit0: Off
5.5Bit0: Off
5.6 … 5.7 BitArea0: Standard (usual conver-
1: On
1: On
1: On
1: On
sion method)
1: Standard ASCII (combination of standard method
and ASCII method)
2: ASCII (This conversion
method uses the entire
ASCII character set)
0-
0-
0-
0-
0-
Parameter length
6 byte
Input data
None
Output data
None
10.6.3 Module 7 – Code reconstruction technology
Description
Module for supporting the code reconstruction technology.
The maximum width ratio is used to determine
the light zones. The light zones identify the
beginning or end of patterns.
A pattern must have at least this minimum
number of duo-elements, i.e. no patterns
which have fewer duo-elements.
This parameter can be used to switch CRT
mode on and off.
0UNSIGNED8 0 … 25513-
1 … 2UNSIGNED16 2 … 4006-
3.0Bit0: Switched off
1: Switched on
1-
Processing end at
end of label
If this parameter is set, a decoded bar code is
only completely decoded after the scanning
beam has exited the entire bar code.
3.2Bit0: Switched off
1: Switched on
0-
Leuze electronicBCL 604i59
Parameter length
4 byte
Input data
None
Output data
None
Processing end at end of label:
If this parameter is set, a decoded bar code is only completely decoded after the scanning beam has exited
the entire bar code. This mode is useful if the quality of the bar code is to be assessed, since more scans
are now available for the quality evaluation of the bar code.
This parameter should be set if the AutoControl function is activated (see chapter 10.15.3 "Module 92 –
AutoControl"). If the parameter is not set, the bar code is immediately detected and processed further as
soon as all necessary bar code elements are available.
10.7Control modules
10.7.1 Module 10 – Activations
Description
The module defines the control signals for the reading operation of the bar code reader. It is possible to
select between standard reading operation and handshake operation.
In handshake operation, the controller must acknowledge the data reception via the ACK bit before the
new data is written into the input area.
After acknowledging the last decoding result, the input data is reset (filled with zeros).
Output dataDescriptionAddr.Data typeValue rangeInit value Unit
Reading gateSignal for activating the reading gate0.0Bit1 -> 0: Reading gate off
0 -> 1: Reading gate
active
0-
Free0.1Bit0-
Free0.2Bit0-
Free0.3Bit0-
Data acknowledgement
Leuze electronicBCL 604i60
This control bit signals that the transmitted
data have been processed by the master.
Only relevant in handshake mode (with ACK).
0.4Bit0 -> 1: Data has been processed by the master
1 -> 0: Data has been processed by the master
0-
Starting up the device - Configuration
Output dataDescriptionAddr.Data typeValue rangeInit value Unit
Data resetDeletes decoding results that may have been
stored and resets the input data of all modules.
Free0.6Bit
Free0.7Bit
0.5Bit0 -> 1: Data reset0-
Output data length
1 byte consistent
If several bar codes are decoded in sequence without the acknowledge mode having been acti-
vated, the input data of the result modules are overwritten with the respective most recently read
decoding result. If a data loss in the control is to be avoided in such a case, mode 1 (with Ack)
should be activated. If multiple decoding results occur within one reading gate, it is possible - de-
pendent on the cycle time - that only the last decoding result is visible on the bus. In this case,
the acknowledge mode MUST be used. There is otherwise a risk of data loss. Multiple, individual
decoding results may occur within one reading gate if module 12 – Multi-label (see
chapter 10.7.3) or one of the identifier modules (see chapter 10.10) is used.
Data reset behavior:
If the data reset control bit is activated, the following actions are carried out:
1.Deletion of decoding results that may still be stored.
2.Reset of module 13 - fragmented read result (see chapter 10.7.4), i.e., even a partially transmitted
read result is deleted.
3.Deletion of the input data areas of all modules. Exception: The input data of module 60 - device status (see chapter 10.11.1) is not deleted. For the status byte of decoding result modules 20 … 27
(see chapter 10.8.2), the two toggle bytes and the reading gate status remain unchanged.
10.7.2 Module 11 – Reading gate control
Description
With the module, the reading gate control of the bar code reader can be adapted to the application. With
different parameters from the bar code reader, a time-controlled reading gate may be created. In addition,
it defines the internal criteria for the reading gate end and the completeness inspection.
Leuze electronicBCL 604i61
Starting up the device - Configuration
Parameter
Table 10.12:Parameters for module 11
ParameterDescriptionAddr.Data typeValue rangeDefault Unit
Automatic reading
gate repeat
Reading gate end
mode/completeness
mode
Restart delayThe parameter specifies a time after which a
The parameter defines the automatic repeat of
reading gates.
This parameter can be used to configure the
completeness inspection.
reading gate is restarted. The device generates its own periodic reading gate.
The configured time is active only if the automatic reading gate repeat is switched on.
0Byte0: No
1Byte0: Independent of decod-
2UNSIGNED16 0 … 655350ms
1: Yes
ing, i.e., the reading gate
is not terminated prematurely.
1: Dependent on decoding, i.e, the reading gate is
terminated if the configured number of bar codes
to be decoded has been
a)
reached.
2: DigitRef table-dependent, i.e., the reading gate
is terminated if each bar
code stored in the code
type table has been
decoded.
3: Ident list dependent,
i.e., the reading gate is
terminated if each identifier stored in a list could
be segmented via a
respective bar code segmentation.
4: Reference code comparison, i.e., the reading
gate is terminated if a positive reference code comparison has taken place.
d)
b)
c)
0-
1-
Max. reading gate
time when scanning
The parameter switches off the reading gate
after the set time has elapsed, thus limiting the
reading gate to the set period.
a) see chapter 10.7.2 "Module 11 – Reading gate control"
b) Corresponds to the settings made via the device module (see chapter 10.4.4, see chapter 10.6.1).
c) see chapter 10.10, modules 52-54, identifier filter string
d) see chapter 10.14.3, see chapter 10.14.4
Parameter length
6 byte
Input data
None
Output data
None
10.7.3 Module 12 – Multi-label
Description
The module permits the definition of multiple bar codes with a different number of digits and/or code types
in the reading gate and provides the necessary input data.
a) see chapter 10.7.2, Parameters “Reading gate termination mode”
Minimum number of different bar codes
scanned for per reading gate.
Maximum number of different bar codes
scanned for per reading gate. Only if this number of bar codes has been reached, the reading gate is terminated prematurely.
a)
0UNSIGNED80 … 641-
1UNSIGNED80 … 641-
Parameter length
2 bytes
Input data
Table 10.14:Input data for module 12
Input dataDescriptionAddr.Data typeValue rangeInit value Unit
Number of decoding results
Number of decoding results which have not
been fetched.
0UNSIGNED8 0 … 2550-
Input data length
1 byte
Output data
None
This module is used to set the maximum and minimum number of bar codes which are to be decoded
within a reading gate.
If parameter “Minimum number of bar codes” = 0, it is not taken into account at the decoder controller. If it
is not equal to 0, this means that the bar code reader expects a number of labels within the set range.
If the number of decoded bar codes is within the set limits, no additional “No Reads” are output.
When using this module, the ACK mode should be activated (see chapter 10.7.1 "Module 10 –
Activations", “Mode” parameter). Otherwise there is a risk of losing decoding results if the control
is not fast enough.
10.7.4 Module 13 – Fragmented read result
Description
The module defines the transfer of fragmented read results. To occupy few i/o-data, the read results may
be split into several fragments with this module. The fragments can then be transmitted one after another
with a handshake.
This parameter is used to define a delimiter
that is inserted between two individual decoding results.
0.4 … 0.7 Bitarea0 … 150-
1UNSIGNED80 … 280-
0UNSIGNED81 … 255
0: No delimiter is used.
’;’-
Parameter length
1 byte
Input data
None
Output data
None
An interlinked read result also requires module 12 – Multi-label. In this mode, the additional in-
formation transmitted in modules 31ff relates to the last decoding result in the chain.
10.8Result Format
In the following various modules for the output of decoding results are listed. They have the same structure
but different output lengths. The PROFIBUS module concept does not cater for modules of variable data
length.
Modules 20 … 27 are, thus, to be regarded as alternatives and should not be used in parallel.
Modules 30 … 40, on the other hand, can be combined freely with the decoding result modules.
10.8.1 Module 20 – De
coder state
Description
The module indicates the state of the decoding and of the automatic decoder configuration.
Leuze electronicBCL 604i64
Starting up the device - Configuration
Parameter
None
Input data
Table 10.18:Input data for module 20
Input dataDescriptionAddr.Data typeValue rangeInit value Unit
Reading gate state The signal indicates the current state of the
New resultThe signal indicates whether a new decoding
Result stateThe signal indicates whether the bar code has
Further results in
the buffer
Buffer overflowThe signal indicates that result buffers are
New decodingToggle bit indicates whether decoding has
Result stateToggle bit indicates that the bar code has not
Waiting for
acknowledgement
a) Attention: This does not necessarily correspond to the state at the time the bar code is scanned
reading gate
has occurred.
been read successfully.
The signal indicates whether further results are
in the buffer.
occupied and the decoder rejects data.
occurred.
been read.
This signal represents the internal state of the
control.
a)
.
0.0Bit0: Off
0.1Bit0: No
0.2Bit0: Successful reading
0.3Bit0: No
0.4Bit0: No
0.5Bit0->1: New result
0.6Bit0->1: NOREAD
0.7Bit0: Base state
1: On
1: Yes
1: NOREAD
1: Yes
1: Yes
1->0: New result
1->0: NOREAD
1: Control waiting for
acknowledgement from
the PROFIBUS master
Input data length
1 byte
Output data
None
0-
0-
0-
0-
0-
0-
0-
0-
Remarks
The following bits are constantly updated, i.e. they are updated immediately after the respective event
occurs:
Reading gate state
• Further results in the buffer
• Buffer overflow
• Waiting for acknowledgement
All other flags refer to the currently output decoding result.
If the input data is reset to the init. value, the following bits are deleted (see chapter 10.8.3 "Module 30 –
Data formatting"):
• New result
• Result state
All others remain unchanged.
Data reset behavior:
Upon data reset the input data is deleted, except for the reading gate status and the two toggle bits (see
chapter 10.7.1 "Module 10 – Activations").
10.8.2 Modules 21-27 – Decoding result
Description
The module defines the transfer of the actually decoded read results. The data is transmitted consistently
over the entire range.
Leuze electronicBCL 604i65
Parameter
None
Input data
Table 10.19:Input data for modules 21 … 27
Starting up the device - Configuration
Module
no.
21 … 27Reading
21 … 27New resultSignal indicates whether a new decoding
21 … 27Result state Signal indicates whether the bar code has
21 … 27Further
21 … 27Buffer over-
21 … 27New resultToggle bit, indicates that a new decoding
21 … 27Result state Toggle bit indicates that the bar code has not
21 … 27Waiting for
21 … 27Bar code
21DataBar code information with a length of consis-
The signal indicates the current state of the
reading gate.
result is present.
been read successfully.
Signal indicates whether further results are in
the buffer.
Signal indicates that result buffers are occupied and the decoder rejects data.
result is present.
been read.
This signal represents the internal state of the
control.
Data length of the actual bar code information.
tently 4 bytes.
a)
b)
0.0Bit0: Off
0.1Bit0: No
0.2Bit0: Successful reading
0.3Bit0: No
0.4Bit0: No
0.5Bit0->1: New result
0.6Bit0->1: NOREAD
0.7Bit0: Base state
1UNSIGNED8 0-480-
2..4x
UNSIGNED8
1: On
1: Yes
1: NOREAD
1: Yes
1: Yes
1->0: New result
1->0: NOREAD
1: Control waiting for
acknowledgement from
the PROFIBUS master
0-FFh0-
0-
0-
0-
0-
0-
0-
0-
0-
22DataBar code information with a length of consis-
23DataBar code information with a length of consis-
24DataBar code information with a length of consis-
25DataBar code information with a length of consis-
26DataBar code information with a length of consis-
27DataBar code information with a length of consis-
tently 8 bytes.
tently 12 bytes.
tently 16 bytes.
tently 20 bytes.
tently 24 bytes.
tently 28 bytes.
2..8x
UNSIGNED8
2..12x
UNSIGNED8
2..16x
UNSIGNED8
2..20x
UNSIGNED8
2..24x
UNSIGNED8
2..28x
UNSIGNED8
0-FFh0-
0-FFh0-
0-FFh0-
0-FFh0-
0-FFh0-
0-FFh0-
a) Attention: This does not necessarily correspond to the state at the time the bar code is scanned
b) If the bar code information (bar code and, possibly, other items such as the check sum) fits in the selected module
width, this value reflects the length of the transmitted data. A value larger than the module width indicates a loss of infor-
mation caused by a module width which has been selected too small.
Input data
2 bytes consistently + 4..28 bytes of bar code information depending on the module
Output data
None
Remarks
The remarks for module 20 – decoder state, apply in an analogous manner. In addition, all bytes beginning
with address 1 are reset to the init. value.
Leuze electronicBCL 604i66
Shortening decoding results that are too long: If the bar code information (bar code possibly in-
cluding supplementary information such as the check sum) does not fit in the selected module
width, the decoding results are shortened. This shortening is either from the left or the right de-
pending on the setting in module 30 – Data formatting.
Shortening is indicated by the passed bar code data length.
10.8.3 Module 30 – Data formatting
Description
module defines the output string for the case that the device could not read a bar code. In addition,
The
the initialization of the data fields and the definition of unused data ranges may be set.
Data alignmentThe parameter defines the alignment of the
Fill modeThe parameter defines the fill mode for the
Fill characterThe parameter defines the character which is
a) and thus also controls possible shortening of a decoding result that is too large.
The parameter defines the output characters if
no bar code could be read.
The parameter defines the state of the data at
the start of the reading gate.
data in the result field
unoccupied data ranges
used for filling up the data ranges.
a)
0STRING
20.5Bit0: Input data remain on
21.1Bit0: Left-justified
21.4 … 21.7Bitarea0: No fill up
22UNSIGNED8 0 … FFh0-
20 characters
null terminated
Parameter length
23 byte
Input data
None
Output data
None
1 … 20 bytes of ASCII
characters
the old value
1: Input data is reset to the
init value
1: Right-justified
3: Fill up to the transmission length
63 („?“)-
0-
0-
3-
Comment
The "decoding result at reading gate start" parameter is only taken into account if the "Without ACK" mode
is set (see chapter 10.7.1 "Module 10 – Activations").
10.8.4 Module 31 – Reading gate numbe
r
Description
The module defines input data for the communication of the number of reading gates since system start.
Parameter
None
Leuze electronicBCL 604i67
Starting up the device - Configuration
Input data
Table 10.21:Input data for module 31
Input dataDescriptionAddr.Data typeValue rangeInit value Unit
Reading gate number
The device transmits the current reading gate
number. The reading gate number is initialized
with the system start and is then incremented
continuously. At 65535, an overflow occurs
and the counter starts afresh from 0.
Input data length
2 byte consistent
Output data
None
10.8.5 Module 32 – Reading gate time
Description
This mod
ule returns the time between opening and closing of the last reading gate.
Parameter
None
Input data
Table 10.22:Input data for module 32
Input dataDescriptionAddr.Data typeValue rangeInit value Unit
Opening duration
of the reading gate
Opening duration of the last reading gate in
ms.
0 … 1UNSIGNED16 0 … 655350-
0 … 1UNSIGNED16 0 … 65535
If the range is exceeded,
the value remains at
65535
0ms
Input data length
2 byte consistent
Output data
None
10.8.6 Module 33 – Co
Description
The module defines input data for the communication of the relative bar code position in the laser beam.
Parameter
None
Input data
Table 10.23:Input data for module 33
Input dataDescriptionAddr.Data typeValue rangeInit value Unit
Code positionRelative position of the bar code in the scanner
Input data length
2 byte consistent
de position
beam. The position is normalized to the zero
position (middle position).
Specified in 1/10 degrees.
Determines how bar codes with the same content are to be managed
If this criterion has been activated, the bar
code type is used to determine whether the bar
codes are identical.
If this criterion has been activated, the bar
code content is used to determine whether the
bar codes are identical.
If this criterion has been activated, the bar
code direction is used to determine whether
the bar codes are identical.
If this parameter is not equal to 0, the bar code
position in the scanning beam is used to determine whether identical bar codes have already
been decoded.
In this case, a +/- bandwidth in degrees must
be specified, within which the same bar code is
permitted to be in the scanning beam.
If this parameter is not equal to 0, the bar code
position in the swivel range of the oscillating
mirror is used to determine whether identical
bar codes have already been decoded. A +/bandwidth in degrees must then be specified,
within which the same bar code is permitted to
be in the oscillating mirror swivel range.
0UNSIGNED80: All bar codes are stored
1.0Bit0: deactivated
1.1Bit0: deactivated
1.2Bit0: deactivated
2 … 3UNSIGNED16 0 … 45001/10
4 … 5UNSIGNED16 0 … 20001/10
and output.
1: Only non-identical bar
code contents are output.
2: Two identical bar codes
arranged in T-shape are
treated as a single bar
code.
1: activated
1: activated
1: activated
1-
1-
1-
1-
degree
degree
Comparison
parameter - scanning time info
If this parameter is not equal to 0, the decoding
time (time at which the bar code was decoded)
is used to determine whether identical bar
codes have already been detected. Here, a difference time specified in milliseconds ensures
that identical bar codes may only occur within
this time.
6 … 7UNSIGNED16 0 … 655350ms
Parameter length
8 byte
Input data
None
Output data
None
All comparison criteria are AND linked; this means all active comparisons must be fulfilled before the just-
decoded bar code can be identified as already decoded and then deleted.
Filter string
The filter string is used to define passthrough filters for bar codes.
An arbitrary number of '?' are permitted as placeholders for an arbitrary character at exactly this position.
Also permitted are '*' as placeholders for a character sequence of arbitrary length, and an 'x' if the character at the respective position is to be deleted.
10.10 Identifier
The following modules can be used to specify the segmentation process to be used when extracting identifiers from the bar code data.
When a module is configured, the associated segmentation process is activated. If none of the modules
is configured, no segmentation takes place.
Therefore, the modules can only be used one at a time and not simultaneously.
Filter expression 10STRING
Filter expression 230STRING
30 characters
null terminated
30 characters
null terminated
1 … 30 bytes of ASCII
characters
1 … 30 bytes of ASCII
characters
\00-
\00-
When using one of the following modules, multiple results may occur within a reading gate.
If there are multiple results, acknowledge mode must be used; data may otherwise be lost (see
chapter 10.7.1 "Module 10 – Activations", “Mode” parameter and the additional notices)!
10.10.1Module 52 – Segmen
tation according to the EAN process
Description
The module activates the segmentation according to the EAN process. The parameters specify the iden-
Identifier 1The identifier string is used for the identifier list
Identifier 2See identifier 1.5STRING
Identifier 3See identifier 1.10STRING
Identifier 4See identifier 1.15STRING
Identifier 5See identifier 1.20STRING
Identifier output
Output with identifier
Output delimiterThis delimiter, if not equal to 0, is inserted
and the filtering according to the segmentation.
If this switch is not set, the output of the identifiers is suppressed. Only the data values that
belong to the identifiers are displayed in this
case.
between the identifier and the associated data
value in the output.
0STRING
25.0Bit0: Output of the identifiers
26UNSIGNED80 … 1270-
5 characters
null terminated
5 characters
null terminated
5 characters
null terminated
5 characters
null terminated
5 characters
null terminated
1 … 5 bytes of ASCII
characters
1 … 5 bytes of ASCII
characters
1 … 5 bytes of ASCII
characters
1 … 5 bytes of ASCII
characters
1 … 5 bytes of ASCII
characters
is suppressed.
1: Identifiers are output.
‘*‘-
\0-
\0-
\0-
\0-
1-
Parameter length
27 byte
Input data
None
Output data
None
Identifier string n (n = 1 … 5)
The identifier string defines both the identifier list for the segmentation and the passthrough filter for the
subsequent filtering.
The string may contain wildcards. That is, an arbitrary number of '?' are permitted as placeholders for an
arbitrary character at exactly that position.
Also permitted are '*' as placeholders for a character sequence of arbitrary length, and an 'x' if the char-
acter at the respective position is to be deleted. There are a total of 5 identifier strings.
An identifier with less than 5 characters must be null terminated. However, if the identifier string consists
of exactly 5 characters, it does not have to be null terminated.
10.10.2Module 53 – Segmentation via fixed positions
Description
The module activates the segmentation via fixed positions. The parameters specify the identifiers to be
Identifier 1The identifier string is used for the identifier list
Identifier 2See identifier 1.5STRING
Identifier 3See identifier 1.10STRING
Identifier 4See identifier 1.15STRING
Identifier 5See identifier 1.20STRING
Identifier output
Output with identifier
Output delimiterThis delimiter, if not equal to 0, is inserted
and the filtering according to the segmentation.
If this switch is not set, the output of the identifiers is suppressed. Only the data values that
belong to the identifiers are displayed in this
case.
between the identifier and the associated data
value in the output.
0STRING
25.0Bit0: Output of the identifiers
26UNSIGNED80 … 1270-
5 characters
null terminated
5 characters
null terminated
5 characters
null terminated
5 characters
null terminated
5 characters
null terminated
1 … 5 bytes of ASCII
characters
1 … 5 bytes of ASCII
characters
1 … 5 bytes of ASCII
characters
1 … 5 bytes of ASCII
characters
1 … 5 bytes of ASCII
characters
is suppressed.
1: Identifiers are output.
‘*‘-
\0-
\0-
\0-
\0-
1-
Fixed positions
Start position of
the 1st identifier
Start position of
the 1st data value
Start position of
the 2nd identifier
Start position of
the 2nd data value
Start position of
the 3rd identifier
Start position of
the 3rd data value
Specifies the position of the first character of
the first identifier in the data string of the bar
code.
The first character in the bar code has position
1. If the parameter is = 0, it is deactivated.
Specifies the position of the first character of
the first data value in the data string of the bar
code.
The first character in the bar code has position
1. If the parameter is = 0, it is deactivated.
Specifies the position of the first character of
the second identifier in the data string of the
bar code.
The first character in the bar code has position
1. If the parameter is = 0, it is deactivated.
Specifies the position of the first character of
the second data value in the data string of the
bar code.
The first character in the bar code has position
1. If the parameter is = 0, it is deactivated.
Specifies the position of the first character of
the third identifier in the data string of the bar
code.
The first character in the bar code has position
1. If the parameter is = 0, it is deactivated.
Specifies the position of the first character of
the third data value in the data string of the bar
code.
The first character in the bar code has position
Specifies the position of the first character of
the fourth identifier in the data string of the bar
code.
The first character in the bar code has position
1. If the parameter is = 0, it is deactivated.
Specifies the position of the first character of
the fourth data value in the data string of the
bar code.
The first character in the bar code has position
1. If the parameter is = 0, it is deactivated.
Specifies the position of the first character of
the fifth identifier in the data string of the bar
code.
The first character in the bar code has position
1. If the parameter is = 0, it is deactivated.
Specifies the position of the first character of
the fifth data value in the data string of the bar
code.
The first character in the bar code has position
1. If the parameter is = 0, it is deactivated.
33UNSIGNED80 … 1270-
34UNSIGNED80 … 1270-
35UNSIGNED80 … 1270-
36UNSIGNED80 … 1270-
Identifier string n (n = 1 … 5)
The identifier string defines both the identifier list for the segmentation and the passthrough filter for the
subsequent filtering.
The string may contain wildcards. That is, an arbitrary number of '?' are permitted as placeholders for an
arbitrary character at exactly that position.
Also permitted are '*' as placeholders for a character sequence of arbitrary length, and an 'x' if the char-
acter at the respective position is to be deleted. There are a total of 5 identifier strings.
An identifier with less than 5 characters must be null terminated. However, if the identifier string consists
of exactly 5 characters, it does not have to be null terminated.
10.10.3Module 54 – Segmentation according to identifier and separator
Description
This module activates the segmentation according to identifier and separator. The parameters specify the
identifiers to be searched for, the output mode, and the parameters for the identifier/separator algorithm.
Output delimiterThis delimiter, if not equal to 0, is inserted
Segmentation acc. to identifier and separator
Identifier lengthFixed length of all identifiers in the segmenta-
Delimiter in the
identifier/separator algorithm
If this switch is not set, the output of the identifiers is suppressed. Only the data values that
belong to the identifiers are displayed in this
case.
between the identifier and the associated data
value in the output.
tion process. After this length, the text of the
identifier ends and the associated data value
starts. The end of the data value is determined
by the separator.
The separator terminates the data value that
follows its identifier directly after the identifier
length. After the separator, the next identifier
starts.
25.0Bit0: Output of the identifiers
26UNSIGNED80 … 1270-
27UNSIGNED80 … 2550-
28UNSIGNED80 … 1270-
5 characters
null terminated
5 characters
null terminated
1 … 5 bytes of ASCII
characters
1 … 5 bytes of ASCII
characters
is suppressed.
1: Identifiers are output.
\0-
\0-
1-
Parameter length
29 byte
Input data
None
Output data
None
Identifier string n (n = 1 … 5)
The identifier string defines both the identifier list for the segmentation and the passthrough filter for the
subsequent filtering.
The string may contain wildcards. That is, an arbitrary number of '?' are permitted as placeholders for an
arbitrary character at exactly that position.
Also permitted are '*' as placeholders for a character sequence of arbitrary length, and an 'x' if the char-
acter at the respective position is to be deleted. There are a total of 5 identifier strings.
An identifier with less than 5 characters must be null terminated. However, if the identifier string consists
of exactly 5 characters, it does not have to be null terminated.
10.10.4Module 55 – String handling parameters
Description
This module is used to configure placeholder characters for the bar code segmentation, filtering, termina-
Wildcard character This parameter is similar to the “don't care
Don’t care character
Delete characterDelete character for bar code and identifier fil-
character” parameter. The difference between
this and the “don't care character” is that all
subsequent characters, and not only one character at a certain position, are disregarded
until a character pattern is found in the string
that follows the wildcard character pattern.
This character has the same behavior as the
wildcard character for the DIR command in the
command line interpreter under Windows.
Placeholder character.
Characters at the position of the placeholder
character are ignored in a comparison. This
permits certain areas to be masked.
tering (characters at the position of the delete
character are deleted in a comparison. This
permits certain areas to be deleted).
Parameter length
3 byte
Input data
None
Output data
None
10.11 Device Functions
0UNSIGNED8 32 … 127‘*‘-
1UNSIGNED8 32 … 127‘?‘-
2UNSIGNED8 32 … 127‘x‘-
10.11.1Module 60 – Device status
Description
The module contains the display of the device status as well as control bits for triggering a reset or putting
the device into standby mode.
Parameter
None
Input data
Table 10.38:Input data for module 60
Input dataDescriptionAddr.Data typeValue rangeInit value Unit
Device statusThis byte represents the device status0UNSIGNED8 0: Device is ready
Output dataDescriptionAddr.Data typeValue rangeInit value Unit
System resetThe control bit triggers a system reset
level changes from 0 to 1
a)
if the
0.6Bit0: Run
0 -> 1: Reset
0-
StandbyActivates the standby function 0.7Bit0: Standby off
a) Analogous to command H, activation of this bit triggers a restart of all electronics, incl. a restart of the PROFIBUS stack.
NOTICE
Analogous to command H, activation of the system reset bit triggers a restart of all electronics, incl. a
restart of the PROFINET-IO stack. I.e. the device restarts.
Output data length
1 byte
When resetting the data the input data of this module is not deleted (see chapter 10.7.1 "Module
10 – Activations").
10.11.2Module 61 – Laser control
Description
This mod
ule defines the switch-on and switch-off position of the laser.
Display contrastContrast setting of the display. The contrast
Password protection
PasswordPassword specification.
Language selection for the display.
A language which was selected via the display
is overwritten by this parameter.
Off after 10 min., or permanently on.0.3Bit0: Off after 10 min.
changes under extreme ambient temperature
and can be adjusted with this parameter.
Password protection on/off0.7Bit0: OFF
Password is only active if password protection
is on.
Parameter length
3 byte
Input data
None
Output data
None
This module overwrites the local display settings. Following activation of this module, the lan-
guage selection, the setting for password protection and the specified password set in this mod-
ule take effect.
0.0 … 0.2 Bit1: English
0.4 … 0.5 Bit0: Light
1 … 2UNSIGNED16 0000 … 99990000-
2: German
3: Italian
4: French
5: Spanish
1: Permanently on
1: Medium
2: Strong
1: ON
0-
0-
1-
0-
10.11.4Module 63 – Alignment
Description
The module defines input and output data for the alignment mode of the device. The alignment mode is
used for easy alignment of the device with the bar code. Using the transmitted decoding quality as a
percentage, the optimum alignment can be easily selected. This module should not be used in connection
with module 81 (AutoReflAct) as this may cause malfunctions.
Parameter
None
Input data
Table 10.42:Input data for module 63
Input dataDescriptionAddr.Data typeValue rangeInit value Unit
Decoding qualityTransmits the current decoding quality of the
bar code located in the scanning beam
Input data length
1 byte
0Byte0 … 1000Percent-
age
Leuze electronicBCL 604i80
Starting up the device - Configuration
Output data
Table 10.43:Output data for module 63
Output dataDescriptionAddr.Data typeValue rangeInit value Unit
Alignment modeSignal activates and deactivates the alignment
mode for optimum alignment of the device with
the bar code
Oscillation modeThis parameter defines the mode in which the
Start positionStart position (opening angle) relative to the
Stop positionStop position (opening angle) relative to the
oscillating mirror operates.
zero position of the swivel range.
zero position of the swivel range.
illating mirror.
0.0Bit0 -> 1: On
0UNSIGNED80: Single oscillation
1 … 2SIGNED16-200 … +2002001/10°
3 … 4SIGNED16-200 … +200-2001/10°
1 -> 0: Off
1: Double oscillation
2: Continuous oscillation
3: Continuous oscillation,
oscillating mirror moves to
the start position at the
end of the reading gate.
0-
2-
Oscillation frequency
Common value for forward and backward
motion
Parameter length
6 byte
Input data
None
Output data
None
10.11.6Module 65 – Deflection
Description
Module for supporting the deflection mirror.
Deflection angleLateral beam exit in degrees relative to the
zero position
Parameter length
2 bytes
5UNSIGNED815 … 11648°/s
mirror
0 …1SIGNED16-100 … +10001/10°
Input data
None
Leuze electronicBCL 604i81
Output data
1
2
3
4
1
2
3
45
None
10.12 Switching inputs/ outputs SWIO 1 … 4
These modules define the mode of operation of the 4 digital switching inputs and outputs (I/Os). They are
separated into individual modules for configuring the individual I/Os and a shared module for signaling the
status and controlling all I/Os.
Starting up the device - Configuration
10.12.1Parameters for op
Start-up delay
With this setting, the output pulse can be delayed by the specified time (in ms).
Switch-on time
Defines the switch-on time period for the switching input. Any activated switch-off function then no longer
has any function.
A value of 0 causes the output to be set statically; this means that the selected input function(s) activate
the output, and the selected switch-off function(s) deactivate it again.
1Start-up signal
2Switch-off signal
3Output
4Start-up delay
Figure 10.2: Example 1: Start-up delay > 0 and switch-on time = 0
erating as an output
1Start-up signal
2Switch-off signal
3Output
4Start-up delay
5Switch-on time
Figure 10.3: Example 2: Start-up delay > 0 and switch-on time > 0
In example 2, the activation duration of the output is only dependent on the selected switch-on time; the
switch-off signal has no effect.
Leuze electronicBCL 604i82
Starting up the device - Configuration
1
2
3
4
1Start-up signal
2Switch-off signal
3Output
4Start-up delay
Figure 10.4: Example 3: Start-up delay >0 Switch-off signal prior to lapsing of the start-up delay
If the output is again deactivated via the switch-off signal before the start-up delay lapses, only a brief pulse
appears at the output following the start-up delay.
Comparison functionality
If, for example, the switching output is to be activated after four invalid read results, the comparative value
is set to 4 and the switch-on function is configured to “invalid read result”.
The comparison mode parameter can be used to define whether the switching output is activated only
once in the case that the event counter and comparative value fulfill the “parity” condition, or if it is activated
multiple times, on each successive event after the “parity” condition is met.
The event counter can always be reset with the I/O data in the I/O status and control module; furthermore,
the reset mode parameter enables automatic resetting upon reaching the comparative value. Automatic
resetting upon reaching the comparative value always results in the switching output being switched once
independent of the comparison mode parameter.
The standard switch-off function at reading gate start is rather unsuited for this module since it causes the
event counter to be reset on each reading gate start. Suitable as switch-off function for this example is the
valid read result function; otherwise, all switch-off functions are deactivated.
10.12.2Parameters for operating as an input
Debounce time
Parameter for setting the software debounce time for the switching input. The definition of a debounce time
extends the signal transition time accordingly.
If the value of this parameter = 0, no debouncing takes place; otherwise, the configured value represents
the duration in milliseconds for which the input signal must be present and stable.
Start-up delay td_on
If th e v alue of this parameter = 0, n o s tart-up delay occurs for the activation of the input function; otherwise,
the configured value represents the time in milliseconds by which the input signal is delayed.
Leuze electronicBCL 604i83
Starting up the device - Configuration
1
2
34
5
1
2
34
5
1
2
34
5
1Start-up signal
2Switch-off signal
3Start-up delay td_on
4Switch-on time ton
5Switch-off delay td_off
Figure 10.5: Start-up delay in input mode
Switch-on time ton
This parameter specifies the min. activation duration for the selected input function in ms.
The actual activation duration is calculated from the switch-on time as well as the switch-off delay.
1Start-up signal
2Switch-off signal
3Start-up delay td_on
4Switch-on time ton
5Switch-off delay td_off
Figure 10.6: Switch-on time in input mode
Switch-off delay td_off
This parameter specifies the duration of the switch-off delay in ms.
1Start-up signal
2Switch-off signal
3Start-up delay td_on
4Switch-on time ton
5Switch-off delay td_off
Figure 10.7: Switch-off delay in input mode
Leuze electronicBCL 604i84
10.12.3Switch-on and switch-off functions for operation as an output
The following options are available
for switch-on and switch-off functions in the “output” operating mode:
Table 10.46:Switch-on/switch-off functions
NameValueComments
No function0No functionality
Reading gate start1
Reading gate end2
Positive reference code comparison 13
Negative reference code comparison 14
Valid read result5
Invalid read result6
Device ready7The device is in a ready state.
Device not ready8The device is not yet ready (motor and laser are being activated).
Data transmission active9
Starting up the device - Configuration
Data transmission not active10
AutoControl good quality13
AutoControl bad quality14
Reflector detected15
Reflector not detected16
External event, pos. edge17In the PROFIBUS case, the external event is generated with the aid of
External event, neg. edge18See above
Device active19Decoding is currently being performed.
Device in standby mode20Motor and laser inactive.
No device error21No error was detected
Device error22Device is in an error state.
Positive reference code comparison 223
Negative reference code comparison 224
10.12.4Input functions for oper
Table 10.47:Input functions
ation as an input
module 74 – “I/O status and control”, see chapter 10.12.9 "Module 74 –
SWIO status and control"
NameValueComments
No function0No functionality
Activation of the reading gate 1
Reading gate deactivation only2
Reading gate activation only3
Reference bar code teach-in4
Start/stop autoconfiguration mode5
Leuze electronicBCL 604i85
10.12.5Module 70 – Switching input/output SWIO1
Parameter
Table 10.48:Parameters for module 70 – Input/Output 1
DC bias levelThe parameter defines the DC bias level of the
ReservedFree0.2 … 0.7
Start-up delayWith this parameter, the output pulse may be
Switch-on timeThe parameter defines the switch-on time
Switch-on function 1This parameter specifies an event which can
Switch-on function 2This parameter specifies an event which can
Switch-off function 1This parameter specifies an event which can
Switch-off function 2This parameter specifies an event which can
tions as an input or as an output.
switching output and, thus, simultaneously
whether the output is low-active (0) or highactive (1).
delayed by a set time period.
period for the switching output. If the value is
0, the signal is static.
set the switching output.
set the switching output.
Switch-on function 1 and switch-on function 2
are OR linked.
reset the switching output.
reset the switching output.
Switch-off function 1 and switch-off function 2
are OR linked.
0.0Bit0: Input
0.1Bit0: LOW (0V)
1UNSIGNED16 0 … 655350ms
3UNSIGNED16 0 … 1300400ms
5UNSIGNED8 see table 10.460-
6UNSIGNED8 see table 10.460-
7UNSIGNED8 see table 10.460-
8UNSIGNED8 see table 10.460-
1: Output
1: HIGH (+Ub)
0-
0-
Comparative value
(Event Counter)
Compare mode
(Event Counter)
Reset mode
(Event Counter)
Mode of operation for configuration as an input
InversionThe parameter defines the logic of the incident
ReservedFree13.2 … 13
Debounce timeThe parameter defines a debounce time which
Start-up delayThe parameter influences the timing during
If the number of activation events of the
selected switch-on function reaches this comparative value, the switching output is activated. A deactivation event of the selected
switch-off function resets the counter.
Specifies whether the switching output
switches only on parity (once) or also in the
event of greater or equal to (multiple times)
after the comparative value is reached.
Specifies whether the counter (Event Counter)
is reset only by the reset bit and the selected
switch-off function, or if the counter should be
automatically reset after the comparative value
is reached.
signal. In case of an inversion, an external
HIGH level is interpreted internally as a LOW
level.
Delay off timeThe parameter defines a time delay for the sig-
Input functionThe parameter specifies the function which is
The parameter defines a minimum time period
before the signal is reset.
nal during switch-off.
to be activated or deactivated by a change of
state in the signal.
Parameter length
23 byte
Input data
None
Output data
None
Comment
The DC bias level also defines whether the output is low-active (0) or high-active (1).
Switching on an I/O configured as an output means switching to the active state; switching off, on the other
hand, results in switching to the inactive or idle state.
10.12.6Module 71 – Switching input/output SWIO2
Parameter
18UNSIGNED16 0 … 655350ms
20UNSIGNED16 0 … 655350ms
22UNSIGNED8see table 10.471-
Table 10.49:Parameters for module 71 – Input/Output 2
DC bias levelThe parameter defines the DC bias level of the
ReservedFree0.2 … 0.7
Start-up delayWith this parameter, the output pulse may be
Switch-on timeThe parameter defines the switch-on time
Switch-on function 1This parameter specifies an event which can
Switch-on function 2This parameter specifies an event which can
Switch-off function 1This parameter specifies an event which can
tions as an input or as an output.
switching output and, thus, simultaneously
whether the output is low-active (0) or highactive (1).
delayed by a set time period.
period for the switching output. If the value is
0, the signal is static.
set the switching output.
set the switching output.
Switch-on function 1 and switch-on function 2
are OR linked.
reset the switching output.
0.0Bit0: Input
0.1Bit0: LOW (0V)
1UNSIGNED16 0 … 655350ms
3UNSIGNED16 0 … 1300400 ms
5UNSIGNED8 see table 10.465-
6UNSIGNED8 see table 10.460-
7UNSIGNED8 see table 10.461-
1: Output
1: HIGH (+Ub)
1-
0-
Switch-off function 2This parameter specifies an event which can
Comparative value
(Event Counter)
reset the switching output.
Switch-off function 1 and switch-off function 2
are OR linked.
If the number of activation events of the
selected switch-on function reaches this comparative value, the switching output is activated. A deactivation event of the selected
switch-off function resets the counter.
InversionThe parameter defines the logic of the incident
ReservedFree13.2 … 13
Debounce timeThe parameter defines a debounce time which
Start-up delayThe parameter influences the timing during
Minimum switchon time
Delay off timeThe parameter defines a time delay for the sig-
Input functionThe parameter specifies the function which is
Specifies whether the switching output
switches only on parity (once) or also in the
event of greater or equal to (multiple times)
after the comparative value is reached.
Specifies whether the counter (Event Counter)
is reset only by the reset bit and the selected
switch-off function, or if the counter should be
automatically reset after the comparative value
is reached.
signal. In case of an inversion, an external
HIGH level is interpreted internally as a LOW
level.
is implemented in software.
switch-on.
The parameter defines a minimum time period
before the signal is reset.
nal during switch-off.
to be activated or deactivated by a change of
state in the signal.
11UNSIGNED80: SWOUT switches once
12UNSIGNED80: Reset bit and switch-off
13.1Bit0: Normal
.7
14UNSIGNED16 0 … 1000 5ms
16UNSIGNED16 0 … 655350ms
18UNSIGNED16 0 … 655350ms
20UNSIGNED16 0 … 655350ms
22UNSIGNED8see table 10.470-
1: SWOUT switches several times
funct.
1: Comparative value
reached
1: Inverted
0-
0-
0-
Parameter length
23 byte
Input data
None
Output data
None
Comment
The DC bias level also defines whether the output is low-active (0) or high-active (1).
Switching on an I/O configured as an output means switching to the active state; switching off, on the other
hand, results in switching to the inactive or idle state.
10.12.7Module 72 – Switching input/output SWIO3
Parameter
Table 10.50:Parameters for module 72 – Input/Output 3
Switch-on timeThe parameter defines the switch-on time
Switch-on function 1This parameter specifies an event which can
Switch-on function 2This parameter specifies an event which can
Switch-off function 1This parameter specifies an event which can
Switch-off function 2This parameter specifies an event which can
Comparative value
(Event Counter)
Compare mode
(Event Counter)
Reset mode
(Event Counter)
period for the switching output. If the value is
0, the signal is static.
set the switching output.
set the switching output.
Switch-on function 1 and switch-on function 2
are OR linked.
reset the switching output.
reset the switching output.
Switch-off function 1 and switch-off function 2
are OR linked.
If the number of activation events of the
selected switch-on function reaches this comparative value, the switching output is activated. A deactivation event of the selected
switch-off function resets the counter.
Specifies whether the switching output
switches only on parity (once) or also in the
event of greater or equal to (multiple times)
after the comparative value is reached.
Specifies whether the counter (Event Counter)
is reset only by the reset bit and the selected
switch-off function, or if the counter should be
automatically reset after the comparative value
is reached.
3UNSIGNED16 0 … 1300400 ms
5UNSIGNED8 see table 10.460-
6UNSIGNED8 see table 10.460-
7UNSIGNED8 see table 10.460-
8UNSIGNED8 see table 10.460-
9UNSIGNED16 0..655350-
11UNSIGNED80: SWOUT switches once
12UNSIGNED80: Reset bit and switch-off
1: SWOUT switches several times
funct.
1: Comparative value
reached
0-
0-
Mode of operation for configuration as an input
InversionThe parameter defines the logic of the incident
ReservedFree13.2 …
Debounce timeThe parameter defines a debounce time which
Start-up delayThe parameter influences the timing during
Minimum switchon time
Delay off timeThe parameter defines a time delay for the sig-
Input functionThe parameter specifies the function which is
signal. In case of an inversion, an external
HIGH level is interpreted internally as a LOW
level.
is implemented in software.
switch-on.
The parameter defines a minimum time period
before the signal is reset.
nal during switch-off.
to be activated or deactivated by a change of
state in the signal.
13.1Bit0: Normal
13.7
14UNSIGNED16 0 … 1000 5ms
16UNSIGNED16 0 … 655350ms
18UNSIGNED16 0 … 655350ms
20UNSIGNED16 0 … 655350ms
22UNSIGNED8see table 10.472-
Parameter length
23 byte
Input data
None
1: Inverted
0-
Output data
None
Comment
The DC bias level also defines whether the output is low-active (0) or high-active (1).
Switching on an I/O configured as an output means switching to the active state; switching off, on the other
hand, results in switching to the inactive or idle state.
Leuze electronicBCL 604i89
10.12.8Module 73 – Switching input/output SWIO4
Parameter
Table 10.51:Parameters for module 73 – Input/Output 4
DC bias levelThe parameter defines the DC bias level of the
ReservedFree0.2 …
Start-up delayWith this parameter, the output pulse may be
Switch-on timeThe parameter defines the switch-on time
Switch-on function 1This parameter specifies an event which can
Switch-on function 2This parameter specifies an event which can
Switch-off function 1This parameter specifies an event which can
Switch-off function 2This parameter specifies an event which can
tions as an input or as an output.
switching output and, thus, simultaneously
whether the output is low-active (0) or highactive (1).
delayed by a set time period.
period for the switching output. If the value is
0, the signal is static.
set the switching output.
set the switching output.
Switch-on function 1 and switch-on function 2
are OR linked.
reset the switching output.
reset the switching output.
Switch-off function 1 and switch-off function 2
are OR linked.
0.0Bit0: Input
0.1Bit0: LOW (0V)
0.7
1UNSIGNED16 0 … 655350ms
3UNSIGNED16 0 … 1300400 ms
5UNSIGNED8 see chapter 10.12.36-
6UNSIGNED8 see chapter 10.12.30-
7UNSIGNED8 see chapter 10.12.31-
8UNSIGNED8 see chapter 10.12.30-
1: Output
1: HIGH (+Ub)
1-
0-
Comparative value
(Event Counter)
Compare mode
(Event Counter)
Reset mode
(Event Counter)
Mode of operation for configuration as an input
InversionThe parameter defines the logic of the incident
ReservedFree13.2 …
Debounce timeThe parameter defines a debounce time which
Start-up delayThe parameter influences the timing during
If the number of activation events of the
selected switch-on function reaches this comparative value, the switching output is activated. A deactivation event of the selected
switch-off function resets the counter.
Specifies whether the switching output
switches only on parity (once) or also in the
event of greater or equal to (multiple times)
after the comparative value is reached.
Specifies whether the counter (Event Counter)
is reset only by the reset bit and the selected
switch-off function, or if the counter should be
automatically reset after the comparative value
is reached.
signal. In case of an inversion, an external
HIGH level is interpreted internally as a LOW
level.
Delay off timeThe parameter defines a time delay for the sig-
Input functionThe parameter specifies the function which is
The parameter defines a minimum time period
before the signal is reset.
nal during switch-off.
to be activated or deactivated by a change of
state in the signal.
Parameter length
23 byte
Input data
None
Output data
None
Comment
The DC bias level also defines whether the output is low-active (0) or high-active (1).
Switching on an I/O configured as an output means switching to the active state; switching off, on the other
hand, results in switching to the inactive or idle state.
10.12.9Module 74 – SWIO status and control
Description
Module for handling switching input and switching output signals.
18UNSIGNED16 0 … 655350ms
20UNSIGNED16 0 … 655350ms
22UNSIGNED8 see chapter 10.12.40-
Parameter
None
Input data
Table 10.52:Input data for module 74 Input/output status and control
ParameterDescriptionAddr.Data typeValue rangeInit value Unit
State 1Signal state of switching input or output 10.0Bit0.10-
State 2Signal state of switching input or output 20.1Bit0.10-
State 3Signal state of switching input or output 30.2Bit0.10-
State 4Signal state of switching input or output 40.3Bit0.10-
Comparison state
switching output 1
(Event Counter)
Switching output 1
Comparison state toggle bit
(Event Counter)
Comparison state
switching output 2
(Event Counter)
Indicates whether the event counter has
exceeded the set comparative value.
The bit is reset to the init. value by resetting
the event counter.
If “SWOUT switches several times” was configured as comparison mode, this bit is toggled
each time the event counter is exceeded.
The bit is reset to the init. value by resetting
the event counter.
Indicates whether the event counter has
exceeded the set comparative value.
The bit is reset to the init. value by resetting
the event counter.
1.0Bit0: Not exceeded
1.1Bit0 -> 1: Event counter
1.2Bit0: Not exceeded
1: Exceeded
exceeded
1 -> 0: Event counter
exceeded again
1: Exceeded
0-
0-
0-
Switching output 2
Comparison state toggle bit
(Event Counter)
Comparison state
switching output 3
(Event Counter)
If “SWOUT switches several times” was configured as comparison mode, this bit is toggled
each time the event counter is exceeded.
The bit is reset to the init. value by resetting
the event counter.
Indicates whether the event counter has
exceeded the set comparative value.
The bit is reset to the init. value by resetting
the event counter.
1.3Bit0 -> 1: Event counter
1.4Bit0: Not exceeded
exceeded
1 -> 0: Event counter
exceeded again
1: Exceeded
0-
0-
Leuze electronicBCL 604i91
Starting up the device - Configuration
ParameterDescriptionAddr.Data typeValue rangeInit value Unit
Switching output 3
Comparison state toggle bit
(Event Counter)
Comparison state
switching output 4
(Event Counter)
Switching output 4
Comparison state toggle bit
(Event Counter)
If “SWOUT switches several times” was configured as comparison mode, this bit is toggled
each time the event counter is exceeded.
The bit is reset to the init. value by resetting
the event counter.
Indicates whether the event counter has
exceeded the set comparative value.
The bit is reset to the init. value by resetting
the event counter.
If “SWOUT switches several times” was configured as comparison mode, this bit is toggled
each time the event counter is exceeded.
The bit is reset to the init. value by resetting
the event counter.
1.5Bit0 -> 1: Event counter
1.6Bit0: Not exceeded
1.7Bit0 -> 1: Event counter
exceeded
1 -> 0: Event counter
exceeded again
1: Exceeded
exceeded
1 -> 0: Event counter
exceeded again
0-
0-
0-
Input data length:
2 bytes
Output data
Table 10.53:Output data for module 74 Input/output status and control
Output dataDescriptionAddr.Data typeValue rangeInit value Unit
Switching output 1Sets the state of switching output 10.0Bit0: Switching output 0
Switching output 2Sets the state of switching output 20.1Bit0: Switching output 0
1: Switching output 1
1: Switching output 1
0-
0-
Switching output 3Sets the state of switching output 30.2Bit0: Switching output 0
Switching output 4Sets the state of switching output 40.3Bit0: Switching output 0
Reset Event Counter
Switching output 1
Reset Event Counter
Switching output 2
Reset Event Counter
Switching output 3
Reset Event Counter
Switching output 4
Sets the event counter of the activation function [AF] for switching output 1 back to zero.
Sets the event counter of the activation function [AF] for switching output 2 back to zero.
Sets the event counter of the activation function [AF] for switching output 3 back to zero.
Sets the event counter of the activation function [AF] for switching output 4 back to zero.
Reserved1Byte
Output data length:
2 bytes
10.13 Data output
10.13.1Module 80 – Sorting
Description
Module to support the sorting of the output data.
1: Switching output 1
1: Switching output 1
0.4Bit0 -> 1: Perform reset
0.5Bit0 -> 1: Perform reset
0.6Bit0 -> 1: Perform reset
0.7Bit0 -> 1: Perform reset
1 -> 0: No function
1 -> 0: No function
1 -> 0: No function
1 -> 0: No function
0-
0-
0-
0-
0-
0-
Leuze electronicBCL 604i92
Starting up the device - Configuration
Parameter
Table 10.54:Parameters for module 80
ParameterDescriptionAddr.Data type Value rangeDefault Unit
Sort criterion 1Specifies the criterion according to
Sort direction 1Specifies the sorting direction.0.7Bit0: In ascending order
Sort criterion 2Specifies the criterion according to
Sort direction 2Specifies the sorting direction.1.7BitSee sorting direction 10-
Sort criterion 3Specifies the criterion according to
Sort direction 3Specifies the sorting direction.2.7BitSee sorting direction 10-
which sorting takes place.
which sorting takes place.
which sorting takes place.
0.0 …
0.6
1.0 …
1.6
2.0 …
2.6
BitArea0: No sorting
BitAreaSee sorting criterion 10-
BitAreaSee sorting criterion 10-
1: Sorting according to scan number
2: Sorting according to position in the scanning
beam
3: Sorting according to the oscillating mirror position
4: Sorting according to the decoding quality
5: Sorting according to the bar code length
6: Sorting according to the code type number
7: Sorting according to the decoding direction
8: Sorting according to the bar code content
9: Sorting according to time
10: Sorting according to scanning duration
11: Sorting according to the code list (in which the
enabled bar codes are listed)
12: Sorting according to the identifier list
1: In descending order
0-
0-
Parameter length
3 byte
Input data
None
Output data
None
10.14 Reference code comparison
The following modules can be used to support reference code comparison.
The reference code function compares the currently decoded read results with one or more stored compar-
ison patterns. The function is split into two comparison units which can be configured independently of
each other.
10.14.1Module 81 – Reference code
Description
The module defines the mode of operation of reference code comparator 1.
comparator 1
Leuze electronicBCL 604i93
Starting up the device - Configuration
Parameter
Table 10.55:Parameters for module 81 – Reference code comparison
ParameterDescriptionAd-
Output function after reference bar code comparison
Linking logic for reference code output signal
Output for reference
code comparison
Bar code type comparison
Reference code ASCII
comparison
This parameter specifies the associated
output linkage after a reference bar
code comparison.
This parameter specifies the linking
logic for the reference code output signal.
This parameter specifies whether a bar
code length comparison should be carried out.
This parameter specifies whether a bar
code type comparison should be carried
out.
This parameter specifies how the ASCII
comparison should be carried out.
dr.
0UNSIGNED8 0: No function
1UNSIGNED8 0: Length and type and ASCII
2UNSIGNED8 0: Length ignored
3UNSIGNED8 0: Type ignored
4UNSIGNED8 0: No comparison
Data typeValue rangeDefault Unit
1: Comparison function 1
2: Comparison function 2
3: Comparison function 1 AND 2
4: Comparison function 1 OR 2
1: Length and (type or ASCII)
2: (Length or type) and ASCII
3: Length or type or ASCII
1: Comparison o.k. if length not identical
2: Comparison o.k. if length identical.
1: Comparison o.k. if types not identical
2: Comparison o.k. if types identical.
1: Bar code not identical to RC
2: Bar code identical to RC
3: Bar code greater than RC
4: Bar code greater than or equal to
RC
5: Bar code less than RC
6: Bar code less than or equal to RC
7: RC1 less than or equal to bar
code less than or equal to RC2
8: Bar code less than RC1 or bar
code greater than RC2
1-
0-
2-
2-
2-
Reference code comparison mode
Bar code comparison
mode
Reference code completeness comparison
Parameter length
8 byte
This parameter determines how and
which reference bar codes (RC) are to
be used for the bar code comparison.
This parameter specifies which decoded
bar codes are to be used for the reference bar code comparison.
If this parameter is set, the basic condition for a positive reference code comparison is that all mandatory bar codes
that are to be read within a reading gate
were actually read. If this condition is
not satisfied, no positive reference code
arison is achieved.
comp
5UNSIGNED8 0: Only the first RC is used for the
6UNSIGNED8 0: Only the first bar code is used for
7.0Bit0: Completeness comparison
comparison.
1: Only the second RC is used for
the comparison.
2: RC 1 and 2 are used for the comparison. Both conditions for RC 1
and 2 must be satisfied for a positive
comparison.
3: RC 1 and 2 are used for the comparison. One of the two conditions
for reference bar codes 1 and 2
must be satisfied.
the comparison.
1: Only the second bar code is used
for the comparison.
2: All bar codes are used for the
comparison. All comparisons must
be successful.
3: All bar codes are used for the
comparison. One comparison must
be successful.
switched off.
1: Completeness comparison
switched on.
0-
3-
0-
Input data
None
Output data
None
Leuze electronicBCL 604i94
10.14.2Module 82 – Reference code comparator 2
Description
The module defines the mode of operation of reference code comparator 2.
Parameter
Table 10.56:Parameters for module 82 – Reference code comparison
ParameterDescriptionAddr.Data typeValue rangeDefault Unit
Starting up the device - Configuration
Output function
after reference bar
code comparison
Linking logic for
reference code
output signal
Output for reference code comparison
Bar code type
comparison
Reference code
ASCII comparison
This parameter specifies the associated output
linkage after a reference bar code comparison.
This parameter specifies the linking logic for
the reference code output signal.
This parameter specifies whether a bar code
length comparison should be carried out.
This parameter specifies whether a bar code
type comparison should be carried out.
This parameter specifies how the ASCII comparison should be carried out.
0UNSIGNED8 0: No function
1UNSIGNED8 0: Length and type and ASCII
2UNSIGNED8 0: Length ignored
3UNSIGNED8 0: Type ignored
4UNSIGNED8 0: No comparison
1: Comparison function 1
2: Comparison function 2
3: Comparison function 1 AND 2
4: Comparison function 1 OR 2
1: Length and (type or ASCII)
2: (Length or type) and ASCII
3: Length or type or ASCII
1: Comparison o.k. if length not
identical
2: Comparison o.k. if length identical.
1: Comparison o.k. if types not
identical
2: Comparison o.k. if types identical.
1: Bar code not identical to RC
2: Bar code identical to RC
3: Bar code greater than RC
4: Bar code greater than or equal
to RC
5: Bar code less than RC
6: Bar code less than or equal to
RC
7: RC1 less than or equal to bar
code less than or equal to RC2
8: Bar code less than RC1 or bar
code greater than RC2
1-
0-
2-
2-
2-
Reference code
comparison mode
Bar code comparison mode
Reference code
completeness
comparison
Parameter length
8 byte
This parameter determines how and which reference bar codes (RC) are to be used for the
bar code comparison.
This parameter specifies which decoded bar
codes are to be used for the reference bar
code comparison.
If this parameter is set, the basic condition for
a positive reference code comparison is that
all mandatory bar codes that are to be read
within a reading gate were actually read. If this
condition is not satisfied, no positive reference
code comparison is achieved.
5UNSIGNED8 0: Only the first RC is used for the
6UNSIGNED8 0: Only the first bar code is used
7.0Bit0: Completeness comparison
comparison.
1: Only the second RC is used for
the comparison.
2: RC 1 and 2 are used for the
comparison. Both conditions for
RC 1 and 2 must be satisfied for a
positive comparison.
3: RC 1 and 2 are used for the
comparison. One of the two conditions for reference bar codes 1
and 2 must be satisfied.
for the comparison.
1: Only the second bar code is
used for the comparison.
2: All bar codes are used for the
comparison. All comparisons
must be successful.
3: All bar codes are used for the
comparison. One comparison
must be successful.
switched off.
1: Completeness comparison
switched on.
his module can be used to define the 1st comparison pattern.
T
Parameter
Table 10.57:Parameters for module 83 – Reference code comparison pattern
ParameterDescriptionAddr.Data typeValue rangeDefault Unit
Starting up the device - Configuration
Code type comparison pattern 1
Comparison pattern 1Parameter string describing the content of the
Specifies the type of the reference bar code.0UNSIGNED8 0: No code
reference bar code. Note: You can also use
the two placeholder characters that are stored
in the “Wildcard character” and “Don't care
character” parameters. If the string is empty,
no comparison takes place. If the most
recently stored character is the wildcard character, the comparison is only carried out up to
the character before this wildcard character. In
this way it is possible to switch off a comparison according to bar code length.
Specifies the type of the reference bar code.0UNSIGNED8 0: No code
Parameter string describing the content of the
reference bar code. Note: You can also use
the two placeholder characters that are stored
in the “Wildcard character” and “Don't care
character” parameters. If the string is empty,
no comparison takes place. If the most
recently stored character is the wildcard character, the comparison is only carried out up to
the character before this wildcard character. In
this way it is possible to switch off a comparison according to bar code length.
The defined comparison pattern affects both reference code comparators (module 81 – refer-
ence code comparator 1 and module 82 – reference code comparator 2).
10.15 Special Functions
10.15.1Module 90 – Status and control
This module supplies various device status information to the PROFIBUS master. Various functions of the
device can be controlled via the master's output data.
Parameter
None
Input data
Table 10.59:Input data for module 90 – Status and control
Input dataDescriptionAddr.Data typeValue rangeInit value Unit
ReservedFree0.0Bit0-
AutoRefl stateSignal state of the AutoRefl module0.1Bit0: Reflector is recognized
Auto Control result Indicates whether the result of the AutoControl
function was a good or bad reading.
1: Reflector is hidden
0.2Bit0: Quality good
1: Quality bad
1-
0-
Leuze electronicBCL 604i97
Starting up the device - Configuration
Input dataDescriptionAddr.Data typeValue rangeInit value Unit
ReservedFree0.3Bit0-
RefCode comparison state 1
RefCode comparison state 2
The signal indicates whether the decoded bar
code corresponds to the reference code with
regard to the comparison criteria as defined in
the comparison function 1. If it matches, the
value 1 is output.
The signal indicates whether the decoded bar
code corresponds to the reference code with
regard to the comparison criteria as defined in
the comparison function 2. If it matches, the
value 1 is output.
module defines the mode of operation of the laser scanner for controlling the reading gate.
The
The AutoReflAct function uses the scanning beam to simulate a photoelectric sensor and thus permits an
activation without additional sensory mechanism. 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 reading gate remains closed. If, however, the reflector is blocked by an object such as
a container with a bar code 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.
1: Equal
2: Unknown
1: Equal
2: Unknown
2-
2-
Parameter
Table 10.60:Parameters for module 91 – AutoreflAct
DebouncingThe parameter defines the debounce time in
laser scanner.
If “Autom. reading gate control” is set as the
parameter value, the device activates the
reading gate automatically if the reflector is
obscured.
scans for the reflector detection.
With a motor speed of 1000, 1 scan corresponds to a debounce time of 1 ms.
SensitivityWith this parameter the sensitivity towards
This parameter can be used to activate or
deactivate the AutoControl function.
The parameter defines a threshold for the
reading quality.
changes in the reading ability can be specified.
The higher the value, the less influence a
change of reading ability has.
0UNSIGNED8 0: deactivated
1: activated
1UNSIGNED8 0 … 10050%
2UNSIGNED80 … 2550-
0-
Parameter length
3 byte
Input data
Table 10.62:Input data for module 92 – AutoControl
Input dataDescriptionAddr.Data typeValue rangeInit value Unit
Scan qualityRepresents the current average value of the
scan quality (at the time of the last reading
gate).
0UNSIGNED80 … 1000-
Input data length
1 byte
Output data
None
By means of the AutoControl function, it is possible to detect bar codes of decreasing quality and
thus take appropriate measures before the label is no longer legible. With activated AutoControl
function, note that the "Processing end at end of label" parameter in the CRT module should be
set to allow for a better assessment of the bar code quality (see chapter 10.6.3 "Module 7 – Code
reconstruction technology").
10.16 Example configuration: Indirect activation via the PLC
10.16.1Task
• Reading of a 10-digit code in 2/5 Interleaved format
• Activation of the device via the PLC
Code sample
Code 2/5 Interleaved 10 digits with check digit
Leuze electronicBCL 604i99
10.16.2Procedure
Hardware, connections
following connections must have been established:
The
• Voltage supply (PWR)
• PROFIBUS In
• PROFIBUS termination
Required modules
Include the following modules in your project:
• Module 10 – Activations
• Module 23 – Decoding result 12 bytes
Parameter settings
No parameters need to be set separately. The standard parameter set provides all required functions.
Flow diagrams
Table 10.63:Successful reading
PLCPhotoelectric sensorBCL Description
Starting up the device - Configuration
Time Photoelectric sensor from 0 ->
1
M 10 bit 0.0 0 -> 1Activation bit 0.0 is set to 1. This activates the reading gate.
M 23 bit 0.1 from 0 -> 1
M 23 bit 0.2 = 0
M 23 byte 1 = data length
M 23 byte 2 to 16: result
Internal processingInternal data processing.
M 10 bit 0.0 1 -> 0Activation bit 0.0 is reset to 0.
The photoelectric sensor is interrupted.
The bar codes that have been read are processed and transmitted by module 23:
Reading concluded bit 0.1 = 1 and bar code not decoded bit 0.2
= 0.
The data length is entered in byte 1, in this case 15 decimal.
The decoding result is transmitted in the following 15 bytes.
Table 10.64:Unsuccessful reading
PLCPhotoelectric sensorBCLDescription
Time Photoelectric sensor from 0 ->
1
M 10 bit 0.0 0 -> 1Activation bit 0.0 is reset to 1.
Photoelectric sensor from 1 ->
0
M 10 bit 0.0 0 -> 1Activation bit 0.0 is reset to 0.
M 23 bit 0.1 from 0 -> 1
M 23 bit 0.2 from 0 -> 1
M 23 byte 1 = data length
M 23 byte 2 = result
The photoelectric sensor is interrupted.
The reading gate elapses without read result.
The module decoding state signals:
Reading concluded bit 0.1 = 1 and bar code not decoded bit 0.2
= 1.
The data length is entered in byte 1.
The result hex 3F (? = no read) is transmitted.
Internal processingInternal processing of the data and signaling of the non-reading.
10.17 Sample configuration: Direct activation via the switching input
10.17.1Task
• Reading of a 12-digit bar code in 2/5 Interleaved format
• Direct activation of the device via a photoelectric sensor
Code sample
Code 2/5 Interleaved 12 digits with check digit
Leuze electronicBCL 604i100
10.17.2Procedure
Hardware, connections
The following connections must have been established:
• Voltage supply (PWR)
• PROFIBUS In
• PROFIBUS termination
• Photoelectric sensor at SWIO1
Required modules
Include the following modules in your project:
• Module 23 – Decoding result 12 bytes
Starting up the device - Configuration
Parameter settings of the “common parameters”
Table 10.65:Device parameters for example configuration 2
ByteDescriptionInit valueChange value to:
1Code type 1001: 2/5 Interleaved
4Digits 3012
Flow diagrams
Table 10.66:Successful reading
PLCPhotoelectric sensorBCLDescription
TimePhotoelectric sensor from 0 ->
Internal processingInternal data processing.
1
M 23 bit 0.1 from 0 -> 1
M 23 bit 0.2 = 0
M 23 byte 1 = data length
M 23 byte 2 to 13 = result
Photoelectric sensor from 1 ->
0
The photoelectric sensor is interrupted. The signal of the switching output of the photoelectric sensor is present at the switching
input of the device and activates the scanner.
The bar codes that have been read are processed and transmitted by module 23:
Reading concluded bit 0.1 = 1 and bar code not decoded bit 0.2
= 0.
The data length is entered in byte 1, in this case 12 decimal.
The decoding result is transmitted in the following 12 bytes.
The beam of the photoelectric sensor is cleared and sets the
switching input of the device to 0. This deactivates the scanner.
Leuze electronicBCL 604i101
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.