JPS5998204A - Numerical controller - Google Patents

Numerical controller

Info

Publication number
JPS5998204A
JPS5998204A JP57207246A JP20724682A JPS5998204A JP S5998204 A JPS5998204 A JP S5998204A JP 57207246 A JP57207246 A JP 57207246A JP 20724682 A JP20724682 A JP 20724682A JP S5998204 A JPS5998204 A JP S5998204A
Authority
JP
Japan
Prior art keywords
point
indirect
programs
format
direct
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
JP57207246A
Other languages
Japanese (ja)
Inventor
Akio Tawada
多和田 章夫
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP57207246A priority Critical patent/JPS5998204A/en
Publication of JPS5998204A publication Critical patent/JPS5998204A/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
    • 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 reduce considerably the labor required for program generation by adding a classifying device and an indirect/direct converter and providing a function which can process not only working programs of a direct designation form but also working programs of an indirect designation form. CONSTITUTION:Working programs are inputted to an input device 2 in a form of a paper tape 1 or the like and are stored in a memory A 3a. Working programs stored in this memory A 3a are classified to programs of the direct designation form and those of the indirect designation form by a classifying device 6. Programs of the indirect designation form are converted to programs of the direct designation form by an indirec/direct converter 7. Working programs of the direct designation form are stored in a memory B 3b and are given to an operation processing device 4. Devices 6 and 7 can be constituted by incorporating private hardware or can be processed with software by microcomputers.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明はマイクロコンピュータおよびメモリを内蔵した
数値制御装置(No)に係り、特に間接指定形式の加工
用プログラムを処理する機能を持った数値制御装置に関
する。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention relates to a numerical control device (No.) having a built-in microcomputer and memory, and particularly to a numerical control device (No.) having a function of processing a machining program in an indirect specification format. Regarding.

〔発明の技術的背景〕[Technical background of the invention]

第1図を参照して従来装置の一構成例を説明する。紙テ
ープ1等の形で加工用プログラムは入力装置コに入力さ
れる。ここで、工作機械の1つの移動指令には必ず終点
の座標データが必要であり、その指令方式にはアブソリ
ュート指令(絶対値指令)とインクリメンタル指令C差
分値指令)とがある。入力装置コに入力された加工用プ
ログラムはメモリ3に記憶され、演算処理装置ダで順に
演算処理される。演算処理装置ダは加工用プログラムを
演算処理して得られた操作指令によりサーボ装置jの動
作を制御する。
An example of the configuration of a conventional device will be described with reference to FIG. A processing program in the form of a paper tape 1 or the like is input to an input device. Here, one movement command of a machine tool always requires coordinate data of an end point, and the command methods include an absolute command (absolute value command) and an incremental command (difference value command). The machining program inputted to the input device is stored in the memory 3, and sequentially processed by the arithmetic processing device. The arithmetic processing unit d controls the operation of the servo device j based on operation commands obtained by arithmetic processing of the machining program.

第2図および第3図を参照して第1図に示す従来装置の
動作を説明する。第2図は工作機械を点Aから点Bに直
線移動させる様子を説明する図で、点Aと点Bはx−y
座標軸平面においてそれぞれ(X a * 7 a) 
a (x、。、7 b)の座標にあ1す、その差はΔX
、Δyであるとする。第2図に示す操作をアブソリュー
ト指令の形式でE工A規準にもとづいてプログラムする
と、フォーマットは()o、  XxC,Yyb OR となる。また、インクリメンタル指令の形式によると、
フォー1ツトは Go、  XA   YJy OF+ となる。但し、GOIは工作機械を直線移動させる指令
コード、ORは一指令の区切り記号であるとする。この
ように、加工用プログラムで、終点の座標もしくは差分
値を直接に指定(直接指定形式)すると、工作機械を操
作して被加工物を所望の形状に加工することができる。
The operation of the conventional device shown in FIG. 1 will be explained with reference to FIGS. 2 and 3. Figure 2 is a diagram explaining how to move the machine tool in a straight line from point A to point B. Point A and point B are x-y.
(X a * 7 a) respectively in the coordinate axis plane
Add to the coordinates of a (x, ., 7 b), the difference is ΔX
, Δy. When the operation shown in Fig. 2 is programmed in the form of an absolute command based on the E/A standard, the format will be ()o, XxC, Yyb OR. Also, according to the format of the incremental directive:
The first strike is Go, XA YJy OF+. However, it is assumed that GOI is a command code for moving the machine tool in a straight line, and OR is a delimiter for one command. In this way, by directly specifying the coordinates or difference value of the end point in the machining program (direct specification format), the workpiece can be machined into the desired shape by operating the machine tool.

第3図は、工作機械によって平板を点Aから点T 、r
 T2  J D r K a T S  I T4 
 a Aへと順次切断していく様子を説明する図で、点
T、は直線A−Bと半径r、の円との接点、点T、は直
線B−Dと半径r、の円との接点、点り、Eは直線B−
0−Fと点0の中心とする半径r1の円との接点、点T
3は直線E−Fと半径r3の円との接点、点T4は直線
A−Fと半径r3の円との接点であるとする。このよう
な操作を従来装置において実現するためには、アブソリ
ュート指令の形式のプログラムにおいては点Tl  a
 T2  * D # E a TB  aT4 、A
の座標を直接に指定する必要があり、インクリメンタル
指令の形式のプログラムにおいてはそれらの差分を直接
に指定する必要がある。
Figure 3 shows how a flat plate is moved from point A to point T, r by a machine tool.
T2 J Dr Ka T S I T4
a This is a diagram explaining how to sequentially cut to A. Point T is the point of contact between straight line A-B and the circle with radius r, and point T is the point of contact between straight line B-D and the circle with radius r. Contact point, point, E is straight line B-
The point of contact between 0-F and the circle with radius r1 centered at point 0, point T
3 is a point of contact between straight line EF and a circle with radius r3, and point T4 is a point of contact between straight line A-F and a circle with radius r3. In order to realize such an operation in a conventional device, in a program in the form of an absolute command, the point Tl a
T2 * D # E a TB aT4 , A
It is necessary to directly specify the coordinates of , and in an incremental command format program, it is necessary to directly specify the difference between them.

〔背景技術の問題点〕[Problems with background technology]

ところが、点Tl  * Ttr D 、 E −TB
  、 T4は直線と円の交点あるいは接点であるため
、その座標を求めるためには連立二次方程式を解く必要
がある。そのため、直接指定形式によると加工用プログ
ラムの作成に多大の時間を要し、計算誤差を招くことも
多かった。また、この計算に計算機を用いると、図形デ
ータの作成に手間がかかったり、計算機のターンアラワ
ンドタイム分だけ処理が遅れるなどの欠点があった。
However, the point Tl * Ttr D , E - TB
, T4 is the intersection or tangent point of the straight line and the circle, so it is necessary to solve simultaneous quadratic equations to find its coordinates. Therefore, using the direct specification format requires a lot of time to create a machining program and often causes calculation errors. Furthermore, when a computer is used for this calculation, there are drawbacks such as the creation of graphic data being time consuming and the processing being delayed by the turnaround time of the computer.

〔発明の目的〕[Purpose of the invention]

本発明は上述の従来技術の欠点に鑑みてなされたもので
、加工用プログラムの作成を容易にすることのできる数
値制御装置を提供することを目的とする。
The present invention has been made in view of the above-mentioned drawbacks of the prior art, and an object of the present invention is to provide a numerical control device that can facilitate the creation of machining programs.

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

上記の目的を実現するため本発明は、従来装置に分別装
置および間接/直接変換器を設け、直接指定形式の加工
用プログラムのみならず間接指定形式のプログラムをも
処理できる機能を持った数値制御装置を提供するもので
ある。
In order to achieve the above object, the present invention provides a conventional device with a sorting device and an indirect/direct converter, and provides a numerical control system capable of processing not only directly designated format machining programs but also indirect designated format programs. It provides equipment.

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

第4図乃至第6図を参照して本発明の一実施例を説明す
る。第4図は一実施例のブロック図で、第1図と同一の
要素は同一の符号で示す。メモリA、?aに記憶された
加工用プログラムを直接指定形式のものと間接指定形式
のものに分別する分別装置6を設ける。間接指定形式の
ものは間接/直接変換器7で直接指定形式に変換する。
An embodiment of the present invention will be described with reference to FIGS. 4 to 6. FIG. 4 is a block diagram of one embodiment, in which the same elements as in FIG. 1 are designated by the same reference numerals. Memory A? A sorting device 6 is provided for sorting the machining programs stored in a into direct specification format and indirect specification format. The indirect specification format is converted into the direct specification format by the indirect/direct converter 7.

メモリB3bは直接指定形式の加工用プログラムを記憶
し、組み込んで構成することができるが、マイクロコン
ピュータによりソフトウヱア処理さぜる構成とすること
も可能である。
The memory B3b can be constructed by directly storing and incorporating a processing program in a specified format, but it can also be constructed so that software processing is performed by a microcomputer.

次に、第S図を参照して第1図に示す一実施例の動作を
説明する。工作機械を第S図に示すごとく点Sから点P
1、点Eへと操作させるためには、加工用プログラムの
フォーマットは間接指定形式によって次のようにするこ
とができる。
Next, the operation of the embodiment shown in FIG. 1 will be explained with reference to FIG. Move the machine tool from point S to point P as shown in Figure S.
1. In order to operate to point E, the format of the processing program can be changed as follows using the indirect specification format.

点Sから点P1まではGOITLOR 点P1から点Eまでは Gos  Rr  Ixc  Jyc  Xxe  Y
ye  C!R但し、()oxは右回転の円弧移動の指
令コード、TLは円中心の左側における直線と円弧の接
点を示すコマンドである。
From point S to point P1 is GOITLOR From point P1 to point E is Gos Rr Ixc Jyc Xxe Y
Yeah C! R, however, ()ox is a command code for clockwise circular arc movement, and TL is a command indicating the point of contact between the straight line and the circular arc on the left side of the center of the circle.

点Sから点P2、点Eへと操作させるためのフォーマッ
トは次のようになる。
The format for operating from point S to point P2 to point E is as follows.

点Sから点P、までは Gos  Xx’f  Yyf  P10R点P2から
点Eまでは Gos  Rr  Ii  Jj  Xxe  Yye
  OR但し、C)。3は左回転の円弧移動の指令コー
ドである。
From point S to point P, Gos Xx'f Yyf P10R From point P2 to point E, Gos Rr Ii Jj Xxe Yye
ORHowever, C). 3 is a command code for counterclockwise circular arc movement.

上記の如き間接指定形式の加工用プログラムは分別装置
6で分別されて間接/直接変換器7に与えられる。間接
/直接変換器7は加工用プログラムを直接指定形式に変
換する。第S図の操作例は直線と円の関係についてのも
のであるが、直線と直線、円と円など種りのものに応用
することができる。
The processing program in the indirect designation format as described above is separated by a sorting device 6 and is provided to an indirect/direct converter 7. The indirect/direct converter 7 directly converts the processing program into a specified format. Although the operation example shown in Fig. S concerns the relationship between straight lines and circles, it can be applied to other types of relationships such as between straight lines and circles, and between circles.

ここで、第7図に示す一実施例によって第3図に示すよ
うに工作機械で平板を切断する場合には、加工用プログ
ラムは次のように直接指定形式のものと間接指定形式の
ものを混在させたものとなる・但し、点A、B、O,F
の座標を(2to、、10)、(10,に)、(//θ
、 /2θ)、(2to、22o)とし、rl  、r
2  、r3の値を!;0 、10 、10とする。
Here, when cutting a flat plate with a machine tool as shown in FIG. 3 using the embodiment shown in FIG. It will be a mixture. However, points A, B, O, F
The coordinates of (2to,,10), (10,to), (//θ
, /2θ), (2to, 22o), rl , r
2, the value of r3! ;0, 10, 10.

点Aから点T、までは Go、  X10  Y、20TCOR点T、から点T
、までは ()o、  R/□  TOOR 点T、かう点りまでは Go+  X2/θ ’(220’p1CI(ADから
点Eまでは Go、  ftJOI/10  J/20  P2CR
点Eから点T、までは Go、  X10  Y、26 Xコ10  Y2IO
IC(1!l’を点T8から点T4までは Go2R/(1;)  ICCAR 点T番から点Atでは TO,X210  Y2OCR(直接指定形式)〔発明
の効果〕 上述の如く本発明によれば、従来装置に分別装置および
間接/直接変換器を設けることによって間接指定形式の
加工用プログラムによっても工作機械を操作することが
できるので、プログラム作成に要する労力を著しく軽減
させることのできる数値制御装置を得ることができる。
From point A to point T, Go, X10 Y, 20TCOR point T, to point T
, up to ()o, R/□ TOOR point T, up to that point Go+
From point E to point T, Go, X10 Y, 26 Xko10 Y2IO
IC (1! l' from point T8 to point T4 is Go2R/(1;) ICCAR From point T to point At, TO, X210 Y2OCR (direct specification format) [Effect of the invention] As described above, according to the present invention By adding a sorting device and an indirect/direct converter to a conventional device, the machine tool can be operated using an indirect specified processing program, thereby significantly reducing the effort required to create a program. can be obtained.

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

第1図は従来装置の一物成例のブロック図、第2図およ
び第3図は第1図に示す一実施filの動作を説明する
グラフ、第q図は本発明の一実施例のブロック図、第3
図は第q図σ)−実施俳1の動作を説明するグラフであ
る。
FIG. 1 is a block diagram of an example of a conventional device, FIGS. 2 and 3 are graphs explaining the operation of one embodiment shown in FIG. 1, and FIG. q is a block diagram of an embodiment of the present invention. Figure, 3rd
The figure is a graph illustrating the operation of Fig. q σ)-Execution Section 1.

Claims (1)

【特許請求の範囲】 外部から入力される加工用プログラムを記憶するメモリ
と、前記加工用プログラムにもとづき操作指令を発する
演算処理装置とを備え、前記操作指令によって工作機械
の動作を制御する数値制御装置において、 前記加工用プログラムを直接指定形式のものと間接指定
形式のものとに分別する分別装置と、前記間接指定形式
の加工用プログラムを直接指定形式のものに変換する間
接/直接変換器とを備え、前記演算処理装置は前記分別
装置で分別された前記直接指定形式の加工用プログラム
と前記間接/直接変換器で直接指定形式に変換された加
工用プログラムにもとづいて前記操作指令を発すること
を特徴とする数値制御装置。
[Scope of Claims] A numerical control system that includes a memory that stores a machining program input from the outside, and an arithmetic processing unit that issues operation commands based on the machining program, and that controls the operation of a machine tool based on the operation commands. The apparatus includes a sorting device that separates the processing program into a directly designated format and an indirectly designated format, and an indirect/direct converter that converts the indirectly designated format processing program into a directly designated format. and the arithmetic processing unit issues the operation command based on the processing program in the directly specified format separated by the sorting device and the processing program converted into the directly specified format by the indirect/direct converter. A numerical control device featuring:
JP57207246A 1982-11-26 1982-11-26 Numerical controller Pending JPS5998204A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57207246A JPS5998204A (en) 1982-11-26 1982-11-26 Numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57207246A JPS5998204A (en) 1982-11-26 1982-11-26 Numerical controller

Publications (1)

Publication Number Publication Date
JPS5998204A true JPS5998204A (en) 1984-06-06

Family

ID=16536628

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57207246A Pending JPS5998204A (en) 1982-11-26 1982-11-26 Numerical controller

Country Status (1)

Country Link
JP (1) JPS5998204A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61175803A (en) * 1985-01-31 1986-08-07 Yamazaki Mazak Corp Numerical controller
JPS62152007A (en) * 1985-12-26 1987-07-07 Fanuc Ltd Numerical controller for high-speed working

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61175803A (en) * 1985-01-31 1986-08-07 Yamazaki Mazak Corp Numerical controller
JPS62152007A (en) * 1985-12-26 1987-07-07 Fanuc Ltd Numerical controller for high-speed working
JPH0555882B2 (en) * 1985-12-26 1993-08-18 Fanuc Ltd

Similar Documents

Publication Publication Date Title
EP0529239B1 (en) Numerical control unit with position counter control and display
JPS5998204A (en) Numerical controller
JPH0421203B2 (en)
JPS60191305A (en) Numerical controller
JPH10240330A (en) Numerical controller
JPH04271406A (en) Working data generation method for five-axis machining center
GB1235555A (en) Improvements in or relating to numerical control systems
US20230185272A1 (en) Program analyzer and control system
JPS60101606A (en) Automatic robot operation system
JP2581535B2 (en) Machine tool coordinate system setting device
JPS62293312A (en) Numerical controller
JPS6359604A (en) Method for changing working route in numerical controller
JP2841364B2 (en) Processing device positioning method
JP2002154034A (en) Method of setting blade edge position of tool in machine tool
JPH03164907A (en) Input system for end face shape data
JPH05346814A (en) Three-dimensional machining method
JPS6217804A (en) Numerical control method for machine tool
JPH0675618A (en) Numerical controller with machining interrupting function
JPH02101507A (en) Work controller
JPH0271987A (en) Indexing method for installation position of robot
JPH04157505A (en) Method for commanding oblique surface working
WO1994017460A1 (en) Method for writing machining program
JPH0736526A (en) Numerical controller
JPH03156506A (en) Nc program generating method for interactive numerical controller or automatic programming device
JPH0245808A (en) Plane control method in nc working machine tool