Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3464743B2 - Code reader - Google Patents
[go: Go Back, main page]

JP3464743B2 - Code reader - Google Patents

Code reader

Info

Publication number
JP3464743B2
JP3464743B2 JP13301496A JP13301496A JP3464743B2 JP 3464743 B2 JP3464743 B2 JP 3464743B2 JP 13301496 A JP13301496 A JP 13301496A JP 13301496 A JP13301496 A JP 13301496A JP 3464743 B2 JP3464743 B2 JP 3464743B2
Authority
JP
Japan
Prior art keywords
code
reading
type
data
reading means
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.)
Expired - Fee Related
Application number
JP13301496A
Other languages
Japanese (ja)
Other versions
JPH09319815A (en
Inventor
誠 杉山
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.)
Toshiba Tec Corp
Original Assignee
Toshiba Tec Corp
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 Toshiba Tec Corp filed Critical Toshiba Tec Corp
Priority to JP13301496A priority Critical patent/JP3464743B2/en
Publication of JPH09319815A publication Critical patent/JPH09319815A/en
Application granted granted Critical
Publication of JP3464743B2 publication Critical patent/JP3464743B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、媒体上に表記さ
れたコードを読取るコードリーダに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a code reader for reading a code written on a medium.

【0002】[0002]

【従来の技術】携帯可能なハンディタイプのコードリー
ダとして、1次元コードとしての例えばバーコードも、
2次元コードとしての例えばマトリックスコードも、読
取り効率及び読取り精度を高くするために、1次元ライ
ンセンサ及び2次元エリアセンサの両方とも内蔵したマ
ルチコードリーダが開発されている。その理由は、バー
コードを読取るためには、横方向( バーコードの各バー
の配列方向 )に長い有効視野を有し、横方向に高い解像
度を備えたセンサが必要であり、マトリックスコードを
読取るために、横方向はバーコード読取りのためのセン
サよりも視野が狭くても良いが縦方向に十分な有効視野
を有し、横方向及び縦方向にそれぞれ十分な解像度を備
えたセンサが必要になるからである。従って、1次元ラ
インセンサでマトリックスコードを読取ることは難し
く、一方2次元エリアセンサでバーコードを読取るのに
は、求められる横方向の解像度を満たす横方向の有効視
野が狭いという不備があるからである。
2. Description of the Related Art As a portable handy type code reader, for example, a bar code as a one-dimensional code,
For example, a matrix code as a two-dimensional code has also been developed with a multi-code reader that incorporates both a one-dimensional line sensor and a two-dimensional area sensor in order to improve reading efficiency and reading accuracy. The reason is that in order to read a barcode, a sensor that has a long effective field of view in the horizontal direction (arrangement direction of each bar of the barcode) and has a high resolution in the horizontal direction is required. Therefore, the field of view in the horizontal direction may be narrower than that of the sensor for reading barcodes, but it is necessary to have a sensor that has a sufficient effective field of view in the vertical direction and has sufficient resolution in the horizontal and vertical directions. Because it will be. Therefore, it is difficult to read a matrix code with a one-dimensional line sensor, while reading a bar code with a two-dimensional area sensor has the drawback that the effective lateral field of view that satisfies the required lateral resolution is narrow. is there.

【0003】[0003]

【発明が解決しようとする課題】ところで、1個のハン
ディタイプのケース内に1次元ラインセンサと2次元エ
リアセンサとを備えたマルチコードリーダにおいては、
読取る対象のコードに対して1次元ラインセンサと2次
元エリアセンサとを適切に駆動させる方法が問題とな
る。簡単な1つの方法としては、1次元ラインセンサと
2次元エリアセンサとを選択せずに同時に又はリレー式
に駆動させてデコード処理まで行い、デコードが成功し
た方のコードデータを有効として使用する方法が最も簡
単な方法であると考えられるが、このように1次元ライ
ンセンサと2次元エリアセンサとを選択しない方法で
は、例えば、図8に示すように、1枚のラベル101上
にバーコード102及びマトリックスコード103が共
に印刷されている場合に、1次元ラインセンサの視野1
04と2次元エリアセンサの視野105とが、それぞれ
バーコード102とマトリックスコード103とをカバ
ーした時に、両方ともデコード処理が成功して有効とす
るコードデータが2つとなり、得られた2つのコードデ
ータから所望のコードを操作者が選択しなければならな
い、また、一方のみしかデコードできなかったとしても
操作者は、所望のコードが読取れたか否か判らないとい
う問題がある。
By the way, in a multi-code reader including a one-dimensional line sensor and a two-dimensional area sensor in one handy type case,
A problem is how to appropriately drive the one-dimensional line sensor and the two-dimensional area sensor for the code to be read. As a simple method, a method of using the code data of the one that has been successfully decoded as effective by performing the decoding processing by driving the one-dimensional line sensor and the two-dimensional area sensor at the same time or by relay-type driving without selecting them Is considered to be the simplest method, but in such a method in which the one-dimensional line sensor and the two-dimensional area sensor are not selected, for example, as shown in FIG. And the matrix code 103 are both printed, the field of view 1 of the one-dimensional line sensor
04 and the field of view 105 of the two-dimensional area sensor cover the bar code 102 and the matrix code 103, respectively, both of them have succeeded in the decoding process and have two valid code data, and the two obtained codes are obtained. There is a problem that the operator must select a desired code from the data, and even if only one of the codes can be decoded, the operator cannot know whether or not the desired code can be read.

【0004】そこでこの発明は、読取るコード種類を選
択することができ、その選択に基づいて最適な読取り処
理を実行することができるコードリーダを提供すること
を目的とする。
Therefore, an object of the present invention is to provide a code reader capable of selecting a code type to be read and executing an optimum reading process based on the selection.

【0005】[0005]

【課題を解決するための手段】請求項1対応の発明は、
媒体上に表記されたコードを読取るコードリーダにおい
て、第1のコード種類を読取るための第1のコード読取
手段と、 第2のコード種類を読取るための第2のコー
ド読取手段と、 コード種類を指定するコード種類指定
手段と、このコード種類指定手段により指定されたコー
ド種類に基づいて前記第1のコード読取手段又は前記第
2のコード読取手段のいずれか一方を動作させる読取制
御手段と、前記第1のコード読取手段によるコード読取
りが終了又は前記第2のコード読取手段によるコード読
取りが終了すると、どちらの手段により読取られたかを
区別して読取り終了を通知する読取終了通知手段を設
け、前記第1のコード読取手段及び前記第2のコード読
取手段を1つのケース内に収納したものである。
The invention according to claim 1 is
In a code reader for reading a code written on a medium, a first code reading unit for reading a first code type, a second code reading unit for reading a second code type, and a code type a code type designating means for designating a reading control means for operating one of said first code reading means or the second code reading means based on the designation code type the code type designating means, said Code reading by the first code reading means
Is completed or the code is read by the second code reading means.
When the collection is completed, the method of reading
A reading end notification means for distinguishing the end of reading is provided.
However, the first code reading means and the second code reading means are housed in one case.

【0006】請求項2対応の発明は、請求項1対応の発
明において、コード種類指定手段は、読取り開始タイミ
ングを発生するスイッチの操作方法によりコード種類を
指定するものである。
In the invention according to claim 2, in the invention according to claim 1, the code type designating means designates a code type by a method of operating a switch for generating a reading start timing.

【0007】請求項3対応の発明は、請求項1対応の発
明において、予め設定されたパラメータによりコード種
類を指定するものである。
The invention according to claim 3 is the invention according to claim 1, wherein the code type is designated by a preset parameter.

【0008】[0008]

【0009】請求項対応の発明は、請求項対応の発
明において、読取終了通知手段は、光学表示の表現方法
を変えることにより第1のコード読取手段によるコード
読取り終了と第2のコード読取手段によるコード読取り
終了とをそれぞれ区別して通知するものである。
According to a fourth aspect of the present invention, in the first aspect of the invention, the reading end notifying means changes the expression method of the optical display to finish the code reading by the first code reading means and the second code reading. The end of code reading by means is notified separately.

【0010】請求項対応の発明は、請求項対応の発
明において、読取終了通知手段は、音の表現方法を変え
ることにより第1のコード読取手段によるコード読取り
終了と第2のコード読取手段によるコード読取り終了と
をそれぞれ区別して通知するものである。
According to a fifth aspect of the invention, in the first aspect of the invention, the reading completion notifying means changes the expression method of the sound so that the first code reading means completes the code reading and the second code reading means. The end of the code reading is notified separately.

【0011】請求項対応の発明は、請求項1乃至請求
項3のいずれか1項対応の発明において、外部への送信
のために、第1のコード読取手段により読取ったコード
データと第2のコード読取手段により読取ったコードデ
ータとに、それぞれを識別するデータを付加するデータ
識別処理手段とを設けたものである。
According to a sixth aspect of the invention, in the invention corresponding to any one of the first to third aspects, the code data read by the first code reading means and the second code for transmission to the outside. In addition to the code data read by the code reading means, data identification processing means for adding data for identifying each is provided.

【0012】請求項対応の発明は、請求項1乃至請求
のいずれか1項対応の発明において、第1のコード
読取手段は1次元ラインセンサから構成し、第2のコー
ド読取手段は2次元エリアセンサから構成するものであ
る。
The invention corresponding to claim 7 is the invention corresponding to any one of claims 1 to 6 , wherein the first code reading means is composed of a one-dimensional line sensor, and the second code reading means is It is composed of a two-dimensional area sensor.

【0013】[0013]

【発明の実施の形態】以下、この発明の第1の実施の形
態を図1乃至図4を参照して説明する。図1は、この発
明を適用した非接触式携帯型ガンタイプのコードリーダ
1の要部構成を示す側面断面図である。図2は、このコ
ードリーダ1を示す概略の外観図である。握り部を備え
たガン形状のフレーム2の内部には、ラインCCD( ch
argecoupled device )3、ライン用光学機構部4、ライ
ン用照明LED5、ライン用ターゲットLED6、エリ
アCCD7、エリア用光学機構部8、エリア用照明LE
D9、エリア用ターゲットLED10、ライン用PC板
11、エリア用PC板12、制御回路部13、透明の樹
脂板からなる防塵用の読取口カバー14、表示用LED
15、ブザー16、トリガスイッチ17等が収納されて
いる。
BEST MODE FOR CARRYING OUT THE INVENTION A first embodiment of the present invention will be described below with reference to FIGS. FIG. 1 is a side sectional view showing a configuration of a main part of a non-contact type portable gun type code reader 1 to which the present invention is applied. FIG. 2 is a schematic external view showing the code reader 1. Inside the gun-shaped frame 2 with a grip, the line CCD (ch
argecoupled device) 3, line optical mechanism unit 4, line illumination LED 5, line target LED 6, area CCD 7, area optical mechanism unit 8, area illumination LE
D9, area target LED 10, line PC board 11, area PC board 12, control circuit section 13, dustproof reading port cover 14 made of a transparent resin plate, display LED
15, a buzzer 16, a trigger switch 17, etc. are stored.

【0014】前記フレーム2は、上部、下左部、下右部
の3個のモールドブロックから構成され、このフレーム
2の一部はそれ自体が中空構造になっており、軽量化を
図っている。このコードリーダ1の重心は、操作性を向
上させるために握り部内部に位置するように設計され、
前記フレーム2のこのコードリーダ1の重心の上方の位
置には、このコードリーダ1を安定して吊り下げる吊下
げロープを取付けるための第1のフック18が一体的に
形成されている。また、握り部の下部には落下防止用の
ハンドラップを取付けるための第2のフック19が一体
的に形成されている。
The frame 2 is composed of three mold blocks, an upper part, a lower left part, and a lower right part, and a part of the frame 2 itself has a hollow structure to reduce the weight. . The center of gravity of the code reader 1 is designed to be located inside the grip to improve operability.
A first hook 18 for attaching a suspending rope for stably suspending the code reader 1 is integrally formed at a position above the center of gravity of the code reader 1 on the frame 2. In addition, a second hook 19 for attaching a fall-preventing hand wrap is integrally formed on the lower portion of the grip portion.

【0015】前記ラインCCD3は、高感度のCCD素
子( 8μmH×200μmV等 )を1列( 最小細バーの
幅を5画素で撮像できるように1×4000画素以上 )
に配列して構成された極端に長手方向( 図1では、紙面
の垂直方向 )が長くなった長方形状であり、このコード
リーダ1の握り部の反対側に位置する読取口2-1に対し
てその上部、奥に配置されている。前記読取口2-1から
入光された光画像を前記ラインCCD3の位置で結像さ
せる( 直径10mm程度の )組合せレンズ、外乱光を防
ぐと共に前記ライン用照明LED5から照射される光の
波長のみ透過させるローパスフィルタ及びバンドパスフ
ィルタ、被写体深度を深くするため絞り値F11以上の
絞り等から構成されたライン用光学機構部4が、前記ラ
インCCD3の前記読取口2-1側前方に配置されてい
る。
The line CCD 3 has one row of high-sensitivity CCD elements (8 μmH × 200 μmV, etc.) (1 × 4000 pixels or more so that the width of the smallest thin bar can be imaged by 5 pixels).
It has a rectangular shape that is extremely long in the longitudinal direction (the direction perpendicular to the paper surface in FIG. 1) and is arranged in a line. The reading port 2-1 is located on the opposite side of the grip portion of the code reader 1. It is located in the upper part and the back of the lever. A compound lens (having a diameter of about 10 mm) that forms an optical image incident from the reading port 2-1 at the position of the line CCD 3, a disturbance light is prevented, and only the wavelength of light emitted from the line illumination LED 5 A line optical mechanism unit 4 including a low-pass filter and a band-pass filter for transmitting light and an aperture having an aperture value of F11 or more for deepening the depth of the subject is arranged in front of the line CCD 3 on the side of the reading port 2-1. There is.

【0016】このライン用光学機構部4の位置に対応し
て、CCD感度を高く取れるように、パワーの大きな6
60nm高輝度LEDから構成された6個のライン用照
明LED5が一列に配置されており、横方向( ライン方
向 )に照度を均一にする必要があるため、前記読取口カ
バー14の前記ライン用照明LED5の光軸が通過する
位置には、シェーディング補正を兼ねた拡散レンズ( シ
リンドリカルレンズ )20が配置されている。前記ライ
ン用ターゲットLED6は、非接触で読取面上に光の点
として目視できるように超高輝度LEDから構成され、
前記ライン用光学機構部4の両側面に配置されている。
前記ラインCCD3、前記ライン用照明LED5、前記
ライン用ターゲットLED6は、図示しないが、前記ラ
イン用PC板11と電気的に接続されており、このライ
ン用PC板11から供給・制御される電力により駆動す
るようになっている。
In order to obtain high CCD sensitivity corresponding to the position of the line optical mechanism section 6, a large power 6 is used.
Six line illumination LEDs 5 composed of 60 nm high-brightness LEDs are arranged in a line, and it is necessary to make the illuminance uniform in the lateral direction (line direction). Therefore, the line illumination of the reading port cover 14 is required. A diffusion lens (cylindrical lens) 20 also serving as a shading correction is arranged at a position where the optical axis of the LED 5 passes. The line target LED 6 is composed of an ultra-high brightness LED so as to be visible as a light spot on the reading surface in a non-contact manner,
It is arranged on both side surfaces of the line optical mechanism section 4.
Although not shown, the line CCD 3, the line illumination LED 5, and the line target LED 6 are electrically connected to the line PC board 11, and are supplied and controlled by the line PC board 11. It is designed to drive.

【0017】前記エリアCCD7は、CCD素子をマト
リックス状( 約600×800画素)に配列して構成さ
れた正方形に近い長方形状( ヨーロッパ規格のCCIR
タイプ( 44万画素系CCD ) )であり、前記読取口2
-1に対してその下部、前記ラインCCD3より前方( 読
取カバー14に近い側 )に配置されており、前記読取口
2-1から入光された光画像を前記ラインCCD7の位置
で結像させる( 直径10mm程度の )組合せレンズ、外
乱光を防ぐと共に前記エリア用照明LED9から照射さ
れる光の波長のみ透過させるバンドパスフィルタ、絞り
値F11以上の絞り等から構成されたエリア用光学機構
部8が、前記エリアCCD7の前面に配置されている。
このエリア用光学機構部8の位置に対応して、読取面の
照度を均一にするため、各々指向特性の異なった660
nm高輝度LEDから構成された10個の前記エリア用
照明LED9が前記エリアCCD7を囲むように配置さ
れている。前記エリア用ターゲットLED10は超高輝
度のLEDから構成され、前記ライン用光学機構部8の
両側面に配置されている。前記エリアCCD7、前記エ
リア用照明LED9及び前記エリア用ターゲットLED
10は、図示しないが、前記エリア用PC板12と電気
的に接続されており、このエリア用PC板12から供給
・制御される電力により駆動するようになっている。
The area CCD 7 has a rectangular shape (a European standard CCIR) close to a square formed by arranging CCD elements in a matrix (about 600 × 800 pixels).
Type (440,000 pixel CCD), and the reading port 2
-1 is disposed below the line CCD 3 and in front of the line CCD 3 (on the side close to the reading cover 14), and an optical image incident from the reading port 2-1 is formed at the position of the line CCD 7. An area optical mechanism section 8 including a combination lens (having a diameter of about 10 mm), a bandpass filter for preventing ambient light and transmitting only the wavelength of the light emitted from the area illumination LED 9, an aperture having an aperture value of F11 or more, and the like. Are arranged in front of the area CCD 7.
In order to make the illuminance on the reading surface uniform according to the position of the area optical mechanism section 660, the directional characteristics are different from each other.
10 area illumination LEDs 9 composed of nm high-intensity LEDs are arranged so as to surround the area CCD 7. The area target LED 10 is composed of an ultra-high brightness LED, and is arranged on both side surfaces of the line optical mechanism portion 8. The area CCD 7, the area illumination LED 9, and the area target LED
Although not shown, 10 is electrically connected to the area PC board 12, and is driven by electric power supplied and controlled from the area PC board 12.

【0018】前記ライン用PC板11及び前記エリア用
PC板12は、前記読取口2-1に対してその下部、奥に
2層構造となるように配置されている。さらに、前記ラ
イン用PC板11及び前記エリア用PC板12は、図示
しないが、それぞれ前記制御回路部13と電気的に接続
されている。この制御回路部13は、このコードリーダ
1の握り部に配置され、この握り部の下端部から外部へ
伸びているインターフェイスケーブル21を介して外部
装置等と接続される。前記制御回路部13は、制御部本
体を構成するCPU( central processingunit )と、こ
のCPUが行う処理のプログラムデータが記憶されたR
OM(readonly memory)、CPUが処理を行う時に使用
する各種メモリのエリアが形成されたRAM(random ac
cess memory)、各種インターフェイス等がシステムバス
により接続されて構成されており、前記表示LED1
5、前記ブザー16及び前記トリガスイッチ17と電気
的に接続して駆動制御している。
The line PC board 11 and the area PC board 12 are arranged so as to have a two-layer structure below and behind the reading port 2-1. Further, although not shown, the line PC board 11 and the area PC board 12 are electrically connected to the control circuit unit 13, respectively. The control circuit unit 13 is arranged at the grip of the code reader 1 and is connected to an external device or the like via an interface cable 21 extending from the lower end of the grip to the outside. The control circuit unit 13 stores a CPU (central processing unit) that constitutes the main body of the control unit and an R that stores program data for processing performed by the CPU.
OM (read only memory), RAM (random ac) where various memory areas used when the CPU performs processing
cess memory), various interfaces, etc. are connected by a system bus, and the display LED 1
5, the buzzer 16 and the trigger switch 17 are electrically connected for drive control.

【0019】前記フレーム2の前記表示LED15の光
軸が通過する位置には、開口が形成され、この開口に
は、透明な樹脂板を嵌め込んだ表示窓2-2が形成されて
おり、前記フレーム2の前記ブザー16の近傍( 上方の
位置 )には、ブザー音を外部へ出力するためのブザー用
開口2-3が形成されている。前記トリガスイッチ17に
対しては、このコードリーダ1の握り部の人差し指がか
かる位置に、トリガスイッチ17をON動作させるピン
と復帰用のスプリングバネとを備えた引き金に類似した
形状のマニュアルトリガ操作部22が取付けられてい
る。
An opening is formed in the frame 2 at a position through which the optical axis of the display LED 15 passes, and a display window 2-2 in which a transparent resin plate is fitted is formed in the opening. A buzzer opening 2-3 for outputting a buzzer sound to the outside is formed in the vicinity of (above) the buzzer 16 of the frame 2. With respect to the trigger switch 17, a manual trigger operating portion having a shape similar to a trigger including a pin for turning on the trigger switch 17 and a spring spring for returning to a position where the index finger of the grip portion of the code reader 1 is applied. 22 is attached.

【0020】図3は、このコードリーダ1の要部回路構
成を示すブロック図である。CPU部31、フラッシュ
メモリ32、DRAM33、インターフェイス回路3
4、リセット回路35、ゲートアレイ36、データセレ
クタ37等により前記制御回路部13が構成されてい
る。前記CPU部31は、前述したように、CPUと、
ROM、RAM、DMA(direct memory access)回路、
各種インターフェイス等がそれぞれシステムバスにより
接続されて構成されている。前記ラインCCD3の各C
CD素子に蓄積された電荷( 反射光による光画像が変換
されたもの )は、前記CPU部31による読取タイミン
グ信号によりライン用データ収集回路38を介して( ラ
インの )順番に出力され、ライン用2値化回路39によ
り2値のデジタルデータに変換されて前記データセレク
タ37へ出力される。
FIG. 3 is a block diagram showing a circuit configuration of a main part of the code reader 1. CPU unit 31, flash memory 32, DRAM 33, interface circuit 3
4, the reset circuit 35, the gate array 36, the data selector 37 and the like constitute the control circuit unit 13. As described above, the CPU unit 31 includes the CPU,
ROM, RAM, DMA (direct memory access) circuit,
Various interfaces are connected by a system bus. Each C of the line CCD 3
The charges accumulated in the CD element (the one obtained by converting the optical image by the reflected light) are sequentially output (in line) through the line data collection circuit 38 by the read timing signal by the CPU section 31, and It is converted into binary digital data by the binarization circuit 39 and output to the data selector 37.

【0021】一方、前記エリアCCD7の各CCD素子
に蓄積された電荷は、前記CPU部31による読取タイ
ミング信号によりエリア用データ収集回路40を介して
テレビジョンの走査線のように順番に出力され、エリア
用2値化回路41により2値のデジタルデータに変換さ
れて前記データセレクタ37へ出力される。前記ゲート
アレイ36には、前記ライン用照明LED5、前記ライ
ン用ターゲット用LED6、前記エリア用照明LED
9、前記エリア用ターゲットLED10、前記データセ
レクタ37が接続されていると共に、( INTC端子及
びI/O端子を介して )前記CPU部31に接続され
て、このCPU部31により制御されるようになってお
り、前記表示LED15、前記ブザー16、前記トリガ
スイッチ17、前記リセット回路35、前記インターフ
ェイス回路34、外部装置からのトリガ信号が入力され
る外部トリガ部42、このコードリーダ1を初期化( リ
セット状態に )するリセットスイッチ43と接続されて
いる。
On the other hand, the electric charges accumulated in each CCD element of the area CCD 7 are sequentially output like a scanning line of a television through the area data collecting circuit 40 by a reading timing signal from the CPU section 31, It is converted into binary digital data by the area binarization circuit 41 and output to the data selector 37. The gate array 36 includes the line illumination LED 5, the line target LED 6, and the area illumination LED.
9. The area target LED 10 and the data selector 37 are connected and connected to the CPU section 31 (via the INTC terminal and the I / O terminal) to be controlled by the CPU section 31. The display LED 15, the buzzer 16, the trigger switch 17, the reset circuit 35, the interface circuit 34, an external trigger unit 42 to which a trigger signal from an external device is input, and the code reader 1 are initialized ( It is connected to the reset switch 43 which is in the reset state.

【0022】前記ゲートアレイ36は、前記データセレ
クタ37を制御して前記ラインCCD3から得られた2
値化データ( 画像データ )又は前記エリアCCD7から
得られた2値化データ( 画像データ )もいずれか一方を
入力する。この入力された2値化データ( 画像データ )
は、前記CPU部31の内部に設けられたDMA回路の
制御により、CPUの制御を介さないで、前記DRAM
33に一時的に記憶されるようになっている。
The gate array 36 controls the data selector 37 to obtain 2 lines from the line CCD 3.
Either the binarized data (image data) or the binarized data (image data) obtained from the area CCD 7 is input. This input binary data (image data)
Is controlled by a DMA circuit provided inside the CPU section 31 without the control of the CPU.
It is designed to be temporarily stored in 33.

【0023】前記CPU部31の読取処理によりコード
データに変換される。このコードデータ及びコードデー
タに変換する前の画像データは、前記インターフェイス
回路34へ転送され、さらに、このインターフェイス回
路34から前記インターフェイスケーブル21を介して
外部へ転送される。前記トリガスイッチ17及び前記外
部トリガ部42からのトリガ信号は、OR論理で合成さ
れて、前記ゲートアレイ36及び前記リセット回路35
に入力される。
It is converted into code data by the reading process of the CPU section 31. The code data and the image data before being converted into the code data are transferred to the interface circuit 34, and further transferred from the interface circuit 34 to the outside via the interface cable 21. Trigger signals from the trigger switch 17 and the external trigger unit 42 are combined by OR logic to generate the gate array 36 and the reset circuit 35.
Entered in.

【0024】図4は、前記マニュアルトリガ操作部22
がON操作されて前記トリガスイッチ17からトリガ信
号が入力されたときに、前記CPU部1が行うトリガ割
込処理の流れを示す図である。まず、ステップ1( ST
1 )の処理として、トリガスイッチ17からのトリガ信
号がOFF状態( 例えばハイレベルからローレベル )に
なったか否かを判断する。
FIG. 4 shows the manual trigger operating section 22.
FIG. 7 is a diagram showing a flow of a trigger interrupt process performed by the CPU unit 1 when the is turned on and a trigger signal is input from the trigger switch 17. First, step 1 (ST
As the process 1), it is determined whether or not the trigger signal from the trigger switch 17 is in the OFF state (for example, from high level to low level).

【0025】ここで、トリガ信号がOFF状態にはなっ
ていないと判断すると、トリガ信号がON状態( 例えば
ローレベルからハイレベル )になった時から、すなわ
ち、この割込が発生した時から予め設定された規定時間
が経過したか否かを判断する。ここで、規定時間が経過
したと判断すると、すなわち、操作者はマニュアルトリ
ガ操作部22を規定時間以上ON操作し続けていると判
断し、ステップ2( ST2 )の処理として、コード種A
( 例えばバーコードならば、ラインCCD3系統を動作
させて、 )の読取りを行い、画像読取りからデコードま
での処理を行う。
If it is determined that the trigger signal is not in the OFF state, the trigger signal is turned on (for example, from low level to high level), that is, from the time when this interrupt occurs. It is determined whether the set specified time has elapsed. Here, if it is determined that the specified time has elapsed, that is, the operator determines that the manual trigger operation unit 22 has been ON-operated for a specified time or longer, and as the processing of step 2 (ST2), the code type A
(For example, in the case of a bar code, the line CCD 3 system is operated to read), and processing from image reading to decoding is performed.

【0026】このとき、画像読取りからデコードまでの
処理が成功したか否かにより、読取りが成功したか否か
を判断する。ここで、読取りは成功しなかったと判断す
ると、トリガスイッチ17からのトリガ信号がすでにO
FF状態になっているか否かを判断する。ここで、トリ
ガ信号がOFF状態になっていないと判断すると、再び
前述のステップ2の処理へ戻るようになっている。ま
た、トリガ信号がすでにOFF状態になっていると判断
すると、表示LED15の赤色のLEDを点灯して、エ
ラー処理を行うようになっている。
At this time, it is determined whether or not the reading is successful depending on whether or not the processing from the image reading to the decoding is successful. If it is determined that the reading has not been successful, the trigger signal from the trigger switch 17 has already reached O.
It is determined whether or not it is in the FF state. Here, if it is determined that the trigger signal is not in the OFF state, the process returns to the above step 2 again. Further, when it is determined that the trigger signal is already in the OFF state, the red LED of the display LED 15 is turned on and error processing is performed.

【0027】また、読取りが成功したと判断すると、表
示LED15の緑色のLEDを連続点灯し、デコード成
功したコード種Aのコードデータの先頭にAヘッダ( バ
ーコードを示すヘッダデータ )を付加して、インターフ
ェイス回路34からインターフェイスケーブル21を介
して外部装置へ送信する。この送信処理を終了すると、
このトリガ割込処理を終了するようになっている。
When it is determined that the reading is successful, the green LED of the display LED 15 is continuously turned on, and the A header (header data indicating the bar code) is added to the head of the code data of the code type A that has been successfully decoded. , From the interface circuit 34 to the external device via the interface cable 21. When this transmission process ends,
The trigger interrupt process is ended.

【0028】前述のステップ1の処理で、トリガスイッ
チ17からのトリガ信号がOFF状態になったと判断す
ると、すなわち、操作者はマニュアルトリガ操作部22
を規定時間が経過する前にON操作を解除したと判断し
て、コード種B( 例えば2次元マトリックスコードなら
ば、エリアCCD7系統を動作させて )の読取りを行
い、画像読取りからデコードまでの処理を行う。
When it is determined that the trigger signal from the trigger switch 17 is in the OFF state in the process of step 1 described above, that is, the operator operates the manual trigger operating section 22.
It is determined that the ON operation has been canceled before the specified time has elapsed, and the code type B (for example, in the case of a two-dimensional matrix code, the area CCD 7 system is operated) is read, and the processing from image reading to decoding I do.

【0029】このとき、画像読取りからデコードまでの
処理が成功したか否かにより、読取りが成功したか否か
を判断する。ここで、読取りは成功しなかったと判断す
ると、表示LED15の赤色のLEDを点灯して、エラ
ー処理を行うようになっている。
At this time, whether or not the reading is successful is determined depending on whether or not the processing from the image reading to the decoding is successful. If it is determined that the reading has not succeeded, the red LED of the display LED 15 is turned on and error processing is performed.

【0030】また、読取りが成功したと判断すると、表
示LED15の緑色のLEDを間欠的に点灯させる点滅
を行い、デコード成功したコード種Bのコードデータの
先頭にBヘッダ( 2次元マトリックスコードを示すヘッ
ダデータ )を付加して、インターフェイス回路34から
インターフェイスケーブル21を介して外部装置へ送信
する。この送信処理を終了すると、このトリガ割込処理
を終了するようになっている。
When it is determined that the reading is successful, the green LED of the display LED 15 is intermittently lit to blink, and the B header (two-dimensional matrix code is shown at the beginning of the code data of the successfully decoded code type B is shown. Header data) and is transmitted from the interface circuit 34 to the external device via the interface cable 21. When this transmission process is completed, this trigger interrupt process is completed.

【0031】このような構成の第1の実施の形態におい
ては、例えば図8に示すようなラベル101からコード
102,103を取りたい場合には、コード種Aとして
バーコード、コード種Bとしてマトリックスコードを予
め設定しておく。すると、マニュアルトリガ操作部22
を規定時間以上ON操作し続けることにより、ラインC
CD3の系統が駆動して、ラベル101のバーコード1
02が読取られデコードされる。
In the first embodiment having such a structure, for example, when it is desired to take the codes 102 and 103 from the label 101 as shown in FIG. 8, a bar code is used as the code type A and a matrix is used as the code type B. Set the code in advance. Then, the manual trigger operation unit 22
By keeping ON for more than the specified time, line C
The bar code 1 of label 101 is driven by the CD3 system
02 is read and decoded.

【0032】さらに、マニュアルトリガ操作部22をO
N操作し続けることにより、バーコード102を繰り返
し読取る連続読取りが読取りが成功するまで実行され
る。この複数回の読取りによって、読取りミスを防止し
て確実にバーコードの読取りを成功させることができ
る。
Further, the manual trigger operating section 22 is turned on.
By continuing the N operation, the continuous reading for repeatedly reading the barcode 102 is executed until the reading is successful. By reading this a plurality of times, it is possible to prevent reading mistakes and ensure successful bar code reading.

【0033】このデコードが成功すると、表示用LED
15の緑色のLEDが連続点灯し、デコードされたコー
ドデータ( バーコードデータ )の先頭にバーコードを示
すAヘッダが付加されて( 例えばバーコードデータ01
23456789とすると、A0123456789と
なる )、インターフェイス回路34及びインターフェイ
スケーブル21を介して外部装置へ送信される。一方、
マニュアルトリガ操作部22を規定時間未満で開放( O
N操作を解除 )することにより、エリアCCD7の系統
が駆動して、ラベル101のマトリックスコード103
が読取られデコードされる。このデコードが成功する
と、表示用LED15の緑色のLEDが間欠的に点灯す
る点滅を行い、デコードされたコードデータ( マトリッ
クスコードデータ )の先頭にマトリックスコードを示す
Bヘッダが付加されて( 例えばマトリックスコードデー
タ9876543210とするとB987654321
0となる )、インターフェイス回路34及びインターフ
ェイスケーブル21を介して外部装置へ送信される。
If this decoding is successful, the display LED
The 15 green LEDs are lit continuously, and an A header indicating a bar code is added to the beginning of the decoded code data (bar code data) (for example, bar code data 01
23456789), the data is transmitted to the external device via the interface circuit 34 and the interface cable 21. on the other hand,
Open the manual trigger operating part 22 in less than the specified time (O
By releasing N operation), the system of the area CCD 7 is driven, and the matrix code 103 of the label 101
Is read and decoded. When this decoding is successful, the green LED of the display LED 15 blinks intermittently and the decoded code data (matrix code data) is added with a B header indicating the matrix code (for example, matrix code). If the data is 9876543210, B987654321
0), and is transmitted to the external device via the interface circuit 34 and the interface cable 21.

【0034】このようにこの第1の実施の形態によれ
ば、バーコードの読取りか又はマトリックスコードの読
取りかの選択を、すなわち、ラインCCD3系統及びエ
リアCCD7系統の選択をマニュアルトリガ操作部22
のON操作の継続時間により行うことができる。従っ
て、読取るコード種類を選択することができ、その選択
に基づいて最適な読取り処理を実行することができる。
また、この第1の実施の形態では、マニュアルトリガ操
作部22をON操作し続けることにより、連続読取りが
可能になっているので、例えばバーコード等の読取り処
理が比較的に短時間で済むものでは、効率的により正確
なコード読取りが実現することができる。
As described above, according to the first embodiment, the manual trigger operation unit 22 selects whether to read the bar code or the matrix code, that is, to select the line CCD 3 system and the area CCD 7 system.
It can be performed depending on the duration of ON operation. Therefore, the code type to be read can be selected, and the optimum reading process can be executed based on the selection.
Further, in the first embodiment, continuous reading is possible by continuously turning on the manual trigger operating unit 22, so that the reading process of, for example, a bar code can be completed in a relatively short time. In, it is possible to efficiently and more accurately read the code.

【0035】また、マニュアルトリガ操作部22のON
操作の継続時間により選択したコード種類すなわち読取
りセンサ系統を表示LED15により区別して表示する
ことができるので、選択したコード種類すなわち読取り
センサ系統を視覚的に確認することができる。さらに、
マニュアルトリガ操作部22のON操作の継続時間によ
り選択したコード種類の、すなわち選択した読取りセン
サ系統により読取ったコードデータに対して、コード種
類を示すヘッダA又はヘッダBを付加して外部装置へ送
信することにより、外部装置側で受信したコードデータ
のコード種類( 読取りセンサ系統 )を確認することがで
きる。
Further, the manual trigger operation unit 22 is turned on.
The selected code type, that is, the reading sensor system can be distinguished and displayed by the display LED 15 according to the duration of the operation, so that the selected code type, that is, the reading sensor system can be visually confirmed. further,
A header A or a header B indicating the code type is added to the code data of the code type selected according to the duration of the ON operation of the manual trigger operation unit 22, that is, the code data read by the selected reading sensor system and transmitted to an external device. By doing so, the code type (reading sensor system) of the code data received by the external device side can be confirmed.

【0036】この発明の第2の実施の形態を図5を参照
して説明する。なお、この第2の実施の形態は、前述の
第1の実施の形態の構成と同一の構成であり、トリガ割
込処理の内容が異なるだけなので、同一部材には同一符
号を付してその説明は省略する。図5は、前記マニュア
ルトリガ操作部22がON操作されて前記トリガスイッ
チ17からトリガ信号が入力されたときに、前記CPU
部1が行うトリガ割込処理の流れを示す図である。
A second embodiment of the present invention will be described with reference to FIG. The second embodiment has the same configuration as that of the first embodiment described above, and only the content of the trigger interrupt process is different. Therefore, the same members are designated by the same reference numerals. The description is omitted. FIG. 5 shows the CPU when the manual trigger operating unit 22 is turned on and a trigger signal is input from the trigger switch 17.
It is a figure which shows the flow of the trigger interruption process which the part 1 performs.

【0037】まず、ステップ3( ST3 )の処理とし
て、トリガスイッチ17から2回目のトリガ信号が発生
した( 入力された )か否かを判断する。ここで、2回目
のトリガ信号は発生していないと判断すると、1回目の
トリガが発生した時から、すなわち、この割込が発生し
た時から予め設定された規定時間が経過したか否かを判
断する。
First, as the processing of step 3 (ST3), it is determined whether or not the second trigger signal is generated (input) from the trigger switch 17. Here, if it is determined that the second trigger signal is not generated, it is determined whether or not a preset specified time has elapsed since the first trigger, that is, when this interrupt occurred. to decide.

【0038】ここで、規定時間が経過したと判断する
と、コード種A( 例えばバーコードならば、ラインCC
D3系統を動作させて、 )の読取りを行い、画像読取り
からデコードまでの処理を行う。このとき、画像読取り
からデコードまでの処理が成功したか否かにより、読取
りが成功したか否かを判断する。ここで、読取りが成功
しなかったと判断すると、表示LED15の赤色のLE
Dを点灯して、エラー処理を行うようになっている。
また、読取りが成功したと判断すると、表示LED15
の緑色のLEDを連続点灯し、ブザー16により長い通
知音を1回発生させ、デコード成功したコード種Aのコ
ードデータの先頭にAヘッダ( 例えばバーコードを示す
ヘッダ )を付加して、インターフェイス回路34を介し
て外部装置へ送信する。この送信処理を終了すると、こ
のトリガ割込処理を終了するようになっている。
If it is determined that the specified time has elapsed, the code type A (for example, if it is a bar code, the line CC
The D3 system is operated to read), and the processing from image reading to decoding is performed. At this time, it is determined whether or not the reading is successful depending on whether or not the processing from the image reading to the decoding is successful. If it is determined that the reading is not successful, the red LE of the display LED 15
An error is processed by turning on D.
When it is determined that the reading is successful, the display LED 15
The green LED of is continuously turned on, the buzzer 16 generates a long notification sound once, and an A header (for example, a header indicating a bar code) is added to the head of the code data of the code type A that has been successfully decoded, and the interface circuit To an external device via 34. When this transmission process is completed, this trigger interrupt process is completed.

【0039】前述のステップ3の処理で、トリガスイッ
チ17から2回目のトリガ信号が発生したと判断する
と、コード種B( 例えば2次元マトリックスコードなら
ば、エリアCCD7系統を動作させて )の読取りを行
い、画像読取りからデコードまでの処理を行う。このと
き、画像読取りからデコードまでの処理が成功したか否
かにより、読取りが成功したか否かを判断する。ここ
で、読取りは成功しなかったと判断すると、表示LED
15の赤色のLEDを点灯して、エラー処理を行うよう
になっている。 また、読取りが成功したと判断する
と、表示LED15の緑色のLEDを間欠的に点灯させ
る点滅を行い、ブザー16により短い通知音を間欠的に
2回発生させ、デコード成功したコード種Bのコードデ
ータの先頭にBヘッダ( 例えば2次元マトリックスコー
ドを示すヘッダデータ )を付加して、インターフェイス
回路34を介して外部装置へ送信する。この送信処理を
終了すると、このトリガ割込処理を終了するようになっ
ている。
When it is judged that the second trigger signal is generated from the trigger switch 17 in the processing of step 3 described above, the code type B (for example, in the case of a two-dimensional matrix code, the area CCD 7 system is operated) is read. Then, the process from image reading to decoding is performed. At this time, it is determined whether or not the reading is successful depending on whether or not the processing from the image reading to the decoding is successful. If it is judged that the reading was not successful, the display LED
Error processing is performed by turning on the red LED of 15. When it is determined that the reading is successful, the green LED of the display LED 15 is intermittently turned on and off, and the buzzer 16 intermittently makes two short notification sounds to generate the code data of the code type B that has been successfully decoded. B header (for example, header data indicating a two-dimensional matrix code) is added to the head of the header and is transmitted to an external device via the interface circuit 34. When this transmission process is completed, this trigger interrupt process is completed.

【0040】このような構成の第2の実施の形態におい
ては、マニュアルトリガ操作部22を1回だけON操作
することにより、ラインCCD3の系統が駆動して、ラ
ベル101のバーコード102が読取られデコードされ
る。このデコードが成功すると、表示用LED15の緑
色のLEDが連続点灯し、ブザー16が1回の長い通知
音を発生させ、デコードされたコードデータ( バーコー
ドデータ )の先頭にバーコードを示すAヘッダが付加さ
れて、インターフェイス回路34及びインターフェイス
ケーブル21を介して外部装置へ送信される。
In the second embodiment having such a structure, the system of the line CCD 3 is driven and the bar code 102 of the label 101 is read by operating the manual trigger operating section 22 only once. Is decoded. When this decoding is successful, the green LED of the display LED 15 is continuously lit, the buzzer 16 generates one long notification sound, and the A header indicating the bar code at the beginning of the decoded code data (bar code data) Is added and transmitted to an external device via the interface circuit 34 and the interface cable 21.

【0041】一方、マニュアルトリガ操作部22を規定
時間以内で2回ON操作することにより、エリアCCD
7の系統が駆動して、ラベル101のマトリックスコー
ド103が読取られデコードされる。このデコードが成
功すると、表示用LED15の緑色のLEDが間欠的に
点灯する点滅を行い、ブザー16が2回の短い通知音を
発生させ、デコードされたコードデータ( マトリックス
コードデータ )の先頭にマトリックスコードを示すBヘ
ッダが付加されて、インターフェイス回路34及びイン
ターフェイスケーブル21を介して外部装置へ送信され
る。
On the other hand, by turning on the manual trigger operating section 22 twice within the specified time, the area CCD
7 system is driven, and the matrix code 103 of the label 101 is read and decoded. If this decoding is successful, the green LED of the display LED 15 blinks intermittently, and the buzzer 16 makes two short notification sounds, and the matrix at the beginning of the decoded code data (matrix code data) A B header indicating a code is added and transmitted to an external device via the interface circuit 34 and the interface cable 21.

【0042】このようにこの第2の実施の形態によれ
ば、バーコードの読取りか又はマトリックスコードの読
取りかの選択を、すなわち、ラインCCD3系統及びエ
リアCCD7系統の選択をマニュアルトリガ操作部22
のON操作の回数により行うことができる。従って、前
述した第1の実施の形態とほぼ同様な効果を得ることが
できる。さらに、この第2の実施の形態では、マニュア
ルトリガ操作部22のON操作の回数により選択したコ
ード種類を、すなわち選択した読取りセンサ系統をブザ
ー16によるブザー音の違いにより区別して通知するこ
とができるので、選択したコード種類すなわち読取りセ
ンサ系統を聴覚的に確認することができる。
As described above, according to the second embodiment, the manual trigger operation unit 22 is used to select whether to read the bar code or the matrix code, that is, to select the line CCD 3 system and the area CCD 7 system.
It can be performed by the number of times of ON operation of. Therefore, it is possible to obtain substantially the same effects as those of the first embodiment described above. Further, in the second embodiment, it is possible to notify the selected code type by the number of ON operations of the manual trigger operation unit 22, that is, the selected reading sensor system by distinguishing the buzzer sound by the buzzer 16. Therefore, it is possible to auditorily confirm the selected code type, that is, the reading sensor system.

【0043】この発明の第3の実施の形態を図6及び図
7を参照して説明する。なお、この第3の実施の形態
は、前述の第1の実施の形態の構成と同一の構成であ
り、トリガ割込処理及びその関連する処理が異なるだけ
なので、同一部材には同一符号を付してその説明は省略
する。図6( a )は、前記インターフェイス回路34を
介して外部装置から通信データが入力された時に、前記
CPU部1が行う通信割込処理の流れを示す図である。
A third embodiment of the present invention will be described with reference to FIGS. 6 and 7. The third embodiment has the same configuration as that of the first embodiment described above, and only the trigger interrupt process and its related process are different. Therefore, the same reference numerals are given to the same members. The description thereof will be omitted. FIG. 6A is a diagram showing a flow of communication interrupt processing performed by the CPU unit 1 when communication data is input from an external device via the interface circuit 34.

【0044】まず、入力されたデータ( コマンドを含む
)が、コード種類を指定するためのコード種指定コマン
ドか否かを判断する。ここで、コード種指定コマンドで
ないと判断すると、他のコマンド処理を行い、この他の
コマンド処理を終了するとこの通信割込処理を終了する
ようになっている。また、コード種指定コマンドである
と判断すると、読取るコード種類をセットするためのC
PU部31のメモリ( RAMの作業領域 )に形成された
パラメータ( 領域 )に、そのコード種指定コマンドによ
り指定されたコード種類をセットして、この通信割込処
理を終了するようになっている。
First, input data (including a command
) Is a code type designation command for designating a code type. Here, if it is determined that the command is not the code type designation command, another command process is performed, and when the other command process is finished, the communication interrupt process is finished. When it is determined that the command is the code type designation command, C for setting the code type to be read
The code type designated by the code type designation command is set in the parameter (area) formed in the memory (work area of RAM) of the PU unit 31, and this communication interrupt processing is ended. .

【0045】図6( b )は、後述するトリガ割込処理に
おいて行われるコード種A読取りの処理及びコード種B
読取りの処理の中で、デコードの処理が終了した時に、
行う特殊コード判定処理の流れを示す図である。まず、
デコードして得たコードが、特殊のコマンド通知用コー
ドか否かを判断する。ここで、デコードして得たコード
が特殊のコマンド通知用コードではないと判断すると、
このままこの特殊コード判定処理を終了して、再びトリ
ガ割込処理に戻るようになっている。また、デコードし
て得たコードが、特殊のコマンド通知用コードと判断す
ると、読取るコード種類をセットするCPU部31のメ
モリ( RAMの作業領域 )に形成されたパラメータ( 領
域 )に、そのデコードした特殊のコマンド通知用コード
により指定されたコード種類をセットして、この特殊コ
ード判定処理を終了して、再びトリガ割込処理に戻るよ
うになっている。
FIG. 6B shows the code type A reading process and the code type B performed in the trigger interrupt process described later.
During the reading process, when the decoding process is completed,
It is a figure which shows the flow of the special code determination process performed. First,
It is determined whether the code obtained by decoding is a special command notification code. Here, if it is judged that the code obtained by decoding is not a special command notification code,
The special code determination process is terminated as it is, and the process returns to the trigger interrupt process again. When the code obtained by decoding is judged to be a special command notification code, it is decoded in the parameter (area) formed in the memory (work area of RAM) of the CPU section 31 for setting the code type to be read. The code type designated by the special command notification code is set, the special code determination process is terminated, and the process returns to the trigger interrupt process again.

【0046】図7は、前記マニュアルトリガ操作部22
がON操作されて前記トリガスイッチ17からトリガ信
号が入力されたときに、前記CPU部1が行うトリガ割
込処理の流れを示す図である。まず、読取るコード種類
をセットしたパラメータをチェックするパラメータチェ
ックを行い、ステップ4( ST4 )の処理として、パラ
メータにセットしたコード種類がコード種Aか否かを判
断する。
FIG. 7 shows the manual trigger operating section 22.
FIG. 7 is a diagram showing a flow of a trigger interrupt process performed by the CPU unit 1 when the is turned on and a trigger signal is input from the trigger switch 17. First, a parameter check is performed to check the parameter in which the code type to be read is set, and it is determined in step 4 (ST4) whether the code type set in the parameter is the code type A or not.

【0047】ここで、パラメータにセットしたコード種
類がコード種Aであると判断すると、コード種A( 例え
ばバーコードならば、ラインCCD3系統を動作させ
て、 )の読取りを行い、画像読取りからデコードまでの
処理を行う。このとき、画像読取りからデコードまでの
処理が成功したか否かにより、読取りが成功したか否か
を判断する。ここで、読取りが成功しなかったと判断す
ると、表示LED15の赤色のLEDを点灯して、エラ
ー処理を行うようになっている。
If it is determined that the code type set in the parameter is the code type A, then the code type A (for example, in the case of a bar code, the line CCD 3 system is operated) is read and the image reading is decoded. Process up to. At this time, it is determined whether or not the reading is successful depending on whether or not the processing from the image reading to the decoding is successful. If it is determined that the reading has not succeeded, the red LED of the display LED 15 is turned on and error processing is performed.

【0048】また、読取りが成功したと判断すると、表
示LED15の緑色のLEDを連続点灯し、ブザー16
により長い通知音を1回発生させ、デコード成功したコ
ード種Aのコードデータの先頭にAヘッダ( 例えばバー
コードを示すヘッダ )を付加して、インターフェイス回
路34を介して外部装置へ送信する。この送信処理を終
了すると、このトリガ割込処理を終了するようになって
いる。
When it is determined that the reading is successful, the green LED of the display LED 15 is continuously turned on and the buzzer 16
A longer notification sound is generated once, an A header (for example, a header indicating a bar code) is added to the head of the code data of the code type A that has been successfully decoded, and the result is transmitted to the external device via the interface circuit 34. When this transmission process is completed, this trigger interrupt process is completed.

【0049】前述のステップ4の処理で、パラメータに
セットしたコード種類がコード種Aではない、すなわち
コード種Bであると判断すると、コード種B( 例えば2
次元マトリックスコードならば、エリアCCD7系統を
動作させて )の読取りを行い、画像読取りからデコード
までの処理を行う。このとき、画像読取りからデコード
までの処理が成功したか否かにより、読取りが成功した
か否かを判断する。ここで、読取りは成功しなかったと
判断すると、表示LED15の赤色のLEDを点灯し
て、エラー処理を行うようになっている。
When it is judged in the processing of step 4 that the code type set in the parameter is not the code type A, that is, the code type B, the code type B (for example, 2
If it is a dimensional matrix code, the area CCD 7 system is operated to read), and processing from image reading to decoding is performed. At this time, it is determined whether or not the reading is successful depending on whether or not the processing from the image reading to the decoding is successful. If it is determined that the reading has not succeeded, the red LED of the display LED 15 is turned on and error processing is performed.

【0050】また、読取りが成功したと判断すると、表
示LED15の緑色のLEDを間欠的に点灯させる点滅
を行い、ブザー16により短い通知音を間欠的に2回発
生させ、デコード成功したコード種Bのコードデータの
先頭にBヘッダ( 例えば2次元マトリックスコードを示
すヘッダデータ )を付加して、インターフェイス回路3
4を介して外部装置へ送信する。この送信処理を終了す
ると、このトリガ割込処理を終了するようになってい
る。
When it is determined that the reading is successful, the green LED of the display LED 15 is blinked to intermittently turn on, and the buzzer 16 intermittently generates two short notification sounds to decode the successfully decoded code B. A B header (for example, header data indicating a two-dimensional matrix code) is added to the beginning of the code data of the interface circuit 3
4 to an external device. When this transmission process is completed, this trigger interrupt process is completed.

【0051】このような構成の第3の実施の形態におい
ては、予め外部装置からインターフェイスケーブル21
及びインターフェイス回路34を介して、コード種指定
コマンドが入力され、このコード種指定コマンドにより
指定されたコード種類がパラメータにセットされる。あ
るいは、コード種類をセットするための特殊のコマンド
通知用バーコード(マトリックスコードを指定するコマ
ンドデータとなる )又は特殊のコマンド通知用マトリッ
クスコード( バーコードを指定するコマンドデータとな
る )を用意しておき、いずれかのコードを読取ることに
より、そのコードデータにより指定されたコード種類が
パラメータにセットされる。
In the third embodiment having such a structure, the interface cable 21 is previously provided from an external device.
A code type designation command is input via the interface circuit 34, and the code type designated by the code type designation command is set in the parameter. Alternatively, prepare a special command notification bar code (which becomes the command data that specifies the matrix code) or a special command notification matrix code (which becomes the command data that specifies the bar code) for setting the code type. Then, by reading one of the codes, the code type designated by the code data is set in the parameter.

【0052】パラメータにバーコードがセットされてい
ると、ラインCCD3の系統が駆動して、ラベル101
のバーコード102が読取られデコードされる。このデ
コードが成功すると、表示用LED15の緑色のLED
が連続点灯し、ブザー16が1回の長い通知音を発生さ
せ、デコードされたコードデータ( バーコードデータ)
の先頭にバーコードを示すAヘッダが付加されて、イン
ターフェイス回路34及びインターフェイスケーブル2
1を介して外部装置へ送信される。
When the bar code is set in the parameter, the system of the line CCD 3 is driven and the label 101
Barcode 102 is read and decoded. If this decoding is successful, the green LED of the display LED 15
Lights continuously, the buzzer 16 makes one long notification sound, and the decoded code data (bar code data)
A header indicating a barcode is added to the head of the interface circuit 34 and the interface cable 2
1 to an external device.

【0053】一方、パラメータにマトリックスコードが
セットされていると、エリアCCD7の系統が駆動し
て、ラベル101のマトリックスコード103が読取ら
れデコードされる。このデコードが成功すると、表示用
LED15の緑色のLEDが間欠的に点灯する点滅を行
い、ブザー16が2回の短い通知音を発生させ、デコー
ドされたコードデータ( マトリックスコードデータ )の
先頭にマトリックスコードを示すBヘッダが付加され
て、インターフェイス回路34及びインターフェイスケ
ーブル21を介して外部装置へ送信される。
On the other hand, when the matrix code is set in the parameter, the system of the area CCD 7 is driven and the matrix code 103 of the label 101 is read and decoded. If this decoding is successful, the green LED of the display LED 15 blinks intermittently, and the buzzer 16 makes two short notification sounds, and the matrix at the beginning of the decoded code data (matrix code data) A B header indicating a code is added and transmitted to an external device via the interface circuit 34 and the interface cable 21.

【0054】このようにこの第3の実施の形態によれ
ば、バーコードの読取りか又はマトリックスコードの読
取りかの選択を、すなわち、ラインCCD3系統及びエ
リアCCD7系統の選択をパラメータ設定により行うこ
とができる。従って、前述した第2の実施の形態とほぼ
同様な効果を得ることができる。なお、この第3の実施
の形態では、通信によるパラメータ設定と特殊のコマン
ド通知用コードの読取りによるパラメータ設定との2つ
の方法を併用したものについて説明したが、この発明は
これに限定されるものではなく、いずれか一方のみを使
用したもので良いものである。
As described above, according to the third embodiment, the selection of the reading of the bar code or the reading of the matrix code, that is, the selection of the line CCD 3 system and the area CCD 7 system can be performed by the parameter setting. it can. Therefore, it is possible to obtain substantially the same effect as that of the second embodiment described above. In addition, in the third embodiment, description has been made of a method in which two methods of the parameter setting by communication and the parameter setting by reading the special command notification code are used in combination, but the present invention is not limited to this. Instead, only one of them may be used.

【0055】なお、上述した各実施の形態において、コ
ード種Aをバーコード、コード種Bをマトリックスコー
ドとして、コード種Aに対してラインCCD3系統を駆
動するようにし、コード種Bに対してエリアCCD7系
統を駆動するようにしたものについて説明したが、コー
ド種A及びコード種Bの設定は、操作者が任意に設定で
きるものであり、例えばコード種Aに対してエリアCC
D7系統を駆動し、コード種Bに対してラインCCD3
系統を駆動するようにしても良いものである。また、上
述した各実施の形態において、表示LED15を使用し
て、コード種Aを緑色点灯により表示し、コード種Bを
緑色点滅により表示し、読取りエラーを赤色点灯により
表示したものについて説明したが、この発明はこれに限
定されるものではなく、例えば、コード種Aとコード種
Bとを区別して表示する方法として、表示色を変えて区
別しても良く、また表示時間の長短により区別しても良
く、また複数種のコード種に対して複数個の表示LED
を備えて、読取っているコード種に対応する表示LED
を表示させても良いものである。
In each of the above-mentioned embodiments, the code type A is a bar code, the code type B is a matrix code, and three line CCDs are driven for the code type A, and the area for the code type B is Although the system in which the CCD 7 system is driven has been described, the operator can arbitrarily set the code type A and the code type B. For example, the area CC for the code type A can be set.
D7 system is driven, and line CCD3 for code type B
The system may be driven. Further, in each of the above-described embodiments, the display LED 15 is used to display the code type A by lighting in green, the code type B by blinking in green, and the reading error by lighting in red. However, the present invention is not limited to this. For example, as a method of displaying the code type A and the code type B separately, the display color may be changed and the display time may be changed. Good and multiple display LEDs for multiple code types
Equipped with a display LED corresponding to the code type being read
May be displayed.

【0056】また、ブザー16を使用して、コード種A
を1回の長い通知音により通知し、コード種Bを2回の
短い通知音により通知したものについて説明したが、こ
の発明はこれに限定されるものではないものである。な
お、第1の実施の形態においは、表示LED15による
表示のみを行うようになっていたが、また、第2の実施
の形態及び第3の実施の形態においては、表示LED1
5による表示とブザー16による通知とを行うようにな
っていたが、選択したコード種類の表示・通知、すなわ
ちラインCCD3系統とエリアCCD7系統のうち選択
した系統の表示・通知が目的であるので、表示LED1
5による視覚的表示とブザー16による聴覚的通知のい
ずれか一方だけでも良く、その選択も用途に合わせて自
由に選択できるものである。
Further, using the buzzer 16, the cord type A
In the above description, the notification is given by one long notification sound and the code type B is notified by two short notification sounds, but the present invention is not limited to this. In addition, in the first embodiment, only the display by the display LED 15 is performed, but in the second and third embodiments, the display LED 1 is used.
Although the display by 5 and the notification by the buzzer 16 are performed, the purpose is to display / notify the selected code type, that is, to display / notify the system selected from the line CCD 3 system and the area CCD 7 system. Display LED1
Either of the visual display by 5 and the audible notification by the buzzer 16 may be used, and the selection can be freely selected according to the application.

【0057】[0057]

【発明の効果】以上詳述したようにこの発明によれば、
読取るコード種類を選択することができ、その選択に基
づいて最適な読取り処理を実行することができるコード
リーダを提供できる。
As described above in detail, according to the present invention,
It is possible to provide a code reader capable of selecting a code type to be read and executing an optimum reading process based on the selection.

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

【図1】この発明の第1の実施の形態の非接触式携帯型
ガンタイプのコードリーダの要部構成を示す側面断面
図。
FIG. 1 is a side sectional view showing a configuration of a main part of a non-contact type portable gun type code reader according to a first embodiment of the present invention.

【図2】同実施の形態のコードリーダの概略を示す概略
の外観図。
FIG. 2 is a schematic external view showing the outline of the code reader of the same embodiment.

【図3】同実施の形態のコードリーダの要部回路構成を
示すブロック図。
FIG. 3 is a block diagram showing a circuit configuration of a main part of the code reader according to the embodiment.

【図4】同実施の形態のコードリーダで行うトリガ割込
処理の流れを示す図。
FIG. 4 is a diagram showing a flow of a trigger interrupt process performed by the code reader according to the embodiment.

【図5】この発明の第2の実施の形態のコードリーダで
行うトリガ割込処理の流れを示す図。
FIG. 5 is a diagram showing a flow of trigger interrupt processing performed by the code reader according to the second embodiment of the present invention.

【図6】この発明の第3の実施の形態のコードリーダで
行う通信割込処理及び特殊コード判定処理の流れを示す
図。
FIG. 6 is a diagram showing the flow of communication interrupt processing and special code determination processing performed by the code reader according to the third embodiment of the present invention.

【図7】同実施の形態のコードリーダで行うトリガ割込
処理の流れを示す図。
FIG. 7 is a diagram showing a flow of trigger interrupt processing performed by the code reader according to the embodiment.

【図8】バーコードとマトリックスコードとが印刷され
た1枚のラベルの例を示す図。
FIG. 8 is a diagram showing an example of one label on which a barcode and a matrix code are printed.

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

1…コードリーダ、 3…ラインCCD、 4…ライン用光学機構部、 5…ライン用照明LED、 6…ライン用ターゲットLED、 7…エリアCCD、 8…エリア用光学機構部、 9…エリア用照明LED、 10…エリア用ターゲットLED、 15…表示用LED、 16…ブザー、 17…トリガスイッチ、 21…インターフェイスケーブル、 22…マニュアルトリガ操作部、 31…CPU部、 34…インターフェイス回路。 1 ... Code reader, 3 ... Line CCD, 4 ... Optical mechanism for line, 5 ... Line lighting LED, 6. Target LED for line, 7 ... area CCD, 8 ... Area optical mechanism section, 9. Area lighting LED, 10 ... area target LED, 15 ... LED for display, 16 ... Buzzer, 17 ... Trigger switch, 21 ... Interface cable, 22 ... Manual trigger operation unit, 31 ... CPU part, 34 ... Interface circuit.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平7−93458(JP,A) 特開 平5−120464(JP,A) 特開 平8−16699(JP,A) 特開 昭63−292282(JP,A) 特開 昭63−131283(JP,A) 実開 平5−30972(JP,U)   ─────────────────────────────────────────────────── ─── Continued front page       (56) Reference JP-A-7-93458 (JP, A)                 JP-A-5-120464 (JP, A)                 Japanese Unexamined Patent Publication No. 8-16699 (JP, A)                 JP 63-292282 (JP, A)                 JP 63-131283 (JP, A)                 Actual Kaihei 5-30972 (JP, U)

Claims (7)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 媒体上に表記されたコードを読取るコー
ドリーダにおいて、 第1のコード種類を読取るための第1のコード読取手段
と、 第2のコード種類を読取るための第2のコード読取手段
と、 コード種類を指定するコード種類指定手段と、 このコード種類指定手段により指定されたコード種類に
基づいて前記第1のコード読取手段又は前記第2のコー
ド読取手段のいずれか一方を動作させる読取制御手段
と、前記第1のコード読取手段によるコード読取りが終了又
は前記第2のコード読取手段によるコード読取りが終了
すると、どちらの手段により読取られたかを区別して読
取り終了を通知する読取終了通知手段を設け、 前記第1のコード読取手段及び前記第2のコード読取手
段を1つのケース内に収納したことを特徴とするコード
リーダ。
1. A code reader for reading a code written on a medium, wherein a first code reading means for reading a first code type and a second code reading means for reading a second code type. And a code type designating means for designating a code type, and a reading for operating either one of the first code reading means or the second code reading means based on the code type designated by the code type designating means. The code reading by the control means and the first code reading means is completed or
Ends the code reading by the second code reading means.
Then, read by distinguishing which method was used for reading.
A code reader characterized in that a reading end notifying means for notifying the completion of taking is provided, and the first code reading means and the second code reading means are housed in one case.
【請求項2】 前記コード種類指定手段は、読取り開始
タイミングを発生するスイッチの操作方法によりコード
種類を指定するものであることを特徴とする請求項1記
載のコードリーダ。
2. The code reader according to claim 1, wherein the code type designating means designates a code type by operating a switch that generates a read start timing.
【請求項3】 前記コード種類指定手段は、予め設定さ
れたパラメータによりコード種類を指定するものである
ことを特徴とする請求項1記載のコードリーダ。
3. The code reader according to claim 1, wherein the code type designating means designates a code type by a preset parameter.
【請求項4】 前記読取終了通知手段は、光学表示の表
現方法を変えることにより前記第1のコード読取手段に
よるコード読取り終了と前記第2のコード読取手段によ
るコード読取り終了とをそれぞれ区別して通知すること
を特徴とする請求項記載のコードリーダ。
4. The reading completion notifying means distinguishes between the completion of code reading by the first code reading means and the completion of code reading by the second code reading means by changing the expression method of optical display. The code reader according to claim 1, further comprising:
【請求項5】 前記読取終了通知手段は、音の表現方法
を変えることにより前記第1のコード読取手段によるコ
ード読取り終了と前記第2のコード読取手段によるコー
ド読取り終了とをそれぞれ区別して通知することを特徴
とする請求項記載のコードリーダ。
5. The reading end notifying means distinguishes between the code reading end by the first code reading means and the code reading end by the second code reading means by changing a sound expression method. The code reader according to claim 1, wherein:
【請求項6】 外部への送信のために、前記第1のコー
ド読取手段により読取ったコードデータと前記第2のコ
ード読取手段により読取ったコードデータとに、それぞ
れを識別するデータを付加するデータ識別処理手段とを
設けたことを特徴とする請求項1乃至請求項3のいずれ
か1項記載のコードリーダ。
6. Data for adding data for identifying each of the code data read by the first code reading means and the code data read by the second code reading means for transmission to the outside. The code reader according to any one of claims 1 to 3, further comprising identification processing means.
【請求項7】 前記第1のコード読取手段は1次元ライ
ンセンサから成し、前記第2のコード読取手段は2次元
エリアセンサから構成することを特徴とする請求項1乃
至請求項のいずれか1項記載のコードリーダ。
Wherein said first code reading means forms a one-dimensional line sensor, the second code reading means any of claims 1 to 6, characterized in that it constitutes a two-dimensional area sensor The code reader according to item 1.
JP13301496A 1996-05-28 1996-05-28 Code reader Expired - Fee Related JP3464743B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13301496A JP3464743B2 (en) 1996-05-28 1996-05-28 Code reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13301496A JP3464743B2 (en) 1996-05-28 1996-05-28 Code reader

Publications (2)

Publication Number Publication Date
JPH09319815A JPH09319815A (en) 1997-12-12
JP3464743B2 true JP3464743B2 (en) 2003-11-10

Family

ID=15094786

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13301496A Expired - Fee Related JP3464743B2 (en) 1996-05-28 1996-05-28 Code reader

Country Status (1)

Country Link
JP (1) JP3464743B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3701654B2 (en) * 2003-01-10 2005-10-05 株式会社椿本チエイン Code reading system
JP4134934B2 (en) * 2004-04-13 2008-08-20 松下電器産業株式会社 Information reader
JP5222710B2 (en) * 2008-08-12 2013-06-26 日本電信電話株式会社 Print information reading apparatus and print information reading method
JP2010176417A (en) * 2009-01-29 2010-08-12 Toshiba Tec Corp Code symbol reader
JP2012018494A (en) * 2010-07-07 2012-01-26 Keyence Corp Bar code symbol reader, bar code symbol reading method, and computer program
JP6680122B2 (en) * 2016-07-13 2020-04-15 株式会社デンソーウェーブ Mobile device
JP7506323B2 (en) * 2021-02-16 2024-06-26 株式会社デンソーウェーブ Code reader
JP7533990B1 (en) * 2023-02-01 2024-08-14 Necプラットフォームズ株式会社 Barcode reading device, barcode reading system, barcode reading method, and barcode reading program

Also Published As

Publication number Publication date
JPH09319815A (en) 1997-12-12

Similar Documents

Publication Publication Date Title
US5428212A (en) Encoded symbol reader
US8061610B2 (en) System and method for employing color illumination and color filtration in a symbology reader
US7617984B2 (en) Hand held symbology reader illumination diffuser
CN1299229C (en) Optical information reading apparatus and related information reading method
JP3464743B2 (en) Code reader
WO2007050454A9 (en) Integrated illumination assembly for symbology reader
CN101867683A (en) Image sensor pixel array with output response curve including logarithmic graph for image sensor based terminal
US7383995B2 (en) Optical information reader and optical information reading method
JPH087027A (en) Data symbol reader
JPH08287181A (en) Bar code reader
JP4403975B2 (en) Optical information reader
JP2004110670A (en) Information code reader
US5811777A (en) Method and apparatus for utilizing specular light to image low contrast symbols
US20020079370A1 (en) Illumination source for optical reading apparatus
JP3632578B2 (en) Optical information reader
JP4047452B2 (en) Handheld symbol reader
JPH11312210A (en) Symbol reader
CN215526678U (en) Intelligent illumination bar code scanner
JPH11312212A (en) Symbol reader
JPH09259215A (en) Code reader
JPH11312213A (en) Symbol reader
JPH10334172A (en) Symbol reader
JPH10334176A (en) Symbol reader
JPH11312211A (en) Symbol reader
JPH09259209A (en) Code reader

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080822

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090822

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090822

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100822

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110822

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120822

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120822

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130822

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees