Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0619660B2 - Distributed numerical controller - Google Patents
[go: Go Back, main page]

JPH0619660B2 - Distributed numerical controller - Google Patents

Distributed numerical controller

Info

Publication number
JPH0619660B2
JPH0619660B2 JP7560883A JP7560883A JPH0619660B2 JP H0619660 B2 JPH0619660 B2 JP H0619660B2 JP 7560883 A JP7560883 A JP 7560883A JP 7560883 A JP7560883 A JP 7560883A JP H0619660 B2 JPH0619660 B2 JP H0619660B2
Authority
JP
Japan
Prior art keywords
numerical control
numerical
data
axis
frame
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 - Lifetime
Application number
JP7560883A
Other languages
Japanese (ja)
Other versions
JPS59200309A (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 JP7560883A priority Critical patent/JPH0619660B2/en
Publication of JPS59200309A publication Critical patent/JPS59200309A/en
Publication of JPH0619660B2 publication Critical patent/JPH0619660B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Program-control systems
    • G05B19/02Program-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of program data in numerical form
    • G05B19/414Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller
    • G05B19/4142Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller characterised by the use of a microprocessor
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/33Director till display
    • G05B2219/33337For each axis a processor, microprocessor
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/34Director, elements to supervisory
    • G05B2219/34396Control different groups of functions, commands simultaneously, synchronized

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)
  • General Factory Administration (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention 【産業上の利用分野】[Industrial applications]

本発明は、工作機械、ロボット等又は、それらの複合体
の各軸ごとに数値制御装置を分散して配置する分散形数
値制御装置において、各軸の同期運転を実現する装置に
関するものである。
The present invention relates to an apparatus for realizing synchronous operation of each axis in a distributed numerical control apparatus in which a numerical control apparatus is distributed and arranged for each axis of a machine tool, a robot or the like, or a complex thereof.

【従来の技術】[Prior art]

分散形数値制御装置とは、第1図に示すように上記の軸
群管理器1が軸サーボ系2を駆動制御する数値制御装置
3へ移動データを転送することにより、各数値制御装置
3が各軸サーボ系2を独自に制御する装置である。
As shown in FIG. 1, the distributed type numerical control device means that the numerical group control device 1 transfers the movement data to the numerical control device 3 that drives and controls the axis servo system 2, so that each numerical control device 3 can operate. This is a device for independently controlling each axis servo system 2.

【発明が解決しようとする課題】[Problems to be Solved by the Invention]

このような装置は現在、軸相互の同期運転を行なうべき
手段がなく、実用化にいたっていない。 同期化する手段なくして、上記装置を動作させれば、各
数値制御装置3の演算速度の誤差が軌跡に影響し、目標
とする移動軌跡が実現できないうえ、それを微小区間ご
とに補正しようとすると、最悪の場合、機械的振動を誘
発する恐れがある。 そこで本発明は、上記の点に鑑みて、同期運転を実現す
る分散形数値制御装置を提供することを目的とする。
At present, such a device has not been put into practical use because there is no means for performing synchronous operation between the axes. If the above-mentioned device is operated without the means for synchronizing, the error in the calculation speed of each numerical control device 3 affects the locus, and the target movement locus cannot be realized. Then, in the worst case, mechanical vibration may be induced. Therefore, in view of the above points, an object of the present invention is to provide a distributed numerical control device that realizes synchronous operation.

【課題を解決するための手段】[Means for Solving the Problems]

本発明は、1個の軸群管理器が発する軸移動のためのデ
ータを受け取り、自装置内の速度指令器で出力したパル
スにより自己に割りあてられた1個の機械的移動軸の駆
動制御を行う数値制御装置を複数個備える分散形数値制
御装置において、 前記軸群管理器と、前記全ての数値制御装置を結ぶ共通
の伝送路を設け、 前記軸群管理器に、前記数値制御装置の全を指定した共
通フレーム及び任意のものを指定した固有フレームを前
記伝送路に送出することによって前記数値制御装置にデ
ータを転送する手段を設けるとともに、 前記各数値制御装置に、前記各固有フレームから取り込
んだデータを一時記憶するバッファレジスタと、前記共
通フレームを受信するたびに前記バッファレジスタに格
納されているデータによって起動してその後に再度共通
フレームを受信するまでに速度指令器の動作を完了させ
る速度指令器と、を設けたことを特徴とするものであ
る。
The present invention receives the data for axis movement generated by one axis group controller, and controls the drive of one mechanical movement axis assigned to itself by the pulse output from the speed commander in the own device. In a distributed numerical control device having a plurality of numerical control devices for performing the above, the axis group manager and a common transmission line connecting all of the numerical controllers are provided, and the axis group manager includes A unit for transferring data to the numerical control device by sending a common frame specifying all and a specific frame specifying any one to the transmission path is provided, and each numerical control device is provided with A buffer register that temporarily stores the captured data, and starts up with the data stored in the buffer register each time the common frame is received, and then starts again. It is characterized in that provided a speed command unit to complete the operation of the speed command unit until receiving the passing frame.

【作用】[Action]

以上の手段によって、各軸の完全同期運転が可能とな
る。その理由を第8図を用いて説明する。 そもそも、従来、完全同期ができなかった原因は、各N
Cの演算速度に誤差があるためである。ところが、本発
明では、転送サイクルごとに演算開始時11が完全に同
期するので、1サイクル内で誤差が吸収されてしまい、
軸の動作に影響しない。なぜなら、転送の1サイクルに
要する時間は数ミル秒程度であり、その時間内のクロッ
クのバラツキは数マイクロ秒以内となるからである。 このオーダーでは、軸を駆動するサーボモータの運動に
は全く影響しない。また再起動までの休止時間において
も、速度指令器が休止するのみでモータには関係ない。
By the above means, it is possible to operate the axes in perfect synchronization. The reason will be described with reference to FIG. In the first place, the cause that could not be completely synchronized in the past is that each N
This is because there is an error in the calculation speed of C. However, in the present invention, since the operation start time 11 is completely synchronized for each transfer cycle, an error is absorbed within one cycle,
Does not affect the movement of the axis. This is because the time required for one transfer cycle is about several millisecond, and the fluctuation of the clock within that time is within several microseconds. This order has no effect on the motion of the servomotor driving the axis. Also, even in the pause time until the restart, the speed commander only pauses and is not related to the motor.

【実施例】【Example】

ここで、数値制御装置を3台備え、3軸の同期運転を実
施する例について説明する。 まず、フレームについて説明すると、一般に、親局(こ
こでは軸群管理器)から複数の子局(ここでは数値制御
装置)へデータを転送する場合ハイレベル・データ・リ
ンク・コントロール(以下HDLCと称す)の形式(J
IS規格C−6363)を用いている。HDLCの転送
フォーマットを第2図に示す。1サイクルの開始と終了
を表わすフラグの間に、アドレス、コマンド、データ、
周期冗長検査が納められている。前記1サイクルをフレ
ームと呼び、このフレームが連続的に送出される。 本実施例においては、このフレームを、全数値制御装置
に対応する共通フレーム1個と、個々の数値制御装置に
対応する固有フレーム3個によって転送パターンの1サ
イクルが構成される。 この様子を第3図に示すと、F−1、F−2、F
−3が固有フレームであり、F−0が共通フレームで
ある。 F−1、F−2、F−3は、各数値制御装置NC
1、NC2、NC3にそれぞれ個別に対応する情報が載
り、F−0は、全数値制御装置NC1〜3に共通に対
応する情報が載るのである。 次に各数値制御装置の構成について説明すると、第4図
に示すように、受信したデータを一時記憶するバッファ
レジスタ4を備えている。 また速度指令器6については、サーボコントローラ5に
対し、単位時間に所望量のパルスを送出するものであ
り、例えば、第5図に示す回路で実現できる。なお、速
度指令演算が所定時間に終了するように、各NCのCP
U部7の演算速度を調節しておく。 CPU部7内のCPUは、データ・バスに方向(D7
と速度データ(D〜D5)を設定し、WRSG信号を
発すると、前記データはDフリップフロップ8に書き込
まれたバイナリ・レート・マルチ・プライヤ9の入力デ
ータになるとともに、RSフリップフロップ10をセッ
トし、バイナリ・レート・マルチ・プライヤ9をイネー
ブルにする。 バイナリ・レート・マルチ・プライヤ9は、64パルス
のSPを計数後EOを出力し、RSフリップフロップ1
0をリセットし、自分自身をディスエーブルにする。こ
の間に入力データ分のパルスをDにより方向づけ、+
EP又は−EPを出力する。このパルス数が移動量とな
る。 以上が実施例の説明である。 次に具体的動作を第6図及び第7図を用いて動作順序に
沿って説明する。 フレームF−1のアドレスを“00000001”
とし、数値制御装置NC1を指定しているものとする。
よってNC1はフレームF−1を受信すると前記アド
レスに続くコマンド、データをバッファレジスタに取り
込む。NC2及びNC3は当然ながら無視する。 フレームF−2のアドレスを“00000010”
とし、数値制御装置NC2を指定しているものとする。
よってNC2はフレームF−2を受信すると前記アド
レスに続くコマンド、データをバッファレジスタに取り
込む。NC1及びNC3は当然ながら無視する。 フレームF−3のアドレスを“00000100”
とし、数値制御装置NC3を指定しているものとする。
よってNC3は、フレームF−3を受信すると前記ア
ドレスに続くコマンド、データをバッファレジスタに取
り込む。NC1及びNC2は当然ながら無視する。 以上〜の間は、NC1〜3は、前サイクルに取り込
んだデータによって作動中である。 フレームF−0のアドレスを“11111111”
として、全数値制御装置NC1〜3を指定しているもの
とする。 よって、フレームF−0は、全数値制御装置NC1〜
NC3にて受信され、NC1〜NC3は前記アドレスに
続くコマンド、データを共通に取り込む。この取込み中
も、NC1〜NC3は依然として前サイクルに取り込ん
だデータによって作動中である。 取込みが完了した時点で、各バッファレジスタの内容
を速度指令器に書き込み、速度指令器をいっせいに起動
する。前述したように、あらかじめ各NCの演算速度を
調節してあるので、前記取り込みが完了する直前までに
は、前サイクルの速度指令演算が終了するようなってい
る。 このような〜の繰り返しにより動作する。 以上、3軸の同時制御について説明したが、それ以上の
多軸について実施できることは言うまでもない。
Here, an example in which three numerical control devices are provided and three-axis synchronous operation is performed will be described. First, a frame will be described. Generally, when data is transferred from a master station (here, axis group manager) to a plurality of slave stations (here, numerical controller), a high level data link control (hereinafter referred to as HDLC) ) Format (J
IS standard C-6363) is used. The HDLC transfer format is shown in FIG. Between the flag indicating the start and end of one cycle, address, command, data,
A cyclic redundancy check is included. The one cycle is called a frame, and this frame is continuously transmitted. In this embodiment, one frame of the transfer pattern is composed of one common frame corresponding to all the numerical control devices and three unique frames corresponding to the individual numerical control devices. This state is shown in FIG. 3, where F n -1, F n -2, F n
-3 is unique frames is F n -0 common frame. Fn- 1, Fn- 2, and Fn- 3 are each numerical control device NC.
1, NC2, NC3, respectively laid information corresponding individually, F n -0 is the information corresponding to the common to all the numerical controller NC1~3 rests. Next, the structure of each numerical controller will be described. As shown in FIG. 4, a buffer register 4 for temporarily storing received data is provided. The speed commander 6 sends a desired amount of pulses to the servo controller 5 in a unit time, and can be realized by the circuit shown in FIG. 5, for example. In addition, the CP of each NC is set so that the speed command calculation is completed within a predetermined time.
The calculation speed of the U section 7 is adjusted. The CPU in the CPU section 7 is directed to the data bus (D 7 ).
And speed data (D 0 to D 5 ) are set and a WRSG signal is issued, the data becomes the input data of the binary rate multiplier 9 written in the D flip-flop 8 and the RS flip-flop 10 To enable the binary rate multiplier 9. The binary rate multiplier 9 outputs EO after counting 64 pulses of SP and outputs RS flip-flop 1
Reset 0, disable yourself. During this time, the pulse for the input data is directed by D 7 ,
Output EP or -EP. This pulse number is the movement amount. The above is the description of the embodiment. Next, the specific operation will be described in the order of operation with reference to FIGS. 6 and 7. The address of the frame F n −1 is “00000001”
Then, it is assumed that the numerical control device NC1 is designated.
Therefore, when NC1 receives the frame F n -1, it fetches the command and data following the address into the buffer register. NC2 and NC3 are naturally ignored. The address of the frame F n -2 "00000010"
Then, it is assumed that the numerical control device NC2 is designated.
Thus NC2 command following the address and receives the frame F n -2, captures the data in the buffer register. NC1 and NC3 are naturally ignored. The address of the frame F n -3 "00000100"
It is assumed that the numerical controller NC3 is designated.
Therefore, when the frame F n -3 is received, the NC 3 fetches the command and data following the address into the buffer register. NC1 and NC2 are naturally ignored. Between the above and the above, the NCs 1 to 3 are operating by the data acquired in the previous cycle. The address of the frame F n -0 "11111111"
As a whole, it is assumed that all numerical control devices NC1 to NC3 are designated. Thus, the frame F n -0, the total numerical controller NC1~
Received by NC3, NC1 to NC3 commonly take in the command and data following the address. During this acquisition, NC1 to NC3 are still operating with the data acquired in the previous cycle. When the acquisition is completed, the contents of each buffer register are written in the speed command device and the speed command devices are activated at the same time. As described above, since the calculation speed of each NC is adjusted in advance, the speed command calculation in the previous cycle is completed by the time immediately before the completion of the fetch. It operates by repeating the above. The simultaneous control of three axes has been described above, but it goes without saying that the control can be performed for more than three axes.

【発明の効果】【The invention's effect】

以上述べたように、本発明によれば、多数の数値制御装
置をデータ転送のサイクル毎に同期をとるので、多軸の
完全同期運転が可能になるため、ロボット、工作機械、
運搬機械等を総括して制御できるようになり、高度なF
A(ファクトリーオートメーション)が実現できる。
As described above, according to the present invention, since a large number of numerical control devices are synchronized for each data transfer cycle, multi-axis complete synchronous operation is possible, and thus robots, machine tools,
It becomes possible to control transport machinery as a whole,
A (Factory Automation) can be realized.

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

第1図は従来例、第2図は転送フォーマット、第3図は
本発明のフォーマット列の例、第4図は本発明の数値制
御装置の構成例、第5図は本発明の速度指令器の構成
例、第6図、第7図、第8図は本発明の具体的動作を説
明する図である。
FIG. 1 is a conventional example, FIG. 2 is a transfer format, FIG. 3 is an example of a format sequence of the present invention, FIG. 4 is a structural example of a numerical control device of the present invention, and FIG. 5 is a speed command device of the present invention. FIG. 6, FIG. 7, FIG. 8 and FIG. 8 are diagrams for explaining the specific operation of the present invention.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】1個の軸群管理器が発する軸移動のための
データを受け取り、自装置内の速度指令器で出力したパ
ルスにより自己に割りあてられた1個の機械的移動軸の
駆動制御を行う数値制御装置を複数個備える分散形数値
制御装置において、 前記軸群管理器と、前記全ての数値制御装置を結ぶ共通
の伝送路を設け、 前記軸群管理器に、前記数値制御装置の全を指定した共
通フレーム及び任意のものを指定した固有フレームを前
記伝送路に送出することによって前記数値制御装置にデ
ータを転送する手段を設けるとともに、 前記各数値制御装置に、前記各固有フレームから取り込
んだデータを一時記憶するバッファレジスタと、前記共
通フレームを受信するたびに前記バッファレジスタに格
納されているデータによって起動してその後に再度共通
フレームを受信するまでに速度指令器の動作を完了させ
る速度指令器と、を設けたことを特徴とする分散形数値
制御装置。
1. A drive of one mechanical movement axis which is assigned to itself by a pulse output from a speed commander in its own device by receiving data for axis movement issued by one axis group controller. In a distributed numerical control device comprising a plurality of numerical control devices for controlling, a common transmission line connecting the axis group manager and all the numerical controllers is provided, and the numerical group controller is provided in the numerical controller. Is provided with a means for transferring data to the numerical control device by sending out a common frame specifying all of the above and a specific frame specifying any one to each of the numerical control devices. The buffer register for temporarily storing the data fetched from the device, and the data stored in the buffer register each time the common frame is received are activated and then re-activated Distributed numerical control apparatus and a speed command unit to complete the operation of the speed command unit until receiving the common frame, characterized in that the provided to.
JP7560883A 1983-04-27 1983-04-27 Distributed numerical controller Expired - Lifetime JPH0619660B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7560883A JPH0619660B2 (en) 1983-04-27 1983-04-27 Distributed numerical controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7560883A JPH0619660B2 (en) 1983-04-27 1983-04-27 Distributed numerical controller

Publications (2)

Publication Number Publication Date
JPS59200309A JPS59200309A (en) 1984-11-13
JPH0619660B2 true JPH0619660B2 (en) 1994-03-16

Family

ID=13581090

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7560883A Expired - Lifetime JPH0619660B2 (en) 1983-04-27 1983-04-27 Distributed numerical controller

Country Status (1)

Country Link
JP (1) JPH0619660B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63285605A (en) * 1987-05-18 1988-11-22 Fanuc Ltd Serial data link system for numerical controller
JPS6442703A (en) * 1987-08-11 1989-02-15 Agency Ind Science Techn Controller for simultaneous multiaxis controller
JP3321157B2 (en) * 1990-06-08 2002-09-03 ファナック株式会社 Numerical control system
DE10030357A1 (en) * 2000-06-21 2002-01-17 Heidenhain Gmbh Dr Johannes Method and device for serial data transmission between a position measuring system and a processing unit
WO2025018417A1 (en) * 2023-07-19 2025-01-23 株式会社山本金属製作所 Centralized processing control system

Also Published As

Publication number Publication date
JPS59200309A (en) 1984-11-13

Similar Documents

Publication Publication Date Title
KR101494117B1 (en) Electric motor control system and communication method
US12030174B2 (en) Machine control via wireless communication
EP3764175B1 (en) Control device and control system
JPH04290102A (en) Device for information transmission to servomechanism
US7770045B2 (en) Method and apparatus for operating cooperating, differing devices
JPH0619660B2 (en) Distributed numerical controller
JP2007515003A5 (en)
CN116490829A (en) Method for controlling an automation system with control redundancy and automation system
EP4169672B1 (en) Multi-axis servo control system
JPH0619661B2 (en) Distributed numerical controller
JP3613289B2 (en) Numerical controller for distributed numerical control system and data transmission system using the same
JPS59223807A (en) Coupling system of numerical controller
TWI497243B (en) Method and the device of controling a plurality of drivers to work synchronously
JP2514882B2 (en) Communication network system of resistance welding machine
JP3346847B2 (en) Slave station simultaneous activation method
CN117644519A (en) Multi-robot synchronous control method and system and multi-robot synchronous workstation
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
JP3584342B2 (en) Synchronous operation start / stop control system for multiple ICs
US12403604B2 (en) Machine control via synchronous communication
WO1990008993A1 (en) Numeric controller for transfer line
JPH0447841B2 (en)
JPH0934531A (en) Control system for numerical controller via information processor equipped with software processor function
JPH11259105A (en) Externally Synchronizable Programmable Controller
JPH02183809A (en) Numerical controller for transfer line
JP2022048289A (en) Control device and control system