JP3613289B2 - Numerical controller for distributed numerical control system and data transmission system using the same - Google Patents

Numerical controller for distributed numerical control system and data transmission system using the same Download PDF

Info

Publication number
JP3613289B2
JP3613289B2 JP31345494A JP31345494A JP3613289B2 JP 3613289 B2 JP3613289 B2 JP 3613289B2 JP 31345494 A JP31345494 A JP 31345494A JP 31345494 A JP31345494 A JP 31345494A JP 3613289 B2 JP3613289 B2 JP 3613289B2
Authority
JP
Japan
Prior art keywords
numerical control
data transmission
axis
numerical
data
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
JP31345494A
Other languages
Japanese (ja)
Other versions
JPH08171408A (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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric Corp
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 Corp filed Critical Yaskawa Electric Corp
Priority to JP31345494A priority Critical patent/JP3613289B2/en
Publication of JPH08171408A publication Critical patent/JPH08171408A/en
Application granted granted Critical
Publication of JP3613289B2 publication Critical patent/JP3613289B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Description

【0001】
【産業上の利用分野】
本発明は工作機械、ロボットまたはそれらの統合体の各軸毎に数値制御装置を分散して配置するデータ伝送システムとその数値制御装置に関し、特に、各軸の同期運転を実現するデータ伝送システムとその数値制御装置に関する。
【0002】
【従来の技術】
図4は分散型数値制御システムの構成を示す図である。
図4に示すシステムでは、上位の軸群管理器10が複数の軸サーボ系21,22をそれぞれ駆動制御する数値制御装置31,32へ移動データを伝送することにより各数値制御装置31,32が各軸サーボ系21,22を独自に制御する。数値制御装置31,32のそれぞれは伝送インターフェース31,32、伝送インターフェース31,32を介して受信した軸群管理器10からのデータを一時記憶するバッファレジスタ31,32、CPU部31,32、速度指令器31,32、サーボコントローラ31,32を備え、軸サーボ系21,22のそれぞれはサーボコントローラ31,32により回転が制御されるモータ21,22および該モータ21,22の回転量を検出してサーボコントローラ31,32へ送出する位置検出器22,22を備えている。
【0003】
速度指令器31,32は伝送インターフェース31,32を介して軸群管理器10より送られてくる指令値に応じた速度指令をサーボコントローラ31,32へ与え、サーボコントローラ31,32では、位置検出器22,22の検出出力に応じてモータ21,22の速度を上記の速度指令に応じたものとするフィードバック制御が行われている。このフィードバック制御においては、サーボコントローラ31,32に対し、短時間に所望量のパルスを送出するものであり、例えば、図5に示す回路で実現することができる。
図4に示したCPU部31,32内のCPU(不図示)は、データ・バスに方向(D)と速度データ(D〜D)を設定し、WRSG信号を発すると、前記データはDフリップフロップ8に書込まれたバイナリ・レート・マルチ・プライヤ9をイネーブルとする。
【0004】
バイナリ・レート・マルチ・プライヤ9は、64パルスのSPを計数後、EOを出力し、RSフリップフロップ10をリセットし、自分自身をディスエーブルとする。この間に入力データ分のパルスをD7により方向づけ、+FPまたは−FPを出力する。このパルス数が移動量となる。ここでは、数値制御装置を3台備え、3軸の同期運転を実施する例について説明する。まず、転送フォーマットについて説明すると、一般に、親局(ここでは軸群管理器)から複数の子局(ここでは数値制御装置)へデータを転送する場合ハイレベル・データ・リンク・コントロール(以下、HDLCと称する)の形式(JIS規格C−6363)を用いている。HDLCの転送フォーマットを図6に示す。1サイクルの開始と終了を表わすフラグの間に、アドレス、コマンド、データ、周期冗長検査が納められている。1サイクルをフレームと呼び、このフレームが連続的に送出される。
【0005】
以下の説明において、フレームは、全数値制御装置に対応する共通フレーム1個と、個々の数値制御装置に対応する固有フレーム3個によって転送パターンの1サイクルが構成されるものとして説明する。
この様子を図7に示すと、Fn−1、Fn−2、Fn−3が固有フレームであり、Fn−0が共通フレームである。
次に、上述した分散型数値制御システムの具体的な動作について図8および図9を参照して説明する。
図8および図9は、図4に示した分散型数値制御システムの動作に関する要部図構成を示す図である。群管理器10は3台の数値制御装置31〜33(以下、それぞれNC1〜NC3と称する)を管理するもので、図7に示したFn−1、Fn−2、Fn−3は、各数値制御装置NC1、NC2、NC3にそれぞれ個別に対応する情報が載り、Fn−0は、全数値制御装置NC1〜NC3に共通に対応する情報が載せられる。
【0006】
(1) フレームFn−1のアドレスを”00000001”とし、数値制御NC1を指定しているものとする。よってNC1はフレームFn−1を受信すると前記アドレスに続くコマンドデータをバッファレジスタ31に取り込む。
NC2およびNC3は当然ながら無視する。
(2) フレームFn−2のアドレスを”00000010”とし、数値制御装置NC2を指定しているものとする。よってNC2はフレームFn−2を受信すると前記アドレスに続くコマンドデータをバッファレジスタ32に取り込む。
NC1およびNC3は当然ながら無視する。
(3) フレームFn−3のアドレスを”00000100”とし、数値制御装置NC3を指定しているものとする。よってNC3はフレームFn−3を受信すると前記アドレスに続くコマンドデータをバッファレジスタ33に取り込む。
【0007】
NC1およびNC2は当然ながら無視する。
以上の(1)〜(3)の間は、NC1〜NC3は、前サイクルに取り込んだデータによって作動中である。
(4) フレームFn−0のアドレスを”11111111”として、全数値制御装置NC1〜NC3を指定しているものとする。
よってフレームFn−0は、全数値制御装置NC1〜NC3にて受信され、NC1〜NC3は前記アドレスに続く、コマンドデータを共通に取り込む。
この取り込み中も、NC1〜NC3は依然として前サイクルに取り込んだデータによって作動中である。
(5) 取り込みが完了した時点で、各バッファレジスタ31,32,33の内容を速度指令器31,32,33に書込み、いっせいに起動する。
【0008】
ただし、あらかじめ前記取り込みが完了する直前までは、前サイクルの速度指令演算が終了するように、各NCの演算速度を調節しておく。以上述べた動作によって各軸の完全同期運転が可能となる。従来各NCの演算速度に誤差があることから完全同期ができなかったが、本従来例では転送サイクル毎に演算開始時刻が完全に同期するので、1サイクル内で誤差が吸収されてしまい、軸の動作に影響しないものとなる。これは、転送の1サイクルに要する時間は図10に示すように数ミリ秒程度であり、その時間内のクロックのばらつきは数マイクロ秒内となるからである。このオーダーでは、軸を駆動するサーボモータの運動には全く影響しない。また、再起動するまでの休止時間においても、速度指令値が休止するのみでモータには関係しない。
【0009】
【発明が解決しようとする課題】
上述した従来のデータ伝送システムでは、2次局である複数の数値制御装置に1次局である軸群管理器が一斉放送(共通番地の指令)を送り、一斉放送を受けた各2次局がデータを取り込むことにより、各2次局が制御する各軸の動作の同期をとることが図られている。各軸の要求される応答特性はすべて同じではなく、特定の軸については、速い応答性が要求されることがあるが、従来の方法では共通番地のアドレスである一斉放送が送られてこないと、各2次局がデータの取り込みをしない。このため、一斉放送を送る周期以上にデータの伝送を行うことができず、また、特定の軸を管理する2次局に対してのみ速いデータ伝送を行うこともできないという問題点がある。
【0010】
本発明は上述したような従来の技術が有する問題点に鑑みてなされたものであって、特定の2次局については一斉放送を送る周期以上に速いデータ伝送を行うことのできるデータ伝送システムを実現することを目的とする。
【0011】
【課題を解決するための手段】
本発明の分散型数値制御システムの数値制御装置は、1個の軸群管理器に対して複数設けられる数値制御装置であって、
前記各固有フレームから取り込んだデータを一時記憶するバッファレジスタと、
前記軸群管理器より送られてくる指令値に応じた速度指令をサーボコントローラに与える速度指令器と、を備え、
前記軸群管理器が発する前記数値制御装置に共通に対応する共通フレームと、各数値制御装置ごとに個別に対応する固有フレームとから構成される転送フォーマットの軸移動のためのデータを受取り、1個の機械的移動軸の駆動制御を行う分散型数値制御システムの数値制御装置において、
各数値制御装置は、
起動信号を受け付けるとデータ伝送周期の1サイクル内の間で早いデータ伝送が必要とされる前記数値制御装置への前記軸群管理器からの前記固有フレームの送信が終了した後にタイマ割込み信号を出力するタイマ回路と、
共通フレームを受信するたびに、前記バッファレジスタに格納されているデータによって速度指令器を起動するとともに前記タイマ回路へ起動信号を出力し、その後に前記タイマ回路からのタイマ割込み信号を受け付けたときにも前記バッファレジスタに格納されているデータによって速度指令器を起動するCPU部とを有することを特徴とする。
【0012】
本発明のデータ伝送システムは、上記のように構成された分散型数値制御システムの数値制御装置を用いたデータ伝送システムであって、軸管理器は同一周期内のデータ伝送において、所定の数値制御装置については固有フレームを2度以上送出することを特徴とする。
【0013】
【作用】
本発明の分散型数値制御システムの数値制御装置では、軸群管理器から共通フレームが送られてきたときと、タイマ回路からのタイマ割込み信号が出力されたときにCPU部はバッファレジスタに格納されているデータによって速度指令器を起動する。軸群管理器が同一周期内に所定の数値制御装置について固有フレームを2度以上送出し、かつ、1度目の固有フレーム送出後にタイマ回路からタイマ割込み信号が出力されるように構成すると、所定の数値制御装置についてのみ速度指令器が起動され、通常のサイクルよりも速いデータ伝送が行われることとなる。
【0014】
【実施例】
次に、本発明の実施例について図面を参照して説明する。
図1は本発明の一実施例の概略構成を示すブロック図である。本実施例は、1つの1次局100に対して9つの2次局40〜48が設けられたものである。
図2は図1中の1次局100および2次局40〜48の構成を詳細に示すブロック図である。図2では、1次局100は軸群管理器110として表わし、2次局40〜48については、軸サーボ系121を制御する数値制御装置131として表わしている。
図2中の軸群管理器110およびモータ121、121からなる軸サーボ系121の構成は、図4に示した従来の軸群管理器10および軸サーボ系21と同様である。
【0015】
本実施例における数値制御装置131については、図4に示した従来の数値制御装置31にタイマ回路131を設けたものである。この他の伝送インターフェース131、CPU部131、速度指令器131、サーボコントローラ131およびバッファレジスタ131の構成および動作は図4に示した数値制御装置31に設けられる伝送インターフェース31、CPU部31、速度指令器31、サーボコントローラ31およびバッファレジスタ31と同様であるために説明は省略する。
タイマ回路131は、一斉放送が発生した場合に、所定時間経過後にタイマ割込みを発生させるために設けられている。CPU部131は一斉放送が送られてくるとタイマの起動信号S1をタイマ回路131へ送出し、該起動信号S1を受け付けたタイマ回路131は、所定時間経過後にタイマ割込み信号S2をCPU部131へ返送する。
【0016】
図3は本実施例におけるデータの伝送状態を示す図である。本実施例の動作について図3を参照して説明する。
本実施例のデータ伝送においては、2次局40〜47については速いデータ伝送が要求され、2次局48に対しては特に速いデータ伝送は要求されない。
1次局100と2次局40〜48との間では、図3(a)に示すように半2重の通信が行われている。図3(a)において、線の上は1次局100からの送信を示し、線の下は2次局40〜48からの送信を示している。例えば1次局100が2次局40に対してデータ送信を行うと該データ送信に対する返送が行われる。データ長および伝送周期は一定であり、一斉放送であるFFのアドレスが送出される間隔、すなわち、データ伝送の1サイクルは2msである。
【0017】
1次局である軸群管理器110は一斉放送であるFFを送出後、2次局40〜47に対して順番に連続するデータ送信を2度行い、その後、2次局48に対するデータ送信を行う。1次局が一斉放送を送出すると、図2にその構成が示される各2次局40〜48では図3(b)に示すような割込みが発生する。CPU部131はこの割込みにより既にバッファレジスタ131に書込まれているデータを取り込むとともにタイマ回路131に起動信号S1を出力する。タイマ回路131は、図3(c)に示すように1/2サイクルである1ms経過後にタイマ割込み信号S2をCPU部131へ返送する。タイマ割込み信号S2を受け付けたCPU部131は、一斉放送による割込みと同様にバッファレジスタ131に書込まれているデータを取り込む。
【0018】
本実施例においては上述したように2次局40〜47に対する1次局からのデータ送信が順番に連続して2度行われており、タイマ割込み信号S2が出力されるときには2次局40〜47に設けられたバッファレジスタの内容は現在実行している前サイクルにて取り込んだ内容が新たな書き換えられたものとなっている。このため、タイマ割込み信号S2が取り込まれることにより2次局40〜47のそれぞれは新たな動作を行うことができ、2次局40〜47に対しては実際の伝送周期が1msのものとなっている。また、速いデータ伝送を必要としない2次局48についてはタイマ割込み信号S2が発生したときにはそのバッファレジスタに新たな指令が書込まれていないため、2次局48の伝送周期はタイマ回路を設けない場合と同じく2msとなっている。
【0019】
以上説明した本実施例において、タイマ回路の遅延時間は2次局40〜47へのデータ伝送周期を1/2サイクルとなる1msとして説明したが、この遅延時間は1サイクル内の間で速いデータ伝送が必要とされる2次局への1度目の送信が終了した後にタイマ割込み信号が送出されるタイミングであればよく、特に限定されるものではない。
また、タイマ割込み信号S2を所定時間経過毎に送出され、1サイクル内に複数送出されるものとし、さらに1次局から各2次局固有のデータ伝送の順番を調整することにより、各2次局毎のデータ伝送周期の種類をさらに多くすることも可能である。
以上9軸の同時制御について説明したが、それ以上の多軸についても本発明は当然実施することができる。
【0020】
【発明の効果】
本発明は以上説明したように構成されているので、以下に記載するような効果を奏する。
請求項1に記載のものにおいては、バッファレジスタに書込まれているデータの取り込みが複数回行われるため、軸管理局のデータ伝送周期よりも速い応答が可能となり、請求項2に記載の方式を合わせて行うことにより、特定の2次局についてのみ速いデータ伝送を行うことができる効果がある。
【図面の簡単な説明】
【図1】本発明の一実施例の概略構成を示すブロック図である。
【図2】図1中の1次局100および2次局40〜48の構成を詳細に示すブロック図である。
【図3】図1および図2に示した実施例におけるデータの伝送状態を示す図である。
【図4】分散型数値制御システムの従来例の構成を示す図である。
【図5】従来例における速度指令器の構成例を示す図である。
【図6】従来例の具体的な動作を示す図である。
【図7】従来例の具体的な動作を示す図である。
【図8】従来例の具体的な動作を示す図である。
【図9】従来例の具体的な動作を示す図である。
【図10】従来例の具体的な動作を示す図である。
【符号の説明】
8 Dフリップフロップ
9 マルチプライヤ
10 フリップフロップRS
40〜48 2次局
10,110 軸群管理器
21,121 軸サーボ系
21 1 ,121 1 モータ
21 2 ,121 2 位置検出器
31,32,33,131 数値制御装置
31 1 ,32 1 ,131 1 伝送インターフェース
31 2 ,32 2 ,131 2 CPU部
31 3 ,32 3 ,33 3 ,131 3 速度指令器
31 4 ,32 4 ,131 4 サーボコントローラ
31 5 ,32 5 ,33 5 ,131 5 バッファレジスタ
100 1次局
131 6 タイマ回路
S1 起動信号
S2 タイマ割込み信号
[0001]
[Industrial application fields]
The present invention relates to a data transmission system in which numerical control devices are distributed and arranged for each axis of a machine tool, a robot, or an integrated body thereof, and the numerical control device thereof, and in particular, a data transmission system that realizes synchronous operation of each axis, and It relates to the numerical control device .
[0002]
[Prior art]
FIG. 4 is a diagram showing a configuration of a distributed numerical control system.
In the system shown in FIG. 4, each of the numerical control devices 31 and 32 transmits the movement data to the numerical control devices 31 and 32 that drive and control the plurality of axis servo systems 21 and 22, respectively. Each axis servo system 21, 22 is controlled independently. Each of the numerical control devices 31 and 32 includes a buffer register 31 5 and 32 5 for temporarily storing data from the axis group manager 10 received via the transmission interfaces 31 1 and 32 1 , the transmission interfaces 31 1 and 32 1 , and a CPU. part 31 2, 32 2, the speed command unit 31 3, 32 3, includes a servo controller 31 4, 32 4, the motor 21 rotates by a servo controller 31 4, 32 4 each axis servo system 21, 22 is controlled and a 1, 22 1 and the motor 21 1, 22 1 of the rotation amount detecting servo controller 31 4, 32 position detectors 22 1 to be sent to 4, 22 2.
[0003]
The speed command unit 31 3, 32 3 gives a speed command corresponding to the command value sent from the shaft group management unit 10 through the transmission interface 31 1, 32 1 to the servo controller 31 4, 32 4, the servo controller 31 4 and 32 4 , feedback control is performed in which the speeds of the motors 21 1 and 22 1 are set according to the speed commands in accordance with the detection outputs of the position detectors 22 1 and 22 2 . In this feedback control, to the servo controller 31 4, 32 4, which sends the desired quantity of pulses in a short time, for example, it can be realized by a circuit shown in FIG.
Figure 4 CPU unit 31 shown in 2, 32 2 in the CPU (not shown) sets the direction (D 7) and velocity data (D 0 to D 5) to the data bus, issues a WRSG signal, The data enables the binary rate multiplier 9 written in the D flip-flop 8.
[0004]
After counting 64 pulses of SP, the binary rate multiplier 9 outputs EO, resets the RS flip-flop 10, and disables itself. Directed by D 7 input data content of pulses during this time, it outputs the + FP or -FP. This number of pulses is the amount of movement. Here, an example in which three numerical control devices are provided and three-axis synchronous operation is performed will be described. First, the transfer format will be described. Generally, when data is transferred from a master station (here, an axis group manager ) to a plurality of slave stations (here, a numerical controller), high-level data link control (hereinafter referred to as HDLC). (Referred to as JIS standard C-6363). The HDLC transfer format is shown in FIG. An address, a command, data, and a cyclic redundancy check are placed between flags indicating the start and end of one cycle. One cycle is called a frame, and this frame is continuously transmitted.
[0005]
In the following description, a frame will be described on the assumption that one cycle of a transfer pattern is composed of one common frame corresponding to all numerical control devices and three unique frames corresponding to individual numerical control devices.
When this state is shown in FIG. 7, F n−1 , F n−2 , and F n−3 are unique frames, and F n−0 is a common frame.
Next, a specific operation of the above-described distributed numerical control system will be described with reference to FIGS.
FIG. 8 and FIG. 9 are diagrams showing the configuration of the main part relating to the operation of the distributed numerical control system shown in FIG. Group management device 10 is the three numerical control device 31 to 33 (hereinafter, respectively referred to as NC1~NC3) manages the, F n-1, F n -2, F n-3 shown in FIG. 7 Information corresponding to each numerical control device NC1, NC2, NC3 is individually recorded, and information corresponding to all numerical control devices NC1 to NC3 is stored in Fn -0 .
[0006]
(1) Assume that the address of the frame F n−1 is “00000001” and the numerical control NC1 is designated. Thus NC1 fetches the command data following the address and receives the frame F n-1 in the buffer register 31 5.
NC2 and NC3 are naturally ignored.
(2) It is assumed that the address of the frame F n-2 is “00000010” and the numerical controller NC2 is designated. Thus NC2 fetches the command data following the address and receives the frame F n-2 to the buffer register 32 5.
NC1 and NC3 are naturally ignored.
(3) It is assumed that the address of the frame F n-3 is “00000100” and the numerical controller NC3 is designated. Therefore NC3 fetches the command data following the address and receives the frame F n-3 in the buffer register 33 5.
[0007]
NC1 and NC2 are naturally ignored.
During the above (1) to (3), NC1 to NC3 are operating according to the data fetched in the previous cycle.
(4) It is assumed that the addresses of the frame F n-0 are “11111111” and all numerical control devices NC1 to NC3 are designated.
Therefore, the frame F n-0 is received by all the numerical controllers NC1 to NC3, and the NC1 to NC3 commonly take in command data following the address.
During this capture, NC1 to NC3 are still operating with the data captured in the previous cycle.
(5) When the capturing is completed, the contents of the buffer registers 31 5 , 32 5 , and 33 5 are written in the speed commanders 31 3 , 32 3 , and 33 3 , and activated at the same time.
[0008]
However, the calculation speed of each NC is adjusted in advance so that the speed command calculation of the previous cycle is completed until immediately before the capturing is completed. The operation described above enables complete synchronous operation of each axis. Conventionally, complete synchronization could not be performed due to an error in the calculation speed of each NC. However, in this conventional example , since the calculation start time is completely synchronized every transfer cycle, the error is absorbed within one cycle, and the axis It will not affect the operation of. This is because the time required for one cycle of transfer is about several milliseconds as shown in FIG. 10, and the variation of the clock within that time is within several microseconds. This order has no effect on the movement of the servo motor that drives the shaft. Further, even during the resting time until restart, the speed command value is merely rested and is not related to the motor.
[0009]
[Problems to be solved by the invention]
In the conventional data transmission system described above, the axis group manager, which is the primary station, sends a broadcast (common address command) to the plurality of numerical control devices, which are the secondary stations, and each secondary station that receives the broadcast simultaneously. By capturing data, the operation of each axis controlled by each secondary station is synchronized. The response characteristics required for each axis are not all the same. For a specific axis, fast responsiveness may be required, but in the conventional method, a broadcast that is an address of a common address is not sent. Each secondary station does not take in data. For this reason, there is a problem that data cannot be transmitted more than the period for sending a broadcast, and that fast data transmission cannot be performed only to a secondary station that manages a specific axis.
[0010]
The present invention has been made in view of the problems of the prior art as described above, and a data transmission system capable of performing data transmission faster than a period for sending a broadcast for a specific secondary station. It aims to be realized.
[0011]
[Means for Solving the Problems]
The numerical controller of the distributed numerical control system of the present invention is a numerical controller provided in plural for one axis group manager ,
A buffer register for temporarily storing data fetched from each unique frame;
A speed command device that gives a speed command to the servo controller according to the command value sent from the axis group manager,
Receives data for axis movement in a transfer format composed of a common frame that is commonly generated by the axis group manager and that corresponds to the numerical control device, and a unique frame that individually corresponds to each numerical control device. In a numerical controller of a distributed numerical control system that performs drive control of a single mechanical movement axis,
Each numerical controller is
When an activation signal is received, a timer interrupt signal is output after the transmission of the unique frame from the axis group manager to the numerical control device that requires fast data transmission within one data transmission cycle A timer circuit to
Each time a common frame is received, the speed command device is started by the data stored in the buffer register and the start signal is output to the timer circuit, and then the timer interrupt signal from the timer circuit is received. And a CPU section for starting up a speed commander according to data stored in the buffer register.
[0012]
Data transmission system of the present invention is a data transmission system using the numerical controller of the distributed numerical control system configured as described above, the shaft manager in data transmission in the same period, a predetermined numerical control The device is characterized in that the unique frame is transmitted twice or more.
[0013]
[Action]
In the numerical controller of the distributed numerical control system of the present invention, the CPU unit is stored in the buffer register when a common frame is sent from the axis group manager and when a timer interrupt signal is output from the timer circuit. Starts the speed commander according to the data being received. If the axis group manager is configured to send a unique frame more than once for a given numerical control device within the same period, and a timer interrupt signal is output from the timer circuit after the first unique frame is sent, The speed command device is activated only for the numerical control device, and data transmission faster than the normal cycle is performed.
[0014]
【Example】
Next, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing a schematic configuration of an embodiment of the present invention. In the present embodiment, nine secondary stations 40 to 48 are provided for one primary station 100.
FIG. 2 is a block diagram showing in detail the configuration of the primary station 100 and the secondary stations 40 to 48 in FIG. In FIG. 2, the primary station 100 is represented as an axis group manager 110, and the secondary stations 40 to 48 are represented as a numerical controller 131 that controls the axis servo system 121.
The configuration of the axis servo system 121 including the axis group manager 110 and the motors 121 1 and 121 2 in FIG. 2 is the same as that of the conventional axis group manager 10 and the axis servo system 21 shown in FIG.
[0015]
For the numerical control apparatus 131 in this embodiment, it is provided with a timer circuit 131 6 to the conventional numerical controller 31 shown in FIG. The other transmission interfaces 131 1 , CPU 131 2 , speed commander 131 3 , servo controller 131 4, and buffer register 13 5 are configured and operated as transmission interfaces 31 1 , provided in the numerical controller 31 shown in FIG. CPU unit 31 2, the speed command unit 31 3, described is the same as the servo controller 31 4 and the buffer register 31 5 will be omitted.
Timer circuit 131 6, when the simultaneous broadcast occurs, is provided to generate a timer interrupt after the predetermined time has elapsed. When CPU 131 2 sent the simultaneous broadcast sends the timer start signal S1 to the timer circuit 131 6, a timer circuit 131 6 accepted the activation signal S1, CPU timer interrupt signal S2 after a predetermined time has elapsed It is returned to the part 131 2.
[0016]
FIG. 3 is a diagram showing a data transmission state in this embodiment. The operation of this embodiment will be described with reference to FIG.
In the data transmission of the present embodiment, fast data transmission is required for the secondary stations 40 to 47, and particularly fast data transmission is not required for the secondary station 48.
Half-duplex communication is performed between the primary station 100 and the secondary stations 40 to 48 as shown in FIG. In FIG. 3A, the line above shows transmission from the primary station 100, and the line below shows transmission from the secondary stations 40 to 48. For example, when the primary station 100 transmits data to the secondary station 40, a return for the data transmission is performed. The data length and the transmission cycle are constant, and the interval at which the address of the FF that is a broadcast is sent out, that is, one cycle of data transmission is 2 ms.
[0017]
The axis group manager 110, which is the primary station, transmits FF, which is a simultaneous broadcast, and then transmits data to the secondary stations 40 to 47 in succession twice, and then transmits data to the secondary station 48. Do. When the primary station transmits a broadcast, an interrupt as shown in FIG. 3B occurs in each of the secondary stations 40 to 48 whose configuration is shown in FIG. CPU 131 2 outputs the start signal S1 to the timer circuit 131 6 fetches the data already written into the buffer register 131 5 The interrupt. Timer circuit 131 6 returns the timer interrupt signal S2 to the 1ms after elapse of 1/2 cycles as shown in FIG. 3 (c) to the CPU 131 2. CPU 131 2 accepting the timer interrupt signal S2 takes the data written in the buffer register 131 5 similarly to the interrupt by simultaneous broadcast.
[0018]
In this embodiment, as described above, data transmission from the primary station to the secondary stations 40 to 47 is performed twice in succession, and when the timer interrupt signal S2 is output, the secondary stations 40 to 47 are output. The content of the buffer register provided in 47 is a new rewritten content captured in the previous cycle currently being executed. Therefore, when the timer interrupt signal S2 is taken in, each of the secondary stations 40 to 47 can perform a new operation, and the actual transmission cycle for the secondary stations 40 to 47 is 1 ms. ing. For the secondary station 48 that does not require fast data transmission, a new instruction is not written in the buffer register when the timer interrupt signal S2 is generated. It is 2 ms as well as the case without it.
[0019]
In the present embodiment described above, the delay time of the timer circuit has been described as 1 ms in which the data transmission period to the secondary stations 40 to 47 is ½ cycle, but this delay time is a fast data within one cycle. The timing is not particularly limited as long as the timer interrupt signal is transmitted after the first transmission to the secondary station that requires transmission is completed.
Further, the timer interrupt signal S2 is transmitted every predetermined time, and a plurality of timer interrupt signals S2 are transmitted within one cycle. Further, by adjusting the order of data transmission specific to each secondary station from the primary station, It is possible to further increase the types of data transmission cycles for each station.
Although the simultaneous control of nine axes has been described above, the present invention can naturally be implemented for multi-axis more than that.
[0020]
【The invention's effect】
Since the present invention is configured as described above, the following effects can be obtained.
Since the data written in the buffer register is fetched a plurality of times, a response faster than the data transmission cycle of the axis control station is possible. By combining the two, it is possible to perform fast data transmission only for a specific secondary station.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a schematic configuration of an embodiment of the present invention.
FIG. 2 is a block diagram showing in detail the configuration of a primary station 100 and secondary stations 40 to 48 in FIG.
3 is a diagram showing a data transmission state in the embodiment shown in FIGS. 1 and 2. FIG.
FIG. 4 is a diagram showing a configuration of a conventional example of a distributed numerical control system.
FIG. 5 is a diagram showing a configuration example of a speed command device in a conventional example.
FIG. 6 is a diagram illustrating a specific operation of a conventional example.
FIG. 7 is a diagram illustrating a specific operation of a conventional example.
FIG. 8 is a diagram illustrating a specific operation of a conventional example.
FIG. 9 is a diagram illustrating a specific operation of a conventional example.
FIG. 10 is a diagram illustrating a specific operation of a conventional example.
[Explanation of symbols]
8 D flip-flop
9 multiplier
10 Flip-flop RS
40-48 secondary station
10,110 Axis group manager
21, 121 axis servo system
21 1 , 121 1 motor
21 2 , 121 2 Position detector
31, 32, 33, 131 Numerical control device
31 1 , 32 1 , 131 1 transmission interface
31 2 , 32 2 , 131 2 CPU section
31 3 , 32 3 , 33 3 , 131 3 Speed command device
31 4, 32 4, 131 4 servo controller
31 5, 32 5, 33 5, 131 5 buffer register
100 Primary station
131 6 Timer circuit
S1 Start signal
S2 Timer interrupt signal

Claims (2)

1個の軸群管理器に対して複数設けられる数値制御装置であって、
前記各固有フレームから取り込んだデータを一時記憶するバッファレジスタと、
前記軸群管理器より送られてくる指令値に応じた速度指令をサーボコントローラに与える速度指令器と、を備え、
前記軸群管理器が発する前記数値制御装置に共通に対応する共通フレームと、各数値制御装置ごとに個別に対応する固有フレームとから構成される転送フォーマットの軸移動のためのデータを受取り、1個の機械的移動軸の駆動制御を行う分散型数値制御システムの数値制御装置において、
各数値制御装置は、
起動信号を受け付けるとデータ伝送周期の1サイクル内の間で早いデータ伝送が必要とされる前記数値制御装置への前記軸群管理器からの前記固有フレームの送信が終了した後にタイマ割込み信号を出力するタイマ回路と、
共通フレームを受信するたびに、前記バッファレジスタに格納されているデータによって速度指令器を起動するとともに前記タイマ回路へ起動信号を出力し、その後に前記タイマ回路からのタイマ割込み信号を受け付けたときにも前記バッファレジスタに格納されているデータによって速度指令器を起動するCPU部とを有することを特徴とする分散型数値制御システムの数値制御装置
A numerical controller provided in plural for one axis group manager ,
A buffer register for temporarily storing data fetched from each unique frame;
A speed command device that gives a servo controller a speed command corresponding to a command value sent from the axis group manager,
Receives data for axis movement in a transfer format composed of a common frame that is commonly generated by the axis group manager and that corresponds to the numerical control device, and a unique frame that individually corresponds to each numerical control device. In a numerical controller of a distributed numerical control system that performs drive control of a single mechanical movement axis,
Each numerical controller is
When an activation signal is received, a timer interrupt signal is output after the transmission of the unique frame from the axis group manager to the numerical control device that requires fast data transmission within one data transmission cycle A timer circuit to
Each time a common frame is received, the speed command device is started by the data stored in the buffer register and the start signal is output to the timer circuit, and then the timer interrupt signal from the timer circuit is received. also numerical controller of the distributed numerical control system characterized by having a CPU unit that starts the speed command unit by the data stored in the buffer register.
請求項1記載の分散型数値制御システムの数値制御装置を用いたデータ伝送システムであって、軸管理器は同一周期内のデータ伝送において、所定の数値制御装置については固有フレームを2度以上送出することを特徴とするデータ伝送システム。2. A data transmission system using a numerical controller of a distributed numerical control system according to claim 1, wherein the axis manager transmits a unique frame more than once for a predetermined numerical controller in data transmission within the same period. A data transmission system.
JP31345494A 1994-12-16 1994-12-16 Numerical controller for distributed numerical control system and data transmission system using the same Expired - Fee Related JP3613289B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31345494A JP3613289B2 (en) 1994-12-16 1994-12-16 Numerical controller for distributed numerical control system and data transmission system using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31345494A JP3613289B2 (en) 1994-12-16 1994-12-16 Numerical controller for distributed numerical control system and data transmission system using the same

Publications (2)

Publication Number Publication Date
JPH08171408A JPH08171408A (en) 1996-07-02
JP3613289B2 true JP3613289B2 (en) 2005-01-26

Family

ID=18041501

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31345494A Expired - Fee Related JP3613289B2 (en) 1994-12-16 1994-12-16 Numerical controller for distributed numerical control system and data transmission system using the same

Country Status (1)

Country Link
JP (1) JP3613289B2 (en)

Also Published As

Publication number Publication date
JPH08171408A (en) 1996-07-02

Similar Documents

Publication Publication Date Title
JP3386777B2 (en) Numerical control system
JPH04290102A (en) Device for information transmission to servomechanism
JP2019106225A (en) Controller
JP3613289B2 (en) Numerical controller for distributed numerical control system and data transmission system using the same
JPH0619660B2 (en) Distributed numerical controller
JP4029617B2 (en) Numerical control system and communication timing setting method in the numerical control system
CN107861414A (en) Realize the method and system, master controller, servo-driver that servomotor is synchronized with the movement
WO2019171845A1 (en) Control device and control system
JPH10105206A (en) Driving controller and servoamplifier for servomotor, peripheral device, and position detector for servomotor
EP3869745B1 (en) Production system, communication method, and program
JPH0619661B2 (en) Distributed numerical controller
JP2514882B2 (en) Communication network system of resistance welding machine
JP3584342B2 (en) Synchronous operation start / stop control system for multiple ICs
JPH07191727A (en) Synchronizing system for distributed control system
JPH0447841B2 (en)
JP2004180417A (en) Simultaneous control method for two or more motors, control system for two or more motors, pulse generating circuit for control of two or more motors, and pulse generating ic for control of two or more motors
JPH11259105A (en) Externally synchronizable programmable controller device
JP3095276B2 (en) Sequence controller
JPS59188395A (en) Driving method of step motor
JP2000316295A (en) Serial communication system and image forming device
JPH03222696A (en) Motor controller and control method
JPH0224703A (en) Numerical controller
JPH03147110A (en) Synchronizing system for numerical controller
JP3181442B2 (en) Control method of injection molding machine
WO1990008993A1 (en) Numeric controller for transfer line

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040422

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040427

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040615

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20040615

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20041006

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041019

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20071105

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20081105

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20081105

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20091105

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20101105

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees