JPH047796A - Reading/writing device for loadable/unloadable electronic memory - Google Patents

Reading/writing device for loadable/unloadable electronic memory

Info

Publication number
JPH047796A
JPH047796A JP2113891A JP11389190A JPH047796A JP H047796 A JPH047796 A JP H047796A JP 2113891 A JP2113891 A JP 2113891A JP 11389190 A JP11389190 A JP 11389190A JP H047796 A JPH047796 A JP H047796A
Authority
JP
Japan
Prior art keywords
electronic memory
memory
removable electronic
power supply
data
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
JP2113891A
Other languages
Japanese (ja)
Inventor
Moriyuki Yoshida
守志 吉田
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 Refrigeration Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Refrigeration Co filed Critical Matsushita Refrigeration Co
Priority to JP2113891A priority Critical patent/JPH047796A/en
Publication of JPH047796A publication Critical patent/JPH047796A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To improve the reliability of the above reading/writing device by confirming the data storage state secured by a battery in a loadable/unloadable electronic memory in a state where the memory is connected to an automatic vending machine. CONSTITUTION:When a loadable/unloadable electronic memory 4 is connected to the automatic vending machine, a feeding circuit is actuated to supply the voltage of a prescribed level to the memory 4. Then a prescribed code is written into a prescribed area of the memory 4. Then the circuit 7 is stopped for a fixed time and the supply of power is also stopped to the memory 4. When the circuit 7 is actuated again, the data are read out of the prescribed area and collated with the prescribed code. Thus it is possible to detect the abnormality of the memory 4 and the consumption of a battery 2 with the memory 4 connected to the vending machine. As a result, the reliability is improved for the reading/writing device of the memory 4.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、自動販売機における脱着型電子式メモリのリ
ードライト装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a read/write device for a removable electronic memory in a vending machine.

従来の技術 例えば、従来の電子式メモリのデータチエツク方式は特
開昭58−200388号公報に示されるように、バッ
テリでバックアップされている電予成メモリに、各種デ
ータを記憶する場合、そのデータ及びそのデータと同一
内容のチエツクデータとを記憶しておき、復電時にその
データとチエツクデータを照合し、データのチエツクを
行っていた。
BACKGROUND ART For example, as shown in Japanese Patent Application Laid-Open No. 58-200388, a conventional data check method for electronic memory is such that when various data is stored in an electric preformed memory backed up by a battery, the data check method is This data and check data having the same content are stored, and when the power is restored, the data is compared with the check data to check the data.

発明が解決しようとする課題 しかしながら上記従来の構成においては、電子式メモリ
と、その制御回路の給電回路は同一のものとなっており
、脱着型電子式メモリの場合、脱着型電子式メモリが自
動販売機から取外された場合の脱着型電子式メモリ内部
に構成されたバッテリによるデータ保存状態の確認を、
脱着型電子式メモリを自動販売機に接続された状態にて
行うことが出来ないといった欠点を有していた。
Problems to be Solved by the Invention However, in the above conventional configuration, the electronic memory and the power supply circuit for its control circuit are the same, and in the case of removable electronic memory, the removable electronic memory automatically Check the data storage status of the battery inside the removable electronic memory when removed from the vending machine.
It has the disadvantage that it cannot be used while the removable electronic memory is connected to the vending machine.

本発明は上記従来の課題を解決するもので、脱着型電子
式メモリ内部に構成されたバッテリによるデータ保存状
態の確認を脱着型電子式メモリを自動販売機に接続され
た状態にて行なうことが出来る信頼性の高い脱着型電子
式メモリのリードライト装置を提供するものである。
The present invention solves the above-mentioned conventional problems, and makes it possible to check the data storage state by the battery configured inside the removable electronic memory while the removable electronic memory is connected to a vending machine. The present invention provides a highly reliable removable electronic memory read/write device.

課頚を解決するための手段 この目的を達成するために本発明の脱着型電子式メモリ
のリードライト装置は、脱着型電子式メモリが自動販売
機に接続された場合、給電回路を作動さし脱着型電子式
メモリへ所定電圧を供給し、脱着型電子式メモリの所定
領域に所定コードを書込み、その後一定時間給電回路を
停止し、脱着型電子式メモリへの供電を停止し、再度給
電回路を作動さし、所定領域のデータを読み出し、所定
コードとの照合判定し、脱着型電子式メモリのチエツク
を行うものである。
Means for Solving the Issues In order to achieve this objective, the removable electronic memory read/write device of the present invention operates a power supply circuit when the removable electronic memory is connected to a vending machine. A predetermined voltage is supplied to the removable electronic memory, a predetermined code is written in a predetermined area of the removable electronic memory, the power supply circuit is then stopped for a certain period of time, the power supply to the removable electronic memory is stopped, and the power supply circuit is restarted. is activated, data in a predetermined area is read out, comparison is made with a predetermined code, and the removable electronic memory is checked.

の異常及び、バッテリが消耗している事を検出すること
が出来る。
It is possible to detect abnormalities in the battery and battery depletion.

実施例 以下本発明の一実施例における脱着型電子式メモリのリ
ードライト装置について1図面を参照しながら説明する
Embodiment Hereinafter, a read/write device for a removable electronic memory according to an embodiment of the present invention will be described with reference to one drawing.

第1図は実施例を示すブロック図である。第1図におい
て、1は複数の自動販売機の売上金額等の各種のデータ
を格納する書込み可能メモリ、2は書込み可能メモリ1
のデータを保存する為のパンテリ、3は外部からの電圧
を検出し、所定の外部電圧を検出した場合、書込み可能
メモリ1をバッテリ2によるデータ保存状態より、デー
タの読み出し、及び書込みが可能な状態となる所定電圧
を供給する電源検出装置、4は複数の自動販売機の売上
金額等の各種データを格納する書込み可能メモリ1とバ
ッテリ2と電源検出装置3からなる脱着型電子式メモリ
、5は自動販売機の制御と脱着型電子式メモリ4の制御
を行う主制御部、6は主制御部6に接続され、脱着型電
子式メモリ4の脱着を検知する脱着検知装置、7は主制
御部5に接続され、脱着型電子式メモリ4へ所定電圧の
供給を行う給電回路、8は主制御部6に接続され、自動
販売機制御に必要なデータを保存する内部書込み可能メ
モリ、9は主制御部5に接続され、自動販売機の制御状
態の表示を行う表示部である。
FIG. 1 is a block diagram showing an embodiment. In FIG. 1, 1 is a writable memory that stores various data such as sales amounts of multiple vending machines, and 2 is a writable memory 1.
3 detects an external voltage, and when a predetermined external voltage is detected, data can be read and written from the writable memory 1 in the data storage state by the battery 2. 4 is a removable electronic memory consisting of a writable memory 1 for storing various data such as sales amounts of a plurality of vending machines, a battery 2, and a power supply detection device 3; 6 is a main control unit that controls the vending machine and the removable electronic memory 4; 6 is a detachment detection device that is connected to the main control unit 6 and detects attachment/detachment of the removable electronic memory 4; 7 is a main control unit; 8 is an internal writable memory that is connected to the main control section 6 and stores data necessary for controlling the vending machine; This is a display unit that is connected to the main control unit 5 and displays the control status of the vending machine.

第2図は実施例における、脱着型電子式メモリのリード
ライト装置の動作を示すフローチャートである。
FIG. 2 is a flowchart showing the operation of the removable electronic memory read/write device in the embodiment.

以下、第2回を参照しながら脱着型電子式メモリのリー
ドライト装置について、その動作について説明する。
Hereinafter, the operation of the removable electronic memory read/write device will be explained with reference to Part 2.

主制御部5は、脱着型電子式メモリ4が脱着検知装置6
により、自動販売機に接続されたと検知した場合(ステ
ップ1)、給電回路7より脱着型電子式メモリ4へ所定
電圧の供給を行う(ステップ2)。主制御部5は書込み
可能メモリ1の所定領域AのデータD1を読み出し、−
旦内部書込み可能メモリ8へ保存する(ステップ3)。
The main control unit 5 has a removable electronic memory 4 and a removable detection device 6.
When it is detected that it is connected to a vending machine (step 1), a predetermined voltage is supplied from the power supply circuit 7 to the removable electronic memory 4 (step 2). The main control unit 5 reads data D1 from a predetermined area A of the writable memory 1, and -
The data is then stored in the internal writable memory 8 (step 3).

書込み可能メモリ10所定領域Aへ所定コードD2を書
込む(ステップ4)、その後、−旦給電回路7を停止さ
せ、書込み可能メモリ1をバッテリ2によるデータ保存
状態とする(ステップ6)。一定時間後、再度給電回路
7よυ所定電圧を供給しくステップ6)、書込み可能メ
モリ1の所定領域AのデータD3を読み出し、前記所定
コードD2との照合を行う(ステップ7)。照合の結果
不一致があった場合、脱着型電子式メモリ4に異常があ
ると判定し、表示部9にエラー表示を行い(ステップ8
)、脱着型電子式メモリ4への処理を終了する(ステッ
プ11)。また照合の結果一致した場合、内部書込み可
能メモリ8へ保存したデータD1を読み出し、脱着型電
子式メモリ4の所定領域Aに書込み(ステップ9)、前
記脱着型電子式メモリ4への処理を続行する(ステップ
1o)。
A predetermined code D2 is written in a predetermined area A of the writable memory 10 (step 4), and then the power supply circuit 7 is stopped and the writable memory 1 is brought into a data storage state by the battery 2 (step 6). After a certain period of time, the power supply circuit 7 supplies the predetermined voltage υ again (step 6), and the data D3 in the predetermined area A of the writable memory 1 is read out and compared with the predetermined code D2 (step 7). If there is a discrepancy as a result of the comparison, it is determined that there is an abnormality in the removable electronic memory 4, and an error is displayed on the display section 9 (step 8).
), the process to the removable electronic memory 4 is ended (step 11). If the comparison results in a match, the data D1 stored in the internal writable memory 8 is read out and written to a predetermined area A of the removable electronic memory 4 (step 9), and the processing to the removable electronic memory 4 is continued. (Step 1o).

以上のように本実施例によれば、脱着型電子式メモリ4
を自動販売機に接続した状態にて、脱着型電子式メモリ
4への給電を制御することによシ、脱着型電子式メモリ
4の異常及び、バッテリ2が消耗している事を検出する
ことが出来る。
As described above, according to this embodiment, the removable electronic memory 4
To detect an abnormality in the removable electronic memory 4 and a depletion of the battery 2 by controlling power supply to the removable electronic memory 4 while the removable electronic memory 4 is connected to the vending machine. I can do it.

発明の効果 以上のように本発明は、脱着型電子式メモリが自動販売
機に接続された状態にて、給電回路より脱着型電子式メ
モリへ所定電圧を供給し、脱着型電子式メモリの所定領
域へ所定コードを書込み、給電回路を停止させ、一定時
間データ保存状態とした後、再度給電回路により給電し
、脱着型電子式メモリの所定領域からデータを読み出し
、所定コードとの照合を行うことにより、脱着型電子式
メモリの異常及びバッテリの消耗を検知することが出来
るので、脱着型電子式メモリが正常な場合にのみ、脱着
型電子式メモリへの処理を行い、確実にデータの書込み
ができ、信頼性の高い脱着型電子式メモリのリードライ
ト装置を提供できる。
Effects of the Invention As described above, the present invention supplies a predetermined voltage to the removable electronic memory from a power supply circuit while the removable electronic memory is connected to a vending machine, Write a predetermined code to the area, stop the power supply circuit, store data for a certain period of time, then supply power again from the power supply circuit, read data from the predetermined area of the removable electronic memory, and check against the predetermined code. This makes it possible to detect abnormalities in the removable electronic memory and battery consumption, so processing is performed to the removable electronic memory only when the removable electronic memory is normal, ensuring that data can be written to the removable electronic memory. A highly reliable removable electronic memory read/write device can be provided.

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

第1図は本発明の一実施例における脱着型電子式メモリ
のリードライト装置のブロック図、第2図は第1図のフ
ローチャートである。 1・・・・・・書込み可能メモリ、2・・・・・・バッ
テリ、3・・・・・・電源検出装置、4・・・・・・脱
着型電子式メモリ、5・・・・・・主制御部、6・・・
・・・脱着検出装置、7・・・・・・電源装置、8・・
・・・内部書込み可能メモリ、9・・・・・・表示部。
FIG. 1 is a block diagram of a removable electronic memory read/write device according to an embodiment of the present invention, and FIG. 2 is a flowchart of FIG. 1. 1... Writable memory, 2... Battery, 3... Power supply detection device, 4... Removable electronic memory, 5...・Main control unit, 6...
...Detachment detection device, 7...Power supply device, 8...
. . . Internal writable memory, 9 . . . Display section.

Claims (1)

【特許請求の範囲】[Claims] 複数の自動販売機の売上金額等の各種データを格納する
書込み可能なメモリと、前記書込み可能メモリのデータ
を保存する為のバッテリと、外部からの電圧を検出し、
所定の外部電圧を検出した場合、前記書込み可能メモリ
を前記バッテリによるデータ保存状態より、データの書
込み可能な状態となる所定電圧を供給する電源検出装置
とからなる脱着型電子式メモリと、自動販売機の制御を
行う主制御部と、前記主制御部に接続され、前記脱着型
電子式メモリの脱着を検知する脱着検知装置と、前記主
制御部に接続され、前記脱着型電子式メモリへ所定電圧
の供給を行う給電回路と、前記主制御部に接続され、自
動販売機の制御状態の表示を行う表示部とからなり、前
記脱着型電子式メモリが自動販売機に接続された場合、
前記給電回路を作動さし前記脱着型電子式メモリへ所定
電圧を供給し、前記脱着型電子式メモリの、所定領域へ
所定コードを書込み、前記給電回路を停止さし、一定時
間脱着型電子式メモリへの給電を停止した後、給電回路
を作動さし、前記脱着型電子式メモリへ給電を行い、前
記脱着型電子式メモリの所定領域に格納されたデータと
前記所定コードを照合して、一致した場合、前記脱着型
電子式メモリへの処理を続行し、また不一致があった場
合、前記脱着型電子式メモリが異常であると判定し前記
表示部にエラー表示を行い、前記脱着型電子式メモリへ
の以後の処理を行わない事を特徴とする脱着型電子式メ
モリのリードライト装置。
A writable memory for storing various data such as sales amounts of a plurality of vending machines, a battery for storing data in the writable memory, and detecting voltage from an external source,
a removable electronic memory comprising a power supply detection device that supplies a predetermined voltage that changes the writable memory from a data storage state using the battery to a data writable state when a predetermined external voltage is detected; and an automatic vending machine. a main control section that controls the machine; a detachment detection device that is connected to the main control section and detects attachment/detachment of the removable electronic memory; It consists of a power supply circuit that supplies voltage and a display unit that is connected to the main control unit and displays the control status of the vending machine, and when the removable electronic memory is connected to the vending machine,
The power supply circuit is activated to supply a predetermined voltage to the removable electronic memory, a predetermined code is written to a predetermined area of the removable electronic memory, the power supply circuit is stopped, and the removable electronic memory is operated for a certain period of time. After stopping power supply to the memory, activating a power supply circuit to supply power to the removable electronic memory, and comparing data stored in a predetermined area of the removable electronic memory with the predetermined code, If they match, processing to the removable electronic memory is continued; if there is a mismatch, it is determined that the removable electronic memory is abnormal, an error is displayed on the display, and the removable electronic memory is A removable electronic memory read/write device characterized in that no further processing is performed on the electronic memory.
JP2113891A 1990-04-26 1990-04-26 Reading/writing device for loadable/unloadable electronic memory Pending JPH047796A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2113891A JPH047796A (en) 1990-04-26 1990-04-26 Reading/writing device for loadable/unloadable electronic memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2113891A JPH047796A (en) 1990-04-26 1990-04-26 Reading/writing device for loadable/unloadable electronic memory

Publications (1)

Publication Number Publication Date
JPH047796A true JPH047796A (en) 1992-01-13

Family

ID=14623730

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2113891A Pending JPH047796A (en) 1990-04-26 1990-04-26 Reading/writing device for loadable/unloadable electronic memory

Country Status (1)

Country Link
JP (1) JPH047796A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI427141B (en) * 2010-01-21 2014-02-21 Nanomizer Inc Milky fuel and its manufacturing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI427141B (en) * 2010-01-21 2014-02-21 Nanomizer Inc Milky fuel and its manufacturing method

Similar Documents

Publication Publication Date Title
JPH044289Y2 (en)
US5675833A (en) Apparatus and method for detecting insertions and removals of floppy disks by monitoring write-protect signal
JP3376306B2 (en) Data processing apparatus and data processing method
JP2000215112A (en) Electronic equipment and low-voltage detecting method
JPH047796A (en) Reading/writing device for loadable/unloadable electronic memory
JPH08178976A (en) Power breakage detector
JP2671299B2 (en) Electronic journal control system
JP2761990B2 (en) Data protection device for electronic equipment
JPS5991525A (en) Controlling method of backup power supply of volatile memory
JPH06348535A (en) Abnormality generation history storage device
JPH06291500A (en) Electronic component mounting method
JP2540650B2 (en) Memory card and data processing system using memory card
JPS5991508A (en) Copier error detection method
JPH11149419A (en) Data backup method and device
KR101140465B1 (en) Device and method for controlling power supply
JPH0120775B2 (en)
JPS6326748A (en) Method for deciding abnormality of memory
JPS59178552A (en) Self diagnosis controlling system
JP3495439B2 (en) Operation history data storage device
JPS61276003A (en) Control device of electronic equipment
JPH06161908A (en) Memory controller
JP3751457B2 (en) Switch status confirmation device
JPS5847600Y2 (en) Electronic devices with volatile memory
JPS6247722A (en) Starting method for terminal equipment
JPH05233474A (en) Storage contents protection system