JPS6129909A - Numerical controller - Google Patents

Numerical controller

Info

Publication number
JPS6129909A
JPS6129909A JP15228384A JP15228384A JPS6129909A JP S6129909 A JPS6129909 A JP S6129909A JP 15228384 A JP15228384 A JP 15228384A JP 15228384 A JP15228384 A JP 15228384A JP S6129909 A JPS6129909 A JP S6129909A
Authority
JP
Japan
Prior art keywords
program
data memory
numerical control
data
control device
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
JP15228384A
Other languages
Japanese (ja)
Inventor
Toshio Yoshida
利夫 吉田
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 JP15228384A priority Critical patent/JPS6129909A/en
Publication of JPS6129909A publication Critical patent/JPS6129909A/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/4093Numerical 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 part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine
    • 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/35287Verify, check program by drawing, display part, testpiece
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Geometry (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)

Abstract

PURPOSE:To operate the titled device by operating the moving amount of a machine based on an instruction of a data in an intermediate data memory and driving the machine in response to the moving amount so as to input directly a part program. CONSTITUTION:When the part program programmed by using an automatic program language is inputted from a key input section 6, the part program is converted into a program data possible for decoding by the device with an automatic program reading/decoding section 7 and stored in an intermediate data memory 8. An operation execution section 9 reads a program data of the memory 8, operates the result and a table of moving amounts DELTAX, DELTAY, DELTAZ of each axis of the machine tool is generated in a moving command data memory 10. Motors 5x, 5y, 5z of each axis are driven based on the moving amount DELTAX, DELTAY,DELTAZ by a drive section 11 and the machine tool is operated. On the other hand, the moving amounts DELTAX, DELTAY, DELTAZ are displayed on a CRT device 14.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は数値制御装置に係り、特に自動プログラム言語
を直接入力して実行できる数値制御装置に関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a numerical control device, and more particularly to a numerical control device that can directly input and execute an automatic programming language.

〔従来技術〕[Prior art]

従来、数値制御装置により工作機械を制御して各種作業
を行なわせるには、第1図(a)ないしくb)に示すよ
うに行なわれていた。同図において、1は数値制御装置
、2は自動プログラミング−装置である。従来の数値制
御装置1は一般に該装置で解読可能な加ニブログラムの
プログラムデータを読込んで工作機械の各軸の移動量を
算出し、上記工作機械を制御していた。上記加ニブログ
ラムは、工作物の形状、工作機械の各軸回転数、送り速
度等加工に必要なすべての情報をEiAフォーマント等
のある決まった規則に従って紙テープに穿孔した穿孔テ
ープ3により数値制御装置1に入力される。上記加ニブ
ログラムのプログラミングは、加工する形状が比較的簡
単なときには手計算によって穿孔テープ3を作ることが
できるが、複雑な形状、特に三次元形状になると工具経
路等の計算は手計算では処理できなくなるので図示した
自動プログラミング装置2が用いられている。
Conventionally, a numerical control device has been used to control a machine tool to perform various operations as shown in FIGS. 1(a) and 1(b). In the figure, 1 is a numerical control device, and 2 is an automatic programming device. The conventional numerical control device 1 generally controls the machine tool by reading the program data of a computer program that can be read by the device, calculating the amount of movement of each axis of the machine tool. The above-mentioned Niprogram is a numerical control system that uses a perforated tape 3 that is perforated in paper tape according to a certain rule such as the EiA formant to obtain all the information necessary for machining, such as the shape of the workpiece, the rotational speed of each axis of the machine tool, and the feed rate. 1 is input. When programming the above-mentioned carnivorous program, the perforated tape 3 can be created by manual calculation when the shape to be machined is relatively simple, but when the shape is complex, especially a three-dimensional shape, calculations such as the tool path cannot be handled by manual calculation. Therefore, the illustrated automatic programming device 2 is used.

上記自動プログラミング装置2は工作物の形状、工作手
順等を組合わせた簡略な形で記述できるA P T (
Automatically Programmed 
Tool )言語等の自動プログラム言語でプログラミ
ングされたパートプログラムを加ニブログラムに変換′
して穿孔テープ3を作成する。そして、上記穿孔テープ
3が数値制御装置1内の図示しないテープ読取り装置に
より読取られて、工作機械の各軸の移動量が算出され、
工作機械が制御されている。第1図(b)は穿孔テープ
3を作成しないで、自動プログラミング装置2と数値制
御装置1をR3232C規格のインターフェース等によ
り接続して第1図(a)と同様に制御されている。
The automatic programming device 2 is an APT (
Automatically Programmed
Convert part programs programmed in automatic programming languages such as Tool ) languages into Canadian programs'
Then, a perforated tape 3 is prepared. Then, the perforated tape 3 is read by a tape reading device (not shown) in the numerical control device 1, and the amount of movement of each axis of the machine tool is calculated.
The machine tool is being controlled. In FIG. 1(b), the perforated tape 3 is not created, but the automatic programming device 2 and the numerical control device 1 are connected by an interface of the R3232C standard, and the same control as in FIG. 1(a) is performed.

しかしながら、上記従来の数値制御装置1によれば、自
動プログラム言語によるパートプログラムを自動プログ
ラミング装置2により一旦数値制御装置1で解読可能な
EiAフォーマット等の低レベルの言語に翻訳しなけれ
ばならない為、処理装置が2台必要となって高価となる
とともにその翻訳及びテープ穿孔等に時間を要するとい
う欠点があった。また、プログラムミスが生じた場合に
は、加ニブログラムのプログラムデータから逆に自動プ
ログラム言語で記述されたパートプログラムに直して手
直ししなければならず、プログラムミスの修正が困難で
あるといった欠点を有していた。
However, according to the conventional numerical control device 1, the part program written in the automatic programming language must be translated by the automatic programming device 2 into a low-level language such as EiA format that can be read by the numerical control device 1. This method requires two processing devices, which is expensive, and requires time for translation, tape punching, etc. In addition, if a programming error occurs, the program data of the Canadian program must be changed to a part program written in an automatic programming language, which has the disadvantage that it is difficult to correct the programming error. Was.

〔発明の概要〕[Summary of the invention]

本発明は、入力部よりパートプログラムの形式で入力さ
れたデータを数値制御装置で解読可能なプログラムに変
換する変換手段と、当該変換手段からのデータを格納す
る中間データメモリと、当該中間データメモリの内容を
表示する表示手段とを備え、上記中間データメモリのデ
ータの命令にもとづき機械の移動量を演算する演算実行
部と、上記演算実行部により演算された移動量に対応し
て機械を駆動する駆動部を備えることにより上記欠点を
除去するものであり、以下実施例を用いて詳細に説明す
る。
The present invention provides a converting means for converting data input in the form of a part program from an input section into a program that can be read by a numerical control device, an intermediate data memory for storing data from the converting means, and an intermediate data memory for storing data from the converting means. a display means for displaying the contents of the data, an arithmetic execution unit that calculates the amount of movement of the machine based on the instructions of the data in the intermediate data memory, and a calculation execution unit that drives the machine in accordance with the amount of movement calculated by the arithmetic execution unit. The above-mentioned drawbacks are eliminated by providing a drive section that does this, and will be explained in detail below using examples.

〔発明の実施例〕[Embodiments of the invention]

第2図は本発明による数値制御装置の一実施例を示すブ
ロック図である。同図において、4は数値制御装置、5
x、5y、5zは上記数値制御装置1に制御されて図示
しない工作機械を駆動する各軸モーフである。数値制御
装置4は、その入力部としてのキー人力部6と上記キー
人力部6よりパートプログラムの形式で入力されたデー
タを本装置で解読可能なプログラムに変換する変換手段
としての自動プログラム読取・解釈部7と、変換された
プログラムデータを格納する中間データメモリ8が設け
られている。また、9は上記中間データメモリ8のデー
タの命令にもとづき工作機械の各軸の移動量を演算する
演算実行部、10は上記演算実行部9により演算された
工作機械の各軸の移動量(△X、△Y、△Z)を格納す
る移動指令データメモリ、11は上記移動指令データメ
モリ10に格納された各移動量(△X、△Y、△Z)に
もとづき各軸モータ5x、5y、5zを駆動する駆動部
である。一方、12は上記各メモリ8゜10に格納され
たデータの内容を表示する表示手段であり、表示処理部
13及びCRT装置14より成っている。以上のように
本実施例による数値制御装置4は6〜14により構成さ
れている。
FIG. 2 is a block diagram showing an embodiment of the numerical control device according to the present invention. In the figure, 4 is a numerical control device;
x, 5y, and 5z are axis morphs that are controlled by the numerical control device 1 and drive a machine tool (not shown). The numerical control device 4 has a key power section 6 as its input section and an automatic program reading/reading system as a conversion means for converting data input from the key power section 6 in the form of a part program into a program that can be read by the device. An interpreter 7 and an intermediate data memory 8 for storing converted program data are provided. Further, numeral 9 denotes an arithmetic execution unit that calculates the amount of movement of each axis of the machine tool based on the instructions of the data in the intermediate data memory 8, and numeral 10 denotes the amount of movement of each axis of the machine tool calculated by the arithmetic execution unit 9 ( △X, △Y, △Z) is stored in a movement command data memory 11, each axis motor 5x, 5y is controlled based on each movement amount (△X, △Y, △Z) stored in the movement command data memory 10. , 5z. On the other hand, 12 is a display means for displaying the contents of the data stored in each of the memories 8 and 10, and is composed of a display processing section 13 and a CRT device 14. As described above, the numerical control device 4 according to this embodiment is composed of 6 to 14.

次に以上のように構成された本実施例の動作について説
明する。操作者がキー人力部6より、自動プログラム言
語を用いてプログラミングされたパートプログラムを入
力すると、上記パートプログラムは自動プログラム読取
・解釈部7により本装置で解読可能なプログラムデータ
に変換されて中間データメモリ8に格納される。演算実
行部9は上記中間データメモリ8に格納されたプログラ
ムデータを読み出して演算し、工作機械の各軸の移動量
(△X、△Y、△Z)のテーブルを移動指令データメモ
リ10内に作成する。そして駆動部11により上記各移
動量(△X、△Y、△Z)にもとづき各軸モータ5x、
5y、5zが駆動されて、図示しない工作機械が作動さ
れる。一方、CRT装置14には中間データメモリ8に
格納されたプログラムデータまたは移動指令データメモ
リ10に格納された工作機械の各軸の移動量(△X。
Next, the operation of this embodiment configured as above will be explained. When the operator inputs a part program programmed using an automatic programming language from the key human power unit 6, the part program is converted by the automatic program reading/interpretation unit 7 into program data that can be read by this device, and is converted into intermediate data. It is stored in memory 8. The calculation execution unit 9 reads out the program data stored in the intermediate data memory 8, performs calculations, and stores a table of movement amounts (△X, △Y, △Z) of each axis of the machine tool in the movement command data memory 10. create. Then, the drive unit 11 drives each axis motor 5x,
5y and 5z are driven to operate a machine tool (not shown). On the other hand, the CRT device 14 stores the program data stored in the intermediate data memory 8 or the movement amount (ΔX) of each axis of the machine tool stored in the movement command data memory 10.

△Y、△Z)が表示される。△Y, △Z) are displayed.

従って本実施例によれば、自動プログラム言語で記述さ
れたパートプログラムを直接入力して本装置を作動させ
ることができるので、従来例における自動プログラミン
グ装置が不要となるとともに処理時間が短縮され、また
中間データメモリ8及び移動指令データメモリ10の内
容をCRT装置に表示し、キー人力部6よりデータの修
正ができるのでプログラムミスが容易に修正できる。
Therefore, according to this embodiment, the device can be operated by directly inputting a part program written in an automatic programming language, which eliminates the need for an automatic programming device in the conventional example, shortens processing time, and The contents of the intermediate data memory 8 and the movement command data memory 10 are displayed on the CRT device, and the data can be corrected using the key manual section 6, so that programming errors can be easily corrected.

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

以上説明したように、本発明による数値制御装置によれ
ば、入力部よりパートプログラムの形式で入力されたデ
ータを数値制御装置で解読可能なプログラムに変換する
変換手段と、当該変換手段からのデータを格納する中間
データメモリと、当該中間データメモリの内容を表示す
る表示手段とを備え、上記中間データメモリのデータの
命令にもとづき機械の移動量を演算する演算実行部と、
上記演算実行部により演算された移動量に対応して機械
を駆動する駆動部を備えたことにより、パートプログラ
ムを直接入力して本装置を作動させることができるので
、装置が1台になって安価となるとともに処理時間が短
縮され、またプログラムミスを容易に修正することがで
きるという効果がある。
As explained above, the numerical control device according to the present invention includes a conversion means for converting data input in the form of a part program from the input section into a program that can be read by the numerical control device, and data from the conversion means. and a display means for displaying the contents of the intermediate data memory, and calculates the amount of movement of the machine based on the command of the data in the intermediate data memory;
By being equipped with a drive unit that drives the machine in accordance with the amount of movement calculated by the above-mentioned calculation execution unit, the device can be operated by directly inputting the part program, so the device can be integrated into a single unit. This has the advantage that it is inexpensive, reduces processing time, and allows programming errors to be easily corrected.

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

第1図(a)及び(b)は数値制御装置の従来例を示す
ブロック図、第2図は本発明による数値制御装置の一実
施例を示すブロック図である。 4・・・数値制御装置、5x、5y、5z・・・各軸モ
ータ、6・・・キー人力部、7・・・プログラム読取・
解釈部、8・・・中間データメモリ、9・・・演算実行
部、10・・・移動指令データメモリ、11・・・駆動
部、12・・・表示手段、13・・・表示処理部、14
・・・CRT装置。
FIGS. 1(a) and 1(b) are block diagrams showing a conventional example of a numerical control device, and FIG. 2 is a block diagram showing an embodiment of the numerical control device according to the present invention. 4... Numerical control device, 5x, 5y, 5z... Each axis motor, 6... Key human power section, 7... Program reading
Interpretation unit, 8... Intermediate data memory, 9... Calculation execution unit, 10... Movement command data memory, 11... Drive unit, 12... Display means, 13... Display processing unit, 14
...CRT device.

Claims (1)

【特許請求の範囲】[Claims] 入力部よりパートプログラムの形式で入力されたデータ
を数値制御装置で解読可能なプログラムに変換する変換
手段と、当該変換手段からのデータを格納する中間デー
タメモリと、当該中間データメモリの内容を表示する表
示手段とを備え、上記中間データメモリのデータの命令
にもとづき機械の移動量を演算する演算実行部と、上記
演算実行部により演算された移動量に対応して機械を駆
動する駆動部を備えたことを特徴とする数値制御装置。
A conversion means for converting data input in the form of a part program from an input section into a program that can be read by the numerical control device, an intermediate data memory for storing data from the conversion means, and displaying the contents of the intermediate data memory. an arithmetic execution unit that calculates the amount of movement of the machine based on the instructions of the data in the intermediate data memory; and a drive unit that drives the machine in accordance with the amount of movement calculated by the arithmetic execution unit. A numerical control device characterized by:
JP15228384A 1984-07-23 1984-07-23 Numerical controller Pending JPS6129909A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15228384A JPS6129909A (en) 1984-07-23 1984-07-23 Numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15228384A JPS6129909A (en) 1984-07-23 1984-07-23 Numerical controller

Publications (1)

Publication Number Publication Date
JPS6129909A true JPS6129909A (en) 1986-02-12

Family

ID=15537130

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15228384A Pending JPS6129909A (en) 1984-07-23 1984-07-23 Numerical controller

Country Status (1)

Country Link
JP (1) JPS6129909A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62256105A (en) * 1986-04-30 1987-11-07 Brother Ind Ltd Automatic programming device
JPS6373401A (en) * 1986-09-17 1988-04-04 Okuma Mach Works Ltd Resetting system for auxiliary function of numerical controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62256105A (en) * 1986-04-30 1987-11-07 Brother Ind Ltd Automatic programming device
JPS6373401A (en) * 1986-09-17 1988-04-04 Okuma Mach Works Ltd Resetting system for auxiliary function of numerical controller

Similar Documents

Publication Publication Date Title
EP1290517A1 (en) Method and system for controlling a machine tool with direct transfer of machining data
JP4311349B2 (en) Numerical control system
EP0597127A1 (en) Numerical control apparatus
EP0107794B1 (en) Numerical control system
JPS6129909A (en) Numerical controller
JPS58217223A (en) Numerically controlled electric discharge machine equipped with display device
JPH02310604A (en) Picture data display system
US4956765A (en) Apparatus for processing numerical control program
WO1986001618A1 (en) Method of preparing nc data
JPS61160108A (en) Working control method of numerically controlled machine tool
EP0419672A1 (en) Method of plotting tool shape
JPS62210508A (en) Numerical controller
WO1984004408A1 (en) Data input device for numerical control apparatus
JPS63148307A (en) Nc information generating device
JPH05274021A (en) Machining system
JPH0563749U (en) Numerical control device with processing time calculation function
JPS61256407A (en) Numerical controller
JP2001222306A (en) Robot controller and teaching point data preparing device
JP2730040B2 (en) How to create NC data
JPH0392907A (en) Numerical controller
JPH04252307A (en) Interactive numerical controller
JPS61168008A (en) Numerical control device
JPH03276302A (en) Pmc symbol defining system
JPH04100122A (en) Nc working program executing device
JP2730041B2 (en) How to create NC data