JP2801243B2 - Reader / writer device - Google Patents
Reader / writer deviceInfo
- Publication number
- JP2801243B2 JP2801243B2 JP1021983A JP2198389A JP2801243B2 JP 2801243 B2 JP2801243 B2 JP 2801243B2 JP 1021983 A JP1021983 A JP 1021983A JP 2198389 A JP2198389 A JP 2198389A JP 2801243 B2 JP2801243 B2 JP 2801243B2
- Authority
- JP
- Japan
- Prior art keywords
- file
- mode
- file number
- memory card
- function mode
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000004891 communication Methods 0.000 claims description 19
- 238000000034 method Methods 0.000 claims description 11
- 230000006870 function Effects 0.000 description 42
- 239000004973 liquid crystal related substance Substances 0.000 description 15
- 230000008569 process Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 9
- 238000012545 processing Methods 0.000 description 7
- 238000003825 pressing Methods 0.000 description 5
- 230000004044 response Effects 0.000 description 5
- 238000012790 confirmation Methods 0.000 description 3
- 230000007704 transition Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- XEEYBQQBJWHFJM-UHFFFAOYSA-N Iron Chemical compound [Fe] XEEYBQQBJWHFJM-UHFFFAOYSA-N 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 239000000428 dust Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000003754 machining Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- -1 moisture Substances 0.000 description 1
Landscapes
- Numerical Control (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、いわゆるICメモリカードの利用技術に関す
るものであり、さらに具体的には、NC(数値制御)工作
機械用プログラム等のファイルのための記憶媒体として
ICメモリカードを利用する場合のリーダ・ライタ装置の
改良に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a technology for using a so-called IC memory card, and more specifically, for files such as programs for NC (numerical control) machine tools. As a storage medium
The present invention relates to improvement of a reader / writer device when an IC memory card is used.
近年においては、NC工作機械や産業用ロボット等を利
用した、いわゆるFAシステムの普及が加速されつつあ
り、それに伴ってそれらの加工プログラム等の保管が問
題となっている。In recent years, the spread of so-called FA systems using NC machine tools, industrial robots, and the like has been accelerated, and accordingly, storage of such machining programs has become a problem.
すなわち上記のようなFA機器が設置されている工場的
環境下では、一般に塵埃、水分、油沫、鉄粉等がありが
ちであるために、それらに弱い磁気テープやフロッピー
ディスクを加工プログラムの記憶用媒体として用いるこ
とは避けられる傾向にあり、その結果、大部分の工場で
は未だに体積がかさばって取扱いも煩雑な紙テープが用
いられているのが実情である。That is, in a factory environment where FA equipment as described above is installed, dust, moisture, oil droplets, iron powder, and the like are generally apt to be present, so weak magnetic tapes and floppy disks are used for storing processing programs. Use as a medium tends to be avoided, and as a result, most factories still use paper tape that is bulky and difficult to handle.
そこで従来においても、上記紙テープに替わるものと
して、比較的耐環境性に優れた有接点型あるいは無接点
型のICメモリカードを、加工用プログラムの記憶媒体と
して用いることが提案されてはいるが、上記ICメモリカ
ードに対して加工プログラムを記憶書き込みしたり、読
み出したりするためのリーダ・ライタ装置については、
必ずしも満足できるものは提供されていない状態にあ
る。Therefore, in the past, as a substitute for the paper tape, it has been proposed to use a contact type or contactless type IC memory card having relatively excellent environmental resistance as a storage medium of a processing program. For the reader / writer device for storing and reading the processing program to and from the IC memory card,
What is not always satisfactory is not provided.
すなわち従来のリーダ・ライタ装置は、ハンドヘルド
型コンピュータと同等な規模のキーボードや表示装置を
含む過剰な構成要素を有しており、所望の処理を実行す
るためには文字や数字等を前記キーボードより入力して
いく必要があって、いわばハンドヘルド型コンピュータ
と同様な煩雑な操作と高い価格とをユーザーに強いるも
のであったり、あるいは逆に構成を簡素化するあまり、
操作上の約束事が異常に多く、操作が繁雑で分かりにく
いものであったりしており、構成の簡素化と操作の分か
り易さとを、同時に満足しているようなものは、まだ実
現されていない状態にある。That is, the conventional reader / writer device has excessive components including a keyboard and a display device of the same scale as a handheld computer, and in order to execute a desired process, characters and numerals are transmitted from the keyboard. It is necessary to input the data, forcing the user to perform the same complicated operation and high price as a hand-held computer, or to simplify the configuration.
Operational conventions are unusually numerous, and operations are complicated and difficult to understand.Those that simultaneously satisfy the simplification of the configuration and the simplicity of operation have not yet been realized. In state.
そこで本発明の目的は、外部操作のための構成や表示
手段を簡素化しながら、しかも分かり易い簡単な操作
で、書き込みや読み出し処理を実行することのできるリ
ーダ・ライタ装置を提供することにある。SUMMARY OF THE INVENTION It is an object of the present invention to provide a reader / writer device that can execute a write or read process with a simple operation that is easy to understand while simplifying the configuration and display means for an external operation.
上記の目的を達成するための本発明の構成を、第1図
の機能ブロック図に基づいて説明する。The configuration of the present invention for achieving the above object will be described based on the functional block diagram of FIG.
本発明によるリーダ・ライタ装置は、NC工作機械等の
外部機器1との間を接続するためのシリアル通信用イン
ターフェース手段2と、着脱可能なICメモリカード3に
アクセスするためのICメモリカード用インターフェース
手段と、機能モード選択スイッチ5、ファイル番号選択
スイッチ6および実行命令スイッチ7を含む外部操作用
プッシュスイッチ(いわゆるタッチ型スイッチも含む)
と、前記機能モード選択スイッチ5からの入力信号に応
答して、読み出しモードおよび書き込みモードを含む複
数の機能モードの中から1つの機能モードを順次選択す
る機能モード選択手段8と、該機能モード選択手段8に
よって選択された機能モードを表示する機能モード表示
手段9と、前記ファイル番号選択スイッチ6からの入力
に応答して、複数個のファイル番号の中から1個のファ
イル番号を順次選択するファイル番号選択手段10と、該
ファイル番号選択手段10によって選択されたファイル番
号を示すためのファイル番号表示手段11を有する。さら
に読み出し制御手段12は、機能モード選択手段8により
前記読み出しモードが選択されているときに、実行命令
スイッチ7からの入力に応答して、ICメモリカード3内
の前記選択されたファイル番号のファイル・データを読
み出すとともにシリアル通信用インターフェース手段2
を介して外部機器1に送信するためのもので、書き込み
制御手段13は、機能モード選択手段8によって前記書き
込みモードが選択されているときに、実行命令スイッチ
7からの入力に応答して、シリアル通信用インターフェ
ース手段2を介して外部機器1から入力されてくるファ
イル・データを、前記選択されたファイル番号のファイ
ル・データとしてICメモリカード3内に記憶書き込みす
るためのものである。The reader / writer device according to the present invention comprises a serial communication interface means 2 for connecting with an external device 1 such as an NC machine tool, and an IC memory card interface for accessing a detachable IC memory card 3. Means and a push switch for external operation including a function mode selection switch 5, a file number selection switch 6 and an execution command switch 7 (including a so-called touch type switch)
Function mode selection means 8 for sequentially selecting one function mode from a plurality of function modes including a read mode and a write mode in response to an input signal from the function mode selection switch 5; A function mode display means 9 for displaying the function mode selected by the means 8; and a file for sequentially selecting one file number from a plurality of file numbers in response to an input from the file number selection switch 6. It has a number selecting means 10 and a file number displaying means 11 for indicating the file number selected by the file number selecting means 10. Further, when the read mode is selected by the function mode selection means 8, the read control means 12 responds to an input from the execution command switch 7 and stores the file of the selected file number in the IC memory card 3 in the IC memory card 3. .Interface means 2 for reading data and serial communication
The writing control means 13 transmits the command to the external device 1 via the serial interface in response to an input from the execution command switch 7 when the writing mode is selected by the function mode selection means 8. The file data input from the external device 1 via the communication interface means 2 is stored and written in the IC memory card 3 as the file data of the selected file number.
なお、ICメモリカード3は、記憶素子として電気的に
書き変え可能なSRAMまたはEEP−ROMを用いたもので、か
つICメモリカード用インターフェース手段4を介して、
本リーダ・ライタ装置自体に対して着脱可能である。The IC memory card 3 uses an electrically rewritable SRAM or EEP-ROM as a storage element, and via the IC memory card interface means 4,
It is detachable from the reader / writer device itself.
以下、本発明の実施例を図に従って説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
第2図は、本発明の1実施例によるリーダ・ライタ装
置の構成を示すブロック線図であり、第3図は、その外
観を概略的に示す平面図である。FIG. 2 is a block diagram showing the configuration of a reader / writer device according to one embodiment of the present invention, and FIG. 3 is a plan view schematically showing the appearance.
本実施例のリーダ・ライタ装置は、CPU21、プログラ
ムを記憶しているROM22、処理データ等を一時的に記憶
しておくためのRAM23、入力ポート24、ICメモリカード
用インターフェース手段として設けられたメモリカード
用コネクタ25、外部機器1との間のシリアル通信用イン
ターフェース手段として設けられたシリアル通信用イン
ターフェース回路26とシリアル通信用コネクタ27、液晶
表示装置28を駆動するためのLCDドライバ29、およびこ
れらの各要素間を結んでいるデータバス、アドレスバ
ス、コントロールバスより成るバスライン30等を有して
おり、入力ポート24には機能モード選択スイッチS1、機
能モードセットスイッチS2、ファイル番号選択スイッチ
S3および実行命令スイッチS4より成る外部操作用プッシ
ュスイッチが接続されている。The reader / writer device of the present embodiment includes a CPU 21, a ROM 22 for storing a program, a RAM 23 for temporarily storing processing data, an input port 24, and a memory provided as an interface means for an IC memory card. A card connector 25, a serial communication interface circuit 26 and a serial communication connector 27 provided as serial communication interface means between the external device 1 and the LCD driver 29 for driving a liquid crystal display device 28; It has a bus line 30 composed of a data bus, an address bus and a control bus connecting the elements, and the input port 24 has a function mode selection switch S 1 , a function mode set switch S 2 , and a file number selection switch.
External operation push switch consisting of S 3, and executes the instruction switch S 4 is connected.
なお本実施例における液晶表示装置28は、8文字1行
構成のドットマトリックス型の表示装置として設けられ
ており、さらにシリアル通信用コネクタ27としては、い
わゆるRS−232C用のコネクタが用いられている。Note that the liquid crystal display device 28 in this embodiment is provided as a dot matrix type display device having an eight-character one-line configuration, and a so-called RS-232C connector is used as the serial communication connector 27. .
第4図(a)は、本実施例におけるSRAM内蔵ICメモリ
カード3のメモリマップを示す図であり、SRAMのメモリ
領域は、システムIDコード用エリア40と、ディレクトリ
用エリア50と、ファイル・アロケーション・テーブル
(以下FAT)60と、その他の全ての領域から成るファイ
ルエリア70とから構成される。FIG. 4A is a diagram showing a memory map of the IC memory card 3 with a built-in SRAM in the present embodiment. The memory area of the SRAM includes a system ID code area 40, a directory area 50, and a file allocation. A table (hereinafter referred to as FAT) 60 and a file area 70 including all other areas.
このうちシステムIDコード用エリア40は、このカード
が本リーダ・ライタ装置用のカードであることを示すた
めの特別な識別コードを書き込んでおくための領域であ
る。The system ID code area 40 is an area for writing a special identification code for indicating that the card is a card for the present reader / writer device.
また本実施例では、1枚のICメモリカード3内に最大
で8つまでのNC工作機械用プログラム等のファイルを記
憶できるように構成されているために、前記ディレクト
リ用エリア50内はNo.1〜No.8より成る8つの個別ファイ
ル用ディレクトリ領域に分割されている。さらにファイ
ルエリア70は、所定のバイト数より成るセクタに分割さ
れており、FAT60は周知のフロッピーディスクにおけるF
ATと全く同様に、ファイルエリア70に記憶書き込みされ
ている各ファイルの構成セクタに関するチェイン情報を
記憶しておくために設けられた領域である。In this embodiment, since one IC memory card 3 is configured to store up to eight files of NC machine tool programs and the like, the directory area 50 has No. It is divided into eight individual file directory areas 1 to No. 8. Further, the file area 70 is divided into sectors each having a predetermined number of bytes.
Just like the AT, this area is provided for storing chain information on constituent sectors of each file stored and written in the file area 70.
一方、個別ファイル用ディレクトリ領域は、第4図
(b)に示されるように、ICカード内に当該No.のファ
イルが既に書き込まれているか、また未書き込みなのか
等の属性を書き込んでおくためのファイル属性エリア5
1、NC工作機械用プログラムの固有番号等のファイル名
を書き込んでおくためのファイル名エリア52、当該No.
のファイルの先頭セクタ番号を書き込んでおくための先
頭セクタ番号エリア53、当該No.のファイルを構成する
セクタ個数を書き込んでおくためのセクタ個数エリア5
4、当該No.のファイル・データのチェック・サムを書き
込んでおくためのチェック・サム・エリア55より構成さ
れている。なお、該チェック・サム・エリア55は、何ら
かの事故により書き込み済のファイル・データに変化が
生じた場合でも、それを検出して警告するために設けら
れたものである。On the other hand, in the individual file directory area, as shown in FIG. 4 (b), attributes such as whether the file of the number is already written or not written in the IC card are written. File attribute area 5
1, a file name area 52 for writing a file name such as a unique number of the NC machine tool program;
The first sector number area 53 for writing the first sector number of the file No., and the sector number area 5 for writing the number of sectors constituting the file of the No. 5
4. It comprises a checksum area 55 for writing a checksum of the file data of the number. The checksum area 55 is provided to detect and warn when a change occurs in the written file data due to some accident.
次に第5図は、本リーダ・ライタ装置の操作や表示状
態等のフローの概略を示すための状態遷移図であり、以
下、この状態遷移図に従って、本実施例のリーダ・ライ
タ装置の動作を説明する。Next, FIG. 5 is a state transition diagram showing an outline of a flow such as an operation and a display state of the reader / writer device, and the operation of the reader / writer device of the present embodiment will be described below according to the state transition diagram. Will be described.
リーダ・ライタ装置が適当な外部機器に接続され、か
つ電源が投入されて動作がスタートすると、液晶表示装
置28は、機能モード選択スイッチS1の操作によって機能
モードを選択することが必要であることを示すために、
状態M1に示されるように"FUNCTION"という表示を行う。The interrogator is connected to a suitable external device, and the operating power is turned starts, it liquid crystal display device 28, it is necessary to select a function mode by the operation of the function mode selecting switch S 1 To indicate
The display "FUNCTION" is performed as shown in the state M1.
この状態からは機能モード選択スイッチS1が押される
毎に、状態M2で示される読み出しモード(READ)、状態
M3で示される書き込みモード(WRITE)、状態M4で示さ
れる消去モード(ERASE)、状態M5で示される比較モー
ド(VERIFY)、状態M6で示される書き込み済ファイル番
号確認モード(FILES)、状態M7で示されるカード・ス
テータス・モード(STATUS)、状態M8で示されるカード
初期化モード(FORMAT)の順に、シーケンシャルに各機
能モードを順次、循環的に選択していくことが可能であ
り、また液晶表示装置28は、現在どの機能モードが選択
された状態にあるかを表示している。Each pressed the function mode selection switch S 1 from this state, the read mode (READ), a state represented by state M2
Write mode (WRITE) indicated by M3, erase mode (ERASE) indicated by state M4, comparison mode (VERIFY) indicated by state M5, written file number confirmation mode (FILES) indicated by state M6, state M7 It is possible to sequentially and cyclically select each function mode in the order of the card status mode (STATUS) shown, and the card initialization mode (FORMAT) shown in state M8, and the liquid crystal display The device 28 indicates which function mode is currently selected.
一方、前記の読み出しモード、書き込みモード、消去
モード、比較モードのいずれかが選択されている状態
で、機能モードセットスイッチS2を押すと、現在選択中
の機能モードに固定され、今度はファイル番号選択スイ
ッチS3によって処理対象のファイルNo.を選択する必要
がある状態にいる(以下ファイル番号選択要求状態)こ
とを示すために、それぞれの機能モードにおいて液晶表
示装置28は、各状態R1、W1、E1、V1に示されるように、
“FILE No."という表示を行う。Meanwhile, the read mode, write mode, erase mode, in a state where any of the comparison mode is selected, pressing the function mode set switch S 2, is fixed to the functional mode of the currently selected, this time the file number to show that there by the selection switch S 3 to the state in which it is necessary to select the file No. of processing object (hereinafter file number selection request state), the liquid crystal display device 28 in each functional mode, the state R1, W1 , E1, V1,
“FILE No.” is displayed.
この状態からはファイル番号選択スイッチS3を押す毎
に、処理対象のファイル番号を順次、シーケンシャルに
選択していくことが可能であるが、本実施例のリーダ・
ライタ装置は、読み出しモード、消去モード、比較モー
ドにおけるファイル番号の選択時には、ファイル番号選
択スイッチS3からの入力に応答して、ICメモリカード内
に既に書き込み済みのファイル番号の中から1個のファ
イル番号を順次選択するように構成されている。従っ
て、例えばNo.1〜No.8の8個のファイルのうち、No.1、
3、4、5、8のファイルが既に書き込まれていて、N
o.2、6、7のファイルが未書き込み状態にあるとする
と、読み出しモード、消去モード、比較モードのいずれ
のモードにおいても、ファイル番号選択スイッチS3を押
す毎に1、3、4、5、8の順に、ファイル番号が順
次、シーケンシャルに選択されていく。また、この各フ
ァイル番号の選択されている状態では、液晶表示装置28
は、状態R2、R3あるいはE2、E3あるいはV2、V3に示され
るように、現在選択されているファイル番号の表示を行
う。なお、これらの液晶表示装置28による選択中のファ
イル番号の表示状態において、カッコ内に表示されてい
る4個の文字“####”は、選択されている番号のフ
ァイルの固有ファイル名(NC工作機械用プログラムの場
合には、その固有番号)を示すものであり、固有ファイ
ル名がない場合には、この部分の表示は空白となる。From this state by each press a file number selection switch S 3 is the file number to be processed sequentially, it is possible to continue to sequentially selected, the leader of the embodiment
Writer apparatus reads mode, erase mode, at the time of selection of the file number in the comparison mode, in response to input from a file number selection switches S 3, from the previously written file number in the IC memory card 1 It is configured to sequentially select file numbers. Therefore, for example, of the eight files No. 1 to No. 8,
Files 3, 4, 5, and 8 have already been written and N
When o.2,6,7 file is referred to as being unwritten state, the read mode, the erase mode, in either mode of comparison mode, each pressing a file number selection switch S 3 1, 3, 4, 5 , 8 in that order, the file numbers are sequentially selected. In the state where each file number is selected, the liquid crystal display device 28
Displays the currently selected file number as shown in states R2, R3 or E2, E3 or V2, V3. In the display state of the file number being selected by the liquid crystal display device 28, the four characters "####" displayed in parentheses are the unique file names (files) of the file of the selected number. In the case of a program for an NC machine tool, this indicates a unique number). If there is no unique file name, the display of this portion is blank.
一方、書き込みモードが選択されているときには、フ
ァイル番号選択スイッチS3からの入力に応答して、ICメ
モリカード内に未書き込みのファイル番号の中から1個
のファイル番号を順次選択するように構成されている。
従ってNo.2、6、7のファイルが未書き込みの状態にあ
るとすると、書き込みモードでは、ファイル番号選択ス
イッチS3を押す毎に2、6、7の順に、ファイル番号が
順次、シーケンシャルに選択されていくとともに、各フ
ァイル番号の選択されている状態では、液晶表示装置28
は状態W2、W3に示されるように、現在選択されているフ
ァイル番号の表示を行う。On the other hand, when the write mode is selected, in response to input from a file number selection switches S 3, configured to sequentially select one file number from the file number of unwritten IC memory card Have been.
Thus the No.2,6,7 file is referred to as being in a state of unwritten, in the write mode, choose 2,6,7 every pressing a file number selection switches S 3, file number sequence, sequentially While the file numbers are being selected, the liquid crystal display device 28
Displays the currently selected file number as shown in states W2 and W3.
なお上述のファイル番号の選択処理の場合には、CPU2
1はICメモリカード3内のディレクトリ用エリア50の各
情報に基づいて、各機能モードに応じた適正な順序でフ
ァイル番号の選択を行なったり、液晶表示装置28上での
表示を制御したりするように構成されている。またファ
イル番号の選択処理において、選択可能なファイルがな
い場合には、ファイル番号選択要求状態よりファイル番
号選択スイッチS3が押されると、液晶表示装置28によっ
て“NO FILES"という表示(図示は省略)が行なわれ
る。In the case of the above-described file number selection processing, the CPU 2
1 selects a file number in an appropriate order according to each function mode based on each information of the directory area 50 in the IC memory card 3 and controls display on the liquid crystal display device 28. It is configured as follows. Also in the selection process of the file number, if no selectable file, the file number selection switch S 3 than the file number selection request state is pressed, the display of "NO FILES" by the liquid crystal display device 28 (not shown ) Is performed.
一方、各機能モードにおいて、いずれかのファイル番
号が選択されている状態(以下、ファイル番号選択中)
において、実行命令スイッチS4を押すと、それぞれの機
能モードに応じた処理が実行されて、正常に終了する
と、状態Kに示されるように液晶表示装置28は、処理が
正常に終了したことを明示する。すなわち読み出しモー
ドにおけるファイル番号選択中の状態で、実行命令スイ
ッチS4が押されると、CPU21は、当該番号のフィルム用
の個別ディレクトリ領域およびFAT60内の情報に基づい
て、ファイル・エリア70より当該ファイルの内容を読み
出してくるとともに、シリアル通信用インターフェース
回路26およびシリアル通信用コネクタ27を介して、該読
み出したファイルの内容を外部機器1に送信する。On the other hand, in each function mode, a state in which any file number is selected (hereinafter, the file number is being selected)
In, pressing the execution instruction switch S 4, are processed in accordance with each function mode is executed, and if successful, a liquid crystal display device 28 as shown in state K is that the process was successful Specify. That is, in the state of the file number selected in the read mode, when the execution command switch S 4 is pressed, CPU 21, based on the information of the individual directory area and the FAT60 for film of the number, the file than the file area 70 The content of the read file is transmitted to the external device 1 via the serial communication interface circuit 26 and the serial communication connector 27.
また書き込みモードにおけるファイル番号選択中の状
態で実行命令スイッチS4が押されると、CPU21は、シリ
アル通信用インターフェース回路26およびシリアル通信
用コネクタ27を介して、外部機器1から送られてくるフ
ァイル・データを受信するとともに、該受信データのフ
ァイル・エリア70への書き込み処理と、当該番号のファ
イル用個別ディレクトリ領域およびFAT60内への必要情
報の書き込み処理とを実行する。Also the file number executed with the selected instruction switch S 4 is pressed in a write mode, CPU 21 via a serial communication interface circuit 26 and a serial communication connector 27, the file sent from the external device 1 At the same time as receiving the data, a process of writing the received data to the file area 70 and a process of writing necessary information to the file-specific directory area and the FAT 60 of the number are executed.
さらに消去モードにおけるファイル番号選択中の状態
で実行命令スイッチS4が押されると、CPU21は、当該番
号のファイル用の個別ディレクトリ領域およびFAT60内
の情報を書き変えて、当該番号のファイルの抹消処理を
行う。すなわち本実施例のリーダ・ライタ装置において
は、前述の書き込みモードにおけるファイル番号の選択
処理の部分で説明したように、カード内に新規にファイ
ルを記憶書き込みする場合には、未書き込みのファイル
番号の中から新規に書き込みたいファイルの番号を選択
するように構成されているために、既に書き込み済みで
使用されているファイル番号を、新規書き込みのファイ
ルの番号として使用したい場合には、一旦、上述のファ
イル抹消処理によって、不要になった古いファイルの消
去を行う必要があるわけである。Further file number executed with the selected instruction switch S 4 in the erasing mode is pressed, CPU 21 is changed to write information for individual directory area and the FAT60 for files of the numbers, removal processing of the file of the ID I do. That is, in the reader / writer device of the present embodiment, as described in the file number selection process in the write mode, when a new file is stored and written in the card, the unwritten file number is Since it is configured to select the number of the file to be newly written from among them, if you want to use the file number that has already been written and used as the number of the file to be newly written, This means that old files that are no longer needed need to be deleted by the file deletion process.
また比較モードにおけるファイル番号選択中の状態
で、実行命令スイッチS4が押されると、CPU21は、シリ
アル通信用インターフェース回路26およびシリアル通信
用コネクタ27を介して、外部機器1から送られてくるフ
ァイル・データを受信するとともに、当該番号のファイ
ル用の個別ディレクトリ領域およびFAT60内の情報に基
づいて、ファイル・エリア70より読み出してきた当該番
号のファイル・データを、上記受信データと比較する処
理を行う。In the state of the file number selected in the comparison mode, an execution command switch S 4 is pressed, CPU 21 via a serial communication interface circuit 26 and a serial communication connector 27, transmitted from the external apparatus 1 file Performs a process of receiving the data and comparing the file data of the number read from the file area 70 with the received data based on the information in the individual directory area for the file of the number and the FAT 60. .
なお、いずれの機能モードにおいても、ファイル番号
選択要求状態あるいはファイル番号選択中の状態より機
能モード選択スイッチS1が押されると、当該選択中の機
能モードにおける処理はキャンセルされて、機能モード
選択シーケンスにおける次の機能モードの選択状態へと
移行する。In any function mode, the functions from the state of the file number selection request state or file number selected mode select switch S 1 is pressed, the processing in the function mode in the selection is canceled, function mode selection sequence To the next function mode selection state.
一方、書き込み済ファイル番号確認モードより機能モ
ードセットスイッチS2が押されると、直ちに液晶表示装
置28上には、状態Fで示されるように、既に書き込み済
みのファイル番号が表示される。またカード・ステータ
ス・モードより機能モードセットスイッチS2が押される
と、直ちに液晶表示装置28上には状態Gで示されるよう
に、ファイル・エリア70の未使用バイト数が、キロバイ
ト(KB)単位で表示される。On the other hand, when the function mode set switch S 2 is pressed from the written file number confirmation mode, immediately on the liquid crystal display device 28, as shown with F, has already written file number is displayed. Also, if the card status mode from functional mode set switch S 2 is pressed immediately as is on the liquid crystal display device 28 shown in the state G, the number of unused bytes of the file area 70, kilobytes (KB) Is displayed with.
さらにカード初期化モードより機能モードセットスイ
ッチS2が押されると、液晶表示装置28上には状態Hで示
されるように、一旦、確認要求の表示が行なわれるが、
この状態より実行命令スイッチS4が押されると、システ
ムIDコードエリア40内に所定のコードが書き込まれると
ともに、ディレクトリ・エリア50およびFAT60には、全
ての番号のファイルが未書き込みで、かつ全てのセクタ
が未使用状態となるように、初期化のための書き込み処
理が行なわれる。Further, when the function from the card initialization mode mode set switch S 2 is pressed, as is on the liquid crystal display device 28 shown in the state H, once, the display of the confirmation request is made,
When this condition than the execution instruction switch S 4 is pressed together with a predetermined code to the system ID code area 40 is written in the directory area 50 and FAT60, all numbers file in unwritten, and all Write processing for initialization is performed so that the sector becomes unused.
また上述のいずれの機能モードについても、一旦、処
理が終了した状態からは、スイッチS1〜S4のいずれを押
しても、状態M1で示される機能モード選択要求状態に復
帰する。Also for any function mode described above even once, from a state where the process is completed, pressing either of the switches S 1 to S 4, returns to the function mode selection request state shown by the state M1.
なお前述の実施例においては、選択中の機能モードの
表示部と選択中のファイル番号の表示部とは、全く同一
の表示部を表示切り換えして用いているが、この程度の
表示部については、表示装置の規模を拡大することな
く、それぞれ別個に設けることも可能である。In the above-described embodiment, the display unit of the selected function mode and the display unit of the selected file number are displayed by switching exactly the same display unit. , Can be provided separately without increasing the scale of the display device.
以上のように本発明によれば、機能モード選択手段に
よって、複数の機能モードの中から1つの機能モードを
順次選択するとともに、機能モード表示手段によって、
前記選択された機能モードを表示するように構成してい
るために、各機能モードごとに対応して機能モード指定
用の操作スイッチを設けるような必要はなく、しかもい
ずれの機能モードが選択されているかも容易に識別する
ことが可能である。さらにファイル番号選択手段によっ
て、複数個のファイル番号の中から1個のファイル番号
を順次選択するとともに、ファイル番号表示手段によ
り、選択されているファイル番号を表示するように構成
されているために、各ファイルごとにファイル指定用の
スイッチ等を設ける必要はなく、かつ選択されているフ
ァイル番号の識別も可能である。しかも読み出しモード
が選択されているときには、前記ファイル番号選択手段
は、ICメモリカード内に既に書き込み済のファイル番号
の中から1個のファイル番号を順次選択するように構成
されているために、また未書き込みのファイル番号を誤
選択したりする恐れもなく、それだけ目的のファイルの
選択も容易となる。さらに上記に加えて、書き込みモー
ドにおいても、前記ファイル番号選択手段が、ICメモリ
カード内で未書き込みのファイル番号の中から1個のフ
ァイル番号を順次選択するように構成することによっ
て、既に書き込み済のファイル番号を誤選択する恐れも
なくなり、例えば誤って上書きを実行してしまって必要
なファイルを失うような事故も防止される。As described above, according to the present invention, one function mode is sequentially selected from a plurality of function modes by the function mode selection means, and the function mode display means
Since the selected function mode is configured to be displayed, it is not necessary to provide an operation switch for designating a function mode corresponding to each function mode. Can be easily identified. Further, since one file number is sequentially selected from a plurality of file numbers by the file number selection means, and the selected file number is displayed by the file number display means, There is no need to provide a file designating switch or the like for each file, and the selected file number can be identified. In addition, when the read mode is selected, the file number selecting means is configured to sequentially select one file number from the file numbers already written in the IC memory card. There is no risk of erroneous selection of an unwritten file number, and the selection of a target file becomes easier accordingly. In addition to the above, in the writing mode, the file number selecting means is configured to sequentially select one file number from the unwritten file numbers in the IC memory card, so that the already-written This eliminates the risk of erroneously selecting the file number of the user, and prevents accidents such as accidentally overwriting and losing necessary files.
すなわち本発明においては、機能モードの選択に関し
ても、ファイル番号の選択に関しても、それぞれ同一操
作の繰り返しによって、複数の有効な選択対象の中から
1つを順次選択していくことができるとともに、現在何
が選択されているかという選択状態についても、簡単な
表示によって常に確認しながら、各操作を進行させてい
くことができるために、構成が簡素で、かつ使い易いリ
ーダ・ライタ装置を、低コストで提供することが可能と
なる。That is, according to the present invention, it is possible to sequentially select one from a plurality of valid selection targets by repeating the same operation for both the selection of the function mode and the selection of the file number. Since the user can proceed with each operation while always confirming the selection state of what is selected by a simple display, a reader / writer device with a simple configuration and easy to use can be manufactured at low cost. It can be provided by.
第1図〜第5図は、本発明の1実施例によるリーダ・ラ
イタ装置を示すもので、第1図は基本構成を示す機能ブ
ロック図、第2図は回路構成を示すブロック線図、第3
図は外観を示す平面図、第4図(a)、(b)は、それ
ぞれICメモリカードのメモリマップ図、第5図は操作お
よび表示状態のフローを示す状態遷移図。 1……外部機器、2……シリアル通信用インターフェー
ス手段、3……ICメモリカード、4……ICメモリカード
用インターフェース手段、5、S1……機能モード選択ス
イッチ、6、S3……ファイル番号選択スイッチ、7、S4
……実行命令スイッチ、8……機能モード選択手段、9
……機能モード表示手段、10ファイル番号選択手段、11
1……ファイル番号表示手段、12……読み出し制御手
段、13……書き込み制御手段、25……ICメモリカード用
コネクタ、26……シリアル通信用インターフェース回
路、27……シリアル通信用コネクタ、28……液晶表示装
置、29……LCDドライバ。1 to 5 show a reader / writer device according to an embodiment of the present invention. FIG. 1 is a functional block diagram showing a basic configuration, FIG. 2 is a block diagram showing a circuit configuration, and FIG. 3
4A and 4B are a memory map diagram of an IC memory card, and FIG. 5 is a state transition diagram showing a flow of an operation and a display state. 1 ...... external device, 2 ...... serial communication interface unit, 3 ...... IC memory card, 4 ...... IC memory card interface means, 5, S 1 ...... function mode selection switch, 6, S 3 ...... file Number selection switch, 7, S 4
...... Execution command switch, 8 ... Function mode selection means, 9
…… Function mode display means, 10 File number selection means, 11
1 ... file number display means, 12 ... read control means, 13 ... write control means, 25 ... IC memory card connector, 26 ... serial communication interface circuit, 27 ... serial communication connector, 28 ... ... Liquid crystal display device, 29 ... LCD driver.
Claims (2)
ためのシリアル通信用インターフェース手段と、着脱可
能なICメモリカードにアクセスするためのICメモリカー
ド用インターフェース手段と、読み出しモードおよび書
き込みモードを含む複数の機能モードの中から1つの機
能モードを順次選択する機能モード選択手段と、該機能
モード選択手段によって選択された機能モードを表示す
る機能モード表示手段と、複数個のファイル番号の中か
ら1個のファイル番号を順次選択するファイル番号選択
手段と、該ファイル番号選択手段によって選択されたフ
ァイル番号を表示するためのファイル番号表示手段と、
前記機能モード選択手段により前記読み出しモードが選
択されているときには、前記ICメモリカード内の前記選
択されたファイル番号のファイル・データを読み出すと
ともに前記シリアル通信用インターフェース手段を介し
て外部に送信する読み出し制御手段と、前記機能モード
選択手段によって前記書き込みモードが選択されている
ときには、前記シリアル通信用インターフェース手段を
介して外部から入力されてくるファイル・データを、前
記選択されたファイル番号のファイル・データとして前
記ICメモリカード内に記憶書き込みする書き込み制御手
段とを備え、かつ前記ファイル番号選択手段は、前記読
み出しモードの選択中においては、前記ICメモリカード
内に既に書き込み済のファイル番号の中から1個のファ
イル番号を順次選択する手段を含んでいることを特徴と
するリーダ・ライタ装置。1. An interface means for serial communication for connecting with an external device such as an NC machine tool, an interface means for an IC memory card for accessing a removable IC memory card, a read mode and a write mode. Function mode selection means for sequentially selecting one function mode from a plurality of function modes including a mode, function mode display means for displaying the function mode selected by the function mode selection means, File number selecting means for sequentially selecting one file number from among them, file number displaying means for displaying the file number selected by the file number selecting means,
When the read mode is selected by the function mode selection means, read control for reading the file data of the selected file number in the IC memory card and transmitting the read data to the outside via the serial communication interface means. Means, and when the writing mode is selected by the function mode selecting means, file data input from the outside via the serial communication interface means as file data of the selected file number. Writing control means for storing and writing in the IC memory card, and wherein the file number selecting means is configured to select one of file numbers already written in the IC memory card during selection of the reading mode. File numbers in sequence Interrogator, characterized in that it contains means that.
の選択中においては、ICメモリカード内に未書き込みの
ファイル番号の中から1個のファイル番号を順次選択す
る手段を含んでいることを特徴とする請求項1記載のリ
ーダ・ライタ装置。2. The method according to claim 1, wherein the file number selecting means includes means for sequentially selecting one file number from file numbers which have not been written in the IC memory card while the writing mode is being selected. The reader / writer device according to claim 1, wherein
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1021983A JP2801243B2 (en) | 1989-01-31 | 1989-01-31 | Reader / writer device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1021983A JP2801243B2 (en) | 1989-01-31 | 1989-01-31 | Reader / writer device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH02201610A JPH02201610A (en) | 1990-08-09 |
| JP2801243B2 true JP2801243B2 (en) | 1998-09-21 |
Family
ID=12070262
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1021983A Expired - Fee Related JP2801243B2 (en) | 1989-01-31 | 1989-01-31 | Reader / writer device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2801243B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3236563B2 (en) | 1998-06-19 | 2001-12-10 | ファナック株式会社 | Control device |
| JP2007025824A (en) * | 2005-07-12 | 2007-02-01 | Sony Corp | Information processing apparatus, memory status notification method, memory status notification program, and graphical user interface |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61189304U (en) * | 1985-05-16 | 1986-11-26 | ||
| JPH074729B2 (en) * | 1985-12-20 | 1995-01-25 | 大阪機工株式会社 | Method of creating workpiece machining program in numerically controlled machine tool |
-
1989
- 1989-01-31 JP JP1021983A patent/JP2801243B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH02201610A (en) | 1990-08-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6151611A (en) | System for editing graphical data based upon relative time of entry | |
| KR100236381B1 (en) | Portable terminal apparatus and an information processing method therefor | |
| JP2801243B2 (en) | Reader / writer device | |
| US5321839A (en) | Electronic equipment including non-volatile memory means for storing control information | |
| US20010017701A1 (en) | Peripheral device for information processing and information processing system | |
| JPS6350727B2 (en) | ||
| JPH02206817A (en) | Terminal emulator | |
| JP2002268711A (en) | Programmable display unit and plotting program for the same and recording medium with its plotting program recorded | |
| JPS6137284A (en) | Input apparatus of sewing machine | |
| JP2000321938A (en) | Image forming system | |
| JPH01184505A (en) | Numerical controller | |
| JPS6255707A (en) | Numerical controller | |
| JP2699668B2 (en) | Switch device | |
| JPS61155815A (en) | Recorder | |
| JPH0261897A (en) | PROM writer | |
| JPS6139268A (en) | Magnetic card encoder | |
| JPS62260254A (en) | Terminal system | |
| JPH0261899A (en) | PROM writer | |
| JPH02114379A (en) | Information retrieving device | |
| JPS59149535A (en) | Data input/output control device | |
| Stallman | SUPDUP graphics extension | |
| JPH0720769Y2 (en) | Small electronic calculator with programming function | |
| Stallman | RFC0746: SUPDUP graphics extension | |
| JPS6320611A (en) | information processing equipment | |
| JPS60104994A (en) | Image accumulative display |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| LAPS | Cancellation because of no payment of annual fees |