JPS61153871A - Electronic register device - Google Patents

Electronic register device

Info

Publication number
JPS61153871A
JPS61153871A JP27384784A JP27384784A JPS61153871A JP S61153871 A JPS61153871 A JP S61153871A JP 27384784 A JP27384784 A JP 27384784A JP 27384784 A JP27384784 A JP 27384784A JP S61153871 A JPS61153871 A JP S61153871A
Authority
JP
Japan
Prior art keywords
motor
floppy disk
operator
signal
register device
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
JP27384784A
Other languages
Japanese (ja)
Inventor
Tatsuya Nakamura
達哉 中村
Jiro Kubo
二郎 久保
Takuo Toba
鳥羽 拓夫
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP27384784A priority Critical patent/JPS61153871A/en
Publication of JPS61153871A publication Critical patent/JPS61153871A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To speed up a disk response by detecting an operator being nearby a device and operating the motor of a floppy disk drive, and stopping the motor a specific time after final disk operation while the operator leaves the device. CONSTITUTION:The floppy disk drive (FDD)3 is provided with a floppy disk on which sales data, customer control data, and article control data are stored. When a sensor 5 detects an operator being nearby the device, SENSE13 turns on and a system control part 1 activates a motor-on setting signal 11. An FF4 turns on the on signal 10 of the motor of the FDD3 to drive the motor. A hardware timer 6 makes a request for interruption at a constant period and a time- out processing program is executed after FD processing is completed by the operator. If the SENSE13 is off at this time, an on reset signal 12 for the motor is outputted. Thus, the disk response is speeded up.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、売上げデータ、顧客管理データ、商品管理デ
ータ等を、フロッピーディスクを用いて管理する電子レ
ジスタ装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an electronic register device that manages sales data, customer management data, product management data, etc. using a floppy disk.

(従来例の構成とその問題点) 従来のフロッピーディスクを用いた電子レジスタ装置で
の、レジスタ操作の発生とフロッピーディスク動作の発
生とめ関係は、っぎの2つがあった。
(Constitution of Conventional Example and its Problems) In a conventional electronic register device using a floppy disk, there are two types of relationship between occurrence of register operation and occurrence of floppy disk operation.

1つは、フロッピーディスクドライブのモータを常にO
Nにさせ、フロッピーディスク動作が必要となったとき
、即時に応答できる手法である。
One is to keep the floppy disk drive motor always on.
This method enables an immediate response when a floppy disk operation is required.

他力は1通常モータをOFFにし―フロッピーディスク
動作が必要となったときに、モータをONにするという
手法であった。ところが、前者では、常にモータが働い
ているため、フロッピーディスクの寿命が短かくなる欠
点があり、また後者ではフロッピーディスクドライブが
レディ状態になるまでの時間だけ応答が遅れる欠点があ
った。
The other method was to turn off the motor normally and then turn it on when floppy disk operation was required. However, in the former, the motor is always working, which shortens the life of the floppy disk, and in the latter, the response is delayed by the time it takes for the floppy disk drive to become ready.

(発明の目的) 本発明の目的は、従来の欠点を解消し、フロッピーディ
スク動作の応答が速く、かつフロッピーディスクの寿命
も長くなる電子レジスタ装置を提供することである。
OBJECTS OF THE INVENTION It is an object of the present invention to provide an electronic register device which eliminates the drawbacks of the prior art, provides quick response in floppy disk operation, and extends the life of the floppy disk.

(発明の構成) 本発明の電子レジスタ装置は、売上げデータ、顧客管理
データ、商品管理データ等をフロッピーディスクを用い
て管理するものであって、操作者が装置近傍にいること
を検出する検出器とハードウェアタイマーを有し、操作
者が装置近傍にいることを検出し、フロッピーディスク
動作が必要になるとの予知を行ない、実際のフロッピー
ディスク動作に先立ち、フロッピーディスクドライブの
モータを動作させ、操作者が装置から離れ、かつ最終の
フロッピーディスク動作から一定時間経過したことを検
出し、あらたなフロッピーディスク動°作を必要としな
いことを検出してフロッピーディスクドライブのモータ
を停止させるものである。
(Structure of the Invention) The electronic register device of the present invention manages sales data, customer management data, product management data, etc. using a floppy disk, and includes a detector for detecting that an operator is near the device. It has a hardware timer that detects when an operator is near the device, predicts that a floppy disk operation will be required, and activates the floppy disk drive motor prior to actual floppy disk operation. It detects when the person leaves the device and a certain period of time has passed since the last floppy disk operation, detects that no new floppy disk operation is required, and stops the floppy disk drive motor.

(実施例の説明) 本発明の一実施例を第1図ないし第3図に基づいて説明
する。
(Description of Embodiment) An embodiment of the present invention will be described based on FIGS. 1 to 3.

第1図は、本発明の電子レジスタ装置のブロック図であ
る。第2図は同制御手順をフローチャートにより示した
ものであり、第3図は同制御手順のタイミングを示した
ものである。なお同図においてHIGHレベルは、信号
がアクティブ(ON)であるか、処理を実行中であるか
を示している。
FIG. 1 is a block diagram of an electronic register device of the present invention. FIG. 2 shows the control procedure in the form of a flowchart, and FIG. 3 shows the timing of the control procedure. Note that in the figure, the HIGH level indicates whether the signal is active (ON) or whether processing is being executed.

第1図において、1はシステム制御部であり。In FIG. 1, 1 is a system control section.

2はフロッピーディスクコントローラ(以下FCCと称
す)であり、3は売上げデータ、顧客管理データ、商品
管理データを格納するフロッピーディスクを有するフロ
ッピーディスクドライブ(以下FDDと称す)である、
4はFDD3のモータをONにする信号をラッチするフ
リッププロップであり、5は操作者が電子レジスタ装置
近傍にいることを検出するセンサーであり、6はCPU
、メモリ等のシステム制御部1に対し、7のタイマー割
込要求ラインを介して、一定の周期で割込を要求するハ
ードウェアタイマーである。8はFDC2の制御信号で
あり、9はFDD3の制御信号であり、10はFDD3
のモータをON、OFFにする信号、11は信号10を
ONにするセット信号。
2 is a floppy disk controller (hereinafter referred to as FCC); 3 is a floppy disk drive (hereinafter referred to as FDD) having a floppy disk for storing sales data, customer management data, and product management data;
4 is a flip-prop that latches a signal to turn on the motor of FDD 3, 5 is a sensor that detects that the operator is near the electronic register device, and 6 is a CPU
, memory, etc., is a hardware timer that requests an interrupt at regular intervals via a timer interrupt request line 7. 8 is a control signal for FDC2, 9 is a control signal for FDD3, and 10 is a control signal for FDD3.
11 is a set signal that turns on signal 10.

12は信号lOをOFFにするリセット信号であり。12 is a reset signal that turns off the signal lO.

13はセンサー5出力をシステム制御部1へ渡す信号線
(以下5ENSEと称す)である。
13 is a signal line (hereinafter referred to as 5ENSE) that passes the output of the sensor 5 to the system control unit 1.

つぎに、第3図のタイミング図を説明する。Next, the timing chart shown in FIG. 3 will be explained.

A:割込1の発生により割込処理プログラムが実行され
るが、5ENSE13がOFF状態なので、モータオン
信号10をONにせず、したがってFDp3のモータは
ONにならない。
A: The interrupt processing program is executed due to the occurrence of interrupt 1, but since 5ENSE13 is in the OFF state, the motor on signal 10 is not turned on, and therefore the motor of FDp3 is not turned on.

B:割込1処理プログラムの中で、5ENSE13がO
Nであることを検出し、モータのオンセット信号11を
アクティブにし、モータのオン信号IOがONになり、
FDD3のモータが回り出す。
B: In the interrupt 1 processing program, 5ENSE13 is set to O.
N is detected, the motor onset signal 11 is activated, and the motor on signal IO is turned ON.
The FDD3 motor starts rotating.

C:操作者のKEY (図示せず)操作により、FD処
理が始まる。この時点で第2図に示すようにタイマー(
ソフトウェアタイマーのシステム制御部lのメモリー上
に存在する)がリセットされ、タイムアウトは発生しな
くなる。
C: FD processing is started by the operator's KEY (not shown) operation. At this point, the timer (
The software timer (present in the memory of the system control unit 1) is reset, and timeouts no longer occur.

D=第2図に示すように、ソフトウェアタイマーがセッ
トされる。
D=A software timer is set as shown in FIG.

E:ll込1に応じたソフトウェアタイマーがカウント
ダウンされる。
E: The software timer corresponding to 1 is counted down.

F:Eに同じ。F: Same as E.

G:Eに同じくカウントダウンされたのち、タイムアウ
トが発生し、第2図のタイムアウト処理プログラムが実
行される。しかし5ENSE13の出力がONのままで
あるので、モータのOFFは行なわず、タイマーを再セ
ットする。
G: After being counted down in the same way as E, a timeout occurs, and the timeout processing program shown in FIG. 2 is executed. However, since the output of 5ENSE13 remains ON, the motor is not turned off and the timer is reset.

H二Cと同様のFD処理の始めである。This is the beginning of FD processing similar to H2C.

工:pと同様のFD処理の終了である。Step: This is the end of the FD process similar to p.

J:に:Eと同じ。J: ni: Same as E.

L:Gと同様にタイムアウト処理プログラムが実行され
る。ここでは5ENSE13の出力がOFFであるので
、モータのオンリセット信号12が発せられモータのオ
ン信号lOがOFFとなり、FDD3のモータは停止す
る。
L: A timeout processing program is executed in the same way as in G. Here, since the output of 5ENSE 13 is OFF, the motor ON reset signal 12 is generated, the motor ON signal 10 is turned OFF, and the motor of the FDD 3 is stopped.

(発明の効果) 本発明によれば、操作者が装置近傍にいるか、または連
続してフロッピーディスク動作を必要とするときだけ、
フロッピーディスクドライブのモ−タを動作させる電子
レジスタ装置を提供するもので、操作に対する応答性が
良く、かつフロッピーディスクの長寿命化を図る効果が
ある。
(Effects of the Invention) According to the present invention, only when the operator is near the device or requires continuous floppy disk operation,
The present invention provides an electronic register device for operating the motor of a floppy disk drive, which has good responsiveness to operations and is effective in prolonging the life of the floppy disk.

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

第1図は本発明の一実施例によるレジスタ装置のブロッ
ク図、第2図は同制御手順のフローチャート図、第3図
は同制御手順のタイミングを示したチャート図である。 1 ・・システム制御部、 2 ・・・フロッピーディ
スクコントローラ(FDC)、 3 ・・・ フロッピ
ーディスクドライブ(FDD)、 4 ・・・フリップ
フロップ、 5 ・・・センサー、 6 ・・・ハード
ウェアタイマー、 7 ・・・タイマー割込要求ライン
、 8 ・・・ FDC制御信号、 9 ・・・FDD
制御信号、 11・・・モータオンセット信号、 12
・・・モータオンリセット信号、13・・・センサー出
力信号。 特許出願人 松下電器産業株式会社 第1図 第2図
FIG. 1 is a block diagram of a register device according to an embodiment of the present invention, FIG. 2 is a flowchart of the control procedure, and FIG. 3 is a chart showing the timing of the control procedure. 1... System control unit, 2... Floppy disk controller (FDC), 3... Floppy disk drive (FDD), 4... Flip-flop, 5... Sensor, 6... Hardware timer, 7...Timer interrupt request line, 8...FDC control signal, 9...FDD
Control signal, 11...Motor onset signal, 12
...Motor on reset signal, 13...Sensor output signal. Patent applicant: Matsushita Electric Industrial Co., Ltd. Figure 1 Figure 2

Claims (1)

【特許請求の範囲】[Claims] 売上げデータ、顧客管理データ、商品管理データ等をフ
ロッピーディスクを用いて管理する電子レジスタ装置に
おいて、操作者が、該レジスタ装置近傍にいることを検
出する第1の検出手段と、最終のフロッピーディスク動
作から一定時間経過したことを検出する第2の検出手段
とを備え、前記第1の検出手段による第1の検出が得ら
れたとき、前記フロッピーディスクドライブのモータを
動作させる信号をONにし、前記第1の検出が得られず
、かつ前記第2の検出手段による第2の検出が得られた
とき、前記フロッピーディスクドライブのモータを動作
させる信号をOFFにするシステム制御部を具備したこ
とを特徴とする電子レジスタ装置。
In an electronic register device that manages sales data, customer management data, product management data, etc. using a floppy disk, there is provided a first detection means for detecting that an operator is near the register device, and a final floppy disk operation. and a second detection means for detecting that a certain period of time has elapsed from The system further comprises a system control unit that turns off a signal for operating the motor of the floppy disk drive when the first detection is not obtained and the second detection is obtained by the second detection means. electronic register device.
JP27384784A 1984-12-27 1984-12-27 Electronic register device Pending JPS61153871A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27384784A JPS61153871A (en) 1984-12-27 1984-12-27 Electronic register device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27384784A JPS61153871A (en) 1984-12-27 1984-12-27 Electronic register device

Publications (1)

Publication Number Publication Date
JPS61153871A true JPS61153871A (en) 1986-07-12

Family

ID=17533373

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27384784A Pending JPS61153871A (en) 1984-12-27 1984-12-27 Electronic register device

Country Status (1)

Country Link
JP (1) JPS61153871A (en)

Similar Documents

Publication Publication Date Title
JPS61153871A (en) Electronic register device
JP3214079B2 (en) CPU abnormality detection device
JPS6240735B2 (en)
US6282664B1 (en) Method and apparatus for switching an electronic system between an operating mode and stand-by mode
JP2762817B2 (en) Application program loop / stall monitoring device
JPH09237212A (en) File backup system
JP3350716B2 (en) Positioning device
JPS642981B2 (en)
JPH0149975B2 (en)
JP2917408B2 (en) Information equipment and its control method
JP3288159B2 (en) Bus connection method
JP2629382B2 (en) Programmable controller system
JP3331235B2 (en) Power saving control method and apparatus for computer system
JPH05233851A (en) Microprocessor
JPH02121047A (en) Input/output control system
JPH03119441A (en) Detection system for abnormality of account timer
JPH0426498B2 (en)
JP2557785Y2 (en) Single chip microcomputer
JP2569694B2 (en) Disk controller
JPH03157701A (en) Power failure processing system for programmable controller
JPH035856A (en) Monitoring system for memory content holding function
JPH0627261A (en) Digital controller
JPH05257830A (en) Method and device for monitoring input/output processing completion
JPH0589049A (en) Command executing device
JPH0716216U (en) Keyboard input monitoring device