JP2738029B2 - Control device - Google Patents

Control device

Info

Publication number
JP2738029B2
JP2738029B2 JP1161593A JP16159389A JP2738029B2 JP 2738029 B2 JP2738029 B2 JP 2738029B2 JP 1161593 A JP1161593 A JP 1161593A JP 16159389 A JP16159389 A JP 16159389A JP 2738029 B2 JP2738029 B2 JP 2738029B2
Authority
JP
Japan
Prior art keywords
information
devices
stored
ring memory
communication line
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
JP1161593A
Other languages
Japanese (ja)
Other versions
JPH0326130A (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.)
Toyota Motor Corp
Original Assignee
Toyota Motor 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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP1161593A priority Critical patent/JP2738029B2/en
Publication of JPH0326130A publication Critical patent/JPH0326130A/en
Application granted granted Critical
Publication of JP2738029B2 publication Critical patent/JP2738029B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Manipulator (AREA)
  • Programmable Controllers (AREA)
  • Small-Scale Networks (AREA)
  • Selective Calling Equipment (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Description

【発明の詳細な説明】 発明の目的 [産業上の利用分野] 本発明は制御装置に関し、詳しくはプログラマブルコ
ントローラとプログラマブルコントローラに接続されて
動作する装置とから構成された制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control device, and more particularly, to a control device including a programmable controller and a device that operates while being connected to the programmable controller.

[従来の技術] 従来、この種の制御装置は、プログラマブルコントロ
ーラ(以下、PCという)と、PCに各々接続された複数の
装置とからシステムが構成されており、PCとPCに接続さ
れた各装置との間の信号(オン,オフ信号)のやりとり
により各装置は動作している。こうした制御装置を、例
えば工場の生産設備等に用いた構成例を第3図に示す。
PC100には、表示盤101、操作盤102、IDカード読取装置1
03、ロボットコントローラ104、105、計測コントローラ
106、画像処理装置107等が一対一で接続される。これら
の装置は、各々PC100からの動作指令信号に基づいて動
作すると共に、動作完了時にはPC100に動作完了信号を
送っている。これらPC100と各装置間のやりとりされる
信号に基づいて、制御装置はラダープログラマ108によ
りPC100に入力されたプログラムに沿って動作する。
[Prior art] Conventionally, this type of control device has a system composed of a programmable controller (hereinafter, referred to as a PC) and a plurality of devices each connected to the PC. Each device operates by exchanging signals (on / off signals) with the device. FIG. 3 shows an example of a configuration in which such a control device is used, for example, in a production facility of a factory.
The PC 100 includes a display panel 101, an operation panel 102, an ID card reader 1
03, robot controller 104, 105, measurement controller
The image processing device 107 and the image processing device 107 are connected one-to-one. Each of these devices operates based on an operation command signal from the PC 100, and sends an operation completion signal to the PC 100 when the operation is completed. The control device operates in accordance with a program input to the PC 100 by the ladder programmer 108 based on signals exchanged between the PC 100 and each device.

[発明が解決しようとする課題] しかしながら、このように構成された制御装置は、各
装置間の動作タイミング不良によりトラブルが発生した
ときの原因の究明に、かなりの手間がかかるものであっ
た。なぜなら、各装置内の動作不良については、その装
置内にて原因究明できるものの、各装置は単独にPCに接
続されているために、各装置間の動作タイミングに不良
を生じた場合は、トラブルが発生してから別に検査装置
を用意してその動作を再現しなければ、トラブル原因を
究明することができないものであった。しかも、そのト
ラブルが再現性のあるものであれば手間も少なくて済む
が、現実には再現性のあるものは少なく、原因究明は非
常に困難を要するものであった。
[Problems to be Solved by the Invention] However, in the control device configured as described above, it takes a considerable amount of time to determine the cause when a trouble occurs due to a poor operation timing between the devices. This is because, although the cause of the malfunction in each device can be investigated in that device, since each device is independently connected to the PC, if a malfunction occurs in the operation timing between the devices, a trouble occurs. Unless an inspection device is separately prepared after the occurrence of the error and its operation is reproduced, the cause of the trouble cannot be determined. In addition, if the trouble is reproducible, the trouble is reduced. However, in reality, there are few reproducible problems, and it is extremely difficult to find the cause.

また、ロボット等の機器の位置、制御状態(指示速
度、動作速度等)や、各種センサからの信号等は、それ
らに接続された制御装置あるいは計測装置の個々の内部
においてのみ処理されているため、各装置間の動作タイ
ミングを調整しシステム全体の最適な動作条件を求める
ことも非常に困難なことであった。
In addition, the position and control state (instruction speed, operation speed, etc.) of devices such as robots, signals from various sensors, and the like are processed only inside individual control devices or measurement devices connected thereto. It has also been very difficult to adjust the operation timing between the devices and to determine the optimum operation conditions of the entire system.

本発明は、プログラマブルコントローラとこのプログ
ラマブルコントローラに接続される複数の装置とを備え
る制御装置において、トラブル原因の解明を容易にし、
あわせて各装置間の動作タイミングを調整してシステム
全体の最適な動作条件を求めることも容易にすることを
目的としている。
The present invention, in a control device including a programmable controller and a plurality of devices connected to the programmable controller, facilitate the elucidation of the cause of the trouble,
It is another object of the present invention to adjust the operation timing between the devices and easily obtain the optimum operation conditions of the entire system.

発明の構成 かかる目的を達成する本発明の構成について以下説明
する。
Configuration of the Invention The configuration of the present invention that achieves the above object will be described below.

[課題を解決するための手段] 本発明の制御装置は、プログラマブルコントローラ
と、該プログラマブルコントローラに接続され、少なく
とも動作指示信号および/または動作完了信号を含む動
作情報をやりとりして動作する複数の装置と、上記プロ
グラマブルコントローラと上記複数の装置とを相互に接
続し上記動作情報が通信される通信ラインとから構成さ
れた制御装置において、 上記通信ラインにより上記複数の装置を相互に接続
し、 上記各装置を、各々の内部での処理に使用される内部
情報を上記通信ラインに出力する構成とすると共に、 上記通信ラインに接続され、上記通信ラインから上記
動作情報および内部情報を取得し、これらの情報を時刻
情報に対応させてリングメモリに記憶保持し、該記憶保
持された動作情報および内部情報を対応する時刻情報と
共に随時出力する情報入出力装置と、 異常が検出されたときに上記リングメモリの記憶更新
を停止させる記憶更新停止手段とを備えた ことを特徴とする。
[Means for Solving the Problems] A control device according to the present invention includes a programmable controller and a plurality of devices connected to the programmable controller that operate by exchanging operation information including at least an operation instruction signal and / or an operation completion signal. A communication line that connects the programmable controller and the plurality of devices to each other and communicates the operation information, wherein the communication line connects the plurality of devices to each other; The device is configured to output internal information used for processing inside each of the devices to the communication line, and connected to the communication line to acquire the operation information and the internal information from the communication line, The information is stored and held in the ring memory in association with the time information, and the operation information and the An information input / output device for outputting the unit information together with the corresponding time information as needed, and a storage update stopping means for stopping the storage update of the ring memory when an abnormality is detected.

[作用] 上記の構成になる本発明の制御装置では、プログラマ
ブルコントローラと複数の装置とが通信ラインによって
相互に接続され、また複数の装置も通信ラインによって
相互に接続されている。
[Operation] In the control device of the present invention having the above configuration, the programmable controller and the plurality of devices are connected to each other by a communication line, and the plurality of devices are also connected to each other by a communication line.

各装置は、通信ラインにより、プログラマブルコント
ローラとの間で少なくとも動作指示信号および/または
動作完了信号を含む動作情報をやりとりして動作し、各
々の内部での処理に使用される内部情報を通信ラインに
出力する。すなわち、通信ラインは動作情報および内部
情報を搬送する。
Each device operates by exchanging at least operation information including an operation instruction signal and / or an operation completion signal with a programmable controller via a communication line, and transmits internal information used for processing inside each of the communication lines. Output to That is, the communication line carries operation information and internal information.

この通信ラインに接続された情報入出力装置は、通信
ラインから動作情報および内部情報を取得し、これらの
情報を時刻情報に対応させてリングメモリに記憶保持
し、リングメモリに記憶保持された動作情報および内部
情報をそれらに対応する時刻情報と共に随時出力する。
The information input / output device connected to the communication line acquires operation information and internal information from the communication line, stores the information in the ring memory in association with the time information, and stores the operation information stored in the ring memory. The information and the internal information are output at any time together with the corresponding time information.

この時刻情報と共に出力される動作情報および内部情
報により各装置間の動作タイミングが把握できるので、
例えば各装置間の動作タイミング不良によりトラブルが
生じても、リングメモリの一周期分の動作情報および内
部情報を同一時間軸で確認でき、トラブル発生の原因を
簡単に究明できる。また、各装置間の動作タイミングを
調整して、システム全体の最適な動作条件を求めること
も容易にできる。
Since the operation timing and the internal information output together with the time information allow the operation timing between the respective devices to be grasped,
For example, even if a trouble occurs due to a poor operation timing between the devices, the operation information and internal information for one cycle of the ring memory can be confirmed on the same time axis, and the cause of the trouble can be easily investigated. In addition, it is possible to easily determine the optimum operation conditions of the entire system by adjusting the operation timing between the devices.

[実施例] 以上説明した本発明の構成・作用を一層明らかにする
ために、以下本発明の制御装置の好適な実施例について
説明する。
Embodiment In order to further clarify the configuration and operation of the present invention described above, a preferred embodiment of a control device of the present invention will be described below.

第1図は、一実施例としての制御装置の概略構成図で
ある。この制御装置は、工場の生産設備として用いられ
るもので、シーケンス制御を行なうプログラマブルコン
トローラ(以下、PCという)10と、多軸のロボットの制
御を司るロボットコントローラ20,30と、ワークの変位
量や位相を測定する計測コントローラ40と、ワークの形
状を判定する画像処理装置50と、制御装置全体の動作指
示を与える操作盤60と、制御装置全体の動作情報を入力
し各種制御を行なうメインコントローラ70と、各装置の
情報のやりとりを行なう通信ラインとしての装置間デー
タライン90とから構成されている。
FIG. 1 is a schematic configuration diagram of a control device as one embodiment. This control device is used as a production facility in a factory, and includes a programmable controller (hereinafter, referred to as a PC) 10 for performing sequence control, robot controllers 20 and 30 for controlling a multi-axis robot, a displacement amount of a work, A measurement controller 40 for measuring the phase, an image processing device 50 for determining the shape of the work, an operation panel 60 for giving an operation instruction for the entire control device, and a main controller 70 for inputting operation information of the entire control device and performing various controls And an inter-device data line 90 as a communication line for exchanging information of each device.

PC10は、シーケンスラダー回路の情報(各コイル等の
情報)を出力するラダー情報インタフェース11と、動作
指示信号等を出力し動作完了信号等を入力する入出力情
報インタフェース12,13とを備える。尚、この動作指示
信号および動作完了信号等を以下、指示・完了信号と総
称する。
The PC 10 includes a ladder information interface 11 for outputting information of the sequence ladder circuit (information of each coil and the like), and input / output information interfaces 12 and 13 for outputting an operation instruction signal and the like and inputting an operation completion signal and the like. The operation instruction signal, the operation completion signal, and the like are hereinafter collectively referred to as an instruction / completion signal.

ロボットコントローラ20は、ロボットの動作位置,指
示速度,動作速度等を示す状態情報を一定時間毎に出力
すると共に、PC10との間においてやりとりされる指示・
完了信号を入出力する状態情報インタフェース21を備え
る。更に、この指示・完了信号と状態情報を記憶するリ
ングメモリ22と、リングメモリ22に記憶されたデータを
出力する回路としての保全ツールインタフェース23を備
える。リングメモリ22は、指示・完了信号を記憶すると
共に、状態情報をデータとして一定のサンプリング間隔
で時系列的に順次記憶し、記憶すべきデータがメモリ容
量を越えると、先に記憶された最も古いデータから順次
新しいデータに更新するメモリである。
The robot controller 20 outputs state information indicating the operation position, the instruction speed, the operation speed, and the like of the robot at regular intervals, and outputs instructions and information exchanged with the PC 10.
A status information interface 21 for inputting and outputting a completion signal is provided. Further, a ring memory 22 for storing the instruction / completion signal and the status information, and a maintenance tool interface 23 as a circuit for outputting data stored in the ring memory 22 are provided. The ring memory 22 stores an instruction / completion signal, and sequentially stores state information as data in a time-series manner at a constant sampling interval. When data to be stored exceeds the memory capacity, the oldest previously stored data is stored. This is a memory for sequentially updating data from data to new data.

保全ツールインタフェース23には、保全ツール80が必
要に応じて接続される。この保全ツール80は、リングメ
モリ22に記憶された指示・完了信号や状態情報を、予め
入力したパターンデータと参照して、故障診断等を行な
ったり、タイミングチャート形式等により表示して、そ
の状態の推移を調べたりするものである。
The maintenance tool 80 is connected to the maintenance tool interface 23 as needed. The maintenance tool 80 refers to the instruction / completion signal and status information stored in the ring memory 22 with the previously input pattern data to perform a failure diagnosis or the like, and displays the status in the form of a timing chart or the like. Or to investigate the transition of

ロボットコントローラ30は、状態情報インタフェース
31と、リングメモリ32と、保全ツールインタフェース33
とを備え、それらの機能はロボットコントローラ20と同
様である。
The robot controller 30 has a status information interface
31, ring memory 32, maintenance tool interface 33
And their functions are the same as those of the robot controller 20.

計測コントローラ40は、各種センサ(ストロークセン
サ,エンコーダ等)から得られる計測情報を出力すると
共に、PC10との間においてやりとりされる指示・完了信
号を入出力する計測情報インタフェース41を備え、更
に、リングメモリ42と、保全ツールインタフェース43
(ロボットコントローラ20のリングメモリ22,保全ツー
ルインタフェース23と同じ)とを備える。
The measurement controller 40 includes a measurement information interface 41 that outputs measurement information obtained from various sensors (stroke sensors, encoders, and the like), and that inputs and outputs instruction and completion signals exchanged with the PC 10. Memory 42 and maintenance tool interface 43
(The same as the ring memory 22 and the maintenance tool interface 23 of the robot controller 20).

画像処理装置50は、撮像した画像から得られた画像情
報を出力すると共に、PC10との間においてやりとりされ
る指示・完了信号を入出力する画像情報インタフェース
51備え、更に、リングメモリ52と、保全ツールインタフ
ェース53(ロボットコントローラ20のリングメモリ22,
保全ツールインタフェース23と同じ)とを備える。
The image processing device 50 outputs image information obtained from the captured image, and inputs and outputs an instruction / completion signal exchanged with the PC 10.
51, a ring memory 52, and a maintenance tool interface 53 (the ring memory 22,
Maintenance tool interface 23).

メインコントローラ70は、上述したPC10の入出力する
指示・完了信号と、ロボットコントローラ20,30,計測コ
ントローラ40,画像処理装置50の各々出力する状態情
報,計測情報,画像情報と、PC10からのシーケンスラダ
ー情報とを入力すると共に、異常検出信号を出力する全
情報インタフェース71を備える。尚、状態情報,計測情
報,画像情報を内部情報と総称し、この内部情報と指示
・完了信号とシーケンスラダー情報とを合わせて全情報
と呼ぶものとする。入力された全情報は、リングメモリ
72に時系列的に順次記憶されていく。このリングメモリ
72は、上述したリングメモリ22と同様に、記憶すべきデ
ータがメモリ容量を越えると、先に記憶された最も古い
データから順次新しいデータに更新していく。更に、リ
ングメモリ72に記憶されたデータを保全ツール80に出力
する保全ツールインタフェース73と、他の周辺機器との
入出力を行なう外部機器インタフェース74とを備える。
The main controller 70 includes the above-mentioned instruction / completion signals to be input / output to / from the PC 10, status information, measurement information, and image information to be output from each of the robot controllers 20, 30, the measurement controller 40, and the image processing device 50, It is provided with an all information interface 71 for inputting ladder information and outputting an abnormality detection signal. The state information, the measurement information, and the image information are collectively referred to as internal information, and the internal information, the instruction / completion signal, and the sequence ladder information are collectively referred to as all information. All information entered is stored in the ring memory
72 are sequentially stored in chronological order. This ring memory
72, like the above-described ring memory 22, when the data to be stored exceeds the memory capacity, the oldest data previously stored is updated sequentially with new data. Further, it has a security tool interface 73 for outputting data stored in the ring memory 72 to the security tool 80, and an external device interface 74 for inputting and outputting to and from other peripheral devices.

外部機器インタフェース74には、表示部81および外部
記憶装置82が接続される。表示部81は、指示・完了信号
やシーケンスラダー情報を、タイミングチャート形式や
シーケンスラダー図形式等により表示したり、各種測定
結果や内部情報を表示するものである。この表示部81に
表示された情報を確認しつつ工場での作業が進められて
いく。
The display unit 81 and the external storage device 82 are connected to the external device interface 74. The display unit 81 displays an instruction / completion signal and sequence ladder information in a timing chart format, a sequence ladder diagram format, and the like, and displays various measurement results and internal information. The work in the factory is proceeding while checking the information displayed on the display section 81.

外部記憶装置82には、ロボットコントローラ20,30と
計測コントローラ40と画像処理装置50(以下、これらを
各装置という)との間のインタロック条件等のプログラ
ムデータが記憶されている。
The external storage device 82 stores program data such as interlock conditions between the robot controllers 20 and 30, the measurement controller 40, and the image processing device 50 (hereinafter, these are referred to as devices).

このような各装置間を接続し、指示・完了信号,内部
情報等を通信するラインである装置間データライン90
は、PC10の入出力インタフェース12と、メインコントロ
ーラ70の全情報インタフェース71と、ロボットコントロ
ーラ20,30の状態情報インタフェース21,31と、計測コン
トローラ40の計測情報インタフェース41と、画像処理装
置50の画像情報インタフェース51と、操作盤60とを相互
に結ぶものである。一方、PC10のラダー情報インタフェ
ース11と、メインコントローラ70の全情報インターフェ
ース71との間にはラダーデータライン91が設けられ、PC
10からメインコントローラ70へのラダーデータのやりと
りに供されている。
The inter-device data line 90 is a line for connecting such devices and communicating an instruction / completion signal, internal information, and the like.
Are the input / output interface 12 of the PC 10, the entire information interface 71 of the main controller 70, the state information interfaces 21 and 31 of the robot controllers 20 and 30, the measurement information interface 41 of the measurement controller 40, and the image of the image processing device 50. The information interface 51 and the operation panel 60 are mutually connected. On the other hand, a ladder data line 91 is provided between the ladder information interface 11 of the PC 10 and the entire information interface 71 of the main controller 70, and
It is used to exchange ladder data from 10 to the main controller 70.

尚、この種の制御装置を多数用いてシステムを組む場
合には、総合PC15を設けて制御装置間の信号のやりとり
を行なう。この信号は、総合PC15に設けられた入出力情
報インタフェース16と、PC10の入出力情報インタフェー
ス13と、他の制御装置とを結ぶPC間データライン17を介
して通信される。
When a system is constructed by using a large number of control devices of this type, a general PC 15 is provided to exchange signals between the control devices. This signal is communicated via an input / output information interface 16 provided in the general PC 15, an input / output information interface 13 of the PC 10, and an inter-PC data line 17 connecting other control devices.

次に、以上のように構成された制御装置の動作につい
て説明する。
Next, the operation of the control device configured as described above will be described.

本制御装置の起動信号は、総合PC15からPC間データラ
イン17を介してPC10に出力される。この起動信号により
PC10は起動し、予め設定されたプログラムに従って、動
作指示信号を入出力情報インタフェース12から装置間デ
ータライン90に出力する。各装置は、それらに対応する
動作指示信号により動作を開始し、その動作を完了する
と動作完了信号をインタフェース21,31,41,51を介して
装置間データライン90に出力する。PC10は、この動作完
了信号を入出力インタフェース12を介して入力し、次の
動作指示信号を同様に装置間データライン90に出力す
る。
The start signal of the control device is output from the general PC 15 to the PC 10 via the data line 17 between the PCs. With this start signal
The PC 10 is activated and outputs an operation instruction signal from the input / output information interface 12 to the inter-device data line 90 according to a preset program. Each device starts operation in response to an operation instruction signal corresponding thereto, and upon completion of the operation, outputs an operation completion signal to the inter-device data line 90 via the interfaces 21, 31, 41, 51. The PC 10 inputs this operation completion signal via the input / output interface 12, and similarly outputs the next operation instruction signal to the inter-device data line 90.

また、各装置においては、各々の内部情報が、一定の
サンプリング間隔でリングメモリ22,32,42,52に各々時
系列的に記憶されると共に、PC10との間においてやりと
りされる指示・完了信号も記憶される。更に、各インタ
フェース21,31,41,51から、各装置の内部情報が一定時
間毎に順次装置間データライン90に出力される。この内
部情報の出力される周期は、リングメモリ22,32,42,52
に記憶するサンプリング間隔に対して、長く設定してあ
る。従って、装置間データライン90には内部情報の大ま
かなデータが出力される。また、記憶された内部情報
は、必要に応じて保全ツールインタフェース23,33,43,5
3を介して保全ツール80に出力される。この保全ツール8
0を用いて、故障診断や動作タイミングの検出等が行な
われる。
In each device, each internal information is stored in the ring memories 22, 32, 42, 52 in a time series at a fixed sampling interval, and an instruction / completion signal exchanged with the PC 10. Is also stored. Further, the internal information of each device is sequentially output from each of the interfaces 21, 31, 41, 51 to the inter-device data line 90 at regular intervals. The cycle at which this internal information is output depends on the ring memories 22, 32, 42, and 52.
Is set to be longer than the sampling interval stored in. Therefore, rough data of the internal information is output to the inter-device data line 90. In addition, the stored internal information is stored in the maintenance tool interface 23, 33, 43, 5 as necessary.
3 to the maintenance tool 80. This conservation tool 8
Using 0, failure diagnosis, operation timing detection, and the like are performed.

一方、メインコントローラ70は、この装置間データラ
イン90に出力される指示・完了信号および内部情報と、
ラダーデータライン91に出力されるシーケンスラダー情
報とを、即ち全情報を順次全情報インタフェース71を介
して入力し、リングメモリ72に記憶する。
On the other hand, the main controller 70 outputs an instruction / completion signal and internal information output to the inter-device data line 90,
Sequence ladder information output to the ladder data line 91, that is, all information is sequentially input via the all information interface 71, and stored in the ring memory 72.

次に、このリングメモリ72に全情報が記憶されていく
様子を第2図と共に説明する。
Next, the manner in which all information is stored in the ring memory 72 will be described with reference to FIG.

リングメモリ72内には、図示するようなメモリマップ
75が構成されている。メモリマップ75の一行は、情報収
集時刻T1,ロボットコントローラ20の指示・完了信号R1S
1,ロボットコントローラ20の状態情報R1D1,ロボットコ
ントローラ30の指示・完了信号R2S1,ロボットコントロ
ーラ30の状態情報R2D1,計測コントローラ40の指示・完
了信号KS1,計測コントローラ40の計測情報KD1,画像処理
装置50の指示・完了信号GS1,画像処理装置50の画像情報
GD1を一組のデータとして記憶する記憶領域A1を構成し
ている。更に、この一組のデータを一定時間(本実施例
では50ms)毎に記憶するための記憶領域を時系列的に沿
って、n個(本実施例ではn=1200)有している。そし
て、記憶すべきデータがn組を越えると、最も古いデー
タである記憶領域A1のデータから順に新しいデータに更
新してゆくのである。尚、PC10からのシーケンスラダー
情報も、各装置の情報収集時刻において図示しない記憶
領域に記憶されていく。記憶された全情報は、保全ツー
ルインタフェース73を介して保全ツール80に出力され、
故障診断や各装置の動作タイミング等の検出が行なわれ
る。
In the ring memory 72, a memory map as shown
75 are configured. One line of the memory map 75 includes an information collection time T1, an instruction / completion signal R1S of the robot controller 20.
1, status information R1D of the robot controller 20, instruction / completion signal R2S1 of the robot controller 30, status information R2D of the robot controller 30, instruction / completion signal KS of the measurement controller 40, measurement information KD of the measurement controller 40, image processing device 50 Instruction / completion signal GS1, image information of image processing device 50
The storage area A1 stores the GD1 as a set of data. Further, there are n (n = 1200 in this embodiment) storage areas for storing this set of data at regular intervals (50 ms in this embodiment) in chronological order. Then, when the number of data to be stored exceeds n sets, the data in the storage area A1, which is the oldest data, is sequentially updated to new data. Note that the sequence ladder information from the PC 10 is also stored in a storage area (not shown) at the information collection time of each device. All stored information is output to the maintenance tool 80 via the maintenance tool interface 73,
Failure diagnosis and operation timing of each device are detected.

以上のように構成された制御装置は、各装置間に動作
タイミング不良が生じると以下のような処理をする。こ
の動作タイミング不良は、装置間データライン90から取
り込んだ指示・完了信号を、外部記憶装置82から入力し
た装置間のインタロック条件と参照して検出される。例
えば、ロボットコントローラ20に動作指示信号が出力さ
れて動作が開始されたものの、外部記憶装置82によりイ
ンタロック条件として設定された設定時間後に動作完了
信号が出力されない場合には、動作タイミング不良とさ
れる。この場合、動作完了信号に基づいて動作開始する
装置(例えば、ロボットコントローラ30)は、所定タイ
ミングで動作できな状態となってしまう。以下、ロボッ
トコントローラ20に動作タイミング不良が生じたとして
説明を続ける。
The control device configured as described above performs the following processing when an operation timing failure occurs between the devices. This operation timing failure is detected by referring to the instruction / completion signal fetched from the inter-device data line 90 as the interlock condition between the devices input from the external storage device 82. For example, if the operation instruction signal is output to the robot controller 20 and the operation is started, but the operation completion signal is not output after the set time set as the interlock condition by the external storage device 82, the operation timing is determined to be defective. You. In this case, a device (for example, the robot controller 30) that starts operation based on the operation completion signal cannot operate at a predetermined timing. Hereinafter, the description will be continued assuming that the operation timing failure has occurred in the robot controller 20.

動作タイミング不良が検出されると、メインコントロ
ーラ70は、そのリングメモリ72のデータの更新を停止す
ると共に、異常検出信号を装置間データライン90に出力
する。PC10は、この異常検出信号に基づいて、ロボット
コントローラ20にリングメモリ22のデータ更新停止命令
を出力する。従って、メインコントローラ70のリングメ
モリ72には、動作タイミング不良が検出された直前まで
の全情報が時系列的に記憶されており、ロボットコント
ローラ20のリングメモリ22には、同じく不良検出までの
内部情報および授受された指示・完了信号が記憶されて
いる。
When the operation timing failure is detected, the main controller 70 stops updating the data in the ring memory 72 and outputs an abnormality detection signal to the inter-device data line 90. The PC 10 outputs a data update stop command of the ring memory 22 to the robot controller 20 based on the abnormality detection signal. Therefore, the ring memory 72 of the main controller 70 stores all the information up to immediately before the operation timing failure is detected in chronological order, and the ring memory 22 of the robot controller 20 also stores the internal information until the failure detection. Information and the received instruction / completion signal are stored.

このメインコントローラ70のリングメモリ72に記憶さ
れた全情報は、保全ツール80により同一時間軸上で確認
することができる。従って、PC10と各装置間にてやりと
りされる指示・完了信号だけでなく、各装置の内部情報
やPC10のラダー情報も同一時間軸上で確認することがで
きる。
All information stored in the ring memory 72 of the main controller 70 can be confirmed on the same time axis by the maintenance tool 80. Therefore, not only an instruction / completion signal exchanged between the PC 10 and each device, but also internal information of each device and ladder information of the PC 10 can be confirmed on the same time axis.

一方、ロボットコントローラ20のリングメモリ22にお
いても、動作タイミング不良の検出直前の細かな内部情
報が記憶されているため、保全ツールインタフェース23
に保全ツール80を接続すれば、記憶された内部情報か
ら、各種診断を行うことができる。
On the other hand, in the ring memory 22 of the robot controller 20, since detailed internal information immediately before the detection of the operation timing failure is stored, the maintenance tool interface 23
If the maintenance tool 80 is connected to the computer, various diagnoses can be performed from the stored internal information.

尚、動作タイミング不良の検出時には、上記のような
動作のほかに、必要に応じてPC10からロボット等の機器
を停止させる停止信号が、プログラムに従って出力され
る。
When detecting an operation timing failure, in addition to the above-described operation, a stop signal for stopping a device such as a robot is output from the PC 10 as necessary according to a program.

以上説明した本実施例としての制御装置は、装置間デ
ータライン90に指示・完了信号と内部情報とが通信さ
れ、そのデータライン90に接続されたメインコントロー
ラ70のリングメモリ72に記憶されるため、制御装置内に
て発生した動作タイミング不良を検出できると共に、そ
のときの所望の情報を同一時間軸上に表すことにより、
動作タイミング不良の原因を簡単に究明することができ
る。また、各装置においても細かな内部情報がリングメ
モリ23,33,43,53に記憶されているため、保全ツール80
を接続して各装置内の故障についても原因究明が簡単に
できる。
In the control device of the present embodiment described above, the instruction / completion signal and the internal information are communicated to the inter-device data line 90 and stored in the ring memory 72 of the main controller 70 connected to the data line 90. By detecting the operation timing failure occurring in the control device and expressing desired information at that time on the same time axis,
The cause of the operation timing failure can be easily determined. In each device, since detailed internal information is stored in the ring memories 23, 33, 43, and 53, the maintenance tool 80
To easily find the cause of a failure in each device.

更に、制御装置内の設備の初期調整時における条件出
しやセッティング等も、同一時間軸上に表された各種の
情報に基づいて簡単に行なうことができる。
Further, conditions and settings at the time of initial adjustment of the equipment in the control device can be easily performed based on various kinds of information expressed on the same time axis.

加えて、各装置の内部情報を出力する周期を、各リン
グメモリに記憶するサンプリング間隔よりも大きくして
いるため、メインコントローラ70のリングメモリ72のメ
モリ容量は節約できる。尚、リングメモリ23,33,43,53
のメモリ容量は、各装置の動作の1サイクル分の情報が
記憶できるものであればよい。
In addition, since the output period of the internal information of each device is set longer than the sampling interval stored in each ring memory, the memory capacity of the ring memory 72 of the main controller 70 can be saved. In addition, ring memories 23, 33, 43, 53
Is sufficient as long as information for one cycle of the operation of each device can be stored.

以上本発明の実施例について説明したが、本発明はこ
うした実施例に何等限定されるものではなく、例えば、
各装置の内部情報を記憶しない構成や、動作タイミング
不良が検出された所定期間後に各リングメモリの更新を
停止する構成であっても良く、本発明の要旨を逸脱しな
い範囲において、種々なる態様で実施し得ることは勿論
である。
Although the embodiments of the present invention have been described above, the present invention is not limited to such embodiments at all. For example,
A configuration in which the internal information of each device is not stored, or a configuration in which updating of each ring memory is stopped after a predetermined period of time in which an operation timing failure is detected, may be performed in various modes without departing from the gist of the present invention. Of course, it can be implemented.

発明の効果 以上詳述したように、本発明の制御装置によれば、プ
ログラマブルコントローラに接続された複数の装置の各
々の動作情報および各装置の内部情報が時刻情報に対応
されて記憶保持され、記憶保持された動作情報および内
部情報がそれらに対応する時刻情報と共に随時出力され
るので、各装置間の動作タイミングを随時把握できる。
従って、各装置間の動作タイミング不良によりトラブル
が生じても、その原因は簡単に究明できる。また、各装
置間の動作タイミングを調整して、システム全体の最適
な動作条件を求めることもできる。
Effects of the Invention As described in detail above, according to the control device of the present invention, the operation information of each of the plurality of devices connected to the programmable controller and the internal information of each device are stored and held in association with the time information, Since the stored operation information and internal information are output at any time together with the corresponding time information, the operation timing between the devices can be grasped at any time.
Therefore, even if a trouble occurs due to a poor operation timing between the devices, the cause can be easily investigated. Further, by adjusting the operation timing between the devices, it is also possible to obtain the optimum operation conditions of the entire system.

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

第1図は実施例としての制御装置の概略構成図、第2図
はリングメモリ内に構成されたメモリマップを表す説明
図、第3図は従来技術としての制御装置の概略構成図で
ある。 10……プログラマブルコントローラ(PC) 20,30……ロボットコントローラ 40……計測コントローラ 50……画像処理装置 70……メインコントローラ 22,32,42,52,72……リングメモリ 75……メモリマップ 80……保全ツール
FIG. 1 is a schematic configuration diagram of a control device as an embodiment, FIG. 2 is an explanatory diagram showing a memory map configured in a ring memory, and FIG. 3 is a schematic configuration diagram of a control device as a conventional technique. 10 Programmable controller (PC) 20, 30 Robot controller 40 Measurement controller 50 Image processing device 70 Main controller 22, 32, 42, 52, 72 Ring memory 75 Memory map 80 …… Maintenance tools

フロントページの続き (56)参考文献 特開 昭59−221132(JP,A) 特開 昭61−224635(JP,A) 特開 昭57−39495(JP,A) 特開 昭59−226998(JP,A)Continuation of the front page (56) References JP-A-59-221132 (JP, A) JP-A-61-224635 (JP, A) JP-A-57-39495 (JP, A) JP-A-59-226998 (JP) , A)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】プログラマブルコントローラと、該プログ
ラマブルコントローラに接続され、少なくとも動作指示
信号および/または動作完了信号を含む動作情報をやり
とりして動作する複数の装置と、上記プログラマブルコ
ントローラと上記複数の装置とを相互に接続し上記動作
情報が通信される通信ラインとから構成された制御装置
において、 上記通信ラインにより上記複数の装置を相互に接続し、 上記各装置を、各々の内部での処理に使用される内部情
報を上記通信ラインに出力する構成とすると共に、 上記通信ラインに接続され、上記通信ラインから上記動
作情報および内部情報を取得し、これらの情報を時刻情
報に対応させてリングメモリに記憶保持し、該記憶保持
された動作情報および内部情報を対応する時刻情報と共
に随時出力する情報入出力装置と、 異常が検出されたときに上記リングメモリの記憶更新を
停止させる記憶更新停止手段とを備えた ことを特徴とする制御装置。
A programmable controller; a plurality of devices connected to the programmable controller that operate by exchanging operation information including at least an operation instruction signal and / or an operation completion signal; and the programmable controller and the plurality of devices. And a communication line through which the operation information is communicated with each other, wherein the plurality of devices are interconnected by the communication line, and each of the devices is used for internal processing. The internal information is output to the communication line, and the operation information and the internal information are connected to the communication line, the operation information and the internal information are acquired from the communication line, and the information is stored in the ring memory in correspondence with the time information. And stores the stored operation information and internal information together with the corresponding time information as needed. An information input-output device for the control device being characterized in that a storage update stopping means for stopping the storage updating of the ring memory when the abnormality is detected.
JP1161593A 1989-06-23 1989-06-23 Control device Expired - Fee Related JP2738029B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1161593A JP2738029B2 (en) 1989-06-23 1989-06-23 Control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1161593A JP2738029B2 (en) 1989-06-23 1989-06-23 Control device

Publications (2)

Publication Number Publication Date
JPH0326130A JPH0326130A (en) 1991-02-04
JP2738029B2 true JP2738029B2 (en) 1998-04-08

Family

ID=15738090

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1161593A Expired - Fee Related JP2738029B2 (en) 1989-06-23 1989-06-23 Control device

Country Status (1)

Country Link
JP (1) JP2738029B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008015681A (en) * 2006-07-04 2008-01-24 Nohmi Bosai Ltd Differential fire sensor

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2588120B2 (en) * 1993-09-14 1997-03-05 株式会社ユーシン精機 Failure diagnosis method for resin molded product removal device
JPH08221119A (en) * 1995-02-14 1996-08-30 Nec Corp Control system for plural servocontrol parts
JPH1055214A (en) * 1996-08-09 1998-02-24 Daihen Corp Control method for industrial robot
EP2007075B1 (en) * 2006-03-08 2012-04-25 Yamatake Corporation Device and method for communication relaying
JP5426229B2 (en) * 2009-05-01 2014-02-26 山洋電気株式会社 Motor equipment
JP6380432B2 (en) * 2016-03-14 2018-08-29 オムロン株式会社 Motor control system, motor control device, program, and recording medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5739495A (en) * 1980-08-18 1982-03-04 Fujitsu Ltd Environmental condition detecting system
JPS59221132A (en) * 1983-05-31 1984-12-12 Toshiba Corp Decentralized control system
JPH0697762B2 (en) * 1983-06-09 1994-11-30 株式会社東芝 Data transmission equipment
JPS61224635A (en) * 1985-03-29 1986-10-06 Toshiba Corp Lan analyzer

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008015681A (en) * 2006-07-04 2008-01-24 Nohmi Bosai Ltd Differential fire sensor

Also Published As

Publication number Publication date
JPH0326130A (en) 1991-02-04

Similar Documents

Publication Publication Date Title
US10591886B2 (en) Control system, control program, and control method for device switching responsive to abnormality detection
US4638227A (en) Method and apparatus for recovering normality in moving sequence of machinery
JPH04266102A (en) Programmable controller processor having intelligent-function-module interface
US20200333759A1 (en) Facility diagnosis method using facility diagnosis system
US5274546A (en) Diagnosis system of numerical control apparatus
JP2738029B2 (en) Control device
US10678231B2 (en) Production controller equipped with function of identifying cause upon operation stop of production facility including manufacturing facilities
JPH0652181B2 (en) Abnormality diagnosis device
JPH09330106A (en) Control system with backup function
JPH10315170A (en) Robot controller
JP3129321B2 (en) Operation monitoring device
JPH0192081A (en) Operation-history information storage-transfer system of robot controller
JPH01122885A (en) Inspection device for elevator
US4725976A (en) Programmable controller
JP2574726B2 (en) Equipment machine abnormality detection device
JP2554282B2 (en) Fault diagnosis device for sequence controller
JPH0632047B2 (en) Data collection device
JPH03159515A (en) Digital control/protective relay analysis maintenance supporting unit
JPH07108385A (en) Communication network system for resistance welding machine
JPH0430799B2 (en)
EP0401376B1 (en) System for diagnosing cnc
CN110832411A (en) Computer updating test auxiliary device
JP3213958B2 (en) Cycle time measuring device
JPS6146844B2 (en)
JPS6232510A (en) Abnormality diagnostic device for sequencer

Legal Events

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

Free format text: PAYMENT UNTIL: 20080116

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090116

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees