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 648i7
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 648i8
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 648i9
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 648i11
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
Profibus
Ethernet
Leuze electronicBCL 648i12
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 648i13
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 648i14
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.
Table 3.3:Link status of the PROFINET-IO interface
LNK0physical connection to the HOST / BUS IN port
LNK1physical connection to the BUS OUT port
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 648i16
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
• PROFINET-IO 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 648i17
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 and by storing the device name as well. This
eliminates the need to configure the exchanged device manually and, in particular, to rename the device
– the control can immediately access the exchanged device.
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 648i18
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 648i, 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 648i19
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 648i20
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 648i21
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 648i22
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 648i23
5.4Leuze multiScan over Ethernet/PROFINET
The multiScan over Ethernet/PROFINET operating mode links individual bar code readings of multiple bar
code scanners into a single decoding result. This is used, for example, on a packet conveyor system on
which the label can be affixed on either the right or left side, thereby requiring two read stations. To prevent
the host from having to always process two readings for a single packet, i.e. a decoding result and a No
Read, a multiScan arrangement is used which transmits only one reading from the two read st ations to the
host; this single reading is transmitted by the multiScan master.
Thus, from the perspective of the host, the scanner network appears to be just a single bar code
reader!
For this purpose one multiScan master and one or more multiScan slaves are connected together via
Ethernet/PROFINET.
Reading techniques
Figure 5.4:Scanner arrangement with the multiScan function
The multiScan function for Ethernet/PROFINET is possible for a minimum of 2 and maximum of
32 devices!
Leuze electronicBCL 648i24
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 15.3).
• Using a BT 59 mounting device on the two fastening grooves (see figure 15.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 15.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 648i25
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 648i27
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 648i28
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
The device is equipped with four M12 plugs/sockets which are A- and D-coded.
The voltage supply (PWR) as well as the four freely configurable switching inputs/outputs (SW IN/OUT and
PWR) are connected there.
HOST / BUS IN is available as a PROFINET-IO interface for connecting to the host system.
By means of the implemented switch function in the device, an additional second BUS OUT PROFINET-IO
interface is available for creating a scanner network (linear topology).
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 (D-coded)
4Host/Bus In, M12 socket (D-coded)
5PWR, M12 plug (A-coded)
Figure 7.1:Connections of the device
Voltage supply and switching inputs/outputs
The voltage supply (10 … 30 V DC) is connected at the PWR M12 plug.
Leuze electronicBCL 648i29
Available on the PWR M12 plug and on the SW IN/OUT M12 socket are four freely programmable
2
3
1
4
5
FE
switching inputs/outputs that can be individually adapted to the respective application (see chapter 7.2,
see chapter 7.4).
Standalone operation in PROFINET-IO
During stand-alone operation of the device, the host interface of the superior system is connected to
HOST/BUS IN. Thus, a star structure (Ethernet structure) is possible.
Network operation in PROFINET-IO
In network operation, the superior system (PC/PLC) is connected to the host interface of the device. With
the aid of the switch integrated in the device, the bus connection to the next participant, e.g. another
device, can occur directly via the BUS OUT socket! In addition to the classic star topology, a linear
topology is thus also possible.
7.2PWR – Voltage supply and switching inputs/outputs 3 and 4
Electrical connection
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
ThreadFEFunctional earth (housing)
Supply voltage
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.
Leuze electronicBCL 648i30
Electrical connection
1
2
3
In general, configuration of the bar code reader takes place on the PROFINET-IO 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 PROFINET-IO or after deactivating param-
eter enabling, the parameter settings set by the PROFINET-IO 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.
Function as switching input
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!
Leuze electronicBCL 648i31
By default, the two switching inputs/outputs SWIO_3 and SWIO_4 are configured so that switch-
4
3
1
2
1
3
2
4
5
FE
ing input SWIO_3 activates the reading gate and switching output SWIO_4 switches on “No
Read”.
7.3SERVICE – USB interface (type A)
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 -
Electrical connection
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 16 "Ordering information and accessories") for
the connection and use a service PC to configure.
NOTICE
IP 65 is achieved only if the connectors and caps are screwed into place. Alternatively, a parameter
memory in the form of a USB memory stick certified by Leuze electronic GmbH + Co. can be connected
to the provided USB service interface. With this Leuze memory stick, degree of protection IP 65 is also
ensured.
7.4SW IN/OUT – Switching input/switching output
Figure 7.6:SW IN/OUT, M12 socket (A-coded)
Leuze electronicBCL 648i32
Table 7.3:Pin assignment SW IN/OUT
1
2
3
4
PinNameComment
1VOUTVoltage supply for sensors
(VOUT identical to VIN at PWR IN)
Electrical connection
2SWIO_
Configurable switching input / output 1
1
3GNDGND for the sensors
4SWIO_
Configurable switching input / output 2
2
5FEFunctional earth
ThreadFEFunctional earth (housing)
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!
Leuze electronicBCL 648i33
Function as switching output
1
3
2
4
Electrical connection
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!
By default, the two switching inputs/outputs SWIO_1 and SWIO_2 are configured so that they
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 a PROFINET-IO interface available as host interface.
Figure 7.9:Host/Bus In, M12 socket (D-coded)
Table 7.4:Pin assignment HOST / BUS IN
PinNameComment
1TD+Transmit Data +
2RD+Receive Data +
3TD-Transmit Data -
4RD-Receive Data -
ThreadFEFunctional earth (housing)
For the host connection of the device, the “KB ET - … - SA-RJ45” ready-made cables are preferred
(see table 16.3).
Leuze electronicBCL 648i34
PROFINET-IO cable assignments
2
1
3
4
1
8
1
3
2
4
Figure 7.10: HOST / BUS IN cable assignments on RJ-45
NOTICE
Ensure adequate shielding. The entire interconnection cable must be shielded and earthed. The RD+/
RD- and TD+/TD- wires must be stranded in pairs. Use CAT 5 cable for the connection.
7.6BUS OUT
To set up a PROFINET-IO network with other participants with linear topology, the device makes available
another PROFINET-IO RT interface. The use of this interface drastically reduces the cabling requirements,
as only the first BCL 648i requires a direct connection to the switch, via which it can communicate with the
host. All other BCL 648i are connected in series to the first BCL 648i (see figure 7.13).
Electrical connection
1Twisted pair
Figure 7.11: M12 socket (D-coded)
Table 7.5:Pin assignment BUS OUT
PinNameComment
1TD+Transmit Data +
2RD+Receive Data +
3TD-Transmit Data -
4RD-Receive Data -
ThreadFEFunctional earth (housing)
For the connection of two devices, the “KB ET - … - SSA” ready-made cables are preferred (see
table 16.3).
If using self-made cables, observe the following notice:
NOTICE
Ensure adequate shielding. The entire interconnection cable must be shielded and earthed. The signal
lines must be stranded in pairs. Use CAT 5 cable for the connection.
For the device as standalone device or as the last participant in a linear topology, termination on
the BUS OUT socket is not mandatory!
Leuze electronicBCL 648i35
7.7PROFINET-IO topologies
1
2
3
4
1
2
34
5
The BCL 648i can be operated as a single device (standalone) with individual device name in a
PROFINET-IO star topology. The PLC must communicate this device name to the participant during the
device naming (see chapter 10.4.5 "Step 5 – Configuration of the device name - naming the device").
The innovative further development of the device with integrated switch functionality offers the option of
networking multiple bar code readers of type BCL 648i with one another. In addition to the classic star
topology, a linear topology is thus also possible.
This makes wiring the network easy and inexpensive as participants are connected to one another in
parallel.
The maximum length of a segment (connection from one participant to the next) is limited to 100 m.
1PC / PLC host interface
Figure 7.13: PROFINET-IO in a linear topology
Up to 254 bar code readers can be networked. They must all be located in the same subnet.
2To other network participants
3(device name 1)
4(device name 2)
5(device name 3)
To do this, the individual device name is assigned to each participating device through device naming,
using the control's configuration tool (see chapter 10.4.5 "Step 5 – Configuration of the device name naming the device").
Notices on the necessary configuration steps, see chapter 10.
Leuze electronicBCL 648i36
7.7.1PROFINET-IO wiring
Electrical connection
Table 7.6:Contact assignment of M12
PROFINET-IO connection cable KB ET…
PinNameCore color
PinNameCore color
1TD+yellow
2RD+white
3TD-Orange
4RD-blue
SH
FEbare
(thread)
A Cat. 5 Ethernet cable should be used for wiring.
For the connection technology transition from M12 to RJ45, a “KDS ET M12 / RJ 45 W - 4P” adapter is
available into which standard network cables can be plugged.
If no standard network cables are to be used (e.g. due to insufficient IP degree of protection), you can use
the “KB ET - … - SA” user-configurable cables on the device (see table 16.3).
The connection between the individual devices in a linear topology is performed with the “KB ET - … - SSA”
cable (see table 16.3).
For unavailable cable lengths, you can configure your cables yourself. When doing so, make certain that
you connect TD+ on the M12 plug with RD+ on the RJ-45 plug and TD- on the M12 plug with RD- on the
RJ-45 plug, respectively, etc.
NOTICE
Use the recommended plugs / sockets or the ready-made cables (see chapter 16 "Ordering information
and accessories"). Use CAT 5 cable for the connection.
7.8Cable lengths and shielding
Observe the following maximum cable lengths and shielding types:
Table 7.7:Cable lengths and shielding
ConnectionInterfaceMax. cable lengthShielding
BCL – serviceUSB3 mShielding absolutely
BCL – hostPROFINET-IO RT100 mshielding absolutely
Network from the first
BCL to the last BCL
BCL – power supply
unit
PROFINET-IO RTThe maximum segment
necessary acc. to USB
specifications
required
shielding absolutely
length must not exceed
required
100 m for 100Base-TX
Twisted Pair (min. Cat. 5)
30 mNot necessary
Switching input10 mNot necessary
Switching output10 mNot necessary
Leuze electronicBCL 648i37
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.6 "Overview of the project modules").
Changes made via the display are overwritten!
Device settings for operating the device on the PROFINET-IO are managed and configured ex-
clusively by the PROFINET-IO controller (PLC). If parameters are changed via the display during
bus operation, the device is separated from the PROFINET-IO at the moment parameter en-
abling is activated via the display. Parameters set by the PROFINET-IO are moved to the back-
ground, and changes to parameters can be made via the display. When parameter enabling is
exited, the device is automatically reconnected to the PROFINET-IO. Upon connection to the
PROFINET-IO, the device receives all parameters from the PROFINET-IO controller (PLC).
• Display of the network settings
Further information see chapter "Ethernet".
• 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 PROFINET-IO.
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
IP addressThe IP address can be set to any value in the
GatewayThe gateway address can be set to any value in the
Net maskThe net mask can be set to any value in the
DHCP activatedOff/On
TcpIPActivatedOff/On
Description
xxx.xxx.xxx.xxx format.
Normally, the network administrator specifies the IP
address that is to be set here. If DHCP is activated, the
setting made here has no effect and the device is set to
the values that it obtains from the DHCP server.
xxx.xxx.xxx.xxx format.
The device communicates with participants in other
subnets via the gateway. Splitting the read application
over multiple subnets is rather uncommon; the setting
of the gateway address, thus, usually has no meaning.
xxx.xxx.xxx.xxx format.
Usually, the device is used in a private Class C network
and the default setting can be accepted without
change.
Please note that it is possible here to enter arbitrary
values for xxx.xxx.xxx.xxx. Only the values 255 or 000
are permissible for xxx, however. If other values are
set, an error message appears upon restart of the
device.
If DHCP is activated, the device draws its settings for
IP address, gateway and net mask from a DHCP
server. The manual settings made above have no
effect, but are retained and are again active if DHCP is
deactivated.
TCP/IP communication with the host is activated.
TCP/IP and UDP can be operated in parallel to the
PROFINET-IO!
Standard
192.168.060.101
000.000.000.000
255.255.255.000
Off
Off
ModeServer/client
TcpIP clientIP addressThe IP address can be set to any value in the
Port numberThe port number can be set to any value between 0
TimeoutThe timeout can be set to any value between 100 and
Repetition time The repetition time can be set to any value between
Server defines the device as TCP server: The superior
host system (PC / PLC as client) actively establishes
the connection and the connected device waits for the
connection to be set up. Under TcpIP Server -> Port
number, you must also specify on which local port the
device accepts communication requests from a client
application (host system).
Client defines the device as TCP client: The device
actively establishes the connection to the superior host
system (PC / PLC as server). Under TcpIP Client, you
must also specify the IP address of the server (host
system) and the port number on which the server (host
system) accepts a connection. In this case, the device
now determines when and with whom a connection is
established!
xxx.xxx.xxx.xxx format.
IP address of the host system with which the device
exchanges data as TCP client.
and 65535.
Port number of the host system with which the device
exchanges data as TCP client.
60,000 ms.
Time after which an attempt to establish a connection
is automatically interrupted by the device if the server
(host system) does not respond.
100 and 60,000 ms.
Time after which another attempt is made to establish
a connection.
Server
000.000.000.000
10000
1000 ms
5000 ms
TcpIP serverPort numberThe port number can be set to any value between 0
and 65535.
Local port on which the device accepts connection
requests from a client application (host system) as TCP
server.
IP addressIP address of the host to which the data is to be trans-
Port numberPort number of the host to which the data is to be
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.
Description
Activates the connection-free UDP protocol which is
suitable for e.g. transferring process data to the host.
UDP and TCP/IP can be used in parallel.
For network applications with changing partners or for
only brief data transmissions, UDP is preferred as connection-free protocol.
ferred. The IP address can be set to any value in the
xxx.xxx.xxx.xxx format.
Correspondingly, the host system (PC / PLC) requires
the set IP address of the device and the selected port
number. By assigning these parameters, a socket is
formed via which the data can be sent and received.
transferred. The port number can be set to any value
between 0 and 65535.
Standard
Off
000.000.000.000
10001
When operating the device on the PROFINET-IO, 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.
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.
Leuze electronicBCL 648i45
Menu description
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.
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.
Leuze electronicBCL 648i46
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.
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 .
Menu description
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 PROFINET-IO if parameter enabling is activated via the display.
The device is reactivated on the PROFINET-IO after parameter enabling is exited.
In the PROFINET-IO network, configuration is performed exclusively via the
PROFINET-IO controller.
Parameters set via the display when operating the device on the PROFINET-IO are overwritten
by the parameters set in the GSD modules. For GSD modules which are not actively used on the
PROFINET-IO, the default settings of the bar code reader apply (see chapter 10.6 "Overview of
the project modules"). Thus, the PROFINET-IO presets values to all parameters.
Leuze electronicBCL 648i47
Menu description
If parameters are changed via the display during bus operation, the device is separated from the
PROFINET-IO at the moment parameter enabling is activated via the display. Parameters set by
the PROFINET-IO 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
PROFINET-IO. Upon connection to the PROFINET-IO, the device receives all parameters from
the PROFINET-IO controller.
Changes made via the display are overwritten!
Device settings for operating the device on the PROFINET-IO are managed and configured ex-
clusively by the PROFINET-IO 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.
When operating the device on the PROFINET, the password entered in the display has no effect.
The PROFINET overwrites the password with the default settings.
If a password is desired for PROFINET operation, it must be configured via module 62 (see
chapter 10.12.3 "Module 62 – Display").
Network configuration
For information on configuring PROFINET IO see chapter 10 "Starting up the device - Configuration".
Leuze electronicBCL 648i48
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 648i49
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 648i50
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
The webConfig tool is available for all bar code readers of the BCL 600i series. Because configuration of
the PROFINET-IO device is performed via the PROFINET-IO controller, the module overview shown in
the webConfig tool is, in this case, used only for displaying and checking the configured parameters.
The current configuration of your device is loaded upon startup of the webConfig tool. If you change the
configuration via the control while the webConfig tool is running, you can use the “Load parameter from
Leuze electronicBCL 648i51
Commissioning – Leuze electronic webConfig tool
device” button after making the changes to update the display in the webConfig tool. This button appears
in the upper left in the center window area in all submenus of the Configuration main menu.
Leuze electronicBCL 648i52
10Starting up the device - Configuration
This chapter describes basic configuration steps which you can carry out either via the webConfig tool or
the display.
Via the webConfig tool
The most convenient way to configure the device is via the webConfig tool. Only the webConfig tool gives
you access to all settings of the device. To use the webConfig tool, you need to establish a USB connection between the device and a PC/laptop.
Notes on use see chapter 9 "Commissioning – Leuze electronic webConfig tool".
Via display
The display offers basic configuration options for the device. Configuration via the display is appropriate if
you want to configure simple reading tasks and you cannot or do not want to set up a USB connection
between the device and a PC/laptop.
Notes on use see chapter 3.5.2 "Status display and operation".
Starting up the device - Configuration
10.1General information on PROFINET-IO implementation
Various product variants of the BCL 600i series are available for connecting to different fieldbus systems
such as PROFIBUS DP, PROFINET-IO and Ethernet.
The BCL 648i is designed as a PROFINET-IO device (acc. to IEEE 802.3). It supports a transmission rate
of up to 100 Mbit/s (100Base TX/FX), full duplex, as well as auto-negotiation and auto-crossover.
The functionality of the device is defined via parameter sets which are clustered in modules. These
modules are contained in a GSDML file.
Each device is sealed with a unique MAC ID. This information is used to assign a unique, plant-specific
device name (NameOfStation) to the device via the Discovery and Configuration Protocol (DCP). When
configuring a PROFINET-IO system, the assignment of the device names to the configured IO devices
creates a name-based relationship for the participating IO devices (device naming).
The device features multiple M12 plugs / sockets for the electrical connection of the supply voltage, the
interface and the switching inputs and outputs (see chapter 7 "Electrical connection").
The device supports:
• PROFIBUS-IO device functionality based on the PROFIBUS profile for identification systems
• Modular structure of the IO data
• PROFINET-IO RT (Real Time) communication
• Standard Fast Ethernet (100 Mbit/s) connections (M12 technology)
• Integrated Ethernet switch/ 2 Ethernet ports
• PROFINET-IO Conformance Class B (CC-B)
• Media Redundancy Protocol (MRP)
• I&M support: I&M 0-4
• Diagnostics / alarms
Identification & Maintenance Functions
The device supports the base record I&M0:
Leuze electronicBCL 648i53
Starting up the device - Configuration
Table 10.1:Base record I&M0
ContentsIndexData typeDescriptionValue
Header010 bytesManufacturer specific
MANUFACTURER_ID10UNSIGNED16Leuze PNO manufacturer ID
ORDER_ID12ASCII string 20 bytesLeuze order no.
SERIAL_NUMBER32ASCII string 16 bytesUnique device serial number Device-dependent
HARDWARE_REVISION48UNSIGNED16Hardware revision number, e.g.
SOFTWARE_REVISION501xCHAR, 3xUNSIGNED8Software version number, e.g.,
REVISION_COUNTER54UNSIGNED16Is incremented when updating
PROFILE_SPECIFIC_TYPE58UNSIGNED16Info about subchannels and sub-
IM_VERSION602xUNSIGNED8Implemented I&M version V 1.10x01,0x01
IM_SUPPORTED62Bit[16]Optional I&M records available0
Manufacturer specific
Leuze manufacturer ID
"0…65535"
V130 corresponds to "V1.3.0"
individual modules. This function is
not supported.
number
modules. Not relevant
338
Device-dependent
Device-dependent
0
0xF600 (generic
device)
0x01,0x01
The device supports further protocols and services for communication:
• TCP / IP (Client / Server)
•UDP
•DCP
•ARP
•PING
10.1.1 PROFINET-IO communication profile
The communication profile defines how participants serially transmit their data via the transmission
medium.
The PROFINET-IO communication profile is designed for efficient data exchange on the field level. The
data exchange with the devices is mainly cyclical. For the configuration, operation, monitoring and alarm
handling, however, acyclic communication services are also used.
Depending on the communication requirements, PROFINET-IO offers suitable protocols and transfer
methods:
Real Time communication (RT) via prioritized Ethernet frames for
• Cyclical process data (I/O data stored in the I/O area of the control)
• Clock synchronization
•Alarms
• Neighborhood information
• Address assignment/address resolution via DCP.
TCP/UDP/IP communication via standard Ethernet TCP/UDP/IP frames for
• Establishing communication and
• Acyclic data exchange, and also for the transfer of various information types such as:
• Parameters for the configuration of the modules during the establishment of the communication
• I&M 0-4 data (Identification & Maintenance functions)
• Reading diagnostic information
• Reading I/O data
• Writing device data
Leuze electronicBCL 648i54
10.1.2 Conformance Classes
PROFINET-IO devices are categorized into conformance classes to
of the devices for the users. The device can use an existing Ethernet network infrastructure and corresponds to Conformance Class B (CC-B). Thus, it supports the following features:
• Cyclical RT communication
• Acyclic TCP/IP communication
• Alarms/diagnostics
• Automatic address assignment
• I&M 0-4 functionality
• Neighborhood detection basic functionality
• FAST Ethernet 100 Base-TX/FX
• Convenient device exchange without engineering tools
• SNMP support
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.
Check the applied voltage. It must be in the range between +10V … 30 V DC.
Starting up the device - Configuration
simplify the evaluation and selection
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.3Starting the device
Connect the +10 … 30 V DC supply voltage (typ. +24 V DC); the device starts up and the bar code read-
ing window appears on the display.
By default, parameter enabling is deactivated and you cannot change any settings. If you wish to carry out
the configuration via the display, you must activate parameter enabling (see chapter 8.6 "Operation",
Parameter enable).
First, you need to assign its individual name to the device.
The PLC must communicate this device name to the participant during the device naming (see
chapter 10.4.5 "Step 5 – Configuration of the device name - naming the device").
10.4Configuration steps for a Siemens Simatic S7 control
The following steps are necessary for commissioning with a Siemens S7 control:
1.Preparation of the control system (S7 PLC)
2.Installation of the GSD file
3.Hardware configuration of the S7 PLC
4.Transfer of the PROFINET-IO configuration to the IO controller (S7 PLC)
5.Device naming
• Configuration of the device name
• Device naming
• Assigning the device names to the configured IO devices (see figure 10.2).
• Assignment of MAC address - IP address - individual device name (see figure 10.3)
6.Check device name
10.4.1 Step 1 – Prepar
The first step involves the assignment of an IP address to the IO cont
of the control for consistent data transmission.
Leuze electronicBCL 648i55
ing the control system (S7 PLC)
roller (PLC - S7) and the preparation
If an S7 control is used, you need to ensure that Simatic-Manager Version 5.4 + service pack 5
(V5.4+SP5) or higher is used.
10.4.2 Step 2 – Installation of the GSD file
For the subsequent configuration of t
loaded first. 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.
Install the GSD file associated with the device in the PROFINET-IO Manager of your control.
General information on the GSD file
The term GSD stands for the textual description of a PROFINET-IO device model.
For the description of the more complex PROFINET-IO device model, the XML-based GSDML (Generic
Station Description Markup Language) was introduced.
In the following, the terms “GSD” or “GSD file” always refer to the GSDML-based format.
The GSDML file can support an arbitrary number of languages in one file. Every GSDML file contains a
version of the device model. This is also reflected in the file name.
File name structure
Starting up the device - Configuration
he IO devices, e.g., BCL 648i, the corresponding GSD file must be
The file name of the GSD file is constructed according to the following rule:
• GSDML schema version:
Version identifier of the GSDML schema version used, e.g., V2.2.
• Date:
Release date of the GSD file in the format yyyymmdd.
This date doubles as the version identifier of the file.
Example:
• GSDML-V2.2-Leuze-BCL648i-20090503.xml
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 PROFINET-IO, 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.
10.4.3 Step 3 – Hardware co
nfiguration of the S7 PLC: Configuration
For the configuration of the PROFINET-IO system using the HW Config of the SIMATIC Manager, insert
the device into your project. An IP address is now assigned to a unique device name.
Leuze electronicBCL 648i56
Starting up the device - Configuration
1
1Device name
Figure 10.1: Assignment of the device names to IP addresses
10.4.4 Step 4 – Transfer of the configuration to the IO controller (S7 PLC)
After the correct transfer to the IO
controller (S7 PLC), the PLC automatically carries out the following
activities:
• Check of device names
• Assignment of the IP addresses that were configured in the HW Config to the IO devices
• Establishment of a connection between the IO controller and configured IO devices
• Cyclical data exchange
Participants that have not been named cannot be contacted yet at this point in time!
10.4.5 Step 5 – Con
The PROFINET-IO device has a unique MAC address that is part of the factory settings. You can find this
figuration of the device name - naming the device
address on the name plate of the bar code reader.
This information is used to assign a unique, plant-specific device name (NameOfStation) to the device via
the Discovery and Configuration Protocol (DCP).
The PROFINET-IO also uses the Discovery and Configuration Protocol (DCP) for the IP address assign-
ment during each system boot-up if the IO device is located in the same subnet.
All BCL 648i participants in a PROFINET-IO network must be located in the same subnet!
Leuze electronicBCL 648i57
Starting up the device - Configuration
1
2
3
Device naming
PROFINET-IO defines the “naming of the device” as the creation of a name-based relationship for a
PROFINET-IO device.
Assigning the device names to the configured IO devices
1Device name
2Browse button
3MAC address selection dialog
Figure 10.2: Assigning the device names to the configured IO devices
Select the respective bar code scanner for the device naming based on its MAC address. The unique
device name (which must match the name in the HW Config) is then assigned to this participant.
Multiple devices can be distinguished by the MAC addresses displayed. The MAC address may
be found on the name plate of the respective bar code scanner.
Assignment of MAC address - IP address -individual device name
At this point, please assign an IP address (suggested by the PLC), a subnet mask and, if required, a
router address, and assign this data to the named participant (device name).
Leuze electronicBCL 648i58
Starting up the device - Configuration
1
2
3
1Ethernet node
2Set IP configuration
3Device name
Figure 10.3: MAC address - IP address - individual device name
Multiple devices can be distinguished by the MAC addresses displayed. The MAC address may
be found on the name plate of the respective bar code scanner.
From now on, and when programming, only the unique device name (max. 255 characters) is used.
10.4.6 Step 6 – Check device names
ter completing the configuration phase, recheck the device names that have been assigned. Please
Af
ensure that these names are unique and that all participants are located in the same subnet.
10.4.7 Ethernet host communication
This chapter is only of interest if an additional IP address independent of the device name is to be created
for an additional communication channel, e.g. TCP/ IP. The Ethernet host communication enables the
configuration of connections to an external host system. Both UDP as well as TCP/IP (in either client or
server mode) can be used. The connection-free UDP protocol is used primarily to transfer process data to
the host (monitor operation). The connection-oriented TCP/IP protocol can also be used to transfer
commands from the host to the device. With this connection, the data is backed up by the TCP/IP protocol
itself.
If you would like to use the TCP/IP protocol, you must also define whether the device is to operate as a
TCP client or as a TCP server.
Both protocols can be activated simultaneously and used in parallel.
Leuze electronicBCL 648i59
Contact your network administrator to determine which communication protocol is used.
10.4.8 Manually setting the IP address
If your system does not include a DH
nently, proceed as follows:
Have the network administrator specify the data for IP address, net mask and gateway address of the
device.
Set these values on the device:
In the webConfig tool
In the main menu, select Configuration -> Communication -> Ethernet interface.
If the setting is performed via the webConfig tool, the device must be restarted. Only after this
restart is the set IP address accepted and does it become active.
Or alternatively in the display
Use the navigation buttons to move through the menu. Activate the desired selection with
the enter button .
Starting up the device - Configuration
CP server or if the IP addresses of the devices are to be set perma-
In the main menu, select the Parameter menu.
Select the Ethernet menu item.
Press the enter button to enter the menu.
Select the Ethernet interface menu item.
Press the enter button to enter the menu.
Successively select the IP address, Gateway and Net mask menu items and set the desired values.
Exit the menu with the Escape button.
The Configuration changed, system must be restarted message appears.
Confirm with OK to initiate a restart and to activate the changed configuration.
10.4.9 Automatically setting
If your system includes a DHCP server which is to be used to assign the IP addresses, proceed as follows:
In the webConfig tool
In the main menu, select Configuration -> Communication > Ethernet -> DHCP.
Or alternatively in the display
In the main menu, select the Parameter menu.
Select the Ethernet menu item.
Press the enter button to enter the menu.
Select the Ethernet interface menu item.
Press the enter button to enter the menu.
Select the DHCP activated menu item and set the desired value.
Exit the menu with the Escape button.
The Configuration changed, system must be restarted message appears.
Confirm with OK to initiate a restart and to activate the changed configuration.
the IP address
The device responds to ping commands. A simple test to determine whether the address assign-
ment was successful is to enter the previously configured IP address in a ping command (e.g.
ping 192.168.60.101 in a command line window under Windows).
Leuze electronicBCL 648i60
10.4.10Address Link Label
IP
00:15:7B:20:00:15
DDLS 508i MAC
Name
Address Link Label
The
Starting up the device - Configuration
is an additional stick-on label that is affixed to the device.
Figure 10.4: Example of an
•The
Address Link Label
and offers the possibility to enter the IP address and the device name by hand.
The area of the
remainder of the stick-on label if necessary by means of the perforation.
• To use, the
layout diagrams to designate the device.
• Once affixed in the documents, the
mounting location, MAC address or device, as well as the corresponding control program.
The time-consuming searching, reading, and manually writing down of the MAC addresses of all
devices installed in the system are eliminated.
Each device with Ethernet interface is uniquely identified via the MAC address assigned during
production. The MAC address is also listed on the name plate of the device.
If multiple devices are commissioned in a system, the MAC address of each installed device
must be correctly assigned, e.g., during programming of the control.
Remove the
Amend the IP address and the device name on the
Affix the “Address Link Label” in the documents, e.g., in the installation diagram, according to the posi-
tion of the device.
Address Link Label
Address Link Label
Address Link Label
Address Link Label
contains the MAC address (Media Access Control address) of the device
on which the MAC address is printed can be separated from the
is peeled from the device and can be affixed in the installation and
Address Link Label
from the device.
; the device type varies depending on series
establishes a unique reference between
Address Link Label
as necessary.
10.4.11TCP/IP
Activate the TCP/IP protocol.
Set the TCP/IP mode of the device.
In TCP client mode, the device actively establishes the connection to the superior host system (PC / PLC
as server). The device requires from the user the IP address of the server (host system) and the port
number on which the server (host system) accepts a connection. In this case, the device determines when
and with whom a connection is established!
With a device as TCP client, also set the following values:
• IP address of the TCP server (normally the PLC/host computer)
• Port number of the TCP server
• Timeout for the wait time for an answer from the server
• Repetition time for renewed communication attempt following a timeout
In TCP server mode, the superior host system (PC / PLC) actively establishes the connection and the
connected device waits for the connection to be set up. The TCP/IP stack must be informed by the user
as to the local port of the device (port number) on which connection requests from a client application (host
system) are to be received. If there is a connection request and a connection is established by the superior
host system (PC / PLC as client), the device (server mode) accepts the connection. Data can then be sent
and received.
Leuze electronicBCL 648i61
Starting up the device - Configuration
With a device as TCP server, also set the following values:
• Port number for the communication of the device with the TCP clients
The corresponding adjustment options can be found:
In the webConfig tool
In the main menu, select Configuration -> Communication -> Host communication.
Or alternatively in the display
In the main menu, select the Parameter menu.
In the Parameter menu, select the Ethernet menu item.
Press the enter button to enter the menu.
Select the Host communication menu item.
Press the enter button to enter the menu.
Select the TcpIP menu item.
Press the enter button to enter the menu.
Successively select the Activated, Mode and TcpIP client or TcpIP server menu items and set the
desired values.
Exit the menu with the Escape button.
The Configuration changed, system must be restarted message appears.
Confirm with OK to initiate a restart and to activate the changed configuration.
10.4.12UDP
The device requires from the user the IP address and the port number of the communication partner. In
the same way, the host system (PC / PLC) now also requires the set IP address of the device and the
selected port number. By assigning these parameters, a socket is formed via which the data can be sent
and received.
Activate the UDP protocol
Also set the following values:
• IP address of the communication partner
• Port number of the communication partner
The corresponding adjustment options can be found:
In the webConfig tool
In the main menu, select Configuration -> Communication -> Host communication.
Or alternatively in the display
In the main menu, select the Parameter menu.
In the Parameter menu, select the Ethernet menu item.
Press the enter button to enter the menu.
Select the Host communication menu item.
Press the enter button to enter the menu.
Select the UDP menu item.
Press the enter button to enter the menu.
Successively select the Activated, IP address and Port number menu items and set the desired values.
Exit the menu with the Escape button.
The Configuration changed, system must be restarted message appears.
Confirm with OK to initiate a restart and to activate the changed configuration.
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 mod-
ules (see chapter 10.5).
Leuze electronicBCL 648i62
10.5Commissioning via the PROFINET-IO
10.5.1 General information
The device is designed as a modular field device. As is the case
IO functionality of the device is defined via parameter sets that are combined in modules (slots) and submodules (subslots). The further addressing within subslots is then accomplished via an index. The
modules are included in a XML-based 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.
Reception of the input data and sending of the output data are described from the perspective of
the control (IO controller).
Further information see chapter 10.4 "Configuration steps for a Siemens Simatic S7 control". For
the default settings of the device, please refer to the following module descriptions.
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!
Starting up the device - Configuration
for PROFIBUS devices, the PROFINET-
From the perspective of the device, a distinction is made between PROFINET-IO parameters and internal
parameters. PROFINET-IO parameters are all parameters that can be changed via the PROFINET-IO 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 PROFINET-IO configuration.
During the configuration phase, the BCL receives parameter telegrams from the IO controller (master).
Before this is evaluated and the respective parameter values are set, all PROFINET-IO parameters are
reset to default values. This ensures that the parameters of modules that are not selected are set to the
default values.
10.5.2 Permanently defined pa
On the PROFINET-IO, parameters may be stored in modules or may be defined permanently in a
PROFINET-IO 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 configuration modules and are thus
connected to the base module (DAP: Device Access Point) that is addressed via slot 0/subslot 0.
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 device parameters that are permanently defined. These parameters always
exist and are available independent of the modules (DAP slot 0/subslot 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.
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.6Overview of the project modules
When using PROFINET-IO modules, the parameters are assembled dynamically, i.e., only the parameters
that were selected by the activated modules are changed.
The BCL has parameters (device parameters) that must always be present. These parameters are defined
outside of modules and are thus linked to the base module (DAP).
In the current version, a total of 59 modules are available for use. A device module (DAP, see
chapter 10.5.2 "Permanently defined parameters/device parameters") is used for basic device configuration 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 PROFINET-IO 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.
Leuze electronicBCL 648i66
Starting up the device - Configuration
During cyclic operation, the input data is then passed on to the IO controller.
During the startup or initialization phase, the device sets the input data to an initial value (usually 0).
The modules can be grouped together in any order in the engineering tool. Note, however, that
many modules contain linked data (e.g., the decoding result modules 20-41). It is important to
maintain the consistency of these data. The BCL 648i offers 59 different modules. Each of these
modules may only be selected once; otherwise, the device ignores the configuration. The device
checks its max. permissible number of modules. The control also reports an error if the input and
output data across all selected modules exceed a total length of 1024 bytes. 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:
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%
1UNSIGNED8 0 … 2558-
2UNSIGNED8 0 … 2553-
3UNSIGNED8 0 … 2558-
4UNSIGNED8 0 … 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)
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.
If this parameter is set, a decoded bar code is
only completely decoded after the scanning
beam has exited the entire bar code.
0UNSIGNED8 0 … 25513-
1 … 2UNSIGNED16 2 … 4006-
3.0Bit0: Switched off
3.2Bit0: Switched off
1: Switched on
1: Switched on
1-
0-
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.16.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.
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
Free0.1Bit0-
Free0.2Bit0-
Free0.3Bit0-
Data acknowledgement
Data resetDeletes decoding results that may have been
This control bit signals that the transmitted
data have been processed by the master.
Only relevant in handshake mode (with ACK).
stored and resets the input data of all modules.
Free0.6Bit
Free0.7Bit
0.4Bit0 -> 1: Data has been pro-
0.5Bit0 -> 1: Data reset0-
0 -> 1: Reading gate
active
cessed by the master
1 -> 0: Data has been processed by the master
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.8.3) or one of the identifier modules (see chapter 10.11) is used.
0-
0-
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.8.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.12.1) is not deleted. For the status byte of decoding result modules 20 … 27
(see chapter 10.9.2), the two toggle bytes and the reading gate status remain unchanged.
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 648i73
Starting up the device - Configuration
Parameter
Table 10.9: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 BCL 648i 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
1)
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.
4)
2)
3)
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.
1) see chapter 10.8.2 "Module 11 – Reading gate control"
2) Corresponds to the settings made via the device module (see chapter 10.5.2, see chapter 10.7.1).
3) see chapter 10.11, modules 52-54, identifier filter string
4) see chapter 10.15.3, see chapter 10.15.4
Parameter length
6 byte
Input data
None
Output data
None
10.8.3 Module 12 – Multi-label
PROFINET-IO module identifier
Module ID 1012
Submodule ID: 1
4UNSIGNED16 1 … 65535
0: Reading gate deactivation is switched off.
0ms
Description
The module defines extended features for various code types.
1) see chapter 10.8.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.
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.8.1 "Module 10 –
Activations", “Mode” parameter). Otherwise there is a risk of losing decoding results if the control
is not fast enough.
Fragment number Current fragment number0.0 … 0.3 Bitarea0 … 150-
Remaining fragments
Fragment sizeFragment length, always corresponds to the
Number of fragments which still have to be
read for a complete result.
configured fragment length, except for the last
fragment.
Input data length
2 byte consistent
Output data
None
10.8.5 Module 14 – Interlinked read result
PROFINET-IO module identifier
Module ID
: 1014
Submodule ID: 1
Description
This module is used to switch to a mode in which all decoding results within one reading gate are combined
into a single read result.
Parameter
Table 10.14:Parameters for module 14
0.4 … 0.7 Bitarea0 … 150-
1UNSIGNED8 0 … 280-
ParameterDescriptionRel. Addr. Data typeValue rangeDefaultUnit
Separator character
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.9Result Format
In the following various modules for the output of decoding results are listed. They have the same structure
but different output lengths. The PROFINET-IO 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 … 41, on the other hand, can be combined freely with the decoding result modules.
This parameter is used to define a delimiter
that is inserted between two individual decoding results.
Description
The module indicates the state of the decoding and of the automatic decoder configuration.
Parameter
None
Input data
Table 10.15:Input data for module 20
Input dataDescriptionAddr.Data typeValue rangeInit value Unit
Starting up the device - Configuration
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
1) 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.
1)
.
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 IO controller
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.9.3 "Module 30 – Data formatting"):
• New result
• Result state
All others remain unchanged.
Leuze electronicBCL 648i77
Data reset behavior:
Upon data reset the input data is deleted, except for the reading gate status and the two toggle bits (see
Description
The module defines the transfer of the actually decoded read results. The data is transmitted consistently
over the entire range.
Parameter
None
Input data
Table 10.16: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-
ParameterDescriptionAddr.Data typeValue rangeDefault Unit
gate state
results in the
buffer
flow
acknowledgement
data length
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.
1)
2)
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 IO controller
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-
tently 8 bytes.
tently 12 bytes.
tently 16 bytes.
tently 20 bytes.
tently 24 bytes.
2..8x
UNSIGNED8
2..12x
UNSIGNED8
2..16x
UNSIGNED8
2..20x
UNSIGNED8
2..24x
UNSIGNED8
0-FFh0-
0-FFh0-
0-FFh0-
0-FFh0-
0-FFh0-
Leuze electronicBCL 648i78
Starting up the device - Configuration
Module
no.
27DataBar code information with a length of consis-
28DataBar code information with a length of consis-
29DataBar code information with a length of consis-
ParameterDescriptionAddr.Data typeValue rangeDefault Unit
tently 28 bytes.
tently 64 bytes.
tently 128 bytes.
2..28x
UNSIGNED8
2..64x
UNSIGNED8
2..128x
UNSIGNED8
0-FFh0-
0-FFh0-
0-FFh0-
1) Attention: This does not necessarily correspond to the state at the time the bar code is scanned
2) 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..128 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.
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.
The parameter defines the output characters if
no bar code could be read.
0STRING
20 characters
null terminated
1 … 20 bytes of ASCII
characters
63 („?“)-
Decoding result at
reading gate start
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
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.
1)
20.5Bit0: Input data remain on
21.1Bit0: Left-justified
21.4 … 21.7Bitarea0: No fill up
22UNSIGNED8 0 … FFh0-
the old value
1: Input data is reset to the
init value
1: Right-justified
3: Fill up to the transmission length
0-
0-
3-
Leuze electronicBCL 648i79
1) and thus also controls possible shortening of a decoding result that is too large.
Parameter length
23 byte
Input data
None
Output data
None
Comment
The "decoding result at reading gate start" parameter is only taken into account if the "Without ACK" mode
is set (see chapter 10.8.1 "Module 10 – Activations").
The text for erroneous readings does not permit the use of ASCII characters that cannot be dis-
played (<0x20h).
10.9.4 Module 31 – Reading gate number
Starting up the device - Configuration
PROFINET-IO module identifier
Module ID
: 1031
Submodule ID: 1
Description
The module defines input data for the communication of the number of reading gates since system start.
Parameter
None
Input data
Table 10.18:Input data for module 31
Input dataDescriptionAddr.Data typeValue rangeInit value Unit
Reading gate number
The BCL 648i 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.
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.
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.
2 … 3UNSIGNED16 0 … 45001/10
4 … 5UNSIGNED16 0 … 20001/10
6 … 7UNSIGNED16 0 … 655350ms
degree
degree
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.
Leuze electronicBCL 648i86
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.11 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.
Starting up the device - Configuration
ASCII characters that cannot be displayed (<0x20h) must not be used.
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.8.1 "Module 10 – Activations", “Mode” parameter and the additional notices)!
Identifier 1The identifier string is used for the identifier list
Identifier 2See identifier 1.5STRING
Identifier 3See identifier 1.10STRING
and the filtering according to the segmentation.
tation according to the EAN process
0STRING
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
‘*‘-
\0-
\0-
Identifier 4See identifier 1.15STRING
Identifier 5See identifier 1.20STRING
Output with identifier
Output delimiterThis delimiter, if not equal to 0, is inserted
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.
25.0Bit0: Output of the identifiers
26UNSIGNED80 … 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-
Leuze electronicBCL 648i87
Starting up the device - Configuration
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.
ASCII characters that cannot be displayed (<0x20h) must not be used in the identifier strings.
10.11.2Module 53 – Segmentation via fixed positions
Output delimiterThis delimiter, if not equal to 0, is inserted
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
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.
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.
25.0Bit0: Output of the identifiers
26UNSIGNED80 … 1270-
27UNSIGNED80 … 1270-
28UNSIGNED80 … 1270-
29UNSIGNED80 … 1270-
30UNSIGNED80 … 1270-
is suppressed.
1: Identifiers are output.
1-
Start position of
the 3rd identifier
Start position of
the 3rd data value
Start position of
the 4th identifier
Start position of
the 4th data value
Start position of
the 5th identifier
Start position of
the 5th data value
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
1. If the parameter is = 0, it is deactivated.
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.
31UNSIGNED80 … 1270-
32UNSIGNED80 … 1270-
33UNSIGNED80 … 1270-
34UNSIGNED80 … 1270-
35UNSIGNED80 … 1270-
36UNSIGNED80 … 1270-
Parameter length
37 byte
Input data
None
Output data
None
Leuze electronicBCL 648i89
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.
ASCII characters that cannot be displayed (<0x20h) must not be used in the identifier strings.
10.11.3Module 54 – Segmentation according to identifier and separator
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
and the filtering according to the segmentation.
0STRING
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
‘*‘-
\0-
\0-
\0-
\0-
Identifier output
Output with identifier
Output delimiterThis delimiter, if not equal to 0, is inserted
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.
Identifier lengthFixed length of all identifiers in the segmenta-
Delimiter in the
identifier/separator algorithm
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.
27UNSIGNED80 … 2550-
28UNSIGNED80 … 1270-
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.
ASCII characters that cannot be displayed (<0x20h) must not be used in the identifier strings.
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).
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.35:Input data for module 60
Input dataDescriptionAddr.Data typeValue rangeInit value Unit
Device statusThis byte represents the device status0UNSIGNED8 0: Device is ready
1: Initialization
10: Standby
11: Service
12: Diagnosis
13: Parameter enabled
15: Device is ready
0x80: Error
0x81: Warning
0-
Input data length
1 byte
Leuze electronicBCL 648i92
Starting up the device - Configuration
Output data
Table 10.36:Input data for module 60
Output dataDescriptionAddr.Data typeValue rangeInit value Unit
System resetThe control bit triggers a system reset if the
StandbyActivates the standby function 0.7Bit0: Standby off
level changes from 0 to 1
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.8.1 "Module
10 – Activations").
10.12.2Module 61 – Laser control
PROFINET-IO module identifier
Module ID
: 1061
Submodule ID: 1
Description
This module defines the switch-on and switch-off position of the laser.
Description
The module defines input and output data for the alignment mode of the BCL 648i. Alignment mode is used
for easily aligning the BCL 648i to 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.39: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 648i94
Starting up the device - Configuration
Output data
Table 10.40: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 BCL 648i
with the bar code
Output data length
1 byte
10.12.5Module 64 – Oscillating mirror
PROFINET-IO module identifier
Module ID
: 1064
Submodule ID: 1
Description
Module for supporting the oscillating mirror.
Parameter
Table 10.41:Parameters for module 64
ParameterDescriptionRel. Addr. Data typeValue rangeDefaultUnit
Oscillation modeThis parameter defines the mode in which the
oscillating mirror operates.
0.0Bit0 -> 1: On
0.0 … 0.1 UNSIGNED80: Single oscillation
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-
Decoding direction Setting of oscillating direction in which the bar
Start positionStart position (opening angle) relative to the
Stop positionStop position (opening angle) relative to the
1: During forward oscillation
2: During backward oscillation
0-
Description
Module for supporting the deflection mirror.
Leuze electronicBCL 648i95
Starting up the device - Configuration
1
2
3
4
Parameter
Table 10.42:Parameters for module 65
ParameterDescriptionRel. Addr. Data typeValue rangeDefaultUnit
Deflection angleLateral beam exit in degrees relative to the
zero position
Parameter length
2 bytes
Input data
None
Output data
None
10.13 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.
10.13.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.
erating as an output
0 …1SIGNED16-100 … +10001/10°
1Start-up signal
2Switch-off signal
3Output
4Start-up delay
Figure 10.5: Example 1: Start-up delay > 0 and switch-on time = 0
Leuze electronicBCL 648i96
1Start-up signal
1
2
3
45
1
2
3
4
2Switch-off signal
3Output
4Start-up delay
5Switch-on time
Figure 10.6: Example 2: Start-up delay > 0 and switch-on time > 0
Starting up the device - Configuration
1Start-up signal
2Switch-off signal
3Output
4Start-up delay
Figure 10.7: 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.13.2Parameters for operating as an input
Parameter for setting the software debounce time for the switching input. The definition of a debounce time
extends the signal transition time accordingly.
Debounce time
Leuze electronicBCL 648i97
Starting up the device - Configuration
1
2
34
5
1
2
34
5
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.
1Start-up signal
2Switch-off signal
3Start-up delay td_on
4Switch-on time ton
5Switch-off delay td_off
Figure 10.8: 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.9: Switch-on time in input mode
Switch-off delay td_off
This parameter specifies the duration of the switch-off delay in ms.
Leuze electronicBCL 648i98
1Start-up signal
1
2
34
5
2Switch-off signal
3Start-up delay td_on
4Switch-on time ton
5Switch-off delay td_off
Figure 10.10:Switch-off delay in input mode
10.13.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:
Starting up the device - Configuration
Table 10.43: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
Data transmission not active10
AutoControl good quality13
AutoControl bad quality14
Reflector detected15
Reflector not detected16
External event, pos. edge17In the PROFINET 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
module 74 – I/O status and control, see chapter 10.13.9 "Module 74 –
SWIO status and control"
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
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.
input/output SWIO1
0.0Bit0: Input
0.1Bit0: LOW (0V)
1UNSIGNED16 0 … 655350ms
3UNSIGNED16 0 … 1300400 ms
1: Output
1: HIGH (+Ub)
0-
0-
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)
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.
5UNSIGNED8 see table 10.430-
6UNSIGNED8 see table 10.430-
7UNSIGNED8 see table 10.430-
8UNSIGNED8 see table 10.430-
9UNSIGNED16 0..655350-
11UNSIGNED80: SWOUT switches once
1: SWOUT switches several times
0
Leuze electronicBCL 648i100
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.