JPH08263126A - Direct numerical controller - Google Patents

Direct numerical controller

Info

Publication number
JPH08263126A
JPH08263126A JP6244295A JP6244295A JPH08263126A JP H08263126 A JPH08263126 A JP H08263126A JP 6244295 A JP6244295 A JP 6244295A JP 6244295 A JP6244295 A JP 6244295A JP H08263126 A JPH08263126 A JP H08263126A
Authority
JP
Japan
Prior art keywords
file
file name
unit
program
numerical control
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
JP6244295A
Other languages
Japanese (ja)
Inventor
Hideki Shimizu
日出樹 清水
Yuuji Naganawa
裕二 永縄
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.)
Okuma Corp
Original Assignee
Okuma Machinery Works 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 Okuma Machinery Works Ltd filed Critical Okuma Machinery Works Ltd
Priority to JP6244295A priority Critical patent/JPH08263126A/en
Publication of JPH08263126A publication Critical patent/JPH08263126A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE: To provide the direct numerical controller which enables plural NC program files to be transferred successively between a numerical controller and a central processor through one time operation on the numerical controller side. CONSTITUTION: When a file name including a wild card is inputted to the optional file name input part 30 from the keyboard of the direct numerical controller consisting of the numerical controller 1 and central processor 2, the file name is sent from the optional file name transfer part 31 to the central processor 2, and a file name search part 36 searches an external storage device 6 for plural corresponding NC program files, which are transferred, one by one, from a successive file transmission part 42 to the numerical controller 1 together with their file names. The transferred NC program files are registered in the internal storage device 5 of the numerical controller 1 by a file registration part 14 together with the file names.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はダイレクト数値制御装
置、特にワークの加工に必要な複数のNCプログラムフ
ァイルを、数値制御装置と中央処理装置との間で連続的
に転送できるダイレクト数値制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a direct numerical control device, and more particularly to a direct numerical control device capable of continuously transferring a plurality of NC program files required for machining a work between the numerical control device and a central processing unit. .

【0002】[0002]

【従来の技術】数値制御工作機械等からなる複数の数値
制御装置と上位コンピュータとを転送ラインを介して接
続し、数値制御装置からの要求でNCプログラムファイ
ルを双方向に転送するダイレクト数値制御(DNC)シ
ステムが実用化されている。この場合、上位コンピュー
タには通常NCプログラムファイルが登録された外部記
憶装置が接続されている。このようなDNCシステムに
おいては、数値制御装置と上位コンピュータとの間でN
Cプログラムデータの送受信を行う場合、数値制御装置
のキーボードからファイル名を入力することにより上位
コンピュータにそのファイル名を要求し、要求されたN
Cプログラムデータにファイル名を付加して上位コンピ
ュータから数値制御装置に転送し、数値制御装置の内部
記憶装置に登録する。また、数値制御装置から上位コン
ピュータにデータを転送する場合には、NCプログラム
データにファイル名を付加してデータを転送し、上位コ
ンピュータは転送されたデータをそのファイル名で外部
記憶装置に登録する。ここで、NCプログラムデータあ
るいはNCプログラムファイルは加工プログラムなどで
構成されるデータの塊を意味し、ファイル名とは内部記
憶装置や外部記憶装置のディレクトリに登録される名称
を意味するため、NCプログラムデータ/ファイルはフ
ァイル名を含まない。そこで上述のように、データを転
送する際に、ファイル名を付加する必要がある。
2. Description of the Related Art Direct numerical control in which a plurality of numerical control devices such as numerical control machine tools and a host computer are connected via a transfer line, and an NC program file is bidirectionally transferred in response to a request from the numerical control device ( The DNC) system has been put to practical use. In this case, an external storage device in which the NC program file is normally registered is connected to the host computer. In such a DNC system, N is provided between the numerical control device and the host computer.
When transmitting and receiving C program data, the file name is requested from the host computer by inputting the file name from the keyboard of the numerical control device, and the requested N
A file name is added to the C program data, transferred from the host computer to the numerical control device, and registered in the internal storage device of the numerical control device. When data is transferred from the numerical control device to the host computer, the NC program data is added with a file name to transfer the data, and the host computer registers the transferred data with the file name in the external storage device. . Here, the NC program data or NC program file means a mass of data composed of a machining program and the file name means a name registered in a directory of an internal storage device or an external storage device. The data / file does not include the file name. Therefore, as described above, it is necessary to add a file name when transferring data.

【0003】上記従来技術の詳細を、図5、図6のブロ
ック図で説明する。数値制御装置1からの要求で、中央
処理装置2から数値制御装置1へNCプログラムファイ
ルを転送する場合、CRT3を監視しながら操作盤のキ
ーボード4を使用して、ファイル名入力部10に、中央
処理装置2に要求するファイル名を入力する。入力され
たファイル名は、ファイル名転送部11を介して通信制
御部7に送られ、通信制御部7から転送ライン9を介し
て中央処理装置2の通信制御部8に送られる。その後、
上記ファイル名はファイル名受信部15に送られる。フ
ァイル読出部16では、中央処理装置2の外部記憶装置
6に登録されているNCプログラムファイルを検索し、
ファイル名受信部15に送られたファイル名に該当する
NCプログラムファイルを読み出す。読み出されたNC
プログラムファイルは、ファイル名付加部17でファイ
ル名が先頭に付加された後、ファイル送信部18から通
信制御部8及び転送ライン9を介して数値制御装置1の
通信制御部7に転送される。通信制御部7に転送された
上記NCプログラムファイルは、先頭のファイル名がフ
ァイル名受信部12で受信され、データ部分であるNC
プログラムファイルがファイル受信部13で受信され
る。このようにして受信された上記ファイルは、ファイ
ル登録部14により数値制御装置1の内部記憶装置5に
ファイル名受信部12で受信されたファイル名で登録さ
れる。
Details of the above conventional technique will be described with reference to the block diagrams of FIGS. When the NC program file is transferred from the central processing unit 2 to the numerical control device 1 in response to a request from the numerical control device 1, the keyboard 4 of the operation panel is used while monitoring the CRT 3 and the central part of the file name input section 10 is displayed. Input the requested file name to the processing device 2. The input file name is sent to the communication control unit 7 via the file name transfer unit 11, and is sent from the communication control unit 7 to the communication control unit 8 of the central processing unit 2 via the transfer line 9. afterwards,
The file name is sent to the file name receiving unit 15. The file reading unit 16 searches for an NC program file registered in the external storage device 6 of the central processing unit 2,
The NC program file corresponding to the file name sent to the file name receiving unit 15 is read out. Read NC
The file name is added to the head of the program file by the file name addition unit 17, and then transferred from the file transmission unit 18 to the communication control unit 7 of the numerical control device 1 via the communication control unit 8 and the transfer line 9. In the NC program file transferred to the communication control unit 7, the file name at the beginning is received by the file name receiving unit 12, and the NC is the data portion.
The program file is received by the file receiving unit 13. The file thus received is registered by the file registration unit 14 in the internal storage device 5 of the numerical controller 1 with the file name received by the file name reception unit 12.

【0004】次に、数値制御装置1から内部記憶装置5
に対してファイル名を指定して、数値制御装置1から中
央処理装置2へNCプログラムファイルを転送する場合
には、CRT3を監視しながら操作盤のキーボード4を
使用して、ファイル名入力部10に、中央処理装置2に
転送するファイル名を入力する。ファイル読込部21で
内部記憶装置5に登録されているNCプログラムファイ
ルを検索し、ファイル名入力部10に入力されたファイ
ル名に該当するNCプログラムファイルを読み出す。読
み出されたNCプログラムファイルは、ファイル名付加
部19でファイル名を先頭に付加された後、ファイル転
送部20から、数値制御装置1の通信制御部7及び転送
ライン9を介して、中央処理装置2の通信制御部8に転
送される。転送されたNCプログラムファイルは、先頭
のファイル名がファイル名受信部15で受信され、デー
タであるNCプログラムファイルがファイル受信部22
で受信される。このようにして受信された上記NCプロ
グラムファイルは、ファイル登録部23により中央処理
装置2の外部記憶装置6にファイル名受信部15で受信
されたファイル名で登録される。
Next, from the numerical controller 1 to the internal storage device 5
When the NC program file is transferred from the numerical controller 1 to the central processing unit 2 by designating a file name for the, the keyboard 4 of the operation panel is used while monitoring the CRT 3 and the file name input unit 10 is used. In, the file name to be transferred to the central processing unit 2 is input. The file reading unit 21 searches the NC program file registered in the internal storage device 5, and reads the NC program file corresponding to the file name input to the file name input unit 10. The read NC program file is added with a file name at the beginning by the file name addition unit 19, and then the central processing is performed from the file transfer unit 20 via the communication control unit 7 and the transfer line 9 of the numerical controller 1. It is transferred to the communication control unit 8 of the device 2. In the transferred NC program file, the head file name is received by the file name receiving unit 15, and the NC program file that is data is received by the file receiving unit 22.
Will be received at. The NC program file thus received is registered by the file registration unit 23 in the external storage device 6 of the central processing unit 2 with the file name received by the file name reception unit 15.

【0005】一方、公開特許公報「平4−13854
8」においては、複数のNCプログラムファイルを連続
して転送するファイル転送方式が開示されている。本方
式では連続してNCプログラムファイルを転送するた
め、図7に示されるように、ファイルを階層構造により
管理するコンピュータシステムが採用されている。この
システムにおいては、ファイル名をワイルドカードを使
用して部分一致の形式で指定することができる。この場
合、ワイルドカードは、ファイル名を構成する文字列の
ある位置に使用されると、その位置にどの文字が入って
いても他の部分の文字が一致していればファイル名とし
て一致しているとコンピュータに判断させる機能を有し
ている。コンピュータの画面入力部90からワイルドカ
ードを含んだ形でファイル名を入力すると、ワイルドカ
ード展開部91においてコンピュータで管理しているN
Cプログラムファイルから入力されたファイル名に該当
するNCプログラムファイルを展開する。次に、ファイ
ル転送部92において相手コンピュータからコールされ
る毎に展開されたNCプログラムファイルを1つずつ相
手コンピュータに転送する。従って、相手コンピュータ
へファイルを管理するコンピュータから複数のNCプロ
グラムファイルを転送する場合には、ファイルを管理す
るコンピュータ側でワイルドカードを含んだファイル名
に該当するNCプログラムファイルを予め展開してお
き、次に相手コンピュータから要求がある毎に1つずつ
そのNCプログラムファイルを転送する方式が取られて
いる。
On the other hand, Japanese Unexamined Patent Publication No. Hei 4-13854.
8 ”discloses a file transfer method for continuously transferring a plurality of NC program files. In this method, since NC program files are continuously transferred, as shown in FIG. 7, a computer system that manages files in a hierarchical structure is adopted. In this system, filenames can be specified in the form of partial match using wildcards. In this case, when a wildcard is used at a certain position in the character string that makes up the file name, it will match the file name as long as any other characters match at that position. It has the function of letting the computer judge that there is. When a file name including a wildcard is input from the screen input section 90 of the computer, the wildcard expansion section 91 manages the N managed by the computer.
The NC program file corresponding to the file name input from the C program file is expanded. Next, the file transfer unit 92 transfers the expanded NC program files to the partner computer one by one each time it is called from the partner computer. Therefore, when transferring a plurality of NC program files from a computer that manages files to a partner computer, the computer that manages the files expands the NC program files corresponding to the file names including wildcards in advance. Next, a method is adopted in which the NC program file is transferred one by one each time there is a request from the partner computer.

【0006】[0006]

【発明が解決しようとする課題】上記従来の技術では、
数値制御装置からの要求により、数値制御装置と中央処
理装置との間で転送ラインを介して双方向のデータ転送
をする場合、数値制御装置のキーボードからは1つのN
Cプログラムファイル名しか指定できなかった。このた
め、多数のNCプログラムファイルを転送する場合、1
つずつファイル名を指定し、NCプログラムファイルを
転送する作業を繰り返さなければならなかった。従っ
て、作業者は、転送作業中に機械から離れることができ
ず、作業効率が著しく悪くなると言う問題があった。一
方、ワイルドカードを使用して複数のNCプログラムフ
ァイルを連続して転送する方式においては、ファイルを
管理するコンピュータ側で前もって転送するNCプログ
ラムファイルを展開しておく必要があった。このため、
NCプログラムファイルを転送する場合には、作業者が
中央処理装置で事前にワイルドカードを含んだファイル
名に該当するNCプログラムファイルを展開した後、数
値制御装置で転送したいファイル名を要求する必要があ
った。従って、作業者が一度数値制御装置から離れる必
要があるなど、作業効率が著しく悪くなると言う問題が
あった。本発明は上記従来の課題に鑑みなされたもので
あり、その目的は、数値制御装置側からの1度の操作に
より、数値制御装置と中央処理装置との間で複数のNC
プログラムファイルを連続して転送することを可能にす
るダイレクト数値制御装置を提供することにある。
SUMMARY OF THE INVENTION In the above conventional technique,
When bidirectional data transfer is performed between the numerical control device and the central processing unit via a transfer line in response to a request from the numerical control device, one N is input from the keyboard of the numerical control device.
Only the C program file name could be specified. Therefore, when transferring many NC program files, 1
It was necessary to specify the file name for each and repeat the work of transferring the NC program file. Therefore, there is a problem that the worker cannot leave the machine during the transfer work, and the work efficiency is significantly deteriorated. On the other hand, in the method of continuously transferring a plurality of NC program files using a wild card, the NC program file to be transferred needs to be expanded in advance on the computer side that manages the files. For this reason,
When transferring the NC program file, the operator must first expand the NC program file corresponding to the file name including the wild card in the central processing unit and then request the file name to be transferred by the numerical control device. there were. Therefore, there is a problem that the working efficiency is significantly deteriorated, for example, the worker needs to once leave the numerical control device. The present invention has been made in view of the above conventional problems, and an object thereof is to provide a plurality of NCs between a numerical control device and a central processing unit by one operation from the numerical control device side.
It is to provide a direct numerical control device that enables continuous transfer of program files.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、ワークの加工に必要な複数のNCプログ
ラムファイルを格納可能な内部記憶装置を有する数値制
御装置と、複数のNCプログラムファイルを登録可能な
外部記憶装置を有し、前記数値制御装置と転送ラインで
結合されている中央処理装置と、を備え、前記数値制御
装置から要求された複数のNCプログラムファイルを、
前記中央処理装置から連続して前記数値制御装置に転送
できるダイレクト数値制御装置において、前記数値制御
装置が、前記中央処理装置に要求するNCプログラムフ
ァイルのファイル名を、少なくとも部分一致の形式で発
生できるファイル名要求手段と、前記ファイル名要求手
段の要求に基づき前記中央処理装置から連続して転送さ
れたNCプログラムファイルを、前記内部記憶装置に1
ファイル毎に分割してファイル名と共に登録するファイ
ル登録手段と、を備え、前記中央処理装置が、前記数値
制御装置の前記ファイル名要求手段からファイル名が要
求されると、前記外部記憶装置に登録されているNCプ
ログラムファイルに、前記要求されたファイル名が存在
するかどうか検索するファイル名検索手段と、前記ファ
イル名検索手段により検索された全てのNCプログラム
ファイルを連続して前記数値制御装置に転送する連続フ
ァイル転送手段と、を備えたことを特徴とする。
In order to achieve the above object, the present invention provides a numerical controller having an internal storage device capable of storing a plurality of NC program files necessary for machining a work, and a plurality of NC programs. A plurality of NC program files requested from the numerical control device, the central processing device having an external storage device capable of registering files and being connected to the numerical control device via a transfer line;
In a direct numerical controller capable of continuously transferring from the central processing unit to the numerical control unit, the numerical control unit can generate a file name of an NC program file requested from the central processing unit in at least a partial match format. A file name requesting means and an NC program file continuously transferred from the central processing unit based on the request of the file name requesting means are stored in the internal storage device as 1
File registration means for dividing the file into files and registering the file name together with the file name. When the central processing unit requests a file name from the file name requesting means of the numerical control device, it registers it in the external storage device. A file name search means for searching whether or not the requested file name exists in the NC program files being displayed, and all NC program files searched by the file name search means are successively stored in the numerical control device. And a continuous file transfer means for transferring.

【0008】また、ダイレクト数値制御装置が更に、前
記数値制御装置で指定した複数のNCプログラムファイ
ルを前記数値制御装置から前記中央処理装置に連続して
転送するために、前記数値制御装置が、前記中央処理装
置に転送するNCプログラムファイルのファイル名を、
前記内部記憶装置に対して少なくとも部分一致の形式で
指定できるファイル名要求手段と、前記内部記憶装置に
登録されているNCプログラムファイルに、前記指定さ
れたファイル名が存在するかどうか検索するファイル名
検索手段と、前記ファイル名検索手段により検索された
全てのNCプログラムファイルを連続して前記中央処理
装置に転送する連続ファイル転送手段と、を備え、前記
中央処理装置が、前記数値制御装置から連続して転送さ
れたNCプログラムファイルを、前記外部記憶装置に1
ファイル毎に分割してファイル名と共に登録するファイ
ル登録手段を備えたことを特徴とする。
Further, in order for the direct numerical control device to further continuously transfer a plurality of NC program files designated by the numerical control device from the numerical control device to the central processing unit, the numerical control device may further include Specify the file name of the NC program file to be transferred to the central processing unit,
File name requesting means capable of designating at least a partial match format to the internal storage device, and a file name for searching whether the designated file name exists in the NC program file registered in the internal storage device And a continuous file transfer means for continuously transferring all the NC program files searched by the file name search means to the central processing unit, wherein the central processing unit continuously operates from the numerical control unit. The transferred NC program file to the external storage device.
It is characterized by comprising a file registration means for dividing each file and registering it together with the file name.

【0009】[0009]

【作用】従って、本発明によれば、数値制御装置と中央
処理装置との間でデータ転送を行なう場合、数値制御装
置において転送したいNCプログラムファイル名を部分
一致の形式で発生でき、該当する複数のNCプログラム
ファイルを連続して転送できる。これにより、作業者は
多数のNCプログラムファイルを機械を離れることなく
一度の操作で転送することができる。
Therefore, according to the present invention, when data is transferred between the numerical control unit and the central processing unit, the NC program file name to be transferred can be generated in the form of partial matching in the numerical control unit. NC program files can be continuously transferred. This allows a worker to transfer a large number of NC program files in one operation without leaving the machine.

【0010】[0010]

【実施例】以下図面に基づいて本発明の好適な実施例を
説明する。図1には、数値制御装置1と中央処理装置2
とで構成されているダイレクト数値制御装置において、
数値制御装置1からの要求で中央処理装置2から数値制
御装置1へNCプログラムファイルを転送する場合の構
成がブロック図として示される。図1において、中央処
理装置2から数値制御装置1へ中央処理装置2の外部記
憶装置6に登録されているNCプログラムファイルを転
送する場合には、CRT3を監視しながら操作盤のキー
ボード4を使用して、数値制御装置1の任意ファイル名
入力部30に、中央処理装置2に要求するNCプログラ
ムファイルのファイル名を入力する。この時、ファイル
名にはワイルドカードを含めることができ、中央処理装
置2に要求するファイル名を部分一致の形式で発生する
ことができる。キーボード4及び任意ファイル名入力部
30は、本発明のファイル名要求手段を構成している。
任意ファイル名入力部30に入力されたファイル名は、
任意ファイル名転送部31により通信制御部7に送ら
れ、転送ライン9を介して中央処理装置2の通信制御部
8に送られた後、中央処理装置2の任意ファイル名受信
部35に送られる。これにより、中央処理装置2へ所定
のファイル名が要求されたことになる。中央処理装置2
のファイル名探索部36では、中央処理装置2の外部記
憶装置6に登録されている複数のNCプログラムファイ
ルが検索され、任意ファイル名受信部35に送られたワ
イルドカードを含むファイル名に該当するNCプログラ
ムファイルが探索される。探索された1つのNCプログ
ラムファイルは、中央処理装置2のファイル読込部16
に外部記憶装置6から読み出される。ここで、ファイル
名探索部36及びファイル読込部16は、本発明のファ
イル名検索手段を構成する。ファイル読込部16に読み
出されたNCプログラムファイルは、中央処理装置2の
先頭ファイル判定部37で、転送すべき最初のファイル
すなわち外部記憶装置6に記憶されているディレクトリ
に登録されているファイル名の内、ファイル名探索部3
6で最初に見つかったファイル名に対応するファイルか
どうかが判定される。最初のファイルすなわち先頭ファ
イルであれば、中央処理装置2の先頭コード付加部38
で先頭を認識するコードがNCプログラムファイルの先
頭に付加され、中央処理装置2のファイル名付加部17
で先頭コードの次にファイル名が付加される。尚、先頭
ファイルでない場合には先頭を認識するコードは付加さ
れず、ファイル名付加部17によってファイル名のみが
付加される。次に、中央処理装置2の転送ファイル完了
判定部39においてワイルドカードを含むファイル名に
該当する全てのNCプログラムファイルが転送されたか
どうかが判定される。すなわち、ファイル名付加部17
から出力されたNCプログラムファイルが最終ファイル
か否かが判断される。最終ファイルでない場合は、中央
処理装置2の区切りコード付加部40でNCプログラム
ファイルの末尾に区切りコードが付加された後、中央処
理装置2の連続ファイル送信部42にこのNCプログラ
ムファイルが転送され、中央処理装置2の通信制御部8
から転送ライン9を介して数値制御装置1の通信制御部
7に転送される。また同時に、ファイル名探索部36で
該当ファイルの探索が再度行われ、上記処理が繰り返さ
れる。一方、転送ファイル完了判定部39においてファ
イル名付加部17から出力されたNCプログラムファイ
ルが最終ファイルと判定された場合は、中央処理装置2
の最終コード付加部41でそのNCプログラムファイル
の末尾に最終コードが付加され、連続ファイル送信部4
2に転送されて中央処理装置2の通信制御部8から転送
ライン9を介して数値制御装置1の通信制御部7に転送
される。連続ファイル送信部42は最終ファイルを中央
処理装置2の通信制御部8に渡すと処理を終了する。す
なわち、上記の処理は転送ファイル完了判定部39でフ
ァイル名付加部17から出力されたNCプログラムファ
イルが最終ファイルと判定されるまで繰り返されること
になる。上記先頭ファイル判定部37、先頭コード付加
部38、ファイル名付加部17、転送ファイル完了判定
部39、区切りコード付加部40、最終コード付加部4
1及び連続ファイル送信部42は、本発明の連続ファイ
ル転送手段を構成する。図3には、以上に説明した数値
制御装置1の通信制御部7に転送されるNCプログラム
ファイルの転送用フォーマットの詳細が示される。図3
において、フォーマットは先頭を認識するための先頭コ
ード100(図では%)、NCプログラムm(m=1〜
n)101、NCプログラムの区切りを認識するための
区切りコード102(図ではFS)、最終コードを認識
するための最終コード103(図では%)で構成されて
いる。また、NCプログラムm(m=1〜n)はファイ
ル名104とNCプログラムファイルのデータ105と
で構成されている。数値制御装置1の通信制御部7に転
送されたNCプログラムファイルは、数値制御装置1の
先頭コード判定部32で先頭ファイルかどうかが判定さ
れる。また、先頭コード判定部32から出力された各N
Cプログラムファイルのファイル名は数値制御装置1の
ファイル名受信部12で受信され、データ部分であるN
Cプログラムファイルの内容は数値制御装置1のファイ
ル受信部13で受信される。次に、数値制御装置1の区
切りコード判定部33によりファイル受信部13で受信
されたNCプログラムファイルの後に続くコードが区切
りコードかどうかが判定される。区切りコードであれば
数値制御装置1のファイル登録部14によりそのファイ
ルのデータが数値制御装置1の内部記憶装置5に登録さ
れる。この際、先頭コード判定部32で先頭ファイルと
判定されたNCプログラムファイルがまず先頭ファイル
として内部記憶装置5に登録され、先頭ファイル以外の
NCプログラムファイルは通信制御部7に転送された順
番に登録される。これにより、先頭ファイルから順番に
NCプログラムファイルのデータが数値制御装置1の内
部記憶装置5に登録される。その際、各NCプログラム
ファイルはファイル名受信部12で受信されたファイル
名で各々分割されて登録される。また、上述のように、
区切りコード判定部33で区切りコードと判定された場
合には、ファイル名受信部12におけるファイル名の受
信から上記の処理が繰り返される。一方、ファイル受信
部13で受信されたNCプログラムファイルの後に続く
コードは、数値制御装置1の最終コード判定部34によ
り最終コードかどうかも判定される。最終コードと判定
された場合は、ファイル登録部14により内部記憶装置
5に最終ファイルとして登録される。これにより、上記
の先頭ファイルから最終ファイルまでのデータが内部記
憶装置5に登録され、内部記憶装置5への登録処理が終
了する。その際、各NCプログラムファイルがファイル
名受信部12で受信されたファイル名で各々分割されて
登録されることは上記と同様である。以上においては、
ファイル受信部13で受信されたNCプログラムファイ
ルの後に続くコードが区切りコードか最終コードかによ
り、区切りコード判定部33の処理と最終コード判定部
34の処理とが択一的に実施されている。尚、上記先頭
コード判定部32、ファイル名受信部12、ファイル受
信部13、区切りコード判定部33、最終コード判定部
34及びファイル登録部14は、本発明のファイル登録
手段を構成する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows a numerical controller 1 and a central processing unit 2.
In the direct numerical control device composed of
A configuration in the case of transferring an NC program file from the central processing unit 2 to the numerical control device 1 in response to a request from the numerical control device 1 is shown as a block diagram. In FIG. 1, when the NC program file registered in the external storage device 6 of the central processing unit 2 is transferred from the central processing unit 2 to the numerical control unit 1, the keyboard 4 of the operation panel is used while monitoring the CRT 3. Then, the file name of the NC program file requested from the central processing unit 2 is input to the arbitrary file name input unit 30 of the numerical control device 1. At this time, a wild card can be included in the file name, and the file name requested to the central processing unit 2 can be generated in the form of partial match. The keyboard 4 and the arbitrary file name input unit 30 constitute the file name requesting means of the present invention.
The file name input to the arbitrary file name input section 30 is
It is sent to the communication control unit 7 by the arbitrary file name transfer unit 31, is sent to the communication control unit 8 of the central processing unit 2 via the transfer line 9, and is then sent to the arbitrary file name receiving unit 35 of the central processing unit 2. . As a result, the predetermined file name is requested to the central processing unit 2. Central processing unit 2
In the file name searching unit 36, a plurality of NC program files registered in the external storage device 6 of the central processing unit 2 are searched and correspond to the file name including the wild card sent to the arbitrary file name receiving unit 35. The NC program file is searched. One NC program file found is the file reading unit 16 of the central processing unit 2.
Is read from the external storage device 6. Here, the file name searching unit 36 and the file reading unit 16 constitute the file name searching unit of the present invention. The NC program file read by the file reading unit 16 is the first file to be transferred by the head file determination unit 37 of the central processing unit 2, that is, the file name registered in the directory stored in the external storage device 6. File name search unit 3
In step 6, it is determined whether the file corresponds to the file name found first. If it is the first file, that is, the first file, the first code adding unit 38 of the central processing unit 2
A code for recognizing the head is added to the head of the NC program file, and the file name adding unit 17 of the central processing unit 2 is added.
The file name is added after the first code with. If the file is not the first file, the code for recognizing the first file is not added, and only the file name is added by the file name adding unit 17. Next, the transfer file completion determination unit 39 of the central processing unit 2 determines whether or not all NC program files corresponding to the file name including the wild card have been transferred. That is, the file name addition unit 17
It is determined whether the NC program file output from is the final file. If it is not the final file, the delimiter code adding unit 40 of the central processing unit 2 adds a delimiter code to the end of the NC program file, and then this NC program file is transferred to the continuous file transmitting unit 42 of the central processing unit 2. Communication control unit 8 of central processing unit 2
Is transferred to the communication control unit 7 of the numerical controller 1 via the transfer line 9. At the same time, the file name searching unit 36 searches again for the file, and the above process is repeated. On the other hand, when the transfer file completion determination unit 39 determines that the NC program file output from the file name addition unit 17 is the final file, the central processing unit 2
The final code is added to the end of the NC program file by the final code adding section 41 of the
2 is transferred to the communication control unit 7 of the numerical control device 1 via the transfer line 9 from the communication control unit 8 of the central processing unit 2. The continuous file transmission unit 42 transfers the final file to the communication control unit 8 of the central processing unit 2 and ends the processing. That is, the above process is repeated until the transfer file completion determination unit 39 determines that the NC program file output from the file name addition unit 17 is the final file. The leading file determining unit 37, the leading code adding unit 38, the file name adding unit 17, the transfer file completion determining unit 39, the delimiter code adding unit 40, and the final code adding unit 4
1 and the continuous file transmission unit 42 constitute the continuous file transfer means of the present invention. FIG. 3 shows details of the transfer format of the NC program file transferred to the communication control unit 7 of the numerical controller 1 described above. FIG.
In the format, the beginning code 100 (% in the figure) for recognizing the beginning, the NC program m (m = 1 to 1)
n) 101, a delimiter code 102 (FS in the figure) for recognizing the delimiter of the NC program, and a final code 103 (% in the figure) for recognizing the final code. The NC program m (m = 1 to n) is composed of a file name 104 and NC program file data 105. The NC program file transferred to the communication control unit 7 of the numerical control device 1 is determined by the leading code determination unit 32 of the numerical control device 1 as a leading file. In addition, each N output from the head code determination unit 32
The file name of the C program file is received by the file name receiving unit 12 of the numerical controller 1, and is the data part N.
The contents of the C program file are received by the file receiving unit 13 of the numerical controller 1. Next, the delimiter code determination unit 33 of the numerical controller 1 determines whether the code following the NC program file received by the file reception unit 13 is a delimiter code. If it is a delimiter code, the file registration unit 14 of the numerical control device 1 registers the data of the file in the internal storage device 5 of the numerical control device 1. At this time, the NC program file determined to be the first file by the first code determination unit 32 is first registered in the internal storage device 5 as the first file, and the NC program files other than the first file are registered in the order transferred to the communication control unit 7. To be done. As a result, the data of the NC program file is registered in the internal storage device 5 of the numerical controller 1 in order from the first file. At this time, each NC program file is divided and registered by the file name received by the file name receiving unit 12. Also, as mentioned above,
When the delimiter code determination unit 33 determines that the file is a delimiter code, the above process is repeated from the reception of the file name by the file name reception unit 12. On the other hand, the code following the NC program file received by the file receiving unit 13 is also judged by the final code judging unit 34 of the numerical controller 1 as to whether it is the final code. When it is determined that the code is the final code, the file registration unit 14 registers the final code in the internal storage device 5. As a result, the data from the first file to the last file is registered in the internal storage device 5, and the registration process in the internal storage device 5 ends. At that time, each NC program file is divided and registered by the file name received by the file name receiving unit 12, as in the above case. In the above,
Depending on whether the code following the NC program file received by the file receiving unit 13 is a delimiter code or a final code, the process of the delimiter code determining unit 33 and the process of the final code determining unit 34 are selectively performed. The leading code determining section 32, the file name receiving section 12, the file receiving section 13, the delimiter code determining section 33, the final code determining section 34, and the file registering section 14 constitute the file registering means of the present invention.

【0011】図2には、図1と同様のダイレクト数値制
御装置において、数値制御装置1からの要求で、数値制
御装置1から中央処理装置2へNCプログラムファイル
を転送する場合の構成がブロック図として示される。図
2において、数値制御装置1から中央処理装置2へ数値
制御装置1の内部記憶装置5に登録されているNCプロ
グラムファイルを転送する場合には、CRT3を監視し
ながら操作盤のキーボード4を使用して、数値制御装置
1の任意ファイル名入力部30に、中央処理装置2に転
送するNCプログラムファイルのファイル名を入力す
る。この時、ファイル名にワイルドカードを含めること
ができることは上記図1の場合と同様である。任意ファ
イル名入力部30にファイル名を入力することにより、
内部記憶装置5に対して中央処理装置2へ転送するNC
プログラムファイルのファイル名が指定されたことにな
る。ここで、キーボード4及び任意ファイル名入力部3
0は、本発明のファイル名要求手段を構成している。数
値制御装置1のファイル名探索部43では、数値制御装
置1の内部記憶装置5に登録されている複数のNCプロ
グラムファイルが検索され、任意ファイル名入力部30
に入力されたワイルドカードを含むファイル名に該当す
るNCプログラムファイルが探索される。探索された1
つのNCプログラムファイルは、数値制御装置1のファ
イル読込部21に内部記憶装置5から読み出される。こ
こで、ファイル名探索部43及びファイル読込部21
は、本発明のファイル名検索手段を構成する。ファイル
読込部21に読み出されたNCプログラムファイルは、
数値制御装置1の先頭ファイル判定部44で転送すべき
最初のファイルかどうかが判定される。最初のファイル
すなわち先頭ファイルであれば、数値制御装置1の先頭
コード付加部45で先頭を認識するコードがNCプログ
ラムファイルの先頭に付加され、数値制御装置1のファ
イル名付加部19で先頭コードの次にファイル名が付加
される。尚、先頭ファイルでない場合には先頭を認識す
るコードは付加されず、ファイル名付加部19によって
ファイル名のみが付加される。次に、数値制御装置1の
転送ファイル完了判定部46においてワイルドカードを
含むファイル名に該当する全てのNCプログラムファイ
ルが転送されたかどうか判定される。すなわち、ファイ
ル名付加部19から出力されたNCプログラムファイル
が最終ファイルか否かが判断される。最終ファイルでな
い場合は、数値制御装置1の区切りコード付加部47で
NCプログラムファイルの末尾に区切りコードが付加さ
れた後、数値制御装置1の連続ファイル転送部49にこ
のNCプログラムファイルが転送され、数値制御装置1
の通信制御部7から転送ライン9を介して中央処理装置
2の通信制御部8に転送される。また同時に、ファイル
名探索部43で該当ファイルの探索が再度行われ、上記
処理が繰り返される。一方、転送ファイル完了判定部4
6においてファイル名付加部19から出力されたNCプ
ログラムファイルが最終ファイルと判定された場合は、
数値制御装置1の最終コード付加部48でそのNCプロ
グラムファイルの末尾に最終コードが付加され、連続フ
ァイル転送部49に転送されて数値制御装置1の通信制
御部7から転送ライン9を介して中央処理装置2の通信
制御部8に転送される。連続ファイル転送部49は最終
ファイルを数値制御装置1の通信制御部7に渡すと処理
を終了する。すなわち、上記の処理は転送ファイル完了
判定部46でファイル名付加部19から出力されたNC
プログラムファイルが最終ファイルと判定されるまで繰
り返されることになる。上記先頭ファイル判定部44、
先頭コード付加部45、ファイル名付加部19、転送フ
ァイル完了判定部46、区切りコード付加部47、最終
コード付加部48及び連続ファイル転送部49は、本発
明の連続ファイル転送手段を構成する。尚、以上に説明
したNCプログラムファイルの転送用フォーマットは、
図1の場合と同様に図3にその詳細が示されている。中
央処理装置2の通信制御部8に転送されたNCプログラ
ムファイルは、中央処理装置2の先頭コード判定部50
で先頭ファイルかどうかが判定される。また、先頭コー
ド判定部50から出力された各NCプログラムファイル
のファイル名は中央処理装置2のファイル名受信部15
で受信され、データ部分であるNCプログラムファイル
の内容は中央処理装置2のファイル受信部22で受信さ
れる。次に、中央処理装置2の区切りコード判定部51
によりファイル受信部22で受信されたNCプログラム
ファイルの後に続くコードが区切りコードかどうかが判
定される。区切りコードであれば中央処理装置2のファ
イル登録部23によりそのファイルのデータが中央処理
装置2の外部記憶装置6に登録される。この際、先頭コ
ード判定部50で先頭ファイルと判定されたNCプログ
ラムファイルがまづ先頭ファイルとして外部記憶装置6
に登録され、先頭ファイル以外のNCプログラムファイ
ルは通信制御部8に転送された順番に登録される。これ
により、先頭ファイルから順番にNCプログラムファイ
ルのデータが中央処理装置2の外部記憶装置6に登録さ
れる。その際、各NCプログラムファイルはファイル名
受信部15で受信されたファイル名で各々分割されて登
録される。また、上述のように、区切りコード判定部5
1で区切りコードと判定された場合には、ファイル名受
信部15におけるファイル名の受信から上記の処理が繰
り返される。一方、ファイル名受信部15で受信された
NCプログラムファイルの後に続くコードは、中央処理
装置2の最終コード判定部52により最終コードかどう
かも判定される。最終コードと判定された場合は、ファ
イル登録部23により外部記憶装置6に最終ファイルと
して登録される。これにより、上記の先頭ファイルから
最終ファイルまでのデータが外部記憶装置6に登録さ
れ、外部記憶装置6への登録処理が終了される。その
際、各NCプログラムファイルがファイル名受信部15
で受信されたファイル名で各々分割されて登録されるこ
とは上記と同様である。以上においては、ファイル受信
部22で受信されたNCプログラムファイルの後に続く
コードが区切りコードか最終コードかにより、区切りコ
ード判定部51の処理と最終コード判定部52の処理と
が択一的に実施されている。尚、上記先頭コード判定部
50、ファイル名受信部15、ファイル受信部22、区
切りコード判定部51、最終コード判定部52及びファ
イル登録部23は、本発明のファイル登録手段を構成す
る。
FIG. 2 is a block diagram showing a configuration in the same direct numerical controller as in FIG. 1 in which an NC program file is transferred from the numerical controller 1 to the central processing unit 2 in response to a request from the numerical controller 1. Indicated as. In FIG. 2, when the NC program file registered in the internal storage device 5 of the numerical control device 1 is transferred from the numerical control device 1 to the central processing unit 2, the keyboard 4 of the operation panel is used while monitoring the CRT 3. Then, the file name of the NC program file to be transferred to the central processing unit 2 is input to the arbitrary file name input unit 30 of the numerical controller 1. At this time, the wild card can be included in the file name as in the case of FIG. By inputting the file name in the arbitrary file name input section 30,
NC for transferring to the central processing unit 2 for the internal storage device 5
The file name of the program file has been specified. Here, the keyboard 4 and the arbitrary file name input unit 3
0 constitutes the file name requesting means of the present invention. The file name search unit 43 of the numerical control device 1 searches for a plurality of NC program files registered in the internal storage device 5 of the numerical control device 1, and the arbitrary file name input unit 30
The NC program file corresponding to the file name including the wild card input to is searched. One searched
One NC program file is read from the internal storage device 5 by the file reading unit 21 of the numerical control device 1. Here, the file name searching unit 43 and the file reading unit 21
Constitutes the file name search means of the present invention. The NC program file read by the file reading unit 21 is
The leading file determination unit 44 of the numerical controller 1 determines whether the file is the first file to be transferred. If it is the first file, that is, the head file, a code for recognizing the head by the head code adding unit 45 of the numerical control apparatus 1 is added to the head of the NC program file, and the file name adding unit 19 of the numerical control apparatus 1 adds the start code. Next, the file name is added. If the file is not the first file, the code for recognizing the first file is not added, and only the file name is added by the file name adding unit 19. Next, the transfer file completion determination unit 46 of the numerical controller 1 determines whether all NC program files corresponding to the file name including the wild card have been transferred. That is, it is determined whether the NC program file output from the file name adding unit 19 is the final file. If it is not the final file, the delimiter code adding unit 47 of the numerical controller 1 adds a delimiter code to the end of the NC program file, and then the NC program file is transferred to the continuous file transfer unit 49 of the numerical controller 1, Numerical control device 1
Is transferred from the communication control unit 7 to the communication control unit 8 of the central processing unit 2 via the transfer line 9. At the same time, the file name searching unit 43 searches again for the file, and the above process is repeated. On the other hand, the transfer file completion determination unit 4
When it is determined that the NC program file output from the file name addition unit 19 is the final file in 6,
A final code is added to the end of the NC program file by the final code adding unit 48 of the numerical control device 1, transferred to the continuous file transfer unit 49, and transmitted from the communication control unit 7 of the numerical control device 1 via the transfer line 9 to the center. It is transferred to the communication control unit 8 of the processing device 2. The continuous file transfer unit 49 transfers the final file to the communication control unit 7 of the numerical control device 1 and ends the processing. That is, the above-mentioned processing is the NC output from the file name addition section 19 in the transfer file completion determination section 46.
It will be repeated until the program file is determined to be the final file. The top file determination unit 44,
The head code addition unit 45, the file name addition unit 19, the transfer file completion determination unit 46, the delimiter code addition unit 47, the final code addition unit 48, and the continuous file transfer unit 49 constitute the continuous file transfer means of the present invention. The transfer format of the NC program file described above is
Details thereof are shown in FIG. 3 as in the case of FIG. The NC program file transferred to the communication control unit 8 of the central processing unit 2 is stored in the head code determining unit 50 of the central processing unit 2.
Determines whether it is the first file. The file name of each NC program file output from the head code determination unit 50 is the file name reception unit 15 of the central processing unit 2.
The content of the NC program file, which is the data portion, is received by the file receiving unit 22 of the central processing unit 2. Next, the delimiter code determination unit 51 of the central processing unit 2
Thus, it is determined whether the code following the NC program file received by the file receiving unit 22 is a delimiter code. If it is a delimiter code, the file registration unit 23 of the central processing unit 2 registers the data of the file in the external storage device 6 of the central processing unit 2. At this time, the NC program file determined to be the first file by the first code determination unit 50 is first used as the first file in the external storage device 6.
The NC program files other than the first file are registered in the order in which they are transferred to the communication control unit 8. As a result, the data of the NC program file is registered in the external storage device 6 of the central processing unit 2 in order from the top file. At this time, each NC program file is divided and registered by the file name received by the file name receiving unit 15. In addition, as described above, the delimiter code determination unit 5
When it is determined that the delimiter code is 1, the above processing is repeated from the reception of the file name in the file name receiving unit 15. On the other hand, the code following the NC program file received by the file name receiving unit 15 is also judged by the final code judging unit 52 of the central processing unit 2 as to whether or not the code is the final code. When the file is determined to be the final code, the file registration unit 23 registers the final file in the external storage device 6. As a result, the data from the first file to the last file is registered in the external storage device 6, and the registration process in the external storage device 6 is completed. At that time, each NC program file is stored in the file name receiving unit 15
Similar to the above, the file names received in step 1 are divided and registered. In the above, depending on whether the code following the NC program file received by the file receiving unit 22 is a delimiter code or a final code, the process of the delimiter code determining unit 51 and the process of the final code determining unit 52 are alternatively performed. Has been done. The head code determining section 50, the file name receiving section 15, the file receiving section 22, the delimiter code determining section 51, the final code determining section 52, and the file registering section 23 constitute the file registering means of the present invention.

【0012】図4には、任意ファイル名入力部30にお
いて入力されるファイル名の詳細が示される。図4にお
いて、ファイル名の中に使用されるワイルドカードとし
ては、例えば、任意の文字列の代わりに使用されるコー
ドである*(アスタリスク)と、任意の1文字の代わり
に使用されるコードである?(クエスチョン)とがあ
る。図4のファイル名指定例に示されるように、ファイ
ル名の入力手段は4つに分類される。第1は、従来技術
に示されたファイル名の入力手段であり、ワイルドカー
ドを含まないファイル名の指定方法であって、図のよう
に直接ファイル名を”ABCDEF”として指定する方
法である。この場合は、指定されたファイル名に該当す
る1つのファイルを転送することができる。第2以降の
ファイル名の入力手段は、本発明で示すファイル名指定
方法である。 第2の手段は、ワイルドカードとして*
(アスタリスク)のみを含むファイル名の指定方法であ
り、図のように”A*B”のように指定する。この場
合、該当するファイル名は、図のように”AXYZB”
などであり、この内、任意の文字列”XYZ”の代わり
にワイルドカードである*(アスタリスク)が使用され
ている。第3の手段は、ワイルドカードとして?(クエ
スチョン)のみを含むファイル名の指定方法であり、図
のように”A?B”のように指定する。この場合、該当
するファイル名は、図のように”APB”などであり、
この内、任意の1文字”P”の代わりにワイルドカード
である?(クエスチョン)が使用されている。第4の手
段は、ワイルドカードとして*(アスタリスク)と?
(クエスチョン)とが混在しているファイル名の指定方
法であり、図のように”A*B?”のように指定する。
この場合、該当するファイル名は、図のように”AOP
QBN”などであり、この内、任意の文字列”OPQ”
の代わりにワイルドカードである*(アスタリスク)が
使用され、任意の1文字”N”の代わりにワイルドカー
ドである?(クエスチョン)が使用されている。このよ
うに、任意の文字列や任意の1文字の代わりにワイルド
カードを含むファイル名を指定すると、1回の操作で複
数のNCプログラムファイルを転送することができる。
FIG. 4 shows details of the file name input in the arbitrary file name input section 30. In FIG. 4, as wildcards used in the file name, for example, * (asterisk) which is a code used in place of an arbitrary character string and a code used in place of any one character is there? (Question) As shown in the file name designation example of FIG. 4, the file name input means is classified into four. The first is the file name input means shown in the prior art, which is a method of specifying a file name that does not include a wild card, and is a method of directly specifying the file name as "ABCDEF" as shown in the figure. In this case, one file corresponding to the designated file name can be transferred. The second and subsequent file name inputting means is the file name designating method shown in the present invention. The second method is as a wild card *
This is a method of specifying a file name that includes only (asterisk), and is specified as "A * B" as shown in the figure. In this case, the corresponding file name is "AXYZB" as shown in the figure.
The wild card * (asterisk) is used instead of the arbitrary character string "XYZ". The third way is as a wild card? This is a method of specifying a file name that includes only (questions), such as "A? B" as shown in the figure. In this case, the corresponding file name is "APB" as shown in the figure,
Of these, is it a wildcard instead of any one character "P"? (Question) is used. The fourth means is * (asterisk) as a wild card?
This is a method of specifying a file name in which (questions) are mixed, and is specified as "A * B?" As shown in the figure.
In this case, the corresponding file name is "AOP
QBN ", etc., of which any character string" OPQ "
The wildcard * (asterisk) is used instead of, and is it a wildcard instead of any one character "N"? (Question) is used. As described above, when a file name including a wildcard is designated instead of an arbitrary character string or an arbitrary character, a plurality of NC program files can be transferred by one operation.

【0013】[0013]

【発明の効果】ダイレクト数値制御装置において、数値
制御装置と中央処理装置との間で転送ラインを介して複
数のNCプログラムファイルを転送する場合、機械を離
れることなく一度の操作で転送できるため、従来の技術
に対して大幅に作業効率を上げることができる。
In the direct numerical control device, when a plurality of NC program files are transferred between the numerical control device and the central processing unit via the transfer line, the NC program files can be transferred by one operation without leaving the machine. The work efficiency can be greatly improved as compared with the conventional technology.

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

【図1】 本発明に係るダイレクト数値制御装置を示す
ブロック図である。
FIG. 1 is a block diagram showing a direct numerical control device according to the present invention.

【図2】 本発明に係るダイレクト数値制御装置を示す
ブロック図である。
FIG. 2 is a block diagram showing a direct numerical control device according to the present invention.

【図3】 本発明に係る複数のNCプログラムファイル
の転送用フォーマットの構成図である。
FIG. 3 is a configuration diagram of a transfer format of a plurality of NC program files according to the present invention.

【図4】 本発明に係るファイル名の指定方法の説明図
である。
FIG. 4 is an explanatory diagram of a file name designating method according to the present invention.

【図5】 従来の技術のダイレクト数値制御装置を示す
ブロック図である。
FIG. 5 is a block diagram showing a direct numerical control device of a conventional technique.

【図6】 従来の技術のダイレクト数値制御装置を示す
ブロック図である。
FIG. 6 is a block diagram showing a direct numerical control device of a conventional technique.

【図7】 従来の技術のワイルドカードによるファイル
転送方式の説明図である。
FIG. 7 is an explanatory diagram of a conventional file transfer method using a wild card.

【符号の説明】[Explanation of symbols]

1 数値制御装置、2 中央処理装置、3 CRT、4
キーボード、5 内部記憶装置、6 外部記憶装置、
7 通信制御部、8 通信制御部、9 転送ライン。
1 numerical control device, 2 central processing unit, 3 CRT, 4
Keyboard, 5 internal storage device, 6 external storage device,
7 communication control unit, 8 communication control unit, 9 transfer line.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 ワークの加工に必要な複数のNCプログ
ラムファイルを格納可能な内部記憶装置を有する数値制
御装置と、 複数のNCプログラムファイルを登録可能な外部記憶装
置を有し、前記数値制御装置と転送ラインで結合されて
いる中央処理装置と、 を備え、前記数値制御装置から要求された複数のNCプ
ログラムファイルを、前記中央処理装置から連続して前
記数値制御装置に転送できるダイレクト数値制御装置に
おいて、 前記数値制御装置が、 前記中央処理装置に要求するNCプログラムファイルの
ファイル名を、少なくとも部分一致の形式で発生できる
ファイル名要求手段と、 前記ファイル名要求手段の要求に基づき前記中央処理装
置から連続して転送されたNCプログラムファイルを、
前記内部記憶装置に1ファイル毎に分割してファイル名
と共に登録するファイル登録手段と、 を備え、 前記中央処理装置が、 前記数値制御装置の前記ファイル名要求手段からファイ
ル名が要求されると、前記外部記憶装置に登録されてい
るNCプログラムファイルに、前記要求されたファイル
名が存在するかどうか検索するファイル名検索手段と、 前記ファイル名検索手段により検索された全てのNCプ
ログラムファイルを連続して前記数値制御装置に転送す
る連続ファイル転送手段と、 を備えたことを特徴とするダイレクト数値制御装置。
1. A numerical control device having an internal storage device capable of storing a plurality of NC program files necessary for machining a workpiece, and an external storage device capable of registering a plurality of NC program files. And a central processing unit connected by a transfer line, and a direct numerical control device capable of continuously transferring a plurality of NC program files requested by the numerical control device from the central processing unit to the numerical control device. In the numerical control device, a file name requesting unit capable of generating a file name of an NC program file requested to the central processing unit in at least a partial match format, and the central processing unit based on a request from the file name requesting unit NC program files transferred continuously from
File registration means for registering a file name in the internal storage device by dividing the file for each file, wherein the central processing unit requests a file name from the file name requesting means of the numerical control device, The NC program file registered in the external storage device is continuously searched for a file name searching unit that searches for the requested file name, and all NC program files searched by the file name searching unit. And a continuous file transfer means for transferring the data to the numerical control device.
【請求項2】 請求項1に記載のダイレクト数値制御装
置が更に、前記数値制御装置で指定した複数のNCプロ
グラムファイルを前記数値制御装置から前記中央処理装
置に連続して転送するために、 前記数値制御装置が、 前記中央処理装置に転送するNCプログラムファイルの
ファイル名を、前記内部記憶装置に対して少なくとも部
分一致の形式で指定できるファイル名要求手段と、 前記内部記憶装置に登録されているNCプログラムファ
イルに、前記指定されたファイル名が存在するかどうか
検索するファイル名検索手段と、 前記ファイル名検索手段により検索された全てのNCプ
ログラムファイルを連続して前記中央処理装置に転送す
る連続ファイル転送手段と、 を備え、 前記中央処理装置が、 前記数値制御装置から連続して転送されたNCプログラ
ムファイルを、前記外部記憶装置に1ファイル毎に分割
してファイル名と共に登録するファイル登録手段を備え
たことを特徴とするダイレクト数値制御装置。
2. The direct numerical control device according to claim 1, further comprising: for continuously transferring a plurality of NC program files designated by the numerical control device from the numerical control device to the central processing unit, The numerical controller is registered in the internal storage device, and a file name requesting unit capable of designating the file name of the NC program file to be transferred to the central processing unit in the format of at least partial matching to the internal storage device. File name search means for searching whether or not the specified file name exists in the NC program file, and continuous transfer of all NC program files searched by the file name search means to the central processing unit. File transfer means, wherein the central processing unit continuously transfers data from the numerical control device. Direct numerical controller of the NC program file, characterized by comprising a file registration means for registering with divided and file name 1 each file in the external storage apparatus.
JP6244295A 1995-03-22 1995-03-22 Direct numerical controller Pending JPH08263126A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6244295A JPH08263126A (en) 1995-03-22 1995-03-22 Direct numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6244295A JPH08263126A (en) 1995-03-22 1995-03-22 Direct numerical controller

Publications (1)

Publication Number Publication Date
JPH08263126A true JPH08263126A (en) 1996-10-11

Family

ID=13200334

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6244295A Pending JPH08263126A (en) 1995-03-22 1995-03-22 Direct numerical controller

Country Status (1)

Country Link
JP (1) JPH08263126A (en)

Similar Documents

Publication Publication Date Title
JP3670303B2 (en) Data conversion method and data conversion apparatus
US5307494A (en) File name length augmentation method
CN100466578C (en) Communication system and communication control apparatus and method
JPH08263126A (en) Direct numerical controller
JPH08190484A (en) Development assisting device
JPH0399380A (en) Method for storing collected data
JP2766210B2 (en) File list extraction method and device
JPH06187107A (en) Slip distribution output device
JPH03105421A (en) Document output device
JP3229062B2 (en) Communication method
JPH05324514A (en) Data communication equipment
JPH07121415A (en) File management device
JP2000059361A (en) Communication network management system
JPH0766867A (en) Communication system
JPH0511987A (en) Application program starting method
JPH07248954A (en) Directory transfer method
JPH05165796A (en) Software developing tool starting system in distributed type computer network
JPH0749880A (en) Data base access request device
JPH06168074A (en) Common ionput/output device
JP3012434B2 (en) Data re-accessless method of information processing system
JPH0567019A (en) Network device control system
JPS63292371A (en) Image processor control system using on-line conversation processing program
JP2002063163A (en) Internet automatic data retrieving method and its device
JPH07319782A (en) Character code converter
JPH04148326A (en) Application activating system