JPH02110709A - Nc device - Google Patents
Nc deviceInfo
- Publication number
- JPH02110709A JPH02110709A JP63264659A JP26465988A JPH02110709A JP H02110709 A JPH02110709 A JP H02110709A JP 63264659 A JP63264659 A JP 63264659A JP 26465988 A JP26465988 A JP 26465988A JP H02110709 A JPH02110709 A JP H02110709A
- Authority
- JP
- Japan
- Prior art keywords
- servo
- processing data
- data
- axis
- position command
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000004891 communication Methods 0.000 claims abstract description 22
- 238000003754 machining Methods 0.000 claims description 13
- 238000000034 method Methods 0.000 claims description 3
- 238000004364 calculation method Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/35—Nc in input of data, input till input file format
- G05B2219/35361—Discriminate between data for servocontrol directly and nc processing data
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/35—Nc in input of data, input till input file format
- G05B2219/35564—High speed data processor between host and nc for direct conversion of data
Landscapes
- Multi-Process Working Machines And Systems (AREA)
- General Factory Administration (AREA)
- Numerical Control (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は工作機用NC装置における、ホストコンピュー
タからの伝送NC加工データによりNC装置を稼働させ
るDNC運転において、NC装置が制御するサーボ軸を
、高速・高精度に制御することを可能にする技術に関す
るものである。Detailed Description of the Invention [Field of Industrial Application] The present invention is applied to a DNC operation in an NC device for a machine tool, in which the NC device is operated by NC processing data transmitted from a host computer, in which a servo axis controlled by the NC device is operated. , relates to technology that enables high-speed, high-precision control.
3次元の自由曲面をNC工作機にて切削するためには、
自由曲面を表現する要素である、自由曲線を、微小分割
した直線としてNC装置へNC加ニブログラムとして人
力する。In order to cut a three-dimensional free-form surface with an NC machine tool,
A free curve, which is an element expressing a free curved surface, is divided into finely divided straight lines and manually inputted to an NC device as an NC program.
そうしてこのような加工においてはプログラム量が膨大
な量となるため通信回線を介してホストコンピュータよ
りDNC運転を行なうケースが多い。Since the amount of programs required in such machining is enormous, DNC operation is often performed from a host computer via a communication line.
上記のような微小直線指令のDNC運転によるNC加工
を行なう時の問題点を、第1図に示す従来のNC装置の
構成図により説明する。The problems encountered when performing NC machining by DNC operation using minute linear commands as described above will be explained with reference to the configuration diagram of a conventional NC device shown in FIG.
図において、1はホストコンピュータ、2はNC装置で
、ホストコンピュータ1から送出されるNC加工データ
12がNC装置2の通信制御部3に与えられると、通信
制御部3からNC加ニブログ一ζ7−
ラム解析部4にNC加工データ13が与えられ、NC加
ニブログラム解析部4はNC加工データ13に応じて解
析されたNC加ニブログラムの1ブロツクデータ14を
補間演算部5に与え、補間演算部5によって補間された
データがZ軸、Y軸、Z軸の各軸サーボ制御部6〜8に
与えられて、Z軸、Y軸、Z軸の各軸のサーボモータ9
〜11が運転される。In the figure, 1 is a host computer, 2 is an NC device, and when NC processing data 12 sent from the host computer 1 is given to the communication control unit 3 of the NC device 2, the communication control unit 3 sends the NC processing data 12 to the NC machine log ζ7- The NC processing data 13 is given to the NC processing data 13, and the NC processing data 13 is given to the interpolation calculation section 5. The interpolated data is given to the Z-axis, Y-axis, and Z-axis servo control units 6 to 8, and the servo motor 9 for each of the Z-axis, Y-axis, and Z-axis
~11 is operated.
ところが、この従来装置であると、次のような問題点が
ある。However, this conventional device has the following problems.
(1)NCプログラム解析部4の、NC加ニブログ加ニ
ブログラムを、補間演算部5が実行可能な形に翻訳・演
算する時間)が移動時間(補間演算部5が解析されたデ
ータによりパルス分配する時間)よりも長くなってしま
い、軸の移動が間欠的になってしまう、または速度が指
令速度よりも遅くなる。(1) The time required for the NC program analysis section 4 to translate and calculate the NC program and program into an executable form by the interpolation section 5) is changed from the movement time (the time for the interpolation section 5 to distribute pulses based on the analyzed data). time), the axis movement becomes intermittent, or the speed becomes slower than the commanded speed.
(2)NCプログラム解析部4は、補間演算部5が1ブ
ロックパルス分配終了したことを検出し、次の1ブロツ
クデータを補間演算部5に転送するが、NCプログラム
解析部4の転送時間と補間演算部5の受取時間が、1ブ
ロツクの移動時間より長くなってしまい、上記(1)と
同様な現象となってしまう。(2) The NC program analysis unit 4 detects that the interpolation calculation unit 5 has finished distributing one block of pulses, and transfers the next one block data to the interpolation calculation unit 5, but the transfer time of the NC program analysis unit 4 and The receiving time of the interpolation calculation section 5 becomes longer than the moving time of one block, resulting in a phenomenon similar to (1) above.
このような問題点を解決するために従来種々の試みがな
された。−例として、NCプログラム解析部4の処理時
間をミニマムにするために、NC加工データ12にIS
Oコードではなく、バイナリデータを用いることである
。しかしながらこの方法では上記(1)は解決するが上
記(2)の解決にはならない。Various attempts have been made in the past to solve these problems. - As an example, in order to minimize the processing time of the NC program analysis section 4, IS is added to the NC processing data 12.
The key is to use binary data instead of O code. However, although this method solves the above (1), it does not solve the above (2).
そこで、本発明は上記(1)、(2)記載のような問題
のないNC装置を提供しようとするものである。Therefore, the present invention aims to provide an NC device that does not have the problems described in (1) and (2) above.
本発明は上記の課題を解決するためになされたもので、
軸サーボ制御部の位置指令は、単位時間あたりの移動パ
ルスであるので、ホストコンピュータから送出されるN
C加ニブログラムを単位時間当りの各軸移動パルスに変
換し、そのデータを用いてDNC運転を行うようにした
ものである。The present invention was made to solve the above problems,
The position command of the axis servo control unit is a movement pulse per unit time, so the N
The C-addition program is converted into movement pulses for each axis per unit time, and the data is used to perform DNC operation.
即ち、従来技術で問題となるようなNC加工データに対
しては、ホストコンピュータで各軸毎に単位時間あたり
の移動パルスに演算し、通信回線を経由し、NC装置の
通信制御部に入力し、該通信制御部は入力したNC加工
データが、NCプログラム解析部を介するデータか、サ
ーボ部への位置指令かを判別し、サーボ制御部への指令
ならば、サーボ部に同期をとって位置指令を出力するサ
ーボ位置指令分配部を介して、サーボ制御部に入力NC
加工データを分配するようにしたものである。In other words, for NC machining data that is problematic with conventional technology, the host computer calculates movement pulses per unit time for each axis and inputs them to the communication control section of the NC device via a communication line. , the communication control unit determines whether the input NC machining data is data via the NC program analysis unit or a position command to the servo unit, and if it is a command to the servo control unit, it synchronizes with the servo unit and performs the position command. NC is input to the servo control unit via the servo position command distribution unit that outputs commands.
It is designed to distribute processed data.
第2図は本発明の実施の一例を示すもので、第1図に示
す従来装置と異なる点は、通信制御部3と軸サーボ制御
部6〜8間にサーボ位置指令分配部16を設けた点であ
る。FIG. 2 shows an example of the implementation of the present invention, and the difference from the conventional device shown in FIG. 1 is that a servo position command distribution section 16 is provided between the communication control section 3 and the axis servo control sections 6 to 8. It is a point.
零NC装置における通信制御部3は、ホストコンピュー
タ1より通信回線を介して伝送されるNC加工データ1
2を、NCプログラム解析部4で処理するNC加工デー
タ13か、サーボ制御部へのNC加工データ17かを判
別し、軸サーボ制御部6〜8へのNC加工データ17で
あれば、サーボ位置指令分配部16へ転送する。そして
、サーボ位置指令分配部16は通信制御部3からのNC
加工データ17即ちサーボ位置指令を、サーボ制御部6
〜8に同期をとって転送する。The communication control unit 3 in the zero NC device receives NC processing data 1 transmitted from the host computer 1 via the communication line.
2 is NC machining data 13 to be processed by the NC program analysis unit 4 or NC machining data 17 to the servo control unit. If it is NC machining data 17 to the axis servo control units 6 to 8, the servo position is determined. It is transferred to the command distribution section 16. Then, the servo position command distribution section 16 receives the NC from the communication control section 3.
The machining data 17, that is, the servo position command, is sent to the servo control unit 6.
Transfer in synchronization with ~8.
これにより、NCプログラム解析部4の処理時間、補間
制御部5への1ブロツクデ一タ転送時間の制約をうけず
に、サーボ軸の高速・高精度動作が可能となる。As a result, the servo axis can operate at high speed and with high precision without being limited by the processing time of the NC program analysis section 4 or the time required to transfer one block of data to the interpolation control section 5.
また一般には、一連のNC加工データ内にはM機能等サ
ーボ軸制御以外の指令や、NCプログラム解析部4の処
理時間が問題とならない位置決め指令が混在する。従っ
て通信回線により伝送するNC加工データ12は、通信
制御パケットにより、またはデータ内のデリミタにより
、NC加ニブログラム解析部13を介するものか、サー
ボ制御部への位置指令かを判別するものとする。Generally, a series of NC machining data includes commands other than servo axis control, such as the M function, and positioning commands for which the processing time of the NC program analysis section 4 is not a problem. Therefore, it is assumed that the NC processing data 12 transmitted via the communication line is determined by a communication control packet or a delimiter within the data to determine whether it is transmitted via the NC program analysis section 13 or a position command to the servo control section.
上記説明は3次元自由曲面を切削するNC工作機の代表
的な軸構成である、XYZの3軸構成の場合を説明した
が、より複雑な形状を切削することの可能な5軸・6軸
構成の場合も、全く同様な制御方法により高速サーボ軸
制御が可能である。The above explanation describes the case of a 3-axis XYZ configuration, which is a typical axis configuration of an NC machine tool that cuts 3-dimensional free-form surfaces, but 5-axis and 6-axis configurations are capable of cutting more complex shapes. In the case of this configuration, high-speed servo axis control is also possible using a completely similar control method.
本発明は、ホストコンピュータからのNC加ニブログラ
ムをNCプログラム解析部で処理するNC加工データか
、サーボ制御部へのNC加工データかを判別して、サー
ボ制御部へのNC加工データであれば、直接軸サーボ制
御部へ分配する構成であるので、高速運転が可能となっ
た。The present invention determines whether an NC program from a host computer is NC processing data to be processed by an NC program analysis section or NC processing data to be sent to a servo control section, and if it is NC processing data to be sent to a servo control section, Since it is configured to distribute directly to the axis servo control section, high-speed operation is possible.
第1図は従来装置のブロック図、第2図は本発明の実施
例のブロック図である。
1・・・ホストコンピュータ
2・・・NC装置
3・・・通信制御部
4・・・NC加ニブログラム解析部
5・・・補間演算部
6・・・X軸サーボ制御部
7・・・Y軸サーボ制御部
8・・・X軸サーボ制御部
9・・・X軸サーボモータ
10・・・Y軸サーボモータ
11・・・X軸サーボモータ
12・・・NC加工データ
13・・・NC加工データ
14・・・解析されたNC加ニブログラムの1プロ・ン
クデータ
15・・・サーボ位置指令
16・・・サーボ位置指令分配部
17・・・NC加工データ
18・・・サーボ位置指令FIG. 1 is a block diagram of a conventional device, and FIG. 2 is a block diagram of an embodiment of the present invention. 1... Host computer 2... NC device 3... Communication control section 4... NC program analysis section 5... Interpolation calculation section 6... X-axis servo control section 7... Y-axis Servo control unit 8...X-axis servo control unit 9...X-axis servo motor 10...Y-axis servo motor 11...X-axis servo motor 12...NC machining data 13...NC machining data 14... Analyzed NC machining program data 15... Servo position command 16... Servo position command distribution unit 17... NC machining data 18... Servo position command
Claims (1)
部に対し、NC加工データとして、サーボ制御部に与え
る位置指令情報をホストコンピュータより入力し、その
入力データによるサーボ軸制御が可能な通信方式を有す
るNC装置において、前記ホストコンピュータより通信
回線を介して入力するNC加工データがNCプログラム
解析部で処理するNC加工データか、軸サーボ制御部へ
のNC加工データかを判別する通信制御部と、この通信
制御部で弁別した前記軸サーボ制御部へのNC加工デー
タを各軸サーボ制御部へ分配するサーボ位置指令分配部
を具備したことを特徴とするNC装置。Communication that allows position command information to be given to the servo control unit as NC processing data to be input from the host computer to the communication control unit of the NC device using a communication line for DNC operation, and servo axis control based on the input data. In the NC apparatus having the above-mentioned method, a communication control section determines whether NC processing data input from the host computer via a communication line is NC processing data to be processed by the NC program analysis section or NC processing data to the axis servo control section. and a servo position command distribution unit that distributes the NC machining data to the axis servo control unit discriminated by the communication control unit to each axis servo control unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63264659A JPH02110709A (en) | 1988-10-20 | 1988-10-20 | Nc device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63264659A JPH02110709A (en) | 1988-10-20 | 1988-10-20 | Nc device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH02110709A true JPH02110709A (en) | 1990-04-23 |
Family
ID=17406424
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63264659A Pending JPH02110709A (en) | 1988-10-20 | 1988-10-20 | Nc device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH02110709A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8364288B2 (en) | 2009-12-04 | 2013-01-29 | Industrial Technology Research Institute | Apparatus and method of synchronizing and interpolating axes of multi-system |
-
1988
- 1988-10-20 JP JP63264659A patent/JPH02110709A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8364288B2 (en) | 2009-12-04 | 2013-01-29 | Industrial Technology Research Institute | Apparatus and method of synchronizing and interpolating axes of multi-system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Koren et al. | Five-axis surface interpolators | |
CA2231308C (en) | Adaptive feedrates from geometry modeling for nc machining | |
Martinov et al. | Specialized numerical control system for five-axis planing and milling center | |
EP0137857A1 (en) | Numerical control method | |
JPS63182707A (en) | Acceleration/deceleration control device | |
EP0137047A4 (en) | Method of determining three-dimensional tool path. | |
Lin et al. | Real-time interpolators for multi-axis CNC machine tools | |
US5126646A (en) | Nc program drawing method | |
Bedi et al. | Spline interpolation technique for NC machines | |
JPH02110709A (en) | Nc device | |
JPH01193146A (en) | Numerically controlled machine | |
US4766546A (en) | Numerically controlled apparatus including functions of synchronous-simultaneous transaction and independent-simultaneous translation | |
JPH08234819A (en) | Numerical controller | |
Yakovlev et al. | Software development for 3d visualization of g-code when working with CNC machines | |
Qian | Automatic feed-rate control command generation—A step towards intelligent CNC | |
JPH01184506A (en) | System for interpolating pulse with high accuracy | |
JP2002091526A (en) | Numerical controller | |
JPH01152509A (en) | Cnc control system | |
JPH01156803A (en) | Feeding speed control method | |
JP2779797B2 (en) | Numerical control unit | |
JPH02181805A (en) | Interpolation system for synchronous pulse | |
Cao et al. | An open industrial robot based on SERCOS | |
JPS63104110A (en) | Machining system | |
EP0735444A3 (en) | Method for operating a machine tool or a robot with directly interacting main axles and additional positioning axles | |
JPH04155405A (en) | Controller |