JPS5960570A - Optical reader - Google Patents

Optical reader

Info

Publication number
JPS5960570A
JPS5960570A JP16849482A JP16849482A JPS5960570A JP S5960570 A JPS5960570 A JP S5960570A JP 16849482 A JP16849482 A JP 16849482A JP 16849482 A JP16849482 A JP 16849482A JP S5960570 A JPS5960570 A JP S5960570A
Authority
JP
Japan
Prior art keywords
data
memory
light emitting
signal
buffer memory
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
JP16849482A
Other languages
Japanese (ja)
Inventor
Ichiroku Shiyukuzawa
宿沢 一六
Yoshiaki Motojo
本條 義昭
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP16849482A priority Critical patent/JPS5960570A/en
Publication of JPS5960570A publication Critical patent/JPS5960570A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10544Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
    • G06K7/10821Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices
    • G06K7/10881Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices constructional details of hand-held scanners

Abstract

PURPOSE:To prevent an input operation error at the time of continuous scannint by executing information corresponding to the number of data in a memory so that quantity of a data stored in the memory or its residual quantity can be confirmed. CONSTITUTION:Light emitting diodes LED1-LEDn are provided linearly on the outside surface of a hand scanner 1 containing a light emitting element and a photodetector, a reflected ray from a bar-code is read by the scanner 1, is digitized by an A/D converting circuit 2 and is inputted to a pulse detecting circuit 3. By this circuit 3, a pulse synchronizing with fall and rise of an input square wave is detected, and an interrupt signal is inputted to a CPU5. A buffer memory 6 for storing an address of a memory M, a time counter TC and FFs I , IIare connected to this CPU5. In this state, whenever a data is written and read out to and from the memory M, LED1-LEDn are turned on or turned off through a display buffer circuit 9 and a decoder 10, so that quantity of the data of the memory M can be confirmed, by which generation of an input operation error is prevented.

Description

【発明の詳細な説明】 (1)発明の技術分野 この発明は、例えば、バーコードが記録されている媒体
を光照射してバーコード情報を読み取るバーコードリー
グ停の光学的読取装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (1) Technical Field of the Invention The present invention relates to an optical reading device for a barcode reader, which reads barcode information by, for example, irradiating a medium on which a barcode is recorded with light.

(2)従来技術 従来、電子式キャメ且レジスタ等のデータ六方手段とし
ては、金額等がバーコードにて印刷されている値札を手
動走査可能なハンドスキャナで光照射し、その光の反射
率の違いを電気信号(電流の大小)に変換し、この信号
に基づいて、データを生成してメモリに記憶するように
した光学的読取装置が実用化されている。
(2) Prior Art Conventionally, as data hexagonal means such as electronic cameras and registers, a price tag with an amount printed in a barcode is irradiated with light using a hand scanner that can be manually scanned, and the reflectance of the light is measured. Optical reading devices have been put into practical use that convert the difference into an electrical signal (the magnitude of current), generate data based on this signal, and store it in a memory.

(3)従来技術の問題点 この種の光学的読取装置においては、バーコードを連続
的に読み取る場合、読み取られたデータの処理能力以上
の速さでデータが入力されると、メモリのオーバフロー
を生じ、入力されたデータが無効になる可能性があった
(3) Problems with the Prior Art In this type of optical reading device, when barcodes are read continuously, memory overflow occurs if data is input faster than the processing capacity of the read data. This could cause the entered data to become invalid.

(4)発明の目的 この発明は上述した事情を背景圧なされたもので、その
目的とするところは、メモリ内のデータ数に応じた報知
を行なうことによって、連続スキャニング時の入力操作
を確実に行ない得るようにした光学的読取装置を提供す
ることにある。
(4) Purpose of the Invention This invention was made in response to the above-mentioned circumstances, and its purpose is to ensure input operations during continuous scanning by providing notification according to the number of data in memory. An object of the present invention is to provide an optical reading device that can perform the following operations.

(5)発明の要点 この発明は、メモリ内に記憶されたデータ数に応じた報
知を行なうことによシ、例えば、メモリの残シ容量或い
はそれまでの記憶容量等を確認可能とする点を要旨とす
るものである。
(5) Key Points of the Invention This invention has the advantage of making it possible to check, for example, the remaining capacity of the memory or the previous capacity of the memory, by making notifications according to the number of data stored in the memory. This is a summary.

(6)実施例 以下、この発明を図面に示す一実施例に基づいて具体的
に説明する。第1図において1は、手動走査可能なハン
ドスキャナを示す。このノ蔦ンドスキャナ1は、少なく
とも発光素子および受光素子を内蔵し、かつその外表面
には、その軸方向に沿って血縁的VCn個の発光ダイオ
ードLED、〜LEDnが配設されている。而して、ハ
ンドスキャナ1は、バーコードを光照射したときの光の
反射率を電気信号に変換し、L / D (アナログ/
デジタル]変換回路2に対して出力する。このA/D変
挽回路2で斐換されたデジタル信号(矩形波信号)は、
ノクルス検出回路3に入力される。ノヤルス検出回路3
は、入力される矩形波のパルスの立ち上がシおよび立ち
下がシに夫々同期してトリガを出力するもので、アンド
ゲート4を介してCPU(中央処理装置)5に対してイ
ンタラブド信号1)J T Iとして入力される。
(6) Example Hereinafter, the present invention will be specifically explained based on an example shown in the drawings. In FIG. 1, reference numeral 1 indicates a hand scanner capable of manual scanning. The scanner 1 includes at least a light emitting element and a light receiving element, and VCn related light emitting diodes LED, .about.LEDn are arranged on its outer surface along the axial direction. Then, the hand scanner 1 converts the reflectance of light when the barcode is irradiated with light into an electrical signal, and converts it into an electrical signal.
digital] output to the conversion circuit 2. The digital signal (square wave signal) converted by this A/D conversion circuit 2 is
The signal is input to the Noculus detection circuit 3. Noyals detection circuit 3
outputs a trigger in synchronization with the rising edge and falling edge of the input rectangular wave pulse, and outputs an interwoven signal 1 to the CPU (central processing unit) 5 via an AND gate 4. ) J T I.

CI’U3は、各種の動作を制御するもので、演算用等
のXXY、Zし、シ゛スタ等の各種のレジスタを有する
と共に、メモリMに対し゛Cデータの嶺き込みおよび読
み出しを実行する際Vこい メモIJ Mのライトアド
レスを記憶するアドレス部A W 、メモリ)4のリー
ドアドレスを記憶するアドレス部AR。
The CI'U3 controls various operations, and has various registers such as XXY, Z, and registers for arithmetic operations. Address section A W that stores the write address of the memo IJ M, address section AR that stores the read address of the memory)4.

更に、バッファメモリ6に対してデータのjmき込みお
よび読み出しを実行する際に、ノぐソファメモリ6のラ
イトアドレスを記憶するアドレスgt;Bw。
Further, an address gt;Bw for storing a write address of the buffer memory 6 when data is written into and read from the buffer memory 6.

バッフアノモリ6のリードアドレスを記憶するアドレス
部BRを有する構成となっている。そして、0PU5は
、SR型フリップフロップli’ F 工のSおよびR
入力端子に夫々fii’制御信号を出力し、ン1ノツプ
フロップFFIをセット、リセットさせる。
It is configured to include an address section BR that stores the read address of the buffer anomaly 6. 0PU5 is the S and R of the SR type flip-flop li'F.
A fii' control signal is outputted to each input terminal to set or reset the flip-flop FFI of the first node.

この場合、フリップフロップFFIは、そのセット出力
Qをアンドグー)4IF−ケ゛−1・開閉信号として印
加するもので、アンドゲート4のGi4成によりCPU
5は、インタラブド化上l N T I rこ応じた割
シ込み処理を実行するようになっている。また、apu
sは、SR型フリッグフロツプ1i’FIIのSおよび
R入力端子に夫々制御信号を出力し、フリップフロップ
F F Jiをセット、リセットさせる。
In this case, the flip-flop FFI applies its set output Q as an AND gate 4 IF-1 open/close signal, and the CPU
5 is designed to execute interrupt processing in response to interoperability. Also, apu
s outputs control signals to the S and R input terminals of the SR type flip-flop 1i'FII, respectively, to set and reset the flip-flop FF Ji.

この場合、フリップフロップFFnは、そのセット出力
Qをアンドゲ−ドアにケ°−ト開閉信号として印加する
もので、アンドダート7のしi」成によシ、例えば、電
子式キャッシュレジスタ(EcR)からのデータ転送り
汞化ち−COかアンドゲート7を介してCPU5にイン
タラブド信号IN’L’nとして入力され、これによっ
て、0X)U5はインクラフ0トイL号lNTl1に応
じた割多込み処理を実行するようKなっている。まだ、
C!PU51よ、アンドゲート8に対してり−1−IH
JR)化上を出力し、アンドグ・−ト8を開成さぜ、ア
ンドゲート8の他力の入力端子に印加されている所定同
波りの多口ツク信号tを時m1カウンクTCに入力させ
る。この時間カウンタToは、アンドゲート8からの多
口ツク信号tをni数するもの1、その目し動作に伴っ
て得られたi−1数値データは、CPU5に耽み込址れ
、また、0PU5からのクリア信号CL忙したがつ−(
ffl111ijソJウンタTCの内容はクリアされる
In this case, the flip-flop FFn applies its set output Q to the AND gate door as a gate opening/closing signal. The data transfer from 汞 CH-CO is input to the CPU 5 as an interwoven signal IN'L'n via the AND gate 7, and as a result, 0 K is set to execute. still,
C! PU51, for AND gate 8 -1-IH
JR), open the AND gate 8, and input the predetermined same wave multi-channel signal t applied to the input terminal of the AND gate 8 to the time m1 count TC. . This time counter To is 1 which multiplies the multi-check signal t from the AND gate 8 by ni, and the i-1 numerical data obtained with the counting operation is stored in the CPU 5, and Clear signal CL from 0PU5 is busy - (
The contents of ffl111ij SOJ counter TC are cleared.

而して、時間カウンタTGは、その計数値がオーパフロ
ーシたときに、キャリー信号をCPU5に対して、イン
タラブド信号lNTlとして出力する。
The time counter TG outputs a carry signal to the CPU 5 as an interwoven signal lNTl when its count value overflows.

甘だ、CPU5はメモIJ 11との間でデータの授受
を行なうと共K、バッファメモリ6との間でもデータの
授受を行なうように、メモリMおよびバッファメモリ6
に対して夫々相方向に接続されている。メモリM1バッ
ファメモリ6は、RAM(ランダム・アクセス・メモリ
)によって構成され、CPU5の制御下で、書き込みお
よび読み出し動作を実行する。而して、メモリMには時
間カウンタTOからの計数値データが古き込甘れ、そし
て、メモリMK書き込まれた計数値データは、CPU5
でデコードされて、所定のプ・−夕に変換され、バッフ
ァメモリ6に1@次書み込まれる。この・ぐソファメモ
リ6に書き込まれたデータは、EcR側からのデータ転
送要求信号COが0PU5に入力されたとき、0PU5
からEcR側へデータDTとして転送される。なお、バ
ッファメモリ6はその行方向にn個のエリアを有し、l
ラベルの値札から読み取られたデータを1個のエリアに
記憶可能なものて、各エリアはハンドスキャナ1に配設
されたn個の発光ダイオードLED、〜LEDnに対応
づけられている。この場合、発光ダイオードLED、 
 〜LEDnのうち、データが豹き込まれているバッフ
ァメモリ6のエリアに対応する発光ダイオードが点灯す
るようになっている。すなわち、CPU5はバッファメ
モリ6VcTJスるデータの引き込み、読み出し動作を
実デテする毎に、バッファメモリ6内のテ゛−タ数を検
出してこれに応じた数値データを表示バッファ回路9に
転送し、この表示バッファ回路9の内容がデコーダ10
を介して発光ダイオードLED、〜LEDnに印加され
、とれによシ、所定のダイオードが点灯されるよう罠な
っている。
Naive, the CPU 5 sends and receives data to and from the memory M and the buffer memory 6 so that it sends and receives data to and from the memo IJ 11 and also to and from the buffer memory 6.
are connected to each other in the phase direction. The memory M1 buffer memory 6 is constituted by a RAM (Random Access Memory) and performs write and read operations under the control of the CPU 5. Therefore, the count value data from the time counter TO is stored in the memory M, and the count value data written in the memory MK is stored in the CPU 5.
The data is decoded, converted into a predetermined format, and written into the buffer memory 6. The data written to this sofa memory 6 is transferred to 0PU5 when the data transfer request signal CO from the EcR side is input to 0PU5.
The data is then transferred to the EcR side as data DT. Note that the buffer memory 6 has n areas in the row direction, and l
The data read from the price tag of the label can be stored in one area, and each area is associated with n light emitting diodes LED, to LEDn arranged in the hand scanner 1. In this case, a light emitting diode LED,
~LEDn, the light emitting diode corresponding to the area of the buffer memory 6 into which data is stored is lit. That is, each time the CPU 5 performs an actual data pull-in or read-out operation through the buffer memory 6VcTJ, the CPU 5 detects the number of data in the buffer memory 6 and transfers numerical data corresponding to this to the display buffer circuit 9. The contents of this display buffer circuit 9 are transferred to the decoder 10.
The voltage is applied to the light emitting diodes LED through LEDn, and a trap is formed so that a predetermined diode is lit.

次に、上記実施例の動作を第2図乃至第4図のフローチ
ャートを参照して説明する。先ず、CPU5のメイン7
0−を第2図に基づいて説明する。
Next, the operation of the above embodiment will be explained with reference to the flowcharts of FIGS. 2 to 4. First, main 7 of CPU5
0- will be explained based on FIG.

電源投入によって、ステツfS、の処理が開始される。When the power is turned on, the processing of step fS is started.

このステツfS1 では、バッファメモリ6のライトア
ドレスを指定するアドレス部Bwおよびリードアドレス
を指定するアドレス部BR,更に、xXy、Xレジスタ
をクリアするイニシャライズ処理を実行すると共に、フ
リップフロッグFF17をリセットしてインタラブド信
号INTII禁止する処理を実行する。続いて、ステツ
ノS。
In this step fS1, initialization processing is executed to clear the address section Bw for specifying the write address of the buffer memory 6, the address section BR for specifying the read address, xXy, and X registers, and the flip-flop FF17 is reset. Executes processing to disable interlaced signal INTII. Next is Stetsuno S.

に進み、アドレス指定8を・開成させ、時開カウンタT
Cの言1数動作を開始させる。す々わち、時間カウンタ
ToをONきせる。次のステップoS8では時間カウン
タTC1メモリM1 このメモリMのライトアドレスを
指定するアドレス部A wおよびリードアドレスを指定
するアドレス部A rt i、1夫々クリアすると共に
、フリップフロッグF F I ”、セットし、アン1
゛ダート4を開成させ、インクラシト信号lNTlの割
)込み処理を実行可能な状態にセットしておく。
Proceed to , open address designation 8, and open time counter T.
Start C's word 1 number movement. In short, the time counter To is turned on. In the next step oS8, the time counter TC1 memory M1, the address field Aw that specifies the write address of this memory M, and the address field Arti, 1 that specifies the read address are cleared, and the flip-flop FFI'' is set. , Anne 1
Dart 4 is opened and the interrupt processing of the incident signal lNTl is set to an executable state.

而して、この状態において、例えば、金額代りがバーコ
ードにて印刷されでいる値札をノ・ンドスキャナ1で走
査すると、ハンドスキャナ1からのも号がA/D変換回
路2に入力されでデジタル創の信号に変換され、パルス
検出回路3に入力される。
In this state, for example, when a price tag on which the amount of money is printed in the form of a barcode is scanned with the hand scanner 1, the number from the hand scanner 1 is input to the A/D conversion circuit 2. It is converted into a digital wound signal and input to the pulse detection circuit 3.

そして、パルス検出回路3の出力は、アンドゲート4を
介して、0PU5に入力される。これによって、0PU
5は、インタラット信号lNTlの割シ込み処理を実行
するようになる。すなわち、0PU5は、インタラブド
信号lNTlが来ると、アドレス部AWの内容に「1」
を加算するインクリメント処理を実行し、次いで、時間
カウンタTCの計数値データを読み込んで、アドレス部
AWの内容に応じてアドレス指定されるメモυMのエリ
アKiJき込む。そして、時間カウンタTcの内容をク
リアする処理をインタラブド信号lNTlが入力される
毎に繰シ返し実行する。この結果、(3PU5に読み込
まれる時間カウンタToの計数値データは、パルス検出
回路3の出方におけるパルスの時間間隔、換言すれば、
白黒のバーコード領域の幅値に相当し、この幅値データ
がメモリMのエリアに7m次書き込まれる。
Then, the output of the pulse detection circuit 3 is inputted to the 0PU5 via the AND gate 4. By this, 0PU
5 executes interrupt processing for the interat signal lNTl. In other words, when the interwoven signal lNTl arrives, 0PU5 sets "1" to the contents of the address field AW.
Then, the count value data of the time counter TC is read and the area KiJ of the memo υM that is addressed according to the contents of the address section AW is written. Then, the process of clearing the contents of the time counter Tc is repeatedly executed every time the interwoven signal lNTl is input. As a result, (the count value data of the time counter To read into the 3PU5 is the time interval of the pulse at the output of the pulse detection circuit 3, in other words,
This width value data corresponds to the width value of the black and white barcode area, and this width value data is written into the area of the memory M for the 7mth time.

このようにして、メモリMKはバーコードの幅値データ
が書き込まれるのであるが、バーコードを走査しなかっ
た場合等にあっては、メモ17 Mには伺んらデータが
書き込まれない。したがって、次のステツ7O83では
、メモリMの内容を読み出して来てデータの有無を調べ
、メモリMに幅値データがぞJき込まれるまで待機する
。而して、メモリMK7’−夕が書き込まれると、次の
ステップS、に進み、Xレジスタの内容がrnJである
かどうかが調べられる。この場合、Xレジスタは、バッ
ファメモリ6に記憶されているデータの数を記憶してお
り、Xレジスタの内容がrnJであるということは、バ
ッファメモリ6の最終アドレス領域までデータが書き込
まれている場合である。したがって、ステップS、の牛
0断において、Xレジスタの内容が「n」であるときに
は、バッファメモリ6がオーバーフローの状態にあるの
で、ステツfS、に戻し、データの読み直しTiJ能な
状態とするが、Xレジスタの内容がrnJでなければ、
次のステップS6に進む。ここでは、フリップフロップ
5FFnをリセットし、インタラブド信号INTIIを
禁止して、次のステップS、の実行中にインタラブド信
号INT[が入力されるのを防ツブS8、ステップS0
およびS10 の実行にょシ、バッファメモリ6の所定
アドレス領域に書き込まり、る。すなわち、ステツ7°
s8 はバッファメモリ6に対するデータの古き込みを
行なう前に、ノリツブフロップFFIをリセットし、イ
ンタラブド信号lNTlを禁止する処理を実行するもの
である。而して、次のステップS、はアドレス部Bwの
内容に「1」を加算してカウントアツプし、パックアメ
モリ6のライトアドレスを更新し、バッファメモリ6の
次アドレスを指定する。そして、次のステップ’S、、
に進み、バッファメモリ6の指定アドレス領域にデータ
を省き込む処理が実行される。
In this way, the width value data of the barcode is written in the memory MK, but if the barcode is not scanned, the width value data is not written in the memo 17M. Therefore, in the next step 7O83, the contents of the memory M are read out, the presence or absence of data is checked, and the process waits until the width value data is loaded into the memory M. When the memory MK7'-Y is written, the process proceeds to the next step S, where it is checked whether the contents of the X register are rnJ. In this case, the X register stores the number of data stored in the buffer memory 6, and the fact that the content of the X register is rnJ means that data has been written to the final address area of the buffer memory 6. This is the case. Therefore, when the content of the X register is "n" in step S, the buffer memory 6 is in an overflow state, so it is returned to the state fS, and the data can be reread. , if the contents of the X register are not rnJ, then
Proceed to the next step S6. Here, the flip-flop 5FFn is reset and the interwoven signal INTII is inhibited to prevent the interwoven signal INT[ from being input during the execution of the next step S8 and step S0.
Upon execution of S10, the data is written to a predetermined address area of the buffer memory 6. In other words, stets 7°
s8 is for executing processing for resetting the control flop FFI and disabling the interlaced signal NTl before loading data into the buffer memory 6. Then, in the next step S, "1" is added to the contents of the address field Bw to count up, update the write address of the pack memory 6, and designate the next address of the buffer memory 6. And the next step's...
Then, the process of omitting data into the designated address area of the buffer memory 6 is executed.

これによって、バッファメモリ6内のf−夕数が1つ増
えるので、次のステップS、t では、Xレジスタ (
D内容VCV I Jを加算するインクリメント処理を
実行する。このXレジスタの内容は、次のステップSI
2の実行により、)゛<示バッファ回路9に転送され、
デコード10を介して発光ダイオードLED、−LED
nK印加される。その結果、発光ダイオード”EDT−
”LEDnのうち、データが亡き込まiしているバッフ
ァメモリ6のエリアの数に対応する発光ダイオードが点
灯するようになる。すなわち、例えば、バッファメモリ
6の2つのエリアにデータがvlき込1れたものとする
と、発光ダイオードLED、 、LED2のみが点灯し
、バッファメモリ6の記憶容量が所謂積算表示される。
As a result, the f-event number in the buffer memory 6 increases by one, so in the next step S, t, the X register (
Execute increment processing to add D contents VCV I J. The contents of this X register will be used in the next step SI.
By executing step 2, )゛< is transferred to the display buffer circuit 9,
Light emitting diode LED, -LED through decoding 10
nK is applied. As a result, the light emitting diode “EDT-
``Among the LEDs, the light emitting diodes corresponding to the number of areas of the buffer memory 6 into which data has been written will light up.In other words, for example, if data has been written into two areas of the buffer memory 6, When it is assumed that the buffer memory 6 is loaded, only the light emitting diodes LED, , and LED2 are lit, and the storage capacity of the buffer memory 6 is displayed in a so-called integrated manner.

5;いて、ステップsrs に進み、ノリツブフロップ
FF[をセットし、インタラブド信号INT■の処理を
実行可能な状態に設定したのち、ステップS、に戻シ、
同様の動作を繰シ返す。
5; Then, proceed to step srs, set the Noritsubu flop FF[, and set it in a state where the processing of the interwoven signal INT■ can be executed, and then return to step S.
Repeat the same action.

而して、インタラブド信QIN TIIの処理が実行可
能な状態にセットされているとき、ECR側からデータ
転送要求信号COが来ると、第3図に示すインタラブド
信号INTIIの割シ込みフローを実行する。先ず、ス
テップS21 ではアドレス部BRの内容にしたがりて
アドレス指定されるバッファメモリ6の指定エリアから
データを詩み出し、0PU5からE(、R側へデータD
Tとして送11jする。次に、ステップSZt に進み
、今、ECR側−\送出し、たデータを記憶するバッフ
ァメモリ6のエリアをクリアする。この結果、バッファ
メモリG内のデータ数が1つ減るので、次のステップ8
23 でij、Xレジスタの内容から「1」を減lし、
その結果データをXレジスタに転送する。
When the processing of the interwoven signal QIN TII is set to be executable, when the data transfer request signal CO comes from the ECR side, the interrupt flow of the interwoven signal INTII shown in FIG. 3 is executed. . First, in step S21, data is read from the specified area of the buffer memory 6 that is addressed according to the contents of the address field BR, and data D is transferred from 0PU5 to E(, R side).
Send 11j as T. Next, the process proceeds to step SZt, where the area of the buffer memory 6 that stores the data that has just been sent out on the ECR side is cleared. As a result, the number of data in the buffer memory G decreases by one, so the next step 8
23 Subtract "1" from the contents of the ij and X registers,
The resulting data is transferred to the X register.

続いて、ステップS、4に進み、Xレジスタの内容を表
示パンファ回路9に転送し、Xレジスタの内容に応じて
発光ダイオードLED1〜LEDnの所定の発う゛6ダ
イオードを点灯させる。この場合、バッファメモリ6内
のデータ数が1つ減るので、発光ダイオードの点灯数も
それに応じて1つ滅、るようになる。
Subsequently, the process proceeds to step S4, where the contents of the X register are transferred to the display expander circuit 9, and predetermined diodes of the light emitting diodes LED1 to LEDn are turned on according to the contents of the X register. In this case, since the number of data in the buffer memory 6 decreases by one, the number of lit light emitting diodes also decreases by one accordingly.

鼠いて、ステラfS、、に進み、Xレジスタの内容が「
0」であるか否か、換言すれば、バッファメモリ6内の
データが全て読み出されたかどうかかW、°4べられる
。その結果、「O」であるときにけ、ステップS、、I
c進み、フリップフロップFのステツfS、 7はアド
レス部BRの内容をカウントアツプする処理を行なうも
ので、バッファメモリ6の次のリードアドレスを記憶し
ておく。その後、第2図のメインフローwg;b・。
The mouse goes to Stella fS, and the contents of the X register are "
0'', in other words, whether all the data in the buffer memory 6 has been read out is determined by W,°4. As a result, when "O", step S, ,I
The step fS, 7 of the flip-flop F performs a process of counting up the contents of the address field BR, and stores the next read address of the buffer memory 6. After that, the main flow in FIG. 2 wg;b.

一方、時間カウンタToからキャリー信号が出力される
と、0PU5は第4図にし7たがったインタラブト信号
INT璽のtIlシ込み処理を実行する。
On the other hand, when the carry signal is output from the time counter To, the 0PU5 executes the input process of the interrupt signal INT according to FIG.

この処理は、例えば、ある一定時間以上経過しても、次
のバーコードが読み取られなかった場合に実行される。
This process is executed, for example, when the next barcode is not read even after a certain period of time has elapsed.

すなわち、先ず、ステップ831 はアドレス部Awの
内容を検出し、その内容が1ラベルの細孔に相当する分
のアドレス値に力っていない場合に、即ちメモυMKI
ラベル分の値札のデータが配憶されていないときにエラ
ーとする処理で、エラーであるときには、第2図のステ
ップSsK移行し、エラーでなければ、次のステップS
、2に進む。
That is, first, step 831 detects the contents of the address field Aw, and if the contents do not correspond to the address value corresponding to the pore of one label, that is, the memo υMKI is detected.
In this process, an error occurs when the price tag data for the label is not stored. If an error occurs, the process moves to step SsK in FIG. 2, and if there is no error, the process proceeds to the next step SsK.
, proceed to 2.

このステップS、2でdl、フリツゾ70ツブFF工を
リセットし、インタラブド信号I N T Iを禁止す
る。ぞして、次のステップ838 ではB、′1間カウ
ンタTOの内容をクリアする。その後、第2図のメイン
フローに戻る。
In step S2, the dl and fritz 70-tube FFs are reset and the interwoven signal INTI is inhibited. Therefore, in the next step 838, the contents of the counter TO between B and '1 are cleared. Thereafter, the process returns to the main flow shown in FIG.

ナオ、土iit: 実施例においては、バックアメモリ
6内のデータが店き込まれる毎に、発光ダイオードを1
つずつ点灯し、才た、データが読み出さhる毎に、発光
ダイオードを1つずつ消灯するようにして、バックアメ
モリ6に記憶さhているデータの記憶容biを表示する
ようにしたが、これとは逆に、バッファメモリ6の残り
容量を表示するようにしてもよい。また、複数個の発光
ダイオードを配設して所itl’J積算表示するように
したが、単一の発光ダイオードを設け、パックアメモリ
6の残量が無くなったときK、その発光ダイオードを点
灯するようにしてもよい。更に、バックアメモリ6に記
(XAされているプ″−夕の記1意容量、残勺容量をデ
ジタル的に表示するようにしてもよい。
Nao, Sat.: In the embodiment, each time data is stored in the backup memory 6, one light emitting diode is turned on.
The light emitting diodes are turned on one by one and then turned off one by one each time data is read out to display the storage capacity of the data stored in the backup memory 6. Conversely, the remaining capacity of the buffer memory 6 may be displayed. In addition, although a plurality of light emitting diodes are arranged to display the itl'J integration, a single light emitting diode is provided, and when the remaining capacity of the pack memory 6 is exhausted, the light emitting diode is turned on. You may also do so. Furthermore, the storage capacity and remaining capacity of the printer stored (XA'ed) in the backup memory 6 may be displayed digitally.

’!k、バッファメモリ内のデータ数を報知する手段と
しては゛、ブザー宿−の報音によって行なうようにしC
もよい。
'! k. The means of notifying the number of data in the buffer memory is by means of a buzzer.
Good too.

(力 発明の効果 この発明は、光を的に訂〔みη)らノまたデータが記憶
されるメモリ内のデータ数に応じ介報知を行なうように
したから、メモリIc We (:flさ引たデータの
記憶各月或は残シ容量を確認することができ、連続スキ
ャニング時の入力操作ミスを防止すZ・ことができる。
(Effects of the Invention) This invention not only corrects the light but also makes an intervention notification according to the number of data in the memory where the data is stored. You can check the amount of data stored each month or the remaining capacity, and prevent input operation errors during continuous scanning.

【図面の簡単な説明】[Brief explanation of the drawing]

図面はこの発ツ1の一実施f11を示し、第1図はブロ
ック回路図、第2図乃至第4図1rJ、Wiυ作を駅間
するフローチャートである。 1・・・・・・ハンドスキャナ、5・・・・・・CPU
、6・・・・・・バッファメモリ、LED、〜LEDn
・・・・・・発光ダイオード、TC・・・・・・時間カ
ウンタ。 特 許 出 願 人  カシオif’ fi、&株式会
社第3図 第4図
The drawings show one implementation f11 of this start-up 1, and FIG. 1 is a block circuit diagram, and FIGS. 2 to 4 are flowcharts for inter-station Wiυ production. 1...Hand scanner, 5...CPU
, 6...Buffer memory, LED, ~LEDn
......Light emitting diode, TC...Time counter. Patent applicant Casio if'fi, & Co., Ltd. Figure 3 Figure 4

Claims (1)

【特許請求の範囲】[Claims] データが記録されている媒体を光照射する発光表示及び
前記媒体からの反射光を受光する受光素子を少なくとも
内蔵して成るスキャナと、このスキャナからの信号に基
づいてデータを生成する手段と、生成されたデータを記
憶する記憶手段と、この記憶手段内のデータ数に応じた
報知を行なう報知手段とを具備して成る光学的読取装置
a scanner comprising at least a built-in light-emitting display that irradiates a medium on which data is recorded and a light-receiving element that receives reflected light from the medium; a means for generating data based on a signal from the scanner; What is claimed is: 1. An optical reading device comprising: storage means for storing the data stored in the storage means; and notification means for giving notification according to the number of data stored in the storage means.
JP16849482A 1982-09-29 1982-09-29 Optical reader Pending JPS5960570A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16849482A JPS5960570A (en) 1982-09-29 1982-09-29 Optical reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16849482A JPS5960570A (en) 1982-09-29 1982-09-29 Optical reader

Publications (1)

Publication Number Publication Date
JPS5960570A true JPS5960570A (en) 1984-04-06

Family

ID=15869124

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16849482A Pending JPS5960570A (en) 1982-09-29 1982-09-29 Optical reader

Country Status (1)

Country Link
JP (1) JPS5960570A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0492455A2 (en) * 1990-12-20 1992-07-01 Nippondenso Co., Ltd. An information reading device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0492455A2 (en) * 1990-12-20 1992-07-01 Nippondenso Co., Ltd. An information reading device
US5317136A (en) * 1990-12-20 1994-05-31 Nippodenso Co., Ltd. Information reading device which controls communication interrupt signal from a host system

Similar Documents

Publication Publication Date Title
TW318931B (en)
CN107392611A (en) A kind of method and device for sending Transaction Information and common recognition checking
KR920010631A (en) Synchronous Dynamic RAM
KR930018423A (en) Barcode reader
DE68927451T2 (en) Addressing microinstructions in a pipeline central unit (operating method, addressing method, cellar storage and central unit)
US4602347A (en) Microcomputer addressing system and electronic timepiece utilizing the same
JPS5972575A (en) Optical reader
JPS5960570A (en) Optical reader
EP0469543A2 (en) Multiple interrupt handling circuit
TW311206B (en)
TWI759583B (en) Decoding method of graphic code and user terminal for decoding graphic code
JPS593589A (en) Bar code reader
SU1034042A1 (en) Microprogram checking device
JPS5540423A (en) Distance information judging circuit of auto focus detector
SU1606981A1 (en) Device for reading line information
JP2516920B2 (en) Image processing device
CN117349142A (en) Data testing method, device and storage medium
KR940001837Y1 (en) Digital input circuit
KR970005647B1 (en) Rom code verifying device
CN117194468A (en) Actor model-based message processing system, method and application of Internet of things
JPS60135960U (en) optical reader
JPS6465666A (en) Recognizing device
KR950002362A (en) Fax Image Processing Equipment
CN115048400A (en) Data change notification method, device, equipment and medium
JPH05235921A (en) Input phase margin warrant circuit