JPS6235123B2 - - Google Patents

Info

Publication number
JPS6235123B2
JPS6235123B2 JP13281880A JP13281880A JPS6235123B2 JP S6235123 B2 JPS6235123 B2 JP S6235123B2 JP 13281880 A JP13281880 A JP 13281880A JP 13281880 A JP13281880 A JP 13281880A JP S6235123 B2 JPS6235123 B2 JP S6235123B2
Authority
JP
Japan
Prior art keywords
axis
movement
command
section
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.)
Expired
Application number
JP13281880A
Other languages
Japanese (ja)
Other versions
JPS5759205A (en
Inventor
Terukazu Kito
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP13281880A priority Critical patent/JPS5759205A/en
Publication of JPS5759205A publication Critical patent/JPS5759205A/en
Publication of JPS6235123B2 publication Critical patent/JPS6235123B2/ja
Granted 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/416Numerical 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 control of velocity, acceleration or deceleration
    • G05B19/4166Controlling feed or in-feed
    • 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/50Machine tool, machine tool null till machine tool work handling
    • G05B2219/50008Multiple, multi tool head, parallel machining

Landscapes

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

Description

【発明の詳細な説明】 本発明はZ軸(主軸)に対し互に向い合つた刃
物台を有する旋盤に於て向い合つた刃物台と工作
機との相対関係、加工上の座標系と各刃先の座標
位置および進行方向を考慮することなく、一個の
刃物台のごとくプログラミングできる数値制御装
置に関する。
Detailed Description of the Invention The present invention relates to the relative relationship between the tool rests and machine tools that face each other in a lathe having tool rests facing each other with respect to the Z axis (main axis), the coordinate system for machining, and the This invention relates to a numerical control device that can be programmed like a single tool post without considering the coordinate position and direction of movement of the cutting edge.

従来、数値制御旋盤では第1図のごとく、X軸
の座標原点1は主軸の中心軸2即ち回転する加工
物5の中心に設定されかつ常に刃物3の先端4と
前記中心軸2との距離の2倍の値がX軸の座標値
となるよう数値制御装置内で制御される。
Conventionally, in numerically controlled lathes, as shown in Fig. 1, the coordinate origin 1 of the X-axis is set at the central axis 2 of the main spindle, that is, the center of the rotating workpiece 5, and the distance between the tip 4 of the cutter 3 and the central axis 2 is always set. is controlled within the numerical control device so that the coordinate value of the X axis is twice the value of .

たとえば、指令上10パルス動く指令に対し実際
の刃先は5パルス移動する。これに対しZ軸の座
標原点は加工物の先端に設定される場合もあり、
また機械側の固定位置に設定される場合もあり、
プログラムあるいは加工物の形状または機械まわ
りの構造によつて異なる。前記のような座標系を
設定し旋削した場合、刃物の先端4の位置即ち加
工物の直径値と数値制御装置内の座標値が一致す
る。また加工物の製作図面に於て、径方向の寸法
は一般に直径値で指定される。従がつて前記の座
標系を有する数値制御装置に於ては図面上の寸法
値がX軸方向の指令値として使用出来る。このよ
うな旋盤特有の座標系を直径座標系と称する。
For example, for a command to move 10 pulses, the actual cutting edge moves 5 pulses. On the other hand, the Z-axis coordinate origin may be set at the tip of the workpiece,
It may also be set at a fixed position on the machine side.
It varies depending on the program, the shape of the workpiece, and the structure around the machine. When the coordinate system as described above is set and turning is performed, the position of the tip 4 of the cutting tool, that is, the diameter value of the workpiece and the coordinate value within the numerical control device match. Furthermore, in the manufacturing drawings of the workpiece, the radial dimension is generally specified by a diameter value. Therefore, in a numerical control device having the above coordinate system, the dimension values on the drawing can be used as command values in the X-axis direction. Such a coordinate system unique to lathes is called a diameter coordinate system.

数値制御旋盤に於て、前記直径座標系を導入す
ればプログラム作成が非常に簡便となる。
Introducing the diameter coordinate system to a numerically controlled lathe will greatly simplify program creation.

しかも、数値制御旋盤の普及に伴ない加工能率
の向上、加工範囲の拡大が必要となつた。その一
つの具体的要求としては、一度に多数の刃物を実
装することがある。一般に旋盤用刃物台には4
本、6本、8本あるいはそれ以上実装するものが
あるが、刃物台の形状、刃物と加工物の干渉を考
慮して行けば、その実装個数も制御される。その
一つの解決としてX軸上に刃物台を2個装着すれ
ばよい。
Moreover, with the spread of numerically controlled lathes, it has become necessary to improve machining efficiency and expand the machining range. One specific requirement is to mount a large number of blades at once. Generally, the tool rest for a lathe has 4
There are tools that mount 6, 8, or more turrets, but the number of turrets to be mounted can be controlled by taking into consideration the shape of the tool post and the interference between the cutter and the workpiece. One solution to this problem is to mount two turrets on the X axis.

第2図にその実施例を示す。 An example of this is shown in FIG.

第2図に於て2個の刃物台21及び22はX軸
機械台25に固定され、機械台25はX軸方向送
りネジ31に結合されている。送りネジ31には
ギアを介してX軸送りモータ28及びX軸検出器
27が結合される。この前記X軸の送り機構全て
がZ軸機械台26上に装着され、機械台26はZ
軸方向送りネジ32に結合され、送りネジ32
は、ギアを介してZ軸送りモータ30及びZ軸検
出器29が結合される。前記送りモータ28,3
0及び検出器27,29は各々旋盤用数値制御装
置36に接続される。
In FIG. 2, two tool rests 21 and 22 are fixed to an X-axis machine stand 25, and the machine stand 25 is connected to an X-axis direction feed screw 31. An X-axis feed motor 28 and an X-axis detector 27 are coupled to the feed screw 31 via a gear. The entire X-axis feeding mechanism is mounted on the Z-axis machine stand 26, and the machine stand 26 is
coupled to the axial feed screw 32;
A Z-axis feed motor 30 and a Z-axis detector 29 are coupled via a gear. The feed motor 28, 3
0 and the detectors 27 and 29 are each connected to a numerical control device 36 for a lathe.

前記X軸機械台25に取付けられた刃物台21
及び刃物台22は主軸の中心軸35即ちZ軸上に
対し向い会つた形になつている。このような形式
の刃物台を対向刃物台と称する。
A tool rest 21 attached to the X-axis machine rest 25
The tool rest 22 faces the central axis 35 of the main shaft, that is, the Z axis. This type of tool rest is called a counter tool rest.

刃物台21に取付けられた刃物23の刃先33
と刃物台22に取付けられた刃物24の刃先34
とのX軸方向の距離をLx、Z軸方向の距離をLz
とすると刃物台21,22及び刃物23,24は
機械台25に固定されている故前記刃先24と刃
先34のX軸方向及びZ軸方向の距離Lx,Lzは
固定値であり一度固定されればX軸及びZ軸の位
置に無関係に一定となる。
The cutting edge 33 of the cutting tool 23 attached to the tool rest 21
and the cutting edge 34 of the cutter 24 attached to the tool rest 22
The distance in the X-axis direction is Lx, and the distance in the Z-axis direction is Lz.
Since the tool rests 21 and 22 and the tools 23 and 24 are fixed to the machine stand 25, the distances Lx and Lz between the cutting edges 24 and 34 in the X-axis direction and the Z-axis direction are fixed values and cannot be fixed once. It is constant regardless of the positions of the X-axis and Z-axis.

前記数値制御装置36は前記直径座標系を有し
ており制御装置36内にX軸座標値レジスタ37
及びZ軸座標値レジスタ38があり、このレジス
タは各々の軸が移動する毎にその内容が更新され
る。このレジスタ37の値を以降POSISION
X、レジスタ38の値を以降POSISION Zと称
す。
The numerical control device 36 has the diameter coordinate system and includes an X-axis coordinate value register 37 in the control device 36.
and a Z-axis coordinate value register 38, the contents of which are updated each time each axis moves. From now on, the value of this register 37 is POSISION
X, the value of register 38 will be referred to as POSISTION Z hereinafter.

ここで、前記制御装置36は、刃物台21の刃
先33を基準とする直径座標系が設定されている
ものとする。従がつて、第2図に於て刃先33と
原点39とのX軸方向の距離をx/2、Z軸方向
の距離をzとすればPOSISION X=x、
POSISION Z=zとなつている。
Here, it is assumed that the control device 36 has a diameter coordinate system set with the cutting edge 33 of the tool post 21 as a reference. Therefore, in FIG. 2, if the distance between the cutting edge 33 and the origin 39 in the X-axis direction is x/2, and the distance in the Z-axis direction is z, POSISTION X=x,
POSISION Z=z.

次に第2図に示す数値制御旋盤にて第1図の加
工物5を旋削する。第3図aは刃物台21に取付
けられた刃物23による旋削する場合第3図bは
刃物台22に取付けられた刃物24による旋削す
る場合を示す。
Next, the workpiece 5 shown in FIG. 1 is turned using a numerically controlled lathe shown in FIG. FIG. 3a shows a case in which turning is performed using a cutter 23 attached to a tool post 21, and FIG. 3b shows a case in which turning is performed using a cutter 24 attached to a tool post 22.

第3図aは刃物33をA点に移動した状態を示
す。このときの前記レジスタ37及びレジスタ3
8のPOSISION X及びPOSISION Zは POSISION X=a POSISION Z=d なお第3図の加工物5の長手方向の寸法をdとす
る。また原点側反対側の加工物5の端面の中心を
D点とする。
FIG. 3a shows the state in which the cutter 33 has been moved to point A. The register 37 and register 3 at this time
8, POSISION X and POSISION Z are POSISION Further, the center of the end surface of the workpiece 5 on the opposite side to the origin is defined as point D.

第3図bは刃先34をA′点に移動した状態を
示す。この場合のPOSISION X,POSISION Z
は POSISION X=2Lx−a POSISION Z=d−Lz となる。
FIG. 3b shows the state in which the cutting edge 34 has been moved to point A'. POSISION X, POSISION Z in this case
becomes POSISION X=2Lx−a POSISION Z=d−Lz.

このように旋削に於ては、刃先33に対するA
点と刃先34に対するA′点とは加工形状が同一
になるが、数値制御装置36内の座標値レジスタ
は同一とならない。刃物台21の刃先33の直径
座標値を(x,z)つまりPOSISION X=x,
POSISION Z=zとし、刃物台22の刃先34
の直径座標系に対する位置を(x′,z′)とすれば x=2Lx−x′ z=z′−Lz が成立する。従がつてプログラマは刃先33で旋
削する場合は従来の直径座標系に基づいて加工物
より指令データを作成すればよいが、刃先34で
旋削する場合は、加工物より指令値を収集し更に
各移動指令値に対し前記式により変換したの
ち指令データを作成する必要が出てくる。この作
業は非常に繁雑なものでありかつ変換したデータ
と加工物の寸法データが一致しないため作成デー
タの確認も困難となり誤りが多発する可能性があ
る。これを解決する手段として考えられるもの
に、Z軸方向の変換に対して工具位置補正機能が
ある。
In this way, in turning, the A
Although the machining shape of the point and point A' relative to the cutting edge 34 are the same, the coordinate value registers in the numerical control device 36 are not the same. The diameter coordinate values of the cutting edge 33 of the tool rest 21 are (x, z), that is, POSISTION X=x,
POSISTION Z = z, the cutting edge 34 of the tool rest 22
If the position with respect to the diameter coordinate system is (x', z'), then x=2Lx-x'z=z'-Lz hold. Therefore, when turning with the cutting edge 33, the programmer only needs to create command data from the workpiece based on the conventional diameter coordinate system, but when turning with the cutting edge 34, the programmer collects command values from the workpiece and further calculates each command value. It becomes necessary to create command data after converting the movement command value using the above formula. This work is very complicated, and since the converted data and the dimensional data of the workpiece do not match, it is difficult to confirm the created data, and errors may occur frequently. One possible solution to this problem is a tool position correction function for conversion in the Z-axis direction.

第4図に於て刃物台に標準工具50が取付けら
れた場合の刃先を51とする。ところが実際の刃
物は寸法誤差及び取付け誤差により刃物52のよ
うになりその刃先53は前記刃物51と一致しな
い。しかし一般には数値制御旋盤に於ては標準刃
物51を基準とした座標系が設定される。従がつ
て、この刃先51と実際の刃物53とのX軸方
向、Z軸方向のづれを刃物52の補正データとし
て刃先53を始点とし刃先51を終点とするベク
トルのX軸成分をOFX、Z軸成分をOFZとし制
御装置内に記憶し刃物52が選択されたとき、そ
の補正ベクトル分だけ刃物台が移動し標準刃先5
1と実際の刃先53が一致する。本機能を工具位
置補正機能と称する。工具位置補正は一般に各刃
物を選択する毎に必要であるため、刃物台22に
取付けられた刃物を使用する場合オペレータは常
に刃物台21と刃物台22のZ軸方向の距離Lz
を考慮して各工具位置補正データを作成する繁雑
さは発生するが前記式の変換は可能である。し
かしX軸に関しては工具位置補正機能が使えな
い。従がつてX軸に対する他の解決方法として座
標系設定機能がある。
In FIG. 4, the cutting edge when the standard tool 50 is attached to the tool rest is designated as 51. However, due to dimensional errors and installation errors, the actual cutter resembles the cutter 52, and its cutting edge 53 does not match the cutter 51. However, in general, in a numerically controlled lathe, a coordinate system based on the standard cutting tool 51 is set. Therefore, using the deviations in the X-axis and Z-axis directions between the cutting edge 51 and the actual cutting tool 53 as correction data for the cutting tool 52, the X-axis component of the vector starting from the cutting edge 53 and ending at the cutting edge 51 is OFX, Z When the axis component is stored as OFZ in the control device and the cutting tool 52 is selected, the tool rest moves by that correction vector and the standard cutting edge 5
1 and the actual cutting edge 53 match. This function is called the tool position correction function. Tool position correction is generally required each time each tool is selected, so when using a tool attached to the tool rest 22, the operator always needs to adjust the distance Lz in the Z-axis direction between the tool rest 21 and the tool rest 22.
Although it is complicated to create each tool position correction data in consideration of the following, it is possible to convert the above equation. However, the tool position correction function cannot be used for the X-axis. Therefore, another solution for the X-axis is a coordinate system setting function.

第5図に於て、刃物54の刃先55の座標値を
(x1,z1)とする。次に刃先55を移動することな
く座標値のみ(x2,z2)にする。この機能を座標
系設定機能と称する。旋削刃物を刃物23より刃
物24に移す場合あるいはその逆に刃物24より
刃物23に移す場合、前記式を使用し座標系
設定機能によりプログラミングすればその位置に
於ける座標は変換出来る。しかし、この場合プロ
グラマは刃物台交換の毎に前記Lx,Lzの値を使
用し,式の演算が必要となり不便である。更
に第3図bに於て、刃先34がA′と一致してい
る点で刃先33の座標値は(2Lx−a,d−Lz)
となつており、この点で座標系設定により(a,
b)に変更した場合の座標系を第6図に示す。第
6図に於てG点が元の座標系の原点でありG′点
が変換後の新座標系の原点となる。この点に於
て、刃物34と加工物5との関係は加工物5の回
転の中心軸をX軸、加工物5のG点を通る端面を
Z軸とする直径座標系が設定されているように見
えるが、刃物23とX軸の+方向との位置が旧座
標と変わらない。従がつて加工物5のポントDに
刃物34を一致させるため新座標系の(o,d)
に位置決めさせた場合第6図bのようになる。こ
れを解決させるため例えば第6図aに於て新座標
系に座標系設定後X軸のサイン変更を実施する。
その図を第7図aに示す。このようにサイン変更
を実施後新座標系の(o,d)に位置決めさせた
場合を第7図bに示す。この場合加工物5のD点
と刃先34は一致する。このように軸のサインを
変更する機能を一般にインバート機能又はミラー
イメージ機能と称する。
In FIG. 5, the coordinate values of the cutting edge 55 of the cutting tool 54 are (x 1 , z 1 ). Next, only the coordinate values (x 2 , z 2 ) are set without moving the cutting edge 55. This function is called a coordinate system setting function. When moving the turning tool from the cutting tool 23 to the cutting tool 24, or vice versa, the coordinates at that position can be converted by programming using the coordinate system setting function using the above equation. However, in this case, the programmer must use the values of Lx and Lz each time the turret is replaced, which is inconvenient as it requires calculation of the formula. Furthermore, in Fig. 3b, the coordinate values of the cutting edge 33 are (2Lx-a, d-Lz) at the point where the cutting edge 34 coincides with A'.
At this point, by setting the coordinate system, (a,
FIG. 6 shows the coordinate system when changed to b). In FIG. 6, point G is the origin of the original coordinate system, and point G' is the origin of the new coordinate system after transformation. In this regard, the relationship between the cutter 34 and the workpiece 5 is set in a diameter coordinate system in which the central axis of rotation of the workpiece 5 is the X axis, and the end face passing through point G of the workpiece 5 is the Z axis. However, the position of the blade 23 and the + direction of the X-axis is the same as the old coordinates. Therefore, in order to align the cutter 34 with the point D of the workpiece 5, the new coordinate system (o, d)
When positioned, the result will be as shown in Figure 6b. To solve this problem, for example, in FIG. 6a, after setting the coordinate system to a new coordinate system, the sign of the X axis is changed.
The diagram is shown in FIG. 7a. FIG. 7b shows a case where the positioning is performed at (o, d) in the new coordinate system after changing the sign in this manner. In this case, point D of the workpiece 5 and the cutting edge 34 coincide. The function of changing the axis sign in this way is generally called an invert function or a mirror image function.

このように第2図のごとくX軸に対し互に向い
会つた2個の刃物台を有する旋盤に於て、一方の
刃物台の刃先に対し主軸の中心軸の固定点を原点
とする直径座標系を設定した後、もう一方の刃物
台の刃先に対しても同一原点の直径座標系を設定
したい場合の処理を考える。2個の刃物台の刃先
間のX軸方向の距離をLx,Z軸方向の距離をLz
とし、既に直径座標系が設定されている刃先の座
標位置をx,zとしその点よりもう一方の刃先に
座標系を移す場合公知の数値制御装置では前記
(x,z)点に於て、同時に二つの操作が必要と
なる。
As shown in Figure 2, in a lathe that has two tool rests facing each other with respect to the After setting the system, consider the process when you want to set the diameter coordinate system with the same origin for the cutting edge of the other tool post. The distance between the cutting edges of the two turrets in the X-axis direction is Lx, and the distance in the Z-axis direction is Lz.
If the coordinate position of the cutting edge for which the diameter coordinate system has already been set is x, z, and the coordinate system is transferred from that point to the other cutting edge, a known numerical control device would Two operations are required at the same time.

その点以降元の刃先に座標系を移すまでなん
らかの手段でX軸方向のみ前記インバート機能
を働らかせる。
After that point, the invert function is activated only in the X-axis direction by some means until the coordinate system is transferred to the original cutting edge.

その点に於てX軸に対し(2Lx−x)、Z軸
に対し(Lz+z)を各々座標系設定する。
At that point, coordinate systems are set to (2Lx-x) for the X-axis and (Lz+z) for the Z-axis.

なお、上記Lxは常に正数であり、Lzは元の刃
先に対し座標系を移そうとする刃先がZ軸上で正
方向にあれば正数とする。
Note that Lx is always a positive number, and Lz is a positive number if the cutting edge whose coordinate system is to be transferred relative to the original cutting edge is in the positive direction on the Z axis.

以上のごとく、プログラマは2つの刃物台の刃
先間の機械的寸法Lx,Lzを記憶し、旋削刃物台
を移す毎にその地点の座標値を基にLx,Lzを使
用し変換座標値を算出する必要がある。更に本方
式では、出来上つたプログラムをチエツクする場
合、プログラム上どちらの刃物台の刃先に対して
直径座標系が設定されているか判別することが困
難となりミスプログラムの原因となる。
As described above, the programmer memorizes the mechanical dimensions Lx and Lz between the cutting edges of the two tool posts, and each time the turning tool post is moved, the converted coordinate values are calculated using Lx and Lz based on the coordinate values of that point. There is a need to. Furthermore, in this method, when checking a completed program, it is difficult to determine for which tool post the diameter coordinate system is set for the cutting edge of the program, which may lead to program errors.

従がつて本発明ではこのような座標変換時に必
要な繁雑な演算を解消し、二つの刃物台と機械と
の相対関係、加工上の座標系と各刃先の座標位置
および進行方向をプログラマは考慮することなく
あたかも一個の刃物台のごとくプログラムでき、
かつプログラム上どちらの刃物台の刃先に座標系
が設定されているか容易に判断できる旋盤用数値
制御装置を提供するものである。
Therefore, the present invention eliminates the complicated calculations required during such coordinate conversion, and allows the programmer to take into account the relative relationship between the two tool rests and the machine, the machining coordinate system, the coordinate position of each cutting edge, and the direction of travel. It can be programmed as if it were a single tool post without having to
Moreover, it is an object of the present invention to provide a numerical control device for a lathe that can easily determine which tool post a coordinate system is set at the cutting edge of in a program.

第8図に本発明の実施例を示す。第8図の数値
制御装置は第2図に示す2つの対向刃物台21,
22を有する旋盤に接続されているものとする。
但し第2図の数値制御装置36は、第8図に示す
数値制御装置に置きかえる。
FIG. 8 shows an embodiment of the present invention. The numerical control device shown in FIG. 8 has two opposing tool rests 21 shown in FIG.
22 is connected to a lathe.
However, the numerical control device 36 shown in FIG. 2 is replaced with the numerical control device shown in FIG.

第8図に於て指令テープ80の内容はすべて入
力情報読み取り部81で読み取られ処理される。
指令テープ80には、X軸、Z軸の移動指令(次
の目標値)、移動速度を指令する速度指令、早送
りモード切削モードネジ切りモード等を指令する
Gコード指定、工具選択および工具位置補正の補
正番号を指令するTコード指令等が含まれてお
り、本発明では前記Gコード指令の中に2つの異
なる刃物台の座標系を切り替える指令を有するも
のとする。また前記入力情報読み取り部81には
操作パネル82およびデイジタルスイツチ84お
よびデイジタルスイツチ85,86も接続されて
いる。デイジタルスイツチ84には工具位置補正
用データがセツトされており、デイジタルスイツ
チ85には第2図に示す刃物台21及び刃物台2
2のに取付けられた刃物の刃先33及び刃先34
のX軸方向の距離Lxがセツトされており、デイ
ジタルスイツチ86には前記刃先のZ軸方向の距
離Lzが固定されている。このLzは刃先33を始
点とし刃先34を終点とするZ軸方向のサインを
もつた数値で、第2図に於ては(+)の数値とな
る。Lxは常に正数とする。
In FIG. 8, all contents of the instruction tape 80 are read and processed by an input information reading section 81.
The command tape 80 includes movement commands for the X-axis and Z-axis (next target values), a speed command for commanding the movement speed, G code designation for commanding rapid traverse mode, cutting mode, thread cutting mode, etc., tool selection and tool position correction. It includes a T-code command for commanding a correction number, and in the present invention, the G-code command includes a command for switching the coordinate systems of two different tool rests. Further, an operation panel 82, a digital switch 84, and digital switches 85 and 86 are also connected to the input information reading section 81. Tool position correction data is set in the digital switch 84, and the tool position correction data is set in the digital switch 85.
The cutting edge 33 and the cutting edge 34 of the cutter attached to No. 2
The distance Lx of the cutting edge in the X-axis direction is set, and the distance Lz of the cutting edge in the Z-axis direction is fixed to the digital switch 86. This Lz is a numerical value having a sign in the Z-axis direction starting from the cutting edge 33 and ending at the cutting edge 34, and is a (+) numerical value in FIG. Lx is always a positive number.

入力情報読み取り部81よりデータバスライン
85が接続されテープ、操作パネル及びスイツチ
パネル等よりの入力情報よりのデータはバスライ
ン85により、各部のレジスタ、制御部へ転送さ
れる。これらのレジスタや制御部の中にX軸方向
の目的位置レジスタ(以下COMX と称す)8
6、Z軸方向の目的位置レジスタ(以下COM Z
と称す)90、X軸方向の工具位置補正レジスタ
(以下TOF Xと称す)87、Z軸方向の工具位
置補正レジスタ(以下TOF Zと称す)91、前
記デイジタルスイツチ85、の数値を2倍して格
納しているX軸刃先変換レジスタ(以下2LXと称
す)88、前記デイジタルスイツチ86の数値を
格納しているZ軸刃先変換レジスタ(以下LZと
称す)92、X軸方向の現在の座標位置レジスタ
(以下POS Xと称す)89、Z軸方向の現在の座
標位置レジスタ(以下POS Zと称す)39、早
送り、切削送り等の送りモードや第2図に示す2
つの刃物台の刃先33に対する座標系か刃先34
に対する座標系かを指示するGコードのデコード
回路94、早送りの場合の速度や切削送り時のパ
ルス分配及びX軸Z軸の移動パルス数を制御する
送り制御部95等がある。Gコードデコード回路
94では各種のGコードのデコード出力がありそ
の中にG51セツト出力及びG52セツト出力があ
り、その各々がG51フリツプフロツプ96のセツ
ト入力(G51セツト出力)およびリセツト入力
(G52セツト出力)に接続されている。なおG51フ
リツプフロツプ96は電源投入時はリセツトされ
ているものとする。97,98,99,100は
演算器であり、101,102,104,105
はアンドゲートで103,106はオア回路であ
る。演算器97の出力109および演算器98の
出力110は各々送り制御部95に接続されてい
る。前記G51フリツプフロツプ96がセツトされ
ていない状態ではG51出力111は論理値“0”
であり51出力112は論理値“1”となる。従
がつてアンドゲート101,104の出力はとも
に“0”となり、POS X89の数値がゲート1
02オア回路103を経て演算器97に送出さ
れ、POS Z93の数値がゲート105オア回路
106を経て演算器98に送出される。また前記
G51フリツプフロツプ96がテープ入力のG51指
令によりセツトされている状態ではG51出力11
1は論理値“1”となり51出力112は論理値
“0”となる。よつてアンドゲート102,10
5の出力はともに“0”となり、演算器99の演
算系結果(2LX−POS X)がゲート101オア
回路103を経て演算器97に送出され、演算器
100の演算結果(LZ+POS Z)がゲート10
4のオア回路106を経て演算器98に送出され
る。前記G51フリツプフロツプ96がリセツトさ
れているときは演算器97では(COM X+
TOF X−POS X)が演算され演算器98では
(COM Z+TOF Z−POS Z)が演算される。
またG51フリツプフロツプ96がセツトされてい
るときは演算器97では{COM X+TOF X−
(2LX−POS X)}が演算され、演算器98では
{COM Z+TOF Z−(LZ+POS Z)}が演算さ
れる。演算器97,98の演算結果は各々送り制
御部へ送生され、各軸の移動量に変換される。入
力情報読み取り部81で全ての1ブロツク分の入
力を読みとり、前記データバスライン85を通じ
て各レジスタ、デコード回路等にデータ転送終了
後送り開始信号はライン83を通じて送り制御部
95へ伝達されるようになつている。送り制御部
95では演算器97,98の演算結果よりX軸Z
軸の移動量を得てデータバスライン85より移動
の速度、移動方法等の情報を得ライン83よりの
起動指令によりX軸、Z軸へ移動指令パルス及び
移動方向を発生する。X軸指令パルスをCPX1
11、Z軸指令パルスをCPZ115、X軸移動方
向指令をS−X112、Z軸移動方向指令をS−
Z116とする。CPX111はX軸移動制御部
117及びレジスタPOS X89に接続され、S
−X112はイクスクルシブオア回路113の一
方の入力に接続されている。イクスクルシブオア
回路113のもう一方の入力は前記G51フリツプ
フロツプのG51出力111に接続されておりイク
スクルシブオア回路113の出力S′−X114は
前記X軸移動制御部117及びレジスタPOS89
に接続されている。CPZ115,S−Z116は
ともにZ軸移動制御部118およびレジスタPOS
Z93に接続されている。X軸及びZ軸の移動制
御部117,118は入力された移動指令及び移
動方向指令に従がいX軸のモータ119及びZ軸
のデータ121を駆動しモータ回転に連動してい
るフイードバツク装置120及び121のフイー
ドバツクにより位置及び速度を制御している。前
記レジスタPOS X89,POS Z93では移動指
令パルスと移動方向指令により加減算され常に一
方の刃先の座標位置が記憶されるようになつてい
る。
A data bus line 85 is connected from the input information reading section 81, and data from input information from the tape, operation panel, switch panel, etc. is transferred to the registers and control sections of each section via the bus line 85. Among these registers and control units, there is a target position register (hereinafter referred to as COMX) 8 in the X-axis direction.
6. Target position register in Z-axis direction (hereinafter referred to as COM Z
90, tool position correction register in the X-axis direction (hereinafter referred to as TOF X) 87, tool position correction register in the Z-axis direction (hereinafter referred to as TOF Z) 91, and the digital switch 85. The X-axis cutting edge conversion register (hereinafter referred to as 2LX) 88 stores the value of the digital switch 86, the Z-axis cutting edge conversion register (hereinafter referred to as LZ) 92 stores the value of the digital switch 86, and the current coordinate position in the X-axis direction. A register (hereinafter referred to as POS
The coordinate system for the cutting edge 33 of the two tool rests or the cutting edge 34
There is a G code decoding circuit 94 that instructs whether the coordinate system is in the coordinate system for a given position, a feed control unit 95 that controls the speed in the case of rapid feed, pulse distribution during cutting feed, and the number of movement pulses for the X and Z axes. The G code decode circuit 94 has various G code decode outputs, including a G51 set output and a G52 set output, each of which is connected to the set input (G51 set output) and reset input (G52 set output) of the G51 flip-flop 96. It is connected to the. It is assumed that the G51 flip-flop 96 is reset when the power is turned on. 97, 98, 99, 100 are arithmetic units, 101, 102, 104, 105
is an AND gate, and 103 and 106 are OR circuits. An output 109 of the computing unit 97 and an output 110 of the computing unit 98 are each connected to the feed control unit 95. When the G51 flip-flop 96 is not set, the G51 output 111 has a logic value of "0".
Therefore, the 51 output 112 has a logical value of "1". Therefore, the outputs of AND gates 101 and 104 both become "0", and the value of POS X89 becomes gate 1.
The value of POS Z93 is sent to the arithmetic unit 98 via the gate 105 OR circuit 106. Also mentioned above
When the G51 flip-flop 96 is set by the tape input G51 command, the G51 output 11 is set.
1 becomes a logical value "1", and the 51 output 112 becomes a logical value "0". Yotsute and Gate 102, 10
Both outputs of 5 become "0", the arithmetic system result of the arithmetic unit 99 (2LX-POS 10
The signal is sent to the arithmetic unit 98 via the OR circuit 106 of 4. When the G51 flip-flop 96 is reset, the arithmetic unit 97 outputs (COM
The calculation unit 98 calculates (COM Z+TOF Z-POS Z).
Furthermore, when the G51 flip-flop 96 is set, the arithmetic unit 97 calculates {COM X+TOF
(2LX-POS X)} is computed, and the computing unit 98 computes {COM Z+TOF Z-(LZ+POS Z)}. The calculation results of the calculation units 97 and 98 are each sent to the feed control section and converted into the amount of movement of each axis. The input information reading section 81 reads all the inputs for one block, and after the data transfer to each register, decoding circuit, etc. is completed through the data bus line 85, the sending start signal is transmitted to the sending control section 95 through the line 83. It's summery. The feed control unit 95 uses the calculation results of the calculation units 97 and 98 to determine the
The amount of movement of the axes is obtained, information such as the movement speed and movement method is obtained from the data bus line 85, and movement command pulses and movement directions for the X-axis and Z-axis are generated in response to a start command from the line 83. X-axis command pulse CPX1
11. Z-axis command pulse is CPZ115, X-axis movement direction command is S-X112, Z-axis movement direction command is S-
It is called Z116. CPX111 is connected to X-axis movement control section 117 and register POS X89, and S
-X112 is connected to one input of the exclusive OR circuit 113. The other input of the exclusive OR circuit 113 is connected to the G51 output 111 of the G51 flip-flop, and the output S'-X114 of the exclusive OR circuit 113 is connected to the X-axis movement control section 117 and the register POS89.
It is connected to the. Both CPZ115 and S-Z116 are the Z-axis movement control unit 118 and register POS.
Connected to Z93. The X-axis and Z-axis movement control units 117 and 118 drive the X-axis motor 119 and Z-axis data 121 in accordance with the input movement command and movement direction command, and the feedback device 120 and the The position and speed are controlled by 121 feedback. In the registers POS X89 and POS Z93, the movement command pulse and the movement direction command are added and subtracted so that the coordinate position of one of the cutting edges is always stored.

以上の構成を有する旋盤用数値制御装置に於て
刃先33に対して座標系を設定しておけばレジス
タPOS−X及びレジスタPOS Zが常に刃先33
の座標系に対する位置レジスタとなる。これに対
しオア回路103の出力107およびオア回路1
06の出力108は電源投入時あるいはG52指令
により(POS−X),(POS−Z)となりG51指令
によりX軸側は(2LX−POS X)に切り替りZ
軸側は(POS−Z+LZ)に切り替わる。従がつ
て、第2図のような対向刃物台を有する数値制御
施盤に於て、G51またはG52を指定するだけで座
標系が自動的に切り替わり、あたかも一つの刃物
台のごとくプログラムすることができるものであ
る。またこれにより従来実施していたような一切
の煩雑な座標が不要となり、座標変換により誘発
されるプログラムミス等も防ぐことができる。
If a coordinate system is set for the cutting edge 33 in the lathe numerical control device having the above configuration, register POS-X and register POS-Z will always be set to the cutting edge 33.
This is a position register for the coordinate system. On the other hand, the output 107 of the OR circuit 103 and the OR circuit 1
Output 108 of 06 becomes (POS-X), (POS-Z) when the power is turned on or by the G52 command, and the X-axis side switches to (2LX-POS X) by the G51 command and Z
The shaft side switches to (POS-Z+LZ). Therefore, in a numerically controlled machine with a facing tool post as shown in Figure 2, simply specifying G51 or G52 will automatically switch the coordinate system, allowing programming as if it were one tool post. It is something. Furthermore, this eliminates the need for all the complicated coordinates that were conventionally implemented, and prevents programming errors caused by coordinate transformation.

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

第1図は一般的数値制御旋盤の座標系の図、第
2図はX軸上に向いあつた刃物台を有する数値制
御盤旋の構成と座標系を示す図、第3図a及びb
は従来の数値制御装置における座標位置を示す
図、第4図は工具位置補正機能を示す図、第5図
は座標系設定機能を説明する図、第6図a及びb
は対向する刃物台の座標変換に座標系設定機能を
使用した図、第7図a及びbは対向する刃物台の
座標変換に座標系設定機能およびミラーイメージ
機能を使用した図、第8図は本発明の一実施例を
示すブロツク図である。 21,22;刃物台、33,34;刃先。
Figure 1 is a diagram showing the coordinate system of a general numerically controlled lathe, Figure 2 is a diagram showing the configuration and coordinate system of a numerically controlled lathe with a turret facing on the X-axis, and Figures 3 a and b.
4 is a diagram showing the coordinate position in a conventional numerical control device, FIG. 4 is a diagram showing the tool position correction function, FIG. 5 is a diagram explaining the coordinate system setting function, and FIGS. 6 a and b
is a diagram in which the coordinate system setting function is used to transform the coordinates of the opposing tool post, Figure 7 a and b are diagrams in which the coordinate system setting function and mirror image function are used in the coordinate transformation of the opposing tool post, and Figure 8 is a diagram in which the coordinate system setting function and mirror image function are used to transform the coordinates of the opposing tool post. FIG. 1 is a block diagram showing one embodiment of the present invention. 21, 22; Turret; 33, 34; Cutting edge.

Claims (1)

【特許請求の範囲】 1 Z軸(主軸)に対して互いに対向した刃物台
の位置制御を行う数値制御装置において、 各刃物台に装着された刃物の刃先間のX軸方向
の距離Δx及びZ軸方向の距離Δzを記憶する記
憶部と、 移動情報に基づいて、いずれか一方の刃先のX
軸方向及びZ軸方向の座標位置に演算して記憶す
る現在位置レジスタと、 X軸方向及びZ軸方向の目的位置情報を記憶す
る目的位置レジスタと、 座標切替指令に基づいて、現在位置レジスタの
内容が示す座標位置(x,z)か、現在位置レジ
スタ及び記憶部の内容を演算した結果の座標位置
(2Δx−x,Δz+z)かを選択して出力する
選択部と、 目的位置レジスタ及び選択部の出力に基づいて
X軸,Z軸の移動指令パルス及び移動方向指令を
出力すると共に、X軸の移動指令パルス、Z軸の
移動指令パルス及びZ軸の移動方向指令を前記移
動情報として現在位置レジスタに与える送り制御
部と、 送り制御部からのX軸の移動方向指令を前記座
標切替指令に基づいて反転させるか否かを選択す
ると共に選択結果を前記移動情報として現在位置
レジスタに与える移動サイン反転部と、 送り制御部及び移動サイン反転部の出力に基づ
いてモータを制御して刃物台の位置制御を行う移
動制御部とを具備することを特徴とする数値制御
装置。
[Claims] 1. In a numerical control device that controls the position of tool rests facing each other with respect to the Z-axis (main axis), the distance Δx in the X-axis direction between the cutting edges of the tools attached to each tool rest and Z A memory section that stores the axial distance Δz, and a storage section that stores the axial distance Δz, and a
A current position register that calculates and stores coordinate positions in the axial direction and Z-axis direction, a target position register that stores target position information in the X-axis direction and Z-axis direction, and a current position register that stores information on the target position in the A selection section that selects and outputs either the coordinate position (x, z) indicated by the contents or the coordinate position (2Δx-x, Δz+z) that is the result of calculating the contents of the current position register and storage section, and the destination position register and selection section. Based on the output of the section, the X-axis and Z-axis movement command pulses and the movement direction command are outputted, and the X-axis movement command pulse, the Z-axis movement command pulse, and the Z-axis movement direction command are currently used as the movement information. A feed control unit that provides the feed control unit to the position register, and a movement that selects whether or not to invert the X-axis movement direction command from the feed control unit based on the coordinate switching command, and provides the selection result to the current position register as the movement information. A numerical control device comprising: a sine reversing section; and a movement control section that controls the position of a tool rest by controlling a motor based on the outputs of the feed control section and the moving sine reversing section.
JP13281880A 1980-09-26 1980-09-26 Numeric controller Granted JPS5759205A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13281880A JPS5759205A (en) 1980-09-26 1980-09-26 Numeric controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13281880A JPS5759205A (en) 1980-09-26 1980-09-26 Numeric controller

Publications (2)

Publication Number Publication Date
JPS5759205A JPS5759205A (en) 1982-04-09
JPS6235123B2 true JPS6235123B2 (en) 1987-07-30

Family

ID=15090276

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13281880A Granted JPS5759205A (en) 1980-09-26 1980-09-26 Numeric controller

Country Status (1)

Country Link
JP (1) JPS5759205A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI472692B (en) * 2011-09-06 2015-02-11 Kayaba Industry Co Ltd Caliper brake device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2638733B1 (en) * 1988-11-10 1991-12-20 Pechiney Electrometallurgie PROCESS FOR PRODUCING MICRONIC SILICON CARBIDE

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI472692B (en) * 2011-09-06 2015-02-11 Kayaba Industry Co Ltd Caliper brake device

Also Published As

Publication number Publication date
JPS5759205A (en) 1982-04-09

Similar Documents

Publication Publication Date Title
US4513379A (en) Customization window for a computer numerical control system
US4531182A (en) Machine control system operating from remote commands
US4511985A (en) Robot control system
US4489377A (en) Method for preventing machine component interference
US4550378A (en) Method of numerical control and device therefor
US4604705A (en) Numerical control machining method and system therefor
JPH046001B2 (en)
EP0407589B1 (en) Nc instruction system
KR920004080B1 (en) Numerical control device
JPS5829010A (en) Program controlling method of and apparatus for freely programmable control body
US6628097B2 (en) Machine tool and control method therefor
JPS6235123B2 (en)
JPS5929384B2 (en) Copying control device
JPS61131105A (en) Control system of lathe having two tool boxes
US3806788A (en) Drive apparatus for machine tool feed motors
US3818301A (en) Multiplexed machine control apparatus
JPH0651241B2 (en) Y-axis processing method
US3676760A (en) Feedrate control system
JPS58213301A (en) Numerical control system of direct teaching and operating system
US3604998A (en) Dual drive servo-controlled thread cutter including mode engagement features
JP3050991B2 (en) Tool offset shape data input type numerical control method and device
JPS60201852A (en) Control method of automatic tool replacing position in machining center
EP0380685A1 (en) Nc command system
JP3226459B2 (en) Turret indexing control device for lathe
WO1981000073A1 (en) Method of constantly controlling peripheral speed