JPH05189593A - Barcode reader - Google Patents
Barcode readerInfo
- Publication number
- JPH05189593A JPH05189593A JP4005945A JP594592A JPH05189593A JP H05189593 A JPH05189593 A JP H05189593A JP 4005945 A JP4005945 A JP 4005945A JP 594592 A JP594592 A JP 594592A JP H05189593 A JPH05189593 A JP H05189593A
- Authority
- JP
- Japan
- Prior art keywords
- bar code
- host computer
- code reader
- command
- battery
- 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.)
- Granted
Links
- 238000004891 communication Methods 0.000 claims description 7
- 230000008033 biological extinction Effects 0.000 abstract description 5
- 238000000034 method Methods 0.000 description 27
- 238000010586 diagram Methods 0.000 description 6
- 230000002159 abnormal effect Effects 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 5
- 230000007423 decrease Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 101100112083 Arabidopsis thaliana CRT1 gene Proteins 0.000 description 1
- 101100238301 Arabidopsis thaliana MORC1 gene Proteins 0.000 description 1
- 101100519629 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) PEX2 gene Proteins 0.000 description 1
- 101100468521 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) RFX1 gene Proteins 0.000 description 1
- 230000005856 abnormality Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明はバーコードリーダーに関
する。FIELD OF THE INVENTION This invention relates to bar code readers.
【0002】[0002]
【従来の技術】従来のバーコードリーダーは、使用者が
発光体点灯スイッチを押した時点で発光体を点灯させバ
ーコード読み取り待機状態となり、読み取ったバーコー
ドをホストコンピュータに送信していた。また、バーコ
ードリーダーの発光体は、バーコードの入力処理の終了
または使用者が発光体点灯スイッチを離すまで点灯し続
けた。2. Description of the Related Art In a conventional bar code reader, when a user presses a light emitting body lighting switch, the light emitting body is turned on to enter a bar code reading standby state, and the read bar code is transmitted to a host computer. Further, the light emitter of the bar code reader continued to be turned on until the bar code input process was completed or the user released the light emitter light switch.
【0003】[0003]
【発明が解決しようとする課題】しかし、前述の従来技
術では、バッテリー駆動の端末をホストコンピュータと
して使用するシステムにバーコードリーダーを接続し、
バーコードリーダーの電源をホストコンピュータに内蔵
されたバッテリーから供給して使用した場合、ホストコ
ンピュータのバッテリー残量が少なくなってきた時にバ
ーコードリーダーの発光体を点灯させ続けるとホストコ
ンピュータの動作限界電圧を越えてしまうためホストコ
ンピュータがパワーダウンしてしまう。その結果バーコ
ードリーダーへの電源供給が停止してしまうためバーコ
ードリーダーもパワーダウンしてしまう。前記パワーダ
ウンによりバーコードリーダーとホストコンピュータ両
方のメモリ内容が消滅してしまうという欠点があった。However, in the above-mentioned prior art, a bar code reader is connected to a system using a battery-powered terminal as a host computer,
When the bar code reader is powered by the battery built into the host computer and used, if the bar code reader's light emitter continues to light up when the host computer's battery power becomes low, the operating voltage limit of the host computer will be reached. The host computer powers down because it exceeds the limit. As a result, the power supply to the bar code reader is stopped and the bar code reader is also powered down. There is a drawback that the memory contents of both the barcode reader and the host computer are erased by the power down.
【0004】また、前記システムにおいてホストコンピ
ュータが内蔵したバッテリー残量をチェックした結果バ
ーコードリーダーへの電源供給が不可能なレベルである
と判断してバーコードリーダーへの電源供給を停止した
場合、ホストコンピュータのメモリ内容は保持できる
が、バーコードリーダーのメモリ内容が消滅してしま
う。その後ホストコンピュータのバッテリー充電を開始
し、ホストコンピュータのバッテリー残量がバーコード
リーダーの発光体を点灯して動作するのが可能なレベル
まで回復した時点で再度バーコードリーダーへの電源供
給を開始した場合、バーコードリーダーに対し初期設定
コマンドを再送信しなければならないという欠点もあっ
た。Further, in the above system, when the battery remaining in the host computer is checked and it is determined that the power supply to the bar code reader is impossible, the power supply to the bar code reader is stopped. The memory contents of the host computer can be retained, but the memory contents of the barcode reader disappear. After that, charging the battery of the host computer was started, and when the battery level of the host computer was restored to a level at which it was possible to operate by turning on the light emitter of the barcode reader, the power supply to the barcode reader was started again. In that case, there is also a drawback that the initialization command must be retransmitted to the barcode reader.
【0005】本発明はこのような欠点を解決するために
なされたものであり、バーコードリーダーの発光体点灯
スイッチが押された際にホストコンピュータに対し発光
体点灯要求コマンドを送信することにより、ホストコン
ピュータが内蔵のバッテリー残量を判断してバーコード
リーダーの発光体をコマンドにより制御することを目的
とする。The present invention has been made to solve such a drawback, and by transmitting a light emitter lighting request command to a host computer when a light emitter lighting switch of a bar code reader is pressed, The purpose is to allow the host computer to judge the remaining battery capacity of the built-in battery and control the light emitter of the bar code reader by a command.
【0006】[0006]
【課題を解決するための手段】本発明のバーコードリー
ダーはホストコンピュータとのコマンドまたはデータを
授受する通信手段と、発光体と、ホストコンピュータか
らのコマンドによる発光体制御手段と、本体に使用者が
操作可能な発光体点灯スイッチを有し、バーコードリー
ダーとホストコンピュータ間の通信手段を介してバーコ
ードリーダーの発光体を発光体点灯スイッチに連動させ
た処理にてホストコンピュータからコマンド制御するこ
とを特徴とする。A bar code reader of the present invention includes a communication means for transmitting and receiving a command or data to and from a host computer, a light emitter, a light emitter control means in response to a command from the host computer, and a main body for a user. Has a light-emitting body lighting switch that can be operated by, and command control from the host computer by a process in which the light-emitting body of the barcode reader is linked to the light-emitting body lighting switch via the communication means between the barcode reader and the host computer. Is characterized by.
【0007】[0007]
【作用】本発明の上記構成によれば、バーコード本体の
発光体の点灯スイッチをONしたことをホストコンピュ
ータに認識させることができバッテリー等の急激なダウ
ンなどにたいしてホストコンピュータによる適切な対処
を可能とする。According to the above configuration of the present invention, the host computer can recognize that the lighting switch of the light emitting body of the bar code body has been turned on, and the host computer can take appropriate measures against sudden battery down or the like. And
【0008】[0008]
【実施例】本発明の構成を図1にもとづいて説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The structure of the present invention will be described with reference to FIG.
【0009】バーコードリーダーはホストコンピュータ
からのコマンド待機と発光体点灯スイッチ状態ONの待
機と使用者によるバーコードの読み取り待機を実行す
る。使用者によるバーコードの読み取りが終了するとバ
ーコードリーダーは読み取りバーコードをホストコンピ
ュータに送信する。ホストコンピュータからのコマンド
を受信した場合、前記受信コマンドを判断する。前記受
信コマンドが発光体点灯コマンドである場合は発光体の
点灯処理を実行し、前記コマンドが発光体消灯コマンド
である場合は発光体の消灯処理を実行する。また、使用
者により発光体点灯スイッチが押された場合は発光体点
灯要求コマンドをホストコンピュータに対し送信する。The bar code reader waits for a command from the host computer, waits for the light emitter lighting switch state to be ON, and waits for the user to read the bar code. When the user finishes reading the barcode, the barcode reader sends the read barcode to the host computer. When the command from the host computer is received, the received command is determined. When the received command is a light emitter lighting command, a light emitter lighting process is executed, and when the command is a light emitter extinction command, a light emitter extinction process is executed. When the user presses the light emitter lighting switch, a light emitter lighting request command is transmitted to the host computer.
【0010】一方、ホストコンピュータは常時バッテリ
ーの残量検出とバーコードリーダーからのバーコードま
たはコマンド待機を実行する。バーコードリーダーから
バーコードを受信すると前記バーコードの処理を実行す
る。バーコードリーダーから発光体点灯要求コマンドを
受信した場合はバッテリー残量の確認処理を実行し、バ
ッテリー残量がバーコードリーダーの動作に十分なレベ
ルであれば、ホストコンピュータはバーコードリーダー
に対し発光体点灯コマンドの送信と使用者への正常メッ
セージの表示を実行する。On the other hand, the host computer constantly detects the remaining amount of the battery and waits for the bar code or command from the bar code reader. When the barcode is received from the barcode reader, the barcode processing is executed. When the light source lighting request command is received from the bar code reader, the battery remaining amount confirmation processing is executed. If the battery remaining amount is at a level sufficient for the operation of the bar code reader, the host computer emits light to the bar code reader. It sends a body lighting command and displays a normal message to the user.
【0011】また、バッテリー残量が減少しバーコード
リーダーへの電源供給を減らす必要があると判断した場
合、ホストコンピュータはバーコードリーダーに対し発
光体消灯コマンドの送信と使用者への異常メッセージの
表示を実行する。バッテリー不足の状態ではバーコード
リーダーからの発光体点灯要求コマンドは無視される。
後にバッテリー充電等の手段によりバッテリー残量がバ
ーコードリーダーの動作に十分なレベルまで回復した場
合、ホストコンピュータはバーコードリーダーからの発
光体点灯要求コマンドの処理を実行する。Further, when it is determined that the remaining battery power is low and it is necessary to reduce the power supply to the bar code reader, the host computer sends a light emitter turn-off command to the bar code reader and sends an abnormal message to the user. Execute the display. When the battery is insufficient, the light emitter lighting request command from the barcode reader is ignored.
After that, when the remaining battery level is restored to a level sufficient for the operation of the barcode reader by means such as battery charging, the host computer executes the processing of the light emitter lighting request command from the barcode reader.
【0012】以下その具体例を図面にもとづいて説明す
る。A specific example will be described below with reference to the drawings.
【0013】図2は本発明における各機器の接続を示す
図である。バッテリー内蔵のホストコンピュータ100
に前記ホストコンピュータ100からの電源供給により
動作するバーコードリーダー110を接続し、前記ホス
トコンピュータ100と前記バーコードリーダー110
間のデータ通信が可能なシステムにおいて、使用者によ
る発光体点灯スイッチONの動作により前記バーコード
リーダー110から送信された発光体点灯要求コマンド
を前記ホストコンピュータ100が受信した場合、前記
ホストコンピュータ100は内蔵バッテリー残量をチェ
ックしバッテリー残量がバーコードリーダー動作が可能
なレベルであれば、前記バーコードリーダー110に対
し発光体点灯コマンドを送信する。その後、前記ホスト
コンピュータ100の内蔵バッテリー残量が減少し前記
バーコードリーダー110への電源供給が不可能な状態
になった場合、前記ホストコンピュータ100は前記バ
ーコードリーダー110に対し発光体消灯コマンドを送
信し、CRTに異常メッセージを表示する。FIG. 2 is a diagram showing the connection of each device in the present invention. Host computer 100 with built-in battery
A bar code reader 110 that operates by power supply from the host computer 100 is connected to the host computer 100 and the bar code reader 110.
In a system capable of inter-data communication between the host computer 100 and the host computer 100, when the host computer 100 receives a lighter lighting request command transmitted from the bar code reader 110 by a user turning on the lighter lighting switch. The built-in battery remaining amount is checked, and if the remaining battery amount is at a level at which the bar code reader operation is possible, a light emitter lighting command is transmitted to the bar code reader 110. After that, when the remaining battery power of the host computer 100 decreases and it becomes impossible to supply power to the bar code reader 110, the host computer 100 issues a light emitter turn-off command to the bar code reader 110. Send and display abnormal message on CRT.
【0014】次に前記ホストコンピュータ100の制御
回路及び前記バーコードリーダー110の制御回路を図
3のハードウェア構成図に従って説明を行なう。Next, the control circuit of the host computer 100 and the control circuit of the bar code reader 110 will be described with reference to the hardware configuration diagram of FIG.
【0015】ホストコンピュータ100は内蔵のバッテ
リー101にて動作が可能となる。103は周知のマイ
クロコンピュータで、基本的にはCPU104、ROM
105、RAM106より構成されている。ROM10
5にはCPU104を制御するプログラムが書き込まれ
ており、CPU104はこのプログラムに従ってバッテ
リー残量検出ポート102からのデータ処理、CRT1
07へのメッセージ表示処理、バーコードリーダー11
0への送信コマンドの処理、前記バーコードリーダー1
10からの受信バーコードまたはコマンドの処理、デー
タ通信ポート108の制御処理を行なっている。The host computer 100 can be operated by the built-in battery 101. 103 is a well-known microcomputer, basically a CPU 104 and a ROM
105 and RAM 106. ROM10
A program for controlling the CPU 104 is written in the CPU 5, and the CPU 104 executes data processing from the battery remaining amount detection port 102 according to the program and CRT1.
Message display processing for 07, barcode reader 11
Processing of send commands to 0, said bar code reader 1
It processes the bar code or command received from 10, and controls the data communication port 108.
【0016】一方、前記バーコードリーダー110の電
源111は前記ホストコンピュータ100の内蔵のバッ
テリー101から供給される。113は周知のマイクロ
コンピュータで、基本的にはCPU114、ROM11
5、RAM116より構成されている。ROM115に
はCPU114を制御するプログラムが書き込まれてお
り、CPU114はこのプログラムに従ってデータ通信
ポート112の制御処理、前記ホストコンピュータ10
0からの受信コマンドの処理、発光体点灯スイッチ検出
ポート117の処理、前記ホストコンピュータ100へ
の送信コマンドの処理、バーコード読み取り部118の
制御処理、前記ホストコンピュータ100へのバーコー
ドの送信処理、発光体119の制御処理を行なってい
る。On the other hand, the power source 111 of the bar code reader 110 is supplied from the battery 101 built in the host computer 100. Reference numeral 113 is a well-known microcomputer, which is basically a CPU 114 and a ROM 11
5, RAM 116. A program for controlling the CPU 114 is written in the ROM 115, and the CPU 114 controls the data communication port 112 according to the program, and the host computer 10
Processing of a reception command from 0, processing of a light emitter lighting switch detection port 117, processing of a transmission command to the host computer 100, control processing of a barcode reading unit 118, transmission processing of a barcode to the host computer 100, The control process of the light emitter 119 is performed.
【0017】図4は本発明の実施例におけるバッテリー
充電状況130、ホストコンピュータ内蔵バッテリー残
量131、バーコードリーダー電源133、発光体点灯
スイッチ状態135、バーコードリーダーからのコマン
ド送信状況136、バーコードリーダーのコマンド受信
状況137、バーコードリーダーの発光体の状態138
を示す図である。ホストコンピュータはバーコードリー
ダーに電源供給を開始した時点でバーコードリーダーに
対し初期設定コマンド139を送信する。バーコードリ
ーダーは前記初期化コマンド139を処理した後、発光
体点灯スイッチONの待機処理を開始する。前記発光体
点灯スイッチ待機状態において使用者が発光体点灯スイ
ッチを押した時点で、バーコードリーダーはホストコン
ピュータに対し発光体点灯要求コマンド140を送信す
る。ホストコンピュータは前記発光体点灯要求コマンド
140を受信した時点で内蔵のバッテリー残量をチェッ
クしバーコードリーダーの発光体点灯状態での使用が可
能なレベルであれば、バーコードリーダーに対し発光体
点灯コマンド141を送信する。その後ホストコンピュ
ータはバッテリー残量を常時検出する。前記バッテリー
残量検出時にバッテリー残量がバーコードリーダーの発
光体を点灯させ続けるのに不可能なレベルまで低下した
と判断するとホストコンピュータはバーコードリーダー
に対し、発光体消灯コマンド142を送信する。バーコ
ードリーダーは前記発光体消灯コマンド142を受信す
るとすぐに発光体を消灯させる。これによりホストコン
ピュータは動作限界電圧132を越えることなく動作を
継続することができる。また、バーコードリーダーもホ
ストコンピュータのバッテリー残量低下に伴い、ホスト
コンピュータからの供給電源が低下するが発光体を消灯
することで消費電力を減少させることができ、動作限界
電圧134を越えることなく動作を継続できる。一方、
ホストコンピュータは使用者に対し図2に示すような異
常メッセージを表示することによりバーコードリーダー
を動作させるにはバッテリー不足であることを知らせ、
充電の必要があることを知らせることが可能である。こ
れにより使用者の知らない状況で急にパワーダウンする
ことを防ぐことができる。FIG. 4 shows the battery charge status 130, the host computer built-in battery remaining capacity 131, the bar code reader power supply 133, the light emitter lighting switch status 135, the command transmission status 136 from the bar code reader, and the bar code in the embodiment of the present invention. Reader command reception status 137, bar code reader light emitter status 138
FIG. The host computer transmits an initial setting command 139 to the bar code reader when the power supply to the bar code reader is started. After processing the initialization command 139, the barcode reader starts the standby process for turning on the light emitter lighting switch. When the user presses the light emitter lighting switch in the light emitter lighting switch standby state, the bar code reader transmits the light emitter lighting request command 140 to the host computer. When the host computer receives the light-emitting body lighting request command 140, it checks the built-in battery level, and if the level is such that the barcode reader can be used in the light-emitting body lighting state, the bar-code reader lights up the light-emitting body. The command 141 is transmitted. After that, the host computer constantly detects the remaining battery level. When it is determined that the remaining battery level has dropped to a level at which it is impossible to keep the light emitter of the bar code reader lit when the remaining battery amount is detected, the host computer sends a light emitter off command 142 to the bar code reader. The bar code reader turns off the light emitter as soon as it receives the light emitter off command 142. This allows the host computer to continue operating without exceeding the operation limit voltage 132. Further, the bar code reader also reduces the power supply from the host computer as the remaining battery power of the host computer decreases, but it is possible to reduce the power consumption by turning off the light emitter, and the operating limit voltage 134 is not exceeded. The operation can be continued. on the other hand,
The host computer informs the user that the battery is insufficient to operate the barcode reader by displaying an error message as shown in FIG.
It is possible to inform that the battery needs to be charged. As a result, it is possible to prevent sudden power down in a situation that the user does not know.
【0018】また、バーコードリーダーから発光体点灯
要求コマンド140が送付された時にホストコンピュー
タ内蔵のバッテリー残量がバーコードリーダーの発光体
点灯状態における動作が不可能なレベルの場合、ホスト
コンピュータは前記発光体点灯要求コマンド140を無
視することにより使用者が発光体点灯スイッチを押して
もバッテリー不足の場合はバーコードリーダー発光体が
点灯しないためホストコンピュータの動作限界電圧13
2、バーコードリーダーの動作限界電圧134をそれぞ
れ越えることなくメモリ内容保持の状態での動作が可能
となる。When the light source lighting request command 140 is sent from the bar code reader and the remaining battery power in the host computer is at a level at which the bar code reader cannot operate in the light source lighting state, the host computer determines By ignoring the light-emitting body lighting request command 140, even if the user pushes the light-emitting body lighting switch, if the battery is insufficient, the bar code reader light-emitting body does not light up, so the operating limit voltage of the host computer 13
2. It is possible to operate in the state of holding the memory contents without exceeding the operation limit voltage 134 of the barcode reader.
【0019】その後、使用者がバッテリーを充電する等
の処置によりホストコンピュータの内蔵バッテリーがバ
ーコードリーダーの発光体点灯状態における動作が可能
なレベルまで回復した後にホストコンピュータがバーコ
ードリーダーからの発光体点灯要求コマンド140を受
信した場合、バーコードリーダーに対し発光体点灯コマ
ンド141を送信する。バーコードリーダーは前記発光
体点灯コマンド141を受信するとすぐに発光体を点灯
させることによりバーコード読み取り処理が可能とな
る。一方、ホストコンピュータは使用者に対しては通常
のバーコード入力待ち画面の表示に戻す等の処理により
バーコードリーダーの動作が可能であることを知らせる
ことができる。After that, the host computer restores the built-in battery of the bar code reader to a level at which the bar code reader can be operated in a lighted state by the user charging the battery or the like. When the lighting request command 140 is received, the light emitter lighting command 141 is transmitted to the barcode reader. As soon as the bar code reader receives the light emitter lighting command 141, the bar code reader turns on the light emitter to enable the barcode reading process. On the other hand, the host computer can notify the user that the operation of the bar code reader is possible by processing such as returning to the normal bar code input waiting screen display.
【0020】ソフトウェアによる具体的なバーコードリ
ーダーの処理を図5のフローチャートに示す。初めにメ
モリ、ポート等のイニシャライズ処理(ステップ20
1)を実行する。その後、使用者による発光体点灯スイ
ッチONの待機処理(ステップ202)、ホストコンピ
ュータからのコマンド待機処理(ステップ204)また
はバーコードの読み取り終了待機処理(ステップ20
5)を実行する。この時、使用者が発光体点灯スイッチ
を押したと判断(ステップ202)した場合はホストコ
ンピュータに対し発光体点灯要求コマンド送信処理(ス
テップ203)を実行する。また、ホストコンピュータ
からのコマンド待機処理(ステップ204ょにおいてコ
マンドを受信した場合はコマンド処理群213に移る。
前記コマンド処理群213において、前記コマンドが初
期設定コマンドであると判断(ステップ207)した場
合は初期設定処理(ステップ208)を実行する。前記
コマンドが発光体点灯コマンドであると判断(ステップ
209)した場合は発光体の点灯処理(ステップ21
0)を実行する。前記コマンドが発光体消灯コマンドで
あると判断(ステップ211)した場合は発光体の消灯
処理(ステップ212)を実行する。その他のコマンド
を受信した場合もそれぞれの処理を実行する。また、前
記バーコードの読み取り待機状態(ステップ205)に
おいてバーコード読み取り処理が終了と判断した場合、
ホストコンピュータに対し読み取ったバーコードの送信
処理(ステップ206)を実行する。The specific processing of the bar code reader by software is shown in the flowchart of FIG. First, initialize the memory, ports, etc. (Step 20
Execute 1). After that, a waiting process for turning on the light emitter lighting switch by the user (step 202), a command waiting process from the host computer (step 204), or a bar code reading completion waiting process (step 20).
Execute 5). At this time, if it is determined that the user has pressed the light emitter lighting switch (step 202), the light emitter lighting request command transmission process (step 203) is executed to the host computer. In addition, command waiting processing from the host computer (when a command is received in step 204, the processing moves to the command processing group 213.
When the command processing group 213 determines that the command is the initial setting command (step 207), the initial setting process (step 208) is executed. If it is determined that the command is a light emitter lighting command (step 209), the light emitter lighting process (step 21).
0) is executed. When it is determined that the command is a light emitter extinction command (step 211), light emitter extinction processing (step 212) is executed. Even when other commands are received, the respective processes are executed. When it is determined that the barcode reading process is completed in the barcode reading standby state (step 205),
The process of transmitting the read bar code to the host computer (step 206) is executed.
【0021】ソフトウェアによる具体的なホストコンピ
ュータの処理を図6のフローチャートに示す。最初にバ
ーコードリーダーへの電源供給処理(ステップ221)
とバーコードリーダーに対し初期設定コマンドの送信処
理(ステップ222)を実行する。次にバーコードリー
ダーからのバーコード待機処理(ステップ223)、バ
ーコードリーダーからのコマンドの待機処理(ステップ
224)、内蔵バッテリーの残量チェック処理(ステッ
プ225)を実行する。前記バーコード待機状態(ステ
ップ223)においてバーコードを認識した場合、バー
コードの受信処理(ステップ226)と前記バーコード
の処理(ステップ227)を実行する。前記バーコード
リーダーからのコマンド待機状態(ステップ224)に
おいてコマンドを受信した場合、コマンド処理を開始す
る。前記コマンドが発光体点灯要求コマンドであると判
断(ステップ228)した場合はバッテリー残量のチェ
ック処理(ステップ229)を実行後、バッテリー残量
がバーコードリーダーの発光体点灯の動作が可能である
と判断するとバーコードリーダーに対し発光体点灯コマ
ンド送信処理(ステップ230)を実行する。一方前記
バッテリー残量のチェック処理(ステップ229)にお
いてバッテリー不足であると判断した場合は、使用者に
対して異常メッセージの画面表示処理(ステップ23
2)を実行後バッテリーの回復待機処理(ステップ23
3)を実行する。その後、使用者によるバッテリー充電
処置等によりバッテリーがバーコードリーダーの発光体
点灯状態での使用が可能なレベルまで回復したと判断
(ステップ233)するとバーコードリーダーに対し表
示画面の異常メッセージの消去処理(ステップ234)
を実行する。前記バッテリー残量チェック処理(ステッ
プ225)においてバッテリー不足と判断した場合に、
ホストコンピュータはバーコードリーダーに対し発光体
消灯コマンドの送信処理(ステップ231)と使用者に
対しバッテリー不足の異常メッセージの表示処理(ステ
ップ232)を実行する。その後、使用者によるバッテ
リー充電処置等によりバッテリーがバーコードリーダー
の発光体点灯状態での使用が可能なレベルまで回復した
と判断(ステップ233)するとバーコードリーダーに
対し表示画面の異常メッセージの消去処理(ステップ2
34)を実行する。The specific processing of the host computer by the software is shown in the flowchart of FIG. First, power supply processing to the barcode reader (step 221)
And an initial setting command transmission process (step 222) to the barcode reader. Next, a bar code waiting process from the bar code reader (step 223), a command waiting process from the bar code reader (step 224), and a remaining amount check process of the built-in battery (step 225) are executed. When the barcode is recognized in the barcode waiting state (step 223), the barcode receiving processing (step 226) and the barcode processing (step 227) are executed. When a command is received in the command waiting state (step 224) from the bar code reader, command processing is started. If it is determined that the command is a light emitter lighting request command (step 228), after the battery remaining amount check processing (step 229) is executed, the operation of lighting the light emitter of the bar code reader can be performed. If it is determined that the light emitting body lighting command is transmitted to the barcode reader (step 230). On the other hand, if it is determined in the battery remaining amount check process (step 229) that the battery is insufficient, an abnormal message screen display process to the user (step 23)
After executing 2), the battery recovery standby process (step 23)
Execute 3). After that, when it is determined that the battery has recovered to a level at which the bar code reader can be used with the light emitting body of the bar code reader being used due to the battery charging process or the like (step 233), the bar code reader is processed to erase the abnormal message on the display screen. (Step 234)
To execute. When it is determined that the battery is insufficient in the battery remaining amount check processing (step 225),
The host computer executes a process of transmitting a light emitter extinguishing command to the bar code reader (step 231) and a process of displaying a battery shortage abnormality message to the user (step 232). After that, when it is determined that the battery has recovered to a level at which the bar code reader can be used with the light emitting body of the bar code reader being used due to the battery charging process or the like (step 233), the bar code reader is processed to erase the abnormal message on the display screen. (Step 2
34) is executed.
【0022】[0022]
【発明の効果】以上述べたように本発明によれば、消費
電力の大きいバーコードリーダーの発光体を発光体点灯
スイッチに連動させた処理にてホストコンピュータがコ
マンドにより制御するため、バッテリー駆動の端末等を
ホストコンピュータとして接続し、バーコードリーダー
の電源を前記ホストコンピュータの内蔵バッテリーから
供給して使用するシステムにおいてもバッテリー残量を
考慮した処理ができ、急なパワーダウンによるメモリ内
容の消滅等の問題がなく安定した動作が可能となった。As described above, according to the present invention, the host computer controls by a command in the process of linking the light emitting body of the bar code reader, which consumes a large amount of power, with the light emitting body lighting switch. Even in a system in which a terminal or the like is connected as a host computer and the power of the bar code reader is supplied from the built-in battery of the host computer, it is possible to perform processing that considers the remaining battery capacity, and the memory contents disappear due to a sudden power down. There was no problem of and stable operation became possible.
【図1】本発明の構成図。FIG. 1 is a configuration diagram of the present invention.
【図2】本発明の一実施例を示すシステム接続図。FIG. 2 is a system connection diagram showing an embodiment of the present invention.
【図3】本発明の一実施例を示すハードウェア構成図。FIG. 3 is a hardware configuration diagram showing an embodiment of the present invention.
【図4】本発明の一実施例を示す電源、コマンドの流れ
および発光体の状況を示すタイミング図。FIG. 4 is a timing diagram showing a power supply, a command flow, and a state of a light emitter according to an embodiment of the present invention.
【図5】本発明のバーコードリーダー処理の一実施例を
示すフローチャート。FIG. 5 is a flowchart showing an embodiment of the barcode reader processing of the present invention.
【図6】本発明のホストコンピュータ処理の一実施例を
示すフローチャート。FIG. 6 is a flowchart showing an embodiment of the host computer processing of the present invention.
100・・・ホストコンピュータ 110・・・バーコードリーダー 119・・・発光体 100 ... Host computer 110 ... Bar code reader 119 ... Light emitter
Claims (1)
データを授受する通信手段と、発光体と、ホストコンピ
ュータからのコマンドによる発光体制御手段と、本体に
使用者が操作可能な発光体点灯スイッチを有するバーコ
ードリーダーにおいて、前記発光体点灯スイッチが押さ
れたことを前記通信手段を介してホストコンピュータに
知らせる手段を有するバーコードリーダー。1. A bar having a communication means for transmitting and receiving a command or data to and from a host computer, a light emitter, a light emitter control means according to a command from the host computer, and a main body having a lighter lighting switch operable by a user. In the code reader, a bar code reader having means for notifying the host computer via the communication means that the light emitter lighting switch has been pressed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4005945A JP3018701B2 (en) | 1992-01-16 | 1992-01-16 | Barcode reader |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4005945A JP3018701B2 (en) | 1992-01-16 | 1992-01-16 | Barcode reader |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH05189593A true JPH05189593A (en) | 1993-07-30 |
| JP3018701B2 JP3018701B2 (en) | 2000-03-13 |
Family
ID=11625040
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4005945A Expired - Fee Related JP3018701B2 (en) | 1992-01-16 | 1992-01-16 | Barcode reader |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3018701B2 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP0917087A1 (en) * | 1997-11-17 | 1999-05-19 | Datalogic S.P.A. | Portable optical code reader with a device for controlling the charge state of the reader battery |
| US6056196A (en) * | 1996-11-08 | 2000-05-02 | Denso Corporation | Optical reading apparatus having active and passive power source switching circuitry and a stand thereof |
-
1992
- 1992-01-16 JP JP4005945A patent/JP3018701B2/en not_active Expired - Fee Related
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6056196A (en) * | 1996-11-08 | 2000-05-02 | Denso Corporation | Optical reading apparatus having active and passive power source switching circuitry and a stand thereof |
| EP0917087A1 (en) * | 1997-11-17 | 1999-05-19 | Datalogic S.P.A. | Portable optical code reader with a device for controlling the charge state of the reader battery |
| US6215280B1 (en) * | 1997-11-17 | 2001-04-10 | Datalogic S.P.A. | Portable optical code reader with a device for controlling the charge state of the reader battery |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3018701B2 (en) | 2000-03-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6601176B1 (en) | Automotive computer system and method whereby responsive to detecting engine cranking main processor enters a suspend mode and current state of devices are stored in volatile memory | |
| US5930517A (en) | Data processing system with separable system units | |
| JPH05189593A (en) | Barcode reader | |
| EP1635248A2 (en) | Multiple functionality associated with a computer on/off pushbutton switch | |
| US8412146B2 (en) | Mutual awakening system and method thereof between a handheld device and a wireless communication module | |
| JP2002041189A (en) | Unintegruptible power supply device | |
| JPH05189594A (en) | Bar code reader and control method | |
| US5842121A (en) | Power supply unit with switch-on/off facility for powering radio equipment | |
| JP2002073311A (en) | Printer system and printer device | |
| US6056196A (en) | Optical reading apparatus having active and passive power source switching circuitry and a stand thereof | |
| US7308585B2 (en) | Low power residual remaining power indicator | |
| US12061560B2 (en) | Pointing device and method capable of correcting its USB state by monitoring voltage/state of USB communication interface | |
| JPH09172687A (en) | Remote control device | |
| JPH10333790A (en) | Information processing apparatus having power save function and power save release method of the information processing apparatus | |
| JPH05173677A (en) | Terminal power control method | |
| JP2548607B2 (en) | Electronic lock device | |
| JPH11191025A (en) | Infrared data communication system | |
| JP2602543Y2 (en) | Remote control unit | |
| KR100471081B1 (en) | Power management apparatus for computer system and control method of the same | |
| JPH0738147B2 (en) | Uninterruptible power system | |
| JP2003224890A (en) | Transmission apparatus for remote control | |
| JP2007072322A (en) | Image display device | |
| CN116471732A (en) | Lifter and lifter indicator lamp control method | |
| JPH06230862A (en) | Terminal power on / off time reservation system device and automatic power control device | |
| JPH06337727A (en) | Automatic operation control device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090107 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100107 Year of fee payment: 10 |
|
| LAPS | Cancellation because of no payment of annual fees |