JP2686157B2 - Numerical control device with work shape drawing function - Google Patents

Numerical control device with work shape drawing function

Info

Publication number
JP2686157B2
JP2686157B2 JP30265589A JP30265589A JP2686157B2 JP 2686157 B2 JP2686157 B2 JP 2686157B2 JP 30265589 A JP30265589 A JP 30265589A JP 30265589 A JP30265589 A JP 30265589A JP 2686157 B2 JP2686157 B2 JP 2686157B2
Authority
JP
Japan
Prior art keywords
circle
grinding wheel
workpiece
function
arc
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.)
Expired - Fee Related
Application number
JP30265589A
Other languages
Japanese (ja)
Other versions
JPH03163605A (en
Inventor
誉 藤原
Original Assignee
オ−クマ株式会社
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 オ−クマ株式会社 filed Critical オ−クマ株式会社
Priority to JP30265589A priority Critical patent/JP2686157B2/en
Publication of JPH03163605A publication Critical patent/JPH03163605A/en
Application granted granted Critical
Publication of JP2686157B2 publication Critical patent/JP2686157B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、主軸の角度位置(C軸における位置)とそ
の主軸中心軸と直交するX−C極座標面上での主軸中心
軸からの砥石車の位置(X軸における位置)とを同期制
御することにより研削加工の制御を行なうと共に、加工
物形状を描画する数値制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (Industrial field of application) The present invention relates to a grindstone from the spindle central axis on the X-C polar coordinate plane orthogonal to the angular position of the spindle (position on the C axis) and the spindle central axis. The present invention relates to a numerical control device for controlling a grinding process by synchronously controlling a position of a vehicle (position on the X-axis) and for drawing a shape of a workpiece.

(従来の技術) 従来より数値制御研削盤において研削加工する際に
は、数値制御装置の加工物形状描画機能を利用してい
る。
(Prior Art) Conventionally, when performing a grinding process in a numerical control grinding machine, a function of drawing a workpiece shape of a numerical control device is used.

第5図は、かかる従来の数値制御装置の一例を示すブ
ロック図であり、構文解釈部2は、与えられた研削用の
加工プログラム1の構文解釈を行ない、X軸とC軸の同
期制御指令データを関数発生部3に送る。関数発生部3
は、この指令データに基づいて一定の周期毎に関数発生
を行ない、X軸及びC軸の制御位置を算出する。サーボ
制御部4は、関数発生部3からこの制御位置の情報を入
力し、X軸及びC軸のサーボモータ5を制御する。研削
点算出部6は、関数発生部3より与えられたX軸及びC
軸の制御位置データ等に基づいて加工物と砥石車の接触
点(研削点)データを算出し、CRT表示制御部7に送出
する。CRT制御部7は、このデータを入力して研削点位
置をCRT8に表示する。
FIG. 5 is a block diagram showing an example of such a conventional numerical control apparatus. The syntax interpreting section 2 performs a syntax interpretation of a given machining program 1 for grinding, and a synchronous control command for the X axis and the C axis. The data is sent to the function generator 3. Function generator 3
Calculates a control position for the X-axis and C-axis by generating a function at regular intervals based on this command data. The servo control unit 4 inputs this control position information from the function generation unit 3 and controls the X-axis and C-axis servo motors 5. The grinding point calculation unit 6 uses the X-axis and C given by the function generation unit 3.
The contact point (grinding point) data between the workpiece and the grinding wheel is calculated based on the axis control position data and the like, and sent to the CRT display control unit 7. The CRT control unit 7 inputs this data and displays the grinding point position on the CRT 8.

以上のように従来の数値制御装置の加工物形状描画機
能においては、主軸の角度位置(C軸における位置)と
主軸中心軸と直交する平面上での主軸中心軸からの砥石
位置(X軸における位置)とを同期制御する関数を使用
し、関数発生毎にその角度位置と砥石位置とに基づいて
加工物と砥石車の接触点すなわち研削点を求め、その研
削点を順次表示していくことにより加工物形状を描画し
ていた。
As described above, in the workpiece shape drawing function of the conventional numerical control device, the angular position of the spindle (position on the C axis) and the grindstone position (on the X axis) on the plane orthogonal to the spindle central axis from the spindle central axis. Position) and the function to synchronously control the grinding wheel position, the contact point between the workpiece and the grinding wheel, that is, the grinding point, is calculated based on the angular position and the grinding wheel position each time the function is generated, and the grinding points are displayed sequentially. Was used to draw the shape of the workpiece.

(発明が解決しようとする課題) 上述した従来の数値制御装置の加工物形状描画機能
は、研削点が予め判っているか、または算出が容易に行
なえる場合に有効である。しかしながら、非真円形状の
加工物と砥石車との研削点は加工物の大きさ、形状、砥
石車の径により、常に一定ではなく、研削点を関数発生
毎に求めることは不可能であり、加工物形状を正しく描
画できないという問題点があった。
(Problems to be Solved by the Invention) The workpiece shape drawing function of the conventional numerical control device described above is effective when the grinding point is known in advance or can be easily calculated. However, the grinding point between the non-round work and the grinding wheel is not always constant depending on the size, shape and diameter of the grinding wheel, and it is impossible to find the grinding point for each function generation. However, there is a problem that the shape of the workpiece cannot be drawn correctly.

本発明は上述のような事情から成されたものであり、
本発明の目的は、数値制御研削盤において、研削してい
く途中の加工物形状及び研削しようとしている加工物形
状を描画することができる加工物形状描画機能を有する
数値制御装置を提供することにある。
The present invention has been made under the circumstances described above,
An object of the present invention is to provide a numerical control device having a workpiece shape drawing function capable of drawing a workpiece shape during grinding and a workpiece shape to be ground in a numerical control grinding machine. is there.

(課題を解決するための手段) 本発明は、加工物を把持した主軸の角度位置すなわち
C軸における位置と、主軸中心軸と直交するX−C極座
標面上での主軸中心軸からの砥石車の位置すなわちX軸
における位置とを同期制御して研削加工制御を行なうと
共に、前記加工物形状を描画する数値制御装置に関する
ものであり、本発明の上記目的は、前記同期制御中に行
なわれる関数発生にて得られた前記砥石車の位置X及び
前記主軸の角度位置Cを中心(動径X,偏角C)とし、工
具データとして保存されている前記砥石車径を直径とす
る円を前記X−C極座標面上に描画する砥石円作成手段
と、前記砥石円作成手段により描画する円のうち、その
円の中心(動径X,偏角C)と前記X−C極座標面上の原
点とを結ぶ線分を中心線として予め設定した中心角を有
する円弧部を選択する円弧選択手段と、前記円弧選択手
段により選択された円弧部を描画する処理を前記関数発
生毎に行なう円弧描画制御手段とを具備し、前記関数発
生毎に描画される円弧部の線群によって前記加工物形状
が形成されるようにすることによって達成される。
(Means for Solving the Problem) The present invention provides a grinding wheel from the central axis of the spindle on the X-C polar coordinate plane orthogonal to the angular position of the spindle that grips the workpiece, that is, the position on the C axis. The present invention relates to a numerical control device for synchronously controlling the position of X, that is, the position on the X-axis for grinding control and for drawing the shape of the workpiece, and the above object of the present invention is to provide a function performed during the synchronous control. The circle having the position X of the grinding wheel and the angular position C of the main shaft obtained by the generation as the center (the radius X and the declination C) and having the diameter of the grinding wheel stored as the tool data is the aforesaid A grindstone circle creating means for drawing on the X-C polar coordinate plane, and the center of the circle (radial radius X, declination C) among the circles drawn by the grindstone circle creating means and the origin on the X-C polar coordinate plane. The line segment connecting and was set as the center line in advance. An arc selecting means for selecting an arc portion having a core angle, and an arc drawing control means for performing a process of drawing the arc portion selected by the arc selecting means every time the function is generated, are drawn every time the function is generated. This is achieved by causing the workpiece shape to be formed by a line group of arcuate portions.

(作用) 本発明にあっては、砥石車と加工物の接触点が判らな
い場合にも、砥石車径を直径とする円の一部を加工物の
角度位置と砥石車の位置とに基づいてX−C極座標平面
に順次描くことにより、正しい加工物形状を描画するこ
とができる。
(Operation) In the present invention, even when the contact point between the grinding wheel and the workpiece is not known, a part of a circle having the diameter of the grinding wheel as a diameter is based on the angular position of the workpiece and the position of the grinding wheel. By sequentially drawing on the X-C polar coordinate plane, the correct workpiece shape can be drawn.

(実施例) 以下、図面に基づいて本発明の実施例について詳細に
説明する。
(Example) Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

第1図は、本発明の加工物形状描画機能を有する数値
制御装置の一例を示すブロック図であり、従来と同一箇
所は同符号を付して説明を省略する。同図において、砥
石円生成部9は、関数発生部3よりX軸及びC軸の制御
位置を入力し、この位置を中心とし、データ保存部12よ
り入力した砥石車径Dを直径とする円(砥石円)を生成
し、CRT描画制御部11にその円データを送る。CRT描画制
御部11は、その円データをCRT8に送って描画させる。ま
た、円弧生成部10は、砥石円生成部9より入力した砥石
円データX,Cとデータ保存部12より入力した角度データ
θに基づき、砥石円のうち、円の中心(X,C)とX−C
極座標面上の原点とを結ぶ線分を中心線として中心角θ
を有する円弧部を選択して円弧データを生成し、その円
弧データをCRT描画制御部11に送出する。CRT描画制御部
11は、この円弧データに基づいて、既にCRT8に描画した
砥石円よりこの円弧部を除いた部分を消去する制御を行
なう。
FIG. 1 is a block diagram showing an example of a numerical controller having a workpiece shape drawing function according to the present invention. In the figure, the grindstone circle generation unit 9 inputs a control position of the X axis and the C axis from the function generation unit 3, and a circle whose center is this position and whose diameter is the grinding wheel diameter D input from the data storage unit 12 (Grinding stone circle) is generated and the circle data is sent to the CRT drawing control unit 11. The CRT drawing control unit 11 sends the circle data to the CRT 8 to draw it. Further, the arc generation unit 10 determines the center (X, C) of the circle of the grindstone circle based on the grindstone circle data X, C input from the grindstone circle generation unit 9 and the angle data θ input from the data storage unit 12. X-C
Center angle θ with the line segment connecting the origin on the polar coordinate plane as the center line
The circular arc data is generated by selecting the circular arc portion having, and the circular arc data is sent to the CRT drawing control unit 11. CRT drawing controller
Reference numeral 11 controls, based on the arc data, to erase a portion of the grindstone circle already drawn on the CRT 8 excluding the arc portion.

第2図は、本発明の動作例を示すフローチャートであ
り、第3図(A)〜(D)は、第2図の本発明の動作例
に基づいた具体例を示す図である。先ず、CRT8画面上に
X−C極座標軸を表示する(第3図(A),ステップS
1)。次に、研削加工時の関数発生により求められた砥
石車の制御位置Xと主軸の制御位置Cを中心(動径X,偏
角C)とし、データ保存部12より入力された砥石車径D
を直径とする円をX−C極座標平面上に描画する(第3
図(B),ステップS2)。次に、この円の中心(X,C)
と極座標原点0を結ぶ線分を中心線としてある一定の角
度θを中心角とする円弧を求め(ステップS3)、ステッ
プS2で描画した円のうちこの円弧以外の部分を消去する
(第3図(C),ステップS4)。尚、この円弧の始点と
終点は、円の中心を原点とする極座標上では座標(D/2,
C+180゜−θ/2)と座標(D/2,C+180゜+θ/2)とで表
される。以上のステップS2からステップS4までの処理を
主軸角度位置と砥石車の位置とを同期制御する際の関数
発生毎に実行する(第3図(D),ステップS5)。以上
の手順により、関数発生回数に相当する個数の円弧が描
画されることになり、この一連の円弧により例えば第4
図に示すような最終的に研削されるカム形状が描画され
ることになる。尚、第4図において砥石円を表す破線及
びカム形状を示す実線は実際には描画されない。
FIG. 2 is a flow chart showing an operation example of the present invention, and FIGS. 3 (A) to (D) are diagrams showing a specific example based on the operation example of the present invention in FIG. First, the X-C polar coordinate axes are displayed on the CRT8 screen (Fig. 3 (A), step S).
1). Next, with the control position X of the grinding wheel and the control position C of the spindle determined by the function generation at the time of grinding as the center (moving radius X, declination C), the grinding wheel diameter D input from the data storage unit 12
A circle with a diameter of is drawn on the X-C polar coordinate plane (3rd
Figure (B), step S2). Next, the center of this circle (X, C)
And a polar coordinate origin 0 is used as a center line, and an arc having a certain angle θ as a center angle is obtained (step S3), and the portion other than the circle is erased from the circle drawn in step S2 (FIG. 3). (C), step S4). The start and end points of this arc are the coordinates (D / 2,
C + 180 ° -θ / 2) and coordinates (D / 2, C + 180 ° + θ / 2). The above processing from step S2 to step S4 is executed every time a function is generated when the spindle angular position and the position of the grinding wheel are synchronously controlled (FIG. 3 (D), step S5). By the above procedure, a number of circular arcs corresponding to the number of times the function is generated are drawn.
The shape of the finally ground cam as shown in the figure will be drawn. In FIG. 4, the broken line representing the grindstone circle and the solid line representing the cam shape are not actually drawn.

(発明の効果) 以上のように本発明の加工物形状描画機能を有する数
値制御装置によれば、関数発生において得られた砥石車
の中心座標と砥石車の直径に基づいて円を生成し、座標
中心方向の所定の円弧を抽出するという処理を関数発生
毎に行なうことにより、研削していく途中の加工物形状
及び研削しようとしている加工物形状を描画できるの
で、カム研削に使用するプログラムの修正を視覚的に行
なえ、かつ作業能率が向上する。
(Effect of the invention) As described above, according to the numerical control device having the workpiece shape drawing function of the present invention, a circle is generated based on the center coordinates of the grinding wheel and the diameter of the grinding wheel obtained in the function generation, By performing the process of extracting a predetermined arc in the direction of the coordinate center for each function generation, the shape of the workpiece being ground and the shape of the workpiece to be ground can be drawn. Modifications can be made visually and work efficiency is improved.

【図面の簡単な説明】 第1図は本発明の加工物形状描画機能を有する数値制御
装置の一例を示すブロック図、第2図は本発明の動作例
を示すフローチャート、第3図(A)〜(D)は第2図
の動作例に基づいた具体例を示す図、第4図は本発明に
より最終的に描画される加工物形状例を示す図、第5図
は従来の加工物形状描画機能を有する数値制御装置の一
例を示すブロック図である。 1……加工プログラム、2……構文解釈部、3……関数
発生部、4……サーボ制御部、5……サーボモータ、6
……研削点算出部、7……CRT表示制御部、8……CRT、
9……砥石円生成部、10……円弧生成部、11……CRT描
画制御部、12……データ保存部。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an example of a numerical control device having a workpiece shape drawing function of the present invention, FIG. 2 is a flowchart showing an operation example of the present invention, and FIG. 3 (A). (D) is a diagram showing a specific example based on the operation example of FIG. 2, FIG. 4 is a diagram showing an example of a workpiece shape finally drawn by the present invention, and FIG. 5 is a conventional workpiece shape. It is a block diagram showing an example of a numerical control device having a drawing function. 1 ... Machining program, 2 ... Syntax interpreting unit, 3 ... Function generating unit, 4 ... Servo control unit, 5 ... Servo motor, 6
…… Grinding point calculator, 7 …… CRT display controller, 8 …… CRT,
9 ... Grindstone circle generation unit, 10 ... Arc generation unit, 11 ... CRT drawing control unit, 12 ... Data storage unit.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】加工物を把持した主軸の角度位置すなわち
C軸における位置と、主軸中心軸と直交するX−C極座
標面上での主軸中心軸からの砥石車の位置すなわちX軸
における位置とを同期制御して研削加工制御を行なうと
共に、前記加工物形状を描画する数値制御装置におい
て、前記同期制御中に行なわれる関数発生にて得られた
前記砥石車の位置X及び前記主軸の角度位置Cを中心
(動径X,偏角C)とし、工具データとして保存されてい
る前記砥石車径を直径とする円を前記X−C極座標面上
に描画する砥石円作成手段と、前記砥石円作成手段によ
り描画する円のうち、その円の中心(動径X,偏角C)と
前記X−C極座標面上の原点とを結ぶ線分を中心線とし
て予め設定した中心角を有する円弧部を選択する円弧選
択手段と、前記円弧選択手段により選択された円弧部を
描画する処理を前記関数発生毎に行なう円弧描画制御手
段とを具備し、前記関数発生毎に描画される円弧部の線
群によって前記加工物形状が形成されるようにしたこと
を特徴とする加工物形状描画機能を有する数値制御装
置。
1. An angular position of a spindle that grips a workpiece, that is, a position on the C axis, and a position of a grinding wheel from the spindle central axis on the XC polar coordinate plane orthogonal to the spindle central axis, that is, a position on the X axis. In a numerical controller for controlling the grinding process by synchronously controlling the workpiece shape and for drawing the shape of the workpiece, the position X of the grinding wheel and the angular position of the main shaft obtained by the function generation performed during the synchronous control. A grinding wheel circle creating means for drawing on the X-C polar coordinate plane a circle having C as the center (radius X, declination C) and having the diameter of the grinding wheel wheel diameter stored as tool data, and the grinding wheel circle. Of the circle drawn by the creating means, an arc portion having a preset central angle with a line segment connecting the center of the circle (radial radius X, declination C) and the origin on the X-C polar coordinate plane as the central line. Arc selection means for selecting, and the arc selection An arc drawing control means for performing a process of drawing an arc portion selected by the means every time the function is generated, so that the workpiece shape is formed by a line group of the arc portion drawn every time the function occurs. Numerical control device having a workpiece shape drawing function characterized by the above.
JP30265589A 1989-11-21 1989-11-21 Numerical control device with work shape drawing function Expired - Fee Related JP2686157B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30265589A JP2686157B2 (en) 1989-11-21 1989-11-21 Numerical control device with work shape drawing function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30265589A JP2686157B2 (en) 1989-11-21 1989-11-21 Numerical control device with work shape drawing function

Publications (2)

Publication Number Publication Date
JPH03163605A JPH03163605A (en) 1991-07-15
JP2686157B2 true JP2686157B2 (en) 1997-12-08

Family

ID=17911601

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30265589A Expired - Fee Related JP2686157B2 (en) 1989-11-21 1989-11-21 Numerical control device with work shape drawing function

Country Status (1)

Country Link
JP (1) JP2686157B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19933796A1 (en) * 1999-07-19 2001-02-01 Huber & Grimme Bearbeitungssys Machine tool guidance system or multi-axis robot for a large number of tools

Also Published As

Publication number Publication date
JPH03163605A (en) 1991-07-15

Similar Documents

Publication Publication Date Title
US7734358B2 (en) Data processing apparatus for arc welding
US6597142B2 (en) Apparatus and method for setting control parameters of machining apparatus
JP2686157B2 (en) Numerical control device with work shape drawing function
JP2005520700A (en) This application claims priority to US Provisional Application No. 60 / 365,395, filed 18 March 2002.
JPH09244722A (en) Teaching data generation method for industrial robot, teaching data generation device for industrial robot and industrial robot system
JPH0731534B2 (en) How to create an offset shape
JPH09254062A (en) Posture determining method and posture determining device of industrial robot
JP3084287B2 (en) Processing data creation device
JP4429412B2 (en) Corner grinding method and grinding machine considering shoulder R of grinding wheel
JP2973196B2 (en) Grinding method for non-round workpieces
JP2663931B2 (en) Graphic display method of numerical controller
JP2780446B2 (en) Electric discharge machine
JP2704124B2 (en) Wire electric discharge machining method and apparatus
JP3471644B2 (en) Control device for area machining operation
JPH06230817A (en) Method for shifting working position rotating program
JP2711292B2 (en) Method and apparatus for displaying coordinate position of electric discharge machine
JPH08194514A (en) Graphic display device for numerically controlled grinding machine having rotary shaft
JP2698977B2 (en) Program creation method and program data input device
JP2000250615A (en) Work position control method for machine tool
JPS61188075A (en) Grinding control method
JPH05250024A (en) Nc program preparing method
JPH0790445B2 (en) Machine Tools
WO1990008990A1 (en) Preparation method of machining program of cylindrical groove shape
JPS63250709A (en) Method for determining cutting direction
JPH02145237A (en) Working method for contour shape

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees