JPH096886A - Code information reader - Google Patents

Code information reader

Info

Publication number
JPH096886A
JPH096886A JP7174166A JP17416695A JPH096886A JP H096886 A JPH096886 A JP H096886A JP 7174166 A JP7174166 A JP 7174166A JP 17416695 A JP17416695 A JP 17416695A JP H096886 A JPH096886 A JP H096886A
Authority
JP
Japan
Prior art keywords
test
code information
reading
bar code
start signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7174166A
Other languages
Japanese (ja)
Inventor
Kenichiro Sakai
顕一郎 酒井
Tomohito Noda
智史 野田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP7174166A priority Critical patent/JPH096886A/en
Publication of JPH096886A publication Critical patent/JPH096886A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To prolong the life of a light emitting element and conduct a read test while moving a work along a production line etc., since no read operation is performed unless the work is in front of a code information detecting device. CONSTITUTION: When a test mode is set by a mode setting means 15, an external photoelectric switch 38 detects the work 36 and sends an external timing signal TIM and then a test start signal output means 16 outputs a test start signal TES to a bar code detecting means 17. Once the test start signal TES is received, the bar code detecting means 17 drives a laser illumination means 12 to perform read operation as many times as specified, and how many times the read is successful or the success rate is found.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は符号情報読み取り装置に
関する。具体的にいうと、本発明は、バーコード等の符
号情報を読み取りテストするためのテストモードを備え
た符号情報読み取り装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a code information reading device. More specifically, the present invention relates to a code information reading device having a test mode for reading and testing code information such as a barcode.

【0002】[0002]

【従来の技術】バーコードの読み取り状態をテストする
ためのテストモードを備えた定置式のバーコード読み取
り装置が従来より知られている。
2. Description of the Related Art A stationary bar code reader having a test mode for testing the bar code reading state has been known.

【0003】図1はこのようなテストモードを備えたバ
ーコード読み取り装置1の構成を示すブロック図であ
る。2はレーザー光を発光するレーザー点灯手段、3は
回転軸にポリゴンミラーと呼ばれる多角形ミラーが取り
付けられたモータ等で構成され、レーザー点灯手段2か
ら放出されたレーザー光を読み取り対象となるバーコー
ド10上に走査させる走査手段、4はバーコード10で
反射したレーザー光を受光することにより電気的信号を
発生する受光素子である。5はテスト開始信号を発生す
るモード設定手段、6はモード設定手段5からのテスト
開始信号TESに基づいて内部タイミング信号TIMIを連続
して発生するタイミング信号発生手段である。7はタイ
ミング信号発生手段6からの内部タイミング信号TIMI又
は外部から入力される外部タイミング信号TIMOに基づい
てレーザー点灯手段2を点灯して受光素子4から得られ
るバーコードデータを解読するバーコード検出手段、8
はテストモード時に所定回数中何回バーコードデータが
読み取れたか(読み取り成功率等)を判別する判別手段
である。9はバーコードの読み取り結果やテストモード
時の読み取り成功率等を表示部に表示させたり外部へ出
力したりする出力手段である。
FIG. 1 is a block diagram showing the configuration of a bar code reading apparatus 1 having such a test mode. Reference numeral 2 is a laser lighting means for emitting laser light, and 3 is a motor or the like having a polygonal mirror called a polygon mirror attached to its rotation axis. The bar code to be read is the laser light emitted from the laser lighting means 2. The scanning means 4 for scanning on 10 is a light receiving element for generating an electrical signal by receiving the laser light reflected by the barcode 10. 5 is a mode setting means for generating a test start signal, and 6 is a timing signal generating means for continuously generating an internal timing signal TIMI based on the test start signal TES from the mode setting means 5. Reference numeral 7 is a bar code detecting means for lighting the laser lighting means 2 based on an internal timing signal TIMI from the timing signal generating means 6 or an external timing signal TIMO inputted from the outside to decode the bar code data obtained from the light receiving element 4. , 8
Is a discriminating means for discriminating how many times the bar code data has been read out during a predetermined number of times in the test mode (reading success rate or the like). Reference numeral 9 is an output means for displaying the bar code reading result, the reading success rate in the test mode, etc. on the display unit or outputting it to the outside.

【0004】しかして、通常のバーコード読み取り動作
時には、例えば生産ライン等においてワークの流れの上
流側に設置された光電スイッチ(図示せず)がワークを
検知して発生する外部タイミング信号(物体検知信号)
TIMOがバーコード検出手段7へ入力されると、バーコー
ド検出手段7がバーコード読み取り動作を開始する。す
なわち、レーザー点灯手段2からレーザー光を発射して
走査手段3でバーコード10上に走査させ、その反射光
を受光素子4で受光し、バーコード検出手段7において
バーコード10のデータを解読している。
However, during a normal bar code reading operation, an external timing signal (object detection) generated by a photoelectric switch (not shown) installed upstream of the flow of a work in a production line or the like detects the work. signal)
When TIMO is input to the barcode detecting means 7, the barcode detecting means 7 starts the barcode reading operation. That is, laser light is emitted from the laser lighting means 2, the scanning means 3 scans the bar code 10, the reflected light is received by the light receiving element 4, and the data of the bar code 10 is decoded by the bar code detecting means 7. ing.

【0005】また、上記通常動作時には、一度の走査に
つきバーコードが読めたか読めなかったかということし
か判断できず、どの程度確実に読み取れているかという
ことは判断できない。そのため、連続してレーザー光を
発光して繰り返し走査し、所定回数バーコードの読み取
り動作を行い、所定回数のうち何回の読み取りに成功し
たかを出力するテストモードを備えている。
Further, during the above-mentioned normal operation, it is only possible to judge whether or not the bar code can be read in one scanning, and it cannot be judged how surely the bar code can be read. Therefore, a test mode is provided in which laser light is continuously emitted to perform repeated scanning, a barcode reading operation is performed a predetermined number of times, and the number of successful readings of the predetermined number of times is output.

【0006】[0006]

【発明が解決しようとする課題】従来のバーコード読み
取り装置1におけるテストモードでは、モード設定手段
5でテストモードに設定する(例えば、テストモードス
イッチを押してセットする)と、モード設定手段5から
テスト開始信号TESが出力される。モード設定手段5か
らタイミング信号発生手段6へテスト開始信号TESが出
力されると、バーコード読み取りテストが開始され、タ
イミング信号発生手段6はバーコード検出手段7へ内部
タイミング信号TIMIを連続的に出力する。この結果、自
動的にレーザー光を連続発光させて繰り返し走査し、連
続した所定回数の読み取り動作を行い、所定回数の読み
取り動作中何回読み取りに成功したかを検出して表示部
や外部へ出力するようになっていた。
In the test mode of the conventional bar code reading apparatus 1, when the mode setting means 5 sets the test mode (for example, the test mode switch is pressed to set), the mode setting means 5 tests. The start signal TES is output. When the test start signal TES is output from the mode setting means 5 to the timing signal generating means 6, the bar code reading test is started, and the timing signal generating means 6 continuously outputs the internal timing signal TIMI to the bar code detecting means 7. To do. As a result, the laser light is automatically emitted continuously and repeatedly scanned, the reading operation is performed a predetermined number of times continuously, and the number of successful readings is detected during the predetermined number of reading operations and output to the display unit or the outside. It was supposed to do.

【0007】しかしながら、このようなテストモード方
式のバーコード読み取り装置1では、モード設定手段5
でテストモードに設定してテスト開始信号TESを出力す
ると、タイミング信号発生手段6からはワークの有無に
関係なく内部タイミング信号TIMIが出力され、所定回数
のバーコード読み取り動作からなるテスト動作が何回も
(テストモードを解除するまでは、いつまでも)繰り返
されていた。
However, in the bar code reader 1 of the test mode type as described above, the mode setting means 5 is used.
When the test mode is set in and the test start signal TES is output, the internal timing signal TIMI is output from the timing signal generating means 6 regardless of the presence or absence of the work, and the test operation including the bar code reading operation a predetermined number of times is performed. Was repeated (until the test mode was released).

【0008】従って、テストモードに設定されている間
は、レーザー点灯手段2がレーザー光を連続して発光し
続けるので、半導体レーザーダイオード等の発光素子の
寿命が短くなるという欠点がある。
Therefore, while the test mode is set, the laser lighting means 2 continues to emit laser light, which has a drawback that the life of the light emitting element such as a semiconductor laser diode is shortened.

【0009】また、このようなバーコード読み取り装置
1は、テストモードでは、その前方にワークが存在して
いても存在していなくてもレーザー光を発光及び走査し
て読み取り動作を行うので、バーコード読み取り装置1
がワークの流れている生産ライン等に設置されている場
合には、生産ラインを停止させてワークをバーコード読
み取り装置1の前方に静置しなければならない。例え
ば、生産ラインによってワークを移動させながらテスト
モードの読み取りを行ったのでは、バーコードが存在し
ていない時の出力であるのか、バーコードの読み取りを
行っている時の出力であるのか、判別ができないので、
ワークをバーコード読み取り装置1の前方に静止させる
必要がある。このため、設置されている機械等に妨げら
れて近寄りにくいようなバーコード読み取り装置1の設
置現場においては、テストを行いにくいという状況がし
ばしば発生していた。
In the test mode, the bar code reading apparatus 1 emits and scans a laser beam to perform a reading operation with or without a work in front of it. Code reader 1
Is installed in a production line or the like through which the work flows, the production line must be stopped and the work must be placed in front of the barcode reading apparatus 1. For example, if you read the test mode while moving the work on the production line, you can determine whether the output is when there is no barcode or when the barcode is being read. Because I can't
It is necessary to make the work stationary in front of the barcode reading apparatus 1. For this reason, at the installation site of the bar code reader 1 which is difficult to approach due to the obstacles such as the installed machine, it is often difficult to perform a test.

【0010】さらに、ワークが静止した状態でバーコー
ドの読み取りを行う場合とワークが動いている状態でバ
ーコードの読み取りを行う場合とでは種々の読み取り条
件が異なるため、静止した状態でのテストのみでは、実
際にワークが生産ライン上を移動しているときの読み取
り状況を正確に把握することは困難であった。
Further, since various reading conditions are different between the case where the bar code is read while the work is stationary and the case where the bar code is read while the work is moving, only the test in the stationary state is performed. Then, it was difficult to accurately grasp the reading situation when the work was actually moving on the production line.

【0011】さらに、読み取りテストを行って読み取り
成功率が出力されても、レーザー光を走査して何度でも
読み取りテストを行うので、不合理であった。
Further, even if the reading test is performed and the reading success rate is output, the reading test is repeated many times by scanning the laser beam, which is unreasonable.

【0012】本発明は叙上の従来例の欠点に鑑みてなさ
れたものであり、その目的とするところは、テストモー
ドの場合にも、読み取り対象のワークの有無を検知し、
ワークを検出した場合にのみ読み取りテストを行う符号
情報読み取り装置を提供することにある。
The present invention has been made in view of the above-mentioned drawbacks of the conventional examples, and an object thereof is to detect the presence or absence of a work to be read even in the test mode.
It is to provide a code information reading device that performs a reading test only when a work is detected.

【0013】[0013]

【課題を解決するための手段】本発明の符号情報読み取
り装置は、レーザー光を発光するレーザー点灯手段と、
前記レーザー点灯手段から放出されたレーザー光を走査
する走査手段と、符号情報で反射したレーザー光を受光
して電気信号を発生する受光素子と、符号情報の読み取
りテストを行なうためのテストモードを設定するモード
設定手段と、前記モード設定手段がテストモードに設定
されている場合に、符号情報を付された物体の検出を条
件として出力される物体検知信号に応じて、符号情報読
み取り動作を行なわせるテスト開始信号を発生するテス
ト開始信号出力手段と、通常動作時には符号情報を付さ
れた物体の検出を条件として出力される物体検知信号に
応じて符号情報読み取り動作を行なって符号情報を検出
し、一方、テストモード時にはテスト開始信号出力部か
ら出力されるテスト開始信号に応じて所定回数の符号情
報読み取り動作からなる所定回数のテストを行なって符
号情報を検出する符号情報検出手段と、テストモード時
に、所定回数の読み取り動作のうち何回符号情報を読み
取れたかを判別する判別手段と、を有することを特徴と
している。
The code information reading device of the present invention comprises a laser lighting means for emitting a laser beam,
A scanning means for scanning the laser light emitted from the laser lighting means, a light receiving element for receiving the laser light reflected by the code information to generate an electric signal, and a test mode for performing a read test of the code information are set. And a mode setting means for performing the code information reading operation according to the object detection signal output on condition that the object with the code information is detected, when the mode setting means is set to the test mode. A test start signal outputting means for generating a test start signal, and a code information reading operation according to an object detection signal output under the condition of detection of an object to which the code information is added during normal operation to detect the code information, On the other hand, in the test mode, whether the code information reading operation is performed a predetermined number of times according to the test start signal output from the test start signal output unit. It is characterized by further comprising a code information detecting means for performing a predetermined number of tests to detect code information, and a determining means for determining how many times the code information has been read out of the predetermined number of reading operations in the test mode. There is.

【0014】[0014]

【作用】この符号情報読み取り装置は、通常動作時に
は、例えば本装置外に構成されている光電スイッチ等に
よって符号情報を付された物体が検出されて符号情報検
出手段へ物体検知信号が入力されると、符号情報読み取
り動作を行なって符号情報を解読する。
In this code information reading device, during normal operation, an object with code information is detected by, for example, a photoelectric switch or the like provided outside the device, and an object detection signal is input to the code information detecting means. Then, the code information reading operation is performed to decode the code information.

【0015】一方、テストモード時には、モード設定手
段がテストモードに設定されても、直ちにテスト開始信
号出力手段から符号情報検出手段へテスト開始信号は出
力されず、符号情報の読み取り動作も行なわれない。テ
ストモード設定時において、例えば光電スイッチ等から
テスト開始信号出力手段へ物体検知信号が入力される
と、テスト開始信号出力手段から符号情報検出手段へテ
スト開始信号が出力され、所定回数の符号情報読み取り
動作からなる符号情報読み取りテストが行なわれる。ま
た、この符号情報読み取りテストは、所定回数(通常は
1回)実行されると終了する。
On the other hand, in the test mode, even if the mode setting means is set to the test mode, the test start signal is not immediately output from the test start signal output means to the code information detection means, and the code information reading operation is not performed. . In the test mode setting, for example, when an object detection signal is input from the photoelectric switch or the like to the test start signal output means, the test start signal output means outputs the test start signal to the code information detection means to read the code information a predetermined number of times. A code information reading test consisting of operations is performed. Further, this code information reading test ends when it is executed a predetermined number of times (usually once).

【0016】従って、本発明の符号情報読み取り装置に
おいては、テストモードにおいても、符号情報を付した
物体が検出されている場合にだけ読み取り動作を行なわ
せることができ、物体が検出されていない場合には読み
取り動作を停止させることができる。
Therefore, in the code information reading apparatus of the present invention, even in the test mode, the reading operation can be performed only when the object with the code information is detected, and when the object is not detected. The reading operation can be stopped.

【0017】[0017]

【発明の効果】本発明の符号情報読み取り装置にあって
は、テストモードであっても符号情報を貼られた物体の
有無を検出し、物体が検出された場合にのみ読み取りテ
ストを行わせることができるので、テストモード時にレ
ーザー点灯手段が連続的に発光状態とならず、半導体レ
ーザーダイオード等の発光素子の寿命を長持ちさせるこ
とができる。
According to the code information reading apparatus of the present invention, the presence or absence of an object to which code information is attached is detected even in the test mode, and the reading test is performed only when the object is detected. Since the laser lighting means does not continuously emit light in the test mode, the life of the light emitting element such as the semiconductor laser diode can be prolonged.

【0018】また、符号情報読み取り装置の前方に物体
が存在する場合にだけ読み取りテストを行なわせること
ができるので、符号情報を有する物体を生産ライン等に
より搬送しながら読み取りテストを行なうことができ
る。このため、生産ライン等を停止させることなく、簡
単に読み取りテストを行なうことができる。また、設置
されている機械等に妨げられて近寄りにくいような位置
に符号情報読み取り装置が設置されている場合でも、容
易に読み取りテストを行なえる。
Further, since the reading test can be performed only when the object is present in front of the code information reading device, the reading test can be carried out while the object having the code information is conveyed by the production line or the like. Therefore, the reading test can be easily performed without stopping the production line or the like. Further, even when the code information reading device is installed at a position where it is difficult to approach due to being obstructed by the installed machine or the like, the reading test can be easily performed.

【0019】しかも、読み取りテストを行なうために物
体を静止させる必要がないので、生産ライン等により物
体を移動させながら読み取りテストを行なうことがで
き、実際の動作時と同じ読み取り状況のままでテストす
ることができ、読み取り状況を正確に把握できる。
Moreover, since it is not necessary to make the object stand still in order to carry out the reading test, the reading test can be carried out while moving the object on the production line or the like, and the test is performed in the same reading condition as in the actual operation. It is possible to grasp the reading situation accurately.

【0020】さらに、読み取りテストが所定回数実行さ
れれば、テスト終了するので、テストモードを設定した
り、解除したりする必要がなく、テスト方法を合理化で
きる。
Furthermore, if the reading test is executed a predetermined number of times, the test is completed, so there is no need to set or cancel the test mode, and the test method can be rationalized.

【0021】[0021]

【実施例】図2は本発明に係るテストモード付きの定置
式バーコード読み取り装置11の概念ブロック図であ
る。このバーコード読み取り装置11は、レーザー光を
発光するレーザー点灯手段12と、前記レーザー点灯手
段12から放出されたレーザー光を走査する走査手段1
3と、バーコード(符号情報)10で反射したレーザー
光を受光して電気信号を発生する受光素子14とを有し
ている。また、バーコード10の読み取り状態をテスト
するためのテストモードを設定するモード設定手段15
と、バーコード読み取り動作を行なわせるテスト開始信
号TESを発生するテスト開始信号出力手段16とを有
し、モード設定手段15はテストモードに設定されると
設定信号SETを出力し、テスト開始信号出力手段16は
テストモード時に、バーコード10を付された物体の検
出を条件として出力される外部タイミング信号(物体検
知信号)TIMを受信するとテスト開始信号TESを出力す
る。バーコード検出手段17は、前記外部タイミング信
号TIM(通常動作時)又はテスト開始信号TES(テストモ
ード時)に基づいてバーコード読み取り動作を行なって
バーコードデータを検出する。すなわち、通常動作時に
は外部タイミング信号TIMに応じてバーコード読み取り
動作を行なってバーコードデータを検出し、一方、テス
トモード時にはテスト開始信号出力手段16から出力さ
れるテスト開始信号TESに応じて所定回数のバーコード
読み取り動作からなる所定回数のテストを行なってバー
コードデータを検出する。判別手段18は、テストモー
ド時に、所定回数の読み取り動作のうち何回バーコード
10を読み取れたかを判別する。
2 is a conceptual block diagram of a stationary bar code reader 11 with a test mode according to the present invention. The bar code reading device 11 includes a laser lighting means 12 for emitting a laser light and a scanning means 1 for scanning the laser light emitted from the laser lighting means 12.
3 and a light receiving element 14 that receives the laser light reflected by the barcode (code information) 10 and generates an electric signal. In addition, mode setting means 15 for setting a test mode for testing the reading state of the barcode 10.
And a test start signal output means 16 for generating a test start signal TES for performing a bar code reading operation. The mode setting means 15 outputs a setting signal SET when set in the test mode and outputs a test start signal. In the test mode, the means 16 outputs the test start signal TES when it receives the external timing signal (object detection signal) TIM output on condition that the object with the barcode 10 is detected. The bar code detecting means 17 performs bar code reading operation based on the external timing signal TIM (during normal operation) or the test start signal TES (during test mode) to detect bar code data. That is, in the normal operation, the bar code reading operation is performed according to the external timing signal TIM to detect the bar code data. On the other hand, in the test mode, the bar code data is detected a predetermined number of times according to the test start signal TES output from the test start signal output means 16. The bar code data is detected by performing a predetermined number of tests including the bar code reading operation. The discriminating unit 18 discriminates how many times the bar code 10 has been read out of the predetermined number of reading operations in the test mode.

【0022】図3は本発明のバーコード読み取り装置1
1の設置例を示す概略平面図である。この例では、バー
コード読み取り装置11は、バーコード10を付けられ
たワーク36が搬送される生産ラインのコンベア37の
片側の脇に設置されている。また、コンベア37の上流
側には、光電スイッチ38の投光部38bと受光部38
a(信号処理部を含む)とが設置されている。そして、
光電スイッチ38がコンベア37によって搬送されてき
たワーク36を検出すると、光電スイッチ38からバー
コード読み取り装置11へ外部タイミング信号TIM(物
体検知信号)を出力する。バーコード読み取り装置11
は、光電スイッチ38から外部タイミング信号TIMを受
信すると、後述のようにバーコード読み取り動作を開始
する。
FIG. 3 shows a bar code reader 1 of the present invention.
It is a schematic plan view which shows the example of installation of 1. In this example, the barcode reading device 11 is installed beside one side of a conveyor 37 of a production line on which the work 36 with the barcode 10 is conveyed. Further, on the upstream side of the conveyor 37, the light projecting section 38 b and the light receiving section 38 of the photoelectric switch 38 are provided.
a (including a signal processing unit) is installed. And
When the photoelectric switch 38 detects the work 36 conveyed by the conveyor 37, the photoelectric switch 38 outputs an external timing signal TIM (object detection signal) to the barcode reading device 11. Bar code reader 11
When receiving the external timing signal TIM from the photoelectric switch 38, starts the barcode reading operation as described later.

【0023】図4は本発明のバーコード読み取り装置1
1の別な設置例を示す正面図である。反射型の光電スイ
ッチ38がバーコード読み取り装置11のケーシング3
9内に一体に収容され、窓40aから光電スイッチ38
の検知光が出射され、走査窓40bからバーコード読み
取り装置11のレーザー光が走査される。しかして、光
電スイッチ38がワーク36を検出すると、外部配線を
通ることなくバーコード読み取り装置11へ外部タイミ
ング信号TIMを出力する。
FIG. 4 shows a bar code reader 1 of the present invention.
It is a front view which shows another installation example of 1. The reflective photoelectric switch 38 serves as the casing 3 of the bar code reading device 11.
9 and the photoelectric switch 38 is integrally housed in the window 9.
Is emitted, and the laser light of the barcode reading device 11 is scanned through the scanning window 40b. Then, when the photoelectric switch 38 detects the work 36, it outputs the external timing signal TIM to the barcode reading device 11 without passing through the external wiring.

【0024】図5は本発明の一実施例によるバーコード
読み取り装置21の構成を示すブロック図である。レー
ザー点灯手段12は、半導体レーザーダイオード等の発
光素子23と、この発光素子23を駆動するレーザー点
灯回路22とからなる。走査手段13は、例えば外周面
に反射鏡を形成された多角形状のポリゴンミラーをモー
タにより回転させるようにしたものであり、発光素子2
3から出力されたレーザー光をポリゴンミラーの反射鏡
で反射させることにより、レーザー光を対象となるバー
コード10上で走査させる。受光素子14はフォトダイ
オード等の光電変換素子からなるものであり、受光素子
14の出力信号は増幅回路等からなる受光回路24及び
コンパレータ25を介して各バーコードデータに対応し
たパルス信号に変換される。さらに、コンパレータ25
から出力されたパルス信号に基づいてデコード回路26
がバーコードデータを解読する。
FIG. 5 is a block diagram showing the configuration of the bar code reader 21 according to an embodiment of the present invention. The laser lighting means 12 comprises a light emitting element 23 such as a semiconductor laser diode and a laser lighting circuit 22 for driving the light emitting element 23. The scanning means 13 is, for example, a polygonal polygon mirror having a reflecting mirror formed on its outer peripheral surface and is rotated by a motor.
The laser light output from 3 is reflected by the reflecting mirror of the polygon mirror to scan the laser light on the target bar code 10. The light receiving element 14 is composed of a photoelectric conversion element such as a photodiode, and an output signal of the light receiving element 14 is converted into a pulse signal corresponding to each bar code data via a light receiving circuit 24 including an amplifier circuit and a comparator 25. It Furthermore, the comparator 25
Decoding circuit 26 based on the pulse signal output from
Decodes the bar code data.

【0025】28は読み取り制御部であって、通常動作
時には、バーコード読み取り装置21の外部(つまり、
光電スイッチ38)から入力される外部タイミング信号
TIMに応答してレーザー点灯回路22を駆動するための
スタート信号を発生し、また、デコード回路26で解読
されたバーコードデータを出力手段19へ出力させる。
ここに、バーコード検出手段17は、受光回路24、コ
ンパレータ25、デコード回路26及び読み取り制御部
28によって構成されている。
Reference numeral 28 denotes a reading control unit, which is outside the bar code reading device 21 (that is,
External timing signal input from photoelectric switch 38)
In response to TIM, a start signal for driving the laser lighting circuit 22 is generated, and the bar code data decoded by the decoding circuit 26 is output to the output means 19.
Here, the bar code detecting means 17 is composed of a light receiving circuit 24, a comparator 25, a decoding circuit 26 and a reading control section 28.

【0026】出力手段19は、発光ダイオード(LE
D)、液晶表示パネルその他の表示部29と、この表示
部29の駆動回路、RS−232C等の通信用インター
フェース等の出力回路を有する出力部30とからなる。
The output means 19 is a light emitting diode (LE).
D), a display unit 29 such as a liquid crystal display panel, and an output unit 30 having a drive circuit for the display unit 29 and an output circuit such as a communication interface such as RS-232C.

【0027】モード設定手段15はテストモードスイッ
チで構成され、例えば押下操作することにより設定信号
SETを発生してテスト開始信号出力手段16へ設定信号S
ETを出力する。テスト開始信号出力手段16は、タイミ
ング信号発生手段32と禁止手段33とからなる。タイ
ミング信号発生手段32は、モード設定手段15から設
定信号SETを受け取ると、テスト開始信号(内部タイミ
ング信号)TESを出力する。禁止手段33は、タイミン
グ信号発生手段32で発生しているテスト開始信号TES
が読み取り制御部28へ伝わらないように遮断している
(あるいは、テスト開始信号TESを読み取り制御部28
へ出力するのを禁止している)が、バーコード読み取り
装置21の外部(つまり、光電スイッチ38)から外部
タイミング信号TIMを受け取ると禁止を解除する。従っ
て、テスト開始信号出力手段16は、モード設定手段1
5によりテストモードに設定されている時に、外部タイ
ミング信号TIMを受信すると、タイミング信号発生手段
32から読み取り制御部28へテスト開始信号TESを伝
える。
The mode setting means 15 is composed of a test mode switch, and a setting signal is generated by, for example, pressing the switch.
SET is generated and the setting signal S is sent to the test start signal output means 16.
Output ET. The test start signal output means 16 comprises a timing signal generation means 32 and a prohibition means 33. When the timing signal generating means 32 receives the setting signal SET from the mode setting means 15, the timing signal generating means 32 outputs a test start signal (internal timing signal) TES. The prohibiting means 33 uses the test start signal TES generated by the timing signal generating means 32.
Is blocked so as not to be transmitted to the reading control unit 28 (or, the test start signal TES is transmitted to the reading control unit 28).
However, the prohibition is released when the external timing signal TIM is received from the outside of the barcode reading device 21 (that is, the photoelectric switch 38). Therefore, the test start signal output means 16 is the mode setting means 1
When the external timing signal TIM is received while the test mode 5 is set, the test signal TES is transmitted from the timing signal generating means 32 to the reading control unit 28.

【0028】また、読み取り制御部28はモード設定手
段15から設定信号SETを受け取ると、テストモード時
の動作に切り替わる。すなわち、読み取り制御部28
は、テストモード時においては、タイミング信号発生手
段32からテスト開始信号TESを受け取ると、レーザー
点灯回路22を駆動してレーザー光を走査し、所定回数
(例えば、100回)の読み取り動作を連続して行な
う。読み取り制御部28は所定回数の読み取りテストを
連続して行ない、デコード回路26における読み取りが
成功であるか、失敗であるか判定し、その判定結果をメ
モリ27に記憶する。ついで、所定回数の読み取りテス
トが終了すると、読み取り制御部28はメモリ27に記
憶している読み取り成功回数(例えば、100回中65
回)を読み出し、あるいは読み取り成功率(例えば、6
5%)を演算し、そのテスト結果を出力手段19へ転送
して出力端子31から外部へ出力すると共に表示部29
に表示する。
Further, when the reading control section 28 receives the setting signal SET from the mode setting means 15, it switches to the operation in the test mode. That is, the reading control unit 28
In the test mode, when the test start signal TES is received from the timing signal generating means 32, the laser lighting circuit 22 is driven to scan the laser light, and the reading operation is repeated a predetermined number of times (for example, 100 times). Do it. The reading control unit 28 continuously performs a reading test a predetermined number of times, determines whether the reading in the decoding circuit 26 is successful or not, and stores the determination result in the memory 27. Then, when the reading test for a predetermined number of times is completed, the reading control unit 28 stores the number of successful readings stored in the memory 27 (for example, 65 out of 100 times).
Times) or read success rate (eg 6
5%) is calculated, and the test result is transferred to the output means 19 to be output from the output terminal 31 to the outside and the display unit 29.
To be displayed.

【0029】上記のように判別手段18は、メモリ27
と読み取り制御部28によって構成されている。また、
読み取り制御部28は、所定回数のテスト動作を完了す
ることを条件に、禁止手段33へ終了信号を出力する。
終了信号を受け取ると、禁止手段33は再びテスト開始
信号TESを遮断する状態に戻り、次の外部タイミング信
号TIMを受信するまで遮断し続ける。この間、表示部2
9はそのままテスト結果を表示し続ける。
As described above, the discriminating means 18 includes the memory 27.
And a read control unit 28. Also,
The read control unit 28 outputs an end signal to the prohibition unit 33 on condition that the test operation has been completed a predetermined number of times.
When receiving the end signal, the prohibiting means 33 returns to the state of interrupting the test start signal TES again, and continues to interrupt until the next external timing signal TIM is received. During this time, the display unit 2
9 continues to display the test result as it is.

【0030】図6は図5に示したバーコード読み取り装
置21の通常動作を説明するフロー図である。バーコー
ド読み取り装置21の通常動作を図6に従って説明す
る。通常動作時には、例えば生産ラインにおいてワーク
36の流れの上流側に設置した光電スイッチ38がワー
ク36を検知して発生する外部タイミング信号TIMが入
力されるまでオフ状態で待機し(S41)、ワーク36
が検出されて外部タイミング信号TIMが読み取り制御部
28へ入力されると、レーザー点灯回路22を駆動する
(S42)。発光素子23から出射されたレーザー光は
走査手段13によってバーコード10上を走査され、受
光素子14を通してデコード回路26へバーコードデー
タが取り込まれる(S43)。このバーコードデータの
取り込みは、外部タイミング信号TIMが受信されなくな
るか、あるいはメモリ27容量を越えない範囲で、例え
ば10走査分のバーコードデータを取り込むまで行なわ
れる。ついで、読み取り制御部28は、デコード回路2
6におけるバーコードデータの解読が成功したか否かを
判断する(S44)。この判断は例えばプリセット値と
比較して行なうことも可能であり、また同一のバーコー
ド10を複数回走査して得られたデータ同志を比較して
もよい。
FIG. 6 is a flow chart for explaining the normal operation of the bar code reading device 21 shown in FIG. The normal operation of the barcode reading device 21 will be described with reference to FIG. During normal operation, for example, the photoelectric switch 38 installed on the upstream side of the flow of the work 36 in the production line waits in the OFF state until the external timing signal TIM generated upon detection of the work 36 is input (S41), and the work 36.
Is detected and the external timing signal TIM is input to the reading control unit 28, the laser lighting circuit 22 is driven (S42). The laser light emitted from the light emitting element 23 is scanned on the barcode 10 by the scanning means 13, and the barcode data is taken into the decoding circuit 26 through the light receiving element 14 (S43). The capture of the barcode data is performed until the external timing signal TIM is not received or the barcode data for 10 scans is captured within a range that does not exceed the capacity of the memory 27. Next, the read control unit 28 causes the decoding circuit 2
It is judged whether or not the decoding of the barcode data in 6 is successful (S44). This judgment can be made by comparing with a preset value, for example, or the data obtained by scanning the same barcode 10 a plurality of times may be compared.

【0031】ステップS44でバーコード10を解読で
きなかった場合には、まだワーク36が検出されている
か否か判定し(S47)、ワーク36が検出されていれ
ば再度バーコード10を取り込んでバーコードデータの
解読を行なう(S43〜)。ワーク36が既に検出され
なければ出力手段19に“NG”を出力し(S48)、
レーザー点灯回路22をオフにする(S46)。
If the bar code 10 cannot be decoded in step S44, it is judged whether or not the work 36 is still detected (S47). If the work 36 is detected, the bar code 10 is read again and the bar code 10 is read. The code data is decoded (S43-). If the work 36 is not already detected, "NG" is output to the output means 19 (S48),
The laser lighting circuit 22 is turned off (S46).

【0032】また、ステップS44でバーコード10を
解読できたと判断した場合には、出力手段19に“O
K”又はバーコードデータの出力表示をさせ(S4
5)、レーザー点灯回路22をオフにする(S46)。
When it is determined in step S44 that the barcode 10 can be decoded, the output means 19 displays "O".
Display the output of K "or barcode data (S4
5) The laser lighting circuit 22 is turned off (S46).

【0033】図7は図5に示したバーコード読み取り装
置21のテストモード時の動作を説明するフロー図であ
る。バーコード読み取り装置21のテストモード時の動
作を図7に従って説明する。モード設定手段15により
テストモードを設定すると(S51)、例えば光電スイ
ッチ38がワーク36を検知して発生する外部タイミン
グ信号TIMが入力されるまでオフ状態で待機し(S5
2)、ワーク36が検出されて外部タイミング信号TIM
が読み取り制御部28へ入力されたとき、レーザー点灯
回路22を駆動する(S53)。発光素子23から出射
されたレーザー光は走査手段13によってバーコード1
0上を走査され、受光素子14を通してデコード回路2
6へバーコードデータが取り込まれる(S54)。つい
で、読み取り制御部28は、デコード回路26における
バーコードデータの解読が成功したか否かを判断する
(S55)。
FIG. 7 is a flow chart for explaining the operation of the bar code reader 21 shown in FIG. 5 in the test mode. The operation of the barcode reading device 21 in the test mode will be described with reference to FIG. When the test mode is set by the mode setting means 15 (S51), for example, the photoelectric switch 38 waits in an OFF state until an external timing signal TIM generated by detecting the work 36 is input (S5).
2), the work 36 is detected and the external timing signal TIM
When is input to the reading control unit 28, the laser lighting circuit 22 is driven (S53). The laser light emitted from the light emitting element 23 is scanned by the scanning means 13 and the barcode 1
0 is scanned and the decode circuit 2 is passed through the light receiving element 14.
The bar code data is taken into 6 (S54). Next, the reading control unit 28 determines whether or not the decoding of the bar code data in the decoding circuit 26 has succeeded (S55).

【0034】ステップS55でバーコード10を解読で
きたと判断した場合には、メモリ27に記憶している読
み取り成功回数Nsを1増加させ(Ns+1→Ns)、バ
ーコード10を解読できなかったと判断した場合には、
メモリ27内の読み取り失敗回数Nfを1増加させる
(Nf+1→Nf:S57,S58)。こうして読み取り
成功回数Nsと読み取り失敗回数Nfの和Ns+Nfが所定
回数に達するまで(S59)、バーコード10を取り込
んでバーコード10の解読に成功したか失敗したかを判
定する(S54〜S58)。
When it is judged in step S55 that the bar code 10 can be decoded, the number of successful readings Ns stored in the memory 27 is increased by 1 (Ns + 1 → Ns), and it is judged that the bar code 10 cannot be decoded. in case of,
The number Nf of reading failures in the memory 27 is incremented by 1 (Nf + 1 → Nf: S57, S58). Thus, until the sum Ns + Nf of the number Ns of successful readings and the number Nf of unsuccessful readings reaches a predetermined number (S59), it is determined whether the barcode 10 is captured and the decoding of the barcode 10 is successful or unsuccessful (S54 to S58).

【0035】こうして読み取り成功回数Nsと読み取り
失敗回数Nfの和Ns+Nfが所定回数に達すると(S5
9)、読み取り制御部28はテスト結果(成功回数や成
功率)を外部に出力すると共に表示部29に表示出力さ
せ(S60)、レーザー点灯回路22をオフにする(S
61)。
Thus, when the sum Ns + Nf of the number Ns of successful readings and the number Nf of unsuccessful readings reaches a predetermined number (S5
9) The reading control unit 28 outputs the test result (the number of successes and the success rate) to the outside and causes the display unit 29 to display the output (S60), and turns off the laser lighting circuit 22 (S).
61).

【0036】図8は本発明の別な実施例によるバーコー
ド読み取り装置34の構成を示すブロック図である。こ
の実施例のバーコード読み取り装置34は、図5のバー
コード読み取り装置21とはテスト開始信号出力手段1
6の構成が異なっている。すなわち、このバーコード読
み取り装置34にあっては、テスト開始信号出力手段1
6は、タイミング信号発生手段32とタイミング発生制
御部35とから構成されている。タイミング発生制御部
35は、モード設定手段15がテストモードに設定され
て設定信号SETが出力されると制御動作状態になり、こ
のとき外部タイミング信号TIMが入力されると、タイミ
ング信号発生手段32を1回動作させる。タイミング信
号発生手段32は、所定回数の読み取り動作をするため
のテスト開始信号TESを発生するもので、1回の動作で
所定回数読み取り動作分のテスト開始信号(タイミング
信号)TESを発生するように設定可能になっている。従
って、このテスト開始信号出力手段16は、モード設定
手段15によりテストモードに設定されているときに外
部タイミング信号TIMを受信すると、タイミング信号発
生手段32から読み取り制御部28へ設定された回数だ
け読み取り動作を行なうためのテスト開始信号TESを送
り、所定回数分のテスト開始信号TESを出し尽くすと停
止する。そして、新しく外部タイミング信号TIMが入力
されるまで停止したままとなる。
FIG. 8 is a block diagram showing the arrangement of a bar code reading apparatus 34 according to another embodiment of the present invention. The bar code reading device 34 of this embodiment is different from the bar code reading device 21 of FIG.
The configuration of 6 is different. That is, in the bar code reading device 34, the test start signal output means 1
Reference numeral 6 is composed of a timing signal generating means 32 and a timing generation control section 35. The timing generation control unit 35 enters the control operation state when the mode setting unit 15 is set to the test mode and the setting signal SET is output. When the external timing signal TIM is input at this time, the timing generation control unit 35 causes the timing signal generation unit 32 to operate. Operate once. The timing signal generating means 32 generates a test start signal TES for performing a predetermined number of read operations, and generates a test start signal (timing signal) TES for a predetermined number of read operations in one operation. It is configurable. Therefore, when the test start signal output means 16 receives the external timing signal TIM while the mode setting means 15 is set to the test mode, the test start signal output means 16 reads from the timing signal generating means 32 to the reading control section 28 the number of times set. The test start signal TES for performing the operation is sent, and when the test start signal TES for the predetermined number of times is exhausted, the operation is stopped. Then, it remains stopped until a new external timing signal TIM is input.

【図面の簡単な説明】[Brief description of drawings]

【図1】従来のバーコード読み取り装置の構成を示すブ
ロック図である。
FIG. 1 is a block diagram showing a configuration of a conventional barcode reading device.

【図2】本発明に係るバーコード読み取り装置の概念ブ
ロック図である。
FIG. 2 is a conceptual block diagram of a barcode reading device according to the present invention.

【図3】同上のバーコード読み取り装置の設置例を示す
概略平面図である。
FIG. 3 is a schematic plan view showing an installation example of the above barcode reading device.

【図4】同上のバーコード読み取り装置の別な設置例を
示す概略正面図である。
FIG. 4 is a schematic front view showing another example of installation of the above barcode reading device.

【図5】本発明の一実施例によるバーコード読み取り装
置の構成を示すブロック図である。
FIG. 5 is a block diagram showing a configuration of a barcode reading apparatus according to an embodiment of the present invention.

【図6】同上のバーコード読み取り装置の通常動作を説
明するフロー図である。
FIG. 6 is a flowchart illustrating a normal operation of the above barcode reading apparatus.

【図7】同上のバーコード読み取り装置のテストモード
時の動作を説明するフロー図である。
FIG. 7 is a flowchart illustrating an operation of the above barcode reading apparatus in a test mode.

【図8】本発明の別な実施例によるバーコード読み取り
装置の構成を示すブロック図である。
FIG. 8 is a block diagram showing a configuration of a barcode reading device according to another embodiment of the present invention.

【符号の説明】[Explanation of symbols]

12 レーザー点灯手段 13 走査手段 14 受光素子 15 モード設定手段 16 テスト開始信号出力手段 17 バーコード検出手段 18 判別手段 19 出力手段 38 光電スイッチ SET 設定信号 TES テスト開始信号 TIM 外部タイミング信号 12 laser lighting means 13 scanning means 14 light receiving element 15 mode setting means 16 test start signal output means 17 bar code detection means 18 discrimination means 19 output means 38 photoelectric switch SET setting signal TES test start signal TIM external timing signal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 レーザー光を発光するレーザー点灯手段
と、 前記レーザー点灯手段から放出されたレーザー光を走査
する走査手段と、 符号情報で反射したレーザー光を受光して電気信号を発
生する受光素子と、 符号情報の読み取りテストを行なうためのテストモード
を設定するモード設定手段と、 前記モード設定手段がテストモードに設定されている場
合に、符号情報を付された物体の検出を条件として出力
される物体検知信号に応じて、符号情報読み取り動作を
行なわせるテスト開始信号を発生するテスト開始信号出
力手段と、 通常動作時には符号情報を付された物体の検出を条件と
して出力される物体検知信号に応じて符号情報読み取り
動作を行なって符号情報を検出し、一方、テストモード
時にはテスト開始信号出力部から出力されるテスト開始
信号に応じて所定回数の符号情報読み取り動作からなる
所定回数のテストを行なって符号情報を検出する符号情
報検出手段と、 テストモード時に、所定回数の読み取り動作のうち何回
符号情報を読み取れたかを判別する判別手段と、を有す
ることを特徴とする符号情報読み取り装置。
1. A laser lighting means for emitting laser light, a scanning means for scanning the laser light emitted from the laser lighting means, and a light receiving element for receiving the laser light reflected by code information and generating an electric signal. A mode setting means for setting a test mode for performing a read test of the code information, and when the mode setting means is set to the test mode, it is output on condition that the object with the code information is detected. The test start signal output means for generating a test start signal for performing the code information reading operation according to the object detection signal, and the object detection signal output under the condition that the object with the code information is detected during the normal operation. Accordingly, the code information reading operation is performed to detect the code information.On the other hand, in the test mode, it is output from the test start signal output section. Code information detecting means for detecting code information by performing a predetermined number of tests consisting of a predetermined number of code information reading operations according to a test start signal, and how many times the code information can be read out of the predetermined number of reading operations in the test mode. And a discriminating means for discriminating whether or not the code information reading device.
JP7174166A 1995-06-16 1995-06-16 Code information reader Pending JPH096886A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7174166A JPH096886A (en) 1995-06-16 1995-06-16 Code information reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7174166A JPH096886A (en) 1995-06-16 1995-06-16 Code information reader

Publications (1)

Publication Number Publication Date
JPH096886A true JPH096886A (en) 1997-01-10

Family

ID=15973865

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7174166A Pending JPH096886A (en) 1995-06-16 1995-06-16 Code information reader

Country Status (1)

Country Link
JP (1) JPH096886A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104765345A (en) * 2015-03-24 2015-07-08 厦门理工学院 Full-automatic noodle assembly line station piece counting system and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104765345A (en) * 2015-03-24 2015-07-08 厦门理工学院 Full-automatic noodle assembly line station piece counting system and method

Similar Documents

Publication Publication Date Title
US5004916A (en) Scanning system having automatic laser shutdown upon detection of defective scanning element motion
US5663549A (en) System for reading a symbol by activitating a liquid crystal device to control a scanning path
EP1619467A1 (en) Optical measuring device
US4916297A (en) Code reader
US6863217B2 (en) Automatic range adjustment techniques for stand-mountable bar code scanners
JPH04286382A (en) Life extending device of laser and method
US5942742A (en) Device and method for reading bar code
US6527179B1 (en) Bar-code reader and controlling method therefor
JPH03166674A (en) Laser scanner safety device and method
JPH08129597A (en) Optical reader
JPH05225367A (en) Method and apparatus for programming bar code reader
JP4460084B2 (en) Bar code reader and weighing method
JPH096886A (en) Code information reader
JP2000306036A (en) Device, method and system for optical reading
JPH0512480A (en) Bar code reader
JP2789949B2 (en) Barcode reader
JPH0637474Y2 (en) Stationary barcode reader
JPH0637475Y2 (en) Stationary barcode reader
US7128268B1 (en) Bar code scanner having a mirrored spinner which operates at different speeds
JP2748661B2 (en) Symbol reader
JPH0938787A (en) Circuit for detecting abnormality in optical scanning and optical scanner
JPH03208190A (en) Bar code reader
JP3485592B2 (en) Bar code reading device and its reading test device
US5216533A (en) Motor motion detection circuit
JP3557420B2 (en) Barcode reader