JPH07152679A - Process controller - Google Patents

Process controller

Info

Publication number
JPH07152679A
JPH07152679A JP5297878A JP29787893A JPH07152679A JP H07152679 A JPH07152679 A JP H07152679A JP 5297878 A JP5297878 A JP 5297878A JP 29787893 A JP29787893 A JP 29787893A JP H07152679 A JPH07152679 A JP H07152679A
Authority
JP
Japan
Prior art keywords
information
module
arithmetic unit
control
transmission
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.)
Granted
Application number
JP5297878A
Other languages
Japanese (ja)
Other versions
JP3397861B2 (en
Inventor
Hiroyasu Ikedo
弘泰 池戸
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.)
Fuji Facom Corp
Original Assignee
Fuji Facom 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 Fuji Facom Corp filed Critical Fuji Facom Corp
Priority to JP29787893A priority Critical patent/JP3397861B2/en
Publication of JPH07152679A publication Critical patent/JPH07152679A/en
Application granted granted Critical
Publication of JP3397861B2 publication Critical patent/JP3397861B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Safety Devices In Control Systems (AREA)
  • Control By Computers (AREA)
  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To eliminate the trouble of control due to mismounting and a fault of an ID module by comparing the constitution information number of an IO module with ID information and transmitting the result of comparison to a control arithmetic unit. CONSTITUTION:This process controller consists of a control arithmetic device 1 consisting of a data processing part (MPU) 11 and a transmission control part 12 and input/output devices 2A-2N consisting of a transmission control module 21 and IO modules 22, and both are connected through a transmission line 3. Then pieces of ID information on various IO modules 22 which should be mounted on the control arithmetic unit 1 originally are previously registered and transmitted to the transmission control module 21 of an input/output device, and the transmission control module 21 compares them with ID information on the actually mounted ID modules 22 and transmits the comparison result to the control arithmetic unit 1. Therefore, the trouble such as the mismounting and fault of an IO module 22 can be detected by the transmission control module 21 and necessary abnormality processing can be performed before the control arithmetic of the control arithmetic unit 1 is started.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、シェルフの各スロッ
トに実装される複数種のIOモジュールを伝送路を介し
て制御演算装置と接続して構成されるプロセス制御装
置、特にそのIOモジュールの管理方法を改良し誤動作
を効率良く防止し得るようにしたプロセス制御装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a process control device constructed by connecting a plurality of types of IO modules mounted in respective slots of a shelf to a control arithmetic unit via a transmission line, and particularly managing the IO modules. The present invention relates to a process control device improved in method so as to efficiently prevent malfunction.

【0002】[0002]

【従来の技術】従来、この種のプロセス制御装置では、
IOモジュールに格納されているID情報は伝送制御モ
ジュールが収集,保持し、これをIOモジュールの管理
情報として、制御演算装置との入出力データの伝送処理
を行なうようにしているのが普通である。
2. Description of the Related Art Conventionally, in this type of process control device,
Usually, the ID information stored in the IO module is collected and held by the transmission control module, and this is used as the management information of the IO module to perform the transmission processing of the input / output data with the control arithmetic unit. .

【0003】[0003]

【発明が解決しようとする課題】このように、従来はI
Oモジュールより収集したID情報のみで管理している
ため、本来実装されるべき種類でないIOモジュールが
誤って実装されても、そのまま制御演算装置との間で入
出力伝送処理が行なわれてしまう。例えば、本来入力モ
ジュールが実装されるべきところに、出力モジュールが
実装された場合には、制御に必要な入力データが制御演
算装置に伝送されることなく制御演算が実行されること
になるため、正しい制御ができなくなってしまうという
問題がある。
As described above, according to the prior art, I
Since it is managed only by the ID information collected from the O module, even if an IO module that is not the type originally to be mounted is erroneously mounted, the input / output transmission process is directly performed with the control arithmetic unit. For example, when the output module is installed where the input module should be originally installed, the control operation is executed without the input data required for control being transmitted to the control operation device. There is a problem that correct control cannot be performed.

【0004】また、IOモジュールが実装されていない
場合に、それが意図的に未実装状態にされている場合で
あっても、制御演算装置は異常と見なさざるを得ず、シ
ステムの運用に支障を来たすという問題もある。したが
って、この発明の課題はIOモジュールの誤実装や故障
に起因する制御上の不具合を無くすことにある。
Further, when the IO module is not mounted, even if the IO module is intentionally not mounted, the control arithmetic unit is inevitably considered to be abnormal, which hinders the operation of the system. There is also the problem of coming. Therefore, an object of the present invention is to eliminate control problems caused by erroneous mounting and failure of IO modules.

【0005】[0005]

【課題を解決するための手段】このような課題を解決す
るため、この発明では、シェルフの各スロットに着脱自
在に収納される種々のIOモジュールが1つの伝送制御
モジュールにバス接続される入出力装置と、この入出力
装置に伝送路を介して接続される制御演算装置とからな
るプロセス制御装置において、前記伝送制御モジュール
に、IOモジュールに格納されているID情報とIOモ
ジュールの状態情報を含む管理情報を前記バス経由で収
集し保持する収集・保持手段と、前記制御演算装置から
伝送路経由で与えられるIOモジュールの構成情報番号
をID情報に変換する変換テーブルを格納する格納手段
と、この変換テーブルにより変換して得られたID情報
と前記収集・保持手段に保持されているID情報とを比
較する比較手段とを設け、制御演算装置からIOモジュ
ールの構成情報番号が与えられたら、伝送制御モジュー
ルはこれを前記変換テーブルによりID情報に変換した
後、前記収集・保持手段に収集し保持しているID情報
と比較し、その比較結果を伝送路経由で制御演算装置に
伝送することを特徴としている。
In order to solve such a problem, according to the present invention, various IO modules detachably accommodated in each slot of the shelf are connected to one transmission control module by an input / output bus. In a process control device comprising a device and a control arithmetic device connected to the input / output device via a transmission path, the transmission control module includes ID information stored in the IO module and status information of the IO module. Collecting / holding means for collecting and holding management information via the bus; and storing means for storing a conversion table for converting the configuration information number of the IO module given from the control arithmetic unit via the transmission path into ID information. Comparing means for comparing the ID information obtained by conversion by the conversion table with the ID information held in the collecting / holding means; When the configuration information number of the IO module is provided by the control arithmetic unit, the transmission control module converts this to ID information by the conversion table, and then compares it with the ID information collected and held in the collecting / holding means. The comparison result is transmitted to the control arithmetic unit via the transmission path.

【0006】この発明では、(イ)〜(リ)のようにす
ることができる。 (イ)前記管理情報から前記IOモジュールが故障と判
断されたときは、自然に復旧するのを待つか、オンライ
ン状態で脱/着して復旧させる。 (ロ)前記伝送制御モジュールがIOモジュールから収
集し保持している管理情報を、前記制御演算装置から伝
送路経由で更新可能にする。
According to the present invention, the following items (a) to (i) can be adopted. (A) When it is determined from the management information that the IO module has failed, the IO module is waited for a natural recovery or is removed / removed in an online state to be recovered. (B) The management information collected and held by the transmission control module from the IO module can be updated from the control arithmetic unit via the transmission path.

【0007】(ハ)前記更新情報を、指定スロットを空
き状態とする情報とする。 (ニ)前記更新情報を、指定スロットを型式情報を含む
特定のID情報により予約する情報とする。 (ホ)前記更新情報を、指定スロットを型式情報までは
含まない特定のID情報により予約する情報とする。 (ヘ)前記更新情報を、隣接するスロットの2つのIO
モジュールを二重化のペアであることを示す情報とす
る。
(C) The update information is information for making the designated slot empty. (D) The update information is information for reserving the designated slot with specific ID information including model information. (E) The update information is information for reserving the designated slot with specific ID information not including the model information. (F) The update information is stored in two IOs of adjacent slots.
Information that indicates that the module is a duplicated pair.

【0008】(ト)前記伝送制御モジュールは前記二重
化のペア情報にもとづき収集,保持している管理情報を
チェックし、ペアのID情報が不一致のときは前記制御
演算装置にそのことを通知する。 (チ)前記二重化のペア情報にもとづきIOモジュール
の稼働/待機の二重化制御を行なうため、伝送制御モジ
ュールは収集,保持している管理情報をチェックし、二
重化ペアのIOモジュールが双方ともに稼働、または双
方ともに待機となる異常状態の検出を可能とし、異常状
態を検出した時は所定の情報を前記制御演算装置に通知
する。 (リ)前記二重化のペア情報にもとづきIOモジュール
の稼働/待機の二重化制御を行なうため、伝送制御モジ
ュールが電源投入時にペアのうちのいずれか一方のみ実
装されていることを検出したときは、もう一方は故障と
して前記制御演算装置に通知する。
(G) The transmission control module checks the management information collected and held based on the duplicated pair information, and when the ID information of the pair does not match, notifies the control arithmetic unit of the fact. (H) In order to perform redundant control of the operation / standby of the IO module based on the redundant pair information, the transmission control module checks the management information collected and held, and the IO modules of the redundant pair both operate, or Both of them enable detection of an abnormal state that is in a standby state, and when the abnormal state is detected, the control arithmetic unit is notified of predetermined information. (I) Since the redundant control of the operation / standby of the IO module is performed based on the redundant pair information, when it is detected that only one of the pairs is mounted in the transmission control module when the power is turned on, another One of them notifies the control arithmetic unit as a failure.

【0009】[0009]

【作用】制御演算装置に本来実装されるべき各種IOモ
ジュールのID情報を予め登録しておき、これを入出力
装置の伝送制御モジュールに伝送し、伝送制御モジュー
ルにおいて実際に実装されているIOモジュールのID
情報と比較し、この比較結果を制御演算装置に伝送する
ことにより、IOモジュールの誤実装や故障を容易に判
断し得るようにし、IOモジュールの誤実装や故障に起
因する制御上の不具合を無くすようにする。
The ID information of various IO modules that should be originally mounted in the control arithmetic unit is registered in advance, and this is transmitted to the transmission control module of the input / output device, and the IO module actually mounted in the transmission control module. ID of
By comparing with the information and transmitting the comparison result to the control arithmetic unit, it is possible to easily determine the erroneous mounting or failure of the IO module, and eliminate the control failure due to the erroneous mounting or failure of the IO module. To do so.

【0010】[0010]

【実施例】図1はこの発明の実施例を示すシステム構成
図である。同図において、1はデータ処理部(MPU)
11および伝送制御部12からなる制御演算装置、2A
〜2Nは伝送制御モジュール21およびIOモジュール
22からなる入出力装置である。つまり、プロセス制御
装置は制御演算装置1と入出力装置2A〜2Nから構成
され、両者は伝送路3を介して接続されている。なお、
13,23はバスを示す。
FIG. 1 is a system configuration diagram showing an embodiment of the present invention. In the figure, 1 is a data processing unit (MPU)
Control arithmetic unit composed of 11 and transmission control unit 12, 2A
2N are input / output devices including a transmission control module 21 and an IO module 22. That is, the process control device is composed of the control calculation device 1 and the input / output devices 2A to 2N, both of which are connected via the transmission line 3. In addition,
Reference numerals 13 and 23 denote buses.

【0011】図2は図1における情報の流れを示す。す
なわち、例えば入出力装置2NのIOモジュール22内
には、IOデータの入出力方向(入力か出力か),信号
(センサ)点数,アナログ/ディジタルなどのデータ種
別およびモジュールの型式(例えば、温度センサの種別
を熱電対としてさらにJ型とか、K型などを指定する)
からなるID情報と、モジュールの自己診断結果である
正常/異常を示すRAS情報や、二重化されている場合
の稼働/待機などの状態情報とが格納されている。一
方、制御演算装置1には、入出力装置2Nの各スロット
に実装されるIOモジュールを示す構成情報番号が格納
されている。この構成情報番号は、各種IOモジュール
のID情報と1対1に対応している。
FIG. 2 shows the flow of information in FIG. That is, for example, in the IO module 22 of the input / output device 2N, the input / output direction (input or output) of IO data, the number of signals (sensors), the data type such as analog / digital, and the module type (for example, temperature sensor). (Type J, type K, etc. are designated as thermocouples)
Is stored, and RAS information indicating normality / abnormality, which is the self-diagnosis result of the module, and status information such as operation / standby in the case of duplication are stored. On the other hand, the control arithmetic unit 1 stores the configuration information number indicating the IO module mounted in each slot of the input / output unit 2N. This configuration information number has a one-to-one correspondence with ID information of various IO modules.

【0012】図3はこの発明によるイニシャル処理動作
を説明するためのフローチャートである。同図には制御
演算装置,伝送制御モジュールおよびIOモジュールに
分けてその処理を示している。まず、IOモジュールで
はROMのサムチェック,RAMのリートライトチェッ
クなどの自己診断を行ない、状態情報を作成する(ステ
ップS31)。次に、ROM内に格納されている各種I
D情報をRAM上へコピーし、伝送制御モジュールによ
る情報収集を待つ(ステップS32)。
FIG. 3 is a flow chart for explaining the initial processing operation according to the present invention. In the figure, the processing is divided into a control arithmetic unit, a transmission control module and an IO module. First, the IO module carries out self-diagnosis such as ROM sum check and RAM read / write check, and creates status information (step S31). Next, various I's stored in the ROM
The D information is copied onto the RAM and information collection by the transmission control module is waited for (step S32).

【0013】一方、伝送制御モジュールは各スロットか
ら、バス経由でID情報と状態情報を順次収集し、これ
をIOモジュール管理情報として保存する(ステップS
21)。この状態で、制御演算装置からスロット毎構成
情報番号が送信されてくると(ステップS11)、伝送
制御モジュールは予め格納されている構成情報番号→I
D情報の変換テーブルにより、各スロット毎のID情報
を作成し、上記IOモジュールから収集し保存している
管理情報とは別に管理し、保存する(ステップS22,
S23)。次に、伝送制御モジュールは管理情報内のス
ロット毎ID情報と、制御演算装置から受信した構成情
報番号より作成したスロット毎ID情報とを比較し、ス
ロット毎に一致,不一致の比較結果情報を作成する(ス
テップS24)。
On the other hand, the transmission control module sequentially collects the ID information and the status information from each slot via the bus and stores them as IO module management information (step S).
21). In this state, when the configuration information number for each slot is transmitted from the control arithmetic unit (step S11), the transmission control module stores the configuration information number stored in advance → I
ID information for each slot is created by the conversion table of D information, and is managed and saved separately from the management information collected and saved from the IO module (step S22,
S23). Next, the transmission control module compares the ID information for each slot in the management information with the ID information for each slot created from the configuration information number received from the control arithmetic unit, and creates the comparison result information of match or mismatch for each slot. Yes (step S24).

【0014】その後、制御演算装置が伝送制御モジュー
ルから比較結果情報を受信すると、その内容に応じて結
果がすべて一致している場合は制御演算へ移行し(ルー
ト参照)、不一致があった場合は必要な異常処理を行
ないイニシャル処理を終了する(ルート参照)。な
お、制御演算装置に対し各IOモジュールの制御上の重
要度を設定しておけば、比較結果に不一致が生じた場合
でも、そのIOモジュールを切り離しての縮退運転によ
る制御演算の実行などもできるようになる。
After that, when the control operation device receives the comparison result information from the transmission control module, if the results are all in agreement according to the contents, the control operation is started (see route), and if there is a mismatch. Perform necessary error processing and finish initial processing (see route). If the control importance of each IO module is set in the control arithmetic unit, even if there is a discrepancy in the comparison results, it is possible to execute the control arithmetic by the degenerate operation by disconnecting the IO module. Like

【0015】図4は上記イニシャル処理が正常に終了
し、通常処理である制御演算処理および入出力データの
更新処理が、プロセス制御装置内の各部で行なわれてい
る場合に、IOモジュールで異常が生じたとき、そのI
Oモジュールをオンラインで交換する場合の処理を示し
ている。イニシャル処理が正常に終了して通常処理に入
った場合の制御演算装置の処理は、制御演算の結果であ
る出力データの送信,IOモジュールからの入力データ
および状態情報の受信にもとづく制御演算の実行,その
結果である出力データの更新という一連の処理(ステッ
プS11〜S15)を繰り返し行なっている。
FIG. 4 shows that when the above-mentioned initial processing is normally completed, and the control operation processing and the input / output data update processing, which are normal processing, are being performed in each part of the process control device, an abnormality occurs in the IO module. When it occurs, I
The processing when the O module is replaced online is shown. When the initial processing ends normally and enters the normal processing, the processing of the control arithmetic unit is to execute the control arithmetic based on the transmission of the output data as the result of the control arithmetic and the reception of the input data and the status information from the IO module. A series of processing (steps S11 to S15) of updating the output data as a result is repeatedly performed.

【0016】IOモジュールでは、自己診断をした後自
らの構成情報に従って出力データの受信,出力処理,デ
ータの入力処理,入力データの送信および自己診断の結
果による状態情報の送信という一連の処理(ステップS
31〜S36)を繰り返し行なっている。なお、図4に
は入力データおよび出力データの両方について示してい
るが、IOモジュールの構成情報によってはいずれか一
方だけの場合も存在することは勿論である。また、伝送
制御モジュールは制御演算装置からのデータをIOモジ
ュールに与える一方、IOモジュールからのデータを制
御演算装置へ送るなど、入出力データおよび状態情報の
伝送中継処理を繰り返し行なっている(ルート参
照)。
In the IO module, after a self-diagnosis, a series of processes (steps of receiving output data, outputting process, inputting data, transmitting input data and transmitting status information according to the result of self-diagnosis according to its configuration information (step) S
31 to S36) are repeated. Although FIG. 4 shows both the input data and the output data, it goes without saying that only one of them may exist depending on the configuration information of the IO module. Further, the transmission control module gives data from the control arithmetic unit to the IO module, while sending data from the IO module to the control arithmetic unit, and repeats transmission / reception processing of input / output data and status information (see route). ).

【0017】この状態で、IOモジュールに故障が発生
した場合について説明する。すなわち、伝送制御モジュ
ールではIOモジュールとの入出力および状態情報伝送
処理の次に、伝送状態の確認および状態情報の確認を行
ない、最終的な状態情報を作成して制御演算装置へ送信
する(ステップS21,S22)。最終的な状態情報の
意味は、例えばIOモジュールが伝送制御モジュールと
の伝送において無応答になってしまった場合は、伝送制
御モジュール検出によるIOモジュール異常というステ
ータスを、制御演算装置へ送信するという意味である。
A case where a failure occurs in the IO module in this state will be described. That is, in the transmission control module, after the input / output with the IO module and the state information transmission processing, the transmission state and the state information are confirmed, final state information is created and transmitted to the control arithmetic unit (step S21, S22). The meaning of the final status information is that, for example, if the IO module becomes unresponsive during transmission with the transmission control module, a status of IO module abnormality due to transmission control module detection is transmitted to the control arithmetic unit. Is.

【0018】次に、上記の確認処理において、IOモジ
ュールの何らかの異常を検出した場合の処理について説
明する。まず、伝送が正常に終了したか否かを判断し、
伝送が正常に終了していればIOモジュールはその伝送
機能は正常であるとし、異常のない場合と同様の動作を
繰り返す(ステップS23,S24)。状態情報が異常
であっても伝送が正常に終了していれば通常処理を行な
う理由は、軽度の故障であり復旧の可能性があるからで
ある。
Next, a description will be given of the processing when any abnormality of the IO module is detected in the above confirmation processing. First, determine whether the transmission was completed normally,
If the transmission is completed normally, the IO module determines that the transmission function is normal, and repeats the same operation as when there is no abnormality (steps S23 and S24). The reason why the normal processing is performed if the transmission is normally completed even if the status information is abnormal is that it is a minor failure and there is a possibility of recovery.

【0019】次に、伝送が無応答を含む異常終了の場合
は、致命的な故障であってIOモジュールの交換を要す
るものと判断し、交換が終了し伝送が正常に行なわれる
ようになるまで、ID情報を収集する処理のみを継続実
行する(ステップS24〜S26)。やがて、交換が終
了しID情報の収集に対して応答が有った場合は、伝送
制御モジュールがイニシャル処理において収集,保存し
ている管理情報のスロット毎ID情報と比較し、一致し
た場合にはオンラインでの交換作業が完了したと判断し
て、通常のデータ入出力処理および状態情報の伝送処理
を再開する。また、管理情報内のID情報と不一致の場
合はオンラインでの交換作業が完了していないと判断
し、ID情報の収集を継続する(ステップS24〜S2
7)。
Next, when the transmission is abnormally terminated including no response, it is determined that the IO module is a fatal failure and needs to be replaced, and the exchange is completed and the transmission is normally performed. , And only the process of collecting ID information is continuously executed (steps S24 to S26). Eventually, when the exchange is completed and there is a response to the collection of the ID information, the transmission control module compares it with the ID information for each slot of the management information collected and stored in the initial processing, and if they match, When it is judged that the online exchange work is completed, the normal data input / output processing and the status information transmission processing are restarted. If the ID information does not match the management information, it is determined that the online replacement work has not been completed, and the collection of ID information is continued (steps S24 to S2).
7).

【0020】図5は、通常処理に付加される各種機能を
説明するためのフローチャートである。同図からも明ら
かなように、制御演算装置に対する追加部分としては、
任意のタイミングで構成情報番号の送信を可能にする処
理である(ステップS11,S12)。また、IOモジ
ュールについては追加の処理はないので、同図では通常
処理S3として示している。以下、主として伝送制御モ
ジュールの付加機能について説明する。
FIG. 5 is a flow chart for explaining various functions added to the normal processing. As is clear from the figure, as an additional part to the control arithmetic unit,
This is a process that enables transmission of the configuration information number at an arbitrary timing (steps S11 and S12). Since there is no additional processing for the IO module, it is shown as normal processing S3 in the figure. The additional functions of the transmission control module will be mainly described below.

【0021】まず、制御演算装置より任意のタイミング
で構成情報番号を受信すると、伝送制御モジュールは変
換テーブルによりスロット毎ID情報を作成し、イニシ
ャル処理で作成した管理情報とは別に保存されている部
分を書き換えて保存する。次に、これを管理情報内のス
ロット毎ID情報と比較し、スロット毎に一致,不一致
の情報を作成,保存した後、管理情報内のスロット毎I
D情報を今回作成したスロット毎ID情報に書き換える
(ルート参照)。
First, when the configuration information number is received from the control arithmetic unit at an arbitrary timing, the transmission control module creates ID information for each slot by the conversion table, and is stored separately from the management information created by the initial process. Rewrite and save. Next, this is compared with the ID information for each slot in the management information to create and save the matching / non-matching information for each slot, and then for each slot I in the management information.
The D information is rewritten to the ID information for each slot created this time (see route).

【0022】次いで、スロット毎の一致,不一致情報を
チェックし、不一致が有った場合には、一致するまでそ
のスロットに対する通常の入出力処理を中止し、ID情
報の収集を行なう(ステップS21,S22)。IOモ
ジュールから管理情報内のID情報と一致するID情報
の応答が有った場合は、オンラインでの構成変更が完了
したと判断して不一致情報をクリアし一致情報を作成し
た後、通常の入出力処理を再開する(ステップS21〜
S25)。
Next, the match / mismatch information for each slot is checked. If there is a mismatch, the normal input / output processing for that slot is stopped until a match is found, and ID information is collected (step S21, S22). If the IO module responds with the ID information that matches the ID information in the management information, it is determined that the online configuration change is complete, the mismatch information is cleared, the match information is created, and then the normal input is performed. The output process is restarted (steps S21 to S21).
S25).

【0023】このIOモジュール交換の作業が完了する
までの間は、伝送制御モジュールと制御演算装置との間
の入出力データ伝送は、新たに制御演算装置から指定さ
れるID情報にもとづき入力または出力のダミーデータ
を伝送制御モジュールが作成して伝送を継続する。この
ような処理を追加することにより、管理情報のオンライ
ンでの更新が可能となる。また、同様の処理をイニシャ
ル処理に追加することにより、電源投入直後から制御演
算装置の設定に対応する構成で、IOモジュールを管理
することが可能となる。
Until the work of replacing the IO module is completed, the input / output data transmission between the transmission control module and the control arithmetic unit is input or output based on the ID information newly designated by the control arithmetic unit. The dummy data of is created by the transmission control module and transmission is continued. By adding such processing, the management information can be updated online. Further, by adding the same processing to the initial processing, it becomes possible to manage the IO module with a configuration corresponding to the setting of the control arithmetic unit immediately after the power is turned on.

【0024】スロット毎ID情報更新については、以下
のようにすることも考えられる。例えば、指定のスロッ
トについては、それが空きであるという意味の情報を指
定または追加する。こうすれば、物理的に存在する入出
力装置内のIOモジュール用スロットを論理上存在しな
いように扱うことが可能となる。
The following may be considered for updating the ID information for each slot. For example, for a designated slot, information indicating that it is empty is designated or added. This makes it possible to treat the IO module slot in the physically existing input / output device as if it does not logically exist.

【0025】つまり、制御演算装置から送信される構成
情報番号に対し、予めIOモジュール用スロットが空き
であるという意味付けを定義しておけば、この情報を受
け取った伝送制御モジュールは、管理情報内の指定スロ
ットのID情報を空きであると定義することができる。
そして、伝送制御モジュールによるIOモジュール管理
において、管理情報内に空きというIDが有るスロット
を管理から除外し、一切アクセスしないようにする。
That is, if the meaning that the IO module slot is vacant is defined in advance for the configuration information number transmitted from the control arithmetic unit, the transmission control module that receives this information will receive the information in the management information. The ID information of the designated slot can be defined as being empty.
Then, in the IO module management by the transmission control module, a slot having an ID of vacant in the management information is excluded from the management and is not accessed at all.

【0026】スロット毎のID情報更新について、構成
情報番号に予約という意味付けの情報を付加すること
で、物理的に存在する入出力装置内のIOモジュール用
スロットに、実際にはIOモジュールが存在していない
場合でも、理論上は恰も存在しているかのように扱うこ
とができる。
With respect to the update of ID information for each slot, by adding information that means "reserved" to the configuration information number, the IO module actually exists in the IO module slot in the physically existing input / output device. Even if you don't, you can treat it as if it were theoretically present.

【0027】この場合、制御演算装置から送信される構
成情報番号に、予めIOモジュール用スロットが予約で
あるという定義をした情報を付加して送信する。この情
報を受け取った伝送制御モジュールでは、管理情報内の
指定スロットのID情報を更新する際に、予約であると
いう情報を付加する。
In this case, the configuration information number transmitted from the control arithmetic unit is added with the information in advance that the IO module slot is reserved. Upon receiving this information, the transmission control module adds information indicating that it is a reservation when updating the ID information of the designated slot in the management information.

【0028】そして、伝送制御モジュールによるIOモ
ジュール管理において、管理情報内に予約という情報が
あるスロットは、管理を行なう場合に発生する全ての異
常情報を制御演算装置に通知する際には、伝送制御モジ
ュールが正常であるという情報に変更してから送信する
ようにする。このように、予約という情報を付加するこ
とで、実際には故障していたり、物理的に存在していな
いIOモジュールを、正常なモジュールが仮想的に存在
しているように扱うことが可能となる。
In the IO module management by the transmission control module, the slot having the information of reservation in the management information is used for transmission control when notifying the control arithmetic unit of all abnormal information that occurs during management. Change the information that the module is normal before sending. In this way, by adding the information of reservation, it is possible to handle an IO module that actually fails or does not physically exist as if a normal module virtually exists. Become.

【0029】スロット毎のID情報更新における構成情
報番号の1つとして、ダミーのIOモジュールとして特
定の型式は定義せずに入出力の点数,方向,種別のみを
定義した情報を用意しておくことができる。つまり、伝
送制御モジュールによるIOモジュール管理において、
管理情報内にダミーという情報が有るスロットを管理す
る場合は、IOモジュールに格納されている型式を管理
の対象から外すようにする。こうすれば、有る特定のI
Oモジュール用スロットには入出力点数,方向および種
別が一致していればどんな型式のモジュールでも実装が
可能となる。
As one of the configuration information numbers in updating the ID information for each slot, prepare information that defines only the input / output points, directions, and types without defining a specific model as a dummy IO module. You can In other words, in IO module management by the transmission control module,
When managing a slot having dummy information in the management information, the model stored in the IO module is excluded from the management target. This way, there is a certain I
Any type of module can be mounted in the O module slot as long as the number of input / output points, direction and type match.

【0030】図6に出力モジュールと入力モジュールが
二重化されている場合のデータの流れを示す。ここでは
IOモジュール22の内の出力モジュール221,22
2と、入力モジュール223,224をそれぞれペアと
した例である。二重化されたIOモジュールは互いに情
報交換を行ない、ペアとなっているIOモジュールにお
いて稼働/待機を決定するものとする。制御演算装置に
おける入出力データは、IOモジュールが二重化されて
いる場合は、二重化のペア1組で、1つのデータとして
扱われる。
FIG. 6 shows the data flow when the output module and the input module are duplicated. Here, the output modules 221 and 22 of the IO module 22
2 and the input modules 223 and 224 are paired. Duplicated IO modules exchange information with each other, and the operation / standby of the paired IO modules is determined. When the IO module is duplicated, the input / output data in the control arithmetic unit is treated as one data by one pair of duplicated pairs.

【0031】上記ペアの指定はスロット毎のID情報更
新において、構成情報番号に隣接する2スロットのIO
モジュールは、二重化されているという意味付けの情報
を付加することにより、行なわれる。この情報を受け取
った伝送制御モジュールは、入出力データの伝送に関
し、以下の処理を行なう。
The designation of the pair is performed by updating the ID information of each slot by IO of two slots adjacent to the configuration information number.
The module is performed by adding information that means that the module is duplicated. Upon receiving this information, the transmission control module performs the following processing regarding the transmission of input / output data.

【0032】まず、制御演算装置での演算により決定さ
れた1個の出力データが、伝送によって入出力装置内の
伝送制御モジュールに通知される。このデータを受け取
った伝送制御モジュールは、上記二重化ペアの情報をも
とにペアとなっている2個の出力モジュールの双方に伝
送する。
First, one piece of output data determined by the arithmetic operation in the control arithmetic unit is notified to the transmission control module in the input / output unit by transmission. The transmission control module that receives this data transmits it to both of the two output modules that are paired based on the information of the duplicated pair.

【0033】また、入力データについては、以下のよう
に処理される。ペアとなっている2個の入力モジュール
からの入力データのうち、データと同時に収集した状態
情報の中の稼働/待機情報をもとに、稼働となっている
側の入力データを選択し、制御演算装置へ送る。このよ
うに、二重化ペアという情報を付加することで、制御演
算装置においては二重化,シングルを意識することなく
演算を実行するが可能となる。また、伝送路を流れるデ
ータ量もIOモジュールがシングルの場合と同等であ
り、伝送効率などに影響を及ぼすこともない。
The input data is processed as follows. Of the input data from the two input modules that make a pair, the input data on the operating side is selected and controlled based on the operation / standby information in the status information that was collected at the same time as the data. Send to arithmetic unit. In this way, by adding the information of the duplicated pair, it becomes possible for the control arithmetic unit to execute the arithmetic operation without being aware of the duplicated or single. Further, the amount of data flowing through the transmission path is the same as that in the case of a single IO module, and does not affect the transmission efficiency.

【0034】二重化ペアの情報を受け取った伝送制御モ
ジュールでは、IOモジュールから収集し,保存してい
る管理情報内のID情報をチェックし、ペア同士で同一
のID情報になっていない場合は、IOモジュールの状
態情報を二重化ペアのID情報不一致として、制御演算
装置に伝達する。かかる処理を伝送制御モジュールで行
なうことにより、二重化された1組のIOモジュールの
ID情報が異なっていることを制御演算装置側で認識す
ることができる。
The transmission control module, which has received the information of the duplicated pair, checks the ID information in the management information collected and stored from the IO module, and if the pair does not have the same ID information, the IO information is input. The status information of the module is transmitted to the control arithmetic unit as the ID information mismatch of the duplicated pair. By performing such processing in the transmission control module, it is possible for the control arithmetic unit to recognize that the ID information of the duplicated set of IO modules is different.

【0035】また、伝送制御モジュールにおいて、上記
二重化ペアの情報を受け取って入力データの処理(稼働
モジュールのデータを制御演算装置に伝送する)をして
いる場合、ペア間での稼働/待機の決定ができないよう
な故障、或いはペアに対する伝送制御モジュールからの
アクセス時間差により、両モジュールとも稼働または待
機のステータスを受信したときは、制御演算装置に対し
て入力データを送信できなくなってしまう。そこで、前
回稼働側であった方のデータ、または予め登録しておい
た制御上安全と考えられるデータを制御演算装置に伝送
する。
Further, when the transmission control module receives the information of the duplicated pair and processes the input data (transmits the data of the operating module to the control arithmetic unit), it determines the operation / standby between the pairs. When both modules receive the status of operation or standby due to a failure that prevents the transmission or a difference in access time from the transmission control module to the pair, input data cannot be transmitted to the control arithmetic unit. Therefore, the data on the operating side last time or the data registered in advance and considered to be safe for control is transmitted to the control arithmetic unit.

【0036】さらには、伝送制御モジュールの電源投入
後のイニシャル処理において、無応答や異常ステータス
の受信などのIOモジュール異常を検出した場合、上記
二重化ペアの情報を受け取っているとすると、ペアのう
ちのどちらか一方が正常であれば、制御演算装置に伝送
するIOモジュールのステータスを片系故障という情報
にすることで、制御演算装置は制御に支障がないと判断
でき、プロセス制御装置としての制御の開始が可能とな
る。
Furthermore, when an IO module abnormality such as no response or reception of an abnormal status is detected in the initial processing after the power supply of the transmission control module is turned on, it is assumed that the information of the duplexed pair is received. If either one of the above is normal, the status of the IO module transmitted to the control arithmetic unit is set as information indicating a one-sided failure, so that the control arithmetic unit can determine that there is no problem in control, and control as a process control unit can be performed. Can be started.

【0037】[0037]

【発明の効果】この発明によれば、制御演算装置から伝
送制御モジュールに対し、シェルフのスロットに如何な
るIOモジュールが実装されるべきかを示す構成情報番
号を送る一方、IOモジュールからはID情報および状
態情報を収集するようにしたので、IOモジュールの誤
実装や故障などの不具合を伝送制御モジュールで検出す
ることが可能となり、制御演算装置の制御演算開始以前
に必要な異常処理が可能となり、誤った入出力データに
よる制御演算の実行を未然に防止することができる利点
が得られる。
According to the present invention, the control arithmetic unit sends the transmission control module a configuration information number indicating which IO module should be installed in the slot of the shelf, while the IO module sends ID information and Since the status information is collected, it is possible for the transmission control module to detect defects such as erroneous mounting and failure of the IO module, and it is possible to perform the abnormal processing required before starting the control calculation of the control calculation device. It is possible to prevent the execution of the control calculation based on the input / output data.

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

【図1】この発明の実施例を示すシステム構成図であ
る。
FIG. 1 is a system configuration diagram showing an embodiment of the present invention.

【図2】図1における情報の流れを説明するための説明
図である。
FIG. 2 is an explanatory diagram for explaining a flow of information in FIG.

【図3】制御装置各部のイニシャル処理を説明するフロ
ーチャートである。
FIG. 3 is a flowchart illustrating an initial process of each unit of the control device.

【図4】オンラインでのIOモジュール交換処理を説明
するフローチャートである。
FIG. 4 is a flowchart illustrating an online IO module replacement process.

【図5】オンラインでのID情報の更新処理を説明する
フローチャートである。
FIG. 5 is a flowchart illustrating online ID information update processing.

【図6】図1でIOモジュールが二重化されている場合
の情報の流れを説明するための説明図である。
FIG. 6 is an explanatory diagram illustrating a flow of information when the IO module is duplicated in FIG. 1;

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

1…制御演算装置、11…データ処理部(MPU)、1
2…伝送制御部、13,23…バス、2A,2B〜2N
…入出力装置、21…伝送制御モジュール、22,22
1,222,223,224…入出力モジュール、3…
伝送路。
1 ... Control arithmetic unit, 11 ... Data processing unit (MPU), 1
2 ... Transmission control unit, 13, 23 ... Bus, 2A, 2B to 2N
... I / O device, 21 ... Transmission control module, 22, 22
1, 222, 223, 224 ... Input / output module, 3 ...
Transmission line.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04L 12/40 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical indication H04L 12/40

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 シェルフの各スロットに着脱自在に収納
される種々のIOモジュールが1つの伝送制御モジュー
ルにバス接続される入出力装置と、この入出力装置に伝
送路を介して接続される制御演算装置とからなるプロセ
ス制御装置において、 前記伝送制御モジュールに、IOモジュールに格納され
ているID情報とIOモジュールの状態情報を含む管理
情報を前記バス経由で収集し保持する収集・保持手段
と、前記制御演算装置から伝送路経由で与えられるIO
モジュールの構成情報番号をID情報に変換する変換テ
ーブルを格納する格納手段と、この変換テーブルにより
変換して得られたID情報と前記収集・保持手段に保持
されているID情報とを比較する比較手段とを設け、 制御演算装置からIOモジュールの構成情報番号が与え
られたら、伝送制御モジュールはこれを前記変換テーブ
ルによりID情報に変換した後、前記収集・保持手段に
収集し保持しているID情報と比較し、その比較結果を
伝送路経由で制御演算装置に伝送することを特徴とする
プロセス制御装置。
1. An input / output device in which various IO modules detachably housed in each slot of a shelf are bus-connected to one transmission control module, and a control connected to the input / output device via a transmission path. In a process control device including an arithmetic device, the transmission control module, collection / holding means for collecting and holding management information including ID information stored in the IO module and status information of the IO module via the bus, IO given from the control arithmetic unit via a transmission path
A storage means for storing a conversion table for converting the module configuration information number into ID information, and a comparison for comparing the ID information obtained by the conversion with this conversion table with the ID information held in the collecting / holding means. Means and the configuration information number of the IO module is given from the control arithmetic unit, the transmission control module converts this to ID information by the conversion table, and then collects and holds the ID in the collecting / holding means. A process control device characterized by comparing with information and transmitting the comparison result to a control arithmetic unit via a transmission path.
【請求項2】 前記管理情報から前記IOモジュールが
故障と判断されたときは、自然に復旧するのを待つか、
オンライン状態で脱/着して復旧させることを特徴とす
る請求項1に記載のプロセス制御装置。
2. When it is determined from the management information that the IO module has a failure, it waits for a natural recovery or
The process control device according to claim 1, wherein the process control device is detached / attached and restored in an online state.
【請求項3】 前記伝送制御モジュールがIOモジュー
ルから収集し保持している管理情報を、前記制御演算装
置から伝送路経由で更新可能にしてなることを特徴とす
る請求項1に記載のプロセス制御装置。
3. The process control according to claim 1, wherein the management information collected and held by the transmission control module from the IO module can be updated from the control arithmetic unit via a transmission path. apparatus.
【請求項4】 前記更新情報を、指定スロットを空き状
態とする情報とすることを特徴とする請求項3に記載の
プロセス制御装置。
4. The process control device according to claim 3, wherein the update information is information for leaving a designated slot in an empty state.
【請求項5】 前記更新情報を、指定スロットを型式情
報を含む特定のID情報により予約する情報とすること
を特徴とする請求項3に記載のプロセス制御装置。
5. The process control apparatus according to claim 3, wherein the update information is information for reserving a designated slot with specific ID information including model information.
【請求項6】 前記更新情報を、指定スロットを型式情
報までは含まない特定のID情報により予約する情報と
することを特徴とする前記請求項3に記載のプロセス制
御装置。
6. The process control device according to claim 3, wherein the update information is information for reserving a designated slot by specific ID information not including model information.
【請求項7】 前記更新情報を、隣接するスロットの2
つのIOモジュールを二重化のペアであることを示す情
報とすることを特徴とする請求項3に記載のプロセス制
御装置。
7. The update information is stored in two adjacent slots.
4. The process control device according to claim 3, wherein one IO module is used as information indicating that it is a duplicated pair.
【請求項8】 前記伝送制御モジュールは前記二重化の
ペア情報にもとづき収集,保持している管理情報をチェ
ックし、ペアのID情報が不一致のときは前記制御演算
装置にそのことを通知することを特徴とする請求項7に
記載のプロセス制御装置。
8. The transmission control module checks the management information collected and held based on the duplicated pair information, and when the ID information of the pair does not match, notifies the control arithmetic unit of that fact. The process control device according to claim 7, wherein the process control device is a process control device.
【請求項9】 前記二重化のペア情報にもとづきIOモ
ジュールの稼働/待機の二重化制御を行なうため、伝送
制御モジュールは収集,保持している管理情報をチェッ
クし、二重化ペアのIOモジュールが双方ともに稼働、
または双方ともに待機となる異常状態の検出を可能と
し、異常状態を検出した時は所定の情報を前記制御演算
装置に通知することを特徴とする請求項7に記載のプロ
セス制御装置。
9. The transmission control module checks the management information collected and held in order to perform redundant control of the operation / standby of the IO module based on the redundant pair information, and both IO modules of the redundant pair operate. ,
8. The process control apparatus according to claim 7, wherein both of them enable detection of an abnormal state that is in a standby state, and when the abnormal state is detected, predetermined information is notified to the control arithmetic unit.
【請求項10】 前記二重化のペア情報にもとづきIO
モジュールの稼働/待機の二重化制御を行なうため、伝
送制御モジュールが電源投入時にペアのうちのいずれか
一方のみ実装されていることを検出したときは、もう一
方は故障として前記制御演算装置に通知することを特徴
とする請求項7に記載のプロセス制御装置。
10. The IO based on the duplexed pair information.
In order to perform redundant control of module operation / standby, when it is detected that only one of the pairs is installed in the transmission control module when the power is turned on, the other one is notified to the control arithmetic unit as a failure. The process control device according to claim 7, wherein:
JP29787893A 1993-11-29 1993-11-29 Process control equipment Expired - Lifetime JP3397861B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29787893A JP3397861B2 (en) 1993-11-29 1993-11-29 Process control equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29787893A JP3397861B2 (en) 1993-11-29 1993-11-29 Process control equipment

Publications (2)

Publication Number Publication Date
JPH07152679A true JPH07152679A (en) 1995-06-16
JP3397861B2 JP3397861B2 (en) 2003-04-21

Family

ID=17852292

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29787893A Expired - Lifetime JP3397861B2 (en) 1993-11-29 1993-11-29 Process control equipment

Country Status (1)

Country Link
JP (1) JP3397861B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006201881A (en) * 2005-01-18 2006-08-03 Fujitsu Ltd Information processing device and system bus control method
JP2010055348A (en) * 2008-08-28 2010-03-11 Hitachi Computer Peripherals Co Ltd Disk sub-system and device configuration information registration method for disk sub-system
JP2019175243A (en) * 2018-03-29 2019-10-10 日本電気株式会社 Inter-module connection control device, storage unit, server, inter-module connection control method and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006201881A (en) * 2005-01-18 2006-08-03 Fujitsu Ltd Information processing device and system bus control method
JP2010055348A (en) * 2008-08-28 2010-03-11 Hitachi Computer Peripherals Co Ltd Disk sub-system and device configuration information registration method for disk sub-system
JP2019175243A (en) * 2018-03-29 2019-10-10 日本電気株式会社 Inter-module connection control device, storage unit, server, inter-module connection control method and program

Also Published As

Publication number Publication date
JP3397861B2 (en) 2003-04-21

Similar Documents

Publication Publication Date Title
US7213168B2 (en) Safety controller providing for execution of standard and safety control programs
US7328370B2 (en) Safety controller with simplified interface
US7792594B2 (en) Redundant automation system comprising a master and a standby automation device
JPH04364562A (en) Method of ensuring data stored in primary database and secondary database in process control system
EP1936455B1 (en) Method and system for diagnosing external signal input/output units
CN101131587A (en) Field bus communication diagnosing device and field bus communication diagnosing method
JP3397861B2 (en) Process control equipment
US7228390B2 (en) Safety controller with hardware memory lock
JPH09114507A (en) Duplex system for programmable logic controller
JP3272195B2 (en) Redundant system switching monitoring control device
JP2001256071A (en) Redundant system
JP2993349B2 (en) Distributed control device
JPH061401B2 (en) Back-up system of control device
JPH07146849A (en) Inter-computer communication backup system
JP2510025B2 (en) Bus controller monitoring circuit
JPS603225B2 (en) Main storage information recovery method
JP2000322284A (en) Pseudo multiple fault generator
JPH04137047A (en) Programmable controller
JPH02112349A (en) Monitoring and channel unit
JPH0844501A (en) Disk system and its production
JP2003167791A (en) Control device provided with backup function and production system using the control device
JPS5868104A (en) Redundant decentralized controller
JPH04291833A (en) Information setting method after maintenance work and information setting system
JPH06332753A (en) Classification change detection system for mounted package
JPH0730651A (en) Diagnostic system

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20080214

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090214

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090214

Year of fee payment: 6

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20090214

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20100214

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110214

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110214

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120214

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120214

Year of fee payment: 9

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20120214

Year of fee payment: 9

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20130214

Year of fee payment: 10

EXPY Cancellation because of completion of term