JPS63163508A - Numerical control system - Google Patents
Numerical control systemInfo
- Publication number
- JPS63163508A JPS63163508A JP30792386A JP30792386A JPS63163508A JP S63163508 A JPS63163508 A JP S63163508A JP 30792386 A JP30792386 A JP 30792386A JP 30792386 A JP30792386 A JP 30792386A JP S63163508 A JPS63163508 A JP S63163508A
- Authority
- JP
- Japan
- Prior art keywords
- command
- block
- speed
- blocks
- read
- 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.)
- Granted
Links
- 230000006870 function Effects 0.000 claims abstract description 30
- 238000007781 pre-processing Methods 0.000 claims abstract description 9
- 238000003754 machining Methods 0.000 claims description 48
- 238000000034 method Methods 0.000 claims description 20
- 238000010586 diagram Methods 0.000 description 3
- 101150065817 ROM2 gene Proteins 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- FFBHFFJDDLITSX-UHFFFAOYSA-N benzyl N-[2-hydroxy-4-(3-oxomorpholin-4-yl)phenyl]carbamate Chemical compound OC1=C(NC(=O)OCC2=CC=CC=C2)C=CC(=C1)N1CCOCC1=O FFBHFFJDDLITSX-UHFFFAOYSA-N 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000002203 pretreatment Methods 0.000 description 1
Landscapes
- Numerical Control (AREA)
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、数値制御方式の改良に関し、特に、微小な移
動量が連続した形状をしたワーク笠の高速加工を連続的
に行うことのできる高速加工用数値制御方式に関する。DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to the improvement of numerical control systems, and in particular to high-speed machining that can continuously perform high-speed machining of workpiece caps that have a shape with continuous minute movements. Concerning numerical control methods for use.
従来の技術
従来の数値制御装置は、指令情報を1ブロツク読取る毎
にそのブロックに収容されているデータの内容を解読し
てパルス分配用の実行形式のデータを用意し、この実行
形式に変換したデータに基づいて機械可動部の動作等を
制御するJ:うにしている。ここで、ブロックに収容さ
れているデータを実行形式のデータに変換するどは、ブ
ロックに収容されているデータを数値制御装置内部でi
lIpしやすい形の2進a等の機械H?iデータに変
換することである。Prior Art Conventional numerical control devices read one block of command information by decoding the contents of the data contained in that block, preparing data in an executable format for pulse distribution, and converting it into this executable format. The operation of the moving parts of the machine is controlled based on the data. Here, when converting the data contained in a block into executable data, the data contained in the block is converted into an i
A machine H such as binary a that is easy to lIp? i data.
ところで、指令情報を1ブロツク読取る毎に上述した処
理を行い、現ブロックの処理の終了後、次ブロックの処
理を開始したのでは、実行形式のデータが作成されるま
での間、機械可動部が停止してしまうことになる。この
ように、ブロックとブロックとの間で機械可動部が停止
してしまうと、加工効率が悪くなるばかりかワークにカ
ッタマークが付いたり、振動が発生する問題がある。By the way, if the above-mentioned processing is performed every time one block of command information is read, and the processing of the next block is started after the processing of the current block is completed, the mechanical moving parts will be disabled until the execution format data is created. It will stop. If the movable part of the machine stops between the blocks in this way, not only will machining efficiency deteriorate, but there will also be problems such as cutter marks being left on the workpiece and vibrations occurring.
そこで、従来の数値制御装置においては、実行形式に変
換されたデータを記憶する第1.第2のバッファを設け
ておき、一方のバッファに記憶されているデータに基づ
いて前ブロツク対応の処理を行っている間に、現ブロッ
クに収容されているデータを実行形式のデータに変換し
、これを他方のバッファに記憶させるという処理を平行
して行い、前ブロツク対応の処理が終了することにより
、他方のバッファに記憶されているデータに基づいて現
ブロック対応の処理を行い、これに平行して次ブロック
に収容されているデータを実行形式のデータに変換し、
これを一方のバッファに記憶させるようにしている。Therefore, in conventional numerical control devices, the first . A second buffer is provided, and while processing for the previous block is being performed based on the data stored in one buffer, the data stored in the current block is converted into executable data, The process of storing this data in the other buffer is performed in parallel, and when the process corresponding to the previous block is completed, the process corresponding to the current block is performed based on the data stored in the other buffer. to convert the data contained in the next block into executable data,
This is stored in one buffer.
このように、現ブロック対応の処理を実行している間に
次ブロックに収容されているデータを実行形式のデータ
に変換しておくことにより、上述した問題はある程度は
改善されるが、実行時間が短いブロックを複数個連続し
て実行する場合は、やはりブロックとブロックとの間で
機械可動部が停止してしまう場合があった。すなわち、
ブロックの実行時間が短いと、現ブロック対応の処理が
終了しても、次ブロックに収容されているデータを実行
形式のデータに変換できていない場合があり、このよう
な場合はやはりブロックとブロックとの間で機械可動部
が停止し、ワークにカッタマークが付いたり、振動が発
生したりする問題がある。In this way, by converting the data contained in the next block into executable data while executing the processing for the current block, the above-mentioned problem can be improved to some extent, but the execution time When a plurality of short blocks are executed in succession, the mechanical movable part sometimes stops between blocks. That is,
If the block execution time is short, the data stored in the next block may not be converted to executable data even if the processing for the current block is completed, and in such a case, the block and block There is a problem that the moving parts of the machine stop between the parts and the workpiece, causing cutter marks on the workpiece and vibrations.
そこで、本願出願人は、実行時間が短いブロックを複数
個連続して実行するような高速加工の必要な部分を予め
実行データまたは中間のデータに変換しておぎ、実際の
加工時はこのデータを呼出して高速加工を行う数値制御
装置をすでに出願した(特願昭60−164827号、
特願昭60−292123号)。Therefore, the applicant of this application converts in advance the portions that require high-speed machining, such as consecutively executing multiple blocks with short execution times, into execution data or intermediate data, and uses this data during actual machining. We have already applied for a numerical control device that performs high-speed machining by calling (Patent Application No. 164827-1982)
(Japanese Patent Application No. 60-292123).
発明が解決しようとする問題点
上述した、先の出願に係る数値制御装置は、数値制御装
置自体によって、高速処理を行う部分を実行データ形式
にしたNC指令プログラムを作成し、該NC指令プログ
ラムによって実行するものであったが、本発明は、NO
加工プログラム言語で構成されたブロックと実行データ
形式で構成された高速加工を必要とするブロックを含む
プログラムをホストコンピュータ等から数値制御装置が
受けて、該プログラムによって数値制御処理を行い高速
加工を可能にする数値制御方式を提供することにある。Problems to be Solved by the Invention The above-mentioned numerical control device according to the earlier application creates an NC command program in which the part that performs high-speed processing is in an execution data format by the numerical control device itself, and uses the NC command program to However, the present invention
A numerical control device receives a program from a host computer, etc. that includes blocks configured in a machining program language and blocks requiring high-speed machining configured in an execution data format, and performs numerical control processing using the program to enable high-speed machining. The objective is to provide a numerical control method to
問題点を解決するための手段
本発明は、数値制御装置外部で、NC加工プログラムの
高速加工を行うブロックを実行データ形式のブロックに
変換し、該実行データ形式で構成されたブロック群の前
後に高速加工指令コード及び高速加工をオフにする指令
コードを挿入し、NC加工プログラム言語のブロックと
実行データ形式のブロックからなるプログラムを作成し
、該プログラムを数値制御装置に入力し、数値制all
装置は該プログラムを読取り、NC指令プログラム言語
で構成されたブロックに対してはデコード処理。Means for Solving the Problems The present invention converts blocks for high-speed machining of an NC machining program into blocks in an execution data format outside a numerical control device, and creates blocks before and after a group of blocks configured in the execution data format. Insert the high-speed machining command code and the command code to turn off high-speed machining, create a program consisting of blocks in the NC machining program language and blocks in the execution data format, input the program into the numerical control device, and execute all numerical control.
The device reads the program and decodes blocks configured in the NC command programming language.
前処理を行い、移動指令であれば分配処理を行って出力
し、補助機能指令であれば該指令を出力し、高速加工指
令コードが読まれると高速加工をオフにするコードが読
まれるまで、読取ったブロックの実行データにより移動
指令であればサーボ系へパルス出力し、補助機能指令で
あれば該指令を機械へ出力することによって上記問題点
を解決した。Performs pre-processing, performs distribution processing and outputs if it is a movement command, outputs the command if it is an auxiliary function command, and when a high-speed machining command code is read, until a code to turn off high-speed machining is read. The above-mentioned problem was solved by outputting a pulse to the servo system if it was a movement command based on the read execution data of the block, and outputting the command to the machine if it was an auxiliary function command.
作 用
外部で作成された、NC加工プログラム言語で構成され
たブロックと実行データ形式で構成されたブロックより
なるプログラムが数値制御装置に入力され、NG加工プ
ログラム言語で構成されたブロックが読まれると、数値
制御装置は、通常一般的に行われているように、デコー
ド処理、前処理を行い、そのブロックの指令が移動指令
であるならばパルス分配処理を行い、各軸のサーボ系へ
パルスを分配する。又、補助機能の指令であれば、機械
やプログラマブルマシーンコントローラ等に該指令を出
力する。この処理は従来の数値制御装置の処理と何ら変
ることはない。一方、高速加工指令コードのブロックが
読まれると、該ブロック後のブロックはすでに実行デー
タ形式の2進データに変換されているから、数値制御装
置は移動指令であれば読込んだデータをそのままサーボ
系へ出力しパルス分配を行う。又、補助機能指令であれ
ば、機械やプログラマブルマシーンコントローラ等にそ
の指令を出力する。その結果、実行データ形式で記憶さ
れているブロックはデコード処理や前処理等を数値制御
装置が行う必要がないから高速に処理ができ高速加工が
できる。一方、数値制御装置は、高速加工をオフにする
コードを読取ると、以侵のブロックはNC加工プログラ
ム言語であるから、前述のように、デコード処理、前処
理等を行い、機械を数値制御することとなる。When a program created externally that consists of blocks composed of NC machining program language and blocks composed of execution data format is input to the numerical control device, and blocks composed of NG machining program language are read. , the numerical control device performs decoding processing and preprocessing as is generally done, and if the block command is a movement command, performs pulse distribution processing and sends pulses to the servo system of each axis. distribute. If the command is for an auxiliary function, the command is output to a machine, a programmable machine controller, or the like. This process is no different from that of conventional numerical control devices. On the other hand, when a block of high-speed machining command code is read, the block after the block has already been converted into binary data in the execution data format, so the numerical control device uses the read data as it is to control the servo if it is a movement command. output to the system and perform pulse distribution. Further, if it is an auxiliary function command, the command is output to a machine, a programmable machine controller, etc. As a result, blocks stored in the execution data format do not need to be decoded or preprocessed by the numerical control device, allowing high-speed processing and high-speed processing. On the other hand, when the numerical control device reads the code that turns off high-speed machining, since the ensuing block is an NC machining program language, it performs decoding processing, preprocessing, etc. as described above, and numerically controls the machine. That will happen.
実施例
第1図は、本発明の一実施例のシステム構成図で、1は
ホストコンピュータ、2は数値制御装置、3はサーボモ
ータで、4は該サーボモータの速度を検出するタコジェ
ネレータ、5はサーボモータ3の位置、即ち機械”の位
置を検出する位置検出器である。この第1図にはサーボ
モータ3.タコジェネレータ41位置検出器5は1組し
か記載されていないが、機械の各軸に対して設けられて
おり、伯の組は省略している。Embodiment FIG. 1 is a system configuration diagram of an embodiment of the present invention, in which 1 is a host computer, 2 is a numerical control device, 3 is a servo motor, 4 is a tacho generator that detects the speed of the servo motor, and 5 is a system configuration diagram of an embodiment of the present invention. is a position detector that detects the position of the servo motor 3, that is, the position of the machine. Although only one set of the servo motor 3, tachogenerator 41 position detector 5 is shown in FIG. They are provided for each axis, and the brackets are omitted.
数値制御装置2には、中央処理装置(以下、CPUとい
う)21.コントロールプログラムを記憶するROM2
2.データの一時記憶等に使用されるRAM23.NC
加工プログラムや各種パラメータを記憶する不揮発性メ
モリ24.NCテープよりNC加工プログラムを読取る
テープリーダ25、CRT表示装置26.キーポー12
フ2位置制御部28や速度制御部29等で構成される1
ナ一ボ回路30がバス33で結合されている。又、本実
施例では、テープリーダ25にリモートバッファ31が
接続され、インターフェイス32を介してホストコンピ
ュータ1と接続されている。なお、タコジェネレータ4
の出力はサーボ回路30の速度制御部29に入力されサ
ーボモータ3の速度が制御され、又、位置検出器5の出
力はサーボ回路30の位置制御部28に入力され位置制
御がされている。The numerical control device 2 includes a central processing unit (hereinafter referred to as CPU) 21. ROM2 that stores control programs
2. RAM 23 used for temporary storage of data, etc. N.C.
Non-volatile memory 24 for storing machining programs and various parameters. A tape reader 25 that reads the NC machining program from the NC tape, and a CRT display device 26. Keepo 12
1 consisting of a position control section 28, a speed control section 29, etc.
A navigation circuit 30 is connected by a bus 33. Further, in this embodiment, a remote buffer 31 is connected to the tape reader 25, and is connected to the host computer 1 via an interface 32. In addition, tacho generator 4
The output of the position detector 5 is input to the speed control section 29 of the servo circuit 30 to control the speed of the servo motor 3, and the output of the position detector 5 is input to the position control section 28 of the servo circuit 30 for position control.
以上のような構成において、高速加工指令コードとして
、例えばGO5のGコードを設け、NG加工プログラム
中高速加工を行うべきブロックより1つ前のブロックに
該コードGO5のブロックを設け、高速加工終了後のブ
ロックにも高速加工をオフにするコードを指令したブロ
ックを設けたNC加工プログラムを作成し、ホストコン
ピュータ1に入力する。ホストコンピュータ1では、該
プログラムが入力されると第2図に示す処理を行い、イ
ンターフェイス32を介してリモートバッファ31に出
力する。In the above configuration, a G code of GO5, for example, is provided as a high-speed machining command code, and the block with code GO5 is provided in the block one block before the block in which high-speed machining is to be performed during the NG machining program, and after the high-speed machining is completed. An NC machining program is created in which a block is also provided with a code for turning off high-speed machining, and is input to the host computer 1. When the program is input, the host computer 1 performs the processing shown in FIG. 2 and outputs it to the remote buffer 31 via the interface 32.
まず、ホストコンピュータ1はNG加工プログラムより
1ブロツクを読み(ステップ$1)、高速加工用フラグ
Fが「1」か否か判断しくステップS2>、「1」でな
ければ、次に読取ったブロックの指令が高速加工指令コ
ードのGO5か否か判断しくステップS3)、GO5コ
ードでなければ、読取ったブロックの指令をそのまま出
力しくステップS5)、GO5コードであれば、高速加
工用フラグFを「1」にセット(ステップ84)したW
im取ったブロックの指令であるGO5をそのまま出力
する。即ち、高速加工指令コードG05が読取られるま
では読取られたブロックの指令がそのまま出力されるこ
ととなる。そして、高速加工指令コードGO5が読取ら
れ、フラグFが「1」にセットされた後は、フラグが「
1」であるから、ステップS2からステップS6へ移行
し、読取ったブロックの指令が高速加工オフの指令か否
か判断しくステップS6)、オフ指令でなければ、読取
ったブロックを従来の数値制御処理と同じように、デコ
ード処理(ステップS7)、前処理(ステップ38)を
行い、該指令が移動指令であれば(ステップS9)、各
軸に対する1サイクル当り(例えば8 / 16 ll
1sec)の移動量を求める分配処理を行って実行デー
タ形式、即ち2進データにして(ステップ510)、出
力する(ステツブS5)。この実行データ形式の出力は
例えば1軸に対し2バイトを用意して、1軸からN@ま
で設け、最後の軸の後にn(例えば4)バイトの補助機
能指令用のバイトを設け、最後にチェックバイトを1バ
イト設ける形式を取る。First, the host computer 1 reads one block from the NG machining program (step $1), and judges whether the high-speed machining flag F is "1" or not (step S2). If it is not "1", the next block read It is determined whether the command is the high-speed machining command code GO5 or not (Step S3). If it is not a GO5 code, the command of the read block is output as is (Step S5). If it is the GO5 code, the high-speed machining flag F is set to " 1” (step 84)
GO5, which is the command of the block taken by im, is output as is. That is, until the high-speed machining command code G05 is read, the commands of the read blocks are output as they are. After high-speed machining command code GO5 is read and flag F is set to "1", the flag is set to "1".
1", the process moves from step S2 to step S6, where it is determined whether the command of the read block is a high-speed machining OFF command (step S6). If it is not an OFF command, the read block is subjected to conventional numerical control processing. In the same way, decoding processing (step S7) and preprocessing (step 38) are performed, and if the command is a movement command (step S9), one cycle for each axis (for example, 8 / 16 ll
A distribution process is performed to determine the amount of movement (1 sec), and the data is converted into an execution data format, that is, binary data (step 510), and is output (step S5). For the output in this execution data format, for example, prepare 2 bytes for 1 axis, from 1st axis to N@, provide n (for example 4) bytes of bytes for auxiliary function commands after the last axis, and finally It takes the form of providing one check byte.
なお、ステップS9で、移動指令でなければ、前処裡後
のデータをそのまま出力する。その結果、高速加工指令
モードにおいてはホストコンピュータ1からは実行デー
タ形式のブロックが出力されることとなる。かくして、
1ブロック毎読み取り前述した処理を繰り返し、ステッ
プS6で高速加工オフの指令が読まれたことを判断する
と、高速加工用フラグFを「0」にセットしくステップ
511)、移動指令、補助機能指令をすべて「0」にし
て出力する(ステップS12.S5)。即ち、1軸から
N軸、及び補助機能指令用の各バイトの値をrOJにし
て出力する。以下上述した処理をNG加工プログラムが
終了するまで行う。その結果、ホストコンピュータ1か
らインターフェイス32を介してリモートバッファ31
に入力されたプログラムは、高速加工指令されたブロッ
クは実行データ形式のデータが記憶され、該実行データ
形式のブロックが始まる1つ前のブロックには高速加工
指令コードのGO5が記憶され、実行データ形式のブロ
ックの最後には移動指令、補助機能指令が「0」のブロ
ックが記憶されることとなる。Note that, in step S9, if it is not a movement command, the preprocessed data is output as is. As a result, in the high-speed machining command mode, the host computer 1 outputs blocks in the execution data format. Thus,
The process described above is repeated for each block, and when it is determined in step S6 that the high-speed machining off command has been read, the high-speed machining flag F is set to "0" (step 511), and the movement command and auxiliary function command are issued. All are set to "0" and output (steps S12 and S5). That is, the value of each byte for the 1st to Nth axes and auxiliary function commands is output as rOJ. The above-described processing is then performed until the NG machining program is completed. As a result, the remote buffer 31 is transmitted from the host computer 1 via the interface 32.
In the program input to , data in the execution data format is stored in the block for which the high-speed machining command is issued, and the high-speed machining command code GO5 is stored in the block immediately before the start of the block in the execution data format, and the execution data is At the end of the format block, a block in which the movement command and auxiliary function command are "0" is stored.
一方、数値制御装置2は、テープリーダ25を介してリ
モートバッファ31よりポストコンピュータ1から送ら
れて来たNC加工プログラムを読取り、第3図の処理を
行う。なお、加工に先だって、キーボード27より当該
加工に使用する軸数及び高速加工中に補助機能指令があ
るか否かを設定し不揮発性メモリ24に記憶させておく
。まず、数値制御装置2のCPtJ21はテープリーダ
25を介して、リモートバッファ31より1ブロック読
取り、入力処理を行って(ステップS20>、次に高速
リモートバッフ7モードがオンか否か、即ち、後述する
ように高速リモー1゛・バッファオンのフラグが立って
いるか否か判断しくステップ521)、オンでなければ
、デコード処1+1!(ステップ822)、前処理(ス
テップ523)を行って、該ブロックの指令が移動指令
か否か判断しくステップ524)、移動指令であると、
各軸への分配処理を行って(ステップ525)、各軸の
サーボ回路30ヘパルス分配を行って(ステップ826
)各軸のサーボモータ3を駆動し加工を行い、次に補助
機能指令があるか否か判断しくステップ527)、助機
能指令があれば、機械又はプログラマブルマシーンコン
トローラ(PMC)へ該補助機能の出力を行い(ステッ
プ828)、再びステップ820に移行し次のブロック
を読取る。又、ステップS24で読取ったブロックの指
令が移動指令でなければ、直接ステップ827へ移行し
、ステップ327、ステップ828の処理を行う。以上
のように高速リモートバッファモードがオンでなければ
、上述した処理を行っているか、読取ったブロックの内
容が高速加工指令コードのGO5であると(ステップ5
23a)、B速加エリモートバッファモードのフラグを
立ててオンにしくステップ523b)、次のブロックか
らは高速加工に移行する。即ち、高速加工指令コードG
O5が読まれるまでは、該コード以前のブロックはNG
加工プログラム言語で構成されたブロックであるため、
cpu2iはデコード処理、前処理及び分配処理等を行
って実行データに変換し、変換されたデータを各軸のり
゛−ボ回路1機械、プログラマブルマシーンコントロー
ラに出力している。On the other hand, the numerical control device 2 reads the NC machining program sent from the post computer 1 from the remote buffer 31 via the tape reader 25, and performs the processing shown in FIG. Note that, prior to machining, the number of axes to be used for the machining and whether or not there is an auxiliary function command during high-speed machining are set using the keyboard 27 and stored in the nonvolatile memory 24. First, the CPtJ21 of the numerical control device 2 reads one block from the remote buffer 31 via the tape reader 25 and performs input processing (step S20>). In step 521), it is determined whether the high-speed remote 1/buffer on flag is on, and if it is not on, the decoding process 1+1! (Step 822), pre-processing (Step 523) is performed to determine whether or not the command for the block is a movement command.Step 524): If it is a movement command,
Distribution processing to each axis is performed (step 525), and pulse distribution is performed to the servo circuit 30 of each axis (step 826).
) The servo motor 3 of each axis is driven to perform machining, and then it is determined whether there is an auxiliary function command (step 527). If there is an auxiliary function command, the auxiliary function is sent to the machine or programmable machine controller (PMC). The output is performed (step 828), and the process returns to step 820 to read the next block. If the block command read in step S24 is not a movement command, the process directly advances to step 827, and the processes of step 327 and step 828 are performed. As described above, if the high-speed remote buffer mode is not on, the above-mentioned processing is being performed, or the content of the read block is the high-speed machining command code GO5 (step 5).
Step 23a): Set a flag for the B-speed acceleration remote buffer mode and turn it on. Step 523b): From the next block, high-speed machining is started. In other words, high-speed machining command code G
Until O5 is read, the block before the code is NG.
Since it is a block composed of a machining program language,
The CPU 2i performs decoding processing, preprocessing, distribution processing, etc., converts it into execution data, and outputs the converted data to the robot circuit 1 machine of each axis and the programmable machine controller.
しかし、GO5コードが読まれ、高速りE−1−バッフ
ァモードがオンになると、ステップS21からステップ
S29へ移行し、ステップS29では読まれたブ1コッ
クの内容が移動指令か否か判断し、移動指令であればG
O5コードが読まれ、高速リモートバッファモードがオ
ンになっている状態では読まれたブロックのデータは実
行形式のデータであるから、直接各軸の1ナ一ボ回路3
0へ出力し各軸のサーボモータ3を駆動することとなる
(ステップ826)。そして、補助機能指令も含まれて
いれば、該補助機能を出力し機械やプログラマブルマシ
ーンコントローラ等を駆動することとなる(ステップS
27.828)。又、ステッブS29で読まれたブロッ
クに設定されたすべての軸に対する移動指令がないとき
は、パラメータとして補助機能アリと設定され、又、す
べての軸に対する指令バイトの次のバイトに補助機能指
令があるか否か判断しくステップ530)、補助機能指
令があれば、前述同様法補助機能の指令を出力する。か
くして高速リモートバッファモードがオンである間は、
読まれたブロックの内容は実行データ形式であり、この
実行データ形式をそのまま各軸のサーボ回路30や機械
やプログラマブルマシーンコントローラに出力づる。そ
の結果、数値制御装置はプログラムより1ブロック読取
って、デコード処理、前処理1分配処理等を行わずに、
直接サーボ回路や機械等に出力するから、数値制御装置
側での遅れはな(、高速に加工を行うことができる。又
、ステップ829で設定された軸に対しすべて移動指令
がなく、かつ、補助機能指令もないとき(ステップ53
0)、即ち、第2図のステップ812によって実行形式
のデータのブロックが終了して移動指令、補助機能指令
のすべてのバイトにすべて「0」が記憶されているとき
は、高速リモートバッファモードのフラグを下し、高速
リモートバッファモードをオフとする(ステップ531
)。その結果数のブロックからはステップ820〜82
8の通常の数値制御処理へと移行する。なお、この処理
過程において、再びGO5コードが読まれるどくステッ
プ523a) 、前述同様高速リモートバッファモード
がオンにされ(ステップ523b)、前述したように、
実行形式で構成されたブロックの内容をそのまま出力し
、高速加工を行うこととなる。However, when the GO5 code is read and the high-speed E-1-buffer mode is turned on, the process moves from step S21 to step S29, and in step S29, it is determined whether the content of the read block 1 cock is a movement command or not. G if it is a movement command
When the O5 code is read and the high-speed remote buffer mode is on, the data in the read block is in executable format, so it is directly applied to the 1-navigation circuit 3 of each axis.
0 to drive the servo motor 3 of each axis (step 826). If an auxiliary function command is also included, the auxiliary function is output to drive the machine, programmable machine controller, etc. (step S
27.828). Also, if there are no movement commands for all the axes set in the block read in step S29, auxiliary function is set as a parameter, and the auxiliary function command is placed in the next byte of the command byte for all axes. It is determined whether there is an auxiliary function command (step 530), and if there is an auxiliary function command, the auxiliary function command is outputted as described above. Thus, while fast remote buffer mode is on,
The content of the read block is in an execution data format, and this execution data format is output as is to the servo circuit 30 of each axis, machine, or programmable machine controller. As a result, the numerical control device reads one block from the program, without performing decoding processing, preprocessing, distribution processing, etc.
Since the output is directly sent to the servo circuit or machine, there is no delay on the numerical control device side (machining can be performed at high speed. Also, there are no movement commands for all axes set in step 829, and When there is no auxiliary function command (step 53
0), that is, when the block of executable data is completed at step 812 in FIG. The flag is lowered and the high-speed remote buffer mode is turned off (step 531).
). From the resulting block of numbers, steps 820-82
The process then proceeds to the normal numerical control process of step 8. In this process, when the GO5 code is read again (step 523a), the high-speed remote buffer mode is turned on (step 523b), and as described above,
The contents of blocks configured in executable format are output as they are, and high-speed processing is performed.
以上の動作を繰り返すことによって、高速加工を行う。High-speed machining is performed by repeating the above operations.
なお、上記実施例ではパラメータの設定として、高速加
工中補助機能を使用するか否かの設定を、有、無のみの
設定であったが、補助機能の種類毎に各補助機能を使用
するか否かをパラメータとして設定してもよく、この場
合、ステップ830ににおいては、各補助機能が設定さ
れているか否か、及びその補助機能指令があるか否かを
判断するようにしてもよい。In addition, in the above embodiment, as a parameter setting, whether or not to use the auxiliary function during high-speed machining was set only to Yes or No, but it is possible to set whether to use each auxiliary function for each type of auxiliary function. In this case, in step 830, it may be determined whether each auxiliary function is set and whether there is an auxiliary function command.
又、上記実施例では高速リモートバッファモードをオフ
にする場合、ステップ812によって移動指令、補助機
能指令をすべて「0」に設定するようにしたが、他の方
法、例えば特殊なコードによって行ってしよい。Furthermore, in the above embodiment, when turning off the high-speed remote buffer mode, the movement command and auxiliary function command are all set to "0" in step 812, but this can be done by other methods, for example, by using a special code. good.
発明の効果
以上述べたように、本発明は、数値制御装置の外部で高
速加工する部分を実行データ形式にしておぎ、数値制御
装置において、NC加工プログラム言語で構成されたブ
ロックの入力に対しては、通常の数値制御方式と同じよ
うにデコード処理。Effects of the Invention As described above, the present invention provides an execution data format for the part that is processed at high speed outside the numerical control device, and allows the numerical control device to process blocks input in an NC machining program language. is decoded in the same way as a normal numerical control method.
前処理2分配処l!V等を行って出力し、実行データ形
式で構成されたブロックに苅しては、そのまま読込んだ
ブロックのデータを出力するようにしたから、高速加工
部分での数値制御装置の処理が早くなり、機械の可動部
分が停止することなく、ワークにカッタマークが付いた
り、振動が発生するようなことはない。ざらに、高速加
工処理中においても補助機能動作を行うことができ、プ
ログラム作成も容易となる。Pre-treatment 2 distribution treatment l! V, etc., and output it to a block configured in the execution data format, and then output the data of the read block as it is, so the processing of the numerical control device in the high-speed machining part becomes faster. Since the moving parts of the machine do not stop, there is no cutter mark on the workpiece or vibration. In general, auxiliary function operations can be performed even during high-speed machining, and program creation becomes easy.
第1図は、本発明の一実施例のシステム偶成図、第2図
は、本発明の一実施例におけるホストコンピュータの処
理の一例を示す70−ヂtノー 1〜、第3図は、同実
施例にJ3ける数値制御装置の動作フローチャートであ
る。
1・・・ホストコンピュータ、2・・・数舶制υ11装
置、3・・・サーボモータ、30・・・す゛−ボ回路。FIG. 1 is a system configuration diagram of an embodiment of the present invention, and FIG. It is an operation flowchart of the numerical control device in J3 in an example. DESCRIPTION OF SYMBOLS 1...Host computer, 2...Ship control υ11 device, 3...Servo motor, 30...Suvo circuit.
Claims (1)
行うブロックを実行データ形式のブロックに変換し、該
実行データ形式で構成されたブロック群の前後に高速加
工指令コード及び高速加工をオフにする指令コードを挿
入し、NC加工プログラム言語のブロックと実行データ
形式のブロックからなるプログラムを作成し、該プログ
ラムを数値制御装置に入力し、数値制御装置は該プログ
ラムを読取り、NC加工プログラム言語で構成されたブ
ロックに対してはデコード処理、前処理を行い、移動指
令であれば分配処理を行って出力し、補助機能指令であ
れば該指令を出力し、高速加工指令コードが読まれると
高速加工をオフにするコードが読まれるまで、読取った
ブロックの実行データにより移動指令であればサーボ系
へパルス出力し、補助機能指令であれば該指令を機械へ
出力する数値制御方式。External to the numerical control device, convert blocks that perform high-speed machining in the NC machining program into blocks in execution data format, and create high-speed machining command codes and commands to turn off high-speed machining before and after the block group configured in the execution data format. Insert the code, create a program consisting of blocks in the NC machining program language and blocks in the execution data format, input the program to a numerical control device, read the program, and create a program consisting of blocks in the NC machining program language. It performs decoding processing and preprocessing for the block that has been processed, performs distribution processing and outputs it if it is a movement command, outputs the command if it is an auxiliary function command, and starts high-speed machining when the high-speed machining command code is read. A numerical control method that outputs pulses to the servo system if it is a movement command, and outputs the command to the machine if it is an auxiliary function command, depending on the execution data of the read block until the code to turn it off is read.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61307923A JP2640456B2 (en) | 1986-12-25 | 1986-12-25 | Numerical control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61307923A JP2640456B2 (en) | 1986-12-25 | 1986-12-25 | Numerical control method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS63163508A true JPS63163508A (en) | 1988-07-07 |
JP2640456B2 JP2640456B2 (en) | 1997-08-13 |
Family
ID=17974794
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61307923A Expired - Fee Related JP2640456B2 (en) | 1986-12-25 | 1986-12-25 | Numerical control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2640456B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9823644B2 (en) | 2012-07-17 | 2017-11-21 | Mitsubishi Electric Corporation | Numerical control device and numerical control system |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61185104U (en) * | 1985-05-10 | 1986-11-18 |
-
1986
- 1986-12-25 JP JP61307923A patent/JP2640456B2/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS61185104U (en) * | 1985-05-10 | 1986-11-18 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9823644B2 (en) | 2012-07-17 | 2017-11-21 | Mitsubishi Electric Corporation | Numerical control device and numerical control system |
Also Published As
Publication number | Publication date |
---|---|
JP2640456B2 (en) | 1997-08-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5986422A (en) | Control mode changing over method for servo control system | |
US4173786A (en) | Method and apparatus for cutting a thread on a rotating workpiece | |
EP0357778B1 (en) | Method of speed control for servomotor | |
WO1990006544A1 (en) | Method of correcting machining program | |
JPS63181005A (en) | Parallel processing method for numerical controller | |
KR910002317B1 (en) | Numerical control device | |
JPS63163508A (en) | Numerical control system | |
JP2004202594A (en) | Numerical control device | |
US4870595A (en) | Numerical control equipment | |
JP2880170B2 (en) | Block overlap method | |
JP2852986B2 (en) | Processing system | |
EP0328665B1 (en) | Numerical controller | |
JP2001154719A (en) | Method for interpolating free curve | |
JPH04100122A (en) | Nc working program executing device | |
JP2584225B2 (en) | Numerical control unit | |
JP2868527B2 (en) | Numerical control unit | |
JPS60222904A (en) | Control method of coordinate system conversion of numerically controlled lathe | |
JP3188396B2 (en) | Feed rate control method and apparatus in numerical control | |
WO1989008290A1 (en) | Nc statement preparation system | |
JPH04193416A (en) | Numerical control device having halt function of thread cutting | |
JPH01306149A (en) | Numerical control program composing device | |
JPH10240321A (en) | Numerical controller provided with deviation monitoring function | |
JPH03172903A (en) | Feed speed control system for numerical controller | |
JPS62221007A (en) | Numerical controller capable of changing distribution cycle | |
JPH03142604A (en) | Nc device |
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 |