JPH0478921A - Floppy disk piece number checking system - Google Patents

Floppy disk piece number checking system

Info

Publication number
JPH0478921A
JPH0478921A JP2194186A JP19418690A JPH0478921A JP H0478921 A JPH0478921 A JP H0478921A JP 2194186 A JP2194186 A JP 2194186A JP 19418690 A JP19418690 A JP 19418690A JP H0478921 A JPH0478921 A JP H0478921A
Authority
JP
Japan
Prior art keywords
floppy disk
size
output
output data
writable
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
JP2194186A
Other languages
Japanese (ja)
Inventor
Maki Seki
関 真樹
Takashi Takegahara
竹ヶ原 隆史
Shinya Nakamura
真也 中村
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.)
Fanuc Corp
Original Assignee
Fanuc Corp
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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP2194186A priority Critical patent/JPH0478921A/en
Publication of JPH0478921A publication Critical patent/JPH0478921A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To prevent the waste of the time required for an output processing by calculating an output data size outputted to a floppy disk, and displaying a message which requires plural pieces of floppy disks, in the case the output data size is larger than a writable size. CONSTITUTION:A processor 21 controls the whole automatic programming device. A floppy disk drive 28 writes successively output data stored in a RAM 32 to a floppy disk 28a. In this case, an output data size outputted to the floppy disk 28a is calculated, the writable size of the floppy disk 28a of an output destination is checked, the output data size and a writable size are compared, and in the case the output data size is larger than the writable size, the message of a fact that plural pieces of floppy disks 28a are necessitated is displayed on a screen. In such a manner, it does not occur that the output processing time to the floppy disk 28a is wasted.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は自動プロクラミンク装置に使用されるフロッピ
ィディスク枚数チェック方式に関し、特にフロッピィデ
ィスクへの出力実行前にメツセージを表示するフロッピ
ィディスク枚数チェック方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for checking the number of floppy disks used in an automatic programming device, and particularly relates to a method for checking the number of floppy disks that displays a message before outputting to the floppy disk. .

〔従来の技術〕[Conventional technology]

自動プログラミング装置では外部データメモリとしてフ
ロッピィディスクが多く使用されている。
Floppy disks are often used as external data memory in automatic programming devices.

フロッピィディスクは取扱いの便利さ、メモリ容量、信
頼性、コスト等の理由で広く利用されてぃる。
Floppy disks are widely used for reasons such as ease of handling, memory capacity, reliability, and cost.

また、自動プロクラミンク装置で作成されるパートプロ
グラムはNCデータに変換され、特に複雑で精密な加工
を行うには膨大なメモリ量を必要とする。これらのパー
トプログラムやNCデータをフロッピィディスクに出力
する時は、数10枚ものフロッピィディスクを必要とす
る場合もある。
Furthermore, the part program created by the automatic programming machine is converted into NC data, which requires a huge amount of memory especially for complex and precise machining. When outputting these part programs and NC data to a floppy disk, several dozen floppy disks may be required.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかし、従来は、出力先のフロッピィディスクの書き込
み可能サイズに関係なく出力し、書き込み可能サイズが
無くなった時点で複数のフロッピィディスクに出力する
旨のメツセージを表示していた。この時点では、今まで
の出力処理に要した時間が全て無駄になる。従って、フ
ロッピィディスクの書き込み可能サイズが充分かどうか
は、フロッピィディスクへの出力を実行してみないと事
前には分からなかった。
However, in the past, data was output regardless of the writable size of the destination floppy disk, and when the writable size ran out, a message was displayed indicating that the output would be performed on multiple floppy disks. At this point, all the time required for output processing up to now is wasted. Therefore, it is impossible to know in advance whether the writable size of the floppy disk is sufficient until outputting to the floppy disk is performed.

本発明はこのような点に鑑みてなされたものであり、フ
ロッピィディスクへの出力実行前に複数枚のフロッピィ
ディスクを必要とする旨のメツセージを表示するフロッ
ピィディスク枚数チェック方式を提供することを目的と
する。
The present invention has been made in view of the above points, and an object of the present invention is to provide a method for checking the number of floppy disks that displays a message indicating that a plurality of floppy disks are required before outputting to a floppy disk. shall be.

〔課題を解決するための手段] 本発明では上記課題を解決するために、出力データの出
力に要するフロッピィディスクの枚数をチェックするフ
ロッピィディスク枚数チェック方式において、フロッピ
ィディスクに出力する出力データサイズを算出し、出力
先のフロッピィディスクの書き込み可能サイズをチェッ
クし、前記出力データサイズと前記書き込み可能サイズ
を比較し、前記出力データサイズが前記書き込み可能サ
イズより大きい場合は、複数枚のフロッピィディスクを
必要とする旨のメツセージを画面に表示することを特徴
とするフロッピィディスク枚数チェック方式が、提供さ
れる。
[Means for Solving the Problems] In order to solve the above problems, the present invention calculates the size of output data to be output to a floppy disk in a floppy disk number check method that checks the number of floppy disks required for outputting output data. Then, check the writable size of the output destination floppy disk, compare the output data size and the writable size, and if the output data size is larger than the writable size, multiple floppy disks are required. A method for checking the number of floppy disks is provided, which is characterized by displaying a message on the screen to the effect that the number of floppy disks is to be checked.

〔作用〕[Effect]

フロッピィディスクヘ出力する出力データサイズを算出
する。続いて、フロッピィディスク装置に挿入した出力
先フロッピィディスクから書き込み可能サイズをチェッ
クする。先に算出した出力データサイズと、先にチェッ
クした出力先フロッピィディスクの書き込み可能サイズ
を比較する。
Calculate the output data size to be output to the floppy disk. Next, check the writable size of the output destination floppy disk inserted into the floppy disk device. Compare the previously calculated output data size with the previously checked writable size of the output destination floppy disk.

出力データサイズがフロッピィディスクの書き込み可能
サイズよりも大きい場合は、複数のフロッピィディスク
を必要とする旨のメツセージを画面に表示する。
If the output data size is larger than the writable size of the floppy disk, a message indicating that multiple floppy disks are required is displayed on the screen.

従って、フロッピィディスクへの出力処理時間が無駄に
なるようなことがない。
Therefore, the output processing time to the floppy disk is not wasted.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面に基づいて説明する。 Hereinafter, one embodiment of the present invention will be described based on the drawings.

第2図はフロッピィディスクへの出力操作を示す操作案
内画面の図である。操作案内画面1の下側には、出力デ
ータをフロッピィディスクに出力する操作手順が示され
ている ライン1aは、フロッピィディスク装置にフロッピィデ
ィスクをセットし、出力処理を行うがどうかを「Ok」
または、「nO」で指定する事を示すメツセージである
FIG. 2 is a diagram of an operation guide screen showing an output operation to a floppy disk. At the bottom of the operation guide screen 1, line 1a shows the operating procedure for outputting output data to a floppy disk.Insert a floppy disk into the floppy disk device and click "OK" to output the data.
Alternatively, it is a message indicating that it is specified by "nO".

ライン1bは、出力処理を行う場合の条件を示すメツセ
ージである。INTは、フロッピィディスクを初期化し
て新しくする。ADDは、フロッピィディスクに追加し
て出力データを書き込む。
Line 1b is a message indicating conditions for performing output processing. INT initializes the floppy disk and makes it new. ADD writes additional output data to a floppy disk.

日イ寸は↑呈イ乍日である。ドライフ゛(ま、フロッピ
ィディスク装置や挿入口を指定する。名前はファイル名
である。
The length of the day is ↑the length of the day. Dry drive (well, specify the floppy disk device or insertion slot. The name is the file name.

ライン1cは、ラインIa、lbの条件を順次入力する
ラインである。カーソルに従って条件を入力する。
Line 1c is a line for sequentially inputting the conditions of lines Ia and lb. Enter conditions according to the cursor.

自動プログラミング装置は、INT(初期化)を選択さ
れるとフロッピィディスクの全領域を書き込み可能サイ
ズとし、ADD (追加)を選択されるとフロッピィデ
ィスクの未使用領域を書き込み可能サイズとする。
The automatic programming device makes the entire area of the floppy disk a writable size when INT (initialization) is selected, and makes the unused area of the floppy disk a writable size when ADD (addition) is selected.

第3図はマルチボリュームメツセージ表示画面の図であ
る。メツセージ表示画面2の下側にメッセージが表示さ
れる。
FIG. 3 is a diagram of a multi-volume message display screen. A message is displayed at the bottom of the message display screen 2.

ライン2aは、複数のフロッピィディスクを必要とする
マルチボリュームメツセージが表示される。また、マル
チボリュームで出力データをフロッピィディスクに出力
してよいかどうかを「Ok」、rnOJで問い合わせて
いる。
Line 2a displays a multi-volume message that requires multiple floppy disks. It also inquires whether multi-volume output data can be output to a floppy disk using "Ok" and rnOJ.

ライン2bでは、カーソルの位置にライン2aの問い合
わせに対して「Ok」、「nO」を入力する。自動プロ
グラミング装置は、「Ok」の場合は複数のフロッピィ
ディスクに出力データを出力する。「nO」の場合は出
力データの出力を中止する。
On line 2b, "Ok" and "nO" are input at the cursor position in response to the inquiry on line 2a. The automatic programming device outputs output data to a plurality of floppy disks in the case of "OK". In the case of "nO", the output of output data is stopped.

第4図は本発明を実施するための自動プログラミング装
置のハードウェアのブロック図である。
FIG. 4 is a hardware block diagram of an automatic programming device for implementing the present invention.

プロセッサ21は自動プログラミング装置全体を制御す
る。ROM22には装置の制御プログラムが格納され、
プロセッサ21はこの制御プログラムに従って装置を制
御する。RAM23には必要な中間データが格納される
。また、このRAM23にはフロッピィディスク28a
に出力する出力データも格納される。不揮発性メモリ2
4にはパラメータ等のデータが格納され、不揮発性メモ
リはバッテリバックアップされているので、装置の電源
を切断してもパラメータ等はそのまま保持される。
Processor 21 controls the entire automatic programming device. A control program for the device is stored in the ROM 22.
Processor 21 controls the device according to this control program. Necessary intermediate data is stored in the RAM 23. In addition, this RAM 23 has a floppy disk 28a.
Output data to be output to is also stored. Non-volatile memory 2
4 stores data such as parameters, and since the non-volatile memory is backed up by a battery, the parameters etc. are retained even if the power to the device is turned off.

表示制御回路25はRAM23に格納された加ニブログ
ラム、ワークの形状等のデータを表示信号に変換し、表
示装置26に送る。表示装置26はこれらの加ニブログ
ラムあるいはワークの形状等を表示する。表示装置には
CRT、液晶表示装置等が使用される。キーボード27
はデータ入力、機能指定に使用される。
The display control circuit 25 converts the data stored in the RAM 23, such as the machine program and the shape of the workpiece, into a display signal and sends it to the display device 26. The display device 26 displays the shape of these Niprograms or the workpiece. A CRT, liquid crystal display, etc. are used as the display device. keyboard 27
is used for data entry and function specification.

フロッピィディスクドライブ28は、RAM23に格納
された出力データを順次フロッピィディスク28aに書
き込んでいく。複数枚のフロッピィディスク28aを必
要とする場合は、表示装置26にその旨のメツセージが
表示される。また、作成された加ニブログラムはインタ
フェース29を経由して、外部に接続されるプリンタ等
にプリントアウトすることもできる。図示されていない
がタブレット装置やプロッタをインタフェース29を経
由して接続することもできる。
The floppy disk drive 28 sequentially writes the output data stored in the RAM 23 onto the floppy disk 28a. If a plurality of floppy disks 28a are required, a message to that effect is displayed on the display device 26. Further, the created Canadian program can also be printed out to an externally connected printer or the like via the interface 29. Although not shown, a tablet device or a plotter can also be connected via the interface 29.

これらの要素はそれぞれバス30に接続されている。Each of these elements is connected to a bus 30.

第1図はフロッピィディスク枚数チェック方式のフロー
チャートである。図において、Sに続く数値はステップ
番号を示す。
FIG. 1 is a flowchart of a method for checking the number of floppy disks. In the figure, the number following S indicates the step number.

〔S1]自動プログラミング装置は、フロッピィディス
クに出力する出力データサイズを算出する。
[S1] The automatic programming device calculates the output data size to be output to the floppy disk.

Dは算出された出力データサイズである。D is the calculated output data size.

[S2]70ツピイデイスクFDの書き込み可能サイズ
をチェックする。FはフロッピィディスクFDの書き込
み可能サイズである。
[S2] Check the writable size of the 70 disk FD. F is the writable size of the floppy disk FD.

〔S3〕出力データサイズDとフロッピィディスクFD
の書き込み可能サイズFを比較する。D〉FであればS
4に進み、D>FでなければS6に進む。
[S3] Output data size D and floppy disk FD
Compare the writable size F of . If D>F then S
The process proceeds to step 4, and if D>F, the process proceeds to step S6.

〔S4〕複数のフロッピィディスクを必要とするマルチ
ボリュームメツセージを画面に表示する。
[S4] A multi-volume message requiring multiple floppy disks is displayed on the screen.

[S5]マルチボリユームでフロッピィディスクにdカ
するならS6に進み、出力しないならフロッピィディス
クへの出力処理は中止となる。
[S5] If the data is to be written to a floppy disk in multi-volume mode, the process proceeds to S6; if the data is not to be output, the output process to the floppy disk is canceled.

〔S6〕フロツピイデイスクFDへの出力テ゛−タを出
力する。
[S6] Output data to the floppy disk FD.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明では、フロッピィディスクへ
の出力を実行する前に、複数のフロッピィディスクを必
要とする旨のメツセージを表示するようにしたので、フ
ロッピィディスクの書き込み可能サイズの不足により出
力不可となることがない。今までの実行してみなければ
分からなかった無駄な時間を節約することができる。
As explained above, in the present invention, before outputting to a floppy disk, a message indicating that multiple floppy disks are required is displayed, so if the output is not possible due to insufficient writable size of the floppy disk. It never happens. You can save wasted time that you would not have known unless you tried it.

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

第1図はフロッピィディスク枚数チェック方式%式% 第2図はフロッピィディスクへの出力操作を示す模作案
内画面の図、 第3図はマルチボリュームメツセージ表示画面の図、 第4図は本発明を実施するための自動プログラミング装
置のハードウェアのブロック図である。 1.2 8a 表示画面 プロセッサ  OM AM 不揮発性メモリ 表示制御回路 表示装置 キーボード フロッピィディスクドライブ フロッピィディスク インタフェース ノくス 特許出願人 ファナック株式会社 代理人   弁理士  服部毅巖 第 図
Figure 1 is a method for checking the number of floppy disks using the % formula. Figure 2 is a mock guide screen showing the output operation to a floppy disk, Figure 3 is a diagram of a multi-volume message display screen, and Figure 4 is a diagram showing the implementation of the present invention. FIG. 2 is a hardware block diagram of an automatic programming device for programming. 1.2 8a Display screen processor OM AM Non-volatile memory Display control circuit Display device Keyboard Floppy disk drive Floppy disk interface Nox Patent applicant Fanuc Corporation Agent Patent attorney Takeshi Hattori Diagram

Claims (2)

【特許請求の範囲】[Claims] (1)出力データの出力に要するフロッピィディスクの
枚数をチェックするフロッピィディスク枚数チェック方
式において、 フロッピィディスクに出力する出力データサイズを算出
し、 出力先のフロッピィディスクの書き込み可能サイズをチ
ェックし、 前記出力データサイズと前記書き込み可能サイズを比較
し、 前記出力データサイズが前記書き込み可能サイズより大
きい場合は、複数枚のフロッピィディスクを必要とする
旨のメッセージを画面に表示することを特徴とするフロ
ッピィディスク枚数チェック方式。
(1) In the floppy disk number checking method that checks the number of floppy disks required to output output data, the output data size to be output to the floppy disk is calculated, the writable size of the output destination floppy disk is checked, and the output The data size and the writable size are compared, and if the output data size is larger than the writable size, a message indicating that multiple floppy disks are required is displayed on the screen. Check method.
(2)前記出力先のフロッピィディスクの書き込み可能
サイズは、初期化した場合は全領域を書き込み可能サイ
ズとし、追加する場合は未使用領域を書き込み可能サイ
ズとすることを特徴とする請求項1記載のフロッピィデ
ィスク枚数チェック方式。
(2) The writeable size of the output destination floppy disk is such that when initialized, the entire area is set to a writable size, and when an addition is made, an unused area is set to a writable size. How to check the number of floppy disks.
JP2194186A 1990-07-23 1990-07-23 Floppy disk piece number checking system Pending JPH0478921A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2194186A JPH0478921A (en) 1990-07-23 1990-07-23 Floppy disk piece number checking system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2194186A JPH0478921A (en) 1990-07-23 1990-07-23 Floppy disk piece number checking system

Publications (1)

Publication Number Publication Date
JPH0478921A true JPH0478921A (en) 1992-03-12

Family

ID=16320372

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2194186A Pending JPH0478921A (en) 1990-07-23 1990-07-23 Floppy disk piece number checking system

Country Status (1)

Country Link
JP (1) JPH0478921A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06348557A (en) * 1993-06-10 1994-12-22 Nec Corp Data output system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06348557A (en) * 1993-06-10 1994-12-22 Nec Corp Data output system

Similar Documents

Publication Publication Date Title
US5619734A (en) Programmable controller and method of operation thereof
JPH0478921A (en) Floppy disk piece number checking system
KR101283026B1 (en) System for real time control of total control system and method thereof
JPH0821009B2 (en) CHANNEL CONTROLLER INITIALIZATION METHOD AND SYSTEM FOR THE INITIALIZATION
WO1990001734A1 (en) Trace control method for pc
JPH01244502A (en) Pc program display system
JP2605664B2 (en) Small electronic calculator
JPS5842487B2 (en) Program loading method
JPH04160407A (en) Programmable controller
JPH03113562A (en) Compact industrial computer
JPH02110706A (en) Data display system for pc
JPH04342037A (en) Operand checking system for program
JP2000057000A (en) Microcomputer with built-in flash memory
JP2943177B2 (en) Drawing device for XY coordinate axes with scale numerical value
JP2003091301A (en) Error prevention method for programmable controller
JPH07120172B2 (en) Programmable controller
JPH03164905A (en) Programmable controller
JPH02226307A (en) Numerical controller
JPH0420481B2 (en)
JPS63193260A (en) Host processor monitoring system for loosely coupled multiprocessor system
JPS59142609A (en) Controller of air conditioner with simulation function
JP2002123305A (en) Real-time display data collection method
JPH05297913A (en) Programmable controller
JPH01152505A (en) Program debugging system for pc
JPS62112267A (en) Disk memory device