KEYENCE BL-180 User Manual

User’s Manual
CCD Bar Code Reader
A58-001
BL-180 Series
No part of this document is to be reproduced or utilized in any form or by any means without the written consent of KEYENCE Corporation.
The contents of this document are subject to revision without notice. If you have any problems or questions regarding this document, please contact
one of the KEYENCE offices listed on the last page of this document. KEYENCE is not responsible for any results of the application of the product. If the document contains incomplete printing, it can be exchanged for a complete
one.
• MS-DOS is a registered trademark of Microsoft U. S. A.
• MS-Windows is a trademark of Microsoft U. S. A.
• Other company names and product names are registered trademarks or trade­marks of the respective companies.

Contents

Introduction ......................................................................................................................vii
Unpacking ........................................................................................................................vii
Safety Precautions ..........................................................................................................vii
Conventions .....................................................................................................................vii
System Configuration ....................................................................................................viii
Parts and Functions .......................................................................................................viii
Chapter 1: Connection and Installation
BL-180 Connections ..........................................................................................................2
Wire colors and signal types ............................................................................................................................2
Power supply wiring .........................................................................................................................................2
Wiring I/O .........................................................................................................................................................2
RS-232C Connections ..................................................................................................................................... 3
Installing the BL-180 Series ..............................................................................................6
Chapter 2: Functions for Reading Operation
Read Operation ................................................................................................................10
Scanning method ...........................................................................................................................................10
Data-send mode ............................................................................................................................................. 11
Read modes .....................................................................................................................12
Single label read mode .................................................................................................................................. 12
Multi-label read mode 1 (Multi 1) .................................................................................................................... 12
Multi-label read mode 2 (Multi 2) .................................................................................................................... 13
Multi-label read mode 3 (Multi 3) .................................................................................................................... 13
Label orientation mode ...................................................................................................16
Test Mode .........................................................................................................................17
STABILITY LEDs ..............................................................................................................19
Preset Function (Compare with:) ...................................................................................20
What is the preset function? ........................................................................................................................... 20
Wildcard symbols (“!” and “?”) ........................................................................................................................20
Additional Information ....................................................................................................21
Max. Code Length (Designated Digit )
Output Function ...............................................................................................................23
Chapter 3: Setup Software
Controlling the BL-180 ....................................................................................................26
Setup Software Requirements .......................................................................................................................26
Operating Procedure .......................................................................................................28
Outline of Operation ....................................................................................................................................... 28
Setup Software Operating Procedure ............................................................................29
File Operation ................................................................................................................................................. 30
Main setting screen ........................................................................................................................................ 32
CODE39 setup ............................................................................................................................................... 33
ITF setup ........................................................................................................................................................ 34
Setup for Industrial 2 of 5 and COOP 2 of 5 .................................................................................................. 34
iii
iv
Codabar setup ............................................................................................................................................... 35
UPC/EAN setup ............................................................................................................................................. 36
CODE128 setup ............................................................................................................................................. 36
Trigger input setting ....................................................................................................................................... 37
Communication setting .................................................................................................................................. 38
Communication strings setup ......................................................................................................................... 38
Other setting .................................................................................................................................................. 39
Sending Settings ............................................................................................................................................ 40
Version Display .............................................................................................................................................. 40
List of Error Messages ................................................................................................... 41
How to Use Terminal Software ...................................................................................... 42
Chapter 4: Serial Communication (RS-232C/RS-422A)
Serial Communication .................................................................................................... 46
Communication Setup .................................................................................................................................... 46
Details on Data Communication .................................................................................... 47
Communication Protocols(Hardware handshaking) ....................................................................................... 47
Capacity of Transmission Buffer .................................................................................................................... 48
Read Data Format ......................................................................................................................................... 48
Read Error Code ............................................................................................................................................ 49
Command Communication ............................................................................................ 50
Setup of Direct Control Commands ............................................................................................................... 50
Explanation of Direct Control Commands ...................................................................................................... 51
Details on Parameter Setting Commands ...................................................................................................... 52
Response Error Code .................................................................................................................................... 53
Description of Parameter Setting Commands ................................................................................................ 53
Appendix
Specifications .................................................................................................................. 62
Reading Range Characteristics (Typical) ..................................................................... 63
Angular Characteristics (Typical) .................................................................................. 64
Dimensions ...................................................................................................................... 65
Example Program for Serial Communication ............................................................... 67
Troubleshooting .............................................................................................................. 68
CODE128 Specifications ................................................................................................ 70
ASCII Code Table ............................................................................................................ 71
Default Settings ...............................................................................................................72
BL-U1
Introduction ..................................................................................................................... 78
Conventions ....................................................................................................................78
System Configuration ..................................................................................................... 79
Using the RS-232C and RS-422A ................................................................................................................. 79
Using the RS-485 multidrop link .................................................................................................................... 79
Other Options ................................................................................................................................................. 79
BL-U1 ............................................................................................................................................................. 80
BL-U1 Connections ......................................................................................................... 81
Connecting the AC power supply ................................................................................................................... 81
Connecting the BL-U1 to a BL series ............................................................................................................. 81
v
Setting the BL-U1 DIP switches ..................................................................................................................... 82
Function and wiring on the I/O terminal block ................................................................................................ 83
RS-232C port pin assignment ........................................................................................................................ 84
RS-232C port wiring .......................................................................................................................................85
RS-422A port wiring ....................................................................................................................................... 85
Wiring the RS-485 (multidrop link) .................................................................................................................86
Installation ........................................................................................................................87
Precautions before use ..................................................................................................................................87
Installing the BL-U1 ........................................................................................................................................88
Outline of Multidrop Link ................................................................................................89
Multidrop Link .................................................................................................................................................89
System Configuration .....................................................................................................................................89
Setup and Connection Procedures ................................................................................90
Communication ................................................................................................................91
Outline of Communication types ....................................................................................................................91
Communication Format ..................................................................................................................................91
Details on Data Communication ..................................................................................................................... 93
Details of Command Communication ............................................................................................................. 95
Precautions for Programming ........................................................................................97
BL-U1 Specifications ......................................................................................................98

Introduction

Unpacking

Thank you for choosing the BL-180 series CCD bar-code reader . This User’s Man­ual describes details on operations and functions of the BL-180. Read this manual carefully to maximize the BL-180 performance.
There are two packages: A BL-180 package and a software package. Each package contains the following components. Be sure to check the items
against the checklist below:
BL-180 package
BL-180 unit 1 Mounting bracket 1 Mounting bracket screw (8 mm) 2 Instruction manual 1
Setup software (BL-18H1E) and user’s manual
Setup software floppy disk (3.5-inch) 1 User’s Manual (this document) 1
Note
The setup software and user’s manual are not included in the BL-180 package. You can order the software package, free of charge, separately.

Safety Precautions

Be sure to observe the following precautions when using this unit:
• Do not use the BL-180 as a controller for equipment which could potentially harm a person.
• Be sure to match the polarities (+ and -) of the power supply when soldering the connections. Reversing the polarities will damage the unit.
• Do not disassemble the BL-180. Doing so may make repair impossible.
• This is a precision instrument. Dropping the unit could damaged it. Exercise caution when moving or installing.
• For shipping, a protective seal covers the optical pickup. Remove this before use.
• Be sure that there is no water, oil or dust on the optical pickup. Such obstruc­tions can cause read errors. Clean the pickup by gently wiping with a soft lens cloth soaked with water.

Conventions

This document uses the following conventions to help you easily recognize impor­tant and useful information.
CAUTION
Note
vi
Important information which must be read to avoid damaging the unit.
Provides information for effective use of the unit. Read as required. Any reference to the BL-180 in this manual refers to information on all products in
the BL-180 series. When refering to specific product information, the product name exclusively will be used.
System Conguration
Note
BL-180/185
5VDC
Power-supply unit*
Trigger input
Timing sensor
RS-232C null modem cable OP-22149 (1.5 m) + OP-25057 (25- to 9-pin adapter)
RS-232C
OK/NG output
PLC etc.
BL-18H1E Setup software
3.5-inch version WINDOWS 3.1
The 5 VDC power supply unit must be purchased separately. The optional BL-U1 or BL-U2 power supply is also available.
IBM PC/AT or compatible

Parts and Functions

BL-180
OK/NG STABILITY
BL-180
OK output: Lights in green. NG output: Lights in red.
STABILITY LED Indicates reading stability (see P. 31).
Cable (2 m)
Light source/optical pickup
Light source LED Lights during reading
vii
viii
Chapter 1
Connection and Installation
5VDC
BL-180
+5V
Red
GND
Black
+

1.1 BL-180 Connections

1.1 BL-180 Connections
1.1.1
1.1.2

Wire colors and signal types

The following wires extend from the BL-180. Solder the required wires to a con­nector to connect the BL-180 to a computer/controller.
Wire Color
Shield Purple RS­Brown RD (RXD) Receive data Input Pink RS (RTS) Request to send (always on) Output Blue CS (CTS) Request to receive Input
Black GND (SG) Yellow TIM Trigger input Input
White OK OK output Output Gray NG NG output Output Red + 5V + 5V power supply input Input
Symbol Description Signal Direction
Shield Connect to ground (SG) ——
232C

Power supply wiring

SD (TXD) Send data Output
Ground (common ground for respective signals)
——
1.1.3
CAUTION

Wiring I/O

• Be sure to match the polarities of the power supply when soldering the con­nections. Reversing the polarities will damage the unit.
• Make sure that the power supply provides a stable 5 VDC ± 5%. If the power supply does not function in the above range, it can damage the unit.
• Do not use a power cable longer that 2 meters. A long power cable can cause a voltage drop, preventing the BL-180 from starting properly.
• If the power supply is UL rated, it must provide Class 2 output.
Trigger (TIM) input
The trigger input is used to signal the BL-180 to start reading (Start laser emis­sion). The trigger input is a non-voltage input (TTL input is also available).
BL-180
10K
Internal circuit
5VDC
4.7 K
TIM
GND
Yellow
Black
With or without relay
2
3
1.1 BL-180 Connections
OK/NG output
This output signals whether the readout data is the same as the preset data. When no preset data has been registered, the signal indicates bar code read sta­tus. It is an NPN open-collector output.
BL-180
1.1.4

RS-232C Connections

Note
This BL-180 setup software applies to port 1 and port 2 only. Communication cannot be performed with another port.
When using a D-sub 9-pin connector:
OK/NG
1k
Internal circuit
BL-180
Shield Connector case
Shield
Purple
SD
Blown
RD
Blue
CS
Pink
RS
Black
GND
Red
+5V
+
5VDC
Write/Gray
Black
GND
*Rated load: 24 VDC (100 mA) max.
PC
2 3 7 8 5 4 6
D-sub 9-pin (male)
# 4-40 screw
Load
+
RD SD RS CS SG DR ER
Note
Use a metallic connector housing for the D-sub 9-pin connector. Connect the shielded cable with the connector housing.
When using a D-sub 25-pin connector:
BL-180
Shield FG
Shield
Blown
RD SD
Purple
Blue
CS
Pink
RS
Black
GND
Red
+5V
+
5VDC
PC
1 2
SD
3
RD
4
RS
5
CS
7
SG
6
DR
20
ER
D-sub 25-pin (male)
M 2..6 screw
Be sure the BL-180s shielded cable is properly connected. Refer to 1.1.3 Con­necting shielded cables in the Users Manual.
1.1 BL-180 Connections
Hints on correct use
Trigger (TIM) input
Set the trigger input to be long enough to allow the laser beam to cover the entire bar code.
If the trigger input needs to be on for only a short period of time, select one-shot mode.
Influence from mirror surface
If a mirror surface (metallic surface) is near the bar code and the laser beam re­flects off the mirror, the BL-180 may cause a read error. Protect the unit from the influence of a mirror surface by covering the surface or changing the bar code la­bel position.
Bar code pitch
Do not place several bar codes in the field of the laser beam, unless you are in multi-label read mode (Multi 3).
OK/NG STABILITY
BL-180
If you use multi-label read mode (multi 3), the BL-180 can simultaneously read 2 to 4 bar codes in the field of the laser beam.
Influence from photoelectric sensor
When using a photoelectric sensor to control trigger, block the sensor beam so it does not enter the BL-180 optical pickup.
The beam from the photoelectric sensor can interfere with the BL-180, deteriorat­ing reading performance. If this case, reposition the photoelectric sensor.
Object
Bar code
OK/NG STABILITY
BL-180
Light source
Optical pickup
4
5
1.1 BL-180 Connections
Bar code height
The bar code height must be at least 3 mm. However, adjust any bar code of 3 mm or more height so that it is arranged from one end to the other on the light­receiving axis.
3 mm or more
Light­receiving axis
M3 screws
M3 screws
M3 screws

1.2 Installing the BL-180 Series

1.2 Installing the BL-180 Series
Installation method
Use the mounting holes on the side panel to install the unit. To prevent dust from entering the unit, seals have been placed over the screw holes. Remove the seals before mounting.
Using the supplied mounting brackets
Install the BL-180 Series as shown in the figures below. BL-180 pattern 1 BL-180 pattern 2
(BL-185)
Select screws of the proper length by checking the thickness of the plate used for mounting. (The screws provided are for use with the mounting bracket.)
For the mounting hole diameter, see page 65.
Installation with no mounting bracket
(BL-180) (BL-185)
Prepare M3 male screws separately.
Although the mounting holes are on both sides of the unit, only one side should
be mounted.
For the mounting hole diameter, see page 65.
CAUTION
6
Do not insert screws into the BL-180 by 5 mm or deeper. Doing so may damage the unit parts.
Select screws of the proper length by checking the thickness of the plate used for mounting.
Mounting angle and mounting distance
BL-180
BL-180
1.2 Installing the BL-180 Series
12.5
15.3
10°
Note
33
BL-185
Set the angle and reading distance by referring to the read range characteristics and angle characteristics described on page 63 and 64.
The allowable reading distance and angle may vary depending on the narrow bar width of the bar code, the bar code size, and the readability of the bar code. Set these parameters after performing a test read of the required bar code using the unit.
Do not set the unit at an angle at which the light-receiving axis is perpendicular to the surface of the bar code. The beam will be fully reflected into the reader, mak­ing correct reading impossible (see page 64).
Set the angle so that the light-receiving axis will be centered on the bar codes. Bar codes of insufficient height may deviate from the desired position in relation
to the light-receiving axis. Be sure to position the unit carefully. (The bar codes must have a height of at least 3 mm.)
The reading check test mode (see page 17) allows you to set the optimal reading position.
Light-receiving axis
7
1.2 Installing the BL-180 Series
8
Chapter 2
Functions for Reading Operation
Trigger input
Bar code
LED beams
Communication time
OK/NG output OK/NG NG
<Succeed to read> <Fail to read>
*2
*1
*3
*4
*5
Data bits + (1: If parity is used) + Start/stop bit
Baud rate
(code length of data to be sent + Header/ number of characters in delimeter)
X

2.1 Read Operation

2.1 Read Operation
2.1.1

Scanning method

Level signal trigger
There are two methods for triggering the BL-180 to read bar codes; the “Level sig­nal” method and the “One-shot signal” method. The example given for these two methods uses the “single label read mode” (see page 12), which reads one bar code while trigger input turns on once, and uses the “after read” as the data-send mode (see page 11).
When the trigger input turns on, LED emission begins and the the unit begins reading. The LED turns off after reaching the specified decode count. Then, the unit sends the readout data.
1. Set trigger input so that it stays on long enough for the LED beam to cover
the entire bar code.
2. After the trigger input exceeds the preset input time, the LED begins to emit.
3. The communication time can be obtained from the following expression:
4. The length of time that the OK/NG output is on can be changed to between
10 ms and 2.55 s.
5. The OK/NG output turns on 5 ms after the data has been read (or trigger
input turns off in case of reading failure).
10
One-shot signal trigger
2.1 Read Operation
The unit detects the rising edge of the trigger input and starts reading bar codes for the preset input time. The LED beam turns off after reaching the specified de­code count and the unit sends the readout data.
The remaining actions are the same as those for level signal trigger.
<Succeed to read> <Fail to read>
Trigger input
*1
2.1.2
Bar code
LED beams
Communication time
OK/NG output
1. After the trigger input exceeds the preset input times, the LED begins to emit.
Note
The BL-180 can read up to 4 types of bar codes without changing the bar code type setting (see page 32).
For general operation, see "Level signal trigger"
Choose One-shot signal trigger when the trigger input signal is very short or
you want to set the input time.

Data-send mode

In the single label read mode only, you can select from the two data send modes (OK/NG output on trigger) described below: In the multi-label read mode, you can only select the send after reading mode.
Send after read
The unit outputs the communication and OK/NG signals after a sucessful read (trigger output turns on as many times as the preset decode count). This is the same operation as in the time chart described in 1.1 Scanning method. Normal­ly, this is the method you should use.
Preset input time
OK/NG NG
Preset input time
Send at trigger input
The unit outputs the communication and OK/NG signal when the trigger input turns off (or the preset input time has passed if one-shot signal trigger is selected).
OK/NG
<Fail to read>
NG
<Succeed to read>
Trigger input
Bar code
LED beams Communication time
OK/NG output
11
Repeat reading time
OK
NG
<Succeed to read> <Fail to read>
Trigger input
Bar code
LED beams Communication time
OK/NG output
OK OK OK

2.2 Read modes

2.2 Read modes
The BL-180 provides 4 types of read modes.
2.2.1
2.2.2

Single label read mode

This mode allows the unit to read one bar code during one trigger input signal. The operation and timing chart are described on page 10.

Multi-label read mode 1 (Multi 1)

This mode allows the unit to read several bar codes printed on one label as shown below during one trigger input signal. The unit outputs the readout data sequen­tially.
Multi-label read mode 1 operation
In the multi-label read mode 1, the unit reads several bar codes continuously, and outputs them sequentially as it reads while LED beam remains on and trigger in­put turns on after bar codes have been read (or during the preset input time if one­shot signal trigger is selected).
To prevent the unit from reading the same bar code twice, the time for one bar code to pass across the LED beams field and read, plus the repeat reading time must be set (100 ms to 25.5 s). During the repeat reading time, the unit cannot read the same bar code repeatedly, but can read different bar codes.
A reading error is issued only when the unit cannot read any bar code while the trigger input is on.
For OK/NG output, “OK” turns on every time the unit reads a bar code and “NG” turns on if the unit fails to read a bar code. (Comparison to the preset data is not performed.)
12
2.2 Read modes
2.2.3

Multi-label read mode 2 (Multi 2)

As with multi 1 mode, this mode allows the unit to read several bar codes contin­uously while the trigger input is on. (The number of bar codes that can be read depends on the buffer capacity. See page 48.) The difference between the two modes is that multi 2 modesends all the readout data at one time after the trigger input turns off.
Multi-label read mode 2 operation
<Succeed to read> <Fail to read>
Trigger input
Bar code
LED beams
Communication time
OK/NG output
Multi 2 mode allows the unit to read several bar codes while the trigger input is on (or during the preset input time if one-shot signal trigger is selected) and sends all the readout data at one time after the trigger input turns off (or after the preset input time is expired if one-shot signal trigger is selected).
To prevent the unit from reading the same bar code twice, the time for one bar code to pass across the LED lights field and read, plus the repeat reading time must be set. During the repeat reading time, the unit cannot read the same bar code repeatedly, but can read different bar codes.
For OK/NG output, after trigger input turns off, OK turns on if the unit reads at least one bar code and “NG” turns on if the unit fails to read a bar code. (Compar­ison to the preset data is not performed.)
12345
Repeat reading time
12345
OK
NG
Reading data format
2.2.4

Multi-label read mode 3 (Multi 3)

Header
Each data packet is separated by a comma (, : 2CH) (intermediate delimiter). The unit sends as many data packets the number of bar codes read. See page 46 for header string and delimeter.
As described in multi-label read modes 1 and 2, this mode also allows the unit to read several bar codes (up to 4 codes) while the trigger input is on.
The unit sends the readout data at one time according to a specified sequence after the trigger input turns off. When up to 4 codes are in the LED beams field, the unit can simultaneously reads all of them.
1st
data
2nd
,
data
3rd
,
data
4th
,
data
, Delimeter
13
OK
Trigger input
Bar Code
LED beams Communication time
OK/NG output
Code 1 Code 2 Code 3 Code 4
Code 1
Code 2
Code 3
Code 4
NG
2.2 Read modes
Operation of multi-label read mode 3
This mode allows the unit to continuously read each one of 4 bar code types Code 1, Code 2, “Code 3, and Code 4 as specified in the code setup of the setup software (see page 32). If 3 types are specified in the code setup, the unit reads 3 bar codes (each of 3 types). If 2 types are specified, the unit reads 2 bar codes.
The following time chart is given.
The above example chart is with all four codes specified in the code setup of the setup software.
The bar code reading sequence is not xed.
The unit communicates the readout data in the order of Code 1 to Code 4.
After the trigger input turns off, the unit sends all the data at one time.
For OK/NG output, OK turns on if the unit reads all the specied Codes 1 to 4 and NG” turns on if the unit fails to read at least one bar code. (Comparison to the preset data is not performed.)
Reading data format
Example Suppose that the following codes are specified:
Header
Data read
from Code
1
Data read
from Code
,
Data read
from Code
2
,
3
Data read
from Code
,
4
, Delimeter
Each data packet is separated by a comma (, : 2CH) (intermediate delimiter).
If an read error occurs on any one of Codes 1 to 4, or the corresponding bar
code does not exist, ERROR (see page 49 for the reading error codes), instead of the read data is sent.
See page 48 for header string and delimeter.
Code 1 --- CODE39, 10 digits Code 2 --- EAN/UPC, 13 digits Code 3 --- None Code 4 --- CODE39, 8 digits
When the unit successfully reads all 3 types of codes:
Header ABCDE12345 , 4901234567894 , KEYENCE Delimeter
When the unit fails to read Code 1 (CODE39, 10 digits)
Header ERROR , 4901234567894 , KEYENCE Delimeter
14
When the unit fails to read Code 1 (CODE39, 10 digits) and Code 4 (CODE39, 8 digits)
Header ERROR , 4901234567894 , ERROR Delimeter
When the same type of data having the same digits is specified to all Codes 1 to 4, the unit sends the data in the reading order.
15
Example Suppose that the following codes are specified: Code 1 --- CODE39, 7 digits
Code 2 --- CODE39, 7 digits Code 3 --- CODE39, 7 digits Code 4 --- CODE39, 7 digits
2.2 Read modes
Note
Header
The unit cannot read the bar code having the same content twice while trigger in­put turns on once.
ABCD123 , XYZ3333 , 1234567 , KEYENCE , Delimeter
OK/NG
NG
<Specified orientation>
<Non-specified orientation>
Trigger input
Bar code
LED beams Communication time
OK/NG output

2.3 Label orientation mode

2.3 Label orientation mode
As shown below, this mode allows the unit to read bar codes only in the specified orientation when bar code labels are moving both in the forward and reverse ori­entations.
Forward orientation Reverse orientation
4 9000000
4 9000000
OK/NG
STABILITY
BL-180
Normally, the unit can read bar codes regardless of the orientation.
An reading error is issued when the unit reads a bar code label running in the ori­entation which is not specified.
The above chart applies to the single label read mode. You can also use this mode together with the desired multi-label read mode. However, in any case, the unit reads bar codes running in the specified orientation only.
You can specify the orientation individually for Codes 1 to 4, such as specifying forward orientation for Code 1, and reverse orientation for Code 2.
16
2.4 Test Mode

2.4 Test Mode

Test mode can be used for the bar code reading test. Because trigger input is not required, this mode allows you to perform a reading test easily. You can select one of the following 3 methods to enter the test mode.
Send the command
Enter test mode by sending the serial command for the test mode (TEST1, TEST2). Commands should be entered in all uppercase characters.
Turning on trigger input
You can use the BL-180 to switch to test mode by turning on the trigger input (see page 35). If you select this method to enter the test mode, trigger input is disabled to ensure normal operation.
Turning on power supply
You can set the BL-180 to enter test mode by turning on the power supply (see page 37).
Note
When you try to enter the test mode by turning on trigger input, you cannot use the serial command to enter the test mode.
The following 2 types of test modes are available:
Reading rate check mode
The unit scans a bar code100 times and analyzes how many times it can decode the scanned data (reading rate). This mode is useful in the following cases:
When adjusting the mounting distance and angle
When verifying the reading stability of the bar code to be used
The analyzed result will be output anytime (every 100 scans) using the follow-
ing format:
Although an OK/NG signal is not output, the OK/NG LED lights (see page 19).
Tact check mode
In this test mode, the unit counts how many scans can be decoded (the decode count) while reading one bar code.
This mode is useful when testing which line speed can be expected when actually implementing the BL-180 system on the line.
The analyzed data is output using the following format 0.2 seconds after the bar code has passed the LED beams eld.
Readout data
Delimiter
: m %
m = 0 to 100 (zero-suppressed)
Readout data
The unit continues to read a bar code while the code is in the LED beams field and does not output the result. If the LED beam does not detect a bar code for
0.2 seconds, the unit stops scanning and outputs the result.
If the unit reads the same bar code twice within the 0.2 seconds, the unit can­not separate the bar codes and will add to the read count. However, the unit can continuously reads different bar codes within the 0.2 seconds by recogniz­ing the delimiter.
Delimiter
: m
m = 1 to 999 (zero-suppressed)
17
2.4 Test Mode
18
The read count can be up to 9999.
Although an OK/NG signal is not output, the OK/NG LED lights (see page 19).
Note
When the unit is running in test mode, the LED beam remains on, which can shorten the LEDs service life. Select the test mode only when you need to perform a test read.
Avoid long emission times. When using the additional information (see page 21 to 22) in the test mode, the
selected data is added in the same manner as in the normal operation mode. However, only when selecting the reading rate check mode, the decode count and scan count are not added to the analyzed results.
2.5 STABILITY LEDs
STABILITY LEDs allows you to easily check reading stability. STABILITY LEDs light only when the test mode gets started or the decode count
adding function (see P. 34) is used.
Indication of reading stability
When reading rate check mode is selected
STABILITY LEDs light according to the reading rate shown in the table below. Al­though, in the test mode, the unit does not output an OK/NG singnal, the OK/NG LED lights as below. (Comparison to the preset data is not performed.)

2.5 STABILITY LEDs

Reading rate
80 to 100%
50 to 79% Orange Green 20 to 49% Red Green
1 to 19% —— Green
0% —— Red
STABILITY LED OK/NG LED
Green Green
When tact check mode is selected
STABILITY LEDs light according to the scan count (decode count), which indi­cates the number of successful reads, as shown in the table below.
Although, in the test mode, the unit does not output an OK/NG signal, OK/NG LED lights as below. (Comparison to the preset data is not performed.)
Decode count
50 or more
10 to 49 Orange
5 to 9 Red 1 to 4 ——
0 —— Red
STABILITY LED OK/NG LED
Green Green (decode counts are
equal to or greater than the preset match count) Red (decode counts are less than the preset match count)
When using the decode count adding function
STABILITY LEDs light as shown in the table below according to the decode count.
OK/NG output (OK/NG LED) turns ON/OFF based on the result of comparison to the preset data.
CAUTION
Decode count
50 or more
10 to 49 Orange
5 to 9 Red
4 or less ——
STABILITY LED
Green
When you do not use the decode count adding function or use the multi-label read mode 3, STABILITY LEDs do not light.
19

2.6 Preset Function (Compare with:)

2.6 Preset Function (Compare with:)
?:
!:
2.6.1
2.6.2

What is the preset function?

The BL-180 can store one bar codeas preset data. It compares the preset data to the bar code data actually read and outputs an OK/NG signal to whether there is a match.
Using the BL-180 preset function, you can prevent the wrong products from en­tering the line without using a PC.
If no preset data is registered, the unit outputs OK when it successfully reads a bar code and NG when it fails to read a bar code.
See page 10 to 16 for output timing.
Use the setup software and serial command to register the preset data (see
page 39 and page 59).
Note
The bar code actually read can be compared to the preset data only in the sin­gle label read mode.
See page 70 if you want to use CODE128.

Wildcard symbols (“!” and “?”)

Using ! and ? in the preset data allows for flexible settings.
Does not define numeric values (characters) of certain digit(s) of the bar code. Ignores numeric values and symbols within the dot box and recognizes the bar codes
as the same group.
Setting examples
Note
4912 3456 4912 5256
4912 AB5 6
When using “?” data as “4912??56”, 2 digits positioned in ?? can contain any numeric values (or characters), expanding the allowable range. Iden­tifies all the bar codes to be OK as long as the beginning or ending strings match.
1. “ABC?” ABCD (OK), ABC3 (OK), ABC (NG), ABCDE (NG)
2. “ABC!” ABCD (OK), ABC3 (OK), ABC (OK), ABCDE (OK), AB (NB)
3. “?????” Any 5-digit bar code will be OK.
4. “!CDE” ABCDE (OK), 3CDE (OK), CDE (OK), ABBDE (NG), ADE (NG)
5. “A!E” ABCDE (OK), A3CE (OK), ABCD (NG), AE (OK)
You can use ! only once in the setting.
If you do not register preset data, “!” is automatically registered. Therefore, when the unit sucessfully reads a bar code, “OK” is output; when the unit fails to read, NG is output.
You cannot use the * character as a wild card symbol with the BL series.
When using ! as 4912!, any bar code which begins with “4912” will be OK. When using ! as !4912, any bar code which ends with 4912 will be OK.
4912 3456 4912 C
4912
20
2.7 Additional Information
When sending the bar code data, you can add the following data to the readout data.
Additional information types
Decode match count add function
Adds the number of successful scans during one bar code reading (decode count) to the end of the readout data (up to 9999 count). However, this decode count is never less than the preset decoding match count.
This function can be used to check reading stability and code label quality.
When using this function, output turns on at a different time from normal opera­tion.
In single label read mode, output turns on after one bar code has been read (after trigger input turns off). Even if you set the data-send to “after read”, the data is forced sent after trigger input turns off.
In multi-label read mode 1, a bar code passes across the LED beams eld, after repeat read time, and is nally output.
In multi-label read mode 2 or 3, operation is the same as when you do not use the decode match count adding function.

2.7 Additional Information

Delimiter
Readout data
The value is zero-suppressed.
: d
d = [Decoding match count] to 9999: Decode count
Note
Code type add function
When you use the decode count adding function, STABILITY LEDs light to show reading stability (see P. 31).
Scan count add function (valid only when using the read count add func­tion)
Adds the number of scans, including when no bar code exists, to the end of the decode count (up to 9999).
Delimiters
Readout data
The value is zero-suppressed.
Adds the bar code type before the readout data .
Delimiter
t
:
t = 0 :Code39
1 :ITF 2 :Industrial 2 of 5 3 :Codabar 4 :EAN/UPC (AE) 5 :CODE 128 6 :COOP 2 of 5 7 :Read error
: d / s
m = 1 to 999 (zero-suppressed)
Readout data
21
2.7 Additional Information
4 9000000
4 9000000
Forward orientation Reverse orientation
OK/NG
STABILITY
BL-180
r =F :Forward
R :Reverse
If an read error occurs, this information is not added.
Delimiter
r
:
Readout data
label orientation add function
Adds the orientation of bar code travel before the readout data.
Order of additional information
If you select to include all the additional information functions, they appear in the following order:
22
Note
Code type
:
label
orientation
: Readout data :
Decode match
count
: Scan count
You can change the delimiter as desired (one character), except the delimiter of the scan count.
Loading...
+ 79 hidden pages