JPS61296407A - Multiprocessor type numerical controller - Google Patents
Multiprocessor type numerical controllerInfo
- Publication number
- JPS61296407A JPS61296407A JP13681485A JP13681485A JPS61296407A JP S61296407 A JPS61296407 A JP S61296407A JP 13681485 A JP13681485 A JP 13681485A JP 13681485 A JP13681485 A JP 13681485A JP S61296407 A JPS61296407 A JP S61296407A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- program
- subsystem
- volatile
- transfer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/36—Nc in input of data, input key till input tape
- G05B2219/36391—Keep subsystem stopped while load of program
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/30—Nc systems
- G05B2219/36—Nc in input of data, input key till input tape
- G05B2219/36395—Load local computer program from host, data transfer ram to rom, BTR
Landscapes
- Numerical Control (AREA)
- Control By Computers (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は、マルチプロセッサ方式を採用し食マルチプ
ロセッサ式数値制御装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a multiprocessor type numerical control device that employs a multiprocessor system.
第3図は従来のマルチプロセッサ式数値制御装置のシス
テム構成を示すブロック図であり5図において、1は主
システム、2は主プロセッサ、3は数値制御装置全体を
制御するプログラムの入つ念不揮発性主メモリ、14は
システムバスである。Fig. 3 is a block diagram showing the system configuration of a conventional multiprocessor type numerical control device. 14 is a system bus.
4.8.9はこのシステムバス14にぶら下ったサブシ
ステムであり、この例では4はモータを制御する第1の
サブシステム、8はシーケンス処理を行う第2のサブシ
ステム、9はその他の処理を行う第3のサブシステムで
ある。5Aは第1のサブシステム4内のザブプロセッサ
、6Aはこの第1のサブシステム4を制御する制御プロ
グラムの入つ:/lEPROMよりなる不揮発性サブメ
モリ、Tは主プロセッサ2とサブプロセッサ5の間で情
報の交換を行う九めに備けられた2ボートメモリである
。第2.第3のサブシステム8,9においても各々、サ
ブプロセッサ5B、5C,不揮発性サブメモリ6B、6
0% 2ボートメモリ7B、7Cを有している。10は
サーボ増巾器、11はサーボモータ、12はリレー接点
、13はリレーコイルである。4.8.9 are subsystems hanging from this system bus 14. In this example, 4 is the first subsystem that controls the motor, 8 is the second subsystem that performs sequence processing, and 9 is the other subsystem. This is the third subsystem that performs processing. 5A is a subprocessor in the first subsystem 4; 6A is a nonvolatile submemory consisting of EPROM; 6A is a nonvolatile submemory consisting of an EPROM; T is a subprocessor for the main processor 2 and subprocessor 5; This is a two-boat memory provided at the ninth point that exchanges information between the two. Second. The third subsystems 8 and 9 also include subprocessors 5B and 5C, and nonvolatile submemories 6B and 6, respectively.
0% Has two boat memories 7B and 7C. 10 is a servo amplifier, 11 is a servo motor, 12 is a relay contact, and 13 is a relay coil.
次に動作について説明する。電源を投入すると、主シス
テム1内の主プロセッサ2は不揮発性主メモリ3に書き
込まれた命令を順次取込み、制御を開始する。Next, the operation will be explained. When the power is turned on, the main processor 2 in the main system 1 sequentially takes in instructions written in the nonvolatile main memory 3 and starts control.
他方、第1のサブシステム4内のサブプロセッサ5Aに
おいても同様に、不揮発性サブメモ1J6Aに書き込門
れ九命令を順次取込み、サーボ増巾器10及びサーボそ
一夕11の制御を実施する。On the other hand, the subprocessor 5A in the first subsystem 4 similarly sequentially takes in the first nine write instructions to the nonvolatile submemory 1J6A and controls the servo amplifier 10 and the servo amplifier 11.
ここで、主プロセッサ2とサブプロセッサ5Aの間の情
報交換は2ボートメモU T Aを通じて行うO
第2.第3のサブシステム8,9においてモ同様に動作
するが、その説明は省略する。Here, information exchange between the main processor 2 and the sub-processor 5A is performed through a two-board memo UTA. Although the third subsystems 8 and 9 operate in the same manner as the first subsystem, the explanation thereof will be omitted.
〔発明が解決しようとする問題点]
従来のマルチプロセッサ式数値制御装置は以上のように
構成されているので、第1のサブシステム4の制御プロ
グラムは、速度の遅いEPROMよりなる不揮発性サブ
メモリ6Aに書き込まれているため、n度の高いモータ
制御を行う目的で、サブプロセッサ5Aに最近の高速プ
ロセッサを使用しても、現在のLSI技術では不揮発性
サブメモIJ 6 Aの速度がついていかず、充分な効
果が得られないという問題点があった。更に、このよう
なマルチプロセッサ方式の数値制御装置にあっては。[Problems to be Solved by the Invention] Since the conventional multiprocessor numerical control device is configured as described above, the control program of the first subsystem 4 is stored in a nonvolatile submemory consisting of a slow EPROM. Even if a recent high-speed processor is used as the sub-processor 5A for the purpose of high-degree motor control, current LSI technology cannot keep up with the speed of the non-volatile sub-memory IJ 6A. However, there was a problem that sufficient effects could not be obtained. Furthermore, in such a multiprocessor type numerical control device.
ソフトウェアの更新または改修は主メモリ2のみならず
、8g1のサブシステム内の不揮発性サブメモリ6Aに
も及ぶことが多く、改修パーツを多く準備しなければな
らないなどの問題点があった。Software updates or modifications often extend not only to the main memory 2 but also to the nonvolatile submemory 6A in the 8g1 subsystem, resulting in problems such as the need to prepare many repair parts.
この発明は上記のような問題点を解消するためになされ
たもので、高速な処理速度を有し、かつソフトウェアの
更新または改修が容易なマルチプロセッサ式数値制御装
置を得ることを目的とする。The present invention was made to solve the above-mentioned problems, and an object of the present invention is to obtain a multiprocessor type numerical control device that has high processing speed and whose software can be easily updated or modified.
この発明に係るマルチプロセッサ式数値制御装置は、サ
ブシステム内には制御プログラムの蓄える高速の揮発性
サブメモリを設け、主システム内には該主システムの制
御プログラムのほかにサブシステムの制御プログラムの
イメージを蓄えて2く不渾発性主メモリを設け、電源投
入時にこの不揮発性主メモリから揮発性サブメモリにサ
ブシステムの制御プログラムを転送するようにしtもの
である。In the multiprocessor type numerical control device according to the present invention, a high-speed volatile submemory for storing control programs is provided in the subsystem, and the main system stores the control program of the subsystem in addition to the control program of the main system. A non-volatile main memory is provided for storing images, and a subsystem control program is transferred from this non-volatile main memory to a volatile sub-memory when power is turned on.
この発明におけるマルチプロセッサ式数値制御装置は、
電源投入時に主システムはサブプロセッサをリセットに
より停止させ、この間に主メモリ内に書き込まれている
サブシステムの制御プログラムのイメージを該サブシス
テム内の揮発性サブメモリに転送し、転送終了後にリセ
ットを解除し。The multiprocessor type numerical control device in this invention includes:
When the power is turned on, the main system stops the subprocessor by resetting it, and during this time, it transfers the image of the control program of the subsystem written in the main memory to the volatile submemory in the subsystem, and resets it after the transfer is completed. Cancel.
サブシステムを起動する。Start a subsystem.
以下、この発明の一実施例を図について説明する。wc
1図はこの発明に係るマルチプロセッサ式数値制御装置
のシステム構成を示すブロック図で。An embodiment of the present invention will be described below with reference to the drawings. wc
FIG. 1 is a block diagram showing the system configuration of a multiprocessor type numerical control device according to the present invention.
第3図と同一の符号を符し念ものはそれぞれ同−f次は
相当部分を示している。The same reference numerals as in FIG. 3 indicate corresponding parts, respectively.
15Aは第1のサブシステム4の制御プログラムが蓄え
られるSRAMよりなる揮発性サブメモIJ、16Aは
コントロール回路、17Aは第1のサブシステム4を停
止状態にしこの間にデータ転送をする目的を持つリセッ
ト信号である。15A is a volatile submemory IJ made of SRAM in which the control program for the first subsystem 4 is stored, 16A is a control circuit, and 17A is a reset signal whose purpose is to stop the first subsystem 4 and transfer data during this period. It is.
3aは第3図の主メモリ3と同一であるが、内部のソフ
トウェアは主システム1の制御プログラムに加え、第1
のサブシステム4の制御プログラム、この第1のサブシ
ステム40制御プログラムを2ボートメモリ7Aに転送
するプログラム(以下、転送プログラムエと言う)、更
に2ボートメモリ7Aより揮発性サブメモ’J15Aに
転送するプログラム(以下、転送プログラム■と言う)
が含まれている。3a is the same as the main memory 3 in FIG.
The control program for the subsystem 4, the program that transfers this first subsystem 40 control program to the 2-board memory 7A (hereinafter referred to as the transfer program), and further transfers it from the 2-board memory 7A to the volatile submemo 'J15A. Program (hereinafter referred to as transfer program ■)
It is included.
第2.第3のサブシステム8,9においても、サブフロ
セッサ5B、5C1不揮発性サブメモリ15B、15C
,2ボートメモ’)7B、7C及びコントロール回路1
6B、16Cで同様に構成されている。17B、17C
は第2.第3のサブシステム8,9を停止状態にし、こ
の間にデータ転送をする目的を持つリセット信号である
。Second. Also in the third subsystems 8 and 9, subprocessors 5B and 5C1 nonvolatile submemories 15B and 15C
, 2 boat memo') 7B, 7C and control circuit 1
6B and 16C are configured in the same way. 17B, 17C
is the second. This is a reset signal whose purpose is to stop the third subsystems 8 and 9 and transfer data during this period.
上記のように構成されたマルチプロセッサ式数値制御装
置の動作を第2図の70−チャート図に従って説明する
。ステップ101で電源を投入すると、電源リセット完
了後ステップ102にて主システム1の主プロセッサ2
が不揮発性の主メモリ3aより命令の7エツチ、を開始
し、プログラムを実行する。The operation of the multiprocessor type numerical control device configured as described above will be explained with reference to the chart 70 in FIG. When the power is turned on in step 101, the main processor 2 of the main system 1 is turned on in step 102 after the power reset is completed.
starts fetching seven instructions from the non-volatile main memory 3a and executes the program.
ステップ103にてリセット信号17AをONにし、第
1のサブシステム4を停止状態のままにしておく。In step 103, the reset signal 17A is turned on to keep the first subsystem 4 in a stopped state.
ステップ104にて転送プログラム■を起動し5第1の
サブシステム4の制御プログラム、及び転送プログラム
■を主メモリ3&より2ボートメモリTに転送する。In step 104, the transfer program (2) is started and the control program for the first subsystem 4 (5) and the transfer program (2) are transferred from the main memory 3 & to the 2-board memory T.
ステップ105にて転送全終了すると、ステップ10B
にてリセット信号17AをOFFする。すると、サブプ
ロセッサ5Aは停止状態より開放される。コントロール
回路16はプログラム開始アドレスを2ボートメモリT
内に設定しであるため、ステップ107にて2ボートメ
モリTより命令7エツチを開始し、ステップ107にて
転送プログラム■を起動し、第1のサブシステム4の制
御プログラムを2ボートメモリTより揮発性サブメモリ
j 5 Aに転送する。ステップ108にて転送終了す
ると、コントロール回路16はプログラムを揮発性サブ
メモリ15よりフェッチするように設定変更する。When the transfer is completely completed in step 105, step 10B
The reset signal 17A is turned OFF. Then, the sub-processor 5A is released from the stopped state. The control circuit 16 stores the program start address in the 2-boat memory T.
Therefore, in step 107, the instruction 7 is started from the 2-board memory T, and in step 107, the transfer program (■) is started, and the control program of the first subsystem 4 is transferred from the 2-board memory T. Transfer to volatile submemory j5A. When the transfer is completed in step 108, the control circuit 16 changes the settings so that the program is fetched from the volatile sub-memory 15.
以下、ステップ109にて揮発性サブメモ1月5より、
第1のサブシステム4の制御プログラムをフェッチし、
通常のシステム運転を開始する。Below, in step 109, from volatile submemo January 5,
fetching the control program of the first subsystem 4;
Start normal system operation.
しかしながら、本発明においては第1のサブシステム4
の制御プログラムは高速度のSRAMよりなる揮発性サ
ブメモリ15Aに入っているため、従来のこの種の装置
におけるように不揮発性サブメモリ6Aの速度が高速の
サブプロセッサ5Aの速度について行けず、その定め待
状態がいくつも入り、バスサイクルが延び、本来の性能
が発揮出来ないということが解消される。However, in the present invention, the first subsystem 4
Since the control program is stored in the volatile sub-memory 15A made of high-speed SRAM, the speed of the non-volatile sub-memory 6A cannot keep up with the speed of the high-speed sub-processor 5A as in conventional devices of this type. This eliminates the problem of entering a number of predetermined wait states, prolonging the bus cycle, and not being able to achieve its original performance.
更に、本発明においては第1のサブシステム40制御プ
ログラムのイメージが主メモリ3aに入っているため、
ソフトウェアの更新又は改修において、主メモリカード
のみ交換すれば良くなる。Furthermore, in the present invention, since the image of the first subsystem 40 control program is stored in the main memory 3a,
When updating or modifying software, only the main memory card needs to be replaced.
また、第2のサツシスフ48%第3のサブシステム9も
同様の方法を採用すれば交換するカードが一枚のみにな
る。Further, if a similar method is adopted for the second 48% third subsystem 9, only one card will be replaced.
なお、上記実施例では、第1のサブシステム4の制御プ
ログラムを専用の揮発性サブメモリ15Aに入れたが、
システムバスのオーバヘッドが許容される範囲内であれ
ば、2ボートメモリ7Aに蓄え、揮発性サブメモリ15
Aを省略してもよい。In the above embodiment, the control program for the first subsystem 4 is stored in the dedicated volatile submemory 15A.
If the system bus overhead is within the allowable range, the memory is stored in the 2-board memory 7A, and the volatile sub-memory 15
A may be omitted.
以上のように%この発明によればサブプロセッサ用のサ
ブメモリとして高速の揮発性サブメモリを採用したため
、サブプロセッサが高速であってもシステム効率を低下
させることなく動作させることができる効果がある。ま
た、主システムの不揮発性メモリよりサブシステムの揮
発性メモリにサブシステムの制御プログラムを転送する
ようにしたので、ソフトウェアの更新または改修が容易
になる効果がある。As described above, according to the present invention, since a high-speed volatile sub-memory is used as the sub-memory for the sub-processor, it is possible to operate the system without reducing system efficiency even if the sub-processor is high-speed. . Furthermore, since the control program for the subsystem is transferred from the nonvolatile memory of the main system to the volatile memory of the subsystem, there is an effect that updating or modifying the software becomes easy.
第1図はこの発明の一実施例によるマルチプロセッサ式
数値制御装置のブロック図、第2図はこの発明において
主システムからサブシステムへのデータ転送を示すフロ
ーチャート図、第3図は従来のマルチプロセッサ方式の
数値制御装置を示すブロック図である。
図において、1は主システム、2は主プロセッサ、3&
は不揮発性主メモリ、4は第1のサブシステム%5A、
5B、5Cはサブプロセッサ、 7A。
7B、7Cは2ボートメモリ、8.9は第2.第3のサ
ブシステム%10はサーブ増幅器%11はサーボモータ
% 14はシステムバス% 15A、15B。
15Cは揮発性サブメモリ、16A、16B、16Cは
コントロール回路、17A、17B、17Cはリセット
信号である。
なお、図中、同一符号は同一、又は相当部分を示す。
特許出願人 三菱電機株式会社
j−m−−→1
代理人 弁理士 1) 澤 博 昭″:(外
2名)FIG. 1 is a block diagram of a multiprocessor numerical control device according to an embodiment of the present invention, FIG. 2 is a flowchart showing data transfer from the main system to the subsystem in the present invention, and FIG. 3 is a block diagram of a multiprocessor numerical control device according to an embodiment of the present invention. It is a block diagram showing a numerical control device of the method. In the figure, 1 is the main system, 2 is the main processor, 3 &
is non-volatile main memory, 4 is the first subsystem %5A,
5B and 5C are sub-processors, 7A. 7B and 7C are 2 boat memories, 8.9 is 2nd . The third subsystem %10 is a servo amplifier.%11 is a servo motor.14 is a system bus.15A, 15B. 15C is a volatile submemory, 16A, 16B, and 16C are control circuits, and 17A, 17B, and 17C are reset signals. In addition, in the figures, the same reference numerals indicate the same or equivalent parts. Patent applicant: Mitsubishi Electric Corporation j-m--→1 Agent: Patent attorney 1) Hiroshi Sawa'': (2 others)
Claims (1)
テムと、主システム制御プログラムのほかに前記サブシ
ステムの制御プログラム及び該サブシステムの制御プロ
グラムを電源投入時に前記サブシステムの前記揮発性サ
ブメモリに転送する転送プログラムを記憶している不揮
発性主メモリと主プロセッサとを有する主システムとを
備えたマルチプロセッサ式数値制御装置。A subsystem having a volatile submemory and a subprocessor, and a control program for the subsystem and a control program for the subsystem in addition to a main system control program are transferred to the volatile submemory of the subsystem when power is turned on. A multiprocessor numerical control device comprising a main system having a non-volatile main memory storing a transfer program and a main processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP13681485A JPS61296407A (en) | 1985-06-25 | 1985-06-25 | Multiprocessor type numerical controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP13681485A JPS61296407A (en) | 1985-06-25 | 1985-06-25 | Multiprocessor type numerical controller |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS61296407A true JPS61296407A (en) | 1986-12-27 |
Family
ID=15184126
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP13681485A Pending JPS61296407A (en) | 1985-06-25 | 1985-06-25 | Multiprocessor type numerical controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS61296407A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63239506A (en) * | 1987-03-27 | 1988-10-05 | Hitachi Ltd | Measuring control system |
JPS6438802A (en) * | 1987-08-04 | 1989-02-09 | Mitsubishi Electric Corp | Program loading system |
JPH01251204A (en) * | 1988-03-15 | 1989-10-06 | Nixdorf Comput Ag | Electric appliance and controller for electric/mechanical appliance |
WO1990002366A1 (en) * | 1988-08-29 | 1990-03-08 | Fanuc Ltd | System for diagnosing cnc |
WO1990013074A1 (en) * | 1989-04-19 | 1990-11-01 | Fanuc Ltd | Numerical controller |
JPH0442308A (en) * | 1990-06-07 | 1992-02-12 | Fanuc Ltd | Data transfer system for numerical controller |
JPH04205308A (en) * | 1990-11-30 | 1992-07-27 | Nissan Motor Co Ltd | Control managing system |
US5581457A (en) * | 1995-01-12 | 1996-12-03 | Mitsubishi Denki Kabushiki Kaisha | Control device for sewing machine and control method therefor |
CN1044018C (en) * | 1994-04-14 | 1999-07-07 | 重机公司 | Stopping apparatus for a sewing machine |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS53137646A (en) * | 1977-05-09 | 1978-12-01 | Toshiba Corp | Ddc unit |
JPS5760410A (en) * | 1980-09-30 | 1982-04-12 | Fanuc Ltd | Loading system of numerical control device |
-
1985
- 1985-06-25 JP JP13681485A patent/JPS61296407A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS53137646A (en) * | 1977-05-09 | 1978-12-01 | Toshiba Corp | Ddc unit |
JPS5760410A (en) * | 1980-09-30 | 1982-04-12 | Fanuc Ltd | Loading system of numerical control device |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63239506A (en) * | 1987-03-27 | 1988-10-05 | Hitachi Ltd | Measuring control system |
JPS6438802A (en) * | 1987-08-04 | 1989-02-09 | Mitsubishi Electric Corp | Program loading system |
JPH01251204A (en) * | 1988-03-15 | 1989-10-06 | Nixdorf Comput Ag | Electric appliance and controller for electric/mechanical appliance |
WO1990002366A1 (en) * | 1988-08-29 | 1990-03-08 | Fanuc Ltd | System for diagnosing cnc |
WO1990013074A1 (en) * | 1989-04-19 | 1990-11-01 | Fanuc Ltd | Numerical controller |
JPH0442308A (en) * | 1990-06-07 | 1992-02-12 | Fanuc Ltd | Data transfer system for numerical controller |
JPH04205308A (en) * | 1990-11-30 | 1992-07-27 | Nissan Motor Co Ltd | Control managing system |
CN1044018C (en) * | 1994-04-14 | 1999-07-07 | 重机公司 | Stopping apparatus for a sewing machine |
US5581457A (en) * | 1995-01-12 | 1996-12-03 | Mitsubishi Denki Kabushiki Kaisha | Control device for sewing machine and control method therefor |
CN1044017C (en) * | 1995-01-12 | 1999-07-07 | 三菱电机株式会社 | Control device for sewing machine and control method thereof |
DE19548356C2 (en) * | 1995-01-12 | 2001-03-15 | Mitsubishi Electric Corp | Control unit for a sewing machine |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9043806B2 (en) | Information processing device and task switching method | |
JP3563768B2 (en) | ROM program change device | |
JPS61296407A (en) | Multiprocessor type numerical controller | |
JPS61180352A (en) | Down-loading system for program | |
US20030181994A1 (en) | Microprocessor performing efficient external bus access | |
JP2014225089A (en) | Arithmetic unit | |
JPH01261758A (en) | Computer system | |
JPH0635800A (en) | Microprocessor and data processing system using it | |
JP2007087244A (en) | Co-processor and computer system | |
JP2005276104A (en) | Microcomputer | |
JP3520966B2 (en) | Information processing equipment | |
JP3190779B2 (en) | Programmable controller | |
JP2003076550A (en) | Data processor, semiconductor circuit and data processing system | |
JP2831419B2 (en) | Sequence controller | |
JPH08115214A (en) | Digital signal processor | |
JP2927102B2 (en) | Instruction string switching method and arithmetic processor using the same | |
JPS61117635A (en) | Virtual storage control system | |
JPS59114622A (en) | Initial microprogram loading system | |
JPH05242009A (en) | Direct memory access device | |
JPH0150936B2 (en) | ||
JPS6148746B2 (en) | ||
JPH08115213A (en) | Digital signal processing and direct memory access control method therefor | |
JPH04167146A (en) | Address tracing system for information processor | |
JP2003337668A (en) | Image-forming device and memory clearing method therefor | |
JPH08106432A (en) | Dma control circuit |