16.1 ASCII character set............................................................................................................. 137
16.2 Bar code sample................................................................................................................. 141
Leuze electronic GmbH + Co. KGBCL 248i6
About this document
1About this document
Used symbols and signal words
Tab.1.1: Warning symbols and signal words
NOTESignal word for property damage
CAUTIONSignal word for minor injuries
WARNINGSignal word for serious injury
Symbol indicating dangers to persons
Symbol indicating possible property damage
Indicates dangers that may result in property damage if the measures for danger avoidance are not followed.
Indicates dangers that may result in minor injury if the measures for danger
avoidance are not followed.
Indicates dangers that may result in severe or fatal injury if the measures for
danger avoidance are not followed.
DANGERSignal word for life-threatening danger
Tab.1.2: Other symbols
Indicates dangers with which serious or fatal injury is imminent if the measures
for danger avoidance are not followed.
Symbol for tips
Text passages with this symbol provide you with further information.
Symbol for action steps
Text passages with this symbol instruct you to perform actions.
Symbol for action results
Text passages with this symbol describe the result of the preceding action.
Leuze electronic GmbH + Co. KGBCL 248i7
About this document
Terms and abbreviations
Tab.1.3: Terms and abbreviations
AutoConfigFunction for easily configuring a code type or number of digits
AutoReflActFunction for activation without additional sensors (Automatic Reflector Activa-
BCLBar code reader
CRTCode reconstruction technology
EMCElectromagnetic compatibility
ENEuropean standard
FEFunctional earth
GSDMLGeneric Station Description Markup Language
IO controllerControl that initiates the IO data communication
IO deviceDecentral PROFINET fieldbus device
IP addressNetwork address, which is based on the Internet Protocol (IP)
MAC addressMedia Access Control Address; hardware address of a device in the network
tion)
PELVProtective Extra-Low Voltage; protective extra-low voltage with reliable discon-
nection
PLCProgrammable Logic Controller
SWI1Digital switching input (Switching Input)
SWO2Digital switching output (Switching Output)
TCP/IPTransmission Control Protocol/Internet Protocol; Internet protocol family
ULUnderwriters Laboratories
Leuze electronic GmbH + Co. KGBCL 248i8
Safety
2Safety
The barcode readers of the BCL200iseries were developed, manufactured and tested in accordance with
the applicable safety standards. They correspond to the state of the art.
2.1Intended use
Barcode readers of the BCL200i series are conceived as stationary, high-speed scanners with integrated
decoders for all current barcodes used for automatic object detection.
Areas of application
The bar code readers of the BCL200i series are especially designed for the following areas of application:
• Storage and conveying technologies, in particular for object identification on fast-moving conveyor belts
• Pallet transport systems
• Automobile sector
Observe intended use!
The protection of personnel and the device cannot be guaranteed if the device is operated in a
manner not complying with its intended use.
Ä Only operate the device in accordance with its intended use.
Ä LeuzeelectronicGmbH+Co.KG is not liable for damages caused by improper use.
Ä Read these operating instructions before commissioning the device. Knowledge of the oper-
CAUTION
ating instructions is an element of proper use.
NOTICE
Comply with conditions and regulations!
Ä Observe the locally applicable legal regulations and the rules of the employer's liability insur-
ance association.
2.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:
• in rooms with explosive atmospheres
• in circuits which are relevant to safety
• for medical purposes
NOTICE
Do not modify or otherwise interfere with the device!
Ä Do not carry out modifications or otherwise interfere with the device. The device must not be
tampered with and must not be changed in any way.
Ä The device must not be opened. There are no user-serviceable parts inside.
Ä Repairs must only be performed by Leuze electronic GmbH + Co. KG.
Leuze electronic GmbH + Co. KGBCL 248i9
Safety
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 operating instructions for the device.
• They have been instructed by the responsible person on the mounting and operation of the device.
Certified electricians
Electrical work must be carried out by a certified electrician.
Due to their technical training, knowledge and experience as well as their familiarity with relevant standards
and regulations, certified electricians are able to perform work on electrical systems and independently detect possible dangers.
In Germany, certified electricians must fulfill the requirements of accident-prevention regulations DGUV
(German Social Accident Insurance) provision 3 (e.g. electrician foreman). In other countries, there are respective regulations that must be observed.
2.4Disclaimer
LeuzeelectronicGmbH+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
ATTENTION
LASER RADIATION – CLASS 1 LASER PRODUCT
The device satisfies the requirements of IEC/EN 60825-1:2014 safety regulations for a product
of laser class1 and complies with 21 CFR 1040.10 except for conformance with IEC 60825-1
Ed. 3., as described in Laser Notice No. 56, dated May 8, 2019.
Ä Observe the applicable statutory and local laser protection regulations.
Ä 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.
CAUTION
Laser radiation
Opening the device can lead to dangerous exposure to radiation.
Leuze electronic GmbH + Co. KGBCL 248i10
Fast commissioning
3Fast commissioning
Below you will find a short description for the initial commissioning of the BCL248i. Detailed explanations
for all listed points can be found throughout these operating instructions.
3.1Mounting
The bar code reader can be mounted in the following ways:
• Mounting with four M4x5 screws on the rear side of the housing.
• Mounting with mounting devices on the fastening groove on one side of the housing.
3.2Selecting a mounting location
In order to select the right mounting location, several factors must be considered:
• Size, orientation, and position tolerance of the bar codes on the objects to be scanned.
• The reading field of the bar code reader in relation to the bar code module width.
• The resulting minimum and maximum reading distance from the respective reading field with the respective module width (see chapter 13.2 "Reading fields").
• alignment of the bar code reader for avoiding reflections.
• Distance between bar code reader and host system with respect to the interface.
• The correct time for data output. The bar code reader 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 elements such as LEDs should be highly visible.
• For configuring and commissioning with the webConfig tool, the HOST interface should be easily accessible.
For further information, see see chapter 5 "Mounting" and see chapter 6 "Electrical connection".
The best read results are obtained if the following prerequisites are fulfilled:
• The reading distance lies in the middle area of the reading field.
• There is no direct sunlight and protect against ambient light effects.
• The bar code labels are of good print quality and have good contrast ratios.
• You are not using high-glossy labels.
• The bar code is moved past with an angle of inclination of ±10°…15° to vertical.
NOTICE
Avoid direct reflection of the laser beam!
The beam on the bar code reader is emitted at 105° to the housing base. An angle of incidence
of 15° of the laser to the label has already been integrated in the deflecting mirror so that the bar
code reader can be installed parallel to the bar code (rear housing wall).
3.3Electrical connection
The bar code reader is equipped with two connection cables, each with an M12 connector.
• PWR/SWIO: M12 connection for supply voltage and switching input/output, 5-pin, A-coded, cable
length 0.9m (unshielded)
The shielding is connected using the M12 connector of the Ethernet cable.
Details on the connectors see chapter 6 "Electrical connection".
3.4Preparatory settings
Ä Connect the +18…30 VDC supply voltage (typically +24VDC).
ð The bar code reader starts up.
First, you need to assign its individual device name to the BCL248i. The PLC must communicate this device name to the participant during the "device naming". Further information may be found below and in
see chapter 8.3.5 "Step 5 – Set device name – device naming".
3.4.1
3.4.2
Commissioning the BCL 248i on the PROFINET-IO
Ä Complete the necessary steps for commissioning a Siemens-S7 control as described below.
Further information regarding the individual commissioning steps is provided in see chapter 8.3 "Configuration steps for a Siemens SimaticS7 control".
Prepare the control
Ä In the first step, assign an IP address to the IO controller (S7 PLC) and prepare the control for a consis-
tent data transmission.
NOTICE
Ä With the S7 control, make sure that at least Simatic Manager Version5.4 + Service Pack5
(V5.4+SP5) is used.
Leuze electronic GmbH + Co. KGBCL 248i12
Fast commissioning
3.4.3
3.4.4
Installing GSD file
For the subsequent configuration of the IOdevices, e.g., BCL248i, the corresponding GSD file must be
loaded first. In this file, all data necessary for operating the BCL248i is described in modules. These are input and output data and device parameters for the functioning of the BCL248i and the definition of the control and status bits.
Ä Install the GSD file associated with the BCL248i in the PROFINET-IO Manager of your control.
Configuration
Ä Configure the PROFINET-IO system with the HW Config of the SIMATIC Manager by inserting the
BCL248i into your project.
ð Here, an IP address is assigned to a unique "device name".
Fig.3.2: Assignment of the device names to IP addresses
3.4.5
Transmit the configuration to the IO controller
Ä Transmit the PROFINET-IO configuration to the IO controller (S7 PLC).
After correct transmission 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 IOdevices
• Establishment of a connection between the IOController and configured IOdevices
• Cyclical data exchange
NOTICE
Participants that have not been "named" cannot be contacted yet at this point in time.
Leuze electronic GmbH + Co. KGBCL 248i13
Fast commissioning
3.4.6
Setting the device name – 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 name to the configured IO devices
Ä Select the respective BCL248i bar code reader for the "device naming" based on its MAC address.
ð This participant is assigned the unique "device name." This must match the device name in the HW
config and must not be longer than 255 characters.
Fig.3.3: Assigning the device names to the configured IOdevices
NOTICE
Multiple BCL248i can be distinguished by the MAC addresses displayed. The MAC address
may be found on the name plate of the respective bar code reader.
Assignment of MAC address – IP address – individual device name
Ä 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").
ð From now on, and when programming, only the unique "device name" is used.
Leuze electronic GmbH + Co. KGBCL 248i14
Fast commissioning
Fig.3.4: MAC address – IP address – individual device name
3.4.7
Check device name
Ä After completing the configuration phase, recheck the "device names" that have been assigned. Ensure
that these are unique and that all participants are located in the same subnet.
3.5Further settings
Carry out further settings, such as the control of the decoding and processing of the read data and the configuration of the connected switching inputs and outputs.
Decoding and processing the read data
Ä Define at least one code type with the desired settings.
In the webConfig tool:
Configuration > Decoder
Control of the decoding
Configure the connected switching inputs according to your requirements.
Ä First set the I/O mode to input.
Ä Then configure the switching behavior.
In the webConfig tool:
Configuration > Device > Switching inputs/outputs
Control of the switching outputs
Configure the connected switching outputs according to your requirements.
Ä First set the I/O mode to output.
Ä Then configure the switching behavior.
In the webConfig tool:
Configuration > Device > Switching inputs/outputs
Carry out further settings via the PROFINET-IOController, such as the control of the decoding and processing of the read data and the configuration of the connected switching inputs and outputs, using the parameters provided by the GSD file.
Ä Activate the desired modules (at least module10 and one of the modules 21…29).
Leuze electronic GmbH + Co. KGBCL 248i15
Fast commissioning
192.168.060.101
3.6Starting the device
Ä Connect the +18…30 VDC supply voltage (typically +24VDC).
ð The BCL248i starts up, the PWR, NET and LINK LEDs indicate the operating state.
During the initialization phase (power on), the laser is switched on for approx. 2seconds. A configuration
code can be read in during this time.
NOTICE
Setting the IP address to the Leuze default address
By reading in the configuration code during the initialization phase, the IP address and the subnet mask are set to the Leuze default.
IP address: 192.168.60.101
Subnet mask: 255.255.255.0
No Read, reading not successful
Operating the bar code reader
After connecting a supply voltage of +18…30VDC to the switching input, a read process is activated. In
the standard setting, all common code types for decoding are released. Only the 2/5Interleaved code type
is limited to 10 digits of code content.
If a code is moved through the reading field, the code content is decoded and forwarded to the superior
system (PLC/PC) via PROFINET-IO.
Leuze electronic GmbH + Co. KGBCL 248i16
Fast commissioning
Modul 0,5
6677889900
3.7Bar code reading
Ä Test the device with the following bar code in format 2/5 Interleaved. The bar code module here is 0.5.
The PWR LED goes off briefly and then turns green again. Simultaneously, the read information is forwarded to the superior system (PLC/PC) via the PROFINET-IO.
Ä Check the incoming data of the bar code information.
Alternatively, you can use a switching input for read activation (switching signal of a photoelectric sensor or
24 V DC switching signal).
Leuze electronic GmbH + Co. KGBCL 248i17
Device description
4Device description
4.1Device overview
Barcode readers of the BCL200i series are high-speed scanners with integrated decoder for all commonly
used barcodes, e.g. 2/5Interleaved, Code39, Code128, EAN8/13 etc., as well as codes from the
GS1DataBar family.
Bar code readers of the BCL200i series are available in various models as line/raster scanners with deflecting mirror.
The interfaces integrated in the various device models offer an optimum connection to the superior host
system:
• Ethernet TCP/IP UDP
• Ethernet/IP
• PROFINETIO
4.2Performance characteristics
• Integrated fieldbus connectivity, Plug-and-Play fieldbus coupling and easy networking
• Numerous interface variants facilitate connection to the superior systems
• PROFINETIO
• Ethernet
• Integrated code reconstruction technology (CRT) enables the identification of soiled or damaged bar
codes
• Maximum depth of field and reading distances from 40mm to 255mm
• Large optical opening angle and, thus, large reading field width
• High scanning rate with 1000scans/s for fast reading tasks
• Adjustment of all device parameters with a web browser
• Easy alignment and diagnostics functions
• Two 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 IP65
NOTICE
Information on technical data and characteristics: see chapter 13 "Technical data"
Integrated fieldbus connectivity
The integrated fieldbus connectivity contained in the bar code readers of the BCL200i 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.
Leuze electronic GmbH + Co. KGBCL 248i18
Device description
CRT decoder
For decoding bar codes, the bar code readers of the BCL200i series make available the proven CRT decoder with code reconstruction technology.
The proven code reconstruction technology (CRT) enables bar code readers of the BCL200i 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 angle of rotation).
Fig.4.1: Possible bar code orientation
Configuration
With the BCL248i, configuration is generally performed with the aid of the GSD file.
The bar code reader 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 bar code reader 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 or via PROFINETIO.
An alternative option for activation is the autoReflAct function.
Through the read operation, the bar code reader collects additional useful pieces of data for diagnostics
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.
Leuze electronic GmbH + Co. KGBCL 248i19
Device description
1
2
3
4
5
4.3Device construction
1Reading window
2Indicator LEDs
3M4 mounting threads on the rear of the device
4Connection cable
5Dovetail mounting
Fig.4.2: Device construction BCL248i – Line scanner with deflecting mirror
4.4Display elements
Located on the front side of the housing are three multicolor indicator LEDs: PWR, NET, LINK.
Fig.4.3: LED indicators
Leuze electronic GmbH + Co. KGBCL 248i20
Device description
PWR LED
Tab.4.1: PWR indicators
ColorStateDescription
---OFFDevice off
GreenFlashingDevice ok
No supply voltage
• Initialization phase
• Bar code reading not possible
• Supply voltage applied
• Self test running
Continuous lightDevice ok
• Bar code reading possible
• Self test successfully finished
• Device monitoring active
Briefly off - onGood Read
• Bar code reading successful
Green briefly off –
briefly red – green on
No read
• Bar code reading not successful
OrangeContinuous lightService mode
• Bar code reading possible
• No data on the host interface
RedFlashingDevice ok, warning set
• Bar code reading possible
• Temporary operating fault
Continuous lightDevice error/parameter enable
• Bar code reading not possible
Leuze electronic GmbH + Co. KGBCL 248i21
Device description
NET LED
Tab.4.2: NET indicators
ColorStateDescription
---OFFNo supply voltage
GreenFlashingInitialization of the device
OrangeFlashingTopology error
RedFlashingCommunication error
• No communication possible
• PROFINET-IO communication not initialized or inactive
Establishing communication
Continuous lightOperation ok
• Network mode ok
• Connection and communication to IOController (PLC) established ("data exchange")
• Deviating target/actual topology detected
• Parameterization or configuration failed ("parameter failure")
• IO error
• No data exchange
Continuous lightNetwork error
LINK LED
Tab.4.3: LINK indicators
ColorStateDescription
GreenContinuous lightEthernet connected (LINK)
YellowFlashingData communication (ACT)
4.5Reading techniques
4.5.1
Line scanner (single line)
The scan line scans the label. Due to the optical 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
• With the bars of the bar code arranged lengthwise with respect to 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)
• No connection established
• No communication possible
Leuze electronic GmbH + Co. KGBCL 248i22
Device description
4.5.2
Fig.4.4: Deflection principle for the line scanner
Raster scanner (raster line)
Multiple scan lines scan the label. Due to the optical opening angle, the reading field width is dependent on
the read distance. Provided the code is located in the reading field, it can be read during standstill. If the
code moves through the reading field, it is scanned by multiple scan lines.
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. In most cases, everywhere a line scanner is used, a raster scanner can be used.
Areas of application of the raster scanner
• With the bars of the bar code arranged perpendicular with respect to the conveying direction ("picket
fence arrangement")
• With bar codes with low height displacement
• With very glossy bar codes
NOTICE
There may not be two or more bar codes in the raster detection range simultaneously.
Leuze electronic GmbH + Co. KGBCL 248i23
Device description
Fig.4.5: Deflection principle for the raster scanner
4.6Fieldbus systems
Various product variants of the BCL200i series are available for connecting to different fieldbus systems
such as PROFINET, Ethernet, and EtherNet/IP.
4.6.1
PROFINET-IO
Performance characteristics of the PROFINET-IO interface
• GSDML file for the device description
• Certified as a PROFINET-IO device according to V2.34
• PROFINET-IO with real-time (RT) communication
• Standard Fast Ethernet (100 Mbit/s) connections (M12 technology)
• Auto-crossover and auto-negotiation
• Cyclical data exchange
• 4-pin, M12 connectors with D-coding are used for the electrical connection
• Identification & maintenance function (I&M) IM0-IM4
• The IP address – or name assignment – is set using, e.g., TIA portal or comparable tools
• Cycle time: maximum 2ms (MinDeviceInterval=64)
• Function range acc. to Conformance ClassB
• Network load classI
The functionality of the device is defined via parameter sets which are clustered in modules. These modules are contained in a GSDML file.
On delivery, each BCL248i comes 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).
Leuze electronic GmbH + Co. KGBCL 248i24
Device description
When configuring a PROFINET-IO system, the assignment of the device names to the configured IOdevices creates a name-based relationship for the participating IOdevices ("device naming"). Further information see chapter 8.3.5 "Step 5 – Set device name – device naming".
Identification & Maintenance functions
The BCL248i supports the base record I&M0:
Tab.4.4: Base record I&M0
IndexContentsData typeDescriptionValue
0Header10bytesManufacturer specific
10MANUFACTURER_IDUNSIGNED16Leuze manufacturer ID (Leuze
60IM_VERSION2x UNSIGNED8Implemented I&M version V1.10x01, 0x01
62IM_SUPPORTEDBit[16]Optional I&M records available0
The BCL248i supports further protocols and services for communication:
• TCP/IP (Client / Server)
• UDP
• DCP
• ARP
• PING
Further information on commissioning: see chapter 7 "Starting up the device – Leuze webConfig tool"
Leuze electronic GmbH + Co. KGBCL 248i25
Device description
1
2
3
4
4.6.2
PROFINET-IO – star topology
The BCL248i can be operated as a single device (stand-alone) with an individual device name in a star
topology. The PLC must communicate this device name to the participant during the "device naming".
1Ethernet switch
2Bar code reader of the BCL200i series
3Other network participants
4Host interface - PC/control
Fig.4.6: PROFINET-IO in a star topology
4.7autoReflAct
autoReflAct stands for automatic Reflector Activation and permits an activation without additional sensors.
This is achieved by directing the scanner with reduced scanning beam towards a reflector mounted behind
the conveyor path.
NOTICE
Suitable reflectors are available, see chapter 14.5 "Accessories – Reflectors and reflective
tapes".
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.
Leuze electronic GmbH + Co. KGBCL 248i26
Device description
Fig.4.7: Reflector arrangement for autoReflAct
The autoReflAct function uses the scanning beam to simulate a photoelectric sensor and thus permits an
activation without additional sensors.
4.8Reference codes
The bar code reader offers the possibility of storing one or two reference codes.
It is possible to store the reference codes via the webConfigtool, via online commands or via PROFINETIO.
The bar code reader can compare read bar codes with one and/or both reference codes and execute userconfigurable functions depending on the comparison result.
4.9autoConfig
With the autoConfig function, the bar code reader 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 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 bar code
reader.
Afterward, bar codes with the same code type and number of digits are recognized and decoded.
NOTICE
The settings made via the webConfig configuration tool only temporarily push the parameters
set in the PROFINET-IO into the background. The settings are overwritten during integration
into the PROFINET-IO or after deactivation of service mode of the PROFINET master with
those settings made via the GSD file.
Device settings for operating the BCL248i on the PROFINET-IO are managed and configured
exclusively by the PROFINET-IO controller (PLC).
Ä Make permanent changes in the PROFINET-IO controller.
For further information, see chapter 8 "Starting up the device - Configuration".
Leuze electronic GmbH + Co. KGBCL 248i27
Mounting
5Mounting
5.1Transport and storage
NOTICE
Ä Package the device for transport and storage in such a way that is protected against shock
and humidity. Optimum protection is achieved when using the original packaging.
Ä Ensure compliance with the approved environmental conditions listed in the specifications.
Unpacking
Ä Check the packaging content for any damage. If damage is found, notify the post office or shipping
agent as well as the supplier.
Ä Check the delivery contents using your order and the delivery papers:
• Delivered quantity
• Device type and model as indicated on the nameplate
• Package insert
The name plate on the bottom of the device provides information as to what BCL type your device is, see
chapter 13 "Technical data".
Ä Save the original packaging for later storage or shipping.
Ä If you have questions, please contact your supplier or Leuze customer service, see chapter 12 "Service
and support".
Ä Observe the applicable local regulations when disposing of the packaging materials.
5.2Mounting
The bar code reader can be mounted in the following ways:
• Mounting with four M4x5 screws on the rear side of the housing.
• Mounting with mounting devices on the fastening groove on one side of the housing.
5.2.1
Mounting with M4 fastening screws
Ä Mount the device on the system with M4 fastening screws (not included in delivery contents).
ð Max. tightening torque of the fastening screws: 2.5Nm
ð Location and thread depth of the mounting thread: see chapter 13.3 "Dimensioned drawings"
NOTICE
Ä When mounting, ensure that the scanning beam is not reflected directly back to the scanner
by the label which is being read. For further information, see the notes in see chapter 5.3
"Selecting a mounting location".
Ä Please refer to see chapter 13.2 "Reading fields" for the permissible minimum and maximum
distances between the bar code reader and the labels to be read.
Leuze electronic GmbH + Co. KGBCL 248i28
Mounting
5.2.2
5.2.3
5.2.4
Mounting with BT56 or BT56-1 mounting device
Mounting with the mounting device is intended for rod mounting.
Order guide: see chapter 14.4 "Accessories – mounting systems"
Ä Mount the mounting device on the rod with the clamp profile (system-side).
Ä Mount the device on the mounting device using the fastening grooves.
ð Max. tightening torque of the fastening screws: 1.4Nm
Mounting with BT300-1 mounting device
Mounting with the mounting device is intended for rod mounting (10–16mm).
Order guide: see chapter 14.4 "Accessories – mounting systems"
Ä Mount the mounting device on the rod with the clamp profile (system-side).
Ä Mount the device on the mounting device (included with delivery) using the fastening screws.
ð Max. tightening torque of the fastening screws: 2.5Nm
Mounting with the BT300W mounting bracket
Mounting with the BT300W mounting bracket is intended for wall mounting.
Order guide: see chapter 14.4 "Accessories – mounting systems"
Ä Mount the mounting bracket on the system side with M4 fastening screws (not included in delivery con-
tents).
Ä Mount the device to the mounting bracket (included in delivery) with M4 fastening screws.
ð Max. tightening torque of the fastening screws: 2.5Nm
5.3Selecting a mounting location
NOTICE
The size of the bar code module influences the maximum reading distance and the width of the
reading field.
Ä When selecting a mounting location and/or the bar code label, take into account the different
reading characteristics of the bar code reader with various bar code modules.
NOTICE
Observe when choosing the mounting location!
Ä Maintain the permissible environmental conditions (humidity, temperature).
Ä Avoid possible soiling of the reading window due to liquids, abrasion by boxes, or packaging
material residues.
Ä Ensure that there is the lowest possible chance of damage to the bar code reader by me-
chanical collision or jammed parts.
Ä Avoid possible ambient light influence (no direct sunlight).
In order to select the right mounting location, several factors must be considered:
• Size, orientation, and position tolerance of the bar codes on the objects to be scanned.
• The reading field of the bar code reader in relation to the bar code module width.
• The resulting minimum and maximum reading distance from the respective reading field with the respective module width (see chapter 13.2 "Reading fields").
• alignment of the bar code reader for avoiding reflections.
• Distance between bar code reader and host system with respect to the interface.
• The correct time for data output. The bar code reader 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 elements such as LEDs should be highly visible.
• For configuring and commissioning with the webConfig tool, the HOST interface should be easily accessible.
Leuze electronic GmbH + Co. KGBCL 248i29
Mounting
15°
1
2
3
The best read results are obtained if the following prerequisites are fulfilled:
• The reading distance lies in the middle area of the reading field.
• There is no direct sunlight and protect against ambient light effects.
• The bar code labels are of good print quality and have good contrast ratios.
• You are not using high-glossy labels.
• The bar code is moved past with an angle of inclination of ±10°…15° to vertical.
NOTICE
Avoid direct reflection of the laser beam!
The beam on the bar code reader is emitted at 105° to the housing base. An angle of incidence
of 15° of the laser to the label has already been integrated in the deflecting mirror so that the bar
code reader can be installed parallel to the bar code (rear housing wall).
Ä Mount the bar code reader with deflecting mirror parallel to the bar code.
1Zero position
2Bar code
3Distance acc. to reading field curves
Fig.5.1: Total reflection – line scanner
Leuze electronic GmbH + Co. KGBCL 248i30
Mounting
Reading angle between bar code reader and bar code
The optimum alignment of the bar code reader is accomplished when the scan line scans the bar code bars
almost at a right angle (90°). All reading angles that are possible between the scan line and bar code must
be taken account.
αAzimuth angle (tilt)
βAngle of inclination (Pitch)
γAngle of rotation (skew)
Fig.5.2: Reading angle for the line scanner
In order to avoid total reflection, the γ angle of rotation (skew) should be greater than 10°.
5.4Cleaning
Ä Clean the glass window of the bar code reader with a soft cloth after mounting.
Ä Remove all packaging remains, e.g. carton fibers or Styrofoam balls.
Ä In doing so, avoid leaving fingerprints on the front screen of the bar code reader.
NOTICE
Do not use aggressive cleaning agents!
Ä Do not use aggressive cleaning agents such as thinner or acetone for cleaning the device.
Leuze electronic GmbH + Co. KGBCL 248i31
Electrical connection
6Electrical connection
CAUTION
Safety notices!
Ä The bar code reader is completely sealed and must not be opened.
Ä Do not try to open the device under any circumstances, as this avoids both degree of pro-
tection IP65 and the warranty.
Ä Before connecting the device, be sure that the supply voltage agrees with the value printed
on the name plate.
Ä Connection of the device and maintenance work while under voltage must only be carried
out by a qualified electrician.
Ä 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 rectified, take the device out of operation and protect it from accidentally
being started.
CAUTION
UL applications!
For UL applications, use is only permitted in Class 2 circuits in accordance with the NEC (National Electric Code).
NOTICE
Protective Extra Low Voltage (PELV)!
The device is designed in accordance with protection classIII for supply with PELV (Protective
Extra-Low Voltage).
NOTICE
Degree of protection IP65
Degree of protection IP65 is achieved only if the connectors are screwed into place and caps installed.
The bar code reader is equipped with two connection cables, each with an M12 connector.
• PWR/SWIO: M12 connection for supply voltage and switching input/output, 5-pin, A-coded, cable
length 0.9m (unshielded)
6.1PWR/SWIO (supply voltage, switching input and switching output)
Fig.6.2: M12 connector, 5-pin, A-coded
Tab.6.1: PWR/SWIO pin assignment
PinDesignationAssignment
1VINPositive supply voltage +18…+30 V DC
2SWI1Configurable switching input1
3GNDINNegative supply voltage 0VDC
4SWO2Configurable switching output2
5FEFunctional earth
Supply voltage
CAUTION
UL applications!
For UL applications, use is only permitted in Class 2 circuits in accordance with the NEC (National Electric Code).
NOTICE
Protective Extra Low Voltage (PELV)!
The device is designed in accordance with protection classIII for supply with PELV (Protective
Extra-Low Voltage).
Leuze electronic GmbH + Co. KGBCL 248i33
Electrical connection
18-30 V DC
max. 8 mA
VIN (Pin 1)
SWI (Pin 2)
GNDIN (Pin 3)
1
2
NOTICE
Connections of the 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 / switching output
The bar code readers of the BCL200i series are equipped with
The switching input can be used to activate various internal functions of the bar code reader (decoding, autoConfig, …). The switching output can be used to signal the state of the bar code reader and to implement
external functions independent of the superior control.
The switching input/output is configured as follows by default:
You can configure the respective function with the help of the webConfig tool.
The external wiring as switching input and switching output is described in the following. The respective
function assignment to the switching inputs/outputs can be found in see chapter 8 "Starting up the device Configuration".
Function as switching input
1Switching input
2Switching input to controller
Fig.6.3: Connection diagram for switching input SWI1
NOTICE
The maximum input current must not exceed 8mA.
Leuze electronic GmbH + Co. KGBCL 248i34
Electrical connection
18-30 V DC
max. 60 mA
VIN (Pin 1)
VIN
SWO (Pin 4)
GNDIN (Pin 3)
1
2
1
32
4
2
1
3
4
1
8
BCL 248i HOSTRJ-45
Function as switching output
1Switching output
2Switching output from controller
Fig.6.4: Connection diagram for switching output SWO2
NOTICE
Each configured switching output is short-circuit proof! Do not load the respective switching output of the bar code reader with more than 60mA at +18…+30VDC in normal operation.
6.2HOST (PROFINET, cable assignments)
The BCL248i makes the PROFINET-IO interface available as host interface.
Fig.6.5: M12 socket, 4-pin, D-coded
Tab.6.2: HOST pin assignment
PinDesignationAssignment
1TDO+Transmit Data +
2RDO+Receive Data +
3TDO-Transmit Data -
4RDO-Receive Data -
ThreadFEFunctional earth (housing)
PROFINET-IO cable assignments
Leuze electronic GmbH + Co. KGBCL 248i35
Fig.6.6: HOST to RJ-45 cable assignments
Electrical connection
1
2
3
4
6.3PROFINET-IO topologies
The BCL248i can be operated as a single device (stand-alone) 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 8.3.5 "Step 5 – Set device name – device naming").
1Ethernet switch
2Bar code reader of the BCL200i series
3Other network participants
4Host interface - PC/control
Fig.6.7: PROFINET-IO in a star topology
PROFINET-IOwiring
A Cat.5 Ethernet cable should be used for wiring.
6.4Cable lengths and shielding
Ä Observe the maximum cable lengths and shielding:
Tab.6.3: Cable lengths and shielding
ConnectionInterfaceMax. cable lengthShielding
BCL – hostPROFINET-IO RT100mRequired
BCL – power supply unit30mNot necessary
Switching input10mNot necessary
Switching output10mNot necessary
Leuze electronic GmbH + Co. KGBCL 248i36
Starting up the device – Leuze webConfig tool
7Starting up the device – Leuze webConfig tool
With the webConfig tool, an operating-system independent, web-technology based, graphical user interface
is available for configuring bar code readers of the BCL200i series.
7.1System requirements
NOTICE
Ä Regularly update the operating system and the Internet browser.
Ä Install the current Windows Service Packs.
Tab.7.1: System requirements for the webConfig tool
MonitorMin. resolution: 1280x800 pixels or higher
Internet browserRecommended is a current version of:
Mozilla Firefox
Google Chrome
Microsoft Edge
NOTICE
Other Internet browsers are possible but have not been tested with the current device firmware.
7.2Start webConfig tool
Ä Start the webConfig tool via your PC's Internet browser with IP address 192.168.60.101 or with the IP
address set by you.
ð 192.168.60.101 is the standard Leuze IP address for communication with bar code readers of the
BCL200i series.
The following start page appears on your PC:
Fig.7.1: webConfig tool – start page
The user interface of the webConfigtool is largely self-explanatory.
Leuze electronic GmbH + Co. KGBCL 248i37
Starting up the device – Leuze webConfig tool
NOTICE
The webConfig tool is completely contained in the firmware of the device. The pages and functions of the webConfig tool may appear and be displayed differently depending on the firmware
version.
7.3Short description of the webConfigtool
The webConfigtool has five main menus:
• PROCESS
• Information on the current result
• ALIGNMENT
• Alignment of the bar code reader
• Manually starting of read processes. 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
• Configuring decoding
• Configuring data formatting and data output
• Configuring the switching inputs/outputs
• Configuring communication parameters and interfaces
• DIAGNOSIS
• Event logging of warnings and errors
• MAINTENANCE
• Update firmware
7.3.1
CONFIGURATION menu
The adjustable parameters of the bar code reader are clustered in modules in the CONFIGURATION
menu.
Fig.7.2: webConfig tool – CONFIGURATION menu
Leuze electronic GmbH + Co. KGBCL 248i38
Starting up the device – Leuze webConfig tool
Overview of the configurable modules
• Overview
• 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.
• Decoder
• Configuration of the decoder table, such as code type, number of digits, etc.
• Data
• Configuration of code content, such as filtering, segmentation of bar code data, etc.
• Control
• Configuration of activation and deactivation, e.g. auto-activation, AutoReflAct, etc.
• Output
• Configuration of data output, header, trailer, reference code, etc.
• Communication
• Configuration of the host interface and the service interface
• Device
• Configuration of the switching inputs and outputs
NOTICE
A description containing notes and explanations for all called-up functions can be found at the
right-hand edge of the screen.
The language that is used can be selected in the webConfig tool via the language selection list.
The webConfigtool is available for all bar code readers of the BCL200i series. Because configuration of
the BCL248i PROFINET-IO device is performed via the PROFINET-IO controller, the module overview
shown in the webConfigtool is, in this case, used only for displaying and checking the configured parameters.
The current configuration of your bar code reader is loaded upon startup of the webConfigtool. If you
change the configuration via the control while the webConfigtool is running, you can use the [Load parameter from device] button after making the changes to update the display in the webConfigtool. This button
appears in the upper left in the center window area in all submenus of the CONFIGURATION main menu.
Leuze electronic GmbH + Co. KGBCL 248i39
Starting up the device - Configuration
8Starting up the device - Configuration
ATTENTION
LASER
Ä Observe the safety notices in see chapter 2.5 "Laser safety notices".
8.1PROFINET-IO
The PROFINET-IO communication profile defines how participants serially transmit their data via the transmission medium.
The PROFINET‑IO communicationprofile is designed for efficient data exchange on the field level. Data
exchange with the devices occurs primarily cyclically. For configuration, operation, observation and alarm
handling, acyclic communication services are, however, used as well.
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)
• Alarms
• Clock synchronization
• Neighborhood information
• Address assignment/address resolution via DCP
TCP/UDP/IP communication via standard Ethernet TCP/UDP/IP frames for
• Establishing communication
• Acyclic data exchange, and also for the transfer of various information types such as:
• Parameters for the module configuration while communication is being established
• I&M data (Identification & Maintenance functions)
• Reading diagnostic information
• Reading I/O data
• Writing device data
8.2Starting the device
NOTICE
Before commissioning, familiarize yourself with the operation and configuration of the BCL248i.
Before connecting the supply voltage, recheck all connections and ensure that they have been
properly made.
Ä Connect the +18…30 VDC supply voltage (typically +24VDC).
ð The BCL248i starts up, the PWR, NET and LINK LEDs indicate the operating state.
First, you need to assign its individual device name to the BCL248i.
Leuze electronic GmbH + Co. KGBCL 248i40
Starting up the device - Configuration
8.3Configuration steps for a Siemens SimaticS7 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. Transmission 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 IOdevices
• Assignment of MAC address – IP address – individual device names
6. Check device name
8.3.1
8.3.2
Step 1 – Prepare the control
The first step involves the assignment of an IP address to the IO controller (S7 PLC) and the preparation of
the control for consistent data transmission.
NOTICE
Ä With the S7 control, make sure that at least Simatic Manager Version5.4 + Service Pack5
(V5.4+SP5) is used.
Step 2 – Installing GSD file
For the subsequent configuration of the IOdevices, e.g., BCL248i, the corresponding GSD file must be
loaded first. In this file, all data necessary for operating the BCL248i is described in modules. These are input and output data and device parameters for the functioning of the BCL248i and the definition of the control and status bits.
GSD files
The term GSD stands for the textual description of a PROFINET-IO device model. For this purpose, 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 BCL248i device model. This is also reflected in the file name.
File name structure
The file name of the GSD file is constructed according to the following rule:
If parameters are changed in the project tool, for example, these changes are stored by the PLC 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. The file is not changed by the system either.
Leuze electronic GmbH + Co. KGBCL 248i41
Starting up the device - Configuration
The functionality of the BCL248i 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 BCL248i 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.
For the default settings of the BCL248i, please refer to the following module descriptions.
8.3.3
Step 3 – Hardware configuration of the S7 PLC: Configuration
Ä Configure the PROFINET-IO system with the HW Config of the SIMATIC Manager by inserting the
BCL248i into your project.
ð Here, an IP address is assigned to a unique "device name".
Fig.8.1: Assignment of the device names to IP addresses
8.3.4
Step 4 – Transmit the configuration to the IO controller
Ä Transmit the PROFINET-IO configuration to the IO controller (S7 PLC).
After correct transmission 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 IOdevices
• Establishment of a connection between the IOController and configured IOdevices
• Cyclical data exchange
NOTICE
Participants that have not been "named" cannot be contacted yet at this point in time.
Leuze electronic GmbH + Co. KGBCL 248i42
Starting up the device - Configuration
8.3.5
Step 5 – Set device name – device naming
The PROFINET-IO device has a unique MAC address that is part of the factory settings. You can find this
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 assignment during each system boot-up if the IO device is located in the same subnet.
NOTICE
All BCL248i participants in a PROFINET-IO network must be located in the same subnet.
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 name to the configured IO devices
Ä Select the respective BCL248i bar code reader for the "device naming" based on its MAC address.
ð This participant is assigned the unique "device name." This must match the device name in the HW
config and must not be longer than 255 characters.
Fig.8.2: Assigning the device names to the configured IOdevices
NOTICE
Multiple BCL248i can be distinguished by the MAC addresses displayed. The MAC address
may be found on the name plate of the respective bar code reader.
Leuze electronic GmbH + Co. KGBCL 248i43
Starting up the device - Configuration
Assignment of MAC address – IP address – individual device name
Ä 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").
ð From now on, and when programming, only the unique "device name" is used.
8.3.6
8.3.7
Fig.8.3: MAC address – IP address – individual device name
Step 6 – Check device name
Ä After completing the configuration phase, recheck the "device names" that have been assigned. Ensure
that these are unique and that all participants are located in the same subnet.
Manually setting the IP address
If you would like to directly access webConfig, the IP address must be set manually.
On delivery, the device has the following network address:
• IP address: 192.168.60.101
• Subnet mask: 255.255.255.0
Setting the IP address via PC/laptop
Setting the network address on the PC (example for Windows7):
Ä Log in as administrator.
Ä Select Start > System control > Network and Internet > Network and Sharing Center.
Ä Select LAN connection and double-click to open the Properties dialog.
Ä Select Internet Protocol Version 4 (TCP/IPv4) and click on the [Properties] button.
Ä Set the IP address of the PC.
The IP address of the PC must not be identical to the IP address of the sensor.
Example:
• IP address of the sensor: 192.168.60.101
• IP address of the PC: 192.168.60.110
Ä Set the subnet mask of the PC to the same value as on the sensor.
Leuze electronic GmbH + Co. KGBCL 248i44
Starting up the device - Configuration
IP
0
0:15:7B:20:00:15
DDLS 508i MAC
Name
BCL 248i
Example: 255.255.255.0
Ä Confirm all of the settings dialogs with [OK] or [Close].
Ä Connect the Ethernet interface of the device directly to the LAN port of the PC.
Ä Start the webConfig tool using your PC's Internet browser with IP address 192.168.60.101.
NOTICE
If the IP address is incorrect, the device cannot be accessed.
Ä Make certain that the correct IP address is entered. The device can otherwise no longer be
accessed.
Setting the IP address with Device-Finder
Ä Download the program Device-Finder from the Internet to the PC.
Ä Call up the Leuze home page: www.leuze.com.
Ä Enter the type designation or part number of the device as the search term.
The program Device-Finder can be found on the product page for the device under the Downloads
tab.
Ä Connect the Ethernet interface of the device directly to the LAN port of the PC.
Ä Start the program Device-Finder.
ð The program displays all sensors of the BCL200i series that are available in the network.
Ä Select your sensor from the list of sensors of the BCL200i series.
Ä Change the IP address of the sensor to the desired IP address.
8.3.8
MAC address
The MAC address (Media Access Control address) of the device may be found on the name plate.
Address Link Label
The "Address Link Label" is an additional stick-on label that is affixed to the device.
Fig.8.4: Example: "Address Link Label"
• The "Address Link Label" contains the MAC address (Media Access Control address) of the device and
makes it possible to enter the IP address and the device name manually.
The area of the "Address Link Label" on which the MAC address is printed can be separated from the
remainder of the stick-on label if necessary using the perforation.
• The "Address Link Label" can be removed from the device and affixed in the installation and layout diagrams to designate the device.
• Once it is affixed in the documents, the "Address Link Label" establishes a unique reference between
the mounting location, the MAC address or the device, and the associated control program.
There is no need for time-consuming searching, reading, and manually writing down of the MAC addresses of every device that is installed in the system.
Leuze electronic GmbH + Co. KGBCL 248i45
Starting up the device - Configuration
NOTICE
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 "Address Link Label" from the device.
Ä If necessary, add the IP address and the device name to the "Address Link Label".
Ä Affix the "Address Link Label" in the documents, e.g., in the installation diagram, according to the posi-
tion of the device.
8.3.9
8.3.10
Ethernet host communication
This chapter is only of interest if an additional IP address independent of the device name is to be established for an additional communication channel, e.g. TCP/IP.
The control generally also assigns an IP address to the actual device name. 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 in your application, you must also define whether the BCL248i
is to operate as a TCP client or as a TCP server. Both protocols can be activated simultaneously and used
in parallel.
Ä Contact your network administrator to determine which communication protocol is used.
TCP/IP
Ä Activate the TCP/IP protocol.
Ä Set the TCP/IP mode of the bar code reader.
TCP client mode
In TCP client mode, the bar code reader actively establishes the connection to the superior host system
(PC/PLC as server). The bar code reader 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 bar code
reader determines when and with whom a connection is established.
Ä With a bar code reader as TCP client, 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
TCP server mode
In TCP server mode, the superior host system (PC/PLC) actively establishes the connection and the connected bar code reader 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 bar code reader (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 bar code reader (in server mode) accepts the
connection. Data can then be sent and received.
Ä With a bar code reader as TCP server, set the following values:
• Port number for the communication of the bar code reader with the TCP clients
The corresponding adjustment options can be found in the webConfig tool under Configuration > Com-munication > Host communication.
Leuze electronic GmbH + Co. KGBCL 248i46
Starting up the device - Configuration
8.3.11
UDP
The bar code reader requires from the user the IP address and the port number of the communication partner. In the same way, the host system (PC/PLC) also requires the set IP address of the bar code reader
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
Ä 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 under Configuration > Com-munication > Host communication.
All other parameters required for the reading task, such as setting the code type and number of digits, etc.,
are set using the engineering tool of the PLC with the aid of the various available modules (see chapter 8.4
"Commissioning via the PROFINET-IO").
8.4Commissioning via the PROFINET-IO
8.4.1
General information
The BCL248i is designed as a modular field device. The PROFINET-IO functionality of the device is defined via parameter sets that are combined in modules (slots) and sub-modules (sub-slots). 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 Siemens PLC, the required modules are integrated into a project
during commissioning and its settings and parameters are configured accordingly. These modules are provided by the GSD file.
NOTICE
All input and output modules described in this documentation are described from the viewpoint
of the control (IO controller):
- Input data arrives at the control.
- Output data is sent out by the control.
Detailed information on how to prepare the control and the GSD file see chapter 8.3 "Configuration steps
for a Siemens SimaticS7 control".
For the default settings of the BCL248i, please refer to the following module descriptions.
NOTICE
Ä 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 BCL248i.
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 process, the BCL receives parameter telegrams from the IO controller (PLC). 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.
Leuze electronic GmbH + Co. KGBCL 248i47
Starting up the device - Configuration
8.4.2
Permanently defined parameters/device parameters
On the PROFINET-IO, parameters may be stored in modules or may be defined permanently in a
PROFINET-IO participant.
Depending on the configuration tool, the permanently defined parameters are called "common" parameters
or device-specific parameters.
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 Slot0/Subslot0
In SIMATIC Manager, the permanently defined parameters are set via object properties of the device. The
module parameters are configured 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 in the BCL248i (DAP Slot0/
Subslot0) but are configurable. These parameters always exist and are available independent of the modules.
Specifies how the subsequent numbers of digits are
26.6Bit0: Enumeration
to be interpreted.
Number of
digits 4.1
Decodable number of digits;
in the case of a range, this
26.0…2
6.5
number defines the lower
limit.
Number of
digits 4.2
Decodable number of digits;
in the case of a range, this
27UNSIGNED8 0…630
number defines the upper
limit.
Number of
digits 4.3
Number of
digits4.4
Number of
digits4.5
Decodable number of digits
in the enumeration mode.
Decodable number of digits
in the enumeration mode.
Decodable number of digits
in the enumeration mode.
28UNSIGNED8 0…630
29UNSIGNED8 0…630
30UNSIGNED8 0…630
0
0: Standard
1: Not standard
BitAreaSee code type 10
0
1 : Range
UNSIGNED8 0…630
Reading reliability 4
Min. reading reliability to be
achieved in order to output a
read code.
Check digit
Used check digit procedure32.0…3
method 4
Check digit
output 4
Turns the check digit output
on or off.
Parameter length: 33bytes
Input data
None
31UNSIGNED8 1…1004
BitArea0: Standard check
2.6
digit evaluation
1: No check digit verification
2: MOD10 Weight3
3: MOD10 Weight2
4: MOD10 Weight
4…9
5: MOD11 Cont
6: MOD43
7: MOD16
32.7BitCheck digit output
0: Standard
1: Not standard
0
0
Output data
None
Leuze electronic GmbH + Co. KGBCL 248i51
Starting up the device - Configuration
NOTICE
Note on number of digits
If 0 is specified in a field for the number of digits, the corresponding parameter is ignored by the
device firmware.
Example:
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
8.5Overview 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 58modules are available for use. A device module (DAP, see chapter 8.4.2
"Permanently defined parameters/device parameters") is used for basic configuration of the BCL248i 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 configuring the BCL248i.
• 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 BCL248i interprets the incoming output data and triggers the appropriate reactions in the BCL248i.
The interpreter for processing the data is adapted to the module structure during initialization.
The same applies for the input data. Using the module list and the defined module properties, the input
data string is formatted and referenced to the internal data.
During cyclic operation, the input data is then passed on to the IO controller.
During the startup or initialization phase, the BCL248i sets the input data to an initial value (usually = 0).
NOTICE
The modules can be grouped together in any order in the engineering tool. Note, however, that
many BCL248i modules contain linked data (e.g., the decoding result modules 20-41). It is important to maintain the consistency of these data.
The BCL248i offers 58different modules. Each of these modules may only be selected once;
otherwise, the BCL248i ignores the configuration.
The BCL248i 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 1024bytes.
The specific limits of the individual modules of the BCL248i can be found in the GSD file.
The following module overview shows the characteristics of the individual modules:
Leuze electronic GmbH + Co. KGBCL 248i52
Starting up the device - Configuration
Tab.8.2: Module overview
ModuleDescriptionModule
identifier
Submodule iden-
Parameter
Output
data
tifier
Device parameters
Interface PN-IOEthernet interface descrip-
Module independent device
parameters
103300
11000
tion
Port 1Ethernet Port112000
Decoder
Code table extension 1
Code table extension 2
Code table extension 3
Code table extension 4
Code type properties
Extension of the existing
code table
Extension of the existing
code table
Extension of the existing
code table
Extension of the existing
code table
The module permits changing the muted zones as well
10011800
10021800
10031800
10041800
10051600
as the line-gap ratios.
Input
data
Code reconstruction technology
Support of code reconstruction technology
10071400
Control
ActivationControl bits for the standard
10101101
reading operation
Reading gate
control
Multi-labelOutput of several bar codes
Extended control of the reading gate
10111600
10121210
per reading gate
Fragmented read
result
Interlinked read
result
Transmission of the read results in the fragmented mode
Interlinking of the individual
read results within one read-
10131120
10141100
ing gate
Result format
Decoder stateStatus display – decoding10201010
Decoding result 1 Bar code information 4bytes
10211060
max.
Decoding result 2 Bar code information 8bytes
102210100
max.
Decoding result 3 Bar code information
102310140
12bytes max.
Decoding result 4 Bar code information
102410180
16bytes max.
Decoding result 5 Bar code information
102510220
20bytes max.
Decoding result 6 Bar code information
102610260
24bytes max.
Leuze electronic GmbH + Co. KGBCL 248i53
Starting up the device - Configuration
ModuleDescriptionModule
identifier
Decoding result 7 Bar code information
102710300
28bytes max.
Decoding result 8 Bar code information
102810660
64bytes max.
Decoding result 9 Bar code information
1029101300
128bytes max.
Data formattingSpecification for formatting
103012300
the data output
Reading gate
number
Reading gate
time
Code positionRelative position of the bar
Number of the reading gate
since system start-up
Time between opening and
closing
10311020
10321020
10331020
code label in the scanning
beam
Reading reliability
Scans per bar
code
Calculated reading reliability
for the transmitted bar code
Number of scans between
the first and the last time of
10341020
10351020
detecting the bar code
Submodule identifier
Parameter
Output
data
Input
data
Scans with information
Number of scans with processed information
10361020
Decoding qualityQuality of the read result10371010
Code directionOrientation of the bar code10381010
Number of digitsNumber of digits in the bar
10391010
code
Code typeBar code type10401010
Data Processing
Characteristics
filter
Configuration of the characteristics filter
10501
Data filteringConfiguration of data filtering 105116000
Segmentation
acc. to the EAN
process
Segmentation via
fixed positions
Activation and configuration
of the segmentation acc. to
the EAN process
Activation and configuration
of the segmentation via fixed
105212700
105313700
positions
Segmentation
acc. to identifier
and separator
Activation and configuration
of the segmentation acc. to
identifier and separator
105412900
String handling
parameter
Definition of placeholder
characters for bar code seg-
10551300
mentation, filtering, completion and reference code processing
Device functions
Leuze electronic GmbH + Co. KGBCL 248i54
Starting up the device - Configuration
ModuleDescriptionModule
identifier
Submodule iden-
Parameter
Output
data
tifier
Device statusDisplay of the device status
10601011
as well as control bits for reset and standby
Laser controlSwitch-on and switch-off po-
10611400
sitions of the laser
AlignmentAlignment mode10631011
Switching inputs/ outputs SWIO or Device‑IO
SWI1 switching
Parameter settings SWI1107012300
input
Switching output
Parameter settings SWO2107112300
SWO2
SWIO status and
control
Handling of switching input
and switching output signals
10741022
Data output
SortingSorting support10801300
Reference code
comparator 1
Definition of the operation
mode of reference code
10811800
comparator 1
Input
data
Reference code
comparator 2
Definition of the operation
mode of reference code
110011000
eration of the multiScan
master function
multiScan slave
addresses 1
Configuration of the slave
addresses for slaves 11-20
11011
multiScan slave
addresses 2
Configuration of the slave
addresses for slaves 21-32
11022
NOTICE
For the standard case, at least module10 (activation) and one of the modules21…27 (decoding result 1…7) should be integrated.
Leuze electronic GmbH + Co. KGBCL 248i55
Starting up the device - Configuration
8.6Decoder modules
8.6.1
Modules 1-4 – Code table extensions 1 to 4
PROFINET-IO module identifier
Module ID: 1001…1004
Submodule ID:1
Description
The modules extend the code type tables of the device parameters and permit the additional definition of
further 4 code types together with the respective number of digits.
Parameter
Tab.8.3: Parameters for modules 1-4
ParameterDescriptionRel.
Data typeValue rangeDefault
addr.
Code typeReleased code type; no code
means that all subsequent
code tables are also deactivated.
The valid number of digits
also depends on the code
type.
0.0…0.5 BitArea0: No code
1: 2/5 Interleaved
2: Code39
3: Code32
6: UPC, UPCE
7: EAN8, EAN13
0
8: Code128
10: EAN Addendum
11: Codabar
12: Code93
13: GS1 DataBar
OMNIDIRECTIONAL
14: GS1 DataBar
LIMITED
15: GS1 DataBar EXPANDED
Number of
digits mode
Number of
digits 1
Interpretation of the number
of digits
Decodable number of digits;
in the case of a range, this
1.6Bit0: Enumeration
1 : Range
1.0…1.5 UNSIGNED8 0…630
0
number defines the lower
limit.
Specifying a 0 for the number of digits means that this
entry is ignored for the device.
Number of
digits 2
Decodable number of digits;
in the case of a range, this
2UNSIGNED8 0…630
number defines the upper
limit.
Number of
digits 3
Number of
digits 4
Number of
digits 5
Leuze electronic GmbH + Co. KGBCL 248i56
Decodable number of digits
in the enumeration mode.
Decodable number of digits
in the enumeration mode.
Decodable number of digits
in the enumeration mode.
3UNSIGNED8 0…630
4UNSIGNED8 0…630
5UNSIGNED8 0…630
Starting up the device - Configuration
ParameterDescriptionRel.
addr.
Reading reliability
Min. reading reliability to be
achieved in order to output a
6UNSIGNED8 1…1004
read code.
Check digit
Used check digit procedure7.0…7.6 BitArea0: Standard check
method
Check digit
output
Turns the check digit output
on or off.
7.7BitCheck digit output
Standard 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.
Data typeValue rangeDefault
0
digit evaluation
1: No check digit verification
2: MOD10 Weight3
3: MOD10 Weight2
4: MOD10 Weight
4…9
5: MOD11 Cont
6: MOD43
7: MOD16
0
0: Standard
1: Not standard
8.6.2
Refer to the notice on the number of digits in see chapter 8.4.2 "Permanently defined parameters/device
parameters".
Parameter length
8bytes
Input data
None
Output data
None
Module 5 – Code type features (symbology)
PROFINET-IO module identifier
Module ID: 1005
Submodule ID:1
Description
The module defines extended features for various code types.
Module for supporting the code reconstruction technology
Parameter
Tab.8.5: Parameters for module 7
ParameterDescriptionAddr.Data typeValue
range
Maximum width
ratio
The maximum width ratio is used to determine the light zones. The light zones iden-
0UNSIGNED8 0…25513
tify the beginning or end of patterns.
Minimum number of elements
A pattern must have at least this minimum
number of duo-elements, i.e. no patterns
1…2UN-
SIGNED16
2…4006
which have fewer duo-elements.
Code fragment
mode
This parameter can be used to switch CRT
mode on and off.
3.0Bit0:
Switched
off
1:
Switched
on
Default
1
Processing end
at end of label
Parameter length
4bytes
Input data
None
Output data
None
NOTICE
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 8.15.3 "Module 92 – AutoControl"). If the parameter is not set, the bar code is immediately decoded and processed further as soon as all necessary bar code elements are available
If this parameter is set, a decoded bar
code is only completely decoded after the
scanning beam has exited the entire bar
code.
3.2Bit0:
Switched
off
1:
Switched
on
0
Leuze electronic GmbH + Co. KGBCL 248i59
Starting up the device - Configuration
8.7Control modules
8.7.1
Module 10 – Activations
PROFINET-IO module identifier
Module ID: 1010
Submodule ID:1
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 control 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).
Parameter
Tab.8.6: Parameters for module 10
ParameterDescriptionAddr. Data typeValue
Default
range
ModeThe parameter defines the mode in which
the activation module is operated.
0UNSIGNED8 0: Without
ACK
0
1: With
ACK
Parameter length
1byte
Input data
None
Output data
Tab.8.7: Output data for module 10
Output dataDescriptionAddr. Data
Value rangeInitial
type
Reading gate Signal for activating the reading gate0.0Bit1 > 0: Reading
gate off
0 > 1: Reading
gate active
Free0.1Bit0
Free0.2Bit0
Free0.3Bit0
Data acknowledgment
This control bit signals that the transmitted
data have been processed by the master.
Only relevant in handshake mode (with
ACK).
0.4Bit0 > 1: Data has
been processed
by the master
1 > 0: Data has
been processed
by the master
value
0
0
Data resetDeletes decoding results that may have
0.5Bit0 > 1: Data reset0
been stored and resets the input data of
all modules.
Free0.6Bit
Free0.7Bit
Leuze electronic GmbH + Co. KGBCL 248i60
Starting up the device - Configuration
Output data length
1byte consistent
NOTICE
If several bar codes are decoded in sequence without the acknowledge mode having been activated, 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 - dependent 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 module12 – Multi-label (see chapter 8.7.3 "Module 12 – Multi-label") or one of the identifier modules (see chapter
8.10 "Identifier") is used.
Data reset behavior
If the data reset control bit is activated, the following actions are carried out:
1. Deletion of decoding results that may still be stored.
2. Reset of module13 – Fragmented read result (see chapter 8.7.4 "Module 13 – Fragmented read result"), 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 module60 – device status (see chapter 8.11.1 "Module60–Device status") is not deleted. For the status byte of decoding result modules20…27 (see chapter 8.8.2 "Modules 21-29 – Decoding result"), the two toggle bytes and the reading gate status remain unchanged.
8.7.2
See also
2 Module 20 – Decoder state [}65]
Module 11 – Reading gate control
PROFINET-IO module identifier
Module ID: 1011
Submodule ID
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.
Parameter
Tab.8.8: Parameters for module 11
ParameterDescriptionAddr. Data typeValue rangeDefault
Automatic reading gate repeat
The parameter defines the
automatic repeat of reading
gates.
0Byte0: No
1: Yes
0
Leuze electronic GmbH + Co. KGBCL 248i61
Starting up the device - Configuration
ParameterDescriptionAddr. Data typeValue rangeDefault
Reading gate
end mode/completeness mode
This parameter can be used
to configure the completeness inspection.
1Byte0: Independent of de-
coding, 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 reached. 1)
2: DigitRef table-dependent, i.e., the reading
gate is terminated if
each bar code stored in
the code type table has
been decoded. 2)
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. 3)
4: Reference code comparison, i.e., the reading
gate is terminated if a
positive reference code
comparison has taken
place. 4)
1
Restart delayThe parameter specifies a
time after which a reading
2UN-
SIGNED16
0…65535 ms0ms
gate is restarted. The
BCL248i generates its own
periodic reading gate. The
configured time is active only
if the automatic reading gate
repeat is switched on.
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
4UN-
SIGNED16
1…65535ms
0: Reading gate activation is switched off
0ms
set period.
1) see chapter 8.7.3 "Module 12 – Multi-label"
2) Corresponds to the settings carried out via the device module (see chapter 8.4.2 "Permanently defined
parameters/device parameters") or module1-4 – Code table extensions 1 to 4.
3) see chapter 8.10 "Identifier", modules 52-54 "identifier filter string"
4) see chapter 8.14.3 "Module 83 – Reference code comparison pattern1" and see chapter 8.14.4 "Module
84 – Reference code comparison pattern2"
Parameter length
6bytes
Input data
None
Output data
None
Leuze electronic GmbH + Co. KGBCL 248i62
Starting up the device - Configuration
8.7.3
Module 12 – Multi-label
PROFINET-IO module identifier
Module ID: 1012
Submodule ID:1
Description
The module permits the definition of multiple bar codes with a different number of digits and/or code types
in the reading gate and provides the necessary input data.
Parameter
Tab.8.9: Parameters for module 12
ParameterDescriptionAddr. Data typeValue
Default
range
Minimum number of bar codes
Maximum number of bar codes
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
0UNSIGNED8 0…641
1UNSIGNED8 0…641
number of bar codes has been reached,
the reading gate is terminated prematurely.
Parameter length
2bytes
Input data
Tab.8.10: Input data for module 12
Input dataDescriptionAddr. Data typeValue
range
Number of decoding results
Number of decoding results which have
not been fetched.
0UNSIGNED8 0…2560
Initial
value
Input data length
1byte
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 control. 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.
NOTICE
When using this module, the ACK mode should be activated (see chapter 8.7.1 "Module 10 –
Activations", "Mode" parameter). Otherwise there is a risk of losing decoding results if the control is not fast enough.
Leuze electronic GmbH + Co. KGBCL 248i63
Starting up the device - Configuration
8.7.4
Module 13 – Fragmented read result
PROFINET-IO module identifier
Module ID: 1013
Submodule ID:1
Description
The module defines the transfer of fragmented reading results. To occupy few I/O data, the read results
may be split into several fragments with this module. The fragments can then be transmitted one after another with a handshake.
Parameter
Tab.8.11: Parameters for module 13
ParameterDescriptionAddr.Data typeValue
Default
range
Fragment length The parameter defines the maximum length
of the bar code information per fragment.
0UN-
SIGNED8
1…128 0
Parameter length
1byte
Input data
8.7.5
Tab.8.12: Input data for module 13
Input dataDescriptionAddr.Data typeValue
range
Fragment num-
Current fragment number0.0…0.3BitArea0…150
ber
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
0.4…0.7BitArea0…150
1UN-
0…128 0
SIGNED8
last fragment.
Input data length
2byte consistent
Output data
None
Module 14 – Interlinked read result
PROFINET-IO module identifier
Module ID: 1014
Submodule ID:1
Initial
value
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.
An interlinked read result also requires module 12 – Multi-label. In this mode, the additional information transmitted in modules 31ff relates to the last decoding result in the chain.
8.8Result format
In the following, various modules for the output of decoding results are listed. They have the same structure
but different output lengths. The PROFINET-IO module concept does not cater for modules of variable data
length.
This parameter is used to define a
delimiter that is inserted between
two individual decoding results.
0UNSIGNED81…255
0: No delimiter
is used.
';'
8.8.1
NOTICE
Modules 20…27 are to be regarded as alternatives and should not be used in parallel.
Modules 30…41 can be combined freely with the decoding result modules.
Module 20 – Decoder state
PROFINET-IO module identifier
Module ID: 1020
Submodule ID:1
Description
The module indicates the state of the decoding and of the automatic decoder configuration.
Parameter
None
Input data
Tab.8.14: Input data for module 20
Input dataDescriptionAddr.Data
Value rangeInitial
type
value
Reading gate
state
The signal indicates the current state of
the reading gate.
0.0Bit0: Off
1: On
0
Attention: This does not necessarily correspond to the state at the time the bar
code is scanned.
Leuze electronic GmbH + Co. KGBCL 248i65
Starting up the device - Configuration
Input dataDescriptionAddr.Data
type
New resultThe signal indicates whether a new de-
0.1Bit0: No
coding has occurred.
Result stateThe signal indicates whether the bar code
0.2Bit0: Successful
has been read successfully.
Further results
in the buffer
Buffer overflowThe signal indicates that result buffers are
The signal indicates whether further results are in the buffer.
0.3Bit0: No
0.4Bit0: No
occupied and the decoder rejects data.
New decodingToggle bit indicates whether decoding has
0.5Bit0>1: New re-
occurred.
Result stateToggle bit indicates that the bar code has
0.6Bit0>1:
not been read.
Waiting for acknowledgment
This signal represents the internal state of
the control.
0.7Bit0: Base state
Value rangeInitial
value
0
1: Yes
0
reading
1: NOREAD
0
1: Yes
0
1: Yes
0
sult
1>0: New result
0
NOREAD
1>0:
NOREAD
0
1: Control waiting for acknowledgment
from the
IOcontroller
Input data length
1byte
Output data
None
Comments
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 acknowledgment
All other flags refer to the currently output decoding result.
If the input data is reset to the initial value (see chapter 8.8.3 "Module 30 – Data formatting"), the following
bits are deleted:
• New result
• Result state
All others remain unchanged.
Data reset behavior
Upon data reset (see chapter 8.7.1 "Module 10 – Activations") the input data is deleted, except for the
reading gate status and the two toggle bits.
Leuze electronic GmbH + Co. KGBCL 248i66
Starting up the device - Configuration
8.8.2
Modules 21-29 – Decoding result
PROFINET-IO module identifier
Module ID: 1021…1029
Submodule ID:1
Description
The module defines the transfer of the actually decoded reading results. The data is transmitted consistently over the entire range.
Parameter
None
Input data
Tab.8.15: Input data for modules 21…27
Module
no.
21…29Reading gate
Input dataDescriptionAddr.Data
type
state
The signal indicates the current
state of the reading gate.
0.0Bit0: Off
Value
range
1: On
Initial
value
0
Attention: This does not necessarily correspond to the state at
the time the bar code is scanned.
21…29New resultSignal indicates whether a new
decoding result is present.
21…29Result stateSignal indicates whether the bar
code has been read successfully.
21…29Further results in
the buffer
Signal indicates whether further
results are in the buffer.
21…29Buffer overflowSignal indicates that result buffers
are occupied and the decoder rejects data.
21…29New resultToggle bit indicates that a new de-
coding result is present.
21…29Result stateToggle bit indicates that the bar
code has not been read.
21…29Waiting for ac-
knowledgment
This signal represents the internal
state of the control.
0.1Bit0: No
1: Yes
0.2Bit0: Successful reading
1: NOREAD
0.3Bit0: No
1: Yes
0.4Bit0: No
1: Yes
0.5Bit0>1: New
result
1>0: New
result
0.6Bit0>1:
NOREAD
1>0:
NOREAD
0.7Bit0: Base
state
1: Control
waiting for
acknowledgment
from the IO
controller
0
0
0
0
0
0
=
Leuze electronic GmbH + Co. KGBCL 248i67
Starting up the device - Configuration
Module
Input dataDescriptionAddr.Data
no.
21…29Bar code data
length
Data length of the actual bar code
information.
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
information caused by a module
width which has been selected too
small.
21DataBar code information with a length
of consistently 4bytes.
22DataBar code information with a length
of consistently 8bytes.
23DataBar code information with a length
of consistently 12bytes.
type
1UN-
SIGNED
8
2..4x UN-
SIGNED
8
2..8x UN-
SIGNED
8
2..12x UN-
SIGNED
8
Value
range
0-480
0-FFh0
0-FFh0
0-FFh0
Initial
value
24DataBar code information with a length
of consistently 16bytes.
2..16x UN-
SIGNED
8
25DataBar code information with a length
of consistently 20bytes.
2..20x UN-
SIGNED
8
26DataBar code information with a length
of consistently 24bytes.
2..24x UN-
SIGNED
8
27DataBar code information with a length
of consistently 28bytes.
2..28x UN-
SIGNED
8
28DataBar code information with a length
of consistently 64bytes.
2..64x UN-
SIGNED
8
29DataBar code information with a length
of consistently 128bytes.
2..128x
UNSIGNED
8
Input data
2 bytes consistently + 4..128 bytes of bar code information depending on the module
0-FFh0
0-FFh0
0-FFh0
0-FFh0
0-FFh0
0-FFh0
Output data
None
Comments
The remarks for module 20 – decoder state, apply in an analogous manner.
In addition, all bytes beginning with address 1 are reset to the initial value.
Leuze electronic GmbH + Co. KGBCL 248i68
Starting up the device - Configuration
NOTICE
Shortening decoding results that are too long: If the bar code information (bar code possibly including 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 depending on the setting in module 30 – Data formatting.
Shortening is indicated by the passed bar code data length.
8.8.3
Module 30 – Data formatting
PROFINET-IO module identifier
Module ID:1030
Submodule ID:1
Description
The module defines the output string for the case that the BCL248i could not read a bar code. In addition,
the initialization of the data fields and the definition of unused data ranges may be set.
Parameter
Tab.8.16: Parameters for module 30
ParameterDescriptionAddr. Data typeValue rangeDefault
Text in the case
of misreading
The parameter defines the output
characters if no bar code could be
read.
0STRING
20characters
null termi-
1…20 bytes of
ASCII characters
63 („?“)
nated
Decoding result
at reading gate
start
The parameter defines the state
of the data at the start of the reading gate.
20.5Bit0: Input data remain on the old
value
0
1: Input data is
reset to the initial
value
Data alignmentThe parameter defines the align-
ment of the data in the result field
and thus also controls possible
21.0Bit0: Left-justified
1: Right-justified
0
shortening of a decoding result
that is too large.
Fill modeThe parameter defines the fill
mode for the not assigned data
ranges.
21.4
…21.
7
BitArea0: No fill up
3: Fill up to the
transmission
3
length
Fill characterThe parameter defines the char-
22UNSIGNED8 0…FFh0
acter which is used for filling up
the data ranges.
Parameter length
23bytes
Input data
None
Output data
None
Remark
The decoding result at reading gate start parameter is only taken into account if the Without ACK mode is
set (see chapter 8.7.1 "Module 10 – Activations").
Leuze electronic GmbH + Co. KGBCL 248i69
Starting up the device - Configuration
NOTICE
The text for erroneous readings does not permit the use of ASCII characters that cannot be displayed (<0x20h).
8.8.4
Module 31 – Reading gate number
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
Tab.8.17: Input data for module 31
Input dataDescriptionAddr. Data typeValue
range
Reading gate
number
The BCL248i transmits the current reading gate number. The reading gate num-
0…1 UN-
SIGNED16
0…655350
Initial
value
ber is initialized with the system start and
is then incremented continuously. At
65535, an overflow occurs and the
counter starts again from 0.
8.8.5
Input data length
2byte consistent
Output data
None
Module 32 – Reading gate time
PROFINET-IO module identifier
Module ID: 1032
Submodule ID:1
Description
This module returns the time between opening and closing of the last reading gate.
Parameter
None
Input data
Tab.8.18: Input data for module 32
Input dataDescriptionAddr. Data typeValue rangeInitial
value
Opening duration of the reading gate
Opening duration of the last
reading gate in ms.
0…1 UN-
SIGNED16
0…65535 ms
If the range is exceeded, the value re-
0ms
mains at 65535
Leuze electronic GmbH + Co. KGBCL 248i70
Starting up the device - Configuration
Input data length
2byte consistent
Output data
None
8.8.6
Module 33 – Code position
PROFINET-IO module identifier
Module ID: 1033
Submodule ID:1
Description
The module defines input data for the communication of the relative bar code position in the laser beam.
Parameter
None
Input data
Tab.8.19: Input data for module 33
Input dataDescriptionAddr. Data typeValue rangeInitial value
Code positionRelative position of the bar
code in the scanner beam.
0…1 SIGNED16±450 [1/10de-
grees]
0 [1/10 de-
grees]
The position is normalized to
the zero position (middle position). Specified in 1/10degrees.
Input data length
2byte consistent
8.8.7
Output data
None
Module 34 – Reading reliability (equal scans)
PROFINET-IO module identifier
Module ID: 1034
Submodule ID:1
Description
The module defines the input data for the communication of the calculated reading reliability. The value
refers to the currently output bar code.
Parameter
None
Input data
Tab.8.20: Input data for module 34
Input dataDescriptionAddr. Data typeValue rangeInitial
value
Reading reliability (equal scans)
Calculated reading reliability for the
transmitted bar code.
0…1 UN-
SIGNED16
0…655350
Input data length
2byte consistent
Leuze electronic GmbH + Co. KGBCL 248i71
Starting up the device - Configuration
Output data
None
8.8.8
Module 35 – Bar code length
PROFINET-IO module identifier
Module ID: 1035
Submodule ID:1
Description
The module defines input data for the communication of the length of the currently output bar code.
Parameter
None
Input data
Tab.8.21: Input data for module 35
Input dataDescriptionAddr. Data typeValue
Initial value
range
Bar code length Length/duration of the currently output
bar code, beginning with the code position specified in module 35 in 1/10
0…1 UN-
SIGNED16
1…900
[1/10 degrees]
1 [1/10 de-
grees]
degrees.
Input data length
2byte consistent
8.8.9
Output data
None
Module 36 – Scans with information
PROFINET-IO module identifier
Module ID: 1036
Submodule ID:1
Description
The module defines input data for the communication of the calculated number of scans which provided information contributing to the result of the bar code.
Parameter
None
Input data
Tab.8.22: Input data for module 36
Input dataDescriptionAddr. Data typeValue rangeInitial
value
Scans with information per bar
code
See above0…1 UN-
SIGNED16
0,,,655350
Input data length
2byte consistent
Output data
None
Leuze electronic GmbH + Co. KGBCL 248i72
Starting up the device - Configuration
8.8.10
Module 37 – Decoding quality
PROFINET-IO module identifier
Module ID: 1037
Submodule ID:1
Description
The module defines input data for the communication of the calculated decoding quality of the currently
transmitted bar code.
Parameter
None
Input data
Tab.8.23: Input data for module 37
Input dataDescriptionAddr. Data typeValue rangeInitial
value
Decoding qualityDecoding quality of the transmitted
0UNSIGNED8 0…100%0%
bar code in %.
Input data length
1byte consistent
8.8.11
Output data
None
Module 38 – Code direction
PROFINET-IO module identifier
Module ID: 1038
Submodule ID:1
Description
The module defines input data for the communication of the detected code direction of the currently transmitted bar code.
Parameter
None
Input data
Tab.8.24: Input data for module 38
Input dataDescriptionAddr. Data typeValue rangeInitial
value
Code directionCode direction of the transmitted bar
code
0UNSIGNED8 0: Normal
1: Inverted
0
2: Unknown
Input data length
1byte
Output data
None
Leuze electronic GmbH + Co. KGBCL 248i73
Starting up the device - Configuration
NOTICE
A decoding result of type "No Read" has as code direction the value 2 = unknown.
8.8.12
Module 39 – Number of digits
PROFINET-IO module identifier
Module ID: 1039
Submodule ID:1
Description
The module defines input data for the communication of the number of digits of the currently transmitted
bar code.
Parameter
None
Input data
Tab.8.25: Input data for module 39
Input dataDescriptionAddr. Data typeValue rangeInitial
value
Number of digits Number of digits of the transmitted
0UNSIGNED8 0…480
bar code
Input data length
1byte
8.8.13
Output data
None
Module 40 – Code type (symbology)
PROFINET-IO module identifier
Module ID: 1040
Submodule ID:1
Description
The module defines input data for the communication of the code type of the currently transmitted bar
code.
Parameter
None
Leuze electronic GmbH + Co. KGBCL 248i74
Starting up the device - Configuration
Input data
Tab.8.26: Input data for module 40
Input dataDescriptionAddr. Data typeValue rangeInitial
value
Code type
(symbology)
Input data length
1byte
Output data
None
Code type of the transmitted bar code
0UNSIGNED8 0: No code
1: 2/5 Interleaved
2: Code39
6: UPC, UPCE
7: EAN8, EAN13
8: Code128, EAN128
10: EAN Addendum
11: Codabar
12: Code93
13: GS1 DataBar Omnidirectional
14: GS1 DataBar Limited
15: GS1 DataBar Expanded
0
8.9Data Processing
8.9.1
Module 50 – Characteristics filter
PROFINET-IO module identifier
Module ID: 1050
Submodule ID:1
Description
Configuration of the characteristics filter.
This filter can be used to set how bar codes with identical content are handled and what criteria are to be
taken into account in determining the likeness.
Parameter
Tab.8.27: Parameters for module 50
ParameterDescriptionAddr. Data typeValue rangeDefault
Handling of
identical bar
code information
Determines how bar codes with
the same content are to be managed.
0UNSIGNED8 0: All bar codes
are stored and
output.
1: Only non-identical bar code
contents are output.
1
Comparison parameter code
type
If this criterion has been activated,
the bar code type is used to determine whether the bar codes are
1.0Bit0: Deactivated
1: Activated
1
identical.
Leuze electronic GmbH + Co. KGBCL 248i75
Starting up the device - Configuration
ParameterDescriptionAddr. Data typeValue rangeDefault
Comparison parameter bar
code content
Comparison parameter bar
code direction
Comparison parameter scan
position
Comparison parameter scanning time info
If this criterion has been activated,
the bar code content is used to
determine whether the bar codes
are identical.
If this criterion has been activated,
the bar code direction is used to
determine whether the bar codes
are identical.
If this parameter is not equal to 0,
the bar code position in the scanning beam is used to determine
whether identical bar codes have
already been decoded. In this
case, a +/- bandwidth must be
specified in 1/10degrees, within
which the same bar code is permitted to be in the scanning
beam.
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. For this purpose, a time
difference in milliseconds is specified. It ensures that identical bar
codes can only occur within this
time.
1.1Bit0: Deactivated
1: Activated
1.2Bit0: Deactivated
1: Activated
2…3 UN-
SIGNED16
6…7 UN-
0…450
[1/10degrees]
0…65535 ms0ms
SIGNED16
1
1
0 [1/10
degrees]
8.9.2
Parameter length
8bytes
Input data
None
Output data
None
All comparison criteria are AND linked; this means all active comparisons must be fulfilled before the justdecoded bar code can be identified as already decoded and then deleted.
Module 51 – Data filtering
PROFINET-IO module identifier
Module ID: 1051
Submodule ID:1
Description
Configuration of the data filter.
Parameter
Tab.8.28: Parameters for module 51
ParameterDescriptionAddr. Data typeValue rangeDefault
Bar code filter
string 1
Leuze electronic GmbH + Co. KGBCL 248i76
Filter expression10STRING
30 characters null terminated
1…30 bytes of
ASCII characters
\00
Starting up the device - Configuration
ParameterDescriptionAddr. Data typeValue rangeDefault
Bar code filter
string 2
Filter expression230STRING
30 characters null terminated
1…30 bytes of
ASCII characters
\00
Parameter length
60bytes
Input data
None
Output data
None
Filter string
The filter string is used to define passthrough filters for bar codes.
Any number of '?' is 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.
NOTICE
ASCII characters that cannot be displayed (<0x20h) must not be used.
8.10Identifier
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.
8.10.1
Module 52 – Segmentation acc. to the EAN process
PROFINET-IO module identifier
Module ID: 1052
Submodule ID:1
Description
The module activates the segmentation according to the EAN process. The parameters specify the identifiers to be searched for and the output mode.
NOTICE
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 8.7.1 "Module 10 – Activations").
Parameter
Tab.8.29: Parameters for module 52
ParameterDescriptionAddr. Data typeValue rangeDefault
Identifier list
Leuze electronic GmbH + Co. KGBCL 248i77
Starting up the device - Configuration
ParameterDescriptionAddr. Data typeValue rangeDefault
Identifier 1The identifier string is used for
the identifier list and the filtering according to the segmentation.
0STRING
5characters null
terminated
Identifier 2See identifier 15STRING
5characters null
terminated
Identifier 3See identifier 110STRING
5characters null
terminated
Identifier 4See identifier 115STRING
5characters null
terminated
Identifier 5See identifier 120STRING
5characters null
terminated
Identifier output
Output with
identifier
If this switch is not set, the
output of the identifiers is sup-
25.0Bit0: Output of the
pressed. Only the data values
that belong to the identifiers
are displayed in this case.
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
identifiers is suppressed.
1: Identifiers are
output.
'*'
\0
\0
\0
\0
1
Output delimiter This delimiter, if not equal to
26UNSIGNED80…1270
0, is inserted between the
identifier and the associated
data value in the output.
Parameter length
27bytes
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. Any number of '?' is permitted as placeholders for an arbitrary character
at exactly that defined 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. There are a total of five 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 terminated.
NOTICE
ASCII characters that cannot be displayed (<0x20h) must not be used in the identifier strings.
Leuze electronic GmbH + Co. KGBCL 248i78
Starting up the device - Configuration
8.10.2
Module 53 – Segmentation via fixed positions
PROFINET-IO module identifier
Module ID: 1053
Submodule ID:1
Description
The module activates the segmentation via fixed positions. The parameters specify the identifiers to be
searched for, the output mode, and the positions.
Parameter
Tab.8.30: Parameters for module 53
ParameterDescriptionAddr. Data typeValue rangeDefault
Identifier list
Identifier 1The identifier string is used for the
identifier list and the filtering according to the segmentation.
0STRING
5characters
null termi-
1…5 bytes of
ASCII characters
'*'
nated
Identifier 2See identifier 15STRING
5characters
1…5 bytes of
ASCII characters
\0
null terminated
Identifier 3See identifier 110STRING
5characters
null terminated
Identifier 4See identifier 115STRING
5characters
null terminated
Identifier 5See identifier 120STRING
5characters
null terminated
Identifier output
Output with
identifier
If this switch is not set, the output
of the identifiers is suppressed.
25.0Bit0: Output of the
Only the data values that belong
to the identifiers are displayed in
this case.
Output delimiter This delimiter, if not equal to 0, is
26UNSIGNED8 0…1270
inserted between the identifier
and the associated data value in
the output.
1…5 bytes of
ASCII characters
1…5 bytes of
ASCII characters
1…5 bytes of
ASCII characters
identifiers is suppressed.
1: Identifiers are
output.
\0
\0
\0
1
Fixed positions
Start position of
the 1st identifier
Specifies the position of the first
character of the first identifier in
27UNSIGNED8 0…1270
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.
Leuze electronic GmbH + Co. KGBCL 248i79
Starting up the device - Configuration
ParameterDescriptionAddr. Data typeValue rangeDefault
Start position of
the 1st data
value
Start position of
the 2nd identifier
Start position of
the 2nd data
value
Start position of
the 3rd identifier
Specifies the position of the first
character of the first data value in
the data string of the bar code.
The first character in the bar code
has position 1. If the parameter is
= 0, it is deactivated.
Specifies the position of the first
character of the second identifier
in the data string of the bar code.
The first character in the bar code
has position 1. If the parameter is
= 0, it is deactivated.
Specifies the position of the first
character of the second data
value in the data string of the bar
code. The first character in the bar
code has position 1. If the parameter is = 0, it is deactivated.
Specifies the position of the first
character of the third identifier in
the data string of the bar code.
The first character in the bar code
has position 1. If the parameter is
= 0, it is deactivated.
28UNSIGNED8 0…1270
29UNSIGNED8 0…1270
30UNSIGNED8 0…1270
31UNSIGNED8 0…1270
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
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.
32UNSIGNED8 0…1270
33UNSIGNED8 0…1270
34UNSIGNED8 0…1270
35UNSIGNED8 0…1270
Start position of
the 5th data
value
Specifies the position of the first
character of the fifth data value in
the data string of the bar code.
36UNSIGNED8 0…1270
The first character in the bar code
has position 1. If the parameter is
= 0, it is deactivated.
Leuze electronic GmbH + Co. KGBCL 248i80
Starting up the device - Configuration
Parameter length
37bytes
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. Any number of '?' is permitted as placeholders for an arbitrary character
at exactly that defined 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. There are a total of five 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 terminated.
NOTICE
ASCII characters that cannot be displayed (<0x20h) must not be used in the identifier strings.
8.10.3
Module 54 – Segmentation according to identifier and separator
PROFINET-IO module identifier
Module ID: 1054
Submodule ID:1
Description
This module activates the segmentation according to identifier and separator. The parameters specify the
identifiers to be searched for, the output mode, and the parameters for the identifier/separator algorithm.
Parameter
Tab.8.31: Parameters for module 54
ParameterDescriptionAddr. Data typeValue rangeDefault
Identifier list
Identifier 1The identifier string is used for the
identifier list and the filtering according to the segmentation.
0STRING
5characters
null termi-
1…5 bytes of
ASCII characters
'*'
nated
Identifier 2See identifier 15STRING
5characters
1…5 bytes of
ASCII characters
\0
null terminated
Identifier 3See identifier 110STRING
5characters
1…5 bytes of
ASCII characters
\0
null terminated
Leuze electronic GmbH + Co. KGBCL 248i81
Starting up the device - Configuration
ParameterDescriptionAddr. Data typeValue rangeDefault
Identifier 4See identifier 115STRING
5characters
null terminated
Identifier 5See identifier 120STRING
5characters
null terminated
Identifier output
Output with
identifier
If this switch is not set, the output
of the identifiers is suppressed.
25.0Bit0: Output of the
Only the data values that belong
to the identifiers are displayed in
this case.
Output delimiter This delimiter, if not equal to 0, is
26UNSIGNED8 0…1270
inserted between the identifier
and the associated data value in
the output.
Segmentation acc. to identifier and separator
Identifier lengthFixed length of all identifiers in the
27UNSIGNED8 0…2560
segmentation 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.
1…5 bytes of
ASCII characters
1…5 bytes of
ASCII characters
identifiers is suppressed.
1: Identifiers are
output.
\0
\0
1
Delimiter in the
identifier /separator process
The separator terminates the data
value that follows its identifier directly after the identifier length. Af-
28UNSIGNED8 0…1270
ter the separator, the next identifier starts.
Parameter length
29bytes
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. Any number of '?' is permitted as placeholders for an arbitrary character
at exactly that defined 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. There are a total of five identifier strings.
An identifier with less than 5 characters must be null terminated. However, if the identifier string consists of
exactly 5characters, it does not have to be null terminated.
Leuze electronic GmbH + Co. KGBCL 248i82
Starting up the device - Configuration
NOTICE
ASCII characters that cannot be displayed (<0x20h) must not be used in the identifier strings.
8.10.4
Module 55 – String handling parameters
PROFINET-IO module identifier
Module ID: 1055
Submodule ID:1
Description
This module is used to configure placeholder characters for the bar code segmentation, filtering, termination, and reference code processing.
Parameter
Tab.8.32: Parameters for module 55
ParameterDescriptionAddr. Data
type
Wildcard character
This parameter is similar to the "don't care
character" parameter. The difference be-
0UN-
SIGNED8
Value
range
32…126 '*'
Default
tween 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.
Don't care character
Delete character
Parameter length
3bytes
Input data
None
Output data
None
8.11Device functions
8.11.1
Module60–Device status
PROFINET-IO module identifier
Module ID: 1060
Submodule ID:1
Placeholder character. Characters at the position of the placeholder character are not
taken into account in a comparison. This permits certain areas to be masked.
Delete character for bar code and identifier filtering (characters at the position of the delete
character are deleted in a comparison. This
permits certain areas to be deleted).
1UN-
SIGNED8
2UN-
SIGNED8
32…126 '?'
32…126 'x'
Leuze electronic GmbH + Co. KGBCL 248i83
Starting up the device - Configuration
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
Tab.8.33: Input data for module 60
Input dataDescriptionAddr. Data typeValue rangeInitial
value
Device statusThis byte represents the
device status.
0UNSIGNED8 1: Initialization
10: Standby
0
11: Service
12: Diagnosis
13: Parameter Enabled
15: Device is ready
0x80: Error
0x81: Warning
Input data length
1byte
Output data
Tab.8.34: Output data for module 60
Output dataDescriptionAddr. Data typeValue rangeInitial
value
System resetThe control bit triggers a
system reset if the level
changes from 0 to 1.
0.6Bit0: Run
0 > 1: Reset
0
Analogous to command H,
activation of this bit triggers a restart of all electronics, incl. a restart of
the PROFINET-IO stack.
StandbyActivates the standby
function
0.7Bit0: Standby off
1: Standby on
0
Output data length
1byte
NOTICE
When resetting the data (see chapter 8.7.1 "Module 10 – Activations") the input data of this
module is not deleted.
Leuze electronic GmbH + Co. KGBCL 248i84
Starting up the device - Configuration
8.11.2
Module 61 – Laser control
PROFINET-IO module identifier
Module ID: 1061
Submodule ID:1
Description
The module defines the switch-on and switch-off position of the laser.
Parameter
Tab.8.35: Parameters for module 61
ParameterDescriptionAddr. Data typeValue rangeDefault
Laser start position
This parameter defines the
switch-on position of the laser
in 1/10° increments within the
0…1 UN-
SIGNED16
-450…+450
[1/10degrees]
-450
[1/10de-
grees]
visible range of the laser. The
center of the reading field corresponds to the 0° position.
Laser stop position
This parameter defines the
switch-off position of the laser
2…3 UN-
SIGNED16
-450…+450
[1/10degrees]
+450 [1/10
degrees]
in 1/10° increments within the
visible range of the laser.
8.11.3
Parameter length
4bytes
Input data
None
Output data
None
Module 63 – Alignment
PROFINET-IO module identifier
Module ID: 1063
Submodule ID:1
Description
The module defines input and output data for the alignment mode of the BCL248i. The alignment mode is
used for easy alignment of the BCL248i with the bar code. Using the transmitted decoding quality as a percentage, the optimum alignment can be easily selected. This module should not be used in connection with
module 81 (AutoReflAct) as this may cause malfunctions.
Parameter
None
Input data
Tab.8.36: Input data for module 63
Input dataDescriptionAddr. Data typeValue rangeInitial
value
Decoding quality
Transmits the current decoding quality
of the bar code located in the scan-
0Byte0…100%0%
ning beam.
Leuze electronic GmbH + Co. KGBCL 248i85
Starting up the device - Configuration
1
2
3
4
Input data length:
1byte
Output data
Tab.8.37: Output data for module 63
Output dataDescriptionAddr. Data typeValue rangeInitial
value
Alignment mode Signal activates and deactivates the
alignment mode for optimum alignment of the BCL248i with the bar
code.
Output data length:
1byte
8.12Switching inputs/outputs SWIO1/2
These modules define the mode of operation of the two 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.
8.12.1
Parameters for operating as an output
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) activates
the output, and the selected switch-off function(s) deactivates it again.
0.0Bit0>1: On
1>0: Off
0
1Switch-on signal4Start-up delay
2Switch-off signal
3Output
Fig.8.5: Example1: Start-up delay >0 and switch-on time =0
Leuze electronic GmbH + Co. KGBCL 248i86
Starting up the device - Configuration
1
2
3
45
1
2
3
4
1Switch-on signal4Start-up delay
2Switch-off signal5Switch-on time
3Output
Fig.8.6: Example2: Start-up delay >0 and switch-on time >0
In example2, the activation duration of the output is only dependent on the selected switch-on time; the
switch-off signal has no effect.
1Switch-on signal4Start-up delay
2Switch-off signal
3Output
Fig.8.7: Example3: 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.
Leuze electronic GmbH + Co. KGBCL 248i87
Starting up the device - Configuration
1
2
345
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.
8.12.2
Parameters for operating as an input
Debounce time
Parameter for setting the software debounce time for the switching input. The definition of a debounce time
extends the signal transition time accordingly.
If the value of this parameter = 0, no debouncing takes place; otherwise, the configured value represents
the duration in milliseconds for which the input signal must be present and stable.
1Input signal3Start-up delay td_on
2Output signal4Switch-on time ton
5Switch-off delay td_off
Fig.8.8: Start-up behavior in input mode
Start-up delay td_on
If the value of this parameter = 0, no start-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.
Switch-on time ton
This parameter specifies the min. activation duration for the selected input function in milliseconds.
The actual activation duration is calculated from the switch-on time as well as the switch-off delay.
Switch-off delay td_off
This parameter specifies the duration of the switch-off delay in milliseconds.
Leuze electronic GmbH + Co. KGBCL 248i88
Starting up the device - Configuration
8.12.3
Switch-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:
Tab.8.38: Switch-on/switch-off functions
NameValue Comment
No function0No functionality
Reading gate start1
Reading gate end2
Positive reference code comparison 1
Negative reference code comparison 1
3
4
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 acti-
vated).
Data transmission active9
Data transmission not active10
AutoControl good quality13
8.12.4
AutoControl bad quality14
Reflector detected15
Reflector not detected16
External event, pos. edge17In the PROFINET case, the external event is generated
with the aid of module74 – "I/O status and control", see
chapter 8.12.7 "Module 74 – SWIO status and control".
External event, neg. edge18See above
Device active19Decoding is currently being performed.
Device in standby mode20Motor and laser inactive.
No device error21An error was detected.
Device error22Device is in an error state.
Positive reference code comparison 2
Negative reference code comparison 2
23
24
Input functions for operation as an input
Tab.8.39: Input functions
NameValueComment
No function0No functionality
Reading gate activation1
Reading gate deactivation only2
Reading gate activation only3
Reference bar code teach-in4
Start/stop AutoConfiguration mode5
Leuze electronic GmbH + Co. KGBCL 248i89
Starting up the device - Configuration
8.12.5
Module 70 – Switching input SWI1
PROFINET-IO module identifier
Module ID: 1070
Submodule ID:1
NOTICE
Module70 functions only as a switching input.
Parameter
Tab.8.40: Parameters for module70
ParameterDescriptionAddr. Data typeValue rangeDefault
InversionThe parameter defines the logic
of the incident signal. In case of
an inversion, an external HIGH
13.1Bit0: Normal
1: Inverted
0
level is interpreted internally as a
LOW level.
ReservedFree13.2
…13.
7
Debounce timeThe parameter defines a de-
bounce time in ms which is implemented in software.
Start-up delayThe parameter influences the
time behavior in ms during
switch-on.
Minimum switchon time
The parameter defines a minimum time period in ms before
the signal is reset.
Switch-off delayThe parameter defines a time
delay in ms for the signal during
switch-off.
Input functionThe parameter specifies the
function which is to be activated
or deactivated by a status
change in the signal.
Parameter length
23bytes
Input data
None
14UN-
0…1000ms5ms
SIGNED16
16UN-
0…65535 ms0ms
SIGNED16
18UN-
0…65535 ms0ms
SIGNED16
20UN-
0…65535 ms0ms
SIGNED16
22UNSIGNED8 see chapter
8.12.4 "Input
functions for operation as an input"
1
Output data
None
Comment
The bias level also defines whether the output is low-active (0) or high-active (1).
Switching on an output means switching to the active state; switching off, on the other hand, results in
switching to the inactive or idle state.
Leuze electronic GmbH + Co. KGBCL 248i90
Starting up the device - Configuration
8.12.6
Module 71 – Switching output SWO2
PROFINET-IO module identifier
Module ID: 1071
Submodule ID:1
NOTICE
Module71 functions only as a switching output.
Parameter
Tab.8.41: Parameters for module71
ParameterDescriptionAddr. Data typeValue rangeDefault
Bias levelThe parameter defines the bias level
of the switching output and, thus, simultaneously whether the output is
low-active (0) or high-active (1).
0.1Bit0: LOW (0V)
1: HIGH
(+Ub)
0
ReservedFree0.2…
0.7
Start-up delayWith this parameter, the output pulse
may be delayed by a set time period
in ms
Switch-on timeThe parameter defines the switch-on
time period for the switching output
in ms. If the value is 0, the signal is
static.
Switch-on function 1
Switch-on function 2
This parameter specifies an event
which can set the switching output.
This parameter specifies an event
which can set the switching output.
Switch-on function1 and switch-on
function2 are OR linked.
Switch-off function1
This parameter specifies an event
which can reset the switching output.
1UN-
0…65535ms0ms
SIGNED16
3UN-
0…1300ms 400ms
SIGNED16
5UNSIGNED8 see chapter
8.12.3
"Switch-on
and switchoff functions
for operation
as an output"
6UNSIGNED8 see chapter
8.12.3
"Switch-on
and switchoff functions
for operation
as an output"
7UNSIGNED8 see chapter
8.12.3
"Switch-on
and switchoff functions
for operation
as an output"
5
0
1
Switch-off function2
This parameter specifies an event
which can reset the switching output.
Switch-off function1 and switch-off
function2 are OR linked.
8UNSIGNED8 see chapter
8.12.3
"Switch-on
and switch-
0
off functions
for operation
as an output"
Leuze electronic GmbH + Co. KGBCL 248i91
Starting up the device - Configuration
ParameterDescriptionAddr. Data typeValue rangeDefault
Comparative
value (event
counter)
Comparison
mode (Event
Counter)
Reset mode
(Event Counter)
Parameter length
23bytes
Input data
None
If the number of activation events of
the selected switch-on function
reaches this comparative value, the
switching output is activated. A deactivation event of the selected
switch-off function resets the
counter.
Specifies whether the switching output switches only on parity (once) or
also in the event of greater or equal
to (multiple times) after the comparative value is reached.
Specifies whether the counter (Event
Counter) is reset only by the reset bit
and the selected switch-off function,
or if the counter should be automatically reset after the comparative
value is reached.
9UN-
0…655350
SIGNED16
11UNSIGNED8 0: SWO
switches
once
1: SWO
switches several times
12UNSIGNED8 0: Reset bit
and switchoff function
1: Comparative value
reached
0
0
8.12.7
Output data
None
Comment
The bias level also defines whether the output is low-active (0) or high-active (1).
Switching on an I/O configured as an output means switching to the active state; switching off, on the other
hand, results in switching to the inactive or idle state.
Module 74 – SWIO status and control
PROFINET-IO module identifier
Module ID: 1074
Submodule ID:1
Description
Module for handling switching input and switching output signals.
Parameter
None
Input data
Tab.8.42: Input data for module74
Input dataDescriptionAddr. Data typeValue rangeInitial
value
State1Signal state of the switching in-
0.0Bit0, 10
put1
State2Signal state of the switching out-
0.1Bit0, 10
put2
Leuze electronic GmbH + Co. KGBCL 248i92
Starting up the device - Configuration
Input dataDescriptionAddr. Data typeValue rangeInitial
Reserved1.0Bit
Reserved1.1Bit
value
Comparison state
switching output
2 (event counter)
Indicates whether the event
counter has exceeded the set
comparative value. The bit is re-
1.2Bit0: Not exceeded
1: Exceeded
0
set to the init. value by resetting
the event counter.
Comparison state
toggle bit of
switching output
2 (event counter)
If "SWO switches several times"
was configured as comparison
mode, this bit is toggled each
time the event counter is exceeded. The bit is reset to the
init. value by resetting the event
counter.
1.3Bit0 > 1: Event
counter exceeded
1 > 0: Event
counter exceeded again
0
Input data length:
2bytes
Output data
Tab.8.43: Output data for module74
Output dataDescriptionAddr. Data typeValue rangeInitial
value
Reserved0.0Bit
Switching output2Sets the state of switching out-
put 2
0.1Bit0: Switching output 0
0
1: Switching output 1
Reset event
counter switching
output 2
Output data length:
2bytes
8.13Data output
8.13.1
Module 80 – Sorting
PROFINET-IO module identifier
Module ID: 1080
Submodule ID:1
Description
Module to support the sorting of the output data.
Sets the event counter of the ac-
0.5Bit0 > 1: Perform
tivation function (AF) for switching output 2 back to zero.
Reserved1Byte
reset
1 > 0: No function
Leuze electronic GmbH + Co. KGBCL 248i93
Starting up the device - Configuration
Parameter
Tab.8.44: Parameters for module 80
ParameterDescriptionAddr. Data
type
Sort criterion 1Specifies the criterion ac-
cording to which sorting
0.0…
0.6
BitArea0: No sorting
takes place.
Value rangeDefault
0
1: Sorting according to scan
number
2: Sorting according to position in the scanning beam
4: Sorting according to the
decoding quality
5: Sorting according to the
bar code length
6: Sorting according to the
code type number
7: Sorting according to the
decoding direction
8: Sorting according to the
bar code content
9: Sorting according to time
10: Sorting according to
scanning duration
11: Sorting according to the
code list (in which the enabled bar codes are listed)
12: Sorting according to the
identifier list
Sort direction 1Specifies the sorting di-
rection.
Sort criterion 2Specifies the criterion ac-
cording to which sorting
takes place.
Sort direction 2Specifies the sorting di-
rection.
Sort criterion 3Specifies the criterion ac-
cording to which sorting
takes place.
Sort direction 3Specifies the sorting di-
rection.
Parameter length
3bytes
Input data
None
Output data
None
0.7Bit0: In ascending order
1: In descending order
1.0…
BitAreaSee sorting criterion 10
1.6
1.7BitSee sorting direction 10
2.0…
BitAreaSee sorting criterion 10
2.6
2.7BitSee sorting direction 10
0
Leuze electronic GmbH + Co. KGBCL 248i94
Starting up the device - Configuration
8.14Reference code comparison
The following modules can be used to support reference code comparison.
The reference code function compares the currently decoded read results with one or more stored comparison patterns. The function is split into two comparison units which can be configured independently of each
other.
8.14.1
Module 81 – Reference code comparator1
PROFINET-IO module identifier
Module ID: 1081
Submodule ID:1
Description
The module defines the mode of operation of reference code comparator1.
Parameter
Tab.8.45: Parameters for module81
ParameterDescriptionAddr. Data typeValue rangeDefault
Output function
after reference
bar code comparison
This parameter specifies
the associated output
linkage after a reference
bar code comparison.
0UNSIGNED8 0: No function
1: Comparison function 1
2: Comparison function 2
1
3: Comparison function 1
AND 2
4: Comparison function 1
OR 2
Linking logic for
reference code
output signal
This parameter specifies
the linking logic for the
reference code output
signal.
1UNSIGNED8 0: Length and type and
ASCII
1: Length and (type or
ASCII)
0
2: (Length or type) and
ASCII
3: Length or type or
ASCII
Output for reference code comparison
This parameter specifies
whether a bar code
length comparison
should be carried out.
2UNSIGNED8 0: Length ignored
1: Comp. o.k., if length
unequal
2
2: Comp. o.k., if length
equal
Bar code type
comparison
This parameter specifies
whether a bar code type
comparison should be
carried out
3UNSIGNED8 0: Type ignored
1: Comp. o.k., if types
unequal
2
2: Comp. o.k., if types
equal
Leuze electronic GmbH + Co. KGBCL 248i95
Starting up the device - Configuration
ParameterDescriptionAddr. Data typeValue rangeDefault
Reference code
ASCII comparison
Reference code
comparison
mode
This parameter specifies
how the ASCII comparison should be carried
out.
This parameter determines how and which
reference bar codes
(RC) are to be used for
the bar code comparison.
4UNSIGNED8 0: No comparison
1: Bar code not identical
to RC
2: Bar code identical to
RC
3: Bar code greater than
RC
4: Bar code greater than
or equal to RC
5: Bar code less than RC
6: Bar code less than or
equal to RC
7: RC1 less than or
equal to bar code less
than or equal to RC2
8: Bar code less than or
equal to RC1 or bar
code greater than RC2
5UNSIGNED8 0: Only the first RC is
used for the comparison.
1: Only the second RC is
used for the comparison.
2: RC1 and 2 are used
for the comparison. Both
conditions for RC1 and 2
must be satisfied for a
positive comparison.
3: RC1 and 2 are used
for the comparison. One
of the two conditions for
reference bar codes 1
and 2 must be satisfied.
2
0
Bar code comparison mode
This parameter specifies
which decoded bar
codes are to be used for
the reference bar code
comparison.
6UNSIGNED8 0: Only the first bar code
is used for the comparison.
1: Only the second bar
code is used for the comparison.
2: All bar codes are used
for the comparison. All
comparisons must be
successful.
3: All bar codes are used
for the comparison. One
comparison must be successful.
3
Leuze electronic GmbH + Co. KGBCL 248i96
Starting up the device - Configuration
ParameterDescriptionAddr. Data typeValue rangeDefault
8.14.2
Reference code
completeness
comparison
If this parameter is set,
the basic condition for a
positive reference code
comparison is that all
mandatory bar codes
that are to be read within
a reading gate were actually read. If this condition is not satisfied, no
positive reference code
comparison is achieved.
Parameter length
8bytes
Input data
None
Output data
None
Module 82 – Reference code comparator2
PROFINET-IO module identifier
Module ID: 1082
Submodule ID:1
7.0Bit0: Completeness comparison switched off.
1: Completeness comparison switched on.
0
Description
The module defines the mode of operation of reference code comparator2.
Parameter
Tab.8.46: Parameters for module82
ParameterDescriptionAddr. Data typeValue rangeDefault
Output function
after reference
bar code comparison
This parameter specifies
the associated output
linkage after a reference
bar code comparison.
0UNSIGNED8 0: No function
1: Comparison function 1
2: Comparison function 2
1
3: Comparison function 1
AND 2
4: Comparison function 1
OR 2
Linking logic for
reference code
output signal
This parameter specifies
the linking logic for the
reference code output
signal.
1UNSIGNED8 0: Length and type and
ASCII
1: Length and (type or
ASCII)
0
2: (Length or type) and
ASCII
3: Length or type or
ASCII
Output for reference code comparison
This parameter specifies
whether a bar code
length comparison
should be carried out.
2UNSIGNED8 0: Length ignored
1: Comp. o.k., if length
unequal
2
2: Comp. o.k., if length
equal
Leuze electronic GmbH + Co. KGBCL 248i97
Starting up the device - Configuration
ParameterDescriptionAddr. Data typeValue rangeDefault
Bar code type
comparison
Reference code
ASCII comparison
This parameter specifies
whether a bar code type
comparison should be
carried out
This parameter specifies
how the ASCII comparison should be carried
out.
3UNSIGNED8 0: Type ignored
1: Comp. o.k., if types
unequal
2: Comp. o.k., if types
equal
4UNSIGNED8 0: No comparison
1: Bar code not identical
to RC
2: Bar code identical to
RC
3: Bar code greater than
RC
4: Bar code greater than
or equal to RC
5: Bar code less than RC
6: Bar code less than or
equal to RC
7: RC1 less than or
equal to bar code less
than or equal to RC2
8: Bar code less than or
equal to RC1 or bar
code greater than RC2
2
2
Reference code
comparison
mode
Bar code comparison mode
This parameter determines how and which
reference bar codes
(RC) are to be used for
the bar code comparison.
This parameter specifies
which decoded bar
codes are to be used for
the reference bar code
comparison.
5UNSIGNED8 0: Only the first RC is
used for the comparison.
1: Only the second RC is
used for the comparison.
2: RC1 and 2 are used
for the comparison. Both
conditions for RC1 and 2
must be satisfied for a
positive comparison.
3: RC1 and 2 are used
for the comparison. One
of the two conditions for
reference bar codes 1
and 2 must be satisfied.
6UNSIGNED8 0: Only the first bar code
is used for the comparison.
1: Only the second bar
code is used for the comparison.
2: All bar codes are used
for the comparison. All
comparisons must be
successful.
3: All bar codes are used
for the comparison. One
comparison must be successful.
0
3
Leuze electronic GmbH + Co. KGBCL 248i98
Starting up the device - Configuration
ParameterDescriptionAddr. Data typeValue rangeDefault
8.14.3
Reference code
completeness
comparison
If this parameter is set,
the basic condition for a
positive reference code
7.0Bit0: Completeness com-
comparison is that all
mandatory bar codes
that are to be read within
a reading gate were actually read. If this condition is not satisfied, no
positive reference code
comparison is achieved.
Parameter length
8bytes
Input data
None
Output data
None
Module 83 – Reference code comparison pattern1
PROFINET-IO module identifier
Module ID: 1083
Submodule ID:1
0
parison switched off.
1: Completeness comparison switched on.
Description
This module can be used to define the 1st comparison pattern
Parameter
ParameterDescriptionAddr. Data typeValue rangeDefault
Code type comparison pattern1
Specifies the type of the reference bar code.
0UNSIGNED8 0: No code
1: 2/5 Interleaved
0
2: Code39
3: Code32
6: UPC, UPCE
7: EAN8, EAN13
8: Code128
10: EAN Addendum
11: Codabar
12: Code93
13: GS1 DataBar
Omnidirectional
14: GS1 DataBar
Limited
15: GS1 DataBar
Omnidirectional Expanded
Leuze electronic GmbH + Co. KGBCL 248i99
Starting up the device - Configuration
ParameterDescriptionAddr. Data typeValue rangeDefault
Comparison pattern 1
Parameter length
31bytes
Input data
None
Parameter string describing
the content of the reference
bar code.
Note: You can also use the
two placeholder characters
that are stored in the "Wildcard character" and "Don't
care character" parameters.
If the string is empty, no
comparison takes place. If
the most recently stored
character is the wildcard
character, the comparison is
only carried out up to the
character before this wildcard character. In this way it
is possible to switch off a
comparison according to bar
code length.
1STRING
30characters
null terminated
1…30 bytes of
ASCII characters
\00
8.14.4
Output data
None
NOTICE
The defined comparison pattern affects both reference code comparators (module81 – reference code comparator1 and module82 – reference code comparator2).
ASCII characters that cannot be displayed (<0x20h) must not be used in the comparison pattern.
Module 84 – Reference code comparison pattern2
PROFINET-IO module identifier
Module ID: 1084
Submodule ID:1
Description
This module can be used to define the 2nd comparison pattern
Leuze electronic GmbH + Co. KGBCL 248i100
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.