JPH01169608A - Numerical control method - Google Patents

Numerical control method

Info

Publication number
JPH01169608A
JPH01169608A JP32733287A JP32733287A JPH01169608A JP H01169608 A JPH01169608 A JP H01169608A JP 32733287 A JP32733287 A JP 32733287A JP 32733287 A JP32733287 A JP 32733287A JP H01169608 A JPH01169608 A JP H01169608A
Authority
JP
Japan
Prior art keywords
axis
instruction
axes
command
time
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
Application number
JP32733287A
Other languages
Japanese (ja)
Inventor
Norio Nagase
長瀬 典夫
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric 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 Yaskawa Electric Manufacturing Co Ltd filed Critical Yaskawa Electric Manufacturing Co Ltd
Priority to JP32733287A priority Critical patent/JPH01169608A/en
Publication of JPH01169608A publication Critical patent/JPH01169608A/en
Pending legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)

Abstract

PURPOSE:To easily synchronize and drive the arbitrary number of axes without considering a detailed specification by driving independently respective axes from other axis by an independent driving instruction and giving the synchronizing waiting instruction and the synchronizing instruction to a necessary axis at the arbitrary place of a driving instruction. CONSTITUTION:When an action is completed by times t2 and t1 for both X axis and Y axis, a next instruction is also an independent driving instruction, and therefore, the next instruction is executed. The axis Y, becomes a waiting condition since in a time t5, the next instruction is an instruction G04XY to await simultaneously the X axis and the Y axis. The Z axis becomes the waiting condition since in a time t4, the next instruction is an instruction G04XY to await simultaneously the X axis and the Y axis. Since in a time t6, for the X axis, the next instruction is an instruction G04YZ to await simultaneously, the Y axis and the Z axis, both Y axis and Z axis are the waiting condition, three axes enters the synchronizing driving in accordance with the synchronizing instruction while they are prepared next to the synchronizing waiting instruction of three axes. Thus, it is not necessary to think other detailed specification, the instruction can be instructed for preparation and the instruction for respective axes may be also written in order into a memory, the use efficiency of the memory is improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は多軸運転を行う数値制御方法に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to a numerical control method for multi-axis operation.

〔従来の技術〕[Conventional technology]

表1はこの種の従来の数値制御装置の制御方法を示すプ
ログラム、第2図は表1のプログラムに従ってそれぞれ
出力されるX軸、Y軸、Z軸の運転内容を示すタイムチ
ャートである。
Table 1 is a program showing a control method of this type of conventional numerical control device, and FIG. 2 is a time chart showing the operation contents of the X-axis, Y-axis, and Z-axis outputted according to the program in Table 1.

表1 ブロック1において時刻toから各軸間時スタート独立
位置決めの動作を行っており、Z軸の動作は時刻t1、
X軸の動作は時刻t2に終了しているが、Y軸の動作が
時刻t3まて終了しないので、ブロック1からブロック
2に移行するには時刻t3まて待たねばならない。ブロ
ック2,4においても同様である。ブロック3において
はX軸か1.5秒間のドウエルとなっているのてY軸、
Z軸の動作は終了しているかブロック3からブロック4
に移行するには時刻t5まで待たねばならない。ブロッ
ク5においては、ブロック4のZ軸の動作終了を待って
時刻t6から時刻t7まて3軸直線補間運転を行う。本
従来例では時刻toから3軸間期運転が行われる時刻t
6まてに11秒を要している。
Table 1 In block 1, the time-start independent positioning operation between each axis is performed from time to, and the Z-axis operation is performed at time t1,
Although the X-axis operation ends at time t2, the Y-axis operation does not end until time t3, so it is necessary to wait until time t3 to shift from block 1 to block 2. The same applies to blocks 2 and 4. In block 3, there is a dwell of 1.5 seconds on the X axis, so on the Y axis,
Check from block 3 to block 4 whether the Z-axis movement is complete.
In order to shift to , it is necessary to wait until time t5. In block 5, after waiting for the end of the Z-axis operation in block 4, a three-axis linear interpolation operation is performed from time t6 to time t7. In this conventional example, the time t at which the three-axle interphase operation is performed from time to
It takes 11 seconds to reach 6.

表2 表2は数値制御装置の他の従来例の制御に用いられてい
るメモリのX軸、Y軸に関するデータ格納エリアを説明
するものであり、第3図は始動軸エリアの詳細を示すデ
ータフォーマットである。
Table 2 Table 2 explains the data storage area regarding the X-axis and Y-axis of the memory used for control of other conventional examples of numerical control equipment, and Figure 3 shows the data showing details of the starting axis area. It is a format.

X軸位置決め始動用データDXはアドレス0゜1、〜,
200に、Y軸位置決め始動用データDYはアドレス3
00,301.〜,500に格納されている。これらデ
ータDX、DYは、実際の位置決めデータが格納されて
いる位置決め情報px、pyであるデータ届を指示する
ポインタである。また、始動軸エリアの設定については
、blboが00.01. to。
The X-axis positioning start data DX is at address 0°1, ~,
200, the Y-axis positioning start data DY is at address 3.
00,301. ~,500. These data DX and DY are pointers that indicate data notifications, which are positioning information px and py in which actual positioning data is stored. Also, regarding the setting of the starting axis area, blbo is 00.01. to.

11の場合はそれぞれ補間始動、X軸始動、Y軸始動、
両軸始動を設定する。
In the case of 11, interpolation start, X-axis start, Y-axis start,
Set both axes starting.

表39表4は、これらの規定に従ってプログラムされた
第1.第2のプログラム例である。
Table 39 Table 4 shows the first . This is a second program example.

表3 第1のプログラム例について説明する。始動軸を補間始
動に設定する場合は該当ポイント(最初の従来例のブロ
ックと同様な意味をもつ)における始動軸の設定はX軸
、Y軸ともに同一てなければならないという規定がある
。しかし4ポイント目でX軸側の設定は01、Y軸側の
設定は00であり、エラーとなる。エラーをなくするた
めには始動軸エリアのデータ設定を注意深く行わなけれ
ばならない。
Table 3 The first program example will be explained. When setting the starting axis for interpolation starting, there is a regulation that the setting of the starting axis at the relevant point (which has the same meaning as the block in the first conventional example) must be the same for both the X-axis and the Y-axis. However, at the fourth point, the setting on the X-axis side is 01 and the setting on the Y-axis side is 00, resulting in an error. To eliminate errors, data settings in the starting axis area must be carefully set.

第2のプログラム例について説明する。Y軸側は運転回
数が多くアドレス300よりアドレス304まて充分に
使用されているが、X軸側はアドレス3とアドレス4の
みてアドレス0,1.2は使用されていない。つまり軸
間で運転回数のアンバランスが生ずると、運転回数の少
ない軸側のメモリは使用効率が悪くなる。
A second program example will be explained. On the Y-axis side, the number of operations is large and addresses 300 to 304 are fully used, but on the X-axis side, only addresses 3 and 4 are used, and addresses 0 and 1.2 are not used. In other words, if there is an imbalance in the number of operations between the axes, the memory of the axis that has fewer operations will be used less efficiently.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来の数値制御方法は、前者においては各ブロ
クつて他軸ずへてか動作終了するまて待たねばならず時
間効率が悪いという欠点があり、後者においてはブロク
ラミングに多大な注意を払わなければならず、メモリ使
用の効率も悪いという欠点かある。
The conventional numerical control method described above has the disadvantage that in the former, each block must wait until the other axis has finished its operation, which is inefficient in terms of time; in the latter, great attention is paid to block ramming. However, the disadvantage is that memory usage is inefficient.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の数値制御方法は、 各軸を独立運転すべきときは、各軸にそれぞれ独立運転
命令を与え、同期運転が必要なときは、同期運転させる
べき各軸の全ての相手の軸と同期待ち状態になるまで待
つように命令する同期待ち命令と、同期待ち命令を与え
た各軸のうちいずれか1つの特定軸に全ての軸が同期待
ち状態になったとき、どのように各軸が同期運転すべき
かを命令する同期命令を与える第1の工程と、各軸か独
立運転命令を受けているときはその軸を他の軸から独立
に運転し、同期待ち命令を受けている軸は同期待ち状態
にさせ、同期させるべき全ての軸が同期待ちになったと
き、特定軸の同期命令に従って、同期待ち命令を受けた
各軸を同期運転させる第2の工程とを有する。
In the numerical control method of the present invention, when each axis should be operated independently, an independent operation command is given to each axis, and when synchronized operation is required, each axis to be operated synchronously is synchronized with all other axes. A synchronization wait command that instructs the axes to wait until the synchronization wait state is given, and how each axis is handled when all axes are in the synchronization wait state for one specific axis among the axes to which the synchronization wait command was given. The first step is to issue a synchronization command to determine whether synchronized operation should be performed, and when each axis receives an independent operation command, that axis is operated independently from other axes, and the axis receiving a synchronization wait command is and a second step of causing the axes that have received the synchronization wait command to operate synchronously in accordance with the synchronization command for the specific axis when all the axes to be synchronized are in a synchronization wait state.

(作  用〕 独立運転命令により各軸を他の軸から独立に運転し、同
期待ち命令と同期命令を運転命令の任意な所で必要な軸
に与えることにより、細い規定を考慮することなく容易
に任意の数の軸を同期運転できる。
(Function) By operating each axis independently from other axes using an independent operation command, and by giving synchronization wait commands and synchronization commands to the necessary axes at any point in the operation command, it is possible to easily operate each axis without considering detailed regulations. Any number of axes can be operated synchronously.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

表5は本発明の数値制御方法の一実施例が適用されたプ
ログラム、第1図は表5のプログラムに従ってそれぞれ
出力されるX軸、Y軸、Z軸の運転内容を示すタイムチ
ャートである。
Table 5 is a program to which an embodiment of the numerical control method of the present invention is applied, and FIG. 1 is a time chart showing the operation details of the X-axis, Y-axis, and Z-axis outputted according to the program in Table 5.

表5 X軸、Y軸、Z軸はそれぞれX軸用プロクラム格納エリ
アMX、Y軸用プログラム格納エリアMY、Z軸周プロ
グラムMZに格納されているブロクラムによって制御さ
れる。時刻toのX軸、Y軸、Z軸とも独立に最初の動
作を開始し、X軸、Y軸、Z軸はそれぞれ時刻t2+ 
t3+ tlに終了する。従来例ては、X軸、Z軸はY
軸の動作が終了する時刻E3まて待たねばならなかった
が、本実施例ではX軸、Y軸とも時刻t2+ t、て動
作終了次第、次の命令も独立運転命令なのて、次の命令
を実行する。Y軸は時刻t5において次の命令かX軸と
Z軸とを同期待ちせよとの命令GO4X:Zなのて、待
ち状態となる。Z軸は時刻t4において次の命令がX軸
とY軸とを同期待ちせよとの命令GO4XYなので待ち
状態となる。時刻t6にX1li+hは次の命令がY軸
とZ軸とを同期待ちせよとの命令GO4YZであり、Y
軸、Z軸とも待ち状態なのて、3軸の同期待ち命令の次
に用意されて同期命令(本実施例の場合X軸のGol 
XX4 Yy4Z24)に従って3軸は同期運転に入る
。時刻t7に同期運転が終了すると、X軸には独立運転
命令が与えられているので独立に運転する。Y軸、Z軸
にはそれぞれZ軸、Y軸と同期する同期待ち命令が与え
られているので、同期待ち命令の次にZ軸に与えられて
いる同期命令(Gol Yy5 Z2.)に従って2軸
間期運転に入る。
Table 5 The X-axis, Y-axis, and Z-axis are controlled by programm stored in the X-axis program storage area MX, Y-axis program storage area MY, and Z-axis circumferential program MZ, respectively. The first operation starts independently on the X-axis, Y-axis, and Z-axis at time to, and the X-axis, Y-axis, and Z-axis each start at time t2+.
Ends at t3+tl. In the conventional example, the X axis and Z axis are Y
It was necessary to wait until time E3 when the operation of the axis ends, but in this embodiment, as soon as the operation of both the X and Y axes ends at time t2+t, the next command is also an independent operation command, so the next command is executed. Execute. At time t5, the Y-axis enters a waiting state due to the command GO4X:Z to wait for the next command or the X-axis and Z-axis synchronously. The Z-axis enters a waiting state at time t4 because the next command is the command GO4XY to synchronize the X-axis and Y-axis. At time t6, the next command for X1li+h is the command GO4YZ to wait for synchronization of the Y axis and Z axis, and Y
Since both the axes and the Z-axis are in the waiting state, a synchronization command (in this example, the X-axis Gol
XX4 Yy4Z24), the three axes enter synchronous operation. When the synchronous operation ends at time t7, the X-axis operates independently because an independent operation command has been given. Since the Y-axis and Z-axis are given a synchronization wait command to synchronize with the Z-axis and Y-axis, respectively, the two axes are Enters interphase operation.

したかって、各軸の個々の動作x、、x2.x、。Therefore, the individual movements of each axis x, , x2 . x.

y+、3’2.’/3.Z+、Z2.Z3の所用動作時
間が従来例と変わらないとした時、時刻toから最初の
同期運転に入る時刻t6までの時間が本実施例では8.
8秒となり、従来例の11秒に比べると大幅に短縮され
ている。
y+, 3'2. '/3. Z+, Z2. Assuming that the required operation time of Z3 is the same as in the conventional example, the time from time to to time t6 when the first synchronous operation starts is 8.
This is 8 seconds, which is significantly shorter than the 11 seconds of the conventional example.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、独立運転命令により、各
軸独立同時運転でき、他の軸との待ち合せが不要なので
時間効率がよくなり、同期運転させたい軸には同期待ち
命令を与え、同期待ち命令に続く同期命令て同期運転を
させることがてきることにより、他の細い規定を考える
必要がなく用意に命令を指示てきる効果があり、各軸に
対する命令もメモリに順番に書込めばよいのでメモリの
使用効率がよくなる効果もある。
As explained above, according to the present invention, each axis can operate independently and simultaneously using an independent operation command, and there is no need to wait for other axes, which improves time efficiency. By being able to perform synchronized operation using the synchronization command that follows the wait command, there is an effect that commands can be easily issued without having to consider other detailed regulations, and the commands for each axis can also be written to memory in order. This also has the effect of improving memory usage efficiency.

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

第1図は本発明の数値制御方法の一実施例が適用された
プログラムに従ってそれぞれ出力されるX軸、Y軸、Z
軸の運転内容を示すタイムチャート、第2図は従来の数
値制御方法のプログラムに従ってそれぞれ出力されるX
”軸、Y軸、Z軸の運転内容を示すタイムチャート、第
3図は始動軸エリアの詳細を示すデータフォーマットで
ある。 Xl 、X2.〜X 5−X軸の移動量、’/+ 、 
y2.〜y5・・・Y軸の移動量、Z I + Z2 
+〜Z、・・・Z軸の移動量。
FIG. 1 shows the X-axis, Y-axis, and Z-axis, which are output according to a program to which an embodiment of the numerical control method of the present invention is applied.
The time chart showing the operation contents of the axis, Figure 2 shows the X output according to the program of the conventional numerical control method.
3 is a data format showing the details of the starting axis area.
y2. ~y5...Y-axis movement amount, Z I + Z2
+~Z,...Movement amount of Z axis.

Claims (1)

【特許請求の範囲】  多軸運転を行う際に、各軸を独立運転すべきときは、
各軸にそれぞれ独立運転命令を与え、同期運転が必要な
ときは、同期運転させるべき各軸の全ての相手の軸と同
期待ち状態になるまで待つように命令する同期待ち命令
と、同期待ち命令を与えた各軸のうちいずれか1つの特
定軸に全ての軸が同期待ち状態になったとき、どのよう
に各軸が同期運転すべきかを命令する同期命令を与える
第1の工程と、 各軸が独立運転命令を受けているときはその軸を他の軸
から独立に運転し、同期待ち命令を受けている軸は同期
待ち状態にさせ、同期させるべき全ての軸が同期待ちに
なったとき、特定軸の同期命令に従って、同期待ち命令
を受けた各軸を同期運転させる第2の工程とを有する数
値制御方法。
[Claims] When performing multi-axis operation, when each axis should be operated independently,
An independent operation command is given to each axis, and when synchronized operation is required, there is a synchronized wait command that instructs each axis to wait until all of its partner axes are in a synchronized wait state. a first step of giving a synchronization command to any one specific axis among the given axes, which instructs how each axis should operate in synchronization when all the axes are in a synchronization wait state; When an axis receives an independent operation command, it operates independently from other axes, and axes that receive a synchronization wait command are placed in a synchronization wait state, and all axes that should be synchronized are placed in a synchronization wait state. and a second step of synchronously operating each axis that has received a synchronization wait command in accordance with a synchronization command for a specific axis.
JP32733287A 1987-12-25 1987-12-25 Numerical control method Pending JPH01169608A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32733287A JPH01169608A (en) 1987-12-25 1987-12-25 Numerical control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32733287A JPH01169608A (en) 1987-12-25 1987-12-25 Numerical control method

Publications (1)

Publication Number Publication Date
JPH01169608A true JPH01169608A (en) 1989-07-04

Family

ID=18197955

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32733287A Pending JPH01169608A (en) 1987-12-25 1987-12-25 Numerical control method

Country Status (1)

Country Link
JP (1) JPH01169608A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03144803A (en) * 1989-10-31 1991-06-20 Fanuc Ltd Queuing control system for cnc
JPH05341825A (en) * 1992-06-12 1993-12-24 Fanuc Ltd Cnc machining control system
JPH0667715A (en) * 1991-11-16 1994-03-11 Grossenbacher Elektron Ag Method for operating numerically controlled machine tool and machine tool for executing method thereof
US5444343A (en) * 1993-03-24 1995-08-22 Toyoda Koki Kabushiki Kaisha Method and apparatus for numerically controlling industrial machine

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03144803A (en) * 1989-10-31 1991-06-20 Fanuc Ltd Queuing control system for cnc
JPH0667715A (en) * 1991-11-16 1994-03-11 Grossenbacher Elektron Ag Method for operating numerically controlled machine tool and machine tool for executing method thereof
JPH05341825A (en) * 1992-06-12 1993-12-24 Fanuc Ltd Cnc machining control system
US5444343A (en) * 1993-03-24 1995-08-22 Toyoda Koki Kabushiki Kaisha Method and apparatus for numerically controlling industrial machine

Similar Documents

Publication Publication Date Title
JPH01169608A (en) Numerical control method
KR100539126B1 (en) Motor control apparatus and motor control method
JPS6068405A (en) High-speed control system of action sequence
JPS6244808A (en) Control method for nc working machine group
EP0923010A2 (en) Programmable controller
JPH0337719A (en) System for expanding master file on main storage device
JPH0451301A (en) Numerical controller
JPS6020206A (en) Sequence controlling system
JPH0439684B2 (en)
JPS60215213A (en) System for improving speed of sequence control
JPH0335342A (en) Transfer system for inter-independent program take-over information
JPS63311403A (en) Processing system for input/output signal of pc
JP2803270B2 (en) SCSI host adapter circuit
JP2658699B2 (en) Method of managing device under test of input / output device test program
JPH10207517A (en) Robot control device
JPH11282509A (en) Robot controller and method for controlling the same
JPS6368955A (en) Input/output controller
JPH0786763B2 (en) Numerical control method
JPH11110015A (en) Inter-cpu module data exchange device
JPS63285611A (en) Input/output method for control information on numerical controller
JPS62239256A (en) Correcting abolishing system for on-line terminal
JPS6349839A (en) Leading system for electronic computer system
JPS63149732A (en) Microprogram branch control system
JPH04137893A (en) Electronic exchange
JPS63231669A (en) Transmission system for data