JPH01195505A - Numerical controller - Google Patents
Numerical controllerInfo
- Publication number
- JPH01195505A JPH01195505A JP1915988A JP1915988A JPH01195505A JP H01195505 A JPH01195505 A JP H01195505A JP 1915988 A JP1915988 A JP 1915988A JP 1915988 A JP1915988 A JP 1915988A JP H01195505 A JPH01195505 A JP H01195505A
- Authority
- JP
- Japan
- Prior art keywords
- program
- control
- waiting
- processor
- stored
- 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
- 238000010586 diagram Methods 0.000 description 8
- 238000000034 method Methods 0.000 description 3
Landscapes
- Numerical Control (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、数値制御装置の改良、詳しくは複数系統のプ
ログラムにおける待ち合わせ指令の指定方法及びその指
令の解読処理に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to improvements in numerical control devices, and more particularly to a method for specifying a rendezvous command in a plurality of programs and a process for decoding the command.
従来、複数の制御軸のうち1軸あるいは2軸以上の制御
軸を組み合わせて複数の制御系統を構成し、複数系統プ
ログラムに従って各軸を制御する数値制御装置において
、各系統間での待ち合わせを行わせる場合には、各系統
毎のプログラムで1 0 ! m! l−; (
n、m、l−・・は待ち合わせを行いたい系統番号)
なる指令により待ち合わせを指定する方法がとられてい
た。Conventionally, in numerical control devices that combine one or more control axes to form multiple control systems and control each axis according to a multi-system program, the waiting between each system is performed. If you want to use 10! programs for each system! m! l-; (
The method used was to specify a meeting using a command (where n, m, l-... are the system numbers for which you would like to make a meeting).
すなわち、第4図を例に説明すると、$1、$2、$3
で区別された3系統のプログラムにおいて、実行時間の
異なる1つあるいは多数のブロックで構成されているプ
ログラムブロック群P11、P21、P31の実行後、
PI3、P22.P32を同時に実行させたい場合、待
ち合わせ記号!を用い、$1においてPI3の前ブロッ
クで待ち合わせを行いたい系統$2.$3を指定、
(! 2! 3;) → ■$2においてP
22の前ブロックで待ち合わせを行いたい系統$1.$
3を指定、
(+ 17 3;) → O
$3においてP32の前ブロックで待ち合わせを行いた
い系統$1、$2を指定
(11! 2;) → ■
することにより行われていた。In other words, using FIG. 4 as an example, $1, $2, $3
After executing program block groups P11, P21, and P31, which are composed of one or multiple blocks with different execution times, in the three types of programs differentiated by
PI3, P22. If you want to run P32 at the same time, use the waiting symbol! , the system $2. which wants to meet in the previous block of PI3 in $1. Specify $3, (! 2! 3;) → ■P at $2
If you would like to meet at the block in front of 22, $1. $
3, (+17 3;) → O At $3, specify systems $1 and $2 for which you want to meet in the block before P32 (11! 2;) → ■.
また、2系統$1、$3においてPI3、P32の実行
後に、PI3、P33を同時に実行させたい場合には、
PI3の前ブロックで待ち合わせを行いたい系統$3を
指定、(! 3;) → ■I’33の前ブロック
で待ち合わせを行いたい系統$1を指定する。 (!
1;) → ◎なお、待ち合わせ指令はプログラム
実行時にノ(ッファリング、解読され各系統間の待ち合
わせタイミングが算出されて、指定した系統間での待ち
合わせが実行される。Also, if you want to simultaneously execute PI3 and P33 after executing PI3 and P32 in the two systems $1 and $3,
Specify the system $3 that you want to meet in the block before PI3, (! 3;) → ■Specify the system $1 that you want to meet in the block before I'33. (!
1;) → ◎The waiting command is decoded during program execution, the waiting timing between each system is calculated, and the waiting between the specified systems is executed.
第5図は第4図に示されているプログラムを実行させた
場合のタイムチャート図である。FIG. 5 is a time chart when the program shown in FIG. 4 is executed.
◎、■は各々P12、P22、P32を同時に実行する
までの$1及び$3の待ち時間、[相]はPI3.P3
3を同時に実行させるまでの$3の待ち時間を表してい
る。◎ and ■ are the waiting times of $1 and $3 until P12, P22, and P32 are executed simultaneously, [phase] is PI3. P3
It represents the waiting time of $3 until 3 are executed simultaneously.
従来の数値制御装置は以上のように構成されているため
、1つの系統を基準に考えて待ち合わせを行いたい系統
を指定すると共に(例えば$1を基準に考えた場合には
! 2! 3で指定)、待ち合わせを指定された系統側
からも他の系統に対して待ち合わせを指定しなおさなけ
ればならす($2において! 1! 3、$3において
! 1! 2を指定)、プログラミングが複雑になり、
プログラマは非常に負担を強いられる。Conventional numerical control devices are configured as described above, so you can designate the system you want to meet based on one system (for example, if you consider $1 as the standard! 2! 3) specification), the system for which the meeting was specified must also re-specify the meeting for other systems (in $2! 1! 3, in $3! 1! 2 specified), programming becomes complicated. Become,
Programmers are under a lot of pressure.
なお、このような命令体系が必要とされる理由とシテハ
、フログラム実行時に各系統毎のプログラムを数ブロッ
クずつバッファリングし待ち合わせ指定を解読して実行
させるためである。これは、プログラム登録時に待ち合
わせタイミングを算出し、記憶しておく機能を有してい
ないがためである。The reason why such a command system is required is that when executing the program, the program for each system is buffered several blocks at a time, and the wait specification is deciphered and executed. This is because the program does not have a function to calculate and store the meeting timing at the time of program registration.
本発明は、上記のような問題点を解決するためになされ
たもので、簡単化された待ち合わせ指令によって各系統
の待ち合わせ指定を行うことができ、作成したプログラ
ムを登録した時点で各系統間での待ち合わせタイミング
を算出、記憶してお(ことによって、プログラム実行時
にこの結果を基に各系統間での待ち合わせを行うことの
できる数値制御装置を提供することを目的とする。The present invention was made in order to solve the above-mentioned problems, and it is possible to specify the waiting of each system using a simplified waiting command, and when the created program is registered, it is possible to specify the waiting between each system. It is an object of the present invention to provide a numerical control device that can calculate and store the waiting timing of each system (and thereby perform waiting between systems based on this result during program execution).
この発明に係わる数値制御装置は、待ち合わせ記号と任
意の数で待ち合わせを指令することができ、プログラム
を登録した時点で待ち合わせタイミングを算出、記憶す
ることによって、プログラム実行時にこの結果を基にし
て各系統間での待ち合わせを行うことができるようにし
たものである。The numerical control device according to the present invention can command a meeting using a meeting symbol and an arbitrary number, and by calculating and storing the meeting timing at the time of registering a program, each time is set based on this result when the program is executed. This makes it possible to meet up between systems.
以下、本発明の一実施例を図を用いて説明する。 An embodiment of the present invention will be described below with reference to the drawings.
第1図は本発明の一実施例を示す数値制御装置のブロッ
ク図、第2図はプログラムのブロック図、第3図は数値
制御装置内部で作られる待ち合わせ表の概念図である。FIG. 1 is a block diagram of a numerical control device showing one embodiment of the present invention, FIG. 2 is a block diagram of a program, and FIG. 3 is a conceptual diagram of a waiting table created inside the numerical control device.
第2図において、各系統間での待ち合わせを行わせるた
めに待ち合わせ記号と任意の数を用い、各系統毎のプロ
グラムにおいて
!n (nは任意の数)
なる指令で待ち合わせを指定する。但し、同−系統内に
おけるnの重畳は許されない。本発明ではプロセッサに
プログラムチエツク機能をもたせプログラム入力終了後
、このような重畳入力がされた場合はアラームによりプ
ログラマに認識させるようにした。In Figure 2, a waiting symbol and an arbitrary number are used to make a meeting between each system, and in the program for each system! A meeting is specified with the command n (n is an arbitrary number). However, overlapping of n within the same system is not allowed. In the present invention, the processor is provided with a program check function, so that if such a superimposed input is made after the program input is completed, an alarm is generated to make the programmer aware.
なお、待ち合わせ記号は!以外の記号’PMコードなど
の一般コードを用いても何ら差しつかえない。Pll、
PI3、PI3、P21、P22、P31、P32、P
33は第4図で説明したように実行時間の異なる1つあ
るいは多数のブロックから成るプログラムブロック群で
ある。In addition, the meeting sign is! There is no problem in using other general codes such as PM code. Pll,
PI3, PI3, P21, P22, P31, P32, P
As explained in FIG. 4, 33 is a program block group consisting of one or multiple blocks having different execution times.
pH,P21、P31の実行後、PI3、P22.P3
2を同時に実行させたい場合には、同時実行させたいプ
ログラムブロック群P12、P22、P32の前ブロッ
クで!1を指定す→ ■■■
また、PI3、P32の実行後、PI3、P33を同時
に実行させたい場合には、PI3゜P33の前ブロック
で!2を指定する。After executing pH, P21, P31, PI3, P22. P3
2 at the same time, use the block before the program blocks P12, P22, and P32 that you want to execute simultaneously! Specify 1 → ■■■ Also, if you want to execute PI3 and P33 at the same time after executing PI3 and P32, use the block before PI3゜P33! Specify 2.
→ ■■
上記のごとく作成したプログラムは第1図に示すように
操作キーボード2あるいは外部インターフェース4を介
して外部入出力装置5より入力され記憶装置6の指定さ
れたアドレス3aに記憶される。→ ■■ The program created as described above is inputted from the external input/output device 5 via the operating keyboard 2 or external interface 4 and stored at the designated address 3a of the storage device 6, as shown in FIG.
このプログラムは記憶装置30指定アドレス63に記憶
されると直ちにプロセッサ1によって解読され、各系統
間の待ち合わせタイミングを算出し、記憶装置3の指定
されたアドレス6bに記憶される。Immediately after this program is stored in the designated address 63 of the storage device 30, it is decoded by the processor 1, the waiting timing between each system is calculated, and the program is stored in the designated address 6b of the storage device 3.
そして、プログラム実行を外部より指令されると記憶装
置乙のアドレス3aに記憶されている各系統毎のプログ
ラムとアドレス6bに記憶されている待ち合わせタイミ
ングのデータをプロセッサ1が解読し、補間、補正等の
演算を行い数値情報を作成す6ため、モーションコント
ロールユニット乙にこの数値情報を与えることで各軸の
動作が制御される。この際、記憶装置乙のアドレス3b
に記憶されている待ち合わせタイミングを基に各系統間
の待ち合わせが実行される。When commanded to execute a program from the outside, the processor 1 decodes the program for each system stored at the address 3a of the storage device B and the waiting timing data stored at the address 6b, and performs interpolation, correction, etc. The operation of each axis is controlled by giving this numerical information to the motion control unit B. At this time, address 3b of storage device B
Waiting between each system is executed based on the waiting timing stored in .
第3図は、第1図における記憶装置乙の指定アドレス6
bに記憶されている待ち合わせタイミング異の概念図で
ある。Figure 3 shows the designated address 6 of storage device B in Figure 1.
FIG. 3 is a conceptual diagram of different meeting timings stored in FIG.
第1の待ち合わせタイミングは、PI3、P22.P3
2のブロック群の先頭ブロックでとられ、表の$1にP
12h、$2にP22h、$3にP32hが書き込まれ
る。 → ■ここでP12h、P22h%P32h
は各々P12、P22、P32の先頭ブロックの番号を
表している。これで、PI3、P22、P32が同時に
実行可能となる。The first meeting timing is PI3, P22. P3
It is taken in the first block of block group 2, and P is shown at $1 in the table.
12h, P22h is written to $2, and P32h is written to $3. → ■Here P12h, P22h%P32h
represent the numbers of the first blocks of P12, P22, and P32, respectively. Now, PI3, P22, and P32 can be executed simultaneously.
第2の待ち合わせタイミングは、PI3、P33の先頭
ブロックでとられ、表の$1にP13h、表$3にP3
3h、が書き込まれる。The second waiting timing is taken at the first block of PI3 and P33, P13h is placed on $1 of the table, and P3 is placed on $3 of the table.
3h is written.
→ ■
ここでP13h、P33hは各々P13、P33の先頭
ブロックの番号を表している。これで、PI3、P33
が同時に実行可能となる。→ ■ Here, P13h and P33h represent the numbers of the first blocks of P13 and P33, respectively. Now, PI3, P33
can be executed simultaneously.
なお、数値制御装置にモニタ画面を備えているならば、
このタイミング表を表示し、確認することも可能となる
。また、本発明では第一の記憶部であるアドレス3a%
第二の記憶部であるアドレス6bを一つの記憶装置乙に
設けたが、別々に設けても良いことは言うまでもない。Furthermore, if the numerical control device is equipped with a monitor screen,
This timing table can also be displayed and confirmed. Further, in the present invention, the address 3a% which is the first storage section
Although the address 6b, which is the second storage section, is provided in one storage device B, it goes without saying that it may be provided separately.
以上のように、本発明によれば、プログラム登録時に数
値制御装置内部で待ち合わせ指令を解読し待ち合わせタ
イミングを算出、記憶してお(ことにより、簡単化され
た待ち合わせ指令によって各系統の待ち合わせを実行す
ることができる。As described above, according to the present invention, when a program is registered, a waiting command is decoded within the numerical control device, and the waiting timing is calculated and stored (thereby, the waiting of each system is executed using a simplified waiting command). can do.
第1図は本発明による数値制御装置の一実施例を示すブ
ロック図、第2図は本発明による数値制御装置に用いる
プログラムのブロック図、第3図は数値制御装置内部で
作成される待ち合わせタイミング洪の概念図、第4図は
従来の待ち合わせ指令によるプログラムのブロック図、
第5図は第2図及び第4図のプログラムを実行させた場
合のタイムチャート図である。
1・・・・・・プロセッサ、
2・・・・・・操作キーボード(入力手段)6・・・・
・・記憶装置、
6a・・・・・・第一記憶部、
3b・・・・・・第二記憶部。
4・・・・・・外部インターフェイス。
5・・・・・・外部入出力装置。
6・・・・・・モーションコントロールユニット。
第3′て
第4図Fig. 1 is a block diagram showing an embodiment of the numerical control device according to the present invention, Fig. 2 is a block diagram of a program used in the numerical control device according to the present invention, and Fig. 3 is a waiting timing created inside the numerical control device. Hong's conceptual diagram, Figure 4 is a block diagram of a program using conventional rendezvous commands,
FIG. 5 is a time chart when the programs shown in FIGS. 2 and 4 are executed. 1... Processor, 2... Operation keyboard (input means) 6...
...Storage device, 6a...First storage section, 3b...Second storage section. 4...External interface. 5...External input/output device. 6...Motion control unit. Figure 4 at 3'
Claims (1)
み合わせて複数の制御系統を構成し、前記複数の制御系
統の各制御系統毎に作成され、かつ異なる制御系統の動
作との待ち合わせを指令する待ち合わせ指令を有するプ
ログラムに従つて各制御軸の動作を制御する数値制御装
置において、前記プログラムを入力する入力手段と、こ
の入力手段により入力されたプログラムを記憶する第一
の記憶部と、この第一の記憶部に記憶された前記プログ
ラムの待ち合わせ指令を基に前記各制御系統間の待ち合
わせタイミングを算出する機能を有するプロセッサと、
このプロセッサにより算出された待ち合わせタイミング
のデータを記憶する第二の記憶部と、前記制御軸の動作
を制御する動作制御部を有し、外部より前記プログラム
の開始信号が入力されることにより前記第一の記憶部に
記憶されている前記プログラムと前記第二の記憶部に記
憶されている待ち合わせタイミングのデータが前記プロ
セッサに入力、演算され、その演算結果が前記動作制御
部に入力されることにより前記制御軸を制御することを
特徴とする数値制御装置。One or more control axes among the plurality of control axes are combined to form a plurality of control systems, and the control system is created for each control system of the plurality of control systems, and has the function of coordinating operations with different control systems. In a numerical control device that controls the operation of each control axis according to a program having a waiting command to be issued, an input means for inputting the program, a first storage section for storing the program input by the input means, a processor having a function of calculating a waiting timing between the respective control systems based on a waiting command of the program stored in the first storage unit;
It has a second storage section that stores data on the waiting timing calculated by this processor, and an operation control section that controls the operation of the control axis, and when a start signal of the program is input from the outside, the second storage section stores data of the waiting timing calculated by the processor. The program stored in the first storage unit and the meeting timing data stored in the second storage unit are input to the processor and calculated, and the calculation result is input to the operation control unit. A numerical control device that controls the control axis.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP01915988A JP3210309B2 (en) | 1988-01-29 | 1988-01-29 | Numerical control unit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP01915988A JP3210309B2 (en) | 1988-01-29 | 1988-01-29 | Numerical control unit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH01195505A true JPH01195505A (en) | 1989-08-07 |
| JP3210309B2 JP3210309B2 (en) | 2001-09-17 |
Family
ID=11991623
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP01915988A Expired - Lifetime JP3210309B2 (en) | 1988-01-29 | 1988-01-29 | Numerical control unit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3210309B2 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012208845A (en) * | 2011-03-30 | 2012-10-25 | Citizen Holdings Co Ltd | Control device for machine tool |
| KR20140012971A (en) * | 2011-03-30 | 2014-02-04 | 시티즌홀딩스 코리미티드 | Machine-tool control device |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| BRPI0905945A2 (en) | 2008-04-11 | 2015-06-30 | Toray Industries | "carbon fiber precursor fiber, carbon fiber precursor fiber production process, carbon fiber and carbon fiber precursor production process" |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS59216205A (en) * | 1983-05-23 | 1984-12-06 | Mitsubishi Electric Corp | Numerical control device |
-
1988
- 1988-01-29 JP JP01915988A patent/JP3210309B2/en not_active Expired - Lifetime
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS59216205A (en) * | 1983-05-23 | 1984-12-06 | Mitsubishi Electric Corp | Numerical control device |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012208845A (en) * | 2011-03-30 | 2012-10-25 | Citizen Holdings Co Ltd | Control device for machine tool |
| KR20140012971A (en) * | 2011-03-30 | 2014-02-04 | 시티즌홀딩스 코리미티드 | Machine-tool control device |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3210309B2 (en) | 2001-09-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS63181005A (en) | Parallel processing method for numerical controller | |
| US5390306A (en) | Pipeline processing system and microprocessor using the system | |
| JP3210309B2 (en) | Numerical control unit | |
| JPS59172009A (en) | Numerical controller | |
| JP3331357B2 (en) | Programmable controller | |
| JP3328686B2 (en) | Programmable controller | |
| JPH05298088A (en) | Microcomputer | |
| JP3328714B2 (en) | Programmable controller | |
| JPS59212905A (en) | Control system of programmable controller | |
| JPH04205386A (en) | Image data edit control method | |
| JP2658578B2 (en) | Programmable controller | |
| JP2808558B2 (en) | Information processing device | |
| JPS61107401A (en) | Program format converting system between numerical controller and programmable controller for machine tool | |
| JP3117214B2 (en) | Sequencer microprogram control method | |
| JPS6247706A (en) | Numerical controller | |
| JP2639127B2 (en) | Numerical control unit | |
| JPH02242428A (en) | Microprogram controller | |
| JPS59119413A (en) | Programmable controller | |
| JPS59106044A (en) | Programming device of programmable controller | |
| JPS6345603A (en) | Program storing system for programmable controller | |
| JPS61195436A (en) | Trace control system for control logic | |
| JPH03172958A (en) | Synchronous processing method, parallel processing system, parallel processing method, and parallel program generation device | |
| JPS58225440A (en) | Memory controller | |
| JPH03139703A (en) | Timer instruction processing system of programmable controller | |
| JPS59172007A (en) | Numerical controller |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| EXPY | Cancellation because of completion of term | ||
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080713 Year of fee payment: 7 |