JP3170958B2 - Information collection method - Google Patents

Information collection method

Info

Publication number
JP3170958B2
JP3170958B2 JP16259693A JP16259693A JP3170958B2 JP 3170958 B2 JP3170958 B2 JP 3170958B2 JP 16259693 A JP16259693 A JP 16259693A JP 16259693 A JP16259693 A JP 16259693A JP 3170958 B2 JP3170958 B2 JP 3170958B2
Authority
JP
Japan
Prior art keywords
information
priority
plc
information processing
collected
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
JP16259693A
Other languages
Japanese (ja)
Other versions
JPH0764891A (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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor Co Ltd
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 Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP16259693A priority Critical patent/JP3170958B2/en
Publication of JPH0764891A publication Critical patent/JPH0764891A/en
Application granted granted Critical
Publication of JP3170958B2 publication Critical patent/JP3170958B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Multi-Process Working Machines And Systems (AREA)
  • General Factory Administration (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、上位の制御装置が下位
に位置する複数の制御装置からの情報を収集する際の情
報収集方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for collecting information from a plurality of control devices located in a lower order by a higher order control device.

【0002】[0002]

【従来の技術】複数の生産設備からなる生産ラインなど
においては、上位に位置する情報処理装置と、下位に位
置する設備機器などのデバイスを制御する制御装置であ
る情報処理装置とが、ツリー状に順次複数接続された形
態を有するシステムが用いられる。
2. Description of the Related Art In a production line composed of a plurality of production facilities, an information processing apparatus located at a higher level and an information processing apparatus serving as a control apparatus for controlling devices such as equipment at a lower level are arranged in a tree. A system having a form in which a plurality is sequentially connected is used.

【0003】例えば、図10に示すように、生産実績や
設備全体の管理また製品の品質管理などを行う最上位の
コンピュータ10と、この下に複数あるラインの制御を
行うPLC(プログラマブルロジックコントローラ)#
1および#2が接続され、さらに、PLC#1にライン
上の各設備デバイスを制御するPLCaおよびbが接続
され、PLC#2に、同様にPLCc、dおよびeが接
続された形態をとっている。
For example, as shown in FIG. 10, a top-level computer 10 for managing the production results, the entire equipment, and quality control of products, and a PLC (programmable logic controller) for controlling a plurality of lines below the computer 10. #
1 and # 2, and PLCs # 1 and # 2 that control each facility device on the line are connected to PLC # 1, and PLCs #c, d and e are similarly connected to PLC # 2. I have.

【0004】このような形態の生産ラインにおいて、上
位の情報処理装置が下位の情報処理装置の情報を収集す
る従来の情報収集方法は、最も下位に位置するPLC
a、bおよびc、d、eがその制御している各デバイス
(デバイスa〜e)の投入、加工実績や異常情報、動作
状態などの情報を記録収集し、その上に位置するPLC
#1または#2がこれらの情報を収集して、その収集し
た情報をさらに最上位に位置するコンピュータ10が収
集する。
In such a production line, a conventional information collection method in which a higher-level information processing apparatus collects information of a lower-level information processing apparatus is based on a PLC located at the lowest level.
a, b and c, d, e record and collect information such as the input of each device (devices a to e) controlled, processing results, abnormal information, and operating state, and the PLC located thereon
The information is collected by # 1 or # 2, and the collected information is further collected by the computer 10 located at the highest level.

【0005】この時、最上位のコンピュータ10は、各
PLC#1および#2を均等にスキャンして、一定のル
ールにしたがって情報を収集していく。そして、各PL
C#1および#2では、図11に示すような通信エリア
割り付け表に示すように割り付けられた各デバイスの情
報を通信エリア割り付け表の項目の順番に(図示する場
合には、上から順に)、上位コンピュータ10に送信す
る。
At this time, the uppermost computer 10 scans each of the PLCs # 1 and # 2 evenly and collects information according to a certain rule. And each PL
In C # 1 and # 2, the information of each device allocated as shown in the communication area allocation table as shown in FIG. 11 is arranged in the order of the items in the communication area allocation table (in the illustrated case, from the top). , To the host computer 10.

【0006】なお、ここで一定のルールとは、例えば下
位デバイス(PLC)の通信ルールや情報を収集する下
位デバイス(PLC)の順番(スキャン順番)を規定す
るものなどで、下位デバイス固有の通信仕様にあわせた
り、また、順番を規定するためのコンピュータ側での通
信プログラムの作成およびそれによる固定化した処理が
実行されることである。
Here, the certain rule is, for example, a rule defining a communication rule of the lower device (PLC) or an order (scan order) of the lower device (PLC) for collecting information. That is, a computer creates a communication program for conforming to specifications and defining the order, and executes a fixed process based on the communication program.

【0007】すなわち、コンピュータ10が、PLC#
1に対して情報要求を出すと、PLC#1では、通信エ
リア割り付け表の項目に従い、PLCaおよびbの投入
実績を送信し、次に、コンピュータ10はPLC#2に
情報要求を出して、PLC#2では、同様に、PLC
c、dおよびeの投入実績を送信する。次に、コンピュ
ータ10の情報要求により、PLC#1が、PLCaお
よびbの通信エリア割り付け表の次の項目である加工1
実績を送信し、…、と順次下位のPLC#1および#2
から均等に情報が収集される。
[0007] That is, the computer 10 uses the PLC #
When the PLC 10 sends an information request to the PLC # 1, the PLC 10 sends an input result of PLCa and b in accordance with the items in the communication area allocation table, and then issues an information request to the PLC # 2, In # 2, PLC
The input results of c, d and e are transmitted. Next, in response to an information request from the computer 10, the PLC # 1 performs processing 1, which is the next item in the communication area assignment table for PLCa and PLCb.
The results are transmitted, and...
Information is collected evenly from

【0008】[0008]

【発明が解決しようとする課題】しかしながら、このよ
うな従来の情報収集方法にあっては、上述したように、
下位に位置する情報処理装置であるPLC#1および#
2が有する情報を均等にスキャンして収集する。このた
め、例えばPLC#1の有するPLCaの電流値データ
(R6379) の収集より前に、PLC#2が有するPLCd
の異常情報を早く収集し、上位の早急な異常対策などの
処理を行いたいような場合、すなわち、コンピュータ1
0の情報収集のスキャンがPLC#1をスキャンしてい
るときにPLC#2が有する情報を得る必要がある場合
であっても、その情報を優先して収集することができな
いといった問題点があった。
However, in such a conventional information collecting method, as described above,
PLCs # 1 and #, which are lower-level information processing devices
2 is evenly scanned and collected. For this reason, for example, the current value data of PLCa of PLC # 1
Before the collection of (R6379), the PLCd of PLC # 2 has
If it is desired to collect the abnormal information of the computer as soon as possible and to perform a process such as a quick abnormal countermeasure at a higher level, ie, the computer 1
However, even if it is necessary to obtain information possessed by the PLC # 2 while scanning the PLC # 1 in the information collection scan of the PLC 0, there is a problem that the information cannot be preferentially collected. Was.

【0009】なお、上記した例では、説明を簡略化する
ために、収集のためにスキャンする下位に位置する情報
処理装置がPLC#1および#2の2台であるが、上記
問題点は、特に収集のためにスキャンする下位に位置す
る情報処理装置が多くなると顕著に現れてくる。例え
ば、上記の例で、PLC#1、#2に続いて、PLC#
5、#10などと、5台、10台と多くのPLCが接続
されている場合においては、PLC#1を情報収集のス
キャンをしているとき、PLC#10の有する情報を得
る必要がある場合などに、その情報が得られるように#
10がスキャンされるまでに#2から#9までのスキャ
ンが終了した後に#10がスキャンされることになるの
で、必要な情報が得られるまでに多くの時間を必要とす
ることになる。
In the above example, for the sake of simplicity of description, the two information processing apparatuses located at lower levels, which are scanned for collection, are the PLCs # 1 and # 2. In particular, when the number of lower-level information processing apparatuses to be scanned for collection increases, the number of information processing apparatuses becomes prominent. For example, in the above example, PLC # 1, # 2 followed by PLC #
In the case where many PLCs are connected, such as 5, # 10, and 5 or 10, the information of the PLC # 10 must be obtained when scanning the PLC # 1 for information collection. In order to obtain that information in some cases, such as #
Since # 10 is scanned after the scanning of # 2 to # 9 is completed before 10 is scanned, it takes a lot of time to obtain necessary information.

【0010】そこで、本発明は、上位の情報処理装置に
おいて、下位に位置する情報処理装置が有する情報のう
ち、優先的に収集する必要のある情報を、他の情報に優
先して自由に収集することが可能となる情報収集方法を
提供することを目的とする。
[0010] Therefore, the present invention provides an information processing apparatus in which a higher-level information processing apparatus freely collects information that needs to be collected preferentially among information held in a lower-level information processing apparatus in preference to other information. The purpose of the present invention is to provide an information collection method that enables the information collection.

【0011】[0011]

【課題を解決するための手段】上記目的を解決するため
の本発明は、複数の情報処理装置がネットワークにより
接続され、該複数の情報処理装置の内、少なくとも一つ
の上位に位置する情報処理装置が、下位に位置する複数
の情報処理装置の有する情報を、該下位に位置する複数
の情報処理装置を予め決められた順に順次スキャンし
て、収集する方法において、前記上位に位置する情報処
置装置内に前記下位に位置する複数の情報処理装置が有
する情報の内、収集する情報の優先度を決めた優先テー
ブルを有し、前記優先テーブルの優先度を前記下位に位
置する複数の情報処理装置に伝え、該伝えられた優先度
従って、前記下位に位置する複数の情報処理装置のう
ち、後からスキャンされる下位の情報処理装置に優先度
の高い情報がある場合に、該優先度の高い情報を、該後
からスキャンされる下位の情報処理装置から先にスキャ
ンされる下位の情報処理装置へ、前記ネットワークとは
別の通信回線により転送することによって前記優先度に
対応した情報収集を行うことを特徴とする情報収集方法
である。
Means for Solving the Problems The present invention for solving the above object, a plurality of information processing apparatuses are connected by a network, among the plurality of information processing apparatuses, information processing which is located at least one upper The apparatus is configured to transfer information held by a plurality of information processing apparatuses positioned at lower levels to a plurality of information processing apparatuses positioned at lower levels.
Scans the information processing devices sequentially in a predetermined order.
Te, a method of collecting, among the information in which a plurality of information processing apparatus has to be located in the lower in the information treatment device positioned in the upper, has a priority table which determines the priority of information to be collected, the priority convey the priority of the table to a plurality of information processing devices located on the lower, thus該伝E was priority <br/>, a plurality of information processing devices located on the lower
Priority is given to lower-level information processing devices that are scanned later.
If there is information with high priority, the information with high priority is
Lower-level information processing devices scanned from
What is the network?
An information collection method is characterized in that information is collected in accordance with the priority by transferring the information through another communication line .

【0012】[0012]

【作用】上述のように構成された本発明の情報収集方法
は、上位に位置する情報処理装置内に、収集する情報の
優先度を決めた優先テーブルを持ち、この優先テーブル
による優先度を下位に位置する複数の情報処理装置に通
知し、これにより下位の情報処理装置において、収集さ
れる情報の優先処理を行い、情報の通信を行うネットワ
ークとは別に有する通信回線により下位に位置する複数
の情報処理装置間で、優先度にもとづいて収集される情
報を転送し合うことによって、優先テーブルに記録され
ている優先度に応じた情報の収集ができる。したがっ
て、優先テーブルに、収集したい情報の優先度を任意に
記録することにより、他の情報に優先して必要な情報を
収集するものである。
The information collecting method of the present invention having the above-described configuration has a priority table in which the priority of the information to be collected is determined in the information processing apparatus positioned at a higher rank, and the priority according to the priority table is set to a lower rank. To a plurality of information processing apparatuses located in the lower order, thereby performing priority processing of collected information in a lower order information processing apparatus, and providing a plurality of lower order By transferring information collected based on priority between information processing apparatuses, information corresponding to the priority recorded in the priority table can be collected. Therefore, by arbitrarily recording the priority of information to be collected in the priority table, necessary information is collected in preference to other information.

【0013】[0013]

【実施例】以下、本発明を添付した図面を参照して説明
する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the accompanying drawings.

【0014】図1は、本発明の情報収集方法を適応した
生産ラインの一例を示すブロック図である。
FIG. 1 is a block diagram showing an example of a production line to which the information collection method of the present invention is applied.

【0015】この生産ラインの基本構成は前述した従来
例と同様であり、最上位に位置する情報処理装置である
コンピュータ10と、この下に位置する情報処理装置で
ある複数のラインの制御を行うPLC#1および#2が
接続され、さらに、PLC#1にライン上の各設備デバ
イスを制御するPLCaおよびbが接続され、PLC#
2に、同様にPLCc、dおよびeが接続されている。
そして、本発明を実施するために、PLC#1と#2の
間を、通常のネットワーク11とは別の通信回線3によ
り接続している。なお、コンピュータ10にはモニター
20が付属している。
The basic configuration of this production line is the same as that of the above-described conventional example, and controls the computer 10 as the information processing device located at the highest level and a plurality of lines as the information processing devices located therebelow. PLCs # 1 and # 2 are connected, and PLCs # 1 and # 2 are connected to PLCs # 1 and # 2, respectively.
2, PLCs c, d and e are similarly connected.
In order to carry out the present invention, the PLCs # 1 and # 2 are connected by a communication line 3 different from the ordinary network 11. Note that the computer 10 is provided with a monitor 20.

【0016】上記生産ラインにおいて、本発明の情報収
集方法を実施するには、まず、コンピュータ10内に、
収集したい情報の優先度を任意に指定した優先テーブル
1を作成する。
To implement the information collection method of the present invention in the above production line, first, the computer 10
A priority table 1 in which the priority of information to be collected is arbitrarily specified is created.

【0017】作成した優先テーブル1にもとづいて、コ
ンピュータ10で、収集する情報の優先度により、下位
のPLC#1および#2に対するスキャン順と収集する
情報を優先度順に対応させたスキャンテーブルを作成
し、このスキャンテーブルから、スキャンしたときに情
報を収集しようとするPLCと収集する情報を有するP
LCが異なる場合が発生した情報が、PLC#1と#2
間で転送する情報であるとして各PLC#1および#2
に通知する。
On the basis of the created priority table 1, the computer 10 creates a scan table that associates the scan order for the lower PLCs # 1 and # 2 with the information to be collected according to the priority of the information to be collected. From the scan table, a PLC that attempts to collect information when scanning and a P that has information to collect
The information in which the cases where the LCs are different occurs between PLC # 1 and PLC # 2.
PLC # 1 and # 2 as information to be transferred between
Notify.

【0018】通知をうけた各PLC#1および#2で
は、後述する優先処理を行うことにより、コンピュータ
10が情報収集をする際に、該優先度にしたがった情報
収集が行われる。
Each of the PLCs # 1 and # 2 that have received the notification performs priority processing described later, so that when the computer 10 collects information, information is collected according to the priority.

【0019】以下、さらに詳細について説明する。Hereinafter, further details will be described.

【0020】まず、コンピュータ10に作成する優先テ
ーブル1は、例えば図2に示すようなテーブルで、収集
する情報名とその情報が必要なデバイスおよび各情報の
優先順位を記載したものである。本実施例においては、
この優先テーブル1に対するコンピュータ10のアクセ
スをランダムアクセス可能なものとし、情報名に対して
任意に優先順位を設定することにより、設定された優先
順位にもとづいて収集する情報の優先度が決定されるも
のである。
First, the priority table 1 created in the computer 10 is, for example, a table as shown in FIG. 2, in which the names of information to be collected, devices which need the information, and the priority of each information are described. In this embodiment,
The computer 10 can randomly access the priority table 1 and arbitrarily set the priority of the information name, thereby determining the priority of the information to be collected based on the set priority. Things.

【0021】次に、コンピュータ10において、上記優
先テーブルにもとづき、図3に示すように、実際にスキ
ャンして情報を収集する際の各PLC#1および#2の
情報の優先度を決定するスキャンテーブルを作成する。
Next, in the computer 10, based on the priority table, as shown in FIG. 3, a scan for determining the priority of information of each of the PLCs # 1 and # 2 when actually scanning and collecting information. Create a table.

【0022】このスキャンテーブルの作成は、コンピュ
ータ10が情報を収集する際には、本実施例においては
下位に位置する情報処理装置としてのPLCが#1およ
び#2の2つであるので、スキャンは#1、#2、次い
で#1、#2、…と行われて行く。そしてこのスキャン
に対して優先テーブルによって決められた順に収集する
情報を当てはめることにより行われる。すなわち、優先
テーブルによる優先順位1番の情報項目は、投入実績
で、対象デバイスはa、b、c、d、eであるので、P
LC#1が持つデバイスaを管理しているPLCaから
の情報およびデバイスbを管理しているPLCbからの
情報と、PLC#2が持つデバイスcを管理しているP
LCcからの情報、デバイスdを管理しているPLCd
からの情報およびデバイスeを管理しているPLCeか
らの情報を収集する。そこで、図3に示すように、まず
1回目のスキャンとなるPLC#1、#2のスキャンで
は、共に投入実績の情報が収集されるように当てはめ
る。2回目のスキャンでは、同様に、加工1実績が収集
されるように当てはめる。
When the computer 10 collects the information, the scan table is created by using the # 1 and # 2 PLCs as the lower-level information processing devices in this embodiment. Are performed in the order of # 1, # 2, and then # 1, # 2,... The scan is performed by applying information to be collected in the order determined by the priority table. That is, the information item of the first priority in the priority table is the input result, and the target devices are a, b, c, d, and e.
The information from the PLCa that manages the device a of the LC # 1 and the information from the PLCb that manages the device b, and the P that manages the device c of the PLC # 2.
Information from LCc, PLCd managing device d
From the PLCe managing the device e. Therefore, as shown in FIG. 3, first, in the scans of the PLCs # 1 and # 2, which are the first scans, both of them are applied so that the information of the insertion results is collected. In the second scan, the process 1 is similarly applied so as to collect the actual processing results.

【0023】順次このようにしてスキャンするPLC#
1および#2に対して収集する情報を当てはめて行く。
そして、優先テーブルの優先順位6のときには、収集す
る情報は異常情報で、対象デバイスはdである。デバイ
スdの情報はPLCdからの情報であるので、通常の場
合には、それを持っているPLC#2から収集すること
になる。そこで、6回目のスキャンではPLC#1のス
キャンは空欄となり、PLC#2のスキャンで異常情報
を当てはめる。また、次の7回目のスキャンでは、収集
する情報は電流値で、対象デバイスはc、d、eである
ので、PLC#2からの収集となり、上記同様にスキャ
ン#1は空欄となり、スキャン#2に電流値を当てはめ
る。以上のようにしてスキャンテーブルが完成する。
PLC # scanning sequentially in this manner
The information to be collected is applied to # 1 and # 2.
When the priority is 6 in the priority table, the information to be collected is the abnormality information, and the target device is d. Since the information of the device d is information from the PLCd, in a normal case, it is collected from the PLC # 2 having the information. Therefore, in the sixth scan, the scan of PLC # 1 is blank, and the abnormality information is applied in the scan of PLC # 2. In the next seventh scan, the information to be collected is the current value, and the target devices are c, d, and e. Therefore, the information is collected from the PLC # 2, and the scan # 1 is blank as in the above, and the scan # Apply the current value to 2. The scan table is completed as described above.

【0024】完成したスキャンテーブルには、上記した
ように空欄が発生している(6回目と7回目の#1のス
キャン)ので、この空欄部分を詰める。この空欄部分を
詰めるには、図4に示すようにスキャンPLCの方はそ
のまま固定で、収集情報の方の空欄を詰めて書き直す。
そして、この空欄を詰めたスキャンテーブルを記憶す
る。
Since blanks are generated in the completed scan table as described above (the sixth and seventh scans of # 1), the blanks are filled. In order to fill this blank portion, as shown in FIG. 4, the scan PLC is fixed as it is, and the blank of the collected information is filled and rewritten.
Then, the scan table filled with the blanks is stored.

【0025】次に、各PLC#1および#2へ優先度の
通知を行う。これには、まず上記空欄を詰めたスキャン
テーブルから、優先度により情報収集の際のスキャンP
LCと情報収集項目の対象デバイスが異なる部分を検索
する。すなわち、図4に示した空欄を詰めたスキャンテ
ーブルの内6回目のスキャンPLC#1のときにPLC
#2の有する異常情報を収集することになっているの
で、この部分がスキャンPLCと収集しようとする情報
の対象デバイスが異なっていることが分かる。
Next, the priority is notified to each of the PLCs # 1 and # 2. To do this, first, from the scan table in which the blanks are filled, the scan P at the time of collecting information is determined by priority.
Search for a part where the target device of the LC and the information collection item are different. That is, when the sixth scan PLC # 1 of the scan table in which blank spaces are filled in as shown in FIG.
Since the abnormal information of # 2 is to be collected, it can be seen that this part is different from the scan PLC and the target device of the information to be collected.

【0026】このようにして検索した対象デバイスdの
異常情報を転送情報として、その一つ前の収集情報であ
る中間リーク実績を転送トリガーとして、さらに転送先
であるPLC#1とを、図5に示すような通知データと
して作成を行って、PLC#2へ通知する。
The abnormality information of the target device d searched as described above is used as transfer information, the intermediate leak result, which is the immediately preceding collected information, is used as a transfer trigger, and the transfer destination PLC # 1 is used as the transfer information in FIG. Is created as notification data as shown in FIG.

【0027】前記通知データを受けとったPLC#2で
は、収集される情報の優先処理として、通知データにあ
る転送情報を転送先へ転送する。これには、コンピュー
タ10が情報の収集を開始し、転送トリガーとなる中間
リーク実績の情報収集がなされた時点で、転送情報であ
るデバイスdの異常情報をPLC#1へ転送する。転送
には、コンピュータ10とのネットワーク11とは別に
設けられた通信回線3を用いて転送される。なお、上記
の場合には、収集される情報とスキャンPLCが異なる
のはPLC#2が有する異常情報であるが、逆の場合に
付いても同様であり、その場合にはPLC#1への通知
となる。
The PLC # 2 that has received the notification data transfers the transfer information included in the notification data to the transfer destination as priority processing of the collected information. To this end, the computer 10 starts collecting information and transfers the abnormal information of the device d, which is the transfer information, to the PLC # 1 at the time when the information on the intermediate leak results as the transfer trigger is collected. The transfer is performed using the communication line 3 provided separately from the network 11 with the computer 10. In the above case, the collected information and the scan PLC are different from each other in the abnormality information of the PLC # 2. However, the same applies to the opposite case. Notification.

【0028】転送されたデバイスdの異常情報を受けと
ったPLC#1では、優先処理として、次に送信予定の
通信エリア内の情報を退避バッファに退避させ、受けと
ったデバイスdの異常情報を通信エリア内に書き込み、
この情報がスキャンされてコンピュータ10により収集
された後、退避バッファに退避させた情報を元に戻す。
なお、この場合は、通信エリア割り付け表の順に送信を
行う場合であり、前記優先テーブルにもとづいた順に通
信エリア割り付けがなされている場合であるが、通信エ
リア割り付け表の順とは無関係にコンピュータ10の要
求する情報を、要求されるごとに通信エリア内にある情
報から送信している場合には、受けとったデバイスdの
異常情報を通信エリアにある予備領域に書き込むことに
よっても可能である。
In the PLC # 1 that has received the transferred abnormality information of the device d, as priority processing, the information in the communication area to be transmitted next is saved in a save buffer, and the received abnormality information of the device d is saved in the communication area. Write in,
After this information is scanned and collected by the computer 10, the information saved in the save buffer is restored.
In this case, the transmission is performed in the order of the communication area allocation table, and the communication area is allocated in the order based on the priority table. Is transmitted from the information in the communication area every time the information is requested, it is also possible to write the received abnormality information of the device d in the spare area in the communication area.

【0029】以上のようにして、任意に設定した優先テ
ーブルの優先順位にしたがった情報の収集が行われる。
As described above, information is collected according to the priority order of the arbitrarily set priority table.

【0030】次に、上述した情報収集方法の手順をフロ
ーチャートを参照して説明する。まず、全体の流れは、
図6に示すように、任意の優先度による情報の収集順位
を定めた優先テーブルを作成し(S1)、この優先テー
ブルにもとづきコンピュータ10内においてスキャンテ
ーブルを作成して(S2)、優先度を各PLC#1およ
び#2に通知する(S3)。そして、各PLC#1およ
び#2において優先処理がなされ(S4)、コンピュー
タ10が各PLC#1および#2をスキャンして情報の
収集が開始(S5)される。
Next, the procedure of the above information collecting method will be described with reference to a flowchart. First, the whole flow is
As shown in FIG. 6, a priority table is created in which the priority of collecting information according to an arbitrary priority is determined (S1), and a scan table is created in the computer 10 based on the priority table (S2). Each of the PLCs # 1 and # 2 is notified (S3). Then, priority processing is performed in each of the PLCs # 1 and # 2 (S4), and the computer 10 scans each of the PLCs # 1 and # 2 to start collecting information (S5).

【0031】次に各部のサブルーチンについて説明す
る。コンピュータ10における作業は、図7に示すよう
に、優先テーブルを参照して優先順位に順次スキャンテ
ーブルの作成を行い(S10)、スキャンテーブルの空
欄を詰めて、記憶し(S11)、通知データを作成し
(S12)、PLC#2へ通知データを通知し(S1
3)、情報収集が実行される(S14)。
Next, the subroutine of each section will be described. As shown in FIG. 7, the operation of the computer 10 creates a scan table in order of priority with reference to the priority table (S10), fills and stores blank spaces in the scan table (S11), and stores the notification data. It is created (S12), and the notification data is notified to the PLC # 2 (S1).
3) Information is collected (S14).

【0032】PLC#2における優先処理作業は、図8
に示すように、コンピュータ10による情報収集のスキ
ャンが開始されて、通知された通知データの転送トリガ
ーである情報の収集が行われたことが検知されると(S
20)、PLC#1へ転送する異常情報の転送データの
作成が行われ(S21)、転送先であるPLC#1へ通
信回線3を用いて転送する(S22)。
FIG. 8 shows the priority processing operation in the PLC # 2.
As shown in (1), when the computer 10 starts to scan for information collection and detects that the collection of information as a transfer trigger of the notified notification data has been performed (S
20), the transfer data of the abnormality information to be transferred to the PLC # 1 is created (S21), and the data is transferred to the transfer destination PLC # 1 using the communication line 3 (S22).

【0033】PLC#1における優先処理作業は、図9
に示すように、PLC#2からの転送データを受けとる
と(S30)、通信エリアの該当情報を退避バッファへ
退避し(S31)、PLC#2からの転送データからデ
バイスdの異常情報を取り出し、通信エリアに書き込む
(S32)。コンピュータ10がこの情報を収集したこ
とが検知されると(S33)、退避バッファに退避させ
ていた情報を通信エリアに復帰させる(S34)。な
お、ここでは、通信エリアに割り付けられている情報は
優先テーブルに記載された情報項目順となり、割り付け
られた通信エリアの順に情報を送信している場合である
が、通信エリアに記載された順とは無関係に通信エリア
内の情報がランダムに取り出される場合には、ステップ
S31およびステップS33〜S34は特に必要ではな
く、転送されてきた情報を通信エリアの予備領域に書き
込む(S32)により行われる。
The priority processing in the PLC # 1 is shown in FIG.
As shown in (2), when the transfer data from the PLC # 2 is received (S30), the corresponding information of the communication area is saved in the save buffer (S31), and the abnormality information of the device d is extracted from the transfer data from the PLC # 2. Write to the communication area (S32). When it is detected that the computer 10 has collected this information (S33), the information saved in the save buffer is returned to the communication area (S34). Here, the information allocated to the communication area is in the order of the information items described in the priority table, and the information is transmitted in the order of the allocated communication area. If the information in the communication area is taken out at random regardless of the conditions, steps S31 and steps S33 to S34 are not particularly necessary, and the transfer is performed by writing the transferred information to the spare area of the communication area (S32). .

【0034】なお、以上説明した本実施例においては、
下位に位置する情報処理装置としては、PLC#1およ
び#2の2台であるが、本発明の情報収集方法は、2台
以上の場合においても上述したのと同様にして適応する
ことができる。
In the embodiment described above,
There are two information processing devices located at the lower level, that is, PLCs # 1 and # 2, but the information collection method of the present invention can be applied to the case of two or more devices in the same manner as described above. .

【0035】[0035]

【発明の効果】以上説明したように、本発明の情報収集
方法によれば、優先テーブルに任意に規定した収集する
情報の優先度により、必要な優先度を下位に位置する情
報処理装置に通知し、下位の情報処理装置間で、収集さ
れる情報を優先度にもとづいて転送することとしたた
め、下位の情報処理装置における情報の割り付けに関係
なく、また、スキャン順序を変更することなく、均一な
スキャンによる情報収集においても、自由に全情報の優
先順位を正確にコントロールすることができる。
As described above, according to the information collecting method of the present invention, a necessary priority is notified to a lower-level information processing apparatus based on the priority of information to be collected arbitrarily defined in the priority table. However, since the information to be collected is transferred between the lower information processing apparatuses based on the priority, the information can be uniformly transferred regardless of the information allocation in the lower information processing apparatuses and without changing the scan order. Even in information collection by simple scanning, it is possible to freely control the priorities of all information accurately.

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

【図1】 本発明の情報収集方法を適応した生産システ
ムのブロック図である。
FIG. 1 is a block diagram of a production system to which an information collection method of the present invention is applied.

【図2】 優先テーブルの一例を示す図面である。FIG. 2 is a diagram illustrating an example of a priority table.

【図3】 スキャンテーブルの一例を示す図面である。FIG. 3 is a diagram illustrating an example of a scan table.

【図4】 空欄を詰めたスキャンテーブルを示す図面で
ある。
FIG. 4 is a drawing showing a scan table in which blank spaces are filled.

【図5】 通知データの一例を示す図面である。FIG. 5 is a diagram illustrating an example of notification data.

【図6】 情報収集方法の全体の流れを示すフローチャ
ートである。
FIG. 6 is a flowchart showing an overall flow of an information collecting method.

【図7】 コンピュータ10の作業ルーチンの流れを示
すフローチャートである。
FIG. 7 is a flowchart showing a flow of a work routine of the computer 10.

【図8】 PLC#2の優先処理ルーチンの流れを示す
フローチャートである。
FIG. 8 is a flowchart showing the flow of a priority processing routine of PLC # 2.

【図9】 PLC#1の優先処理ルーチンの流れを示す
フローチャートである。
FIG. 9 is a flowchart showing a flow of a priority processing routine of PLC # 1.

【図10】 従来の情報収集方法を適応した生産システ
ムのブロック図である。
FIG. 10 is a block diagram of a production system to which a conventional information collection method is applied.

【図11】 従来の情報収集方法を適応した生産システ
ムの通信エリアの異例を示す図面である。
FIG. 11 is a diagram showing an exceptional communication area of a production system to which a conventional information collection method is applied.

【符号の説明】[Explanation of symbols]

1…優先テーブル、 3…通信回
線、10…コンピュータ、 11…
ネットワーク。
1: Priority table, 3: Communication line, 10: Computer, 11:
network.

フロントページの続き (56)参考文献 特開 昭54−41636(JP,A) 特開 昭54−48455(JP,A) 特開 昭57−141742(JP,A) 特開 平3−5891(JP,A) 特開 平5−73459(JP,A) 特開 昭57−6957(JP,A) 特開 昭57−157341(JP,A) 特開 平4−26248(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 13/00 G06F 17/40 Continuation of the front page (56) References JP-A-54-41636 (JP, A) JP-A-54-48455 (JP, A) JP-A-57-141742 (JP, A) JP-A-3-5891 (JP) JP-A-5-73459 (JP, A) JP-A-57-6957 (JP, A) JP-A-57-157341 (JP, A) JP-A-4-26248 (JP, A) (58) Field surveyed (Int. Cl. 7 , DB name) G06F 13/00 G06F 17/40

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数の情報処理装置がネットワークによ
り接続され、該複数の情報処理装置の内、少なくとも一
つの上位に位置する情報処理装置が、下位に位置する複
数の情報処理装置の有する情報を、予め決められた順番
で順次に該下位に位置する複数の情報処理装置をスキャ
ンして、収集する方法において、 前記上位に位置する情報処置装置内に前記下位に位置す
る複数の情報処理装置が有する情報の内、収集する情報
の優先度を決めた優先テーブルを有し、 前記優先テーブルの優先度を前記下位に位置する複数の
情報処理装置に伝え、 該伝えられた優先度に従って、前記下位に位置する複数
の情報処理装置のうち、後からスキャンされる下位の情
報処理装置に優先度の高い情報がある場合に、該優先度
の高い情報を、該後からスキャンされる下位の情報処理
装置から先にスキャンされる下位の情報処理装置へ、前
記ネットワークとは別の通信回線により転送することに
よって前記優先度に対応した情報収集を行うことを特徴
とする情報収集方法。
1. A plurality of information processing apparatuses are connected by a network, among the plurality of information processing apparatus, an information processing apparatus which is located in at least one higher-order information included in the plurality of information processing devices located in the lower In a predetermined order
Scans a plurality of information processing devices located in
In the method of collecting, among the information possessed by the plurality of information processing devices located in the lower order in the information processing device located in the upper order, there is provided a priority table which determines the priority of the information to be collected, It conveys the priority of the priority table to a plurality of information processing devices located on the lower, thus該伝E was priority plurality positioned in the lower
Of information processing devices that are scanned later
If there is high-priority information in the
Low-level information to be scanned later
From the device to the lower-level information processing device that is scanned first,
An information collection method, wherein information is collected in accordance with the priority by transferring the data through a communication line different from the network .
JP16259693A 1993-06-30 1993-06-30 Information collection method Expired - Fee Related JP3170958B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16259693A JP3170958B2 (en) 1993-06-30 1993-06-30 Information collection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16259693A JP3170958B2 (en) 1993-06-30 1993-06-30 Information collection method

Publications (2)

Publication Number Publication Date
JPH0764891A JPH0764891A (en) 1995-03-10
JP3170958B2 true JP3170958B2 (en) 2001-05-28

Family

ID=15757605

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16259693A Expired - Fee Related JP3170958B2 (en) 1993-06-30 1993-06-30 Information collection method

Country Status (1)

Country Link
JP (1) JP3170958B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002082707A (en) * 2000-09-08 2002-03-22 Sodick Co Ltd Centralized control system for numerical controller
JP2007164284A (en) * 2005-12-09 2007-06-28 Mitsubishi Electric Corp Information management device
EP2512139B1 (en) * 2006-10-30 2013-09-11 Nippon Telegraph And Telephone Corporation Video encoding method and decoding method, apparatuses therefor, programs therefor, and storage media which store the programs
JP4999880B2 (en) * 2009-04-30 2012-08-15 三菱電機株式会社 Controller and network system provided with the same

Also Published As

Publication number Publication date
JPH0764891A (en) 1995-03-10

Similar Documents

Publication Publication Date Title
US11736561B2 (en) Load balanced network file accesses
US5778224A (en) Method of executing a plurality of transactions and a distributed processing system for performing such a method
US5185708A (en) Method for collecting data by a manufacturing process manager from a plurality of programmable logic controllers
US7203943B2 (en) Dynamic allocation of processing tasks using variable performance hardware platforms
US4811207A (en) Join operation processing system in distributed data base management system
CN101750977B (en) System and method for controlling semiconductor manufacturing equipment using user interface
US20080177948A1 (en) Method and apparatus for managing placement of data in a tiered storage system
CN105915650A (en) Load balancing method and device
CN106709013A (en) Data processing method and apparatus, and data interaction method and apparatus
JP3170958B2 (en) Information collection method
US20030131111A1 (en) Information processing system, information processing apparatus and access distributing method
CN107222336A (en) A kind of graphical network management system and method
CN1186739C (en) Selectively processing system for work piece and control method thereof
JP3748232B2 (en) Data transmission device, display device, and control system
CN102413004A (en) Fault injection method and device
CN107864209A (en) The method, apparatus and server of data write-in
JPH09326589A (en) System operating method
US6738936B2 (en) Method for testing communication line to locate failure according to test point priorities in communication line management system
CN108600354A (en) System response time fluctuates suppressing method and system
JPH09131648A (en) Monitoring device
US20100250604A1 (en) Method for Processing Data Access in an Information Management System and Related Information Management System
CN118226156A (en) Method, system, equipment and medium for distributing server complete machine test bits
JP2000155615A (en) Plant monitor device
JPH0720930A (en) Production management device and production managing method using the same
US8031859B2 (en) Stagnation-judgment device and computer product

Legal Events

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

Free format text: PAYMENT UNTIL: 20090323

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees