JP3202102B2 - Program controller for rotary tables - Google Patents

Program controller for rotary tables

Info

Publication number
JP3202102B2
JP3202102B2 JP13790993A JP13790993A JP3202102B2 JP 3202102 B2 JP3202102 B2 JP 3202102B2 JP 13790993 A JP13790993 A JP 13790993A JP 13790993 A JP13790993 A JP 13790993A JP 3202102 B2 JP3202102 B2 JP 3202102B2
Authority
JP
Japan
Prior art keywords
control
program
index
indexing
content
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.)
Expired - Fee Related
Application number
JP13790993A
Other languages
Japanese (ja)
Other versions
JPH06348319A (en
Inventor
誠司 小島
治男 大崎
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.)
Tsudakoma Corp
Original Assignee
Tsudakoma Industrial 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 Tsudakoma Industrial Co Ltd filed Critical Tsudakoma Industrial Co Ltd
Priority to JP13790993A priority Critical patent/JP3202102B2/en
Publication of JPH06348319A publication Critical patent/JPH06348319A/en
Application granted granted Critical
Publication of JP3202102B2 publication Critical patent/JP3202102B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)
  • Control Of Position Or Direction (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は、マニシングセンタな
どの工作機械に搭載する円テーブルを簡便に駆動制御す
るための円テーブル用のプログラム制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program control device for a rotary table for easily controlling a rotary table mounted on a machine tool such as a machining center.

【0002】[0002]

【従来の技術】マシニングセンタなどの工作機械に円テ
ーブルを搭載すれば、円テーブル上に積載するワークを
任意の角度に回転割出しすることができるから、ワーク
を積載換えすることなく、複雑な工程からなるワークの
加工を短時間に完了させることができる。
2. Description of the Related Art If a rotary table is mounted on a machine tool such as a machining center, a work to be mounted on the rotary table can be rotated and indexed at an arbitrary angle, so that complicated processes can be performed without changing the work. Can be completed in a short time.

【0003】かかる円テーブルは、あらかじめ指定され
た制御プログラムに従って、工作機械側からの工程完了
信号(ワークを加工する際に、工作機械側の1工程が完
了したことを表わす信号をいう、以下同じ)に対応して
ワークを回転割出しするために、プログラム制御装置を
介して駆動制御するのが普通である。すなわち、プログ
ラム制御装置は、工作機械の1工程ごとに、ワークの割
出角度を指定するための制御プログラムを記憶してお
り、この制御プログラムに従って、円テーブルを割出し
制御することができる。
[0003] Such a circular table is a process completion signal from a machine tool (a signal indicating that one process on the machine tool has been completed when machining a workpiece, according to a control program specified in advance. In order to index the work in rotation according to (1), drive control is usually performed via a program controller. That is, the program control device stores a control program for designating the indexing angle of the work for each process of the machine tool, and can control the indexing of the circular table according to the control program.

【0004】なお、円テーブルの回転割出しは、一般
に、インクリメント割出しとアブソリュート割出しとが
ある。前者は、前回の割出角度に対する相対的な割出角
度を指定するのに対し、後者は、円テーブルの割出角度
を絶対指定するものである。そこで、従来のプログラム
制御装置は、両者を区分するために、制御プログラム中
に特定の宣言コードを用意していた。たとえば、G90
コードは、アブソリュート割出しを宣言し、後続のすべ
ての制御ステップがアブソリュート割出しであることを
意味する一方、G91コードは、インクリメント割出し
を宣言し、同様に、後続のすべての制御ステップがイン
クリメント割出しであることを意味する。なお、同一割
出角度の回転割出しを複数回繰り返すときは、その繰返
し回数だけ同一の制御ステップを繰返し指示すればよ
い。
[0004] The rotary indexing of the rotary table generally includes an incrementing index and an absolute indexing. The former specifies the index angle relative to the previous index angle, while the latter absolutely specifies the index angle of the circular table. Therefore, the conventional program control device prepares a specific declaration code in the control program in order to distinguish them. For example, G90
The G91 code declares an absolute index, while the G91 code declares an incremental index, and similarly, all subsequent control steps are incremented. It means indexing. When the rotation indexing with the same indexing angle is repeated a plurality of times, the same control step may be repeatedly instructed by the number of repetitions.

【0005】[0005]

【発明が解決しようとする課題】かかる従来技術による
ときは、同一割出角度の回転割出しを繰り返すときは、
その繰返し回数だけ同一の制御ステップを指示しなけれ
ばならないから、制御プログラムが冗長になるばかりで
なく、アブソリュート割出し、インクリメント割出しの
別を宣言コードによって区分するから、制御プログラム
の変更修正が極めて煩雑であり、厄介であるという問題
があった。制御プログラムを変更修正するときは、その
直前に存在する宣言コードを意識しなけれればならず、
そのためには、制御プログラムの多数の制御ステップを
逆方向にチェックすることが不可欠であるからである。
According to the prior art, when the rotation indexing with the same indexing angle is repeated,
Since the same control step must be instructed by the number of repetitions, not only the control program becomes redundant, but also the absolute index and the increment index are classified by the declaration code. There was a problem that it was complicated and troublesome. When changing or modifying the control program, you must be aware of the declaration code that exists immediately before it.
For that purpose, it is essential to check many control steps of the control program in the reverse direction.

【0006】そこで、この発明の目的は、かかる従来技
術の問題に鑑み、制御ステップごとにリピート数を指定
し、このリピート数の指定内容に従ってアブソリュート
割出し、インクリメント割出しの別を判定する解読手段
を設けることによって、冗長な制御プログラムを使用す
る必要がなく、その変更修正も極めて簡潔にすることが
できる円テーブル用のプログラム制御装置を提供するこ
とにある。
Accordingly, an object of the present invention is to provide a decoding means for designating the number of repeats for each control step and judging absolute indexing or incrementing indexing in accordance with the contents of the specified number of repeats in view of the problem of the prior art. The object of the present invention is to provide a program controller for a rotary table, which eliminates the need to use a redundant control program and makes it very simple to change and modify the program.

【0007】[0007]

【課題を解決するための手段】かかる目的を達成するた
めのこの発明の構成は、メモリ手段と、メモリ手段に記
憶されている制御プログラムを読み出す読出手段と、読
出手段によって読み出された制御プログラムを解読し、
駆動制御装置を介して駆動モータを制御する解読手段と
を備えてなり、メモリ手段は、制御ステップごとに割出
角度とリピート数とを指定する制御プログラムを記憶
し、解読手段は、リピート数の指定内容が自然数のと
き、リピート数の指定内容に等しい回数のインクリメン
ト割出しと判定し、リピート数の指定内容が自然数以外
のとき、アブソリュート割出しと判定することをその要
旨とする。
According to a first aspect of the present invention, there is provided a memory device, a reading device for reading a control program stored in the memory device, and a control program read by the reading device. And decrypt
Decoding means for controlling the drive motor via the drive control device, wherein the memory means stores a control program for designating the index angle and the number of repeats for each control step; The gist is that, when the specified content is a natural number, it is determined to be the increment index equal to the specified number of the repeat number, and when the specified content of the repeat number is not a natural number, it is determined to be the absolute index.

【0008】[0008]

【作用】かかる発明の構成によるときは、解読手段は、
制御プログラムの各制御ステップに指定されているリピ
ート数の指定内容に従い、当該制御ステップがインクリ
メント割出しであるか、アブソリュート割出しであるか
を判定することができる。すなわち、解読手段は、リピ
ート数の指定内容が自然数であるときは、それに等しい
回数のインクリメント割出しであると判定し、リピート
数の指定内容が自然数以外であるときは、アブソリュー
ト割出しであると判定することができるからである。な
お、ここで、自然数とは、ゼロを含まない正の整数をい
うものとする。また、リピート数とは、当該制御ステッ
プの繰返し回数を指定するインデクスをいうものとす
る。そこで、このときの制御プログラムは、各制御ステ
ップの繰返し回数を当該制御ステップ内において指定す
ることができ、しかも、インクリメント割出し、アブソ
リュート割出しの別も、制御ステップごとに指定するこ
とが可能である。
According to the structure of the invention, the decoding means is
In accordance with the content of the number of repeats specified for each control step of the control program, it is possible to determine whether the control step is an increment index or an absolute index. That is, the decryption means determines that if the specified content of the repeat number is a natural number, it is an increment index of the same number of times, and if the specified content of the repeat number is other than a natural number, it is an absolute index. This is because it can be determined. Here, the natural number means a positive integer not including zero. The number of repeats is an index that specifies the number of repetitions of the control step. Therefore, the control program at this time can specify the number of repetitions of each control step in the control step, and can also specify the increment index and the absolute index for each control step. is there.

【0009】[0009]

【実施例】以下、図面を以って実施例を説明する。Embodiments will be described below with reference to the drawings.

【0010】円テーブル用のプログラム制御装置10
は、メモリ手段11、読出手段12、解読手段13を備
えてなる(図1)。
[0010] Program controller 10 for a circular table
Comprises a memory unit 11, a reading unit 12, and a decoding unit 13 (FIG. 1).

【0011】円テーブルTBは、マシニングセンタのよ
うな工作機械MFに搭載されている(図2)。円テーブ
ルTBには、エンコーダEN付きの駆動モータMが連結
されており、駆動モータMは、駆動制御装置TCの出力
に接続されている。また、エンコーダENの出力は、駆
動制御装置TCに接続されている。そこで、円テーブル
TBは、駆動制御装置TCを介して駆動モータMを正逆
に回転制御することより、任意の割出角度θに回転割出
しすることができる。
The rotary table TB is mounted on a machine tool MF such as a machining center (FIG. 2). A drive motor M with an encoder EN is connected to the circular table TB, and the drive motor M is connected to an output of the drive control device TC. The output of the encoder EN is connected to the drive control device TC. Therefore, the rotary table TB can be rotationally indexed to an arbitrary index angle θ by controlling the rotation of the drive motor M in the forward and reverse directions via the drive control device TC.

【0012】工作機械MFには、主制御装置MCが付設
されている。そこで、工作機械MFは、主制御装置MC
に記憶されている加工プログラムに従い、円テーブルT
B上に積載する任意のワークに対し、任意の加工を施す
ことができる。なお、主制御装置MCには、図示しない
ホストコンピュータやワーク交換システムなどから与え
られるシステム起動信号S1 が入力されている。また、
主制御装置MCからは、プログラム制御装置10に対
し、工程完了信号S4 が出力されている。
A main controller MC is attached to the machine tool MF. Therefore, the machine tool MF has a main controller MC
Table T according to the machining program stored in
Arbitrary processing can be applied to any workpiece loaded on B. The main controller MC receives a system start signal S1 given from a host computer (not shown) or a work exchange system. Also,
The main controller MC outputs a process completion signal S4 to the program controller 10.

【0013】プログラム制御装置10からの指令信号S
2 は、駆動制御装置TCに入力され、駆動制御装置TC
からの割出し完了信号S3 は、主制御装置MC、プログ
ラム制御装置10に分岐入力されている。
A command signal S from the program controller 10
2 is input to the drive control device TC, and the drive control device TC
Is sent to the main controller MC and the program controller 10 as a branch.

【0014】プログラム制御装置10には、書込装置1
0aが付設されており(図1)、書込装置10aの出力
は、プログラム制御装置10のメモリ手段11に接続さ
れている。メモリ手段11の出力は、表示器11aと、
読出手段12に個別に接続されており、読出手段12に
は、主制御装置MCからの工程完了信号S4 が入力され
ている。また、読出手段12の出力は、解読手段13を
介し、指令信号S2 として駆動制御装置TCに入力され
ている。なお、駆動制御装置TCからの割出し完了信号
S3 は、解読手段13に分岐入力され、解読手段13に
は、さらに、主制御装置MCからの工程完了信号S4 が
分岐入力されている。また、解読手段13の別の出力
は、アドレスカウンタ14を介し、読出手段12に接続
されている。
The program control device 10 includes the writing device 1
0a is attached (FIG. 1), and the output of the writing device 10a is connected to the memory means 11 of the program control device 10. The output of the memory means 11 is:
It is individually connected to the reading means 12, to which a process completion signal S4 from the main controller MC is inputted. The output of the reading means 12 is input to the drive control device TC via the decoding means 13 as a command signal S2. The indexing completion signal S3 from the drive control device TC is branched and input to the decoding means 13, and the decoding means 13 is further input with the process completion signal S4 from the main control device MC. Another output of the decoding means 13 is connected to the reading means 12 via the address counter 14.

【0015】書込手段10aは、図示しないデータ入力
キーを有し、たとえば、図3に示すような一連の制御ス
テップNn(n=1、2…)からなる制御プログラムを
メモリ手段11に入力し、メモリ手段11は、このよう
にして入力された制御プログラムを記憶することができ
る。また、表示器11aは、書込手段10aによって入
力される制御プログラムを表示することができる。ただ
し、表示器11aは、入力された制御プログラムを少な
くとも制御ステップNnごとに表示することができるも
のとし、したがって、作業者は、表示器11a上の表示
を見ることにより、制御ステップNnごとに、入力した
制御プログラムを確認することができる。また、作業者
は、必要に応じ、メモリ手段11に記憶されている制御
プログラムを表示器11a上に表示させ、書込装置10
aを介し、それを変更修正することができる。
The writing means 10a has a data input key (not shown), and inputs a control program comprising a series of control steps Nn (n = 1, 2,...) As shown in FIG. The memory means 11 can store the control program thus input. The display 11a can display a control program input by the writing unit 10a. However, the display 11a can display the input control program at least for each control step Nn. Therefore, the operator sees the display on the display 11a, and thus, for each control step Nn, You can check the input control program. Further, the operator causes the control program stored in the memory means 11 to be displayed on the display 11a as necessary, and
Via a, it can be changed and modified.

【0016】図3において、各制御ステップNnに付さ
れている番号nは、各制御ステップNnのアドレスを示
す。また、θx(−360<x<+360)は、円テー
ブルTBを割出角度θ=x(度)に回転割出しすべき旨
の制御内容を示し、Rm(m=0、1、2…)は、リピ
ート数を示すものとする。なお、x<0は、円テーブル
TBを負方向に回転割出しし、x>0は、それを正方向
に回転割出しすることを表わす。ただし、円テーブルT
Bの正方向は、たとえば、図2の矢印K方向に定め、こ
のとき、円テーブルTBの割出角度θは、正方向に増加
するものとする。
In FIG. 3, the number n assigned to each control step Nn indicates the address of each control step Nn. .Theta.x (-360 <x <+360) indicates the content of control that the rotary table TB should be rotated and indexed to the index angle .theta. = X (degrees), and Rm (m = 0, 1, 2,...) Indicates the number of repeats. Note that x <0 indicates that the rotary table TB is to be rotated in the negative direction, and x> 0 indicates that the rotary table TB is to be rotated in the positive direction. However, the round table T
The positive direction of B is determined, for example, in the direction of arrow K in FIG. 2, and at this time, the index angle θ of the circular table TB is assumed to increase in the positive direction.

【0017】いま、円テーブルTB上に任意のワークを
セットし、外部からシステム起動信号S1 が与えられる
と、主制御装置MCは、加工プログラムに従って工作機
械MFを起動し、ワークに対し、1工程の加工を施す。
1工程の加工が完了すると、主制御装置MCは、工作機
械MFを停止させるとともに、プログラム制御装置10
に対して工程完了信号S4 を出力するから、プログラム
制御装置10の読出手段12は、アドレスカウンタ14
に記憶されているアドレスnに従い、メモリ手段11か
ら、アドレスnに対応する制御ステップNnを読み出す
ことができる。ただし、アドレスカウンタ14に記憶さ
れているアドレスnは、当初n=1にイニシャライズさ
れているものとし、したがって、このときの読出手段1
2は、最初の制御ステップN1を読み出すものとする。
Now, when an arbitrary work is set on the rotary table TB and a system start signal S1 is given from the outside, the main controller MC starts the machine tool MF in accordance with the machining program, and performs one process on the work. The processing of.
When the machining of one process is completed, the main controller MC stops the machine tool MF and sets the program controller 10
Outputs a step completion signal S4 to the address counter 14
The control step Nn corresponding to the address n can be read from the memory means 11 in accordance with the address n stored in the memory n. However, it is assumed that the address n stored in the address counter 14 is initially initialized to n = 1.
2 reads the first control step N1.

【0018】読出手段12は、このようにして読み出し
た制御ステップN1を解読手段13に転送するから、解
読手段13は、制御ステップN1に含まれるリピート数
Rmの指定内容mに着目して、制御ステップN1の制御
内容θxを判別する。すなわち、解読手段13は、m=
0のときは、制御内容θxがアブソリュート割出しであ
ると判定し、m=1、2…であるときは、m回のインク
リメント割出しの繰返しであると判定する。そこで、解
読手段13は、前者の場合には、目標割出角度θo =x
(度)と、xの符号に基づく円テーブルTBの回転方向
とを含む指令信号S2 を駆動制御装置TCに出力するこ
とができ、後者の場合には、目標割出角度θo =θ1 +
x(度)と、xの符号に基づく円テーブルTBの回転方
向とを含む指令信号S2 を駆動制御装置TCに出力する
ことができる。ただし、ここで、θ1 は、前回の目標割
出角度であり、システム起動後の最初の動作時には、θ
1=0(度)とすればよい。
The reading means 12 transfers the control step N1 thus read out to the decoding means 13, so that the decoding means 13 focuses on the specified content m of the number of repeats Rm included in the control step N1. The control content θx in step N1 is determined. That is, the decryption means 13 calculates m =
When 0, it is determined that the control content θx is an absolute index, and when m = 1, 2,..., It is determined that the increment index is repeated m times. Therefore, in the former case, the decoding means 13 determines that the target indexing angle θo = x
A command signal S2 including (degrees) and the rotation direction of the circular table TB based on the sign of x can be output to the drive control device TC. In the latter case, the target index angle θo = θ1 +
A command signal S2 including x (degrees) and the rotation direction of the circular table TB based on the sign of x can be output to the drive control device TC. Here, θ1 is the previous target indexing angle, and at the first operation after the system is started, θ1 is
What is necessary is to set 1 = 0 (degree).

【0019】一方、このようにして指令信号S2 が与え
られると、駆動制御装置TCは、駆動モータMを回転制
御し、円テーブルTBの割出角度θをθ=θo に回転割
出しすることができる。なお、このとき、エンコーダE
Nは、円テーブルTBの割出角度θを駆動制御装置TC
にフィードバックする。
On the other hand, when the command signal S2 is given in this manner, the drive control device TC controls the rotation of the drive motor M and indexes the rotation angle θ of the rotary table TB to θ = θo. it can. At this time, the encoder E
N indicates the index angle θ of the rotary table TB by the drive controller TC.
Feedback to

【0020】円テーブルTBの回転割出しが完了する
と、駆動制御装置TCは、主制御装置MC、解読手段1
3に対して割出し完了信号S3 を送出する。そこで、主
制御装置MCは、加工プログラムに従い、次工程の加工
を開始することができる。一方、解読手段13は、m=
0であるときは、アドレスカウンタ14に対し、記憶中
のアドレスnをn=n+1にすることを指示する一方、
m≠0のときは、m=m−1として、主制御装置MCか
らの工程完了信号S4 を待つ。すなわち、解読手段13
は、m=0のときは、次の工程完了信号S4 の発生によ
り、読出手段12が次の制御ステップN(n+1)=N
2をメモリ手段11から読み出すことができるように、
アドレスカウンタ14に記憶されているアドレスnを更
新する一方、m≠0のときは、リピート数Rmの指定内
容mを更新して待機する。
When the rotation indexing of the rotary table TB is completed, the drive control device TC includes the main control device MC and the decoding means 1.
Then, an indexing completion signal S3 is sent out to S3. Therefore, main controller MC can start processing in the next step according to the processing program. On the other hand, the decoding means 13 calculates m =
When it is 0, it instructs the address counter 14 to set the stored address n to n = n + 1,
When m ≠ 0, m = m−1, and waits for a process completion signal S4 from the main controller MC. That is, the decoding means 13
Means that when m = 0, the reading means 12 causes the next control step N (n + 1) = N
2 can be read from the memory means 11,
While the address n stored in the address counter 14 is updated, when m ≠ 0, the specified content m of the repeat number Rm is updated and the process waits.

【0021】つづいて、工作機械MFによる次工程の加
工が完了すると、工程完了信号S4が発生するが、この
とき、読出手段12、解読手段13は、先きに解読手段
13において更新されたリピート数Rmの指定内容mが
m=0であるか否かにより、その一方が選択的に動作す
る。すなわち、m≠0であるときは、解読手段13が動
作し、このときの解読手段13は、前回と全く同一の制
御内容θxからなるインクリメント割出しを再実行した
上、リピート数Rmの指定内容mを再更新する。一方、
m=0であるときは、読出手段12が動作し、このとき
の読出手段12は、先きに更新されたアドレスnに従っ
てメモリ手段11から制御ステップNn=N2を読み出
し、解読手段13に転送するから、解読手段13は、新
しく転送された制御ステップN2に従って動作すること
ができる。
Subsequently, when the machining of the next process by the machine tool MF is completed, a process completion signal S4 is generated. At this time, the reading means 12 and the decoding means 13 transmit the repeat updated by the decoding means 13 earlier. One of them operates selectively depending on whether or not the designated content m of the number Rm is m = 0. That is, when m ≠ 0, the decoding means 13 operates. At this time, the decoding means 13 re-executes the increment index including the same control content θx as the previous time, and further specifies the number of repeats Rm. Update m again. on the other hand,
When m = 0, the reading means 12 operates. At this time, the reading means 12 reads the control step Nn = N2 from the memory means 11 according to the previously updated address n and transfers it to the decoding means 13. Thus, the decryption means 13 can operate according to the newly transferred control step N2.

【0022】以下、同様にして、解読手段13は、制御
ステップNnにおけるリピート数Rmの指定内容mがm
≠0であるときは、制御ステップNnの制御内容θxが
インクリメント割出しであると判定した上、それをm回
繰返し実行することができる。また、m=0であるとき
は、制御内容θxがアブソリュート割出しであると判定
し、それを1回実行することができる。
Hereinafter, similarly, the decoding means 13 determines that the specified content m of the repeat number Rm in the control step Nn is m
When ≠ 0, it is determined that the control content θx of the control step Nn is the increment index, and this can be repeated m times. When m = 0, it is determined that the control content θx is an absolute index, and the control content θx can be executed once.

【0023】かかるプログラム制御装置10は、マイク
ロコンピュータによるソフトウェアによっても実現する
ことができ、このときのプログラムは、たとえば図4の
プログラムフローチャートに示すとおりである。
The program control device 10 can also be realized by software by a microcomputer, and the program at this time is, for example, as shown in a program flowchart of FIG.

【0024】プログラムは、主制御装置MCからの最初
の加工完了信号S4 によってスタートし、記憶されてい
る制御プログラムの最初の制御ステップN1を読み出す
(図4のプログラムステップ(1)、以下、単に(1)
のように記す)。
The program is started by the first machining completion signal S4 from the main controller MC, and reads out the first control step N1 of the stored control program (program step (1) in FIG. 4, hereinafter simply referred to as (1)). 1)
Like this).

【0025】その後、プログラムは、読み出した制御ス
テップN1のリピート数Rmの指定内容mがm=0であ
るか否かにより(2)、制御ステップN1の制御内容θ
xがアブソリュート割出し、インクリメント割出しのい
ずれであるかを判定し、それぞれに対応する指令信号S
2 を駆動制御装置TCに出力する((3)、(4))。
Thereafter, the program determines whether or not the read content m of the repeat number Rm of the control step N1 is m = 0 (2), and determines the control content θ of the control step N1.
It is determined whether x is an absolute index or an increment index, and the corresponding command signal S
2 is output to the drive control device TC ((3), (4)).

【0026】駆動制御装置TCからの割出し完了信号S
3 が発生すると(5)、プログラムは、m=0であるこ
とを確認して(6)、アドレスnを更新し(7)、次の
工程完了信号S4 の発生を待つ(11)。ただし、m≠
0のときは(6)、m=m−1として指定内容mを更新
し(8)、更新後の指定内容mがm≠0であれば
(9)、そのまま次の工程完了信号S4 の発生を待ち
(10)、m=0であれば(9)、アドレスnを更新し
て(7)、次の工程完了信号S4 を待つ(11)。
The indexing completion signal S from the drive control unit TC
When 3 occurs (5), the program confirms that m = 0 (6), updates the address n (7), and waits for the generation of the next process completion signal S4 (11). However, m ≠
If the value is 0 (6), the designated content m is updated by setting m = m-1 (8). If the designated content m after the update is m ≠ 0 (9), the next process completion signal S4 is generated as it is. (10), and if m = 0 (9), the address n is updated (7), and the next process completion signal S4 is waited (11).

【0027】そこで、更新後の指定内容mがm≠0の場
合に、次の工程完了信号S4 が発生すると((9)、
(10))、プログラムは、前回と同一の制御ステップ
N1のインクリメント割出しを再実行するが((2)、
(4))、それ以外の場合に次の工程完了信号S4 が発
生すると((6)、(9)、(7)、(11))、新し
いアドレスn=n+1に従って次の制御ステップN(n
+1)=N2を読み出し(1)、制御ステップN2に基
づく割出し動作を実行することができる((2)、
(3)、(4))。
Therefore, when the specified content m after the update is m ≠ 0, the next process completion signal S4 is generated ((9),
(10)) The program re-executes the increment index of the same control step N1 as the previous time ((2)
(4)) Otherwise, when the next process completion signal S4 is generated ((6), (9), (7), (11)), the next control step N (n) is performed according to the new address n = n + 1.
+1) = N2 is read (1), and an indexing operation based on the control step N2 can be executed ((2),
(3), (4)).

【0028】以下同様にして、プログラムは、制御ステ
ップNnを順に読み出し、リピート数Rmの指定内容m
に従って、アブソリュート割出し、インクリメント割出
しの別を判定し、インクリメント割出しの場合は、指定
内容mに等しい回数の割出し動作を繰り返すことができ
る。
In the same manner, the program sequentially reads the control steps Nn, and specifies the contents m of the number of repeats Rm.
According to the above, it is determined whether the index is an absolute index or an increment index. In the case of the increment index, the indexing operation can be repeated as many times as the specified content m.

【0029】いま、図1と図4とを対比すると、前者の
読出手段12は、後者のプログラムステップ(1)に対
応し、解読手段13は、プログラムステップ(2)ない
し(4)、(6)、(8)、(9)に対応し、アドレス
カウンタ14は、プログラムステップ(7)に対応して
いる。また、メモリ手段11は、制御プログラムを記憶
する図示しないメモリ装置に対応する。
Now, comparing FIG. 1 with FIG. 4, the former reading means 12 corresponds to the latter program step (1), and the decoding means 13 comprises the program steps (2) to (4), (6). ), (8) and (9), and the address counter 14 corresponds to the program step (7). The memory unit 11 corresponds to a memory device (not shown) that stores a control program.

【0030】以上の説明において、アブソリュート割出
し、インクリメント割出しの別を判定するためのリピー
ト数Rmの指定内容mは、数字のみならず、文字を含ん
でもよい。すなわち、解読手段13は、指定内容mが自
然数であるときは、当該制御ステップNnの制御内容θ
xをインクリメント割出しであると判定し、自然数以外
であるときは、アブソリュート割出しであると判定する
ようにしてもよい。
In the above description, the specified content m of the repeat number Rm for determining whether the index is an absolute index or an increment index may include not only numbers but also characters. That is, when the designated content m is a natural number, the decoding means 13 determines the control content θ of the control step Nn.
It may be determined that x is an increment index, and if x is not a natural number, it may be determined that the index is an absolute index.

【0031】なお、主制御装置MCが発生する工程完了
信号S4 は、一般的なNC制御装置において、いわゆる
M信号として知られている信号をそのまま使用すること
ができる。
As the process completion signal S4 generated by the main controller MC, a signal known as a so-called M signal in a general NC controller can be used as it is.

【0032】[0032]

【発明の効果】以上説明したように、この発明によれ
ば、制御プログラムの制御ステップごとに指定されるリ
ピート数の指定内容に基づいて、当該制御ステップの制
御内容がアブソリュート割出しであるか、インクリメン
ト割出しであるかを判定する解読手段を設けることによ
って、制御プログラムは、制御ステップごとに割出しの
種別を指定することが可能であるから、その変更修正が
極めて簡潔にできる上、解読手段は、インクリメント割
出しの場合に、リピート数の指定内容に等しい回数の制
御内容を繰返し実行することができるから、制御プログ
ラムとしては、同一の制御内容の制御ステップを繰り返
して記述する必要がなく、したがって、制御プログラム
の冗長性を格段に改善することができるという優れた効
果がある。
As described above, according to the present invention, it is determined whether the control content of the control step is an absolute index based on the content of the repeat number specified for each control step of the control program. By providing the decoding means for determining whether or not the index is incremented, the control program can specify the type of indexing for each control step. In the case of increment indexing, the control content can be repeatedly executed the number of times equal to the specified content of the repeat number, so that the control program does not need to repeatedly describe the control steps of the same control content, Therefore, there is an excellent effect that the redundancy of the control program can be remarkably improved.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 全体ブロック系統図Fig. 1 Overall block system diagram

【図2】 使用状態概念図Fig. 2 Conceptual diagram of usage state

【図3】 制御プログラムリストFig. 3 Control program list

【図4】 プログラムフローチャートFIG. 4 is a program flowchart.

【符号の説明】[Explanation of symbols]

TB…円テーブル M…駆動モータ TC…駆動制御装置 θ…割出角度 Rm(m=0、1、2…)…リピート数 m…指定内容 10…プログラム制御装置 11…メモリ手段 12…読出手段 13…解読手段 TB: circular table M: drive motor TC: drive controller θ: indexing angle Rm (m = 0, 1, 2,...): Number of repeats m: specified contents 10: program controller 11: memory means 12, read means 13 … Decryption means

フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G05B 19/18 - 19/46 B23Q 15/00 - 15/28 B23Q 16/02 G05D 3/00 Continuation of the front page (58) Field surveyed (Int. Cl. 7 , DB name) G05B 19/18-19/46 B23Q 15/00-15/28 B23Q 16/02 G05D 3/00

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 メモリ手段と、該メモリ手段に記憶され
ている制御プログラムを読み出す読出手段と、該読出手
段によって読み出された制御プログラムを解読し、駆動
制御装置を介して駆動モータを制御する解読手段とを備
えてなり、前記メモリ手段は、制御ステップごとに割出
角度とリピート数とを指定する制御プログラムを記憶
し、前記解読手段は、リピート数の指定内容が自然数の
とき、リピート数の指定内容に等しい回数のインクリメ
ント割出しと判定し、リピート数の指定内容が自然数以
外のとき、アブソリュート割出しと判定することを特徴
とする円テーブル用のプログラム制御装置。
1. A memory device, a read device for reading a control program stored in the memory device, a control program read by the read device, and a drive motor controlled via a drive control device. Decoding means, wherein the memory means stores a control program for specifying an indexing angle and a number of repeats for each control step, and the decoding means, when the specified content of the number of repeats is a natural number, the number of repeats A program control device for a circular table, wherein it is determined that the number of increments is equal to the number of specified contents, and if the specified number of repeats is other than a natural number, it is determined to be absolute indexing.
JP13790993A 1993-06-08 1993-06-08 Program controller for rotary tables Expired - Fee Related JP3202102B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13790993A JP3202102B2 (en) 1993-06-08 1993-06-08 Program controller for rotary tables

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13790993A JP3202102B2 (en) 1993-06-08 1993-06-08 Program controller for rotary tables

Publications (2)

Publication Number Publication Date
JPH06348319A JPH06348319A (en) 1994-12-22
JP3202102B2 true JP3202102B2 (en) 2001-08-27

Family

ID=15209519

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13790993A Expired - Fee Related JP3202102B2 (en) 1993-06-08 1993-06-08 Program controller for rotary tables

Country Status (1)

Country Link
JP (1) JP3202102B2 (en)

Also Published As

Publication number Publication date
JPH06348319A (en) 1994-12-22

Similar Documents

Publication Publication Date Title
US4396974A (en) Method of preparing and executing sequence program for sequence controller used in machine tool control
US4956594A (en) Method of controlling a robot in accordance with load conditions
US5784621A (en) Sequence program display apparatus
JP2735209B2 (en) Numerical control unit
KR920004080B1 (en) Numerical control device
JP3202102B2 (en) Program controller for rotary tables
JP6821101B1 (en) Numerical control device
JPH11231915A (en) Method for defining axis of motion controller
WO1990001735A1 (en) Machining data display system
JPS6333168B2 (en)
JP3092744B2 (en) Processing system
JP5952929B1 (en) Work robot controller
JP2642451B2 (en) Numerical control unit
JPH0336606A (en) Numerical controller
JP2670148B2 (en) Numerical control unit
JP3347758B2 (en) Industrial robot control system and control method thereof
JP2779796B2 (en) Numerical control unit
JP2001074623A (en) Testing device control method and testing device
JPH11249715A (en) Automatic generating method for sequence program and motion controller
JPH07334225A (en) Program executing system for cnc
JPH01311304A (en) Numerical controller
JP2522047B2 (en) Programmable controller for device control
JPS6314204A (en) Numerical controller
JP2000099120A (en) Method and device for servo switching for three- dimensional machine
JPH08137525A (en) Numerical controller

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080622

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090622

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090622

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100622

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110622

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees