JP2894542B2 - Spring shape correcting method of NC spring forming machine and NC spring forming machine with spring shape correcting function - Google Patents

Spring shape correcting method of NC spring forming machine and NC spring forming machine with spring shape correcting function

Info

Publication number
JP2894542B2
JP2894542B2 JP16594094A JP16594094A JP2894542B2 JP 2894542 B2 JP2894542 B2 JP 2894542B2 JP 16594094 A JP16594094 A JP 16594094A JP 16594094 A JP16594094 A JP 16594094A JP 2894542 B2 JP2894542 B2 JP 2894542B2
Authority
JP
Japan
Prior art keywords
correction
spring
data
program
forming
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
JP16594094A
Other languages
Japanese (ja)
Other versions
JPH0810883A (en
Inventor
陽三 大代
憲史 阿比留
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.)
Asahi Seiki Manufacturing Co Ltd
Original Assignee
Asahi Seiki Manufacturing 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 Asahi Seiki Manufacturing Co Ltd filed Critical Asahi Seiki Manufacturing Co Ltd
Priority to JP16594094A priority Critical patent/JP2894542B2/en
Publication of JPH0810883A publication Critical patent/JPH0810883A/en
Application granted granted Critical
Publication of JP2894542B2 publication Critical patent/JP2894542B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)
  • Wire Processing (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明はNCばね成形機におい
て、成形コイルばねのプログラム方式による連続成形中
に種々の要因による変形を修正するばね形状修正方法及
びばね形状修正機能付NCばね成形機に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an NC spring forming machine and a spring shape correcting method for correcting deformation due to various factors during continuous forming of a formed coil spring by a program method, and an NC spring forming machine with a spring shape correcting function. .

【0002】[0002]

【従来の技術】プログラム方式でNCにより自動成形で
ばねを製造するには図1に示すばね成形機、図2に示す
制御線図にもとづいてばねが連続成形されていた。即ち
図1はNCばね成形機の要部を示す図であって、フープ
状に巻かれた線材1が図示しない矯正器を経て送りロー
ラ2と挟持ローラ3とにより強く挟持されてクイル4に
水平に送り込まれる。送りローラ2は図示しないNC装
置で駆動制御されるサーボモータ6の出力軸に取り付け
られて回転され、挟持ローラ3はサーボモータ6の出力
軸に設けた歯車7と噛合う歯車8の歯車軸に取り付けら
れ、図示しないばね,空気圧等の押圧手段により線材を
強く滑りのないように挟持している。
2. Description of the Related Art In order to manufacture a spring by automatic molding by NC in a program system, a spring is continuously formed based on a spring forming machine shown in FIG. 1 and a control diagram shown in FIG. That is, FIG. 1 is a view showing a main part of an NC spring forming machine. A wire 1 wound in a hoop shape is strongly pinched by a feed roller 2 and a pinching roller 3 through a straightener (not shown), and is horizontally held by a quill 4. Sent to. The feed roller 2 is mounted on an output shaft of a servo motor 6 driven and controlled by an NC device (not shown) and is rotated. The nipping roller 3 is connected to a gear shaft of a gear 8 meshed with a gear 7 provided on the output shaft of the servo motor 6. The wire rod is attached and held by a spring (not shown) or pressing means such as air pressure so as not to slip strongly.

【0003】クイル4の前端部の側面は線材がはみ出さ
ない程度に垂直に削り取られておりこの位置に後述のピ
ッチ工具が配置されている。クイル4の端面前面には芯
金11が固定配置され、その先にクイル前端面と対向し
て成形面12aを有する成形工具12が水平に移動可能
に配置されている。この成形工具12はNC装置で駆動
制御されるサーボモータ13で回転される送りねじ14
により線材の送り出し方向に進退され位置制御される。
The side surface of the front end of the quill 4 is cut off vertically so that the wire does not protrude, and a pitch tool described later is arranged at this position. A metal core 11 is fixedly arranged on the front face of the end face of the quill 4, and a shaping tool 12 having a shaping surface 12 a is arranged so as to be horizontally movable in front of the mandrel 11. The forming tool 12 has a feed screw 14 which is rotated by a servomotor 13 which is driven and controlled by an NC device.
With this, the wire is advanced and retracted in the wire feeding direction and the position is controlled.

【0004】ピッチ工具16は上端面が垂直面内で傾斜
するエッヂを形成する楔16aであってクイル4の切欠
側面において線材送り方向と直角な上下方向に移動可能
に配置されていてNC装置で駆動制御されるサーボモー
タ17で回転される送りねじ18により上下に進退され
位置制御される。
The pitch tool 16 is a wedge 16a whose upper end surface forms an edge inclined in a vertical plane. The pitch tool 16 is arranged on the cut side surface of the quill 4 so as to be movable in the vertical direction perpendicular to the wire feed direction. It is moved up and down by a feed screw 18 which is rotated by a servomotor 17 whose drive is controlled, and the position is controlled.

【0005】さらに芯金11の上面でカッティングツー
ル21が上下方向に移動可能に配置されている。カッテ
ィングツール21はその剪断刃面21aが芯金11の垂
直面11aとで成形ばねの後端を剪断するように位置し
ており、NC装置で駆動制御されるサーボモータ22で
回転される送りねじ23により位置制御される。なおカ
ッティングツールはカム,油圧手段等で駆動することも
自由である。
[0005] Further, a cutting tool 21 is disposed on the upper surface of the metal core 11 so as to be vertically movable. The cutting tool 21 is positioned such that its shearing blade surface 21a shears the rear end of the forming spring with the vertical surface 11a of the cored bar 11, and a feed screw rotated by a servomotor 22 driven and controlled by an NC device. 23 controls the position. The cutting tool can be freely driven by a cam, hydraulic means, or the like.

【0006】図2は従来のコイルばね成形機の自動プロ
グラミングを行う制御ブロック構成図である。キーボー
ド31よりコイル径,自由長,ピッチ等のコイル成形デ
ータ,成形ツール移動量,ピッチツール移動量,カッテ
ィングツール移動量等のツール動作データ,線材送り量
データがデータ入力制御部32に入力される。データ入
力制御部32では入力されたデータを成形プログラムの
ように並べかえプログラムデータ記憶部33に記憶す
る。成形プログラム演算部34ではプログラム記憶部3
3に記憶されたコイル形状データ,ツール動作データ,
線材送り量データを読み出してプログラムにのせるピッ
チツール位置X,成形ツール位置Y,線材送り量Z,カ
ッテイングツール位置Aを演算して成形プログラムを作
成し記憶する。
FIG. 2 is a control block diagram for performing automatic programming of a conventional coil spring forming machine. Coil forming data such as coil diameter, free length, and pitch, tool operating data such as forming tool moving distance, pitch tool moving distance, cutting tool moving distance, and wire rod feed amount data are input from a keyboard 31 to a data input control unit 32. . The data input control unit 32 rearranges the input data like a molding program and stores it in the program data storage unit 33. In the molding program calculation section 34, the program storage section 3
3, coil shape data, tool operation data,
A wire feed amount data is read out, and a pitch tool position X, a forming tool position Y, a wire feed amount Z, and a cutting tool position A to be loaded on a program are calculated to create and store a forming program.

【0007】演算されたX軸(ピッチツール),Y軸
(成形ツール),Z軸(線材送り)の各移動量が移動量
記憶部35に記憶される。この記憶された数値データが
数値データ/パルス変換部36においてパルスに変換さ
れ、各サーボモータを駆動する。データ表示記憶部37
はプログラム記憶部33に記憶された成形ばね形状のデ
ータが記憶された数値をCRT38に表示するものであ
る。
The calculated movement amounts of the X-axis (pitch tool), Y-axis (forming tool), and Z-axis (wire feed) are stored in the movement amount storage unit 35. The stored numerical data is converted into a pulse in the numerical data / pulse converter 36, and drives each servomotor. Data display storage unit 37
Is for displaying on the CRT 38 a numerical value in which the data of the formed spring shape stored in the program storage unit 33 is stored.

【0008】図3に示す圧縮ばねの成形プログラムを表
1に例示する。但しXはピッチツールの位置,Yは成形
ツールの位置,Aはカッテイングツール位置で原点を零
とし現在値をアブソリュートで指令する。Zは線材送り
量をインクリメンタルで指令する。FはXの、SはY
の、VはZの、WはAのそれぞれの送り速度を表す。
Table 1 shows an example of a compression spring forming program shown in FIG. However, X is the position of the pitch tool, Y is the position of the forming tool, A is the cutting tool position and the origin is set to zero, and the current value is commanded in absolute. Z instructs the wire feed amount incrementally. F is X, S is Y
, V represents the feed speed of Z, and W represents the feed speed of A.

【表1】 [Table 1]

【0009】表1の成形プログラムによりばね製作の手
順を示す図4,図5のフローチャートにもとづいて説明
する。ステップS1において運転開始、ステップS2に
おいてNを零とする。ステップS3においてNをN+1
即ちN1とする。ステップS4においてG機能を読み込
む。即ちZ25.0、F80、S50、V50、W80
を読み込む。X,Y,Aは原点である。
The procedure for manufacturing a spring according to the molding program shown in Table 1 will be described with reference to flowcharts shown in FIGS. Operation is started in step S1, and N is set to zero in step S2. In step S3, N is increased to N + 1.
That is, N1 is set. In step S4, the G function is read. That is, Z25.0, F80, S50, V50, W80
Read. X, Y, and A are origins.

【0010】ステップS5においてX軸移動量演算のサ
ブルーチンに移る。軸移動量演算処理のステップS21
で目標値としてプログラム記憶データX0.0とする。
ステップS22で移動量として目標位置−現在位置即ち
X0.0としてメインルーチンに移る。ステップS6に
おいてY軸移動量演算のサブルーチンに移る。同様に軸
移動量演算処理のステップスS21でY0.0、ステッ
プS22でY0.0としてメインルーチンに移る。
In step S5, the process proceeds to a subroutine for calculating the X-axis movement amount. Step S21 of axis movement amount calculation processing
Is set as the program storage data X0.0 as the target value.
In step S22, the process moves from the target position to the current position, that is, X0.0, as the movement amount, and moves to the main routine. In step S6, the process proceeds to a subroutine for calculating the Y-axis movement amount. Similarly, the process proceeds to the main routine with Y0.0 being set in step S21 and Y0.0 being set in step S22 in the axis movement amount calculation processing.

【0011】ステップS7でZ軸移動量演算のサブルー
チンに移り、同様に軸移動量演算処理ステップS21
でZ25.0、ステップS22でZ25.0としてメイ
ンルーチンに移る。なおZ軸の指令はインクリメンタル
で行うので現在位置は零とする。ステップS8において
A軸移動量演算のサブルーチンに移り、同様に軸移動量
演算処理でステップS21でA0.0、ステップS22
でA0.0としメインルーチンに移る。
[0011] proceeds to the subroutine of Z-axis movement amount calculation in step S7, step likewise axial movement amount calculation step S21
To Z25.0, and to Z25.0 in step S22, and shift to the main routine. Since the Z-axis command is issued incrementally, the current position is set to zero. In step S8, the process proceeds to the subroutine for calculating the A-axis movement amount, and similarly, in the axis movement amount calculation processing, A0.0 in step S21, step S22
And set to A0.0, and proceed to the main routine.

【0012】ステップS9において、X,Y,Z,A軸
の4軸の移動を始める。この場合線材1が25.0mm
移動する。ステップS10において各軸の移動が完了し
たかを判断する。NOであればこの判断を繰り返す。Y
ESであれば図3のばねの座巻密着部がつくられる。ス
テップS11において次のNにプログラムデータが有る
かが判断され、データがあるのでYESとしてステップ
S3に移行しN2とする。
In step S9, movement of four axes of X, Y, Z, and A axes is started. In this case, the wire 1 is 25.0 mm
Moving. In step S10, it is determined whether the movement of each axis has been completed. If NO, this determination is repeated. Y
In the case of ES, an end-to-end contact portion of the spring shown in FIG. 3 is formed. In step S11, it is determined whether there is program data in the next N. Since there is data, YES is determined and the process proceeds to step S3 where N2 is set.

【0013】ステップS4においてX3.0、Z50.
0が読み込まれる。N1と同様にしてステップS5,ス
テップS6,ステップS7,ステップS8,ステップS
9,ステップS10と移行し、移動完了がYESであれ
ばピッチツール16が3.0mm前進し、線材1が50
mm送り出されて図3の座巻立ち上がり部が形成され
る。
In step S4, X3.0, Z50.
0 is read. Steps S5, S6, S7, S8, S
9. The process proceeds to step S10. If the movement is completed, the pitch tool 16 moves forward by 3.0 mm, and the wire 1 moves to 50.
mm to form the end winding rising portion of FIG.

【0014】同様にステップS11からステップS3に
移行しN3とし、ステップS4においてY0.3,Z1
0.0が読み込まれ,順次ステップが移行してステップ
S10完了YESで成形ツール12が0.3mm後退
し、Z10.0で線材が10mm送り出されることによ
り座巻きが立ち上がることで座巻密着部よりコイル径が
僅かに小さくなった分、図3のコイル径が修正される。
Similarly, the process proceeds from step S11 to step S3, where N3 is set. In step S4, Y0.3, Z1
0.0 is read, the steps are sequentially shifted, and the step S10 is completed. If YES, the forming tool 12 is retracted by 0.3 mm, and the wire is sent out by 10 mm at Z10.0, so that the end winding is raised and the end of the end winding is formed. The coil diameter in FIG. 3 is corrected by the small reduction in the coil diameter.

【0015】同様に順次ステップが移行してステップS
3においてN4とし、ステップS4でZ300.0が読
み込まれる。順次ステップが移行してステップS10の
移動完了で図3のコイルの胴部が形成される。同様にス
テップを移行させてN5のY0.0,Z10.0が読み
込まれ、成形ツール12の位置を最初の位置に戻し、線
材が10mm送り出され、修正したコイル径を戻し、図
3の修正した分戻される。
Similarly, the steps sequentially shift to step S
In step 3, N4 is set, and in step S4, Z300.0 is read. The steps sequentially move to complete the movement of step S10 to form the body of the coil in FIG. Similarly, the steps are shifted to read Y0.0 and Z10.0 of N5, the position of the forming tool 12 is returned to the initial position, the wire is fed out by 10 mm, the corrected coil diameter is returned, and the correction of FIG. Will be returned.

【0016】同様にステップを移行してN6のX0.
0,Z50.0読み込まれ、ピッチツール16を最初
の位置に戻し線材が50mm送り出されて図3の座巻立
ち下がり部が形成される。同様にステップを移行してN
7のZ25.0が読み込まれ、線材1が25mm送り出
されて図3の座巻密着部が形成される。
In the same manner, the steps are shifted to X0.
0, Z50.0 is read, the pitch tool 16 is returned to the initial position, and the wire is fed out by 50 mm to form the end-turn falling portion in FIG. Similarly, shift the steps to N
7, Z25.0 is read, and the wire 1 is fed out by 25 mm to form the end-to-end contact portion shown in FIG.

【0017】同様にステップを移行してN8のA30.
0が読み込まれてカッティング21が30mm前進され
芯金11との間で線材が切断され、同様にN9でA0.
0が読み込まれカッティングツール21が初めの位置に
戻り一個の圧縮ばねが成形される。次のステップS10
において移動完了のYESでステップS11で次のNに
プログラムデータが有るのかが判断されNOであるから
ステップS12で図示しない操作パネルから運転の停止
信号があるかが判断されNOであれば連続成形を続け、
YESであればステップS13で運転が停止される。こ
のような手順で成形ばねが製造されていた。
Similarly, the steps are shifted to N30 A30.
0 is read, the cutting 21 is advanced by 30 mm, and the wire is cut between the core 21 and the wire A10.
0 is read, the cutting tool 21 returns to the initial position, and one compression spring is formed. Next step S10
In step S11, it is determined whether there is program data in the next N at step S11. If the answer is NO, it is determined at step S12 whether there is an operation stop signal from an operation panel (not shown). continue,
If YES, the operation is stopped in step S13. A molded spring has been manufactured by such a procedure.

【0018】また特開平5−261462号で知られて
いるものは、コイルばねの形状に則して例えば巻き始め
座巻き,ピッチ立ち上がり部分,等ピッチ部分,ピッチ
立ち下がり部分,巻き終わり座巻きに分割した各部分の
展開長を算出し、且つ各部分のピッチ量からピッチツー
ルの移動量を設定し、それ等の値をキーボードにより入
力して運転プログラムを作成する。この運転プログラム
は予め設定された基準運転プログラムに前記値をキーボ
ードにより挿入することによって作成される。
Japanese Unexamined Patent Publication No. Hei 5-261462 discloses, for example, a winding start winding, a pitch rising portion, an equal pitch portion, a pitch falling portion, a winding end winding according to the shape of a coil spring. An operation program is created by calculating the development length of each divided part, setting the movement amount of the pitch tool from the pitch amount of each part, and inputting those values using a keyboard. This operation program is created by inserting the above values into a preset reference operation program using a keyboard.

【0019】そして運転プログラムの修正はばねの前記
各部分を+および−に修正するキーをキーボード上に割
付たうえ、前記運転プログラムを基に一個のばねを試作
し形状をチェックし、修正部分があればその部分に対応
するキーを所要回数押し、システムプログラム上で押さ
れた回数に修正単位を乗じた値の修正データを作成し、
且つ修正データを運転データに加算し、それを運転プロ
グラムに転送して修正し、その修正運転プログラムを基
にばねを作る。
In order to correct the operating program, keys for correcting the respective parts of the spring to + and-are assigned on a keyboard, and one spring is prototyped based on the operating program to check the shape. If there is, press the key corresponding to that part the required number of times, create correction data of a value obtained by multiplying the number of times pressed on the system program by the correction unit,
In addition, the correction data is added to the operation data, which is transferred to the operation program for correction, and a spring is formed based on the corrected operation program.

【0020】[0020]

【発明が解決しようとする課題】製品を量産している時
線材の線径の変化、残留応力の差、ツールの摩耗、或い
は連続による運転温度変化等に伴う機械の変形でばねの
コイル形状が微小に変化する。この変化量が製品の公差
内であれば製品ロスは起こらないが、前述のNCばね成
形機による製造方法では公差により外れるとロスが増大
するため機械を停止して運転プログラムを修正する必要
があり、運転停止時間により生産効率を阻害するという
問題があった。さらにコイルばねの形状を計測する機能
を備え自動補正するものがあるが、装置が高価になり製
造コストが上昇するという問題があった。
When a product is mass-produced, the coil shape of the spring is changed due to a change in the wire diameter of the wire rod, a difference in residual stress, abrasion of the tool, or a deformation of the machine due to a change in operating temperature due to continuous operation. Changes slightly. If this variation is within the tolerance of the product, no product loss will occur. However, in the above-described manufacturing method using the NC spring forming machine, if the deviation is out of tolerance, the loss increases, so it is necessary to stop the machine and correct the operation program. In addition, there is a problem that production efficiency is hindered by the operation stop time. Further, there is a device which has a function of measuring the shape of the coil spring and performs automatic correction, but there is a problem that the device is expensive and the manufacturing cost is increased.

【0021】特開平5−261462号のものは運転プ
ログラムを作成して、このプログラムに基づいて製作し
たばねが目的のばねに仕上がっているかを試作品をつく
ってその形状をチェックし、修正プログラムをつくって
正規のばねをつくるものであって、同様に形状修正に際
しては本機を停止させて行う必要がある。またばねのパ
ターンが予め作成されたものしか修正できず、例えば不
等ピッチ,テーパコイルなどの異形ばねのパターン作成
が煩雑である。そして修正用の入力キーが多数十個が割
付られているので見間違え或いは誤作動し易いという問
題がある。
Japanese Unexamined Patent Publication No. Hei 5-261462 discloses an operation program, which makes a prototype of a spring manufactured based on this program to see if it is finished to a target spring, checks its shape, and prepares a correction program. It is intended to make a regular spring, and it is necessary to stop the machine in the same manner when correcting the shape. Further, only a spring pattern that has been created in advance can be modified, and it is complicated to create a pattern of an irregularly shaped spring such as an irregular pitch or a tapered coil. Since a large number of input keys for correction are allocated to ten keys, there is a problem that the input keys are easily mistaken or malfunction.

【0022】本発明は従来技術の有するこのような問題
点に鑑みなされたものであって、その目的とするところ
は、製品を抜き取り検査によって適宜チェックし製品が
公差外になる前にNC機による量産中に機械を停止させ
ることなくピッチ,コイル径,自由長等の補正を容易に
実施できるNCばね成形機のばね形状修正方法及びばね
形状修正機能付NCばね成形機を提供しようとするもの
である。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems of the prior art, and has as its object the purpose of properly checking a product by sampling and inspecting the product by using an NC machine before the product is out of tolerance. An object of the present invention is to provide a spring shape correcting method of an NC spring forming machine and an NC spring forming machine with a spring shape correcting function which can easily correct pitch, coil diameter, free length, etc. without stopping the machine during mass production. is there.

【0023】[0023]

【課題を解決するための手段】上述の目的を達成するた
めに本発明は、コイルばね形状データ,ツール動作デー
タにもとづいて成形プログラム演算部で作られた成形プ
ログラムにより線材送り,成形ツール,ピッチツール及
びカッティングツールの全部又は一部をNC制御してコ
イルばねを成形するNCばね成形機の制御部に補正量入
力手段のパルス発生器,移動量補正カウント部及び補正
カウント記憶部が付加されたばね形状修正方法におい
て、運転に先立ちピッチツール,成形ツール,線材送
り,カッテイングツールに対して必要とする移動量補正
コードを入力しておき、連続成形中に製品を抜き取り検
査によって適宜チェックし計測された成形ばねのコイル
径,ばね自由長,コイルピッチ等の変形に応じて補正必
要箇所が生じたときに補正したい補正量をパルス発生器
により移動量補正カウント部に入力し、入力した新たな
補正量相当のパルスカウント値(A)と補正カウント記
憶部に記憶された移動量補正カウント部の初期値又は1
成形サイクル前のカウント値(B)とを成形サイクルの
切れ目において成形プログラム演算部でA−Bを演算し
て+,−補正値(C)を求め、次の成形サイクルの途中
で順次この補正(C)を成形プログラム中の対応する
移動量補正コードの対応データに加えて成形プログラム
を補正しこの補正成形プログラムにもとづき引続きばね
成形を行うものである。
SUMMARY OF THE INVENTION In order to achieve the above-mentioned object, the present invention provides a wire feed, a forming tool, a pitch, and a wire forming method based on a coil spring shape data and a tool operation data. A spring in which a pulse generator of a correction amount input means, a movement amount correction count unit, and a correction count storage unit are added to a control unit of an NC spring forming machine that forms a coil spring by NC control of all or a part of a tool and a cutting tool. In the shape correction method, input the required movement correction code for the pitch tool, forming tool, wire feed, and cutting tool prior to operation, and extract and inspect the product during continuous forming.
Coil diameter of appropriately checked measured formed form spring by査, spring free length, corrected according to deformation such as coil pitch
A correction amount to be corrected when the main portion occurs entered the movement amount correction count unit by a pulse generator, a new you entered
The pulse count value (A) corresponding to the correction amount and the initial value of the movement amount correction count unit stored in the correction count storage unit or 1
The count value (B) before the molding cycle is
In forming the program operation unit in cut by calculating the A-B +, - determine the correction value (C), the corresponding movement amount correction code during molding in the middle turn this correction value for the next molding cycle (C) Program In addition to the corresponding data, the molding program is corrected, and the spring molding is continuously performed based on the corrected molding program.

【0024】またクイル前面にNC制御で位置制御さ
れて進退する成形ツールにNC制御で送り出される線材
が衝合してコイルに曲げられ、NC制御で位置制御され
るピッチツールによって所定ピッチに成形され、NC制
御で所定長さで切断されてコイルばねを成形するNCば
ね成形機において、必要データ及び補正コードを入力す
るキーボードと、該キーボードより入力された線材送り
データ,ばね形状データ,ツール動作データ等にもとづ
き所要のプログラムデータを作成するデータ制御部と、
該データ制御部で作成されたプログラムデータを記憶す
るプログラムデータ記憶部と、該プログラムデータ記憶
部に記憶された形状データ,ツール動作データ,線材送
りデータ等にもとづき成形プログラムを作成し記憶する
とともに入力されたピッチツール,成形ツール,線材等
の移動量補正カウント数にもとづいて補正値の演算を行
い成形プログラムのデータを修正する成形プログラム演
算部と、前記ピッチツール,成形ツール,線材等の移動
量を記憶する移動量記憶部と、該移動量記憶部に記憶さ
れた数値データをパルスに変換する数値データ/パルス
変換部と、補正関連データを入力するパルス発生器と、
該パルス発生器より入力されたパルス数をカウントし前
記成形プログラム演算部にカウント値を出力する移動量
補正カウント部と、該移動量補正カウント部の初期値又
は1成形サイクル前のカウント値を入力記憶し記憶値を
前記成形プログラム演算部に出力する補正カウント記憶
部とを含んでなり、連続成形中に製品を抜き取り検査に
よって適宜チェックし計測された成形ばねのコイル径,
ばね自由長,コイルピッチ等の変形に応じて補正必要箇
所が生じたときに補正したい補正量をパルス発生器によ
り移動量補正カウント部に入力し、運転中にばねの成形
サイクルの切れ目補正値を演算し、次の成形サイクル
の途中でデータを補正するものである。
Also , the wire rod fed out by the NC control is bent to the coil by the NC control to the forming tool which is controlled in position by the NC control on the front surface of the quill, and is formed into a predetermined pitch by the pitch tool whose position is controlled by the NC control. And a keyboard for inputting necessary data and a correction code, a wire feed data, a spring shape data, and a tool operation input from the keyboard. A data control unit that creates required program data based on the data and the like;
A program data storage unit for storing the program data created by the data control unit; and forming and storing and inputting a molding program based on the shape data, tool operation data, wire feed data, etc. stored in the program data storage unit. A forming program calculation unit for calculating a correction value based on the movement amount correction count number of the pitch tool, forming tool, wire, etc. and correcting the data of the forming program , and moving the pitch tool, forming tool, wire, etc.
A movement amount storage unit for storing the amount, and a movement amount storage unit for storing the movement amount.
A numerical data / pulse converter for converting the converted numerical data into a pulse, a pulse generator for inputting correction-related data,
A moving amount correction counting unit that counts the number of pulses input from the pulse generator and outputs a count value to the molding program calculation unit; an initial value of the moving amount correction counting unit;
It is comprises a correction count storage unit for outputting the input memory to store values a count value of one molding cycle before the forming program calculating unit, a product sampling inspection during continuous molding
Therefore, the coil diameter of the formed spring, which was checked and measured as appropriate,
Items that need to be corrected according to deformations such as spring free length and coil pitch
The amount of correction to be corrected when a location
Input to the movement amount correction count section, calculate the correction value at the break of the spring forming cycle during operation, and
The data is corrected during the process.

【0025】[0025]

【作用】自動成形プログラム作成時にキーボードより
X,Y,Z,A軸のGの補正コード番号G80,G8
1,G82,G83の全部又は必要とする一部のコード
を入力しておく。製品を抜き取り検査により適宜チェッ
クし、その計測結果により成形ばねのコイル径,ばね自
由長,コイルピッチ等に補正必要所が生じたとき
の補正量相当のパルスをパルス発生器よりそれぞれ入力
し、パルス数Aをカウントしておく。
[Action] When the automatic molding program is created, the correction code numbers G80, G8 of the X, Y, Z, and A axes from the keyboard.
1, G82, and G83 are input in whole or in part. Check the product appropriately by sampling inspection.
And click, the coil diameter of the molded spring by the measurement result, the spring itself
Derived length, when the correction required offices in coil pitch or the like occurs, the correction quantity equivalent pulse type respectively from the pulse generator, keep counting the number of pulses A.

【0026】一方移動量補正カウント部の初期値又は1
成形サイクル前のカウントAを補正カウント記憶部に
Bとして記憶しておき、成形ばねの一サイクルが終了し
た切れ目で補正値C=(A−B)を成形プログラム演算
部で演算して次からの成形ばねサイクル中に対応ステッ
プにおいてプログラムデータを補正値で順次修正して修
正プログラムを作り修正された成形ばねを連続して生産
できるので、運転を停止することなく運転中にプログラ
ムデータを修正して生産能率を向上させることができ
る。また修正操作を容易にすることができる。
On the other hand, the initial value of the movement amount correction count unit or 1
The count value A before the molding cycle is stored as B in the correction count storage unit, and the correction value C = (AB) is calculated by the molding program operation unit at the end of one cycle of the molding spring, and the next time. In the corresponding step of the forming spring cycle, the program data is sequentially corrected with the correction value to create a correction program and continuously produce the corrected forming spring.
As a result, the program data can be modified during the operation without stopping the operation to improve the production efficiency. Further, the correction operation can be facilitated.

【0027】[0027]

【実施例】図6は本発明のNCばね形成機の自動プログ
ラミングを行う制御線図である。図2と同じブロックは
同じ番号を付して説明を省略する。本図では連続運転中
にサンプリングした一個の成形ばねの自由長,ピッチ,
コイル径を計測して製品公差内で限界近くになったとき
移動補正量を手動回転式のパルス発生器即ちピッチツー
ル16のX軸用として39A,成形ツール12のY軸用
として39B,線材送りのZ軸用として39C,カッテ
ィングツール21のA軸用として39Dの4個が設けら
れている。
FIG. 6 is a control diagram for performing automatic programming of the NC spring forming machine of the present invention. The same blocks as those in FIG. 2 are denoted by the same reference numerals and description thereof is omitted. In this figure, the free length, pitch,
When the coil diameter is measured and becomes close to the limit within the product tolerance, the movement correction amount is 39A for the X axis of the manually rotating pulse generator, that is, the pitch tool 16, 39B for the Y axis of the forming tool 12, and the wire feed. 39C for the Z-axis and 39D for the A-axis of the cutting tool 21 are provided.

【0028】通常X,Y,Aは1パルス0.001m
m,Zは1パルス0.1mmとする。入力されたパルス
は移動量補正カウント部40においてカウント数Aとさ
れる。本例では移動量補正カウント部40のカウンタは
加減算可能な形式を用いた。積算パルスが本例ではX,
Y,Aは100パルスとなったとき1回の補正量として
0.1mmを、またZは100パルスとなったとき1回
の補正量として10.0mmを成形プログラム演算部
4に入力する。さらに補正カウント記憶部41を設けて
成形プログラム演算部4に成形プログラム補正指令が
あるとき移動量補正カウント部40の運転前の初期値A
をBとして入力するものである。
Normally, X, Y and A are 0.001 m per pulse.
m and Z are 0.1 mm per pulse. The input pulse is used as the count number A by the movement amount correction counting unit 40. In this example, the counter of the movement amount correction counting unit 40 uses a format that can be added or subtracted. In this example, the accumulated pulse is X,
Y, A is 0.1mm, and and Z is a single corrected molding 10.0mm as quantity program calculating unit 3 when a 100 pulse as a single correction amount when it becomes 100 pulses
Enter 4 Further corrected count molding program correction command to the molding program operation unit 3 4 to the storage unit 41 is provided is the front operation moving amount correction counting unit 40 when the initial value A
Is input as B.

【0029】この構成において図3の圧縮ばねの自動プ
ログラムでピッチツール16の補正コードG80、成形
ツール12の補正コードG81、線材1の送り量補正コ
ードG82,カッティングツール21の補正コードG8
3を入れた成形プログラムを表2に示す。補正記号のG
80,G81,G82,G83は運転前の自動成形プロ
グラム時にキーボード1より入力しておくものである。
In this configuration, the correction code G80 of the pitch tool 16, the correction code G81 of the forming tool 12, the correction code G82 of the feed amount of the wire 1, and the correction code G8 of the cutting tool 21 are automatically programmed by the compression spring automatic program shown in FIG.
Table 2 shows a molding program in which No. 3 was inserted. G of correction symbol
80, G81, G82 and G83 are inputted from the keyboard 1 at the time of the automatic molding program before the operation.

【表2】 [Table 2]

【0030】表2の補正動作付の成形プログラムによる
成形ばねの製作手順を示すフローチャートの図7〜図1
0にもとづいて説明する。
FIGS. 7 to 1 are flowcharts showing a procedure for manufacturing a molded spring by a molding program with a correction operation shown in Table 2.
Description will be made based on 0.

【0031】ステップS31において補正初期設定のサ
ブルーチンに移る。ステップS51においてピッチツー
ル補正のG80のプログラム入力あったかを判断しYE
SであるからステップS52において、補正カウント記
憶部1のX軸の記憶数Bを移動量補正カウント部の運
転前にカウントしているカウント数A例えば最初であ
るので1000とし1000に一致させ成形プログラム
演算部4の補正値Cを零としステップS53に移行す
る。
In step S31, the process proceeds to a subroutine for initializing correction. In step S51, it is determined whether there is a program input of pitch tool correction G80, and YE is determined.
In step S52 since it is S, to match the the 1000 1000 Because the storage number B of X-axis of the correction count storage unit 4 1 movement amount correction count unit counts are counted before the operation of the A, for example, the first zero correction value C of the forming program operation unit 3 4 shifts to step S53.

【0032】NOであれば同様にステップS53に移行
して成形ツール補正のG81のプログラム入力があった
かを判断しYESであるから、ステップS54において
同様に移動量補正カウント部0のY軸のカウント数A
と補正カウント記憶部1のY軸記憶数BをA例えば1
000に一致させ補正値Cを零としステップS55に移
行する。NOであれば同様にステップS55に移行し、
線材送りの補正G82のプログラム入力があったかを判
断しYESであるからステップS56において同様にZ
軸のカウント数Aと記憶カウント数BをA例えば10
00に一致させ補正値Cを零とし、ステップS57に移
行する。
If NO, the process similarly proceeds to step S53, where it is determined whether or not a program input of the molding tool correction G81 has been input. If YES, the Y-axis count of the movement amount correction counting unit 40 is similarly performed at step S54. Number A
And correcting the count storage unit 4 1 of Y-axis storage number B A example 1
000, the correction value C is set to zero, and the routine goes to Step S55. If NO, similarly proceed to step S55,
It is determined whether or not the program input of the wire feed correction G82 has been made.
The axis count number A and the stored count number B are represented by A , for example, 10
00, the correction value C is set to zero, and the routine goes to Step S57.

【0033】NOであれば同様にステップS57に移行
し、カッティングツールの補正G83のプログラム入力
があったかが判断され、YESであるからステップS5
8において同様にA軸カウント数Aと記憶カウント数B
をA例えば1000に一致させ補正値Cを零としてメイ
ンルーチンに移行する。NOの場合もメインルーチンに
移行する。
If NO, the process also proceeds to step S57, where it is determined whether a program for the correction G83 of the cutting tool has been input. If YES, the process proceeds to step S5.
8, the A-axis count number A and the stored count number B
Is made equal to A, for example, 1000, the correction value C is set to zero, and the routine proceeds to the main routine. Also in the case of NO, the process shifts to the main routine.

【0034】ステップS32において運転を開始する。
ステップS33においてN=0とする。ステップS34
においてN1とする。ステップS35においてN1のG
機能を読み込む。即ち線材送り量25.0mm,ピッチ
ツール動作速度F80mm,成形ツール動作速度S50
mm,線材送り速度V50mm,カッテイングツール動
作速度W80mm,ピッチツール,成形ツールは原点=
0。ステップS36においてX軸移動量演算のサブルー
チンに移行する。
The operation is started in step S32.
In step S33, N = 0 is set. Step S34
At N1. In step S35, G of N1
Load function. That is, the wire feed amount is 25.0 mm, the pitch tool operation speed is F80 mm, and the forming tool operation speed is S50.
mm, wire feed speed V50mm, cutting tool operation speed W80mm, origin of pitch tool and forming tool =
0. In step S36, the process proceeds to a subroutine for X-axis movement amount calculation.

【0035】ステップS61においてX軸のGが補正番
号かを判断する。この場合G0であるので、NOでステ
ップS62において目標位置にプログラム記憶データ即
ちX0.0とし、ステップS64に移行する。YESで
あればステップS63で目標位置=プログラム記憶デー
タ+補正値の演算を行うがN1では必要ない。ステップ
S64において移動量として目標位置−現在位置の演算
を行うが現在位置も原点の0であるのでX0.0でメイ
ンルーチンのステップS37に移行する。
In step S61, it is determined whether or not G on the X axis is a correction number. In this case, since it is G0, the program storage data, that is, X0.0 is set to the target position in step S62 at NO, and the process proceeds to step S64. If YES, the target position = program storage data + correction value is calculated in step S63, but is not required for N1. In step S64, the target position-current position is calculated as the movement amount. However, since the current position is also 0 at the origin, the process moves to step S37 of the main routine at X0.0.

【0036】ステップS37においてはサブルーチンで
Y軸移動量を演算を行う。ステップS61でY軸の補正
番号かを判断し、NOであるのでステップS62の目標
位置をY0.0とし、ステップS64で移動量も同じY
0.0としてメインルーチンに移行する。ステップS3
8においてZ軸移動量演算のサブルーチンに移行する。
ステップS61でZ軸のGが補正番号かが判断しNOで
あるのでステップS62において目標位置=プログラム
記憶データZ25.0としステップS64において現在
位置0.0で移動量Z25.0mmとしてメインルーチ
ンS39に移行する。
In step S37, the Y-axis movement amount is calculated in a subroutine. In step S61, it is determined whether the correction number is the Y-axis correction number. Since the answer is NO, the target position in step S62 is set to Y0.0, and in step S64, the movement amount is the same Y.
The routine moves to the main routine as 0.0. Step S3
At 8, the process proceeds to a sub-routine for calculating the Z-axis movement amount.
In step S61, it is determined whether or not G on the Z axis is a correction number, and the answer is NO. In step S62, the target position is set to the program storage data Z25.0, and in step S64, the current position is 0.0 and the moving amount Z is 25.0 mm. Transition.

【0037】A軸移動量演算のサブルーチンに移行し、
ステップS61においてGが補正番号かが判断されNO
であるのでステップS62において目標位置A0.0で
ステップS64に移行し現在位置原点の0.0で移動量
0.0でメインルーチンに移行する。ステップS40に
おいて4軸X,Y,Z,A軸を移動させるがZ軸のみ2
5.0mm移動する。ステップS41において移動完了
かを判断し、NOであればステップS41を繰り返す。
線送り25.0が完了すればYESで図3の座巻密着部
が形成される。
The process proceeds to a subroutine for A-axis movement amount calculation,
In step S61, it is determined whether G is a correction number and NO
Therefore, in step S62, the process shifts to step S64 at the target position A0.0, and shifts to the main routine with the movement amount 0.0 at the current origin 0.0. In step S40, the four axes X, Y, Z and A are moved, but only the Z
Move 5.0 mm. In step S41, it is determined whether the movement is completed, and if NO, step S41 is repeated.
If the line feed 25.0 is completed, the end winding close contact portion of FIG. 3 is formed with YES.

【0038】ステップS42で次のNにプログラムデー
タ有るかが判断されN2にデータがあるからYESでス
テップS34に移行して、N=2とする。ステップS3
5でN2のG機能、即ちG80を読み込む。ステップS
36でX軸移動量演算のサブルーチンに移行する。ステ
ップS61でX軸のGが補正番号かが判断されG80で
YESであるのでステップS63に移行し目標位置はプ
ログラム記憶データX3.0+補正値Cであるが補正
入力されておらず0であるので目標位置X3.0m
mとなる。ステップS64に移行し移動量は目標位置X
3.0−現在位置であるが現在位置X0.0であるので
移動量はX3.0mmとしてメインルーチンのステップ
S37に移行する。
In step S42, it is determined whether there is program data in the next N. Since there is data in N2, the process proceeds to step S34 with YES, and N = 2. Step S3
In step 5, the G function of N2, that is, G80 is read . Step S
At 36, the flow shifts to a subroutine for X-axis movement amount calculation. Although migrated target position to step S63 because the G of the X-axis is YES correction number or is judged G80 in step S61 is a program storage data X3.0 + correction value C, the correction value has not been entered 0 Therefore, the target position X3.0m
m. The process moves to step S64 and the movement amount is the target position X.
3.0—the current position but the current position is X0.0, so the movement amount is X3.0 mm, and the routine goes to step S37 of the main routine.

【0039】ステップS37ではY軸移動量演算のサブ
ルーチンに移行するがステップS61におけるG81で
ないのでNOとなりステップS62で目標位置はY0.
0、ステップS64の移動量も現在位置Y0.0でY
0.0で変わらずメインルーチンに移行する。ステップ
S38でZ軸移動量演算のサブルーチンに移行しステッ
プS61でGが補正番号かを判断する。NOであるから
ステップS62で目標位置、ステップS64で移動量は
Z50.0としメインルーチンに移行する。
In step S37, the process proceeds to a subroutine for calculating the Y-axis movement amount. However, since it is not G81 in step S61, NO is determined, and in step S62, the target position is Y0.
0, the movement amount in step S64 is also Y at the current position Y0.0.
The routine proceeds to the main routine without change at 0.0. In step S38, the process proceeds to a subroutine for calculating the Z-axis movement amount, and in step S61, it is determined whether G is a correction number. Since it is NO, the target position is set in step S62, and the moving amount is set to Z50.0 in step S64, and the process shifts to the main routine.

【0040】ステップS39でA軸移動量演算のサブル
ーチンに移行しステップS61でGの判断はNOである
から目標位置A0.0ステップS64で移動量は現
在位置0.0であるからA0.0メインルーチンに移
行する。ステップS40においてX,Y,Z,Aの4軸
を移動させるがピッチツールの移動と線材が送り出され
る。ステップS41の移動完了でステップS42の次の
Nにプログラムデータを有るかの判断は従来技術と同様
でステップがS34に戻りN3とする。
In step S39, the process proceeds to the sub-routine for calculating the A-axis movement amount. In step S61, the determination of G is NO, so the target position is A0.0 . In step S64, the movement amount is the current position 0.0, A0. 0 , shift to the main routine. In step S40, four axes of X, Y, Z, and A are moved, and the movement of the pitch tool and the wire are sent out. Upon completion of the movement in step S41, it is determined whether there is program data in N following step S42 in the same manner as in the related art, and the process returns to step S34 to set N3.

【0041】以下のステップは異なる部分のみを説明し
他はN3又は従来技術と同様であるので説明を省略す
る。ステップS35ではG81,Y0.3,Z10.0
が読み込まれ、ステップS36ではN2と目標値,移動
量変わらず。ステップS37でザブルーチンに移行す
る。
In the following steps, only the different parts will be described, and the other steps are the same as those of N3 or the prior art, so the description will be omitted. In step S35, G81, Y0.3, Z10.0
Is read, and in step S36, the target value and the movement amount do not change from N2. The process proceeds to the sub routine in step S37.

【0042】ステップS61でG81が読み込まれてい
るのでYESでステップS63に移動量補正カウント数
が入力されておらず0であるので目標値はプログラム記
憶データのY0.3でステップS64において現在位置
0.0であるから移動量0.3mmとなるメインルーチ
ンに移行し、ステップS38で再びサブルーチンのステ
ップS61でG番号を判断しNOであるので移動量はプ
ログラム記憶値Z10.0の10.0mmとなる。
The current position in step S64 in Y0.3 target value program storage data because it is 0 has not been inputted movement amount correction count in step S63 is YES because the step S61 in G81 is loaded 0 .0, the processing shifts to the main routine in which the movement amount is 0.3 mm. In step S38, the G number is determined again in step S61 of the subroutine, and since the determination is NO, the movement amount is 10.0 mm of the program storage value Z10.0. Become.

【0043】メインルーチンに移行しステップS39に
おいて前回と変更なし。ステップS40において4軸移
動する。成形ツールが0.3mm後退し線材が10mm
送られる。順次ステップが移行しステップS34でN4
となりステップS35でG82,Z300.0が読み込
まれる。
The flow shifts to the main routine, and there is no change from the previous time in step S39. In step S40, the robot moves four axes. Forming tool retracts 0.3mm and wire rod 10mm
Sent. The steps sequentially shift to N4 in step S34.
In step S35, G82 and Z300.0 are read.

【0044】ステップS36,S37変更なくステップ
S38においてサブルーチンに移行して、ステップS6
1でGが補正番号82であるからステップS63に移行
し目標位置としてプログラム記憶データZ300.0+
補正値であるが移動量補正カウント数が入力されておら
ず0であるから、ステップS64で現在位置0で移
量は300.0mmとなる。メインルーチンに移行しス
テップS39変更なくステップS40で4軸移動させる
が、Z軸の線材送り300.00mmのみが送り出され
コイル胴部が形成される。
Steps S36 and S37 The process proceeds to the subroutine at step S38 without any change, and step S6 is executed.
In step 1, since G is the correction number 82, the flow shifts to step S63 to set the program storage data Z300.0 + as the target position.
It is a correction value but the movement amount correction count has not been entered.
Since not 0, amount of movement at the current position 0 in step S64 becomes 300.0 mm. Move to the main routine and move four axes in step S40 without changing step S39 .
However, only the Z-axis wire feed of 300.00 mm is fed to form a coil body.

【0045】ステップが順次移行しN6,N7は従来技
術と変わらず、ステップが移行してステップS34でN
8となりステップS32でG83,A30.0が読み込
まれるとステップS39でサブルーチンに移行しステッ
プS61でGが補正番号の83YESと判断されステッ
プS63において目標位置は移動量補正カウント数が入
力されておらず補正値が0であるのでプログラム記憶デ
ータA30.0となる。ステップS64の移動量は現在
位置が0であるので30.0mmとしてメインルーチン
に移行しステップS40でA軸のカッティングツールの
みが前進し、ばねが切断される。ステップS41の移行
完了YESでステップS42に移行され、次のデータが
ないかが判断されないのでステップS43に移行する。
Steps are sequentially shifted, and N6 and N7 are the same as in the prior art.
When G83 and A30.0 are read in step S32, the subroutine proceeds to step S39, and in step S61, G is determined to be 83 YES as the correction number, and in step S63, the movement amount correction count number is not input for the target position. since complement positive value is 0 the program memory data A30.0. Since the current position is 0 in step S64, the process moves to the main routine as 30.0 mm. In step S40, only the A-axis cutting tool advances, and the spring is disconnected. Shift of step S41
If the completion is YES, the process shifts to step S42. Since it is not determined whether there is the next data, the process shifts to step S43.

【0046】これまでの行程の繰り返しで連続運転され
サンプリング検査においてピッチ,ばね径,自由長等が
計測され許容誤差近くになり公差外となる恐れがでてき
て必要な補正をすることになる。計測数値より例えばピ
ッチツールの補正量が+0.2、成形ツールの補正量
がY+0.1、線材送り量がZ−10.0、カッティン
グツールの補正量は0であるとし、移動量補正カウント
部の最初のカウント数を1000とする。
The operation is continuously performed by repeating the above-described steps, and the pitch, the spring diameter, the free length, and the like are measured in the sampling inspection. From the measured values, for example, it is assumed that the correction amount of the pitch tool is X + 0.2, the correction amount of the forming tool is Y + 0.1, the wire feed amount is Z-10.0, the correction amount of the cutting tool is 0, and the movement amount correction count is set. The first count number of the set is 1000.

【0047】パルス発生器9Aのハンドルを旋回してX
軸補正量として200パルスを入力してカウント数12
00、パルスハンドル9Bを旋回してY軸補正量として
100パルスを入力してカウント数1100、パルスハ
ンドル9Cを逆旋回させてZ軸補正量として−100パ
ルスを入力してカウント数900とする。これらの数値
Aは成形プログラム演算部4に入力されているものと
する。
Turning the handle of the pulse generator 9A, X
Input 200 pulses as axis correction amount and count 12
00, the pulse handle 9B is turned to input 100 pulses as the Y-axis correction amount, and the count number is 1100. The pulse handle 9C is turned backward to input -100 pulses as the Z-axis correction amount, and the count number is 900. These figures A is assumed to be inputted to the molding program operation unit 3 4.

【0048】ステップS43で停止信号は入力されてお
らずNOであるステップS44でザブルーチンに移行
する。ステップS71において補正値として移動量補正
カウント部40の数Aから補正カウント記憶部41の記
憶数Bを減算する。この場合Aは1200,Bは100
0であるので差は200で補正量を+0.2として成形
プログラム演算部4に記憶させる。ステップS72に
おいてY軸補正値としてAは1100、Bは1000で
差が100で補正量+0.1として同様に記憶する。
The stop signal in step S43 is NO not entered proceeds to Zaburuchin at step S44. In step S71, the storage number B of the correction count storage unit 41 is subtracted from the number A of the movement amount correction count unit 40 as a correction value. In this case, A is 1200 and B is 100
Since 0 difference is stored in the molding program operation unit 3 4 a correction amount as +0.2 200. In step S72, A is 1100, B is 1000, the difference is 100, and the correction amount +0.1 is similarly stored as the Y-axis correction value.

【0049】ステップS73においてZ軸補正値として
Aは900Bは1000であるので差は−100で補
正値−10.0mmとして同様に記憶する。ステップS
74においてA軸補正値としては入力されていないので
零とし、メインルーチンに移行し、補正のかかったばね
成形行程が実行される。即ちステップN=0としステッ
プを順次移動させN1では補正なく前回通り、N2とな
ったときステップS35でG機能のG80,X3.0,
Z50.0が読み込まれるので、ステップS36ではX
軸移動量演算のサブルーチンに移行し、ステップS61
でG80YESでステップS63に移行しプログラム記
憶データX3.0補正値0.2が加算され、目標位置
X3.2とされる。ステップS64で移動量は現在零で
あるので同じ3.2mmとなる。メインルーチンに移行
する。
In step S73, A is 900 and B is 1000 as the Z-axis correction values, so that the difference is -100, and the correction value is stored as -10.0 mm. Step S
At 74, since the A-axis correction value has not been input, the value is set to zero, and the routine proceeds to the main routine, where the corrected spring forming process is executed. That is, the step N is set to 0, and the steps are sequentially moved. When the value of N1 is N2 as before without correction, the G function G80, X3.0,
Since Z50.0 is read, in step S36 X
The process proceeds to a subroutine for calculating the amount of movement of the axis, and step S61 is performed.
If YES in step G80, the flow advances to step S63 to add the correction value 0.2 to the program storage data X3.0 , thereby setting the target position X3.2. In step S64, since the movement amount is currently zero, it becomes the same 3.2 mm. Move to the main routine.

【0050】ステップS37からS39まで前回と変更
なくステップS40でXが3.2、Zが50.0移動さ
れる。ステップが移行しN3となってステップS35で
G機能G81,Y0.3,Z10.0が読み込まれ、ス
テップS36はN2と同じ。ステップS37でY軸移動
量演算のサブルーチンに移行する。ステップS61で補
正のG81であるのでYES、ステップS63でプログ
ラム記憶データ0.3に補正値0.1を加え目標位置
を0.4とする。
From step S37 to S39, X is moved by 3.2 and Z is moved by 50.0 in step S40 without changing from the previous time. The step shifts to N3, and the G functions G81, Y0.3, Z10.0 are read in step S35, and step S36 is the same as N2. In step S37, the process proceeds to a subroutine for calculating the Y-axis movement amount. Since it is G81 for correction in step S61, YES, a correction value 0.1 is added to the program storage data Y 0.3 in step S63, and the target position is set to 0.4.

【0051】ステップS64で現在値はY0.0である
ので移動量は同じ0.4mmとなる。メインルーチンに
移行しステップS38,S39は前回と同じでステップ
S40でY0.4,Z10.0移動される。ステップが
移行し、N4となりステップS35でG82,Z30
0.0が読み込まれる。ステップS36,S37前回
と変わらず移行し、ステップS38においてZ軸移動量
演算のサブルーチンに移行する。
Since the current value is Y0.0 in step S64, the movement amount is the same 0.4 mm. The process shifts to the main routine, and steps S38 and S39 are the same as the previous time, and are moved by Y0.4 and Z10.0 in step S40. The step shifts to N4, and G82, Z30 in step S35.
0.0 is read. Steps S36 and S37 are the same as before, and in step S38, the processing shifts to a sub-routine of the Z-axis movement amount calculation.

【0052】ステップS61でGが補正の82でYES
としてステップS63に移行する。プログラム記憶デー
タZ300.0に補正値−10.0が加算され目標値が
290.0となる。ステップS64でZ軸はインクリメ
ンタルで指令してるので現在位置は零とし290.0を
移動量とする。メインルーチンに移行しステップS39
は前回し変化なくステップS40でZ軸を290.0移
動させる。ステップが移行しN5となり前回と変わりな
く行程のステップが終わりN6,N7は前回と変更なく
移行してN8となる。
In step S61, G is corrected to 82 and YES.
To step S63. The correction value -10.0 is added to the program storage data Z300.0, and the target value becomes 290.0. Since the Z-axis is commanded incrementally in step S64, the current position is set to zero and 290.0 is set as the movement amount. Move to main routine and step S39
Moves the Z axis by 290.0 in step S40 without any change. The step shifts to N5, and the steps of the stroke end as before, and N6 and N7 shift to N8 without any change from the previous step.

【0053】ステップS35でG機能83,A30.0
が読み込まれる。ステップS36,ステップS37,ス
テップS38と変更なく移行して、ステップS39でA
軸移動量演算のサブルーチンに移行する。ステップS6
1でGが補正の83でYESであるので、ステップS6
3においてプログラムデータA30.0に補正値を加え
るが、移動量補正カウント部40の補正カウント数
0であるから補正値0であるので目標位置A30.0。
In step S35, G function 83, A 30.0
Is read. The process proceeds to Step S36, Step S37, and Step S38 without change, and A
The process proceeds to a subroutine for calculating the axis movement amount. Step S6
Since G is 1 and YES is 83 in the correction, step S6
In step 3, a correction value is added to the program data A 30.0. However, since the correction count number A of the movement amount correction counting section 40 is 0, the correction value is 0, so the target position A30.0.

【0054】ステップS64において現在位置零である
ので移動量は30.0mmとなりメインルーチンに移行
しステップS40でカッティングツールが30.0移動
さればね切断される。ステップが移行しN9となりステ
ップS35でG0,A0を読み込み順次移行してステッ
プS40でカッティングツールが元に戻る。ステップS
42からS43に移行し停止信号がNOであれば連続運
転を繰り返し、YESであればステップS45で運転を
停止させる。なおX軸,Y軸,Z軸,A軸の補正は全部
行う必要のない場合は一部のみを実行するプログラムと
することも勿論自由である。
Since the current position is zero in step S64, the amount of movement is 30.0 mm, and the routine shifts to the main routine. In step S40, the cutting tool is moved 30.0 and the spring is cut. The step shifts to N9, and G0 and A0 are read in step S35, and sequentially shifts. In step S40, the cutting tool returns to the original state. Step S
The process proceeds from S42 to S43, and if the stop signal is NO, the continuous operation is repeated. If YES, the operation is stopped in step S45. If it is not necessary to perform all the corrections for the X-axis, Y-axis, Z-axis, and A-axis, it is of course possible to use a program that executes only a part of the correction.

【0055】[0055]

【発明の効果】上述のようであるので本発明は以下の効
果を奏する。サンプリングした成形ばねの計測結果によ
りコイル径,ばね自由長,コイルピッチ等の一部又は全
部に補正の必要が生じたとき、パルス発生器のハンドル
を旋回して補正値相当のパルスを入力して成形ばねの成
形完了時に補正値を演算しプログラムデータを連続運転
中に対応するプログラムの補正位置に入力して適宜修正
することができるので、線材,機械の構成,機械の精度
や時間の経過にともなう温度変化等の影響に対してこま
めに容易に対応でき、公差内に入る製品を連続して生産
でき、また運転停止による生産能率の低下をなくするこ
とができて、能率の向上と品質の安定化の双方に寄与す
るものである。なおこの方式はストレートばねに限らず
テーパばねのような特殊ばねにも容易に実施できるもの
である。
As described above, the present invention has the following effects. According to the measurement results of the sampled molded spring
When it is necessary to correct part or all of the coil diameter, spring free length, coil pitch, etc., turn the handle of the pulse generator and input a pulse equivalent to the correction value to correct when the forming spring is completed. Values can be calculated and program data can be input to the corresponding program correction position during continuous operation and can be corrected as appropriate. Therefore, the effects of wire rods, machine configuration, machine accuracy, temperature changes over time, etc. In addition, it can easily deal with diligently, can continuously produce products that fall within tolerances, and can prevent reduction in production efficiency due to shutdown, contributing to both improvement of efficiency and stabilization of quality Things. This method can be easily applied not only to a straight spring but also to a special spring such as a taper spring.

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

【図1】NCばね成形機のツール,線材の駆動系統を示
す説明図である。
FIG. 1 is an explanatory view showing a tool and a wire drive system of an NC spring forming machine.

【図2】従来の自動プログラミングを行う制御ブロック
構成図である。
FIG. 2 is a control block configuration diagram for performing conventional automatic programming.

【図3】成形ばねの一例を示す図である。FIG. 3 is a diagram illustrating an example of a formed spring.

【図4】従来のばね成形のフローのメインルーチンを示
す図である。
FIG. 4 is a diagram showing a main routine of a flow of a conventional spring forming.

【図5】従来のばね成形のX,Y,Z,A軸の移動量演
算処理のフローのサブルーチンを示す図である。
FIG. 5 is a diagram showing a subroutine of a flow of X-, Y-, Z-, and A-axis movement amount calculation processing of the conventional spring forming.

【図6】本発明の自動プログラミングを行う制御ブロッ
ク構成図である。
FIG. 6 is a control block configuration diagram for performing automatic programming according to the present invention.

【図7】本発明のばね成形のフローのメインルーチンを
示す図である。
FIG. 7 is a diagram showing a main routine of a spring forming flow according to the present invention.

【図8】補正初期設定処理のフローのサブルーチンを示
す図である。
FIG. 8 is a diagram showing a subroutine of a flow of a correction initial setting process.

【図9】X,Y,Z,A軸移動量演算処理のフローのサ
ブルーチンを示す図である。
FIG. 9 is a diagram showing a subroutine of a flow of X, Y, Z, A axis movement amount calculation processing.

【図10】補正値演算処理のフローのサブルーチンを示
す図である。
FIG. 10 is a diagram showing a subroutine of a flow of a correction value calculation process.

【符号の説明】[Explanation of symbols]

31 キーボード 32 データ入力制
御部 33 プログラム記憶部 34 成形プログラ
ム演算部 35 移動量記憶部 36 数値データ/
パルス変換部 39A,39B,39C,39D パルス発生器 40 移動量補正カウント部 41 補正カウント
記憶部
Reference Signs List 31 keyboard 32 data input control unit 33 program storage unit 34 molding program calculation unit 35 movement amount storage unit 36 numerical data /
Pulse converters 39A, 39B, 39C, 39D Pulse generator 40 Movement amount correction count unit 41 Correction count storage unit

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) B21F 3/06 B21F 35/00 ──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int. Cl. 6 , DB name) B21F 3/06 B21F 35/00

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 コイルばね形状データ,ツール動作デー
タにもとづいて成形プログラム演算部で作られた成形プ
ログラムにより線材送り,成形ツール,ピッチツール及
びカッティングツールの全部又は一部をNC制御してコ
イルばねを成形するNCばね成形機の制御部に補正量入
力手段のパルス発生器,移動量補正カウント部及び補正
カウント記憶部が付加されたばね形状修正方法におい
て、運転に先立ちピッチツール,成形ツール,線材送
り,カッテイングツールに対して必要とする移動量補正
コードを入力しておき、連続成形中に製品を抜き取り検
査によって適宜チェックし計測された成形ばねのコイル
径,ばね自由長,コイルピッチ等の変形に応じて補正必
要箇所が生じたときに補正したい補正量をパルス発生器
により移動量補正カウント部に入力し、入力した新たな
補正量相当のパルスカウント値(A)と補正カウント記
憶部に記憶された移動量補正カウント部の初期値又は1
成形サイクル前のカウント値(B)とを成形サイクルの
切れ目において成形プログラム演算部でA−Bを演算し
て+,−補正値(C)を求め、次の成形サイクルの途中
で順次この補正(C)を成形プログラム中の対応する
移動量補正コードの対応データに加えて成形プログラム
を補正しこの補正成形プログラムにもとづき引続きばね
成形を行うことを特徴とするNCばね成形機のばね形状
修正方法。
1. A coil spring which performs NC control of all or a part of a wire rod feed, a forming tool, a pitch tool, and a cutting tool by a forming program created by a forming program operation section based on coil spring shape data and tool operation data. In a spring shape correction method in which a pulse generator of a correction amount input means, a movement amount correction count unit, and a correction count storage unit are added to a control unit of an NC spring forming machine for forming a shape, a pitch tool, a forming tool, and a wire rod feeder are operated prior to operation. , Enter the required movement correction code to the cutting tool, and extract and inspect the product during continuous molding.
Coil diameter of appropriately checked measured formed form spring by査, spring free length, corrected according to deformation such as coil pitch
A correction amount to be corrected when the main portion occurs entered the movement amount correction count unit by a pulse generator, a new you entered
The pulse count value (A) corresponding to the correction amount and the initial value of the movement amount correction count unit stored in the correction count storage unit or 1
The count value (B) before the molding cycle is
In forming the program operation unit in cut by calculating the A-B +, - determine the correction value (C), the corresponding movement amount correction code during molding in the middle turn this correction value for the next molding cycle (C) Program A spring shape correcting method for an NC spring forming machine, characterized in that the forming program is corrected in addition to the corresponding data of (1) and the spring forming is continuously performed based on the corrected forming program.
【請求項2】 クイル前面にNC制御で位置制御されて
進退する成形ツールにNC制御で送り出される線材が衝
合してコイルに曲げられ、NC制御で位置制御されるピ
ッチツールによって所定ピッチに成形され、NC制御で
所定長さで切断されてコイルばねを成形するNCばね成
形機において、必要データ及び補正コードを入力するキ
ーボードと、該キーボードより入力された線材送りデー
タ,ばね形状データ,ツール動作データ等にもとづき所
要のプログラムデータを作成するデータ制御部と、該デ
ータ制御部で作成されたプログラムデータを記憶するプ
ログラムデータ記憶部と、該プログラムデータ記憶部に
記憶された形状データ,ツール動作データ,線材送りデ
ータ等にもとづき成形プログラムを作成し記憶するとと
もに入力されたピッチツール,成形ツール,線材等の移
動量補正カウント数にもとづいて補正値の演算を行い成
形プログラムのデータを修正する成形プログラム演算部
と、前記ピッチツール,成形ツール,線材等の移動量を
記憶する移動量記憶部と、該移動量記憶部に記憶された
数値データをパルスに変換する数値データ/パルス変換
部と、補正関連データを入力するパルス発生器と、該パ
ルス発生器より入力されたパルス数をカウントし前記成
形プログラム演算部にカウント値を出力する移動量補正
カウント部と、該移動量補正カウント部の初期値又は1
成形サイクル前のカウント値を入力記憶し記憶値を前記
成形プログラム演算部に出力する補正カウント記憶部と
を含んでなり、連続成形中に製品を抜き取り検査によっ
て適宜チェックし計測された成形ばねのコイル径,ばね
自由長,コイルピッチ等の変形に応じて補正必要箇所が
生じたときに補正したい補正量をパルス発生器により移
動量補正カウント部に入力し、運転中にばねの成形サイ
クルの切れ目補正値を演算し、次の成形サイクルの途
でデータを補正することを特徴とするばね形状修正機
能付NCばね成形機。
2. A wire which is sent out by NC control to a forming tool which is controlled in position by NC control on the front surface of the quill and advances and retreats is bent into a coil and formed into a predetermined pitch by a pitch tool whose position is controlled by NC control. And a keyboard for inputting necessary data and a correction code, a wire feed data, a spring shape data, and a tool operation input from the keyboard. A data control unit for creating required program data based on data and the like; a program data storage unit for storing program data created by the data control unit; shape data and tool operation data stored in the program data storage unit , Forming and storing a forming program based on wire feed data, etc. A forming program calculation unit for calculating a correction value based on the movement count correction count number of the tool, forming tool, wire rod, etc. and correcting the data of the forming program, and a moving amount of the pitch tool, forming tool, wire rod, etc.
A moving amount storage unit for storing , and a moving amount stored in the moving amount storage unit.
A numerical data / pulse converter for converting numerical data into pulses, a pulse generator for inputting correction-related data, counting the number of pulses input from the pulse generator, and outputting a count value to the molding program calculator. A movement amount correction count unit, and an initial value or 1 of the movement amount correction count unit.
Type stores the count value of the previous molding cycle and outputs the stored value to the forming program computing unit comprises a correction count storage unit, by the product sampling inspection during continuous molding
The coil diameter and spring of the formed spring measured and checked as appropriate
Correction points are required depending on deformations such as free length and coil pitch.
When it occurs, the correction amount to be corrected is transferred by the pulse generator.
The correction value is input to the moving amount correction count section, and a correction value is calculated at the break of the molding cycle of the spring during operation, and is calculated during the next molding cycle .
An NC spring forming machine with a spring shape correction function, wherein data is corrected in the inside .
JP16594094A 1994-06-24 1994-06-24 Spring shape correcting method of NC spring forming machine and NC spring forming machine with spring shape correcting function Expired - Fee Related JP2894542B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16594094A JP2894542B2 (en) 1994-06-24 1994-06-24 Spring shape correcting method of NC spring forming machine and NC spring forming machine with spring shape correcting function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16594094A JP2894542B2 (en) 1994-06-24 1994-06-24 Spring shape correcting method of NC spring forming machine and NC spring forming machine with spring shape correcting function

Publications (2)

Publication Number Publication Date
JPH0810883A JPH0810883A (en) 1996-01-16
JP2894542B2 true JP2894542B2 (en) 1999-05-24

Family

ID=15821912

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16594094A Expired - Fee Related JP2894542B2 (en) 1994-06-24 1994-06-24 Spring shape correcting method of NC spring forming machine and NC spring forming machine with spring shape correcting function

Country Status (1)

Country Link
JP (1) JP2894542B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6648996B2 (en) * 2000-10-19 2003-11-18 Chuo Hatsujo Kabushiki Kaisha Method and apparatus for producing a helical spring
JPWO2002077729A1 (en) * 2001-03-27 2004-07-15 株式会社テクノウェイブ Multi-axis machine and motor control method
JP4010829B2 (en) 2002-02-21 2007-11-21 中央発條株式会社 Coil spring manufacturing method and apparatus
JP6420690B2 (en) * 2015-02-26 2018-11-07 日本発條株式会社 Coiling machine and coil spring manufacturing method
JP2019005782A (en) * 2017-06-26 2019-01-17 サンコール株式会社 Manufacturing method of coil spring

Also Published As

Publication number Publication date
JPH0810883A (en) 1996-01-16

Similar Documents

Publication Publication Date Title
US5237509A (en) Method and apparatus for compensating positional errors
US6526360B1 (en) Power consumption display device for machine
DE102005015810B4 (en) Processing time calculator
JP5727253B2 (en) Method for manufacturing a helical spring by spring winding
US4727496A (en) Shape inputting system in automatic programming function
KR890002436B1 (en) Numerical control device
EP0778092B1 (en) Punch press system and control method therefor
US4214309A (en) Numerical controller for controlling machining of oval workpiece
JP2894542B2 (en) Spring shape correcting method of NC spring forming machine and NC spring forming machine with spring shape correcting function
US3553989A (en) Tube bender with incremental tube measurement
US4173786A (en) Method and apparatus for cutting a thread on a rotating workpiece
KR970002297B1 (en) Back pressure control method and apparatus for electric injection molding machine
EP0531532B1 (en) Method of setting waveform of pressure in injection pressure control and injection molding machine
JP3162549B2 (en) How to edit and set the injection speed of an injection molding machine
KR960015298B1 (en) Positioning method for an electrically driven injection molding machine
KR890002435B1 (en) A numerical control method
EP0264646A1 (en) Method for grinding a non-circular workpiece
EP0364600B1 (en) Round screw machining method
TWI654039B (en) Spring producing system
US4697059A (en) Apparatus for pattern controlled electrode movement for E.D.M.
JP2979323B2 (en) Electrical control device for control signal generation
JP2004306075A (en) Computer program for controlling wire rod working machine and computer controlled wire rod working machine provided with the program
JP2858628B2 (en) Automatic programming device for coil spring forming machine
JPS604017A (en) Setting of operating condition of injection molding machine
JP3581164B2 (en) Product quality judgment method and product quality judgment device for injection molding machine

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees