JPS59216207A - Numerical control device - Google Patents

Numerical control device

Info

Publication number
JPS59216207A
JPS59216207A JP9027283A JP9027283A JPS59216207A JP S59216207 A JPS59216207 A JP S59216207A JP 9027283 A JP9027283 A JP 9027283A JP 9027283 A JP9027283 A JP 9027283A JP S59216207 A JPS59216207 A JP S59216207A
Authority
JP
Japan
Prior art keywords
program
programs
stored
working
display
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
JP9027283A
Other languages
Japanese (ja)
Inventor
Hitoshi Tanaka
均 田中
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP9027283A priority Critical patent/JPS59216207A/en
Publication of JPS59216207A publication Critical patent/JPS59216207A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/408Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by data handling or data format, e.g. reading, buffering or conversion of data
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/35Nc in input of data, input till input file format
    • G05B2219/35563Use of conversion tables
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/36Nc in input of data, input key till input tape
    • G05B2219/36242Convert program for different machines with different M-code, G-code, header

Abstract

PURPOSE:To economize a memory capacity and to shorten the time required for program generation while keeping the compatibility with the other types of device by making it possible that working programs in 2>= kinds of language form exist in a storage device together. CONSTITUTION:Distinctions of language forms of the first and the second working programs 31 and 32 are stored in a directory of a memory where storage areas of working programs are stored. Before the start of operation, the register nember of the working program to be operated is inputted from an operation panel. Contents of the directory 33 are searched to discriminate whether the working program exists or not, and the start of its storage position is stored temporarily. In this case, discrimination code of language forms which are added to programs 31 and 32 are discriminated to set flags, and the use of the first converting program 34 or the second converting program 35 is determined. The first and the second display editing programs 36 and 37 for switching the display of a display device are switched. Thus, working programs having two language forms can be stored and operated.

Description

【発明の詳細な説明】 この発明は、複数の自動プログラミング言語を使用でき
るようにした数値制御装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a numerical control device that allows the use of multiple automatic programming languages.

従来、この種の数値制御装置(以下NC装置という)は
第1図のように構成されていた。
Conventionally, this type of numerical control device (hereinafter referred to as an NC device) has been configured as shown in FIG.

1は系の制御に必要な演算を行い系を制御するCPU、
2はメモリ、3はたとえはテープリーダ等の外部より加
ニブログラムを入力するための入力デバイス、4はオペ
レータのために各種の表示を行う表示器、5は各種指令
やデータを入力するための多数の接点を持つ操作パネル
、6は前記CPU1より出力される移動葉に従ってサー
ボモータ10の回転角と回転速度を制御するサーボ制御
部、1は加工機械に対し、各種の制御信号の入出力を行
う入出力インタフェース部、8は各モジュールを接続す
る共通母線(パスライン)、9は加工機械、10はその
テーブルを動かすサーボモータ、11は位置を検出する
ための検出器、12.13は機械と数値制御装置を接続
するケーブルである。
1 is a CPU that performs calculations necessary for controlling the system and controls the system;
2 is a memory, 3 is an input device for inputting a program from an external source such as a tape reader, 4 is a display device for displaying various information for the operator, and 5 is a plurality of units for inputting various commands and data. 6 is a servo control unit that controls the rotation angle and rotation speed of the servo motor 10 in accordance with the moving leaf outputted from the CPU 1; 1 is a servo control unit that inputs and outputs various control signals to and from the processing machine; Input/output interface section, 8 is a common bus line (pass line) connecting each module, 9 is a processing machine, 10 is a servo motor that moves the table, 11 is a detector for detecting the position, 12.13 is a machine and This is a cable that connects a numerical control device.

次に動作についてこの発明と関係のある部分を説明する
Next, the parts related to the present invention regarding the operation will be explained.

先ず、メモリ2には系全体の動作を制御するための制御
プログラムおよび演算に必要な定数があらかじめロード
されており、NC装置の電源投入とともKCPUlより
制御プログラムの実行が開始され、加工機械9からの入
力および操作パネル5からの入力に対応した動作を行う
First, the memory 2 is preloaded with a control program for controlling the operation of the entire system and constants necessary for calculations, and when the NC device is powered on, execution of the control program is started from the KCPU1, and the processing machine 9 It performs operations corresponding to inputs from and from the operation panel 5.

運転に先きだって、入力デバイス3より加ニブログラム
を入力し、メモリ2にロードする。複数の加ニブログラ
ムを区分するために、番号を付して記憶する。オペレー
タは操作パネル5より番号を入力して運転する加ニブロ
グラムを指定し、起動する。NC装置は指定のプログラ
ムの記憶領域をサーチしプログラムの指令を順次、読み
取り、必要な変換をして加工機械9およびサーボ制御部
6にデータを出力して動作がおこなわれる。また、加ニ
ブログラムの内容の任意の一部を表示器4に表示するよ
うにし、操作パネル5上の接点の一部を編集操作用忙割
り付けることにより記憶された加ニブログラムを編集す
ることができる。
Prior to driving, a Canadian program is inputted from the input device 3 and loaded into the memory 2. In order to classify a plurality of Canadian programs, they are numbered and stored. The operator inputs a number from the operation panel 5 to designate the Canadian program to be operated and starts it. The NC device searches the storage area for a specified program, sequentially reads the commands of the program, performs necessary conversion, and outputs the data to the processing machine 9 and the servo control section 6 to perform the operation. Furthermore, by displaying any part of the contents of the crab program on the display 4 and allocating some of the contacts on the operation panel 5 for editing operations, the stored crab program can be edited.

次に第2図により概略のプログラムの構造について説明
する。
Next, the general structure of the program will be explained with reference to FIG.

加ニブログラム21は表示編集用プログラム24により
入力デバイス3を通して入力される。自動運転が起動さ
れると、変換プログラム22は加ニブログラム21の内
容をlブロックずつ読みとって解読し、所定のフォーマ
ントに変換してメインプログラム23に渡し、メインプ
ログラム23は一部タイミング毎のデータに変換して、
サーボ制御部6および外部入出力インタフェース7に適
宜変換した加ニブログラムデータを出力する。
The Canadian program 21 is input by the display editing program 24 through the input device 3. When automatic operation is started, the conversion program 22 reads and decodes the contents of the Canadian program 21 one block at a time, converts it into a predetermined formant, and passes it to the main program 23. The main program 23 partially converts the data at each timing. Convert it to
The servo controller 6 and the external input/output interface 7 output the appropriately converted Canadian program data.

出力が完了すると、再度変換プログラムを起動し、次の
ブロックのデータの処理を行う。
When the output is completed, the conversion program is started again and the next block of data is processed.

しかるに現在、一般のNC装置においては加ニブログラ
ムはl5O−EIkコードによるワードアドレス方式を
用いており、加ニブログラムはこの一方式のみで記憶さ
れている。近年用ニブログラム作成の能率を上げるため
NC装置忙自動プログラミング機能を内蔵するものが出
現した。この方式には2種類あり、自動プログラミング
言語で入力されたプログラムを入力時忙従来のワードア
ドレス方式に変換し、記憶する形式と、自動プログラミ
ング言語による入力をそのまま記憶し、運転に使用する
方式である。後者の方式は同機能加ニブログラムを記憶
するために要するメモリ容量が小さくてすみ、また、元
の入力がそのまま残っており、しかも前者に比して短い
ので編集が容易である。しかるK、自動プログラム言語
は特有のフォーマントを持っているため他機種に使用す
る加ニブログラムと互換性がない。
However, at present, in general NC devices, a word addressing method using l5O-EIk codes is used for the Kanni program, and the Kanni program is stored using only this one method. In recent years, in order to improve the efficiency of creating Niprograms for use, NC devices with a built-in automatic programming function have appeared. There are two types of this method: one in which the program entered in an automatic programming language is converted into the conventional word address system and stored at the time of input, and the other in which the input in the automatic programming language is memorized as is and used for driving. be. The latter method requires less memory capacity to store the same function-added program, the original input remains as is, and it is shorter than the former, making it easier to edit. However, since the automatic programming language has a unique formant, it is not compatible with Canadian programs used in other models.

このように従来のNC装置は単一の言語形式のみで加ニ
ブログラムを記憶するため、記憶容量と編集機能に優れ
た自動プログラミング機能を持つNC装置は別の機種と
互換性がなく、また、自動プログラミングの処理項目と
して準備されていない特殊な加工について対応できない
という欠点があった。
In this way, conventional NC devices store Canadian programs in only a single language format, so NC devices with automatic programming functions that have excellent storage capacity and editing functions are not compatible with other models, and cannot be automatically programmed. This method has the disadvantage that it cannot handle special machining that has not been prepared as a processing item for programming.

この発明は、上記のような従来のものの欠点を除去する
ためになされたもので、2種以上の言語形式の加ニブロ
グラムを記憶装置に併存できるようにすることにより、
他機種と互換性を保ちながらメモリ容量の節約と、編集
が容易な自動プログラムの機能も併せ持つNC装置を提
供することを目的としている。
This invention was made in order to eliminate the drawbacks of the conventional ones as described above, and by making it possible to coexist Canadian programs in two or more language formats in a storage device,
The objective is to provide an NC device that saves memory capacity while maintaining compatibility with other models and also has an automatic program function that is easy to edit.

以下この発明について説明する。This invention will be explained below.

第3図はこの発明の一実施例に用いる制御用プログラム
の構造の概略図を示すもので、31は自動プログラミン
グの言語で書かれた第1の加ニブログラムであり、32
はEIAフォーマントで書かれた第2の加ニブログラム
である。
FIG. 3 shows a schematic diagram of the structure of a control program used in an embodiment of the present invention, in which 31 is a first program written in an automatic programming language, 32
is the second Canadian program written in the EIA formant.

第1.第2の加ニブログラム31.32の言語形式の区
分は加ニブログラムの記憶領域をi己憶しているディレ
クトリ33に記憶させる。
1st. The classification of the language format of the second Canadian program 31, 32 causes the storage area of the program to be stored in the directory 33 in which it is stored.

第1の変換プログラム34は自動プログラミング言語で
書かれたプログラムを変換するためのプログラムであり
、第2の変換プログラム35をまBIAフォーマントの
プログラムを処理するためのものである。36は第1の
表示編集用プログラムでありEIAフォーマントで書か
れた加ニブログラムの編集用ルーチンであり、37は第
2の表示編集用プログラムであり自動ブロクラミング用
の表示編集ルーチンである。38はプログラムの言語形
式によりセントされるフラグを判別して処理!レーテン
を切り換えるプログラム言語形式判別部である。
The first conversion program 34 is a program for converting programs written in an automatic programming language, and the second conversion program 35 is for processing BIA formant programs. 36 is a first display editing program, which is a routine for editing a Canadian program written in EIA formant; 37 is a second display editing program, which is a display editing routine for automatic block programming. 38 determines and processes flags sent according to the language format of the program! This is a programming language format discriminator that switches the rate.

次に動作について説明する。運転の開始前に操作パネル
5(第1図)より運転したし・加工プログラムの登録番
号を入力する。
Next, the operation will be explained. Before starting operation, input the registration number of the machining program to be operated from the operation panel 5 (Fig. 1).

その加ニブログラムが存在するか否かメモリ2内のディ
レクトリ33をサーチし、その格納箇所の先頭を一時記
憶する。その除錆1または第2の加ニブログラム31.
32に付された言語形式の識別符号を判別して、フラグ
をセントし、第1の変換プログラム34を使用するか、
第2の変換プログラム35を使用するかの振り分けを行
う。
The directory 33 in the memory 2 is searched to see if the Kanji program exists, and the beginning of the storage location is temporarily stored. The first or second rust removal program 31.
determine the language format identification code attached to 32, set the flag, and use the first conversion program 34;
It is determined whether the second conversion program 35 is to be used or not.

また、表示器4の表示を切り換えるための第1の表示編
集プログラム36と第2の表示編集プログラム21の切
り換えを行う。このようにして二つの言語形式を持つ加
ニブログラムを同時に記憶し、また、運転および編集が
可能となる。
Further, the first display editing program 36 and the second display editing program 21 for switching the display on the display 4 are switched. In this way, Canadian programs in two language formats can be stored, operated and edited simultaneously.

なお、上記の実施例では2′M4類の言語の切り換えの
例を示したが処理ルーチンの種類を増やすことにより、
もつと多種類の言語による加ニブログラムを混在して記
憶し、処理を切り換えて運転および編集をすることがで
きる。自動運転中サブプログラムを呼び出した時に言語
形式!11」利用の内部フラグを切り換えれは、言語形
式の違う加工プロダラムを相互にサブプロクラムとして
呼ぶことができる。
In the above embodiment, an example of language switching of the 2'M4 type was shown, but by increasing the types of processing routines,
It is possible to store a mixture of Canadian programs in many different languages, and to operate and edit them by switching processing. Language format when calling a subprogram during automatic operation! By switching the internal flag for "11" usage, machining program programs with different language formats can be mutually called as subprograms.

以上詳細に説明したように、この発明は、プログラム言
語体系の異なる加ニブログラムを記憶するメモリと、こ
れらの加ニブログラムを相互にサブプログラムとして呼
び出して連続運転させる手段とを設けたので、自動プロ
クラミンク言語により、素早く加ニブログラムを作成で
きる長B[を利用できるとともに、自動プログラミング
でカッく一不可能な特殊な加工は、EIAフォーマント
を使用して加工できるので、プロクラミンク作成に要す
る時間が短縮されるとともに柔軟性が向上する利点があ
る。
As explained in detail above, the present invention is provided with a memory for storing Canadian programs of different programming language systems, and a means for calling these Canadian programs as subprograms and operating them continuously. This allows you to use the length B which allows you to quickly create a program, and special processing that cannot be done with automatic programming can be done using the EIA formant, reducing the time required to create a program. This also has the advantage of improved flexibility.

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

第1図はNC装置の内部構成を示すプロンク図、第2図
は従来のNC装置の制御用プログラムの概略図、第3図
はこの発明の一実施例における制御用プログラムの構造
の概略図である。 図中、1はCPU、2はメモリ、3は入力デバイス、4
は表示器、5は操作パネル、6はサーボ制御部、7は入
出力インタフェース部、8は共通母線、9は加工機械%
10はサーボモータ、11は検出器、12.13はケー
ブル、21は加ニブログラム、22は変換プログラム、
23はメインプログラム、24は表示編集用プログラム
、31は第1の加ニブログラム、32は第2の加ニブロ
グラム、33はディレクトリ、34は第1の変換プログ
ラム、35は第2の変換ブロクラム、36゜−3Tは表
示編集ブロク゛ラム、3B はプログラム言語形式判別部である。 代理人 大岩増雄  (外2名) 第1図 第2図
FIG. 1 is a block diagram showing the internal configuration of the NC device, FIG. 2 is a schematic diagram of a conventional control program for the NC device, and FIG. 3 is a schematic diagram of the structure of a control program in an embodiment of the present invention. be. In the figure, 1 is the CPU, 2 is the memory, 3 is the input device, 4
is the display, 5 is the operation panel, 6 is the servo control section, 7 is the input/output interface section, 8 is the common bus bar, 9 is the processing machine%
10 is a servo motor, 11 is a detector, 12.13 is a cable, 21 is a Canadian program, 22 is a conversion program,
23 is a main program, 24 is a display editing program, 31 is a first Canadian program, 32 is a second Canadian program, 33 is a directory, 34 is a first conversion program, 35 is a second conversion program, 36° -3T is a display/edit block, and 3B is a programming language format determination section. Agent Masuo Oiwa (2 others) Figure 1 Figure 2

Claims (1)

【特許請求の範囲】[Claims] 加ニブログラムの入力手段と、その記憶のための記憶部
を備え、前記記憶部より順次用ニブログラムを読み出し
て運転を行う数値制御装置において、プログラム言語体
系の異なる複数の加ニブログラムを併存して記憶するメ
モリと、前記プログラム言語体系の異なる加ニブログラ
ムを相互にサブプログラムとして呼び出して連続運転さ
せる手段とを備えたことを特徴とする数値制御装置。
A numerical control device comprising an input means for a Niprogram and a storage section for storing the same, and for operating by sequentially reading out Niprograms for use from the storage section, in which a plurality of Niprograms having different programming language systems are coexisted and stored. 1. A numerical control device comprising: a memory; and means for calling the computer programs of different programming language systems as subprograms and operating them continuously.
JP9027283A 1983-05-23 1983-05-23 Numerical control device Pending JPS59216207A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9027283A JPS59216207A (en) 1983-05-23 1983-05-23 Numerical control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9027283A JPS59216207A (en) 1983-05-23 1983-05-23 Numerical control device

Publications (1)

Publication Number Publication Date
JPS59216207A true JPS59216207A (en) 1984-12-06

Family

ID=13993871

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9027283A Pending JPS59216207A (en) 1983-05-23 1983-05-23 Numerical control device

Country Status (1)

Country Link
JP (1) JPS59216207A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6149209A (en) * 1984-08-17 1986-03-11 Fanuc Ltd Program execution system of numerical controller
JPS61183708A (en) * 1985-02-12 1986-08-16 Amada Metoretsukusu:Kk Registering method of nc program
JPS6462705A (en) * 1987-09-02 1989-03-09 Fanuc Ltd Cnc program executing device
JPH02210505A (en) * 1989-02-10 1990-08-21 Taniguchi Kosakusho:Kk Automatic programming device
JPH03158908A (en) * 1989-11-17 1991-07-08 Fanuc Ltd Automatic programming system in compound working machine
EP0451794A2 (en) * 1990-04-09 1991-10-16 Mitsubishi Denki Kabushiki Kaisha Numerical control unit
JPH04149707A (en) * 1990-10-15 1992-05-22 Koyou Sokushin Jigyodan Numerical control program input device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6149209A (en) * 1984-08-17 1986-03-11 Fanuc Ltd Program execution system of numerical controller
JPS61183708A (en) * 1985-02-12 1986-08-16 Amada Metoretsukusu:Kk Registering method of nc program
JPS6462705A (en) * 1987-09-02 1989-03-09 Fanuc Ltd Cnc program executing device
JPH02210505A (en) * 1989-02-10 1990-08-21 Taniguchi Kosakusho:Kk Automatic programming device
JPH03158908A (en) * 1989-11-17 1991-07-08 Fanuc Ltd Automatic programming system in compound working machine
EP0451794A2 (en) * 1990-04-09 1991-10-16 Mitsubishi Denki Kabushiki Kaisha Numerical control unit
JPH04149707A (en) * 1990-10-15 1992-05-22 Koyou Sokushin Jigyodan Numerical control program input device

Similar Documents

Publication Publication Date Title
US4564913A (en) Flexible transfer machine
JPS59216207A (en) Numerical control device
EP0179919B1 (en) Numerical control system
JPS59142613A (en) Restart controller of numerical control working
JPS58181108A (en) Numerical control system
JP2000056810A (en) Control unit for production facility and its data managing method
JP2934775B2 (en) Guidance system using operation history
JPS63149705A (en) Nc data forming device
US3913073A (en) Multi-memory computer system
JPS6319007A (en) Data transfer method in numerical controller
JPS60237506A (en) File control method
JPS62168229A (en) Automatic recognizing system for system constitution
JPS6051955A (en) Numerical control device
JPS61248107A (en) Operation system for large capacity part program in numerical controller
JPH06168074A (en) Common ionput/output device
JP2692141B2 (en) Sequence controller
JPS63184109A (en) Numerical controller
JPH05123934A (en) Tool management device in machine tool
JPS6231427A (en) Storing and retrieving device for production control information
JPS5849898B2 (en) Sequence controller monitor device
JPH01180048A (en) Information processing system by data driving process
JPH0836569A (en) File edition processor
JPS62226309A (en) Write system for rom cassette in programmable machine controller
JPS61183708A (en) Registering method of nc program
JPH01320547A (en) Program execution information collecting system