JPS6265104A - Generation system for numerical control program in numerical controller - Google Patents

Generation system for numerical control program in numerical controller

Info

Publication number
JPS6265104A
JPS6265104A JP20433685A JP20433685A JPS6265104A JP S6265104 A JPS6265104 A JP S6265104A JP 20433685 A JP20433685 A JP 20433685A JP 20433685 A JP20433685 A JP 20433685A JP S6265104 A JPS6265104 A JP S6265104A
Authority
JP
Japan
Prior art keywords
program
data
mode
input
tool
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
JP20433685A
Other languages
Japanese (ja)
Inventor
Shunichi Sasaki
俊一 佐々木
Keiichi Ota
大田 恵一
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 JP20433685A priority Critical patent/JPS6265104A/en
Publication of JPS6265104A publication Critical patent/JPS6265104A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To facilitate the easy operations of an operator and also to prevent the setting mistake of data by providing a program storing part to store the numerical control (NC) program supplied to a program generating part. CONSTITUTION:In case the input is required for the tool data, the original point data or parameters, etc. while a program is generated in a program generating mode, a mode switching action is carried out through a mode switching part 1. Thus the NC program so far generated is transferred to a program storing part 7 from a program generating part 2 and stored there. Then a program regenerating mode is set again after the input of the desired data. Thus the NC program under generation and stored in the part 7 is read out to the part 2 and at the same time displayed again on an interactive screen of a CRT display device 6 via a program display control part 20. Thus the procedure proceeds to the next step for the second generation of a program.

Description

【発明の詳細な説明】 (発明の技術分野) この発IIは、 CR7表示装置を共備したNC(数値
制御)装置におけるNCプログラムt′l成一過程おい
て、必要時にMCデータをも併せて人力できるNCプロ
グラム作成方式に関する。
[Detailed Description of the Invention] (Technical Field of the Invention) This invention II provides a method for generating MC data when necessary during the NC program t'l formation process in an NC (numerical control) device equipped with a CR7 display device. Concerning a method for creating NC programs that can be done manually.

(発明の技術的背景とその問題点) NC装置におけるプログラム作成過程において、  C
R7表示装置などの対話画面を用いて、対話形式でプロ
グラムの編集やデータの入力を行う対品形プログラム作
成方式が広く用いられている。
(Technical background of the invention and its problems) In the process of creating a program in an NC device, C
A product-specific program creation method is widely used in which program editing and data input are performed in an interactive manner using an interactive screen such as an R7 display device.

第3図は、このような対話形プログラム作成方式に従来
用いられている、CR7表示装置に対話プログラムを表
示する1段の一例を示すブロック構成図である。
FIG. 3 is a block diagram showing an example of one stage for displaying an interactive program on a CR7 display device, which is conventionally used in such an interactive program creation system.

同図において、モード切換部1は、プログラムの作成又
は各種データの入力ができるように、外部からの操作に
応じて、HCプログラム作成時に用いられる「プログラ
ム作成モード」 。
In the figure, the mode switching unit 1 is in a "program creation mode" used when creating an HC program in response to an external operation so that a program can be created or various data can be input.

丁JLデータ入力時に用いられるr−[具データモート
」、原点の座標イ1人力時に用いられる「原点モート」
及びNC加[に必要な各種パラメータ入力時に用いられ
る「パラメータモー゛ド」の各モートに切換え2図示し
ないキーボードのファンクションキーやデータ入カキ−
から入力される上記NCプログラムや上記NCデータを
それぞれに指令するとともに、後述するCR7表示装置
6の対話画面の表示を切換える。プログラム作成部2は
、上記「プログラム作成モード」に切換えられた時に、
上記キーボードから人力されるNCプログラムを作成し
、プログラム表示制御部20を介してCR7表示装置6
にこの人力されたNCプログラムを表示する。、I1m
j4データ設定?!63は、1−記「1几データモード
」に切換えられた時に、上記キーボードから入力される
工具の種類笠の工具データを設定し、IAデータ表示制
御部30を介してCR7表示装置6にこの入力されたt
几データを表示する。原点データ設定部4は、上記「原
点データモードJに切換えられた時に、上記キーボード
から入力される加工の基準点等の原点データを設定し、
原点データ表示制御?$40を介してCRT表示装a6
にこの入力された原点データを表示する。パラメータ設
定部5は、L−記「パラメータモード」にジノ換えられ
た時に、上記キーボードから入力される・j法。
r- [tool data mote] used when inputting JL data, origin coordinates i "origin mote" used when inputting data by one person
and switch to each mode of the "parameter mode" used when inputting various parameters necessary for NC addition.2 Press the function keys and data input keys on the keyboard (not shown).
It commands the NC program and the NC data inputted from the controller, and also switches the display of the dialog screen on the CR7 display device 6, which will be described later. When the program creation section 2 is switched to the above-mentioned "program creation mode",
Create an NC program manually from the keyboard, and send it to the CR7 display device 6 via the program display control section 20.
This manually created NC program is displayed. ,I1m
j4 data settings? ! 63 sets the tool data of the type of tool that is input from the keyboard when the mode is switched to the "1-box data mode" described in 1-, and displays this on the CR7 display device 6 via the IA data display control section 30. input t
Display the data. The origin data setting unit 4 sets the origin data such as the reference point of machining that is input from the keyboard when switching to the origin data mode J,
Origin data display control? CRT display device A6 via $40
Display this input origin data. The parameter setting section 5 is inputted from the keyboard when the mode is changed to the "parameter mode" described in L-j method.

L軸M制御、材質や切削の種類等のパラメータを、設定
し、パラメータ表示制御i ?i65 oを介してCR
7表示装置6にこの入力されたパラメータを表示するよ
うになっている。
Set parameters such as L-axis M control, material and cutting type, and control parameter display. CR via i65o
7 display device 6 displays the input parameters.

このような構成の対話プログラム作成1段を用いて、N
Cプログラムを作成する際には、まず、第4図(A)の
NCプログラム、の−・例に示すように、シーケンスN
C“N00!“〜“N2O3″で示すNCプログラムを
、  CR7表示装置に表示される画面と対話しながら
作成する。ここにおいて、シーケンスNo″N003″
、“N103″及びN2O3″のように、1几データを
入力する必要のあるステップには、その際にHOI″、
  ”HO2″及び“)103”のように、工具データ
設定指令を入力しておく、そして、上記NCプログラム
作成後、上述のようにモード切換部lにより「工具デー
タモード」に切換え、第3図(B)  CR7表示装置
6の対話画面に表示された工具データの一例にボすよう
に、上記工具データ設定指令”)IQI ”、 ”HO
2”及びHO3”・・・・・・にそれぞれ対応する工具
長補正値“10.000” 、 5.500″及び“5
.254”・・・・・・を入力し、図示しない記憶部に
記憶するようにする。これにより、上記NCプログラム
が読込まれNC加工が開始され、上記工具データ設定指
令“HOI″、HO2”及び“33”・・・・・・を読
込むと、NC波装置自動的にヒ記■具長補正値″10.
000°′、“5.500″及び”5.254”・・・
・・・を読込み、この読込んだデータに基づいてNC加
工を行うようになっている。
Using the first stage of dialogue program creation with this configuration, N
When creating a C program, first, as shown in the example of the NC program in Figure 4 (A), the sequence N
Create the NC program shown by C "N00!" to "N2O3" while interacting with the screen displayed on the CR7 display device. Here, sequence No. "N003"
, "N103" and "N2O3", when it is necessary to input one batch of data, at that time, HOI",
Input the tool data setting commands such as "HO2" and ")103", and after creating the above NC program, switch to the "tool data mode" by the mode switching unit l as described above, and as shown in FIG. (B) As shown in the example of the tool data displayed on the dialog screen of the CR7 display device 6, the above tool data setting commands “)IQI” and “HO
Tool length correction values “10.000”, 5.500” and “5” corresponding to “2” and “HO3”, respectively.
.. 254"..., and stores it in a storage section (not shown). As a result, the above NC program is read and NC machining is started, and the above tool data setting commands "HOI", HO2" and When "33"... is read, the NC wave device automatically writes "■Tool length correction value" 10.
000°', "5.500" and "5.254"...
... is read, and NC processing is performed based on this read data.

ところが、上述のようにNCプログラムの全プログラム
作成後、工具データ、原点データ又はパラメータ等のN
Cデータをそれぞれ別途入力する方式では、オペレータ
はプログラム作成時に、上記設定する必要がある各種デ
ータをその都度記憶しておかなければならず、大変な負
担になるだけでなく、設定ミスが発生しやすいという問
題点がある。特に、1述のように工具データだけならよ
いが、原点データやパラメータをも設定することになり
、しかもその点数が多くなるとさらにオペレータに対す
る負担と設定ミスが多くなるという問題点があった。
However, as mentioned above, after creating all the NC programs, the tool data, origin data, parameters, etc.
In the method of inputting C data separately, the operator has to memorize the various data that need to be set each time when creating a program, which not only puts a heavy burden on the operator but also increases the risk of setting errors. The problem is that it is easy. In particular, as mentioned above, only the tool data is sufficient, but origin data and parameters must also be set, and if the number of points increases, there is a problem that the burden on the operator and the number of setting errors increase.

(発明の目的) この発明は上述のような苔情からなされたものであり、
この発明の目的は、NC波装置おけるNCプログラム作
成過程において、r具データ。
(Object of the invention) This invention was made from the above-mentioned passion for moss.
An object of the present invention is to use tool data in the process of creating an NC program in an NC wave device.

原点データ又はパラメータ等のデータを設定する必要が
生じた際には、モードをジノ換えて対応する谷モードの
対話画面を表示して、必要なNCデータが設定できるこ
とにより、操作性を向トさせるNC波装置プログラム作
成方式を提供することにある。
When it becomes necessary to set data such as origin data or parameters, operability is improved by changing the mode and displaying the corresponding valley mode dialogue screen, allowing you to set the necessary NC data. The object of the present invention is to provide a method for creating an NC wave device program.

(発明のJl要) この発明は、数値制御装置におけるNCプログラム作成
方式に関し、プログラム作成モードでNCプログラムを
作成し、このプログラム作成モードがFA換えられた際
にそれまでに作成された■二記プログラムを記憶し、L
記プログラム作成モードに切換えられた際に上記記憶さ
れたプログラムを読込む手段を設け、上記プログラム作
成中に、L記モードの切換え操作によりNCプログラム
の作成、又はNCデータの入力かでさるようにしたもの
である。
(Jl Essentials of the Invention) This invention relates to an NC program creation method in a numerical control device, in which an NC program is created in a program creation mode, and when this program creation mode is changed to FA, Memorize the program and
A means is provided for reading the stored program when the mode is switched to the program creation mode described above, so that during the program creation, an NC program can be created or NC data can be input by switching the mode L. This is what I did.

(発明の実施例) 第1図はこの発明を実施する手段の一例を示すブロック
構成図であり、第1図において第3図と同一・手段につ
いては同一符号を付す。
(Embodiments of the Invention) FIG. 1 is a block diagram showing an example of means for implementing the present invention, and the same reference numerals are given to the same means as in FIG. 3 in FIG.

従来の上記対話プログラム作成手段においては、)4C
プログラム作成中にモードを切換えると、それまでに作
成したNCプログラムが消滅してしまうため、上述のよ
うに全プログラム作成後モードを切換え、必要なNCデ
ータを入力するようにしていた。
In the conventional dialogue program creation means described above, )4C
If the mode is changed during program creation, the NC programs created up to that point will be erased, so the mode has been changed after all programs have been created, as described above, and the necessary NC data has been input.

そこで、この発明を実施する対話プログラム作成1にお
いては、第1図に示すように、上記プログラム作成部2
に入力されるNCプログラムを記憶するプログラム記憶
部7を設けている。すなわち、上述のように、「プログ
ラム作成モード」にてプログラム作成時に、[具データ
、原点データ又はパラメータ等を人力する必要が生じた
場合、F記モードp)換部lによりモードの切換えを操
作すると、その時点までに作成されているNCプログラ
ムが、L記プログラム作成部2からI−記プログラム記
憶部7に転送されて記憶される。そして、必要なデータ
を入力し、再度「プログラム作成モード」に9ノ換えら
れると、L記プログラム記憶部7に記憶されている上記
作成途中のNCプログラムが、1−記プログラム作成部
2に読込まれるとともに、プログラム表示制御部20を
介して11度CRT表if<装置6の対話画面に表示さ
れ、次のステップに移って再度プログラムが作成される
ことになる。ここにおいて、上記プログラム記憶部7に
記憶されるL記作成途中のNCプログラムは、新たなプ
ログラムが転送されると、それまで記憶していたプログ
ラムを自動的に書換え記憶し直すようになっている。
Therefore, in the dialogue program creation 1 for implementing the present invention, as shown in FIG.
A program storage section 7 is provided to store an NC program input to the computer. That is, as mentioned above, when creating a program in the "program creation mode", if it becomes necessary to manually enter tool data, origin data, parameters, etc., switch the mode using the switching unit l. Then, the NC program that has been created up to that point is transferred from the L program creation section 2 to the I program storage section 7 and stored therein. Then, when the necessary data is input and the mode is changed to the "program creation mode" again, the NC program that is being created and stored in the L program storage section 7 is read into the program creation section 2 (1-). At the same time, the program is displayed on the CRT table 11 times on the dialog screen of the device 6 via the program display control unit 20, and the program moves to the next step to create the program again. Here, when a new program is transferred to the NC program that is currently being created in the program storage section 7, the previously stored program is automatically rewritten and re-stored. .

このような構成の対話プログラム作LItP段を用いた
NCプログラム作成方式について、第2図(A)のNC
プログラムのm−及び第2図(B)〜(D)に示すCR
7表示装置6の対話画面に表示されたNCプログラム及
び工具データの一例を参照して以下に説明する。
Regarding the NC program creation method using the dialogue program creation LItP stage with such a configuration, the NC program creation method shown in Fig. 2 (A)
Program m- and CR shown in Figures 2 (B) to (D)
7 will be described below with reference to an example of the NC program and tool data displayed on the dialog screen of the display device 6.

L配子−ド切換部lを「プログラム作成モード」に切換
え、同図(A)に示すようなNCプログチl、を、対話
画面と対話しながら作成していく、そして、プログラム
作成中にシーケンスNC”N0O3”のように、工具デ
ータを入力する必要のあるステップには、“HOI°゛
のように、工具データ設定指令を入力し、を記モード切
換部lを「1具データモードJに切換える。そこで。
Switch the L element-do switch l to the "program creation mode" and create the NC program l as shown in the same figure (A) while interacting with the dialog screen. Then, during program creation, the sequence NC For steps that require input of tool data, such as "N0O3," enter a tool data setting command, such as "HOI°," and switch the mode switching section l to "1-tool data mode J." .Therefore.

その時点までに作成されたプログラム(ステップNo0
1〜N003)が、上述のようにプログラム記憶部7に
記憶されるとともに、L記対話画面がvJ換わる。そこ
で、第2図(B)のCR7表示装置6の対話画面に表示
された−[34データの−・例に示すように、上記工具
データ設定指令“)101”に対応する工具長補正値“
10.000”を人力して上記データ記憶部に記憶する
。そして、+si度、E記モードν」換部1を[プログ
911作成モード」に!ill換えると、1一記プログ
ラムデータ記ta部7に記憶されているL記作成途中の
プログラムが読込まれるとともに、 CR7表示装置6
の対話画面に表示され、jす度この対話画面と対話しな
がらプログラムを作成していく、そして、シーケンスN
o“旧03”のように再び工具データを人力する必要の
あるステップには、“HO2”のように、工具データ設
定指令を入力し、L記モード切換部lを「■具データモ
ードJに切換え、第2図(C)に示すように、上述のよ
うにして工具データ“5.500 ”を人力する。さら
に、同様に、シーケンスNo ”N2O3”の工具設定
指令“HO3°゛に対応して、第2図(D)に示すL具
データ“5.254 ’“を人力し、以後、k:、遠の
ような動作を繰返していけば、必要なNCデータが必要
な時に対話画面を用いて、設定できるようになる。
The program created up to that point (step No. 0)
1 to N003) are stored in the program storage unit 7 as described above, and the L dialogue screen changes to vJ. Therefore, as shown in the example of -[34 data] displayed on the dialog screen of the CR7 display device 6 in FIG. 2(B), the tool length correction value corresponding to the tool data setting command ")101" is
10.000" is manually stored in the data storage unit. Then, at +si degree, switch to E-recording mode ν" and set conversion unit 1 to [Program 911 creation mode]! In other words, the program stored in the program data storage section 7 that is currently being created is read, and the CR7 display device 6
is displayed on the dialogue screen, and the program is created while interacting with this dialogue screen every time. Then, sequence N
o For steps that require manually inputting tool data like "Old 03", input a tool data setting command like "HO2" and change the mode switching section L to "■Tool data mode J". As shown in Fig. 2 (C), the tool data "5.500" is input manually as described above.Furthermore, in the same way, the tool data "HO3°" corresponding to the tool setting command "HO3°" of the sequence No. "N2O3" is input. If you manually enter the L tool data "5.254 '" shown in Figure 2 (D) and repeat the actions like k:, far, you will be able to display the dialogue screen when you need the necessary NC data. You can use it to configure settings.

これにより、L記NCプログラムが読込まれNC加工が
開始されると、上記工具データ設定指令″HOI ” 
、“HO2”及び“HO3″・・・・・・を読込むと、
NC装置は自動的に上記工具長補正値“10.000″
、 ”5.500″及び“5.254”・・・・・・を
読込み、この読込んだデータに基づいてNC加工を行う
ようになる。
As a result, when the NC program written in L is read and NC machining is started, the above tool data setting command "HOI" is issued.
, “HO2” and “HO3”...
The NC device automatically adjusts the above tool length correction value “10.000”.
, "5.500", "5.254", etc. are read, and NC machining is performed based on the read data.

なお、上述の実施例においては、工具データの工具長補
正値の設定例について示したが、工具径補正イ1.上記
原点データ及びパラメータ等についても同様に必要な時
に入力できるようになる。
In addition, in the above-mentioned embodiment, an example of setting the tool length correction value of the tool data was shown, but tool radius correction i. Similarly, the origin data, parameters, etc. can be input when necessary.

(発明の効果) 以北のように、この発明のNCプログラム作成方式によ
れば、NC装置の対話プログラム作成過程において、工
具データ、原点データ又はパラメータ等の各種データを
入力する必要が生じた際には、モードを切換え、対話画
面上においてこのデータを入力した後、再度モードを切
換えてプログラムを作成するという動作を繰返すだけで
、全プログラムと全データをプログラム順に人力でき、
オペレータにとって操作し易く。
(Effects of the Invention) As described above, according to the NC program creation method of the present invention, when it becomes necessary to input various data such as tool data, origin data, or parameters in the process of creating an interaction program for the NC device, By simply switching the mode, inputting this data on the dialog screen, switching the mode again and creating a program, all programs and data can be manually created in the order of the program.
Easy to operate for operators.

11゜つデータの設定ミスを防ぐばかりでなく操作蒔間
を短縮できることになる。
This not only prevents data setting errors but also shortens the time required for operation.

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

第1図はこの発明を実施するための−f段を小すブロッ
ク構成図、第2図(A)及び第4図(A)はこの発明及
び従来用いられているHCプログラムの−・例を示し、
第2図(B)〜(0)はこの発11の実施例である対話
両面の表示例を示す図、第3図は従来の実施手段を示す
ブロー、り構成図、第4図(8)は従来の実施を段によ
り対話画面に表示された表示例を示す図である。 l・・・モード切換部、?・・・プログラム作成部。 3・・・工具データ設定部、4・・・原点データ設定部
、5・・・パラメータ設定部、6・・・CR1表示装置
、7・・・プログラム記憶部、2G・・・プログラム表
示制御部、30・・・工具データ表示制御部、40・・
・原点データ表示制御部、50・・・パラメータ表示制
御部。 石 2 図
FIG. 1 is a block diagram for reducing the -f stage for implementing this invention, and FIGS. 2(A) and 4(A) are examples of HC programs used in this invention and conventionally used. show,
Figures 2 (B) to (0) are diagrams showing an example of display on both sides of the dialog which is an embodiment of this system 11, Figure 3 is a block diagram showing a conventional implementation means, and Figure 4 (8). 2 is a diagram showing an example of a display displayed on an interactive screen according to a conventional implementation. l...Mode switching section,? ...Program creation department. 3... Tool data setting section, 4... Origin data setting section, 5... Parameter setting section, 6... CR1 display device, 7... Program storage section, 2G... Program display control section , 30... tool data display control section, 40...
- Origin data display control section, 50...parameter display control section. stone 2 diagram

Claims (1)

【特許請求の範囲】[Claims] プログラム作成モードでNCプログラムを作成する数値
制御装置において、前記プログラム作成モードが切換え
られた際にそれまでに作成された前記プログラムを記憶
し、前記プログラム作成モードに切換えられた際に前記
記憶されたプログラムを読込む手段を設け、前記プログ
ラム作成中に、前記モードの切換え操作によりNCプロ
グラムの作成、又はNCデータの入力ができるようにし
たことを特徴とする数値制御装置におけるNCプログラ
ム作成方式。
In a numerical control device that creates an NC program in a program creation mode, when the program creation mode is switched, the program created up to that point is stored, and when the program creation mode is switched, the stored program is stored. An NC program creation method for a numerical control device, characterized in that means for reading a program is provided, and during the program creation, an NC program can be created or NC data can be input by switching the mode.
JP20433685A 1985-09-18 1985-09-18 Generation system for numerical control program in numerical controller Pending JPS6265104A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20433685A JPS6265104A (en) 1985-09-18 1985-09-18 Generation system for numerical control program in numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20433685A JPS6265104A (en) 1985-09-18 1985-09-18 Generation system for numerical control program in numerical controller

Publications (1)

Publication Number Publication Date
JPS6265104A true JPS6265104A (en) 1987-03-24

Family

ID=16488810

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20433685A Pending JPS6265104A (en) 1985-09-18 1985-09-18 Generation system for numerical control program in numerical controller

Country Status (1)

Country Link
JP (1) JPS6265104A (en)

Similar Documents

Publication Publication Date Title
JPH03154105A (en) Nc program generating device
JPS59173804A (en) Automatic programming method
JPH10283020A (en) Programmable display device
JPH06149342A (en) Numerical controller
JPS6265104A (en) Generation system for numerical control program in numerical controller
JPH08339215A (en) Numerical controller
JPH0221320A (en) Information processor having help function including editing function
JPH01307805A (en) Working data editing device
JPS58163036A (en) Automatic numbering device
JP3283055B2 (en) Program editing device
JPH03207628A (en) Method and apparatus for editing sequence program of injection molding machine
JPH04233606A (en) Interactive numerical controller
JPS6165314A (en) Graphic display method and apparatus for computer numerical controller
JPS63282504A (en) Display system
JPS6182227A (en) Full screen data deleting system
JPH06202906A (en) Nc program editing device
JPH01191269A (en) Image controller
JPH0433010A (en) Retrieving system for machining program
JPH07234714A (en) Numerical controller
JPH02118711A (en) Data input system
JP2001067110A (en) Teaching device for robot device, method for teaching robot device and control device for robot device
JPH04111020A (en) System s/w generation supporting device
JPS6394303A (en) Arithmetic control system
JPH09162998A (en) Operation support simulator
JPH04191908A (en) Nc command data preparing method