JPH07200028A - Controller for automatic equipment - Google Patents

Controller for automatic equipment

Info

Publication number
JPH07200028A
JPH07200028A JP35453893A JP35453893A JPH07200028A JP H07200028 A JPH07200028 A JP H07200028A JP 35453893 A JP35453893 A JP 35453893A JP 35453893 A JP35453893 A JP 35453893A JP H07200028 A JPH07200028 A JP H07200028A
Authority
JP
Japan
Prior art keywords
memory
control unit
data
automatic
control
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.)
Withdrawn
Application number
JP35453893A
Other languages
Japanese (ja)
Inventor
Tomoyuki Kubota
智之 久保田
Makoto Akahira
誠 赤平
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP35453893A priority Critical patent/JPH07200028A/en
Publication of JPH07200028A publication Critical patent/JPH07200028A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Numerical Control (AREA)
  • Safety Devices In Control Systems (AREA)
  • Control By Computers (AREA)
  • Control Of Position Or Direction (AREA)

Abstract

PURPOSE:To provide a controller capable of independently performing control for mutually separated plural automatic equipments even while mutual communication is performed in the respective equipments and easily moving and changing a part of the automatic equipments. CONSTITUTION:This controller is provided with a first control unit 10 for a first automatic equipment and a second control unit 20 for a second automatic equipment, the first control unit is provided with a first memory 14, the second control unit is provided with a second memory 24 and the contents of the first memory and the contents of the second memory are duplicated so as to be the same by serial communication. Then, when data for the first control unit are present in the first memory, the first control unit takes out the data from the first memory. When the data for the second control unit are present in the second memory, the second control unit takes out the data from the second memory.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、例えば、自動組み立て
ロボット等の自動装置を制御する制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control device for controlling an automatic device such as an automatic assembly robot.

【0002】[0002]

【従来の技術】従来、自動組立装置等の自動装置のため
の制御装置においては、全体の動作手順を制御する部分
(以後、マスター部)と位置決め制御をする部分(以
後、スレーブ部)とのデータの受け渡しを、マルチバス
を介して行うか、あるいは2ポートRAMを用いて行な
う等していた。ところが上記の方法では、マルチバスや
2ポートRAMを用いた場合は、マスター部とパソコン
やTP(教示卓)との配線、及びスレーブ部とロボット
との動力線、エンコーダ線、センサ線の信号線等の配線
の引き回しが長くなり工場等の設置状態により、その配
線の長さも変わり、断線時にもその断線箇所が多いため
に、多大な労力を要した。
2. Description of the Related Art Conventionally, in a control device for an automatic device such as an automatic assembling device, a part for controlling the whole operation procedure (hereinafter, master part) and a part for controlling positioning (hereinafter, slave part) are provided. Data has been passed through a multi-bus or a 2-port RAM. However, in the above method, when a multi-bus or a 2-port RAM is used, the wiring between the master unit and the personal computer or TP (teaching table), the power line between the slave unit and the robot, the encoder line, and the signal line of the sensor line. The length of the wiring has changed depending on the installation conditions such as a factory, and the length of the wiring has changed. Even when the wiring has been broken, there are many broken points, which requires a great deal of labor.

【0003】そこで、マスター部とスレーブ部を1つの
機能モジュールとして、各々をネットワーク中継器なる
ものを介して情報交換を行わせることが、特公平4−2
83号に提案されている。
Therefore, it is known that the master unit and the slave unit are regarded as one functional module, and information is exchanged via a network repeater.
No. 83 proposed.

【0004】[0004]

【発明が解決しようとする課題】ところが、ネットワー
ク中継器を用いた場合、中継器の配置や、そこからの配
線がわずわらしく、また複数の自動機を制御する場合
は、中継器では許容できなくなったり、また、通信対象
の自動機選択等制御が煩雑になる。更に大きな問題とし
て、通信時間がかかるという問題がある。例えば、中継
機を使えばバスや2ポートRAMの10倍以上の時間を
要する。
However, when a network repeater is used, the layout of the repeater and the wiring from it are bothersome, and when controlling a plurality of automatic machines, the repeater is permissible. It becomes impossible, and control such as automatic machine selection for communication becomes complicated. An even greater problem is that communication time is required. For example, if a repeater is used, the time required is 10 times or more that of a bus or 2-port RAM.

【0005】[0005]

【課題を解決するための手段】本発明は自動装置の制御
装置であって、互いに離間した複数の自動機器のための
制御を夫々において互いに連絡を取りながらも独立して
行なうことを可能にし、併せて、自動機器の一部の移動
や変更が容易な制御装置を提案するものである。
SUMMARY OF THE INVENTION The present invention is a control device for an automatic device, which enables independent control of a plurality of automatic devices that are spaced apart from each other, while communicating with each other. At the same time, it proposes a control device in which a part of automatic equipment can be easily moved or changed.

【0006】上記課題を達成するために、本発明の、少
なくとも1つの自動機器を有する自動装置を制御する制
御装置は、前記制御装置は、自動機器の動作手順を制御
する第1の制御ユニットと、前記動作手順に従って前記
自動機器を制御する第2の制御ユニットとを有し、前記
第1の制御ユニットは第1のメモリを有し、前記第2の
制御ユニットは第2のメモリを有し、前記制御装置は、
前記第1のメモリの内容と第2のメモリの内容とが同じ
になるように通信により複製する手段を有し、前記第2
の制御ユニットは、前記第2の制御ユニット用のデータ
が前記第2のメモリ中にあるとき、そのデータを第2の
メモリ中から取り出すことを特徴とする。
In order to achieve the above object, a control device for controlling an automatic device having at least one automatic device according to the present invention comprises: a first control unit for controlling an operation procedure of the automatic device; A second control unit for controlling the automatic device according to the operating procedure, the first control unit having a first memory, and the second control unit having a second memory , The control device is
A means for copying by communication so that the contents of the first memory and the contents of the second memory are the same;
When the data for the second control unit is in the second memory, the control unit of 1) retrieves the data from the second memory.

【0007】メモリ間で通信が行なわれること、そし
て、データがメモリ間で複製されることにより、第1の
制御ユニットと第2の制御ユニットとは自由自在に切り
離すことが可能となり、またその間の多数の配線は短
く、しかも固定長とすることが可能となる。また、その
部分での断線は削減する。更には、自動機の構成機器が
増えた場合、また変わった場合等の増設や、スレーブ部
の取り換えが容易に可能となる。
The communication between the memories and the duplication of the data between the memories allow the first control unit and the second control unit to be freely separated from each other, and between them. Many wirings can be short and have a fixed length. Also, disconnection at that part will be reduced. Furthermore, when the number of constituent devices of the automatic machine is increased or changed, it is possible to easily add more and replace the slave unit.

【0008】[0008]

【実施例】以下添付図面を参照しながら本発明の好適な
実施例を詳細に説明する。図2は実施例システム全体の
構成図である。自動組立機器の1つでもある組立ロボッ
ト500(以下、ロボットと略す)は、不図示のサーボ
モータによって、前後上下方向及び旋回方向に駆動し、
不図示のワークを把持するフィンガーを移動する。スト
ッカ600は、ワーク602の詰まったマガジン601
を搭載し、サーボモータ610によってマガジン601
をロボットのワーク供給位置に移動させる。組立ロボッ
ト500はストッカ600から離間した位置にある。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be described in detail below with reference to the accompanying drawings. FIG. 2 is a block diagram of the entire embodiment system. An assembly robot 500 (hereinafter abbreviated as a robot), which is also one of automatic assembly equipment, is driven in a front-rear vertical direction and a turning direction by a servo motor (not shown),
A finger for holding a work (not shown) is moved. The stocker 600 is a magazine 601 filled with works 602.
601 with a servo motor 610
Is moved to the work supply position of the robot. The assembling robot 500 is located apart from the stocker 600.

【0009】前記ロボット及びストッカーの動作制御
は、全体の動作手順を制御するマスター部10、またマ
スター部10からの指示に従って、ロボットのサーボモ
ータの位置決め制御するAスレーブ部20、及びストッ
カーのサーボモータの位置決め制御をするBスレーブ部
30とから構成される。Aスレーブ部20はロボット側
の筺体に収められ、Bスレーブ部30はストッカ側の筺
体に収められている。
The operation control of the robot and the stocker is performed by a master unit 10 for controlling the entire operation procedure, an A slave unit 20 for controlling the positioning of the robot servo motor according to an instruction from the master unit 10, and a stocker servo motor. And the B slave unit 30 that controls the positioning of the. The A slave unit 20 is housed in the housing on the robot side, and the B slave unit 30 is housed in the housing on the stocker side.

【0010】前記マスター部10とスレーブ部20、3
0は夫々離間しているために、各々シリアル通信用ケー
ブル450、460で接続されている。また、Aスレー
ブ部20とロボット500との間では、モータの動力
線、エンコーダ線がNCモータの本数分、及びセンサか
らの信号線とによって接続されており、Bスレーブ部3
0とストッカー600も同様に接続されている。
The master unit 10 and the slave units 20, 3
Since 0s are separated from each other, they are connected by serial communication cables 450 and 460, respectively. Further, between the A slave unit 20 and the robot 500, motor power lines and encoder lines are connected by the number of NC motors and signal lines from the sensor, and the B slave unit 3
0 and the stocker 600 are similarly connected.

【0011】次に、制御装置内部の構成を図1に従って
説明する。マスター部10は、CPU11、ROM1
2、RAM13、共有メモリ14,15、及びパソコン
1や教示卓(TP)2との入出力を行うシリアルI/O
(SIO)15,16とから構成されている。ROM1
2には、図3Aに示すように、ロボット言語でかかれた
プログラムを解釈し実行するプログラム121、目標位
置に関するデータを教示するプログラム122、スレー
ブ部との通信用インタフェースプログラム123が含ま
れている。
Next, the internal structure of the control device will be described with reference to FIG. The master unit 10 includes a CPU 11 and a ROM 1
2, RAM 13, shared memories 14 and 15, and serial I / O for input / output to / from the personal computer 1 and teaching table (TP) 2.
(SIO) 15 and 16. ROM1
As shown in FIG. 3A, 2 includes a program 121 that interprets and executes a program written in a robot language, a program 122 that teaches data regarding a target position, and an interface program 123 for communication with a slave unit.

【0012】RAM13には、図3Bに示すように、ロ
ボット及びストッカの動作手順のプログラム130,1
32、ロボット用のティーチングポイント131とスト
ッカ用のティーチングポイント133が記憶されてい
る。動作手順プログラムは、パソコン1やTP2を介し
て操作者により作成され、RAM13内の記憶領域に記
憶される。またティーチングポイントも、パソコン1や
TP2によって目標位置データ教示プログラム122に
従って教示され、RAM13に記憶される。
As shown in FIG. 3B, the RAM 13 has programs 130 and 1 for operating procedures of the robot and stocker.
32, a teaching point 131 for a robot and a teaching point 133 for a stocker are stored. The operating procedure program is created by the operator via the personal computer 1 or TP2 and is stored in the storage area in the RAM 13. The teaching points are also taught by the personal computer 1 or TP2 according to the target position data teaching program 122 and stored in the RAM 13.

【0013】マスタ部のCPU11は、RAM13内の
動作手順プログラムを順次読み出し、言語解釈実行プロ
グラム121によって実行していく。ここで、移動命令
等の実動作を伴なう指令があった場合を考える。その移
動命令が、ロボット500への指令の場合には、CPU
11はその指令の目標位置をメモリ131から読みだ
し、スレーブ部20との通信用インタフェースに従って
共有メモリ14に動作指令と共に書き込む。一方、指令
がストッカ600への指令の場合はその指令の目標位置
をメモリ133より読み出し、共有メモリ15に動作指
令と共に書き込む。共有メモリ14,15の内容は夫々
共有メモリ24,34に送られる。
The CPU 11 of the master unit sequentially reads out the operation procedure program in the RAM 13 and executes it by the language interpretation execution program 121. Here, consider a case where there is a command accompanied by an actual operation such as a move command. If the movement command is a command to the robot 500, the CPU
Reference numeral 11 reads out the target position of the command from the memory 131 and writes it together with the operation command in the shared memory 14 according to the interface for communication with the slave unit 20. On the other hand, when the command is the command to the stocker 600, the target position of the command is read from the memory 133 and written in the shared memory 15 together with the operation command. The contents of the shared memories 14 and 15 are sent to the shared memories 24 and 34, respectively.

【0014】Aスレーブ部20は、図1に示すように、
CPU21、ROM22、RAM23、共有メモリ2
4、及びインタフェース25,26、センサー(リミッ
トスイッチ)7やソレノイド8等との入出力を行うI/
O27から構成されている。インタフェース25は、モ
ータへの電流指令を出力し、AMP(増幅器)3を通し
てモータ5に電力を供給し、エンコーダ6からのパルス
をカウンタ4でカウントし、インタフェース26に取り
込み、現在位置情報としてフィードバックされる。
The A slave unit 20, as shown in FIG.
CPU 21, ROM 22, RAM 23, shared memory 2
4, I / O for inputting / outputting with the interfaces 25 and 26, the sensor (limit switch) 7, the solenoid 8 and the like.
It is composed of O27. The interface 25 outputs a current command to the motor, supplies power to the motor 5 through the AMP (amplifier) 3, counts pulses from the encoder 6 with the counter 4, fetches them into the interface 26, and feeds them back as current position information. It

【0015】ROM22には、図4に示すように、マス
ター部からの動作指令を受ける通信用インタフェース2
22と、前記動作指令から実際の動作を行わせる位置決
め、駆動用プログラム221が記憶されている。Bスレ
ーブ部30も同様の構成である。次にマスター部10と
Aスレーブ部20の通信について図5に従って説明す
る。
As shown in FIG. 4, the ROM 22 has a communication interface 2 for receiving an operation command from the master unit.
22 and a positioning / driving program 221 for performing an actual operation from the operation command are stored. The B slave unit 30 has the same configuration. Next, communication between the master unit 10 and the A slave unit 20 will be described with reference to FIG.

【0016】前述のように、マスター部10は動作手順
プログラムに従って実行し、動作指令があると、通信用
インタフェースに従い、共有メモリ14に動作指令及び
必要なデータを書き込むことによってスレーブ部に伝え
ている。Bスレーブ部20は、自分のところにある共有
メモリ24への動作指令の格納を常に監視しており、指
令があれば目標位置201等の必要なデータを読み込
み、位置決め駆動用プログラム221に従って動作す
る。
As described above, the master unit 10 executes according to the operation procedure program, and when there is an operation command, the operation command and necessary data are written to the shared memory 14 according to the communication interface to notify the slave unit. . The B slave unit 20 constantly monitors the storage of the operation command in the shared memory 24 in its own place, and if there is the command, it reads necessary data such as the target position 201 and operates according to the positioning drive program 221. .

【0017】共有メモリ14及び24は、通信ケーブル
450によって接続されており、一方の共有メモリ内の
任意のアドレスに書き込み動作を行えば、その共有メモ
リ自身が高速のシリアル通信によって、他方の共有メモ
リ内の同一アドレスに同一のデータを書き込むことが可
能な手段を持っている。つまり、各々2つの共有メモリ
14,24は全く同一のデータを保持しており、自分の
ところの共有メモリに独立してデータを書き込むことに
より、他方の共有メモリのデータを書き換えることが可
能なわけである。マスター部10とBスレーブ部30に
ついても同様である。
The shared memories 14 and 24 are connected by a communication cable 450, and if a write operation is performed at an arbitrary address in one shared memory, the shared memory itself performs high-speed serial communication and the other shared memory is connected. It has a means capable of writing the same data to the same address in the. That is, each of the two shared memories 14 and 24 holds exactly the same data, and it is possible to rewrite the data in the other shared memory by independently writing the data in the shared memory. Is. The same applies to the master unit 10 and the B slave unit 30.

【0018】図6Aに示す動作プログラム例の10行目
を実行した場合のフローを図6Bに従って説明する。図
6Bの、MOV P(1)は、ロボット500に対する
教示ポイントP(1)への移動命令である。マスター部
10は、実行しようとするプログラム中でMOV命令で
あることを解釈(ステップS1)すると、教示ポイント
P(1)を共有メモリ14のロボット目標位置領域10
1に書き込み(ステップS2)、ロボット動作指令領域
100(図5)にこのMOV命令を書き込む(ステップ
S3)。
The flow when the tenth line of the operation program example shown in FIG. 6A is executed will be described with reference to FIG. 6B. MOV P (1) in FIG. 6B is a movement command to the teaching point P (1) for the robot 500. When the master unit 10 interprets that it is a MOV instruction in the program to be executed (step S1), the teaching point P (1) is set to the robot target position area 10 of the shared memory 14.
1 (step S2), and the MOV command is written in the robot operation command area 100 (FIG. 5) (step S3).

【0019】Aスレーブ部20は、ロボット動作指令領
域200を監視しており(ステップS11)、何らかの
命令があったのを知ると、その動作指令を取り出して解
釈し(ステップS12)、その指令がMOV命令とわか
ると、その指令の目標位置を共有メモリ24のロボット
目標位置領域201から読み込み(ステップS13)、
P(1)へ移動する(ステップS14)。
The A-slave unit 20 monitors the robot operation command area 200 (step S11), and when it knows that there is any command, it extracts and interprets the command (step S12), and the command is sent. When the MOV command is recognized, the target position of the command is read from the robot target position area 201 of the shared memory 24 (step S13),
Move to P (1) (step S14).

【0020】移動が終了すると、エラーがあったかを判
断し(ステップS15)、エラーが発生した場合は、ロ
ボットエラーコード領域204へエラーコードを書き込
み(ステップS16)、エラーがない場合はエラーコー
ドを書かずにロボット完了フラグを領域205に立てる
(ステップS17)。マスター部は動作完了フラグ領域
105を監視しており(ステップS4)、フラグがイネ
ーブルになると、エラーコードをロボットエラーコード
領域104から読み込み(ステップS5)、エラーがあ
ったか判断し(ステップS6)、エラーがなければ次の
命令へ行き、エラーがあればエラー処理へ行く。
When the movement is completed, it is judged whether or not there is an error (step S15). If the error occurs, the error code is written in the robot error code area 204 (step S16). If there is no error, the error code is written. Instead, the robot completion flag is set in the area 205 (step S17). The master unit monitors the operation completion flag area 105 (step S4). When the flag is enabled, the error code is read from the robot error code area 104 (step S5) and it is judged whether there is an error (step S6). If there is not, go to the next instruction, and if there is an error, go to error processing.

【0021】この間、Bスレーブ部30は命令がないの
で、別の処理を行っているか、常に動作指令領域300
を監視している。マスタ部が図6Bの20行目を実行し
た時は、その指令はストッカ600への動作指令であ
り、マスター部10は共有メモリ15に対して読み書き
を行い、ストッカ600はBスレーブ部30の共有メモ
リ34に読み書きを行うことになり、その動作は前述の
ロボットへの動作指令と同様となる。
During this time, since the B slave unit 30 has no command, whether the B slave unit 30 is performing another process or not, the operation command area 300 is always present.
Are watching. When the master unit executes the 20th line in FIG. 6B, the command is an operation command to the stocker 600, the master unit 10 reads from and writes to the shared memory 15, and the stocker 600 shares the B slave unit 30. The memory 34 is read and written, and its operation is the same as the operation command to the robot described above.

【0022】この実施例においては、スレーブ部は、ロ
ボットとストッカの2つであるが、マスター部の共有メ
モリの領域が取れる範囲で、いくつでも増やすことは可
能であり、また、システムの構成によって、どのように
つなぎ換えてもよい。上記実施例における共有メモリ
は、例えばMKY28(ステップテクニカ社製)などが
ある。
In this embodiment, there are two slave units, a robot and a stocker, but it is possible to increase as many as possible within the range of the shared memory area of the master unit, and depending on the system configuration. , You may change the connection. The shared memory in the above embodiment is, for example, MKY28 (manufactured by Step Technica).

【0023】共有メモリは、内部に複数のバンクを有
し、そのバンク毎にアクセス用のアドレスレジスタを内
蔵する。図7は、メモリ間のデータ転送の制御を示す。
かくメモリは、メモリコントローラ(MC14a,14
b)を有し、このメモリコントローラは、自分のメモリ
のバンク毎のデータの変更を監視し、変更があった場合
には、そのバンクのデータを相手側のメモリコントロー
ラに送る。これにより、メモリ間で同じデータを確保す
ることができる。
The shared memory has a plurality of banks inside and an access address register is built in each of the banks. FIG. 7 shows control of data transfer between memories.
The memory is a memory controller (MC14a, 14
b), this memory controller monitors a change in data of each bank of its own memory, and when there is a change, sends the data of the bank to the memory controller of the other party. As a result, the same data can be secured in the memories.

【0024】以上説明した制御装置によれば次のような
効果を期待できる。 A−1.全体の動作手順を制御するマスター部と、自動
組立の構成機器(装置と呼ぶ)を離す場合、従来では、
バスによるマスター部とスレーブ部との通信を長く引き
伸ばすことはノイズ等により不可能であり、またスレー
ブ部と装置間のモータ動力線、エンコーダ線、センサ等
の信号線を引き回すことは可能だが、距離により電圧降
下等の不具合いを生じる可能性があり、距離を伸ばせな
い制約がある。しかしながら、実施例に説明したような
共有メモリを用いることで、信頼性を落とさずマスター
部とスレーブ部を遠くに離した配置が可能となるという
効果がある。 A−2.従来では、スレーブ部と装置間の多数の配線
は、装置を取り換える場合、人手によりつなぎ換えを行
わねばならず手間がかかったが、上記実施例によれば、
スレーブ部を装置に一体化されることが可能となり、1
本ないし2本の信号線のつなぎ換えで済み、手軽に装置
の交換が行えるという効果がある。種々の仕様(軸数の
違い、容量の違いなど)の装置に合わせたスレーブ部を
用意すれば、自由な構成が可能となる。 A−3.サーボの特性として、装置と制御部との間の配
線の引き回しは、人為的及びロボット自体により切断さ
れる恐れがあり、動力線が切断した場合、重力方向に落
下、またエンコーダ線が切断した場合暴走する危険があ
り、重大な事故になりえる。しかし、本実施例では、マ
スター部、スレーブ部間の信号線が断線した場合は、指
令が行かなくなり、装置は停止してしまうだけで重大な
事故に至らないという効果がある。
According to the control device described above, the following effects can be expected. A-1. When separating the master unit that controls the entire operation procedure from the automatic assembly component (called device), conventionally,
It is impossible to extend the communication between the master unit and the slave unit by the bus for a long time due to noise etc.Also, it is possible to route the motor power line, the encoder line, the signal line such as the sensor between the slave unit and the device, but the distance Therefore, there is a possibility that problems such as voltage drop may occur, and there is a restriction that the distance cannot be extended. However, by using the shared memory as described in the embodiment, there is an effect that it is possible to dispose the master unit and the slave unit at a distance from each other without lowering the reliability. A-2. Conventionally, a large number of wirings between the slave unit and the device, when replacing the device, had to be manually replaced, which was troublesome, but according to the above-mentioned embodiment,
The slave unit can be integrated into the device, and
There is an effect that only one or two signal lines need to be changed and the device can be easily replaced. If the slave unit is prepared according to devices of various specifications (differences in the number of axes, differences in capacity, etc.), a free configuration is possible. A-3. As a characteristic of the servo, the wiring between the device and the control unit may be cut artificially or by the robot itself.If the power line is cut, it falls in the gravity direction, or if the encoder line is cut. There is a risk of runaway and can be a serious accident. However, in the present embodiment, when the signal line between the master unit and the slave unit is broken, the command is not issued, and the device is stopped, which does not lead to a serious accident.

【0025】尚、本発明は、複数の機器から構成される
システムに適用しても1つの機器から成る装置に適用し
ても良い。また、本発明は、システム或は装置にプログ
ラムを供給することによって達成される場合にも適用で
きることはいうまでもない。
The present invention may be applied to a system composed of a plurality of devices or an apparatus composed of a single device. Further, it goes without saying that the present invention can be applied to the case where it is achieved by supplying a program to a system or an apparatus.

【0026】[0026]

【発明の効果】以上説明したように本発明の制御装置に
よれば、データがメモリ間で複製されることにより、第
1の制御ユニットと第2の制御ユニットとは自由自在に
切り離すことが可能となり、またその間の多数の配線は
短く、しかも固定長とすることが可能となる。また、そ
の部分での断線は削減する。更には、自動機の構成機器
が増えた場合、また変わった場合等の増設や、スレーブ
部の取り換えが容易に可能となる。
As described above, according to the control device of the present invention, the first control unit and the second control unit can be freely separated by copying the data between the memories. In addition, a large number of wirings between them can be made short and can have a fixed length. Also, disconnection at that part will be reduced. Furthermore, when the number of constituent devices of the automatic machine is increased or changed, it is possible to easily add more and replace the slave unit.

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

【図1】制御装置の構成図である。FIG. 1 is a configuration diagram of a control device.

【図2】全システムの構成図である。FIG. 2 is a configuration diagram of an entire system.

【図3A】マスター部のROMの構成を示す図である。FIG. 3A is a diagram showing a configuration of a ROM of a master unit.

【図3B】マスター部のRAMの構成を示す図である。FIG. 3B is a diagram showing a configuration of a RAM of a master unit.

【図4】スレーブ部のROMの構成を示す図である。FIG. 4 is a diagram showing a configuration of a ROM of a slave unit.

【図5】共有メモリの構成を示す図である。FIG. 5 is a diagram showing a configuration of a shared memory.

【図6A】実施例の制御手順を示すフローチャートであ
る。
FIG. 6A is a flowchart showing a control procedure of the embodiment.

【図6B】実施例の制御手順を示すフローチャートであ
る。
FIG. 6B is a flowchart showing the control procedure of the embodiment.

【図7】メモリ間の通信を制御するハード構成を示す
図。
FIG. 7 is a diagram showing a hardware configuration for controlling communication between memories.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G05B 15/02 G05D 3/12 Q 7740−3H ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical display location G05B 15/02 G05D 3/12 Q 7740-3H

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 少なくとも1つの自動機器を有する自動
装置を制御する制御装置であって、 前記制御装置は、自動機器の動作手順を制御する第1の
制御ユニットと、前記動作手順に従って前記自動機器を
制御する第2の制御ユニットとを有し、 前記第1の制御ユニットは第1のメモリを有し、前記第
2の制御ユニットは第2のメモリを有し、 前記制御装置は、前記第1のメモリの内容と第2のメモ
リの内容とが同じになるように通信により複製する手段
を有し、 前記第2の制御ユニットは、前記第2の制御ユニット用
のデータが前記第2のメモリ中にあるとき、そのデータ
を第2のメモリ中から取り出すことを特徴とする自動装
置の制御装置。
1. A control device for controlling an automatic device having at least one automatic device, the control device comprising: a first control unit for controlling an operation procedure of the automatic device; and the automatic device according to the operation procedure. And a second control unit for controlling the first control unit, the first control unit having a first memory, the second control unit having a second memory, the control device, The second control unit has means for copying by communication so that the content of the first memory and the content of the second memory are the same, and the second control unit is configured such that the data for the second control unit is the second data. A controller for an automatic device, characterized in that when in memory, the data is retrieved from a second memory.
【請求項2】 前記第1のメモリと第2のメモリとの間
はシリアル通信で行なうことを特徴とする請求の範囲1
項に記載の自動装置の制御装置。
2. The serial communication between the first memory and the second memory is carried out.
A control device for an automatic device according to the item.
【請求項3】 前記第1のメモリと第2のメモリとの間
は互いに同一アドレスに同一データを保持することを特
徴とする請求の範囲2項に記載の自動装置の制御装置。
3. The control device for an automatic device according to claim 2, wherein the same data is held at the same address between the first memory and the second memory.
【請求項4】 前記第1のメモリと第2のメモリとの間
は、前記制御装置に備えられているCPUとは独立して
データ通信を行なうことを特徴とする請求の範囲2項あ
るいは3項に記載の自動装置の制御装置。
4. The data communication between the first memory and the second memory is performed independently of the CPU provided in the control device. A control device for an automatic device according to the item.
【請求項5】 前記第2の制御ユニットは、サーボモー
タとエンコーダとに接続されるとともに、エンコーダか
らの位置情報に基づく位置決め制御を、第1の制御ユニ
ットからの動作指令に従って行うことを特徴とする請求
の範囲1項に記載の自動装置の制御装置。
5. The second control unit is connected to a servo motor and an encoder, and performs positioning control based on position information from the encoder according to an operation command from the first control unit. The control device for the automatic device according to claim 1.
【請求項6】 前記2つのメモリ間で通信するデータ
は、移動目標位置、動作指令、動作スピード、エラー情
報やサーボパラメ−タであることを特徴とする請求の範
囲1項に記載の自動装置の制御装置。
6. The automatic device according to claim 1, wherein the data communicated between the two memories is a movement target position, an operation command, an operation speed, error information and servo parameters. Control device.
JP35453893A 1993-12-29 1993-12-29 Controller for automatic equipment Withdrawn JPH07200028A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35453893A JPH07200028A (en) 1993-12-29 1993-12-29 Controller for automatic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35453893A JPH07200028A (en) 1993-12-29 1993-12-29 Controller for automatic equipment

Publications (1)

Publication Number Publication Date
JPH07200028A true JPH07200028A (en) 1995-08-04

Family

ID=18438230

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35453893A Withdrawn JPH07200028A (en) 1993-12-29 1993-12-29 Controller for automatic equipment

Country Status (1)

Country Link
JP (1) JPH07200028A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6792330B1 (en) 1999-07-06 2004-09-14 Mitsubishi Denki Kabushiki Kaisha Drive control system
JP2008112417A (en) * 2006-10-31 2008-05-15 Dkk Toa Corp Measurement management system and remote management system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6792330B1 (en) 1999-07-06 2004-09-14 Mitsubishi Denki Kabushiki Kaisha Drive control system
JP2008112417A (en) * 2006-10-31 2008-05-15 Dkk Toa Corp Measurement management system and remote management system

Similar Documents

Publication Publication Date Title
US8000815B2 (en) Method for the supplying and installation of device-specific functionalities and/or data for the field devices of a distributed system
US5406473A (en) Programmable controller
US4616307A (en) Programmable controller alarm display method
JP3236563B2 (en) Control device
US6192331B1 (en) Method for simulating control functions of a control device
EP0707251B1 (en) Control system
JPH07200028A (en) Controller for automatic equipment
JPH0262606A (en) Cnc diagnosing system
EP0207168B1 (en) Drive control system for servo motors
JP3318923B2 (en) Production management device
JP6542544B2 (en) Numerical control system to recognize motor shaft name
US5323308A (en) Programmable control system
US6964045B1 (en) Multiple program storage within a programmable logic controller system
JP2779796B2 (en) Numerical control unit
JP3171921B2 (en) Control system interface check method
KR100448489B1 (en) Method for controlling a central computer connected to personal computers and a numerical controller and a control device thereof, specially concerned with enabling a concentrated management in one place by connecting the plural personal computers and the numerical controller with the central computer
EP0089194B1 (en) Method and apparatus for displaying ladder diagrams
JP3189417B2 (en) Production management device
JPS6354605A (en) Numerical controller
JPS6184707A (en) Programmable logic controller, program method and device
JP2694639B2 (en) Numerical control unit
JPS6314204A (en) Numerical controller
KR100320563B1 (en) Apparatus for controlling Memory and I/O port interface
JPH0217509A (en) Cad cam device
Callen Distributed control for unmanned vehicles

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20010306