WO1988005565A1 - Method of numerical control having a parallel processing function - Google Patents

Method of numerical control having a parallel processing function Download PDF

Info

Publication number
WO1988005565A1
WO1988005565A1 PCT/JP1988/000046 JP8800046W WO8805565A1 WO 1988005565 A1 WO1988005565 A1 WO 1988005565A1 JP 8800046 W JP8800046 W JP 8800046W WO 8805565 A1 WO8805565 A1 WO 8805565A1
Authority
WO
WIPO (PCT)
Prior art keywords
processing
data
block
numerical control
preprocessing
Prior art date
Application number
PCT/JP1988/000046
Other languages
French (fr)
Japanese (ja)
Inventor
Hideaki Kawamura
Kentaro Fujibayashi
Yosato Hidaka
Original Assignee
Fanuc 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 Fanuc Ltd filed Critical Fanuc Ltd
Publication of WO1988005565A1 publication Critical patent/WO1988005565A1/en

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/408Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by data handling or data format, e.g. reading, buffering or conversion of data
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/35Nc in input of data, input till input file format
    • G05B2219/35368Read and work buffer, machine while read in, no switching between buffers
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/35Nc in input of data, input till input file format
    • G05B2219/35388Processors in parallel, second, third handle rest old block while first starts new block
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/35Nc in input of data, input till input file format
    • G05B2219/35394A separate processor for block, span
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/35Nc in input of data, input till input file format
    • G05B2219/35546Convert input data to execution data

Definitions

  • the numerical iliil control method of the present invention comprises the steps of (a) reading an NC program for each block and transmitting command information described in the block thus read;
  • the first partial processing of the preprocessing 3 for converting the data into the executable data is executed by the corresponding second information processing means, and (b) the remaining part of the above preprocessing is performed.
  • the pre-processing for reading one block of command information from the NG program and creating the data in a pulse format for pulse distribution typically includes the following partial processing.
  • Pre-offset processing for performing primary transformations such as coordinate rotation and scaling.
  • Cycle processing such as fixed cycle and home return ⁇ cycle.

Abstract

A numerical control method for carrying out the control in compliance with various NC programs continuously and at high speeds without interruption. Instruction data described in each block of an NC program is read by a first sub-CPU (6) and is decoded to prepare an intermediate data, which is then stored in a first common RAM (9). The intermediate data is converted into an execution format data by a second sub-CPU (7) and is stored in a second common RAM (10). The preprocessing from the reading of the instruction data to the preparation of execution format data is performed simultaneously for the two blocks, and the time taken for the preprocessing is apparently shortened for each of the blocks. This makes it possible to avoid the interruption of numerical control caused by a delay in the preprocessing.

Description

明 細 窗  Window
並列処理機能を有する数値制御方法  Numerical control method with parallel processing function
技 術 分 野  Technical field
本発明は 、 各種 N Cプロ グラ ムに従 -ぅ制御を中断させ 5 る こ とな く 高速でかつ連続 して行え るよ う に した数値制 御方法に関する。  The present invention relates to a numerical control method which can be performed at high speed and continuously without interrupting control of various NC programs.
背 ϋ 技 術  Back technology
一般に 、 数値制御装 Sは、 N Cプロ グラム に記述され た指令情報を Ί ブ ロ ッ ク毎に読取 り 、 これを実行形式に 1 0 変換 し て得た デー タ に Sづい て機械可動部の動作等を制 御するよ う に して いる。 こ こで、 実行形式への変換 と は N Cプログラ か ら 読取 つ た指令情報を数値制御装置内 部で処理 しやす い形の 2 進数等の機械語デー に変換す る こ と をいう 。  Generally, the numerical control device S reads command information described in the NC program for each block, converts the command information into an executable form by 10 and uses the data obtained from the S to determine whether or not the machine movable section The operation is controlled. Here, the conversion into the executable form means converting the command information read from the NC program into machine language data such as a binary number which can be easily processed inside the numerical controller.
1 5 と ころで、 指令情報を 1 ブロ ッ ク読取る毎に上述 した 変換処理を行う方法すなわち現ブ [] ッ ク につ いての制御 動作の終了後 、 次ブロ ッ ク につ .いてのデー タ 読取 り 及び 変換処理 ( 前処理 〉 を開始 する方法では、 次の実行形式 のデー タ が作成される までの間 、 機械可動部が停止 して1 in 5 with rollers, a method i.e. Genbu performing the above-mentioned conversion process for each that reading 1 block command information [-] After the completion of the control operation of have click Nitsu, the in the next block Nitsu have. In the method of starting the data reading and conversion processing (pre-processing), the moving parts of the machine stop until the data of the next executable form is created.
20 し ま う こ と になる 。 こ の場合、 例えば N C工作機械に お いて は、 加工効率が悪 く なるぱか り かワ ー ク に カ ツ タ マ - ク が付いた り 、 振勅が発生する問題がある 。 20. In this case, for example, in the case of an NC machine tool, there is a problem that the machining efficiency is deteriorated, or a work is caught with a mark, or a pen is generated.
'3  '3
そ こで、 從来の数値制御装 ^ に おいて は 、 実行形式に 変換さ れた デー タ を記憶するための第 1 , 笫 2 のバ ッ フ Therefore, in the conventional numerical control device, the first and second buffers for storing the data converted into the executable form are used.
25 ァ を設けて おき 、 例えば 、 第 1 のバ ッ フ ァ に記憶されて - Z - いる実行形式のデ一 タ に基づいてあるプ ッ ク に 関連 る制御動作を行っ ている間に、 次のプロ ッ ク から読取 つ た指令情報を実行形式のデータ に変換 し、 これを第 2の バッ フ ァ に記憶さ る という処理を平行 して行い、 第 1 のバッ フ ァ の記億データ に基づく 制御動作の終了後直ち に第 2 のパッ フ ァ に;¾惊されているデータ に基づく制御 動作を行う と共に、 これに平行して さ ら に次のブロ ッ ク に記述されている指令情報を実行形式のデータ に変換'し、 これを第 Ί のパッ フ ァ に記憶させるょぅ に してぃる。 For example, the first buffer may be stored in the first buffer. -Z-Converts command information read from the next block to executable data while performing control operations related to a certain block based on the executable data. Is stored in the second buffer in parallel, and immediately after the end of the control operation based on the stored data of the first buffer, the data is transferred to the second buffer; In addition to performing the control operation based on the stored data, in parallel with this, the command information described in the next block is converted into executable form data, and this is converted to the second program. I'm trying to remember it.
このよう に、 現ブロ ッ ク に対応する制御を実行 してい る間に次のブロ ッ ク に記述されている指令情報を実行形 式のデータ に変換して おく こ と によ り 、 上述した問題は ある程度は改善される。 しか し 、 制御動作を実行するの に要する時間が短いプロ ッ クが連続する場合は、 次の実 行形式データ作成前に先のデータ に関連する制御動作が 終わ り 、 やはりプロ ッ ク とプロ ッ ク.との間で機搣可動部 の動作が停止 して 上述の加工効率低下等の 題が発生 し て しま う場合があ つ た。  As described above, while the control corresponding to the current block is being executed, the command information described in the next block is converted into the data of the execution format, thereby achieving the above-described operation. The problem will be improved to some extent. However, if a block takes a short time to execute a control operation, the control operation related to the previous data is completed before the next execution format data is created. In some cases, the operation of the movable parts of the machine stops between the steps, and the above-mentioned problems such as a decrease in machining efficiency occur.
発 明 の 開 示  Disclosure of the invention
本発明の S的は、 N Gプログラムの各プロ ッ クについ ての前処理を先の 一ロ ッ ク に関連する制御動作の実行終 了以前に ¾了 ϋ 、 これにより \御動作の中断を防 Jl し 、 も っ て 、 所要実行時間の短いブロ ッ クが連続する N Gプ 口グラムを含む各種 N Cプロ グラムに従う制御を i¾速で かつ連続して行える 、 並列処 機能を有する数値制御方 法を提供す る こ と に ある。 According to the present invention, the pre-processing for each block of the NG program is terminated before the execution of the control operation related to the previous lock is completed, thereby preventing interruption of the control operation. In addition, a numerical control method with a parallel processing function that can perform control according to various NC programs including NG programs in which blocks with a short required execution time are continuous at i¾speed and continuously. Is to provide the law.
上記目 的を達成する ため 、 本発明の数値 iliil御方法は 、 ( a ) N Cプロ グラムを Ί ブロ ッ ク毎に読取 り かつ斯 く 読取 っ たプ ロ ッ ク に記述さ れた指令情報を実行形式のデ 一タ に変換す るた めの前処 3 の 、 最初の部分処理を 、 こ れに対応する第 の情報処理手段に よ り実行 し、 ( b ) 上記前処理の残部をなす少な く とも Ί つの別の部分処现 を 、 該少な く とも Ί つ の別の部分処理 と 1罚数の 、 かつ 、 前段の情報処现手段から の出力デー タ を入力す る少な く とも Ί つ の Ιϊ 2 の情報処理手段に よ り荬行するステ ッ プ を備え 、 これに よ り複数のブロ ッ ク に つ いての前処现を 周時に実行 する。  In order to achieve the above object, the numerical iliil control method of the present invention comprises the steps of (a) reading an NC program for each block and transmitting command information described in the block thus read; The first partial processing of the preprocessing 3 for converting the data into the executable data is executed by the corresponding second information processing means, and (b) the remaining part of the above preprocessing is performed. At least one further partial process, at least one further partial process and at least one and a minimum of inputting output data from the preceding information processing means. There is provided a step to be executed by the second information processing means, whereby the pre-processing for a plurality of blocks is executed at the time of the week.
この よ う に 、 木発明に よれば、 N Cプロ グラムの Ί ブ ロ ッ ク につ いての前処理を複数の情報処理.手段を用 いて 実行 し 、 これに よ り複数のブロ ッ ク について の前処现を 周時に実行 す るよ う に し た ので 、 所要制御実行時 が短 いブロ ッ ク が連続する場合にも先のプロ ッ ク に記述さ れ た指令情報に基づく 数値制御動作が終了する前に次に用 い ら れる指令情報の前処理を完了 る こ と ができる 。 こ の結果 、 所要実行時悶の短いブ ロ ッ クが連続する. N Cプ ロ グラムを用 いて夫々微少な移動 ftを順次指令 に する こ と に よ り機械可 部に複雑な連 Jを さ .11る ^合例えぱヮ — ク を複雜 な形状に加工する場合にお機械可動部を!;速 でかつ連続 し て運転できる。 図面の簡単な説明 As described above, according to the tree invention, the pre-processing of the NC program block is executed by using a plurality of information processing means, and thereby the block processing of the plurality of blocks is performed. Since the pre-processing is executed at the time of the lap, even when blocks with a short required control execution time are continuous, the numerical control operation based on the command information described in the previous block is performed. Before terminating, the preprocessing of the command information to be used next can be completed. As a result, short blocks of continuous writhing occur at the time of required execution.By using the NC program to sequentially command the slight movement ft, a complicated series J can be added to the machine. .11 Ru ^ Equivalent to the mechanical moving parts when machining a workpiece into a complex shape! Operation at high speed and continuously. BRIEF DESCRIPTION OF THE FIGURES
第 Ί 図は本発明の一実施例による数値制御方法が適用 さ れる数値制御装置の要部を示すプロ ッ ク 図、 お よぴ、 第 2 図は第 Ί 図に示す中央処理装 ί!群の 11」作タイ ミ ング を示すタ イ ミ ングチャ ー ト である。  FIG. 1 is a block diagram showing a main part of a numerical control device to which the numerical control method according to one embodiment of the present invention is applied, and FIG. 2 is a central processing unit group shown in FIG. This is a timing chart showing the timing of the 11th work.
発明を実施 するための最良の形態  BEST MODE FOR CARRYING OUT THE INVENTION
N Gプログラムから 1 プロ ッ ク の指令情報を読取り 、 パルス分配用の荬行形式のデー タを作成する前処理には 、 典形的には概略次のよ う な部分処理が含まれる。  The pre-processing for reading one block of command information from the NG program and creating the data in a pulse format for pulse distribution typically includes the following partial processing.
( 1 ) N Gプログラムよ り 1 プロ ッ クの指令情報を読取 り これを解読する入力データ処理。 .  (1) Input data processing to read command information of one block from the NG program and decode it. .
( 2 ) 入力データ処理済みの Ί プロ ッ クの情報を受取り 、 処理単位を作成し、 単位系処理等を行う処理。  (2) Processing to receive input block data processed Ί block information, create processing units, and perform unit processing.
( 3 ) コーナ処理やチャンフ ア リ ング等の処遝。  (3) Processing such as corner processing and champing.
( 4 ) 座標回転やスケー リ ング等の一次変換を行う オフ セッ 卜前の処理。 - ( 5 } 固定サイ クルや原点復帰^ ィ クル等のサイ クル処 理。  (4) Pre-offset processing for performing primary transformations such as coordinate rotation and scaling. -(5) Cycle processing such as fixed cycle and home return ^ cycle.
( 6 ) 工具径補正処理。  (6) Tool diameter compensation processing.
( 7 ) 座標系処理, ェ 長補正, 工具位 S補正等のオフ セッ 卜後の処现。  (7) Processing after offset such as coordinate system processing, length correction, and tool position S correction.
( 8 ) ヒ記処理 ( 1 )〜 ( 7 )によ り得 fo実行形式デー タ を 出力するための出力処理 σ - 以下、 上記各種部分処理の内 Ί 番目 の入力デー タ処理 と他の処理 とを分割 し 、 2 台の中央処理装置 (以下 、 C P U と い う 〉 に よ つ て分担 して各々 の処 . を行わせ る よ -う に し た本発明の一実施例に よ る数値制御方法につ い て述ベる。 (8) Output processing for outputting fo execution form data obtained from the notation processing (1) to (7) σ -Hereinafter, the Ίth input data processing and other processing of the above various partial processing And two central processing units (hereinafter, referred to as A numerical control method according to an embodiment of the present invention in which each processing is performed by sharing the processing by a CPU will be described.
第 Ί 図は 、 当該方法を実行するための数値制御装 ¾を 示 し 、 1 は数値制御装 ¾全体を制御 するた めのメ ィ ン G P U 、 2 はプロ グラマプルマシー ンコ ン 卜 ロ ーラ ( 図 示略 ) 用 の C P U 、 3 は共 ^ R A M 、 4 は メ イ ン C P U 1 に接続されたバブルメ モ リ , ポー タ ブルテ ープ リ 一ダ M D I 等を示 す„ なお 、 制御プ 口 グラム等を記憶する た めの R 0 M は図示 し ていない。 5 はイ ン タ ー フ ェ イ スで ホス 卜 コ ン ピ ュ ー タ Ί 0 0 から送 ら れて く る N Cプロ グ ラムを入力 し 、 第 Ί のサブ G P U 6 に出力 するものであ る。 Π Ί のサブ C P U 6 は前処理の最初の部分処理を行 う おので 、 本実施例では前述 した入力デ一タ 処理を行う 9 はメ イ ン C P U Ί , 第 1 の サ-ブ C P U 6 が共に ァ ク ス可能な第 Ί の共有 R Λ Mである。. そ して 、 イ ン タ 一 フ 1 イ ス 5 を介 し て ホス 卜 コ ン ピ'ュ 一 タ から N Gゾ ロ グラ ムが送ら れて く る場合は、 第 Ί のサブ C P U 6 が入力デ ー タ処理を行 つ て処理済みの中問デー タ を該共有 R A M 9 に格納す る 。 一方 、 バブルメ モ リ やポー タ ブルテ一プ リ 一ダか N Cプ ロ グラ厶が入力 される場合は、 メ イ ン C P U 1 に よ り読取 られかつ第 Ί の共 .有 R A M 9 に格納 れた N Cプ ロ グ 厶につ き II Ί のサブ C P U 6 が 入力 デー タ処 ^を行 っ て処理済みの中問デ一タ を該 R 八 M 9 に格納 る よ う に な つ て いる。 7 は第 2 のサブ C P U で 、 Ί 0 は プ G P U 7 とメ イ ン C P U 1 が共にァク セス可能な II 2 の共右 R A (V4であ る 。 第 2 のサブ G P U 7 は、 メ イ ン C P U Ί によ り第 Ί の共有 R A M 9 から読取られかつ i 2 の共 IT R A M 1 0 に転送された中間データ を読取り 、 該中間データ から実 行形式のデー タ を作成し 、 共有 R A M 1 0 に ¾き込むよ う にな つ ている。 また、 第 2 の共有 R A M 1 0 に格納さ れた実行形式のデー タ はメ イ ン C P U によ つ て第 3 の 共有 R A (VI 1 1 に転送される 。 第 3 のサブ C P I) 8 は、 この共有 R A M Ί Ί に 送されてきた実行形式のデ一タ よ り 、 各軸 に対するパルス分配処理を行うものである u A Ί 〜 Λ n は軸制御回路で、 サブ C P U 8 からの分配パ ルスを入力 して 、 数値制御装置によ り制御される機械 ( 図示略) の軸毎に設けられたサーポモータ ( 図示略 ) を制御するおのである。 Fig. 1 shows a numerical control device for executing the method, 1 is a main GPU for controlling the entire numerical control device, and 2 is a program machine controller (Fig. 1). 3) denotes a common RAM, 4 denotes a bubble memory connected to the main CPU 1, a portable tape reader MDI, and the like. R 0 M for storing is not shown 5 is an interface for inputting the NC program sent from the host computer Ί 0 0 , And outputs the data to the second sub-GPU 6. Since the second sub-CPU 6 performs the first partial processing of the pre-processing, in the present embodiment, the above-described input data processing 9 is The main CPU Ί and the first sub CPU 6 are both Rth shared RΛMs that can be accessed together. When an NG program is sent from the host computer via the interface 5, the second sub CPU 6 performs input data processing. The processed intermediate data is stored in the shared RAM 9. On the other hand, when a bubble memory, a portable printer or an NC program is input, the main CPU 1 is used. The sub-CPU 6 of the II-II performs the input data processing ^ for the NC program stored in the RAM 9 and read the processed intermediate data. Is stored in the R8M9. 7 is a second sub-CPU, and Ί0 is a co-right RA (V4) of II 2 which is accessible by both the GPU 7 and the main CPU 1. The second sub-GPU 7 is CPU 1 reads the intermediate data read from the second shared RAM 9 and transferred to the i 2 shared IT RAM 10, creates execution format data from the intermediate data, and executes the shared RAM 1. In addition, the execution format data stored in the second shared RAM 10 is transferred to the third shared RA (VI 11) by the main CPU. The third sub-CPI) 8 performs a pulse distribution process for each axis based on the data in the execution format sent to the shared RAM u Ί u A 〜 to Λ n Is an axis control circuit, which receives a distribution pulse from the sub CPU 8 and provides a servomotor provided for each axis of a machine (not shown) controlled by a numerical controller. (Not shown).
次に、 上述の数値制御装 の動作を U 2 図を卷照 して 説明 る 。 - 第 2 図において 、 符号 B Ί ( i Ί 〜 5 ) は N Cプロ ' グラムの第 i 番目のプロ ッ クを示 し 、 添字 F及び R は各 プロ ッ ク につ( ての前処理の入力データ処理及び残り の 処理をそれぞれ示す α Next, the operation of the above numerical control device will be described with reference to FIG. -In FIG. 2, the symbols B Ί (i 〜 to 5) indicate the i-th block of the NC program, and the subscripts F and R indicate the input of the preprocessing for each block. Α indicating data processing and remaining processing, respectively
イ ンタ ーフ ェ イ ス 5 を介 して N Gプロ グラムが入力さ れた とす る と 、 笫 1 の ブ C Ρ ϋ 6 はま ず、 初めの 1プ ロ ッ ク を読取り 、 前処理の最初の部分処理 、 すなわち入' 力データ処 H β 1 I- を行つ て , その処 P の結 ¾得た中!^! デー タ を第 Ί の共有 R Λ M 9 に霤込む。 メ イ ン G P U 1 は この中問デー タ を U 2 の共有 R A IV1 1 0 の第 1 の所定 のア ド レス領域に書込み可能な状態に おるか否かを監視 し て お り 、 S込み可能 で'ある と 、 第 1 の共有 R A M 9 か ら当該中間デー タ を第 2 の共有 R Λ M Ί 0 に ¾送 し癦込 む。 第 2 のサブ C P U 7 は第 2 の共有 R A M 1 0 に中間 デー タ が書込ま れる と 、 該中間デー タ に基づき 、 前処理 の残 り の部分処 a B 1 R 、 すなわち入力データ処理以外 の前処理を開始 し 、 実行形式のデー タ を作成 し第 2 の共 有 R A M Ί 0 の第 2 の所定のァ ド レス ¾¾域に ¾込む。 メ イ ン C P U Ί は第 3 の共有 R A M 1 1 の所定のア ド レス 領域への実行形式デー タ の ^込みが可能か否かを 視 し て お り 、 書込み可能で、 かつ-、 第 2 の共有 R A M "1 0 に 実行形式のデー タ が ¾込ま れる と 、 該実行形式のデー タ を読取 り これを第 3 の共有 R A M 1 Ί に転送 し書込む。 第 3 のサブ C P U 8 は第 3 の共有 R A M Ί Ί よ り実行形 式のデータ を読取 り 、 該デー ダに基づいて各軸について のパルス分配処理 B 1 を開始 し 、 各軸の軸制御回路 A 1 〜 A n へパルス分配を行い、 各軸のサーポモ ー タ を駆動 し 、 機械の可動部を移動さ せる 。 Assuming that the NG program is input via the interface 5, the first block is read first, and the first block is read, and the first block is read. The first partial processing, that is, the input data processing Hβ1I-, is performed, and the processing P is obtained! ^! Put the data into the first share RΛM9. The main GPU 1 monitors whether this intermediate data can be written to the first predetermined address area of the shared RA IV 110 of U 2 and whether it can be written to S. In this case, the intermediate data is transferred from the first shared RAM 9 to the second shared RAM 0. When the intermediate data is written into the second shared RAM 10, the second sub CPU 7 performs the remaining partial processing a B 1 R of the preprocessing based on the intermediate data, that is, other than the input data processing. The pre-processing is started, and executable data is created and stored in the second predetermined address area of the second shared RAM 共 0. The main CPU checks whether it is possible to load the executable data into a predetermined address area of the third shared RAM 11, and is writable. When the executable data is loaded into the shared RAM "10" of the third CPU, the data of the executable format is read, and the data is transferred to the third shared RAM 1 # and written. 3) Reads the execution form data from the shared RAM Ί パ ル ス, starts the pulse distribution processing B 1 for each axis based on the data, and distributes the pulses to the axis control circuits A 1 to An of each axis. , And drive the thermomotor of each axis to move the movable part of the machine.
—力 、 第 つ のサブ C P U 6 は初めのブ ロ ッ ク B Ί に つ いて の入力デー タ 処理 B 1 F が終了 する と 、 次のブロ ッ ク B 2 につ いて の入力デー タ 処理 B 2 F を行う 。 この よ う に 、 第 Ί のサブ C P U 6 は 、 各ブ ロ ッ ク につ いて の入 ' 力デー タ 処理が終了する毎に次のブ ロ ッ ク につ いての入 - S - 力デ一 タ 処 ill!を開始する。 又 、 第 2 の -り プ C P U 7 も各 7ロ ッ ク につい ての前処理の残り の部分処 が終了 する 毎に、 次のプロ ッ ク につ いての残り の部分処理を開始寸 る。 この結果、 複数のプロ ッ ク につい ての前処理が第 Ί , 第 2のサプ G P U 6 , 7 によ り並列 して処理される こ と となる。 — When the first sub CPU 6 completes the input data processing B 1 F for the first block B F, the input data processing B for the next block B 2 is completed. Do 2 F. As described above, the second sub CPU 6 receives the input for the next block every time the input data processing for each block is completed. -S-Force data processing ill! Is started. Also, the second loop CPU 7 starts the remaining partial processing for the next block every time the remaining partial processing of the preprocessing for each of the 7 locks is completed. As a result, the preprocessing for a plurality of blocks is processed in parallel by the first and second sub GPUs 6 and 7.
例えば、 第 2 図に おいて 、 第 Ί のサプ G P U 6 による 第 1 番目 のプロ ッ ク B Ί についての入力デ一タ処 ffi B 1 F が終了 せ る と、 第 2 の ブ G P U 7 が該プロ ッ ク B 1 につい ての残り の部分処理 B 1 i を開始 し 、 これと周 Οί に、 第 Ί の ブ C P U 6 は次の第 2 のブロ ッ ク Β 2 の入 力デー タ処现 Β 2 R を開始する。 この場合、 筘 1 , 第 2 のブロ ッ グ Β Ί , β 2 についての前処理は並列 して同時 に卖行されるこ と となる。 すなわち、 第 Ί 番目 の ァロ ッ ク Β Ί の前処理の終了 El 点 t 以前に次のプ π ッ ク B 2 の前処理は既に開始され 、 当該時点 t 1 では次のプ口 ッ ク B 2 の入力 -7"ー タ処理 B 2 「·は終了 して いる ( よ り一 般的に云 つ ても 、 少なく とも人力データ処理の大部分は' 終了 している ) 。 Ί 番目のプロ ッ ク の実行形式のデータ が出力された後、 次のプロ ッ クの突行形式のデ― タ が出 力さ れるまでの所要時 f¾ 1: 1 t 2 は 、 本実施例のよう に 複数のプロ ッ ク につ い ての前処理を並列 して行わない場 台 と比較し、 典型的には約 Ί ./ 2程度に短縮されるこ ·と となる。 '  For example, in FIG. 2, when the input data processing ffi B 1 F for the first block B に よ る by the second sub GPU 6 ends, the second GPU 7 The remaining partial processing B 1 i for the block B 1 is started, and around this, the first block CPU 6 processes the input data of the next second block # 2. 2 Start R. In this case, the preprocessing for 筘 1, the second block Β Β, and β 2 is executed in parallel and simultaneously. That is, the pre-processing of the next block B 2 has already started before the end El point t of the pre-processing of the Ίth block Β 、, and at the time t 1 the next block B Input 2—7 ”data processing B 2“ · has been completed (more generally, at least most of the human data processing has been completed). The required time from the output of the block execution format data until the output of the next block's ascending format data is output f¾1: 1 t2 is a multiple as in this embodiment. This is typically reduced to about Ί. / 2 compared to a platform that does not perform preprocessing on the blocks in parallel.
その結果 、 次のァ□ クの実行形式 -7'— タ の竹 成の遅 れに 因 して機械の可 W)部が - -時的に 1 >hを - IL る と い う こ と はな く なる。 よ り一般的に云 つ て も運 ίν';中断の 発生率が非常に少な く なる 。 As a result, the execution form of the next arc -7'- As a result, it is no longer possible for the W) part of the machine to--temporally 1> h-IL. More generally, the frequency of 運 ν '; interruptions is very low.
i_ S荬施例のよ う に 、 前処 fflを 2 分 i し て 2 つ のブ 口 ッ ク について の前処理を並列 に処理 して も 、 前処迎が間 に合わない こ とがある場合に は 、 さ ら に ¾処理を 3 以上 の部分処 に分割 し 、 各該部分処 Wを別々 の情報処迎手 段例えぱサブ C P U に よ り突行 し 、 も っ て 3 つ以上 のブ 口 ッ ク について の前処现を並列処 ®すれば良い。 この場 台 、 各ブロ ッ ク の見かけ上の所 ¾処 時 IIが短縮され るので、 上述の不灵合が解消される 。  As in the i_S 荬 example, even if the preprocessing ffl is performed for 2 minutes and the preprocessing for two blocks is processed in parallel, the preprocessing may not be in time. In such a case, the processing is further divided into three or more partial processings, and each of the partial processings W is executed by a separate information processing procedure (e.g., a sub CPU), so that three or more processings are performed. The pre-processing of the book may be performed in parallel. In this case, since the apparent processing time II of each block is shortened, the above-described inconvenience is eliminated.
- なお、 上 ¾実施例で は 、 メ イ ン C P U Ί の制御下で中 間デー タ及び実行形式デー タ を メ イ ン C P U 1 を介 し て J 1 , ^1 2 の共有 R A M 9 , 1 0 間及び 2 , 第 3'の共 有 R A M Ί 0 , Ί "1 PJ1でそれぞれ ¾送するよ う に して い るが .、 こ れに限定さ れるものではな.い。 例えぱ 、 1 , 第 2 のサブ 〇 P U 6 , 7 がァ ク セ ス可能な共有 R Λ M と 第 2 , 第 3 のサブ C P U 7 , 8 がア ク セス可能な共有 R A M とを設ける と共に これ ら ブ 〇 P U で中間デ一 タ 及 び実行形式デー タ の読出 し / 込み制御を行 i) J- ϋ に し メ イ ン C P U Ί を介さずに これらデ一 タ の転送を行う よ う に し て も良い u -In the above embodiment, under the control of the main CPU, the intermediate data and the executable data are transferred via the main CPU 1 to the shared RAM 9, 1 of J 1, ^ 12. The data is sent between 0 and the 2nd and 3rd shared RAM Ί0, Ί "1 PJ1, respectively. However, the present invention is not limited to this. For example, 1 , The second sub-PUs 6 and 7 are provided with a shared R-M which can be accessed, and the second and third sub-CPUs 7 and 8 are provided with a shared RAM which can be accessed. The read / write control of intermediate data and executable data is controlled by i) J-ϋ, and these data may be transferred without going through the main CPU Ί. u

Claims

Wi 求 の 範 匿 I  Coverage of Wi request I
( a ) N Gプログラムを Ί プロ ッ ク毎に読取り か つ斯ぐ読取っ たブ ロ ッ ク に記述された指 1fi報を実 行形式のデータ に変換するための前処理の、 鼓初の 部分迅理を、 これに対応する第 Ί の情報処理手段に よ り実行 し 、 ( b ) 上記前処理の残部をなす少なく とも 1 つの別の部分処理を、 該少な く とも 1 つ の別 の部分処理と周数の 、 かつ 、 前段の情報処理手段か らの出力データ を入力す る少な く とも Ί つの第 2 の 情報処理手段によ り卖行するス亍ッ プを備え、 これ によ り複数のプロ ッ ク についての前処理を同時に実 行する、 、 列処理機能を ίϊする数値制御方法。  (a) The first part of the preprocessing to read the NG program for each block and convert the finger 1fi information described in the read block into data in the execution format. (B) executing at least one other partial process that forms the balance of the pre-processing, and the at least one other partial process. And at least one second information processing means for inputting output data from the preceding information processing means and having at least two second information processing means. Numerical control method that simultaneously executes pre-processing for different blocks, and provides a column processing function.
前記第 Ί の情報処理手段による前記最初の部分処 理の終了直後に次のブロ ッ クについての前記最初の 部分処理の実行を開始する と共に 、 前記少なく とも 1 つの第 2 の情報処理手段によ-る前記少なく とも Ί つの別の部分処理の終了商後に次のプロ ッ ク につい ての該少なく とも 1 つの別の部分処理の実行を開始 する請求の範囲第 1 項記載の並列処理機能を有する 数値制御方法。  Immediately after the end of the first partial processing by the second information processing means, the execution of the first partial processing for the next block is started, and the at least one second information processing means executes the first partial processing. The parallel processing function according to claim 1, wherein after the completion quotient of said at least one other partial process, execution of said at least one another partial process for the next block is started. Numerical control method.
PCT/JP1988/000046 1987-01-23 1988-01-22 Method of numerical control having a parallel processing function WO1988005565A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP62/12583 1987-01-23
JP62012583A JPS63181005A (en) 1987-01-23 1987-01-23 Parallel processing method for numerical controller

Publications (1)

Publication Number Publication Date
WO1988005565A1 true WO1988005565A1 (en) 1988-07-28

Family

ID=11809375

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP1988/000046 WO1988005565A1 (en) 1987-01-23 1988-01-22 Method of numerical control having a parallel processing function

Country Status (4)

Country Link
US (1) US4956785A (en)
EP (1) EP0300044A4 (en)
JP (1) JPS63181005A (en)
WO (1) WO1988005565A1 (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5252899A (en) * 1988-03-09 1993-10-12 Fanuc Ltd Numerical control system
US5079491A (en) * 1989-05-23 1992-01-07 Honda Giken Kogyo Kabushiki Kaisha Robot control system
JP2916796B2 (en) * 1990-05-23 1999-07-05 日立精工株式会社 CNC device for controlling multiple machine tools
US5200564A (en) * 1990-06-29 1993-04-06 Casio Computer Co., Ltd. Digital information processing apparatus with multiple CPUs
US5584034A (en) * 1990-06-29 1996-12-10 Casio Computer Co., Ltd. Apparatus for executing respective portions of a process by main and sub CPUS
GB2256290B (en) * 1991-05-27 1994-07-20 Honda Motor Co Ltd Servomotor control system for multi-axes
US5270627A (en) * 1991-06-24 1993-12-14 Unilens Corp., U.S.A. Machine tool control system
DE59105332D1 (en) * 1991-06-28 1995-06-01 Siemens Ag Method for operating an automation device.
JPH05143148A (en) * 1991-11-25 1993-06-11 Fanuc Ltd Die machining dnc system
JP2626387B2 (en) * 1991-12-24 1997-07-02 ヤマハ株式会社 Electronic musical instrument
JPH07136906A (en) * 1993-11-17 1995-05-30 Brother Ind Ltd Numerical controller
JP3373115B2 (en) * 1996-05-10 2003-02-04 ファナック株式会社 Control software input setting method for numerical control device
US8697598B2 (en) * 2005-04-21 2014-04-15 China Petroleum & Chemical Corporation Hydrogenation catalyst and use thereof
CN100541374C (en) * 2007-08-01 2009-09-16 暨南大学 A kind of multiple axis linkage movement controller
DE102012112900A1 (en) * 2011-12-22 2013-06-27 Fanuc Robotics America Corp. Numerical control program alignment by robots
CN102650870A (en) * 2012-05-18 2012-08-29 姜铭 Embedded five-axis linkage control system
JP6151669B2 (en) 2014-06-27 2017-06-21 ファナック株式会社 Numerical control device capable of distributing CPU load according to machining program command contents
JP6203691B2 (en) 2014-08-29 2017-09-27 ファナック株式会社 Numerical control device that can execute distributed axis control processing for multiple axes
US10386817B1 (en) * 2015-09-11 2019-08-20 Haas Automation, Inc. Multi-core processing machine tool control system
JP7391629B2 (en) * 2019-11-22 2023-12-05 ファナック株式会社 Motor control equipment, numerical control equipment, robot controllers and integrated controller systems

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57211602A (en) * 1981-06-20 1982-12-25 Fanuc Ltd Numerical controlling method

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5154753A (en) * 1974-11-09 1976-05-14 Tokyo Keiki Kk
JPS5183982A (en) * 1975-01-20 1976-07-22 Oki Electric Ind Co Ltd
JPS521287A (en) * 1975-06-21 1977-01-07 Fanuc Ltd Numeric value control device
US4150328A (en) * 1977-09-14 1979-04-17 Dana Corporation Apparatus and method for controlling a machine tool along a circular path
US4298927A (en) * 1978-10-23 1981-11-03 International Business Machines Corporation Computer instruction prefetch circuit
JPS6057802B2 (en) * 1979-08-10 1985-12-17 株式会社クボタ mobile agricultural machine
JPS56168223A (en) * 1980-05-28 1981-12-24 Fanuc Ltd Numerical value control system
JPS5731003A (en) * 1980-08-01 1982-02-19 Fanuc Ltd Numerical control system
DE3280207D1 (en) * 1981-03-23 1990-08-16 Fanuc Ltd NUMERIC CONTROL UNIT.
DE3276500D1 (en) * 1981-06-20 1987-07-09 Fanuc Ltd Numerical control method
JPS58175003A (en) * 1982-04-07 1983-10-14 Fanuc Ltd Command system of numerical control
JPS58211211A (en) * 1982-06-01 1983-12-08 Fanuc Ltd Numerical controlling system
JPS6063609A (en) * 1983-09-16 1985-04-12 Fanuc Ltd Numerical controller
JPS60157608A (en) * 1984-01-26 1985-08-17 Fanuc Ltd Numerical control system
JPS6139105A (en) * 1984-07-31 1986-02-25 Mitsubishi Electric Corp Numerical controller
JPS6225302A (en) * 1985-07-25 1987-02-03 Fanuc Ltd Numerical controller
US4782438A (en) * 1986-06-10 1988-11-01 Yamazaki Mazak Corporation Means and method for translating a turret punch press control program into a laser beam machine control program

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57211602A (en) * 1981-06-20 1982-12-25 Fanuc Ltd Numerical controlling method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Kai Hwang (Author), Horikoshi Hisashi (Translator), "Computer no Kosoku Enzan Hoshiki", First Edition, 1 September, 1980 (01. 09. 80), KINDAI KAGAKUSHA, p.377-380 *

Also Published As

Publication number Publication date
EP0300044A1 (en) 1989-01-25
EP0300044A4 (en) 1990-09-12
JPS63181005A (en) 1988-07-26
US4956785A (en) 1990-09-11

Similar Documents

Publication Publication Date Title
WO1988005565A1 (en) Method of numerical control having a parallel processing function
US20080034132A1 (en) Memory interface for controlling burst memory access, and method for controlling the same
US5535412A (en) Circular buffer controller
JPS6275878A (en) Picture processor
JPS60117338A (en) Interrupt vectoring apparatus and method
JP2755039B2 (en) Register access control method
JPH0246490A (en) Memory circuit
US6628289B1 (en) Rendering apparatus and method, and storage medium
WO2004032054A1 (en) Image processing device and image processing method
JP2695790B2 (en) Image processing system
JP3074809B2 (en) Programmable controller
JP3223530B2 (en) Data transfer instruction generation processing method
JPH01169607A (en) Programmable controller
JPS63115774A (en) Line feed correcting method for printer
JPH0580697B2 (en)
JPS62290908A (en) Connection controller for numerical controller
JP2009277040A (en) Data transfer processor and data transfer processing method
JPS60163167A (en) Memory controller
JPH08221250A (en) Device, method, and system for receiving data
JP2005250996A (en) Image processor
JPS5896346A (en) Hierarchical arithmetic system
JP2005110124A (en) Image transfer method and device
JP2001325146A (en) Method for storing information table and storage structure
JPS58225440A (en) Memory controller
JPS63188255A (en) I/o address conversion system

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 1988901099

Country of ref document: EP

AK Designated states

Kind code of ref document: A1

Designated state(s): US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH DE FR GB IT LU NL SE

WWP Wipo information: published in national office

Ref document number: 1988901099

Country of ref document: EP

WWW Wipo information: withdrawn in national office

Ref document number: 1988901099

Country of ref document: EP