JP2002149212A - Redundant programmable controller for equalizing control data and equalization method - Google Patents

Redundant programmable controller for equalizing control data and equalization method

Info

Publication number
JP2002149212A
JP2002149212A JP2000345765A JP2000345765A JP2002149212A JP 2002149212 A JP2002149212 A JP 2002149212A JP 2000345765 A JP2000345765 A JP 2000345765A JP 2000345765 A JP2000345765 A JP 2000345765A JP 2002149212 A JP2002149212 A JP 2002149212A
Authority
JP
Japan
Prior art keywords
data
equalized
frame
equalization
cpu
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
JP2000345765A
Other languages
Japanese (ja)
Other versions
JP4154853B2 (en
Inventor
Makiko Yugawa
真規子 湯川
Motoharu Suzuki
元治 鈴木
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 Electric Co Ltd
Original Assignee
Fuji Electric 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP2000345765A priority Critical patent/JP4154853B2/en
Publication of JP2002149212A publication Critical patent/JP2002149212A/en
Application granted granted Critical
Publication of JP4154853B2 publication Critical patent/JP4154853B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a programmable controller which has a mechanism for achieving equalization processing without disordering the fixed periodicity of a fixed-period task. SOLUTION: A task which performs equalization processing is divided into processing for gathering equalization data and processing for transmitting the gathered equalization data. The equalization data are transmitted to a standby- side CPU while divided into multiple equalization files. When the timing of the start of the fixed-period task is reached during the equalization processing, the fixed-period task is interposed. Frame No.s and serial No.s are put in the equated files to accurately perform the transmission and reception. An in- operation side CPU and a standby side CPU has the same transfer table and transfer systems for gathering and distribution are changed according to the arrangement of the data to be equalized.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、産業用制御装置で
あるプログラマブルコントローラにおける入出力制御方
式に関し、更に詳しくは制御データの等値化に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an input / output control method in a programmable controller which is an industrial control device, and more particularly, to equalization of control data.

【0002】[0002]

【従来の技術】現在、プラント、工場などでは、機械や
装置のシーケンス制御に多くのプログラマブルコントロ
ーラ(以下PCという)を用い、FA(ファクトリーオ
ートメーション)化を実現している。
2. Description of the Related Art At present, plants and factories use many programmable controllers (hereinafter, referred to as PCs) for sequence control of machines and devices to realize factory automation (FA).

【0003】図16に一般的なマルチCPU構成のPC
の例を示す。1つのPCは、プログラムの実行やデータ
の演算処理等を行うCPUモジュールや、制御機器とプ
ロセスデータの入出力を行うI/Oモジュール及び不図
示の通信モジュールが複数接続されて構成されている。
これら各モジュールは、システムバス101を介して互
いにデータのやりと合りを行い、接続機器の制御処理を
行う。
FIG. 16 shows a general multi-CPU PC.
Here is an example. One PC is configured by connecting a plurality of CPU modules for executing programs, performing data arithmetic processing, and the like, a plurality of I / O modules for inputting and outputting process data to and from control devices, and a communication module (not shown).
These modules exchange data with each other via the system bus 101 and perform control processing of connected devices.

【0004】PCが複数のCPUモジュール102を備
えるマルチCPU構成の場合、各CPUモジュール10
2はそれぞれ個別に動作する。よって従来から行われて
いる入出力制御方式では、CPUモジュール102によ
るI/Oモジュール103などからのプロセスデータの
取込みや、I/Oモジュールなどへのプロセスデータの
出力を行う入出力処理は、各CPUモジュール102間
で非同期に行われる。
When the PC has a multi-CPU configuration including a plurality of CPU modules 102, each CPU module 10
2 operate individually. Therefore, in the input / output control method that has been conventionally performed, input / output processing for taking in process data from the I / O module 103 or the like by the CPU module 102 or outputting process data to the I / O module or the like is performed by each It is performed asynchronously between the CPU modules 102.

【0005】このため各CPUモジュール102間では
同期したデータを使用した処理は行っていない。さらに
I/Oモジュール103へのプロセスデータの出力につ
いても、各CPUモジュール102は独自のタイミング
で出力しているので、I/Oモジュール103へのプロ
セスデータの出力は各CPUモジュール102間で同期
していない。
For this reason, processing using synchronized data is not performed between the CPU modules 102. Further, regarding the output of the process data to the I / O module 103, the output of the process data to the I / O module 103 is synchronized between the respective CPU modules 102 since each CPU module 102 outputs the output at its own timing. Not.

【0006】各I/Oモジュール103は、接続機器か
らのプロセスデータの出力をリアルタイムで行い、また
CPUモジュール102からのデータをリアルタイムで
必要とする。よって、複数のCPUモジュール102が
連携して処理を行う場合には、CPUモジュール102
間やタスク間で同期が行われていないと異なるデータを
同じデータと認識して処理してしまうなどの問題が生じ
る場合がある。
Each I / O module 103 outputs process data from a connected device in real time, and requires data from the CPU module 102 in real time. Therefore, when a plurality of CPU modules 102 perform processing in cooperation with each other,
If synchronization is not performed between tasks or tasks, different data may be recognized as the same data and processed.

【0007】上記問題点を考慮し、CPUモジュール間
やマルチタスク処理時のタスク間で同期してデータのや
り取りを行うことを可能としたものとして、本出願と同
一出願人による特開平11−338523号「プログラ
マブルコントローラにおける入出力制御方式」(以下先
願の方式という)がある。
In consideration of the above problems, it has been proposed that data can be exchanged synchronously between CPU modules or between tasks in multitask processing by Japanese Patent Application Laid-Open No. 11-338523 by the same applicant as the present application. No. "I / O control method in programmable controller" (hereinafter referred to as the prior application method).

【0008】先願の方式では、各CPUモジュール10
2内で、システムバス101の転送速度と同じ速度で実
行プロセッサにタクト割込みを一定周期で発生させ、各
CPUモジュール102内の実行プロセッサが、このタ
クト割込みの発生周期(タクト周期)に同期させてI/
Oモジュール103に対する入出力処理を行うことによ
ってCPUモジュール102間の同期処理を実現してい
る。
In the method of the prior application, each CPU module 10
2, a tact interrupt is generated in the execution processor at a constant cycle at the same speed as the transfer speed of the system bus 101, and the execution processor in each CPU module 102 synchronizes with the generation cycle (tact cycle) of the tact interrupt. I /
By performing input / output processing with respect to the O module 103, synchronous processing between the CPU modules 102 is realized.

【0009】[0009]

【発明の解決しようとする課題】ところで、システムの
信頼性を向上させるためCPUモジュールをデュプレッ
クス構成にして冗長性を持たせる場合がある。例えば、
図16の構成において、CPUモジュール102−1,
102−3を稼動側とし、CPUモジュール102−
2,102−4をその待機側とする。そして稼動側のC
PUモジュール102−1や101−3にエラーが生じ
ると対応する待機側のCPUモジュール102−2や1
01−4が稼動状態に切り替ってエラーが生じたCPU
モジュール102の代わりに処理を務める。
Incidentally, in order to improve the reliability of the system, there is a case where the CPU module is provided with redundancy by using a duplex configuration. For example,
In the configuration of FIG.
102-3 is the operating side, and the CPU module 102-
2, 102-4 is the standby side. And C on the working side
When an error occurs in the PU module 102-1 or 101-3, the corresponding CPU module 102-2 or 1
CPU in which an error has occurred due to the switching of the operating state to 01-4
Acts instead of module 102.

【0010】この様なデュプレックス構成の場合、切り
替り時に処理を引き継げるように、稼動側CPUモジュ
ール102−1,102−3から待機側のCPUモジュ
ール102−2,102−4に対して制御データの等値
化が行われる。先願の方式の様にPCが特定周期(タク
ト周期)によりCPUモジュール間やIOモジュールな
どとの間で制御データの受け渡しを行い、タクト周期に
同期してタスクを実行する構成においては、上記データ
の等値化の処理を行う場合、以下の問題点がある。 1)図17は等値化処理のタイミングを示す図である。
同図に示すように、先願の方式で等値化処理を行った場
合、デフォルトタスクの終了(タスクエンド)のタイミ
ングでシステムの等値化処理を行うことになる。この等
値化処理を行っている間、定周期タスクは処理を行え
ず、CPUが空くのを待つことになる。よって等値化処
理にCPUが取られる時間が長いと、定周期タスクはそ
の分CPUが解放されるのを待つこととなり、処理の定
周期性が崩される。 2)1フレーム内に格納されている等値化処理の為のデ
ータが1タクト周期内に処理しきれない大きさのもので
あった場合、タクト周期が伸びてしまう。従ってタクト
周期に同期して実行されている定周期タスクの周期も大
きくなってしまう。 3)等値化処理の為のデータを格納しているフレーム内
に、その等値化データがどのタイミングで収集されたデ
ータなのかを示す情報が無いので収集したデータの同期
保証が出来ない。 4)全フレームのデータ収集の同期を保証しなければな
らないのに、送り出すデータを収集している間に、通常
のフレームを送信してしまうと、不定なデータが送られ
てしまい、データの同期保証ができない。 5)稼動側CPU用と待機側CPU用とで、等値化デー
タの収集、及びアプリケーションデータ領域への分配に
それぞれ転送テーブルを必要とするが、この転送テーブ
ルを用意するためにメモリ資源を多く消費してしまう。
In the case of such a duplex configuration, control data of the control data is sent from the active CPU modules 102-1, 102-3 to the standby CPU modules 102-2, 102-4 so that the processing can be taken over at the time of switching. Equalization is performed. In the configuration in which the PC transfers control data between CPU modules or IO modules in a specific cycle (tact cycle) as in the method of the prior application, and executes a task in synchronization with the tact cycle, When the equalization process is performed, there are the following problems. 1) FIG. 17 is a diagram showing the timing of the equalization processing.
As shown in the figure, when the equalization processing is performed by the method of the prior application, the system equalization processing is performed at the end of the default task (task end). While this equalization processing is being performed, the periodic task cannot perform processing, and waits for the CPU to become free. Therefore, if the time taken by the CPU for the equalization processing is long, the periodic task waits for the release of the CPU, and the periodicity of the processing is broken. 2) If the data for equalization processing stored in one frame is of a size that cannot be processed within one tact cycle, the tact cycle is extended. Therefore, the period of the fixed-period task executed in synchronization with the tact period also increases. 3) Since there is no information indicating the timing at which the equalized data is collected in the frame storing the data for the equalization processing, synchronization of the collected data cannot be guaranteed. 4) Although the synchronization of data collection for all frames must be guaranteed, if a normal frame is transmitted while data to be sent is being collected, indefinite data will be sent, and data synchronization will occur. I cannot guarantee it. 5) A transfer table is required for collecting the equalized data and distributing it to the application data area for each of the active CPU and the standby CPU, but a large amount of memory resources are required to prepare the transfer table. Consume it.

【0011】上記問題点を鑑み、本発明は定周期タスク
の定周期性を崩さずに、等値化処理を実現する仕組を持
つプログラマブルコントローラ及び等値化方法を提供す
ることを課題とする。
In view of the above problems, an object of the present invention is to provide a programmable controller having a mechanism for realizing equalization processing without breaking the periodicity of a periodic task, and an equalization method.

【0012】また不定な等値化データを待機側に送信し
たり、無駄なフレームを送信しないようにする仕組を持
つプログラマブルコントローラを提供することを課題と
する。
It is another object of the present invention to provide a programmable controller having a mechanism for preventing transmission of indefinite equalized data to a standby side and transmission of useless frames.

【0013】更に待機側では、受信データで分配処理が
完了する前のデータを破壊したり、不定なデータをアプ
リケーションデータ領域に分配しない仕組を持つプログ
ラマブルコントローラを提供することを課題とする。
It is still another object of the present invention to provide a programmable controller having a mechanism for destroying data before distribution processing is completed with received data or distributing indefinite data to an application data area.

【0014】また資源を有効利用し、更に等値化データ
の収集、分配のパフォーマンスを向上させる仕組を持つ
プログラマブルコントローラを提供することを課題とす
る。更に高速に制御データの等値化処理を行うことが出
来るプログラマブルコントローラを提供することを課題
とする。
It is another object of the present invention to provide a programmable controller having a mechanism for effectively using resources and improving the performance of collecting and distributing equalized data. It is another object of the present invention to provide a programmable controller capable of performing control data equalization processing at high speed.

【0015】[0015]

【課題を解決するための手段】上記問題点を解決するた
め、本発明によるプログラマブルコントローラは、2重
化して冗長性を持たせた1乃至複数組のCPUを持ち、
稼動側CPUと待機側CPUとの間でデータの等値化を
行うことを前提とし、等値化データ収集手段、定周期タ
スク実行手段及び等値化データ送信手段を備える。
In order to solve the above problems, a programmable controller according to the present invention has one or a plurality of sets of CPUs which are duplicated and have redundancy.
It is assumed that data equalization is performed between the active CPU and the standby CPU, and includes an equalized data collection unit, a periodic task execution unit, and an equalized data transmission unit.

【0016】等値化データ収集手段は、上記稼動側CP
Uは、等値化対象としているデータを収集する。等値化
データ送信手段は、上記等値化データ収集手段が収集し
たデータを等値化フレームによって上記待機側CPUに
送信する。
[0016] The equalized data collecting means is provided by the operating side CP.
U collects data to be equalized. The equalized data transmitting means transmits the data collected by the equalized data collecting means to the standby CPU in an equalized frame.

【0017】定周期タスク実行手段は、上記上記等値化
データ収集手段による収集処理中に定周期タスクを開始
するタイミングになった時、該収集処理完了後上記等値
化データ送信手段によるデータの送信開始前に該定周期
タスクを実行する。
The fixed-period task executing means, when it is time to start the fixed-period task during the collection processing by the equalized data collecting means, completes the data by the equalized data transmitting means after the completion of the collecting processing. The periodic task is executed before transmission starts.

【0018】この構成により、定周期タスクは等値化処
理が完了するのを待たずに実行することが出来る。また
上記等値化データ送信手段は、上記等値化データ収集手
段が収集したデータを複数の等値化フレームに分けて送
信する構成とすることが出来る。この構成により等値化
データの量が多くてもタクト周期の周期性を壊すことが
無い。またこの時各等値化フレームに等値化フレーム内
のデータの整合性をチェックする情報を格納し、これを
待機側CPUで受信した等値化フレームの上記整合性を
チェックする情報を調べて、整合性が確認された時のみ
等値化データを分配する構成にすることにより、整合性
が取れた等値化データのみが等値化される。
With this configuration, the periodic task can be executed without waiting for the equalization process to be completed. Further, the equalized data transmitting means may be configured to transmit the data collected by the equalized data collecting means by dividing the data into a plurality of equalized frames. With this configuration, even if the amount of the equalized data is large, the cycle of the tact cycle is not broken. At this time, information for checking the consistency of the data in the equalized frame is stored in each equalized frame, and the information for checking the consistency of the equalized frame received by the standby CPU is checked. By distributing the equalized data only when the consistency is confirmed, only the equalized data with consistency is equalized.

【0019】更に、上記等値化データ収集手段及び等値
化データ分配手段は、等値化対象となるデータの配置に
基づいて、データの収集・分配時のデータ転送に最適な
転送方式を組合わせて構成することにより、高速な等値
化処理を実現できる。
Further, the equalized data collection means and the equalized data distribution means form a transfer method optimal for data transfer at the time of data collection and distribution based on the arrangement of data to be equalized. With such a configuration, high-speed equalization processing can be realized.

【0020】[0020]

【発明の実施の形態】図1は本実施形態のPCの構成を
示す図である。本実施形態のPCでは、複数のCPUモ
ジュール2、複数のI/Oモジュール3及び通信モジュ
ール4がリング型の伝送トポロジーをもつシステムバス
1によって接続されるネットワーク構成をもつ。このシ
ステムバス1に接続されている各モジュールは、そのネ
ットワーク上での通信局としてそれぞれを一意に識別す
る局番が設定されている。また各CPUモジュール2
は、1対1のデュプレックス構成にして冗長性を持たせ
てあり、図1ではCPU1〜CPU4が稼動側、CPU
5〜CPU8が稼動側それぞれに1対1対応する待機側
となっている。
FIG. 1 is a diagram showing the configuration of a PC according to this embodiment. The PC of the present embodiment has a network configuration in which a plurality of CPU modules 2, a plurality of I / O modules 3, and a communication module 4 are connected by a system bus 1 having a ring-type transmission topology. Each module connected to the system bus 1 is set with a station number for uniquely identifying each module as a communication station on the network. In addition, each CPU module 2
Is a one-to-one duplex configuration to provide redundancy. In FIG.
5 to the CPU 8 are standby sides that correspond one-to-one with each of the active sides.

【0021】モジュール間の通信は、データ送信を行う
モジュールが、送信先を局番で指定したフレームをシス
テムバス1上に送信する。このフレームは、システムバ
ス1上を一定方向に巡回し、システムバス1上の各局
は、上流局から送信されてきたフレームが自局宛のもの
でなければそのまま下流局に送り、自局宛のものあれば
それを取込む。これによってシステムバス1上をフレー
ムが一定方向に巡回する。
For communication between modules, a module that performs data transmission transmits a frame on which a transmission destination is specified by a station number to the system bus 1. This frame circulates on the system bus 1 in a fixed direction, and each station on the system bus 1 sends the frame transmitted from the upstream station to the downstream station if it is not addressed to the own station, and sends the frame to the own station. If there is, take it in. As a result, the frame circulates on the system bus 1 in a certain direction.

【0022】本実施形態では、稼動側CPUから待機側
CPUへ送信される等値化データは、マルチキャスト方
式によるデータ通信によって転送される。以下にマルチ
キャスト方式によるデータ転送について説明する。
In the present embodiment, the equalized data transmitted from the active CPU to the standby CPU is transferred by multicast data communication. Hereinafter, data transfer by the multicast method will be described.

【0023】マルチキャスト方式は、システムバス1上
にマルチキャスト通信用のフリートークンを巡回させ、
データ伝送を要求する局(出力装置に出力するための送
信データが用意されており、また当該送信帯域の送信許
可設定がされている局)はそのフリートークンを確保し
て代わりにマルチキャストフレームの送信を行う。マル
チキャストフレームはシステムバス1上を巡回し、この
マルチキャストフレームを受信したネットワーク上の局
は、それを下流へ中継して巡回させると共にフレーム内
の出力データの設定内容に基づいてデータの取込みを行
う。
In the multicast system, a free token for multicast communication is circulated on the system bus 1,
The station requesting the data transmission (the station where the transmission data to be output to the output device is prepared and the transmission permission setting of the transmission band is set) secures the free token and transmits the multicast frame instead. I do. The multicast frame circulates on the system bus 1, and the station on the network that has received the multicast frame relays and circulates it downstream, and fetches data based on the setting contents of the output data in the frame.

【0024】図2は、マルチキャスト方式による通信の
説明図である。本実施形態では、システムバス1の局の
内の1つをリングマスター局とし、このリングマスター
局によってマルチキャスト方式によるデータ転送を管理
する。また図2中のDiはI/Oモジュール3の中で入
力装置、Doは出力装置の局を示す。
FIG. 2 is an explanatory diagram of communication by the multicast method. In the present embodiment, one of the stations of the system bus 1 is a ring master station, and the ring master station manages data transfer by the multicast method. In FIG. 2, Di indicates an input device in the I / O module 3, and Do indicates an output device.

【0025】マルチキャスト方式は、稼動側CPUモジ
ュールから待機側CPUモジュールに等値化データを送
信する他に、CPUモジュール2から出力機器が接続さ
れているI/Oモジュール3に対してデータの出力を行
う時用いられるデータ転送方式である。
In the multicast method, in addition to transmitting the equalized data from the active CPU module to the standby CPU module, the CPU module 2 outputs the data to the I / O module 3 to which the output device is connected. This is the data transfer method used when performing.

【0026】マルチキャスト方式による通信では、ま
ず、システムバス1上に1つだけ存在するネットワーク
管理を行うリングマスター局が、データ転送の権限を制
御するフリートークンを生成し、システムバス1上にリ
リースする。このフリートークンのリリースによって、
マルチキャスト通信は開始される。
In the communication by the multicast method, first, a ring master station that manages only one network existing on the system bus 1 generates a free token for controlling the authority of data transfer and releases it on the system bus 1. . With the release of this free token,
Multicast communication is started.

【0027】リリースされたフリートークンは、各局が
順次下流局へ中継してゆき、システムバス1上を巡回す
る。そしてデータの出力を行いたいCPUモジュール2
は、このフリートークンを受信すると、これをシステム
バス1から確保し、マスター局となる。
The released free token is sequentially relayed by each station to downstream stations, and circulates on the system bus 1. CPU module 2 for which data is to be output
Receives this free token, secures it from the system bus 1 and becomes the master station.

【0028】マスター局は、用意してある送信データ
を、SD部にこのフレームがマルチキャスト通信のフレ
ームであることを示すデータを設定したマルチキャスト
フレームとしてシステムバス1上に流す。図2では、マ
スター局は、保持したフリートークンの代わりにDo1
局に対する出力データ(M−>Do1)とDo2局に対
する出力データ(M−>Do2)の2つの局に対する出
力データがマルチキャストフレームとして、下流局Do
2へ送信される。
The master station sends the prepared transmission data on the system bus 1 as a multicast frame in which data indicating that this frame is a multicast communication frame is set in the SD section. In FIG. 2, the master station replaces the held free token with Do1.
The output data for the two stations, the output data for the station (M-> Do1) and the output data for the Do2 station (M-> Do2), are output as multicast frames as the downstream station Do.
2 is sent.

【0029】このマルチキャストフレームを受取った局
は、そのフレーム内の出力データに設定されている出力
データの格納先の局番を参照し、この出力データが自局
に対するものであれば、それを取込むと共にそのフレー
ムをそのまま下流局へ送信する。図2では、マルチキャ
ストフレームを受信したDo2局及びDo1局はそれぞ
れ自局にあててマスタ局が出力した出力データ(M−>
Do2、M−>Do1)を取込むと共に、その受信フレ
ームをそのまま隣の下流局であるリングマスター局及び
マスター局へ送信する。
The station that has received the multicast frame refers to the station number of the storage destination of the output data set in the output data in the frame, and if the output data is for its own station, fetches it. At the same time, the frame is directly transmitted to the downstream station. In FIG. 2, the Do2 station and Do1 station that have received the multicast frame respectively correspond to their own stations and output data (M->
Do2, M-> Do1), and the received frame is transmitted as it is to the adjacent downstream ring master station and master station.

【0030】フレームが1巡すると、そのフレームを最
初に送信したマスタ局は、これをシステムバス1から除
去し、代わりにフリートークンを生成して1上にリリー
スする。
When a frame makes one round, the master station that first transmitted the frame removes it from the system bus 1 and instead generates a free token and releases it on 1.

【0031】そしてフリートークンがシステムバス1を
1巡して戻ってくると、リングマスター局はデータ伝送
要求の有無をチェックし、要求があれば当該送信データ
の送信を行う。その後、自局が送信したデータフレーム
がシステムバス1を1巡して自局に戻ってきたことでリ
ングマスター局はフリートークンをシステムバス1上か
ら除去し、これによってマルチキャスト通信は終了す
る。
When the free token returns after making a round of the system bus 1, the ring master station checks the presence or absence of a data transmission request, and if so, transmits the transmission data. Thereafter, the ring master station removes the free token from the system bus 1 when the data frame transmitted by the own station returns to the own station after making a round of the system bus 1, thereby ending the multicast communication.

【0032】尚、マルチキャスト通信に限らず、システ
ムバス1上では、リングマスター局のデータフレームは
常に最後に送信される。次に本実施形態におけるシステ
ムでの等値化処理について説明する。
The data frame of the ring master station is always transmitted last on the system bus 1, not limited to the multicast communication. Next, an equalization process in the system according to the present embodiment will be described.

【0033】図3は、本システムにおける稼動側CPU
11と待機側CPU12との間の等値化データの流れを
示す図である。同図は、稼動側CPU11とその稼動側
CPU11に対応する待機側CPU12の等値化データ
の送受信に関連する部分のみを抽出して示している。本
実施形態では、等値化データはシステムバス1を介して
マルチキャスト方式によって稼動側CPU11から待機
側CPU12へ送信される。
FIG. 3 shows an operating CPU in the present system.
FIG. 6 is a diagram showing a flow of equalized data between the CPU 11 and a standby CPU 12. FIG. 2 shows only a portion related to transmission and reception of the equalized data of the active CPU 11 and the standby CPU 12 corresponding to the active CPU 11. In the present embodiment, the equalized data is transmitted from the active CPU 11 to the standby CPU 12 via the system bus 1 by a multicast method.

【0034】稼動側CPU11では、収集処理として、
アプリケーションデータ領域14から等値化が必要なデ
ータのみスキャンしてフレーム送受信作業領域15に収
集する。そしてこの収集した等値化データをマルチキャ
スト方式で待機側CPU12に送信する(以下の説明で
は等値化データを送信するフレームを等値化フレームと
いう)。この際、等値化データ数が多く、1タクト周期
で送信出来ない量の場合、後述する様に複数のフレーム
に分けて送信することになる。フレーム送受信領域15
は、複数のフレーム領域に分かれており、各フレーム領
域が1つの送信フレームで送るデータを格納する場所と
なっている。稼動側CPU11及び待機側CPU12で
は、イニシャライズ時にシステムを構成するモジュール
数等から1タクト周期で送信できる等値化フレームサイ
ズを計算することにより、等値化データをいくつの等値
化フレームで送信するかを判断し、その分の領域及びダ
ミー領域(ダミー領域については後述する)をフレーム
送受信作業領域15に用意する。
The active CPU 11 performs a collection process as follows:
Only data requiring equalization is scanned from the application data area 14 and collected in the frame transmission / reception work area 15. Then, the collected equalized data is transmitted to the standby CPU 12 by a multicast method (a frame for transmitting the equalized data is hereinafter referred to as an equalized frame). At this time, if the number of equalized data is large and cannot be transmitted in one tact cycle, the data is divided into a plurality of frames and transmitted as described later. Frame transmission / reception area 15
Is divided into a plurality of frame areas, and each frame area is a place for storing data to be transmitted in one transmission frame. The active-side CPU 11 and the standby-side CPU 12 transmit the equalized data in a number of equalized frames by calculating an equalized frame size that can be transmitted in one tact cycle from the number of modules constituting the system at the time of initialization. Then, a corresponding area and a dummy area (the dummy area will be described later) are prepared in the frame transmission / reception work area 15.

【0035】フレーム送受信領域15内の等値化データ
は、バスコントローラ16内の送信バッファ17を介し
てマルチキャストフレームに格納されて、システムバス
1上に送信される。送信ポインタ18は、次にフレーム
送信するデータが格納されているフレーム領域を指すポ
インタでデータを送信する度に、次のフレーム領域に動
く。
The equalized data in the frame transmission / reception area 15 is stored in a multicast frame via the transmission buffer 17 in the bus controller 16 and transmitted on the system bus 1. The transmission pointer 18 moves to the next frame area every time data is transmitted with a pointer pointing to a frame area in which data to be transmitted next is stored.

【0036】待機側CPU12では、このマルチキャス
トフレームを受信し、バスコントローラ16内の受信バ
ッファ19を介してフレーム送受信作業領域15に各受
信フレーム毎に格納する。尚この時フレーム送受信領域
15の格納位置を受信ポインタ20によってポイント
し、受信ポインタ20はフレームを受信する度に次のフ
レーム領域に動く。フレーム送受信作業領域15に格納
された等値化データは、アプリケーションデータ領域1
4へ古い等値化データを上書きする形で分配され、格納
されてゆく。そして待機側CPU12が稼動側に切り替
わった際には、アプリケーションプログラムはこのアプ
リケーションデータ領域14内のデータを用いて稼動側
CPU11上のアプリケーションプログラムの処理を引
き継ぐ。
The standby CPU 12 receives the multicast frame and stores it in the frame transmission / reception work area 15 via the reception buffer 19 in the bus controller 16 for each received frame. At this time, the storage position of the frame transmission / reception area 15 is pointed by the reception pointer 20, and the reception pointer 20 moves to the next frame area every time a frame is received. The equalized data stored in the frame transmission / reception work area 15 is stored in the application data area 1
4 is distributed and stored in such a manner that old equivalent data is overwritten. Then, when the standby CPU 12 is switched to the active side, the application program takes over the processing of the application program on the active side CPU 11 using the data in the application data area 14.

【0037】本システムでは、等値化処理を行うタスク
(以下等値化タスクという)を、等値化データの収集処
理(等値化準備)と等値化データを送信する処理とに分
ける。このうち収集処理は、デフォルトタスクのタスク
実行処理終了のタイミングで行う。また等値化データ送
信処理は、タスク実行とは独立にし、定周期タスクと並
列に行わせるようにする。また、等値化データの量が多
い場合、等値化データを複数のフレームに分けて送信
し、これら各等値化フレームの送信処理はそれぞれ独立
させてある。この様に本実施形態では、等値化処理を複
数の細かい処理に分けてそれぞれを独立させてある。従
って等値化処理が開始された後に定周期タスクを実行さ
せなければならなくなっても、等値化処理が完了するの
を待たずに、細かく分けた処理と処理の間に定周期タス
クを割込ませ、定周期タスクが完了したら等値化処理に
戻ることが出来る。この構成により、等値化データの量
が多く等値化処理に多くの時間がかかる場合において
も、定周期タスクの定周期性を崩さないで、等値化処理
を行うことが出来る。
In the present system, a task for performing equalization processing (hereinafter, referred to as an equalization task) is divided into equalization data collection processing (equalization preparation) and transmission processing of equalization data. The collection processing is performed at the end of the task execution processing of the default task. Further, the equalized data transmission processing is performed independently of the task execution, and is performed in parallel with the periodic task. When the amount of the equalized data is large, the equalized data is divided into a plurality of frames and transmitted, and the transmission processing of each of the equalized frames is made independent. As described above, in the present embodiment, the equalization processing is divided into a plurality of fine processings, each of which is independent. Therefore, even if the periodic task has to be executed after the equalization process is started, the fixed-cycle task is divided between the subdivided processes without waiting for the equalization process to be completed. When the periodic task is completed, the process can return to the equalization process. With this configuration, even when the amount of the equalized data is large and the equalizing process takes a long time, the equalizing process can be performed without breaking the periodicity of the periodic task.

【0038】図4は、定周期タスク、デフォルトタスク
及び等値化タスクによる等値化データの収集・送信のタ
イミングを示すタイミング図である。同図中の縦線はタ
クト割込みを示し、このタクト割込みの間が1つのタク
ト周期となる。また各タスク処理は、IOデータの入力
処理(網かけ部分)、IOデータの出力処理(斜線部
分)、計算処理等入出力処理以外のタスク実行処理(無
地部分)に分けて示してある。
FIG. 4 is a timing chart showing the timing of collecting and transmitting the equalized data by the periodic task, the default task, and the equalization task. The vertical line in the figure indicates a tact interrupt, and one tact cycle is between tact interrupts. Each task process is divided into an IO data input process (shaded portion), an IO data output process (shaded portion), and a task execution process (solid portion) other than the input / output process such as a calculation process.

【0039】図4での「デフォルトタスクエンド有
り」、「デフォルトタスク起動禁止」、「デフォルトタ
スクO禁止」及び「収集要求」は、稼動側CPU11上
に設けられた状態フラグの変化を示してる。また「送信
ポインタ」は、送信ポインタがどのフレーム領域を指し
ているかを示している。「等値化タスクのステート」
は、等値化処理を行うタスクの処理状態を示している。
In FIG. 4, “default task end”, “default task start prohibition”, “default task O prohibition”, and “collection request” indicate changes in the status flags provided on the active CPU 11. The “transmission pointer” indicates which frame area the transmission pointer points to. "State of the Equalization Task"
Indicates the processing state of the task that performs the equalization processing.

【0040】「デフォルトタスクエンド有り」フラグ
は、等値化対象のデータの収集タイミングを作るフラグ
で、デフォルトタスクのタスク実行処理が終了するとO
N(1)になり、等値化対象のデータの収集処理が終了
するとOFF(0)となる。
The “default task end present” flag is a flag for creating a timing for collecting data to be equalized, and is set to “O” when the task execution processing of the default task ends.
It becomes N (1), and it becomes OFF (0) when the collection processing of the data to be equalized ends.

【0041】「デフォルトタスク起動禁止」フラグは、
等値化処理が行われている期間を示すフラグで、デフォ
ルトタスクの実行処理が終了して「デフォルトタスクエ
ンド有り」フラグがONとなった状態で新たなタクト周
期に入るとONとなり、全ての等値化データの送信が完
了して等値化処理が完了するとOFFとなる。このフラ
グがONの間、定周期タスクの起動は許可されるが、デ
フォルトタスクの起動は禁止される。
The "default task activation prohibition" flag is
This flag indicates the period during which the equalization processing is being performed. When the default task execution processing is completed and the “default task end present” flag is set to ON and a new tact cycle is entered, it is set to ON. When the transmission of the equalization data is completed and the equalization processing is completed, the signal is turned off. While this flag is ON, activation of the periodic task is permitted, but activation of the default task is prohibited.

【0042】「デフォルトタスクO禁止」フラグは、デ
フォルトタスクによる出力処理の開始を等値化処理が完
了するまで待たせるフラグで、デフォルトタスクのタス
ク実行処理が終了するとONとなり、最後の等値化フレ
ームの送信を開始するとOFFとなる。このフラグがO
FFになってからデフォルトタスクはIOデータ出力処
理を開始する。
The "default task O prohibition" flag is a flag that causes the start of output processing by the default task to wait until the equalization processing is completed. When the transmission of the frame is started, it becomes OFF. If this flag is O
After becoming FF, the default task starts IO data output processing.

【0043】「収集要求」は、等値化処理を行うタスク
が収集処理を可能な期間を示すフラグで、「デフォルト
タスク起動禁止」フラグと共にONとなり、収集処理が
完了するとOFFとなる。
The "collection request" is a flag indicating a period during which the task performing the equalization process can perform the collection process. The flag is turned on together with the "default task start prohibition" flag, and is turned off when the collection process is completed.

【0044】図4の41部分に示す様に、デフォルトタ
スクのタスク実行処理の終了に対応して「デフォルトタ
スクエンド有り」フラグがONになる。これにより等値
化データの収集、送信処理(システムデータ処理)を開
始できるようになる。「デフォルトタスクエンド有り」
フラグがONになると次のタクト割込みで「収集要求フ
ラグ」がONとなる。定周期タスクのIO入力処理が完
了した時、この「収集要求フラグ」の状態を見て、ON
となっていれば等値化データの収集処理を開始する。そ
して収集処理が完了すると、収集した等値化データの待
機側CPUへの送信処理を行う。
As shown at 41 in FIG. 4, the "default task end exists" flag is turned on in response to the end of the task execution processing of the default task. Thereby, the collection and transmission processing (system data processing) of the equalized data can be started. "Default task end"
When the flag is turned on, the “collection request flag” is turned on at the next tact interrupt. When the IO input processing of the periodic task is completed, the status of this “collection request flag” is
If so, the collection processing of the equalized data is started. When the collection process is completed, a process of transmitting the collected equalized data to the standby CPU is performed.

【0045】この等値化データの収集、送信処理を行っ
ている間、「デフォルトタスクO禁止」フラグをONに
して、デフォルトタスクの出力処理がこの収集、送信処
理に割り込むことを禁止する。しかしこの間、定周期タ
スクに対しては処理に割込んで起動することを許可す
る。これにより定周期タスクは定周期性を崩さずに処理
を実行することが出来る。
During the collection and transmission processing of the equalized data, the "default task O prohibition" flag is turned on to inhibit the output processing of the default task from interrupting the collection and transmission processing. However, during this period, the periodic task is permitted to be started by interrupting the processing. As a result, the periodic task can execute processing without breaking the periodicity.

【0046】また本システムでは、稼動側CPUと待機
側CPUとの間で等値化を行うデータの数が多く、待機
側CPUに送信する量が多い場合、システムで取り決め
た1タクト周期内で送信できる大きさに等値化データを
分割し、これらを固定サイズの複数の等値化フレームに
分けて格納し、タクト周期に同期して1フレームづつ送
信する。図4の42部分ではN個のフレームに分割して
等値化データを送信した場合を示している。
Further, in this system, when the number of data to be equalized between the active CPU and the standby CPU is large and the amount of data to be transmitted to the standby CPU is large, within one tact cycle decided by the system. The equalized data is divided into a size that can be transmitted, these are divided into a plurality of equalized frames of a fixed size, stored, and transmitted one frame at a time in synchronization with the tact cycle. The portion 42 in FIG. 4 shows a case where the data is divided into N frames and the equalized data is transmitted.

【0047】等値化データを待機側CPUへ送信する等
値化フレームの構成例を図5に示す。図5の等値化フレ
ームは、マルチキャスト方式で送信されるフレームで、
CPU間マルチキャストフレームヘッダ部とデータ部に
分けられる。このうちCPU間マルチキャストフレーム
ヘッダ部には、フレームの種類を知らせるFC、フレー
ムの大きさを示すTS、自CPUモジュールのシステム
バス1上のアドレスSA、送信先である待機側CPUモ
ジュールのアドレスDA、等値化フレーム部分の大きさ
を示すサイズが格納されている。また、データ部には等
値化データの他に、受信したフレーム内の等値化データ
の整合性をチェックする為のシリアルNo. 及びフレーム
No. が格納されている。このシリアルNo. とフレームN
o. については後述する。
FIG. 5 shows a configuration example of an equalization frame for transmitting the equalization data to the standby CPU. The equalized frame in FIG. 5 is a frame transmitted by the multicast method,
It is divided into a CPU multicast frame header part and a data part. Among them, the multicast frame header section between CPUs includes FC indicating the type of the frame, TS indicating the size of the frame, address SA of the own CPU module on the system bus 1, address DA of the standby CPU module which is the transmission destination, A size indicating the size of the equalized frame portion is stored. In the data part, in addition to the equalized data, the serial number and frame for checking the consistency of the equalized data in the received frame
No. is stored. This serial No. and frame N
o. will be described later.

【0048】この等値化フレームは固定長で、1タクト
周期内で送信できる最大のデータサイズからシステムが
求めた大きさになっている。図6は、1タクト周期内に
稼動側CPUから送信されるデータを示す図である。1
タクト周期内には等値化データの他に、I/Oモジュー
ル3や通信モジュール4等のシステムを構成している他
のモジュールへの送信データであるシステム制御データ
が送信される。このシステム制御データを送信するフレ
ームには、I/Oモジュール3への出力データを含む制
御IO入出力フレーム、モジュールの各種ステータスを
含む状態フレーム及び通信モジュールへのメッセージを
含むメッセージフレームがある。
The equalized frame has a fixed length, and has a size determined by the system from the maximum data size that can be transmitted within one tact cycle. FIG. 6 is a diagram illustrating data transmitted from the active CPU within one tact cycle. 1
In the tact period, in addition to the equalized data, system control data that is transmission data to other modules constituting the system such as the I / O module 3 and the communication module 4 is transmitted. The frames for transmitting the system control data include a control IO input / output frame including output data to the I / O module 3, a status frame including various statuses of the module, and a message frame including a message to the communication module.

【0049】稼動側CPU及び待機側CPUでは、1タ
クト周期内に送信できる最大データサイズとこのシステ
ム制御データの大きさを考慮して、1フレームに格納す
る等値化データの数を可変制御する。稼動側CPU及び
待機側CPUは、システムを構成するモジュールの種類
や数から、等値化フレームの大きさを決定するが、基本
的には、システム構成が大きくなればなるほど1フレー
ムで送信できる等値化データサイズは小さくなり、シス
テム構成が小さければ小さいほど大きくなる。
The active CPU and the standby CPU variably control the number of equalized data to be stored in one frame in consideration of the maximum data size that can be transmitted within one tact cycle and the size of the system control data. . The active-side CPU and the standby-side CPU determine the size of the equalization frame from the type and number of modules constituting the system. Basically, the larger the system configuration, the more the frame can be transmitted in one frame. The value data size becomes smaller, and the smaller the system configuration is, the larger it becomes.

【0050】この等値化フレームに格納できる等値化デ
ータの大きさ(等値化データ数)は、システム制御デー
タ数と等値化データ数から式(1) の様に求まる。 1タクト周期内で送信できる最大データサイズ=システム制御データサイズ+ 等値化データサイズ・・(1) 式(1) でシステム制御データサイズは、図6の制御IO
入出力フレーム、状態フレーム及びメッセージフレーム
で送信される制御用のI/Oモジュール3に対する入出
力データ、通信モジュール4へのメッセージデータ及び
各種ステータスの大きさを加えたものである。よって、
等値化データサイズは、式(2) に示すように1タクト周
期で転送できる最大のフレームでのデータサイズから、
システム制御データサイズを引いたものである。 等値化データサイズ=1タクト周期内で送信できる最大データサイズ−システ ム制御データサイズ・・(2) 本実施形態では等値化データを複数のフレームに分割し
て送信するため、これを受信する待機側CPUで受信フ
レームの整合性をチェック出来るように、等値化データ
を送信する等値化フレームには、フレームNo. 及びシリ
アルNo. を挿入してある。
The size of the equalized data (the number of equalized data) that can be stored in the equalized frame is obtained from the number of system control data and the number of equalized data as shown in equation (1). Maximum data size that can be transmitted within one tact cycle = system control data size + equalized data size (1) In equation (1), the system control data size is the control IO of FIG.
The input / output data for the control I / O module 3 transmitted in the input / output frame, the status frame, and the message frame, the message data to the communication module 4, and the size of various statuses are added. Therefore,
The equalized data size is calculated from the data size of the largest frame that can be transferred in one tact cycle as shown in equation (2).
The system control data size is subtracted. Equalized data size = Maximum data size that can be transmitted within one tact cycle-System control data size ... (2) In the present embodiment, since the equalized data is divided into a plurality of frames and transmitted, this is received. A frame number and a serial number are inserted in the equalized frame for transmitting the equalized data so that the consistency of the received frame can be checked by the standby CPU.

【0051】図7は、等値化データを3つのフレームに
分けて送信する場合を例とした、稼動側CPUでのフレ
ーム送信時、及び待機側CPUがフレーム受信時のフレ
ーム送受信作業領域15と送信ポインタ18及び受信ポ
インタ20の状態を示す図である。
FIG. 7 shows an example in which the equalized data is divided into three frames and transmitted. When the active CPU transmits a frame, and when the standby CPU receives a frame, the frame transmission / reception work area 15 is used. FIG. 3 is a diagram illustrating states of a transmission pointer 18 and a reception pointer 20.

【0052】稼動側CPUでは、収集処理により収集さ
れた等値化データは、フレーム送受信作業領域15の3
つのフレーム領域に分けて格納される。そして送信ポイ
ンタ18の指すフレーム領域のデータから順次等値化フ
レームに格納されて送信される。これらの等値化フレー
ムにはフレームNo. 及びシリアルNo. が格納されてお
り、図7のシステムバス領域部分に記されているx/y
が各フレーム内のフレームNo. 、Ser.zがシリアルNo.
を表している。
In the active CPU, the equalized data collected by the collection processing is stored in the frame transmission / reception work area 15.
And stored in one frame area. Then, the data is sequentially stored in an equalized frame from the data in the frame area indicated by the transmission pointer 18 and transmitted. A frame number and a serial number are stored in these equalized frames, and x / y described in the system bus area of FIG.
Is the frame No. in each frame, and Ser.z is the serial No.
Is represented.

【0053】フレームNo. は、複数に分割された等値化
データのうちの何番目かを示す番号で同図ではx/yで
表されているもののうちのy部分が分割した数、x部分
がそのうちの何番目のデータにあたるかを示しx部分が
そのうちの何番目のデータにあたるかを示す。同図の場
合3つのフレームに分割されているので、フレームNo.
は、1/3〜3/3の値を取る。このフレームNo. は待
機側CPUで、等値化フレームが飛ばされずに到達して
いるかをチェックするのに用いる。
The frame No. is a number indicating the number of the equalized data divided into a plurality of parts. In FIG. 3, the number represented by x / y in FIG. Indicates the number of the data, and the x part indicates the number of the data. In the case of the figure, since the frame is divided into three frames, the frame No.
Takes a value of 1/3 to 3/3. This frame number is used by the standby CPU to check whether the equalized frame has arrived without being skipped.

【0054】シリアルNo. は、そのフレームがどの等値
化処理に対する等値化データを含むフレームかを示すも
ので、稼動側CPUで等値化データの収集処理を行う毎
に1,2,・・と番号がインクリメントされて付せられ
る。シリアルNo. は、収集したデータの同期を保証する
ために用いられ、待機側CPUは、同一のシリアルNo.
が付せられているフレームは同じ処理処理によって集め
られた等値化データの一部と認識して処理する。
The serial number indicates which equalization process the frame contains the equalized data. Each time the active CPU collects the equalized data, 1, 2,.・ The number is incremented. The serial number is used to guarantee the synchronization of the collected data, and the standby CPU uses the same serial number.
The frames marked with are recognized and processed as a part of the equalized data collected by the same processing.

【0055】稼動側CPUでは、収集処理が完了すると
フレーム送受信作業領域15内の送信ポインタ18が指
すフレーム領域内の等値化データをマルチキャスト送信
により待機側CPUに送信する。この時、各等値化フレ
ームには、同じシリアルNo.を格納し、また送信順に例
えば1,2,・・とその順番が分るようにフレームNo.
を格納する。
When the collection processing is completed, the active CPU transmits the equalized data in the frame area indicated by the transmission pointer 18 in the frame transmission / reception work area 15 to the standby CPU by multicast transmission. At this time, the same serial number is stored in each of the equalized frames, and the frame numbers are set in the transmission order, for example, 1, 2,.
Is stored.

【0056】またアプリケーションデータ領域14から
等値化データを収集している間等、全等値化データの送
信完了後次の等値化データを送信するまでの間、稼動側
CPUは等値化データを含まないダミーフレームを待機
側CPUに送信する。このダミーフレームには、シリア
ルNo. として予め決められた特別な番号が設定されてお
り、フレームを受信した待機側CPUでは、受信フレー
ムのシリアルNo. にこの番号が格納されているとこのフ
レームがダミーフレームであるとを認識する。そして待
機側CPUは、ダミーフレームを受信することにより、
稼動側CPUでは1つの収集処理によって集められた等
値化データを送信する全ての等値化フレームの送信を完
了したと認識する。図7の場合、ダミーフレームにはシ
リアルNo. として0が格納されている。
After the transmission of all the equalized data is completed, such as while collecting the equalized data from the application data area 14, until the next equalized data is transmitted, the operating CPU is equalized. A dummy frame containing no data is transmitted to the standby CPU. This dummy frame is set with a special number that is determined in advance as a serial number. When the standby CPU that has received the frame stores this number in the serial number of the received frame, this frame is identified. Recognize that the frame is a dummy frame. Then, the standby CPU receives the dummy frame,
The active CPU recognizes that transmission of all the equalized frames for transmitting the equalized data collected by one collection process has been completed. In the case of FIG. 7, 0 is stored as a serial number in the dummy frame.

【0057】待機側CPUは、稼動側CPUが複数のフ
ァイルに分割して送った等値化データを全て正常に受信
した場合にのみ、アプリケーションデータ領域14に等
値化データを分配する。この受信した等値化データの整
合性のチェックは、フレームNo. 及びシリアルNo. によ
って行われる。
The standby CPU distributes the equalized data to the application data area 14 only when all the equalized data transmitted by the operating CPU after being divided into a plurality of files are normally received. The consistency check of the received equalized data is performed based on the frame number and the serial number.

【0058】待機側CPUは、ダミーフレームを受信す
ると全ての等値化データを受信したと判断して、全等値
化フレームのフレームNo. とシリアルNo. から受信した
等値化データの整合性を調べる。そして問題なければ、
フレーム送受信作業領域15からアプリケーションデー
タ領域14に等値化データを分配する。
When the standby CPU receives the dummy frame, it determines that all the equalized data has been received, and matches the consistency of the equalized data received from the frame No. of all the equalized frames with the serial No. Find out. And if no problem,
The equalized data is distributed from the frame transmission / reception work area 15 to the application data area 14.

【0059】待機側CPUは、稼動側CPUが送り出す
ことになっている等値化フレームのフレームNo. 及びシ
リアルNo. と、実際に受信した等値化フレーム内のフレ
ームNo. 及びシリアルNo. とを比較する。そして両者が
一致すれば、これをアプリケーションデータ領域14に
分配し、一致しなければ伝送異常等によりフレームが欠
落したなど正常にフレームが届かなかったので、受信デ
ータを破棄する。
The standby CPU sends the frame number and the serial number of the equalized frame to be sent out by the active CPU and the frame number and the serial number of the actually received equalized frame. Compare. If they match, the data is distributed to the application data area 14. If they do not match, the received data is discarded because the frame has not arrived normally because the frame was lost due to a transmission error or the like.

【0060】図7の71部分には両者が一致し、受信デ
ータを等値化データとしてアプリケーション領域14に
分配する場合を、又同図72部分には両者が一致せず、
送られてきた等値化データを破棄してアプリケーション
データ領域14への等値化データの分配は行わない場合
を示す。同図71部分の場合、受信した等値化フレーム
のシリアルNo. が全て1で、フレームNo. が1/3,2
/3,3/3の順だったので正常の受信として、フレー
ム送受信作業領域15からアプリケーションデータ領域
14に受信した等値化データを分配している。また72
部分では受信した等値化フレームにシリアルNo. が1の
ものと2のものがあるので、これらの受信フレーム内の
等値化データはアプリケーションデータ領域14へ分配
せずに破棄している。
In the case where the two coincide with each other at 71 in FIG. 7 and the received data is distributed to the application area 14 as the equalized data.
A case where the transmitted equalized data is discarded and the equalized data is not distributed to the application data area 14 is shown. In the case of FIG. 71, the serial numbers of the received equalized frames are all 1 and the frame numbers are 1/3 and 2
Since the order was / 3, 3/3, the received equalized data is distributed from the frame transmission / reception work area 15 to the application data area 14 as normal reception. Also 72
In the part, the received equalized frames include those with serial numbers 1 and 2, so the equalized data in these received frames is discarded without being distributed to the application data area 14.

【0061】また稼動側CPUは、全フレームのデータ
収集の同期を保証するため、等値化データを全て送信し
てから新たな等値化データの収集処理が完了するまで、
ダミーフレームを送信する。収集処理が完了する前に等
値化データを送信してしまうと不定なデータが送られて
しまうので、稼動側CPUでは、最後の等値化フレーム
を送信してから次の収集処理が完了するまでの間、送信
ポインタ18をダミー領域のアドレスであるダミーアド
レスに固定しておき、ダミーフレームを送信する。
Further, in order to guarantee synchronization of data collection of all frames, the active side CPU transmits all the equalized data until transmission of new equalized data is completed.
Transmit a dummy frame. If the equalized data is transmitted before the collection processing is completed, indefinite data will be sent. Therefore, the active CPU transmits the last equalized frame and then completes the next collection processing. During this period, the transmission pointer 18 is fixed to the dummy address which is the address of the dummy area, and the dummy frame is transmitted.

【0062】この時待機側CPUでは、アプリケーショ
ンデータ領域14への等値化データの分配処理を行って
いるが、フレーム送受信作業領域15内の等値化データ
がダミーフレームのデータで上書きされないように、こ
の分配処理が終るまで、受信ポインタ20をフレーム送
受信作業領域15内のダミーアドレスに固定しておく。
これにより、受信したダミーフレームは、ダミーアドレ
スの指す等値化データが未格納な領域に格納され、等値
化データが格納されているフレーム送受信作業領域15
への上書きがされないようになっている。尚等値化デー
タの分配処理が終了したら、受信フレームがまたダミー
フレームであっても受信ポインタ20を通常の等値化フ
レームの受信位置に戻す。ただこの場合ダミーフレーム
を受信している間は、受信ポインタ20は移動させな
い。
At this time, the standby CPU distributes the equalized data to the application data area 14, but the equalized data in the frame transmission / reception work area 15 is not overwritten by the data of the dummy frame. The reception pointer 20 is fixed at a dummy address in the frame transmission / reception work area 15 until this distribution processing is completed.
As a result, the received dummy frame is stored in the area where the equalized data indicated by the dummy address is not stored, and the frame transmission / reception work area 15 where the equalized data is stored.
Is not overwritten. When the distribution processing of the equalized data is completed, the reception pointer 20 is returned to the normal reception position of the equalized frame even if the received frame is a dummy frame. However, in this case, while the dummy frame is being received, the reception pointer 20 is not moved.

【0063】図7の73部分に示すように、稼動側CP
Uは、アプリケーションデータ領域14からの等値化デ
ータの収集処理が完了するまでの間は、ダミーフレーム
を待機側CPUに送信する。ダミーフレームには予め決
めておいた特別な番号である0がシリアルNo. として格
納されているので、等値化フレームを受信した待機側C
PUでは、シリアルNo. を調べることによってこのフレ
ームがダミーフレームであることを認識する。
As shown at 73 in FIG.
U transmits a dummy frame to the standby CPU until the process of collecting the equalized data from the application data area 14 is completed. Since the special number 0, which is a predetermined number, is stored as a serial number in the dummy frame, the standby side C that has received the equalized frame has
The PU recognizes that this frame is a dummy frame by checking the serial number.

【0064】稼動側CPUは、ダミーフレームを送信す
ることにより、待機側CPUに稼動側CPUが等値化デ
ータの送信を完了して次の等値化データの送信準備中で
あることを認識させる。また受信したフレーム内のデー
タはフレーム送受信作業領域15に上書きして格納する
が、ダミーフレームを受信中は、受信ポインタ15を移
動させないことにより、受信したダミーフレーム内のデ
ータを同じ領域に上書きして格納する。
By transmitting the dummy frame, the active-side CPU causes the standby-side CPU to recognize that the active-side CPU has completed transmission of the equalized data and is preparing to transmit the next equalized data. . The data in the received frame is overwritten and stored in the frame transmission / reception work area 15, but during reception of the dummy frame, the data in the received dummy frame is overwritten in the same area by not moving the reception pointer 15. And store.

【0065】また稼動CPUは、複数の等値化フレーム
に分けて等値化データを送信する際、途中の等値化フレ
ーム送信に中送信異常が起きた場合、以降残っているフ
レームの送信をやめる。そして直ちにアプリケーション
データ領域14をスキャンをして等値化データの再収集
処理を行い、等値化処理を継続をする。この様に送信異
常が発生してしまった等値化データの送信処理を中止す
ることにより、新たな等値化データの収集処理、及びそ
の等値化データの送信処理に直ちに取り掛かれる。図7
の74部分では、最初の等値化フレーム(フレームNo.
が1/3のフレーム)の送信中に送信異常が発生したの
で、以降のフレーム(フレームNo. が2/3,3の/3
フレーム)の送信を取り止め、次の等値化データの収集
処理を開始している。尚この等値化データの再収集処理
が完了するまでの間、稼動側CPUはダミーフレームを
送信する。
When transmitting the equalized data divided into a plurality of equalized frames, if the transmission error occurs during the transmission of the equalized frames in the middle, the operating CPU transmits the remaining frames. Stop. Then, the application data area 14 is immediately scanned to perform re-collection processing of the equalized data, and the equalization processing is continued. By stopping the transmission processing of the equalized data in which the transmission abnormality has occurred in this way, the processing of collecting new equalized data and the processing of transmitting the equalized data can be immediately started. FIG.
74, the first equalized frame (frame No.
Since a transmission error occurred during the transmission of a 1/3 frame, the subsequent frames (frame numbers of 2/3, 3/3)
Frame), and the collection process of the next equalized data is started. Until the re-collection processing of the equalized data is completed, the operating CPU transmits a dummy frame.

【0066】またこの74の部分では、収集処理を開始
するタイミングと定周期タスクによる処理が同時期に重
なってしまっているが、この様な場合は、定周期タスク
のIO入力処理を先に行い、これが完了した後等値化デ
ータの収集処理を行い、その後に定周期タスクの実行に
移る。
In this part 74, the timing of starting the collection processing and the processing by the periodic task overlap at the same time. In such a case, the IO input processing of the periodic task is performed first. After this is completed, the process of collecting the equalized data is performed, and thereafter, the process proceeds to the execution of the periodic task.

【0067】次に稼動側CPUで行われる等値化データ
の収集処理及び待機側CPUで行われる等値化データの
分配処理について説明する。稼動側CPUで行われるア
プリケーションデータ領域14からフレーム送受信作業
領域15への等値化データの収集処理及び待機側CPU
で行われるフレーム送受信作業領域15からアプリケー
ションデータ領域14への等値化データの分配処理で
は、稼動側CPU、待機側CPU共に同じ内容の転送テ
ーブルを用いて行われる。
Next, the process of collecting the equalized data performed by the active CPU and the process of distributing the equalized data performed by the standby CPU will be described. Collection processing of equalized data from the application data area 14 to the frame transmission / reception work area 15 performed by the active CPU and the standby CPU
In the processing of distributing the equalized data from the frame transmission / reception work area 15 to the application data area 14 performed in the step (1), both the active CPU and the standby CPU use the same transfer table.

【0068】図8に稼動側CPUで行われる等値化デー
タの収集処理、図9に待機側CPUで行われる等値化デ
ータの分配処理を示す。図8及び図9は、等値化データ
を2つの等値化フレームに分けて送信する場合を例とし
ており、フレーム送受信作業領域15には、送受信する
2つのフレームのCPU間マルチキャストフレームヘッ
ダ部内のデータを格納しているヘッダ部及びデータ部の
データを格納しているデータ部が示されている。
FIG. 8 shows a process of collecting the equalized data performed by the active CPU, and FIG. 9 shows a process of distributing the equalized data performed by the standby CPU. FIGS. 8 and 9 show an example in which the equalized data is divided into two equalized frames and transmitted. The frame transmission / reception work area 15 includes two frames to be transmitted and received in the multicast frame header section between the CPUs. A header section storing data and a data section storing data of the data section are shown.

【0069】図8に示す稼動側CPUで行われる等値化
データの収集処理の場合、アプリケーションデータ領域
14からフレーム送受信作業領域15へ等値化データを
収集するが、この処理は、アプリケーションデータ領域
14のどの位置のデータをフレーム送受信作業領域15
のどの位置に収集するかを記録している転送テーブル3
0を参照して行われる。
In the process of collecting the equalized data performed by the operating CPU shown in FIG. 8, the equalized data is collected from the application data area 14 to the frame transmission / reception work area 15. This processing is performed in the application data area. The data of which position of the frame 14
The transfer table 3 which records where to collect in
0 is performed.

【0070】この転送テーブル30は、稼動側CPU及
び待機側CPUにおいて、CPUのイニシャライズ時
に、CPUモジュール上で稼動されるユーザが作成した
アプリケーションプログラムから等値化対象のデータを
認識して作成される。稼動側CPUとそれに対応する待
機側CPUでは、同じアプリケーションプログラムがイ
ンストールされているため、稼動側CPUと待機側CP
Uでは等値化対象データも同じ、更にその転送方式も同
じになる。よって稼動側CPU及び待機側CPUでは、
転送テーブル30として全く同じものが作成されること
になる。稼動側CPU及び待機側CPUでは、稼動/待
機の切替えに備え、等値化データの収集用の転送テーブ
ルとアプリケーションデータ領域14への分配用転送テ
ーブルの両方を実装するが、本実施形態では同じ転送テ
ーブルを用いて収集処理と分配処理を行えるので、メモ
リ資源を有効に用いることが出来る。
The transfer table 30 is created by the active CPU and the standby CPU by recognizing data to be equalized from an application program created by a user running on the CPU module when the CPU is initialized. . Since the same application program is installed in the active CPU and the corresponding standby CPU, the active CPU and the standby CP
In U, the equalization target data is the same, and the transfer method is also the same. Therefore, in the active CPU and the standby CPU,
Exactly the same transfer table 30 is created. The active CPU and the standby CPU implement both a transfer table for collecting equalized data and a transfer table for distribution to the application data area 14 in preparation for switching between operation and standby. Since collection and distribution can be performed using the transfer table, memory resources can be used effectively.

【0071】転送テーブル30にはいくつのフレームに
分けて等値化データを送信するかを示すブロック数N、
後述するアプリケーションデータ領域14とフレーム送
受信作業領域15の間のデータの転送方式、及びブロッ
ク数N分のフレーム送受信作業領域15側のアドレスを
示すフレーム側アドレス、データの個数及びアプリケー
ションデータ領域側アドレスが記録されており、その構
成は転送方式によって異なる。また複数の転送方式を組
合わせて行う場合(例えば図8に於て、D1〜D5をブ
ロック転送、D100〜D104を構造体転送で行う場
合等)には、転送テーブル30には、各転送方式毎にこ
れらの情報が記録されている。稼動側CPUで行われる
等値化データの収集処理では、この転送テーブル30の
アプリケーションデータ領域側アドレスを転送元アドレ
ス、フレーム側アドレスが転送先アドレスとして等値化
データを収集する。
The transfer table 30 has the number of blocks N indicating how many frames to transmit the equalized data in,
The data transfer method between the application data area 14 and the frame transmission / reception work area 15 to be described later, the frame-side address indicating the number of blocks N of the frame transmission / reception work area 15 side, the number of data, and the application data area-side address are: It is recorded, and its configuration differs depending on the transfer method. When a plurality of transfer methods are performed in combination (for example, in FIG. 8, D1 to D5 are performed by block transfer, and D100 to D104 are performed by structure transfer), the transfer table 30 includes each transfer method. These pieces of information are recorded every time. In the collecting process of the equalized data performed by the active CPU, the equalized data is collected by using the address of the application data area of the transfer table 30 as the transfer source address and the frame side address as the transfer destination address.

【0072】稼動側CPUで収集された等値化データ
は、等値化フレームに格納されて待機側CPUに送信さ
れ、待機側CPUでは、受信した等値化フレームをフレ
ーム送受信作業領域15に格納し、この中のデータ部内
の等値化データを図9に示すように転送テーブル30を
用いてアプリケーションデータ領域14に分配する。
The equalized data collected by the active CPU is stored in an equalized frame and transmitted to the standby CPU, and the standby CPU stores the received equalized frame in the frame transmission / reception work area 15. Then, the equalized data in the data section therein is distributed to the application data area 14 using the transfer table 30 as shown in FIG.

【0073】この分配処理では稼動側CPUでこの等値
化データの収集処理に用いられた転送テーブル30と同
じ転送テーブル30を、図8の収集処理の時とは逆に、
フレーム側アドレスを送信元、アプリケーションデータ
領域側アドレスを送信先としてデータの転送を行う。こ
のように同じ転送テーブル30を、稼動側CPUと待機
側CPUとで転送元アドレスと転送先アドレスを逆にし
て用いることによりメモリ資源の節約をすることが出来
る。
In this distribution processing, the transfer table 30 which is the same as the transfer table 30 used for the collection processing of the equalized data by the operating CPU is used in the reverse of the collection processing of FIG.
Data transfer is performed with the frame side address as the transmission source and the application data area side address as the transmission destination. As described above, by using the same transfer table 30 with the transfer source address and the transfer destination address reversed between the active CPU and the standby CPU, memory resources can be saved.

【0074】本実施形態では、アプリケーションデータ
領域14とフレーム送受信作業領域15との間で行われ
る等値化データの転送方式として、ブロック転送、ワー
ド転送及び構造対転送の3つの転送方式を持つ。また各
転送方式によって用いられる転送テーブル30は、転送
方式毎にアプリケーションデータ領域側アドレス部分の
構成が異なっている。稼動側CPU及び待機側CPUで
は、イニシャライズ時に等値化対象とするデータのアプ
リケーションデータ領域14の配置位置からデータの収
集・分配時のデータ転送に最適な転送方式を選択し、或
いは必要に応じて複数の転送方式を組合わせて対応する
転送テーブル30を作成する。
In the present embodiment, there are three transfer methods for transferring the equalized data between the application data area 14 and the frame transmission / reception work area 15: block transfer, word transfer, and structure-pair transfer. In the transfer table 30 used in each transfer method, the configuration of the address portion on the application data area side differs for each transfer method. The active CPU and the standby CPU select an optimal transfer method for data transfer at the time of data collection / distribution from the arrangement position of the application data area 14 for data to be equalized at the time of initialization, or as necessary. A corresponding transfer table 30 is created by combining a plurality of transfer methods.

【0075】図10に、ブロック転送方式によって用い
られる転送テーブルの構成例を示す。尚同図及び図11
及び図12は、ブロック数N=1の時のものでブロック
数Nが2以上の時は、転送テーブル30はフレーム側ア
ドレス、個数及びアプリケーションデータ領域側アドレ
スに対応する部分をブロック数分持つことになる。
FIG. 10 shows a configuration example of a transfer table used by the block transfer method. FIG. 11 and FIG.
FIG. 12 shows the case where the number of blocks N = 1, and when the number of blocks N is 2 or more, the transfer table 30 has a portion corresponding to the frame side address, the number, and the application data area side address for the number of blocks. become.

【0076】ブロック転送方式は、アプリケーションデ
ータ領域14の一定の領域の全てのデータを等値化する
時に行う転送方式で、ブロック単位でデータ転送を行
う。図10の転送テーブルには、アプリケーションデー
タ領域側アドレスとして個数部分に記録されている組分
のワード数とアドレスが組となって記録されている。
The block transfer method is a transfer method performed when all data in a certain area of the application data area 14 is equalized, and data is transferred in block units. In the transfer table of FIG. 10, the word number and the address of the set recorded in the number part as the application data area side address are recorded as a set.

【0077】ブロック転送の際は、転送テーブルに格納
されているアドレスからワード数分のデータをブロック
単位で転送する。例えば図8の等値化データの収集処理
が、ブロック転送によるものである時、図10のアドレ
ス1にはアプリケーションデータ領域14のD1の先頭
アドレス、ワード数1にはD1の総ワード数が格納さ
れ、アドレス2にはアプリケーションデータ領域14の
D2の先頭アドレス、ワード数2にはD2の総ワード数
が格納されている。等値化データの収集処理時には、D
1としてアドレス1からデータをワード数1分読み出
し、フレーム送受信作業領域15のフレーム側アドレス
に格納されているアドレス部分に格納する。次にD2と
してアドレス2からデータをワード数2分読み出し、フ
レーム送受信作業領域15のD1を格納した続きに格納
する。以降、転送テーブル30のアプリケーションデー
タ領域側アドレス部分に記録されている全アドレス及び
ワード数に対して同様の処理を行う。
At the time of block transfer, data corresponding to the number of words is transferred in block units from the address stored in the transfer table. For example, when the collection processing of the equalized data in FIG. 8 is performed by block transfer, the first address of D1 of the application data area 14 is stored in the address 1 of FIG. 10, and the total number of words of D1 is stored in the word number 1. The address 2 stores the start address of D2 of the application data area 14, and the word number 2 stores the total number of words of D2. During the process of collecting the equalized data, D
As 1, data is read from address 1 for one word, and stored in the address portion stored in the frame-side address of the frame transmission / reception work area 15. Next, as D2, data is read from address 2 for two words, and is stored after D1 of the frame transmission / reception work area 15 is stored. Thereafter, the same processing is performed for all addresses and the number of words recorded in the address part of the transfer table 30 on the application data area side.

【0078】また等値化データの分配処理では、D1と
してフレーム送受信作業領域15のフレーム側アドレス
に記憶されている位置からワード数1分データを読み出
し、これをアプリケーションデータ領域14のアドレス
1部分に格納し、次にD2としてフレーム送受信作業領
域15のD1を読み出した続きからワード数2分のデー
タを読み出し、これをアプリケーションデータ領域14
のアドレス2部分に格納する。以降全データに対して同
様の処理を行うことで、転送テーブル30を用いた等値
化データのアプリケーションデータ領域14への分配が
行える。
In the distribution processing of the equalized data, data of one word is read from the position stored in the frame-side address of the frame transmission / reception work area 15 as D 1, and is read into the address 1 part of the application data area 14. Then, as the data D2, the data for two words is read from the continuation of reading the data D1 of the frame transmission / reception work area 15, and the read data is stored in the application data area
Is stored in the address 2 part. Thereafter, by performing the same processing for all data, the equalized data using the transfer table 30 can be distributed to the application data area 14.

【0079】次にワード転送方式について説明する。ワ
ード転送方式は、1ワード単位で独立に制御して等値化
する時に使用する転送方式で、転送テーブル30で転送
するデータを1ワード単位で指定する。
Next, the word transfer system will be described. The word transfer method is a transfer method used when equalization is performed by controlling independently in units of one word. Data to be transferred is specified in the transfer table 30 in units of one word.

【0080】図11に、ワード転送方式によって用いら
れる転送テーブルの構成例を示す。図11の転送テーブ
ルには、アプリケーションデータ領域側アドレス部分に
個数部分に記録されている数のアドレスが記録されてい
る。
FIG. 11 shows a configuration example of a transfer table used by the word transfer method. In the transfer table of FIG. 11, the number of addresses recorded in the number portion in the address portion on the application data area side is recorded.

【0081】等値化データの収集処理をワード転送で行
う際は、アプリケーションデータ領域14のアプリケー
ションデータ領域側アドレス部分に格納されている各ア
ドレスから1ワードづつ読み出し、フレーム送受信作業
領域15のフレーム側アドレスに格納されている部分に
順次転送する。また等値化データのアプリケーションデ
ータ領域14への分配処理時には、フレーム送受信作業
領域15のフレーム側アドレス部分に格納されたアドレ
スから順次1ワードづつ読み出し、アプリケーションデ
ータ領域14のアプリケーションデータ領域側アドレス
部分に格納されているアドレスの位置に転送して行く。
When collecting the equalized data by word transfer, one word is read from each address stored in the application data area side address portion of the application data area 14 and the frame side of the frame transmission / reception work area 15 is read out. The data is sequentially transferred to the part stored in the address. In the process of distributing the equalized data to the application data area 14, one word is sequentially read out from the address stored in the frame side address part of the frame transmission / reception work area 15, and is read out to the application data area side address part of the application data area 14. The data is transferred to the location of the stored address.

【0082】次に構造体転送について説明する。構造体
転送は、変則的な位置のデータを指定して転送する場合
に用いる転送方式でで3種類のモードが有る。
Next, structure transfer will be described. The structure transfer is a transfer method used when transferring data by specifying data at an irregular position, and has three types of modes.

【0083】図12は、構造体転送に用いられる転送テ
ーブルの構成例である。図12の転送テーブルには、ア
プリケーションデータ領域側アドレス部分に個数部分に
アドレスが1つ記録されている。また転送方式部分に
は、どのモードによる構造体転送かを示すモード番号0
〜2が記録されている。
FIG. 12 is a structural example of a transfer table used for structure transfer. In the transfer table of FIG. 12, one address is recorded in the number part in the address part on the application data area side. In the transfer method part, mode number 0 indicating which mode is used to transfer the structure
2 are recorded.

【0084】図13、図14及び図15はモード1,2
および3での構造体の例を示す図である。各図中の
(R)の印のワードの所を等値化対象としてアプリケー
ションデータ領域14から読み出し、(M)部分を等値
対象としないことを表している。
FIG. 13, FIG. 14 and FIG.
FIG. 6 is a diagram showing an example of the structure in FIGS. The word (R) in each figure is read from the application data area 14 as an equalization target, and the (M) portion is not set as an equalization target.

【0085】モード番号0のモード1の場合は、図13
に示すように2ワード構造のうち2ワード共等値化対象
とする。このモード1の構造体転送において、例えば個
数に3が設定されていたならば、収集処理においてアプ
リケーションデータ領域側アドレスのアドレス部分から
連なる2×3=6ワードのデータを読み出して収集す
る。又分配処理の時は、上記アドレスに記録されている
アドレス値の部分にフレーム送受信作業領域15からの
フレーム側アドレス部分から読み出した6ワードのデー
タを格納する。
In the case of mode 1 with mode number 0, FIG.
As shown in (2), two words of the two-word structure are subjected to equalization. In the structure transfer of mode 1, for example, if the number is set to 3, 2 × 3 = 6 words of data consecutive from the address portion of the application data area side address are read and collected in the collection processing. At the time of the distribution process, data of 6 words read from the frame side address portion from the frame transmission / reception work area 15 is stored in the address value portion recorded in the above address.

【0086】モード番号1のモード2の場合は、図14
に示す様に4ワード構造のうち3・4ワード目を等値化
対象としてデータ転送を行う。このモード2の構造体転
送において、例えば個数に3が設定されていたならば、
収集処理においてアプリケーションデータ領域14の指
定アドレス部分から3・4ワード目、7・8ワード目及
び11・12ワード目のデータを等値化データとして読
み出して収集する。また分配処理時には、フレーム送受
信作業領域15の転送テーブルによって指定された位置
から読み出した6ワードのデータをアプリケーションデ
ータ領域14の指定アドレスから3・4ワード目、7・
8ワード目及び11・12ワード目の位置に格納して行
く。
In the case of mode 2 of mode number 1, FIG.
As shown in (1), data transfer is performed with the 3rd and 4th words of the 4-word structure as equalization targets. In this structure transfer in mode 2, if the number is set to 3, for example,
In the collection process, the data of the third, fourth, seventh and eighth words and the eleventh and twelfth words from the designated address portion of the application data area 14 are read and collected as equalized data. At the time of the distribution process, the 6-word data read from the position specified by the transfer table in the frame transmission / reception work area 15 is transferred to the third, fourth, and seventh words from the specified address in the application data area 14.
The data is stored at the positions of the 8th word and the 11th and 12th words.

【0087】モード番号2のモード3場合は、図15に
示すように8ワード構造のうち、1・2・5・6ワード
目を等値化する。例えば、個数に2が設定されていたな
らば、収集処理においてアプリケーションデータ領域1
4の指定アドレス部分から1・2・5・6ワード目及び
7・8・11・12ワード目のデータを等値化データと
して読み出して収集し、分配処理時には、フレーム送受
信作業領域15の転送テーブルによって指定された位置
から読み出した6ワードのデータをアプリケーションデ
ータ領域14の指定アドレスから1・2・5・6ワード
目及び7・8・11・12ワード目の位置に格納して行
く。
In the case of mode 3 with mode number 2, as shown in FIG. 15, the first, second, fifth and sixth words of the eight-word structure are equalized. For example, if 2 is set for the number, the application data area 1
The data of the 1st, 2nd, 5th and 6th words and the 7th, 8th, 11th and 12th words from the designated address portion of No. 4 are read out and collected as equalized data. The 6-word data read from the position specified by (1), (2), (5), (6), and (7), (8), (11), and (12) words from the specified address in the application data area are stored.

【0088】この様に、本実施形態では、等値化対象の
データのアプリケーションデータ領域14での配置によ
って最適な転送方式を選択したり、或いは複数の転送方
式を組合わせることが出来るので、スピーディに収集・
分配処理を行うことが可能となり、高速に制御データの
等値化処理を行うことが出来る。
As described above, according to the present embodiment, the optimum transfer method can be selected by combining the data to be equalized in the application data area 14, or a plurality of transfer methods can be combined. Collected in
The distribution process can be performed, and the control data can be equalized at high speed.

【0089】[0089]

【発明の効果】以上説明のように、本発明によれば、稼
動側CPUで行われている定周期タスクの定周期性を崩
すことなく、等値化処理を実行することが出来る。
As described above, according to the present invention, the equalizing process can be performed without breaking the periodicity of the periodic task performed by the active CPU.

【0090】また、複数の等値化フレームに分けて等値
化データを送信することにより、等値化データの量が多
くてもタクト周期の周期性を壊すことが無い。更に稼動
側CPUでは、収集処理中には、ダミーフレームを送信
することにより収集が完了する前のデータが送信される
ことが無い。
Further, by transmitting the equalized data divided into a plurality of equalized frames, even if the amount of the equalized data is large, the cycle of the tact cycle is not broken. Furthermore, during the collection process, the active CPU does not transmit data before collection is completed by transmitting a dummy frame.

【0091】また複数の等値化フレームの送信中に送信
異常が発生してしまった時、以降の等値化データの送信
処理を中止することにより、新たな等値化データの収集
処理、及びその等値化データの送信処理に直ちに取り掛
かれる。
When a transmission error occurs during the transmission of a plurality of equalized frames, the subsequent transmission processing of the equalized data is stopped to collect new equalized data, and The transmission processing of the equalized data is immediately started.

【0092】更に待機側CPUでは、受信した等値化デ
ータの整合性のチェックを行うことが出来る。また、等
値化データの分配処理中に受信したフレームのデータで
分配処理中のデータが上書きされることが無い。
Further, the standby CPU can check the consistency of the received equalized data. Further, the data being distributed is not overwritten by the data of the frame received during the distribution of the equalized data.

【0093】更に収集処理と分配処理で転送テーブルを
共用することにより、メモリ資源の有効化を図れる。ま
た等値化対象となるデータの配置に基づいて、データの
収集・分配時のデータ転送に最適な転送方式を選択し、
必要に応じて組合わせることにより、高速な等値化処理
を実現できる。
Further, by sharing the transfer table between the collection process and the distribution process, the memory resources can be made effective. Also, based on the arrangement of data to be equalized, select the optimal transfer method for data transfer during data collection and distribution,
By combining them as needed, high-speed equalization processing can be realized.

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

【図1】本実施形態のPCの構成を示す図である。FIG. 1 is a diagram illustrating a configuration of a PC according to an embodiment.

【図2】マルチキャスト方式による通信の説明図であ
る。
FIG. 2 is an explanatory diagram of communication by a multicast method.

【図3】稼動側CPUと待機側CPUとの間の等値化デ
ータの流れを示す図である。
FIG. 3 is a diagram showing a flow of equalized data between an active CPU and a standby CPU.

【図4】定周期タスク、デフォルトタスク及び等値化タ
スクによる等値化データの収集・送信のタイミングを示
すタイミング図である。
FIG. 4 is a timing chart showing timings of collecting and transmitting equalized data by a periodic task, a default task, and an equalization task.

【図5】等値化フレームの構成例を示す図である。FIG. 5 is a diagram illustrating a configuration example of an equalization frame.

【図6】1タクト周期内に稼動側CPUから送信される
データを示す図である。
FIG. 6 is a diagram showing data transmitted from an active CPU within one tact cycle.

【図7】稼動側CPUでのフレーム送信時及び待機側C
PUがフレーム受信時のフレーム送受信作業領域と送信
/受信ポインタの状態を示す図である。
FIG. 7 shows a state in which the active CPU transmits a frame and a standby C.
It is a figure which shows the state of the frame transmission / reception work area | region at the time of PU receiving a frame, and the transmission / reception pointer.

【図8】稼動側CPUで行われる等値化データの収集処
理を示す図である。
FIG. 8 is a diagram illustrating a process of collecting equalized data performed by an operating CPU.

【図9】待機側CPUで行われる等値化データの分配処
理を示す図である。
FIG. 9 is a diagram illustrating a distribution process of equalized data performed by a standby CPU.

【図10】ブロック転送方式によって用いられる転送テ
ーブルの構成例を示す図である。
FIG. 10 is a diagram illustrating a configuration example of a transfer table used by a block transfer method.

【図11】ワード転送方式によって用いられる転送テー
ブルの構成例を示す図である。
FIG. 11 is a diagram illustrating a configuration example of a transfer table used by a word transfer method.

【図12】構造体転送方式によって用いられる転送テー
ブルの構成例を示す図である。
FIG. 12 is a diagram illustrating a configuration example of a transfer table used by a structure transfer method.

【図13】モード1の構造体例を示す図である。FIG. 13 is a diagram illustrating an example of a structure in mode 1;

【図14】モード2の構造体例を示す図である。FIG. 14 is a diagram illustrating an example of a structure of mode 2;

【図15】モード3の構造体例を示す図である。FIG. 15 is a diagram showing an example of a structure of mode 3;

【図16】一般的なマルチCPU構成のPCの例を示す
図である。
FIG. 16 is a diagram illustrating an example of a PC having a general multi-CPU configuration.

【図17】等値化処理のタイミングを示す図である。FIG. 17 is a diagram showing the timing of the equalization processing.

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

1、101 システムバス 2、102 CPUモジュール 3、103 I/Oモジュール 4 通信モジュール 11 稼動側CPU 12 待機側CPU 13 実行プロセッサ 14 アプリケーションデータ領域 15 フレーム送受信作業領域 16 バスコントローラ 17 送信バッファ 18 送信ポインタ 19 受信バッファ 20 受信ポインタ 30 転送テーブル 1, 101 System bus 2, 102 CPU module 3, 103 I / O module 4 Communication module 11 Active CPU 12 Standby CPU 13 Executing processor 14 Application data area 15 Frame transmission / reception work area 16 Bus controller 17 Transmission buffer 18 Transmission pointer 19 Receive buffer 20 Receive pointer 30 Transfer table

フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G06F 13/42 350 G05B 19/05 S Fターム(参考) 5B034 BB02 DD06 5B077 AA17 AA18 BA03 BA09 FF01 GG02 GG16 5B083 AA05 CC04 CE01 DD08 GG09 5H209 EE11 GG04 GG11 HH37 HH40 SS01 SS04 SS08 5H220 BB10 CC09 CX03 EE07 EE10 HH04 JJ12 JJ16 JJ29 JJ38 KK01 KK03 MM08 Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat II (reference) G06F 13/42 350 G05B 19/05 SF term (reference) 5B034 BB02 DD06 5B077 AA17 AA18 BA03 BA09 FF01 GG02 GG16 5B083 AA05 CC04 CE01 DD08 GG09 5H209 EE11 GG04 GG11 HH37 HH40 SS01 SS04 SS08 5H220 BB10 CC09 CX03 EE07 EE10 HH04 JJ12 JJ16 JJ29 JJ38 KK01 KK03 MM08

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 2重化して冗長性を持たせた1乃至複数
組のCPUを持ち、稼動側CPUと待機側CPUとの間
でデータの等値化を行うプログラマブルコントローラに
おいて、 前記稼動側CPUは、等値化対象としているデータを収
集する等値化データ収集手段と、 前記等値化データ収集手段が収集したデータを等値化フ
レームによって前記待機側CPUに送信する等値化デー
タ送信手段と、 前記等値化データ収集手段による収集処理中に定周期タ
スクを開始するタイミングになった時、該収集処理完了
後前記等値化データ送信手段によるデータの送信開始前
に該定周期タスクを実行する定周期タスク実行手段とを
備えることを特徴とするプログラマブルコントローラ。
1. A programmable controller having one or a plurality of sets of CPUs, each of which has redundancy and has redundancy, and performs data equalization between an active CPU and a standby CPU, wherein: Is an equalization data collection unit that collects data to be equalized, and an equalization data transmission unit that transmits the data collected by the equalization data collection unit to the standby CPU by using an equalization frame. When it is time to start the periodic task during the collection process by the equalized data collection unit, the periodic task is started before the start of data transmission by the equalized data transmission unit after the collection process is completed. A programmable controller comprising: a fixed-period task executing unit that executes the task.
【請求項2】 前記等値化データ送信手段は、前記等値
化データ収集手段が収集したデータを複数の等値化フレ
ームに分けて送信することを特徴とする請求項1に記載
のプログラマブルコントローラ。
2. The programmable controller according to claim 1, wherein the equalized data transmitting unit transmits the data collected by the equalized data collecting unit by dividing the data into a plurality of equalized frames. .
【請求項3】 前記等値化データ送信手段は、プログラ
マブルコントローラの構成に基づいて前記等値化フレー
ムの大きさを調整することを特徴とする請求項1又は2
に記載のプログラマブルコントローラ。
3. The equalization data transmitting means adjusts the size of the equalization frame based on a configuration of a programmable controller.
4. The programmable controller according to 1.
【請求項4】 前記等値化データ送信手段は、前記等値
化フレームに該等値化フレーム内のデータの整合性をチ
ェックする情報を格納し、前記待機側CPUは、受信し
た等値化フレームの前記整合性をチェックする情報を調
べて、整合性が確認された時のみ等値化データを分配す
る等値化データ分配手段を備えることを特徴とする請求
項2又は3に記載のプログラマブルコントローラ。
4. The equalized data transmitting means stores information for checking consistency of data in the equalized frame in the equalized frame, and the standby-side CPU transmits the received equalized data. 4. The programmable memory according to claim 2, further comprising an equalized data distribution unit that checks information for checking the consistency of the frame and distributes the equalized data only when the consistency is confirmed. controller.
【請求項5】 前記整合性をチェックする情報は、どの
収集処理による等値化データかを表すフレームNo. と複
数に分割したうちの何番目の等値化フレームかを示すシ
リアルNo. であること特徴とするを請求項4に記載のプ
ログラマブルコントローラ。
5. The information for checking the consistency includes a frame number indicating which data is equalized data by which collection processing and a serial number indicating the number of the equalized frame among the plurality of divided frames. The programmable controller according to claim 4, characterized in that:
【請求項6】 前記待機側CPUは、前記等値化データ
分配手段が分配している間に受信した等値化フレーム内
のデータを該分配しているデータの格納領域とは異なる
ダミー領域に格納するフレーム受信手段を更に備えるこ
とを特徴とする請求項4又は5に記載のプログラマブル
コントローラ。
6. The standby-side CPU transfers data in the equalized frame received while the equalized data distribution means distributes the data to a dummy area different from a storage area of the distributed data. 6. The programmable controller according to claim 4, further comprising a frame receiving unit for storing.
【請求項7】 等値化データ送信手段は、前記等値化デ
ータ収集手段が収集したデータを全て送信後、該前記等
値化データ収集手段が次の収集処理を完了するまでの
間、ダミーフレームを送信することを特徴とする請求項
1乃至6のいずれか1に記載のプログラマブルコントロ
ーラ。
7. The equalized data transmitting means, after transmitting all the data collected by the equalized data collecting means, until the equalized data collecting means completes the next collection processing, the dummy data The programmable controller according to claim 1, wherein the programmable controller transmits a frame.
【請求項8】 前記等値化フレーム送信手段は、等値化
フレームの送信中に送信異常が発生した時、残りの等値
化フレームの送信を止めて、前記等値化データ収集手段
に次の収集処理の開始を指示することを特徴とする請求
項2乃至7のいずれか1に記載のプログラマブルコント
ローラ。
8. When the transmission error occurs during transmission of the equalized frame, the equalized frame transmitting means stops transmission of the remaining equalized frames, and transmits the same to the equalized data collecting means. The programmable controller according to any one of claims 2 to 7, which instructs the start of a collection process.
【請求項9】 前記等値化データ分配手段は、前記等値
化データ収集手段がデータの収集に用いた転送テーブル
と同じ転送テーブルを用いてデータの分配を行うことを
特徴とする請求項4乃至8のいずれかに記載のプログラ
マブルコントローラ。
9. The apparatus according to claim 4, wherein said equalized data distribution means distributes data using the same transfer table as the transfer table used for data collection by said equalized data collection means. 9. The programmable controller according to any one of claims 1 to 8.
【請求項10】 前記等値化データ収集手段及び等値化
データ分配手段は、等値化対象となるデータの配置に基
づいて、データの収集・分配時のデータ転送に最適な転
送方式の選択することを特徴とする請求項4乃至9のい
ずれかに記載のプログラマブルコントローラ。
10. The equalization data collection means and the equalization data distribution means select a transfer method optimal for data transfer at the time of data collection and distribution based on the arrangement of data to be equalized. The programmable controller according to claim 4, wherein:
【請求項11】 前記等値化データ収集手段は、デフォ
ルトタスクの終了のタイミングに基づいて前記収集処理
の開始のタイミングを決定することを特徴とする請求項
1乃至10のいずれかに記載のプログラマブルコントロ
ーラ。
11. The programmable according to claim 1, wherein said equalized data collecting means determines the start timing of said collection processing based on the end timing of a default task. controller.
【請求項12】 前記等値化データ収集手段は、等値化
データ送信手段が等値化フレームを送信中に前記定周期
タスクを開始するタイミングになった時、その等値化フ
レームの送信処理完了後、次の等値化フレームの送信開
始前に該定周期タスクを実行することを特徴とする請求
項1乃至11に記載のプログラマブルコントローラ。
12. The equalization frame transmitting means, when the timing for starting the fixed-period task is reached while the equalization data transmitting unit is transmitting the equalization frame, transmits the equalization frame. 12. The programmable controller according to claim 1, wherein the fixed-cycle task is executed after completion and before transmission of a next equalized frame is started.
【請求項13】 2重化して冗長性を持たせた1乃至複
数組のCPUを持つプログラマブルコントローラにおけ
る、稼動側CPUと待機側CPUとの間でのデータの等
値化方法であって、 前記稼動側CPUは、 等値化対象としているデータを収集し、 前記収集したデータを格納した等値化フレームを前記待
機側CPUに送信し、 前記収集中に定周期タスクを開始するタイミングになっ
た時、該収集が完了した後、前記等値化フレームの送信
前に該定周期タスクを実行することを特徴とする等値化
方法。
13. A method for equalizing data between an active CPU and a standby CPU in a programmable controller having one or more sets of CPUs provided with redundancy by redundancy. The active CPU collects the data to be equalized, transmits an equalized frame storing the collected data to the standby CPU, and it is time to start the periodic task during the collection. And performing the periodic task after the collection is completed and before transmitting the equalized frame.
JP2000345765A 2000-11-13 2000-11-13 A redundant programmable controller and an equalization method for equalizing control data. Expired - Lifetime JP4154853B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000345765A JP4154853B2 (en) 2000-11-13 2000-11-13 A redundant programmable controller and an equalization method for equalizing control data.

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000345765A JP4154853B2 (en) 2000-11-13 2000-11-13 A redundant programmable controller and an equalization method for equalizing control data.

Publications (2)

Publication Number Publication Date
JP2002149212A true JP2002149212A (en) 2002-05-24
JP4154853B2 JP4154853B2 (en) 2008-09-24

Family

ID=18819735

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000345765A Expired - Lifetime JP4154853B2 (en) 2000-11-13 2000-11-13 A redundant programmable controller and an equalization method for equalizing control data.

Country Status (1)

Country Link
JP (1) JP4154853B2 (en)

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004310779A (en) * 2003-04-08 2004-11-04 Fisher Rosemount Syst Inc Voting logic block having operation override and maintenance override in process control system
US7119505B2 (en) 2003-02-18 2006-10-10 Fanuc Ltd Servo motor control system
JP2007011956A (en) * 2005-07-04 2007-01-18 Mitsubishi Electric Corp Programmable controller
JP2007272285A (en) * 2006-03-30 2007-10-18 Yokogawa Electric Corp Multiplexing control device
JP2007299120A (en) * 2006-04-28 2007-11-15 Meidensha Corp Equalization system for duplicated programmable controller
JP2008009797A (en) * 2006-06-30 2008-01-17 Fujitsu Ltd Uninterruptible memory replication method
KR100823722B1 (en) 2006-09-01 2008-04-18 주식회사 포스콘 Apparatus and method for PLC redundancy
JP2008234014A (en) * 2007-03-16 2008-10-02 Fuji Electric Fa Components & Systems Co Ltd Duplex controller system and operation-system/standby-system controller therefor
JP2009140424A (en) * 2007-12-10 2009-06-25 Hitachi Ltd Fault tolerant computer system, re-synchronization operating processing method, and program
JP2009217505A (en) * 2008-03-10 2009-09-24 Hitachi Ltd Computer system, computer control method, and computer control program
JP2009217765A (en) * 2008-03-13 2009-09-24 Hitachi Ltd Synchronous transmitting method to multiple destination, its implementation system and processing program
WO2012053403A1 (en) * 2010-10-20 2012-04-26 株式会社日立製作所 Data transmission method and control system
JP2013540317A (en) * 2010-09-27 2013-10-31 フィッシャー−ローズマウント システムズ,インコーポレイテッド Method and apparatus for virtualizing a process control system
WO2013168258A1 (en) 2012-05-10 2013-11-14 三菱電機株式会社 Standby dual redundant system
JP5719942B1 (en) * 2013-08-20 2015-05-20 株式会社小松製作所 Controller for construction machinery
JP2015138292A (en) * 2014-01-20 2015-07-30 横河電機株式会社 Process controller and update method thereof
US9977720B2 (en) 2015-03-11 2018-05-22 Fujitsu Limited Method, information processing apparatus, and computer readable medium
JP2018180723A (en) * 2017-04-06 2018-11-15 富士電機株式会社 Duplex system
JP2019057097A (en) * 2017-09-20 2019-04-11 株式会社東芝 controller
JP7188631B1 (en) 2022-05-12 2022-12-13 富士電機株式会社 Programmable logic controller, support device, display device, logging method, support method, display method

Cited By (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7119505B2 (en) 2003-02-18 2006-10-10 Fanuc Ltd Servo motor control system
JP2004310779A (en) * 2003-04-08 2004-11-04 Fisher Rosemount Syst Inc Voting logic block having operation override and maintenance override in process control system
JP4557588B2 (en) * 2003-04-08 2010-10-06 フィッシャー−ローズマウント システムズ, インコーポレイテッド Voting logic block with operational and maintenance overrides in process control systems
JP4494299B2 (en) * 2005-07-04 2010-06-30 三菱電機株式会社 Programmable controller
JP2007011956A (en) * 2005-07-04 2007-01-18 Mitsubishi Electric Corp Programmable controller
JP2007272285A (en) * 2006-03-30 2007-10-18 Yokogawa Electric Corp Multiplexing control device
JP2007299120A (en) * 2006-04-28 2007-11-15 Meidensha Corp Equalization system for duplicated programmable controller
JP2008009797A (en) * 2006-06-30 2008-01-17 Fujitsu Ltd Uninterruptible memory replication method
KR100823722B1 (en) 2006-09-01 2008-04-18 주식회사 포스콘 Apparatus and method for PLC redundancy
JP2008234014A (en) * 2007-03-16 2008-10-02 Fuji Electric Fa Components & Systems Co Ltd Duplex controller system and operation-system/standby-system controller therefor
JP2009140424A (en) * 2007-12-10 2009-06-25 Hitachi Ltd Fault tolerant computer system, re-synchronization operating processing method, and program
JP2009217505A (en) * 2008-03-10 2009-09-24 Hitachi Ltd Computer system, computer control method, and computer control program
JP2009217765A (en) * 2008-03-13 2009-09-24 Hitachi Ltd Synchronous transmitting method to multiple destination, its implementation system and processing program
JP2017021840A (en) * 2010-09-27 2017-01-26 フィッシャー−ローズマウント システムズ,インコーポレイテッド Methods and apparatus to virtualize process control system
JP2013540317A (en) * 2010-09-27 2013-10-31 フィッシャー−ローズマウント システムズ,インコーポレイテッド Method and apparatus for virtualizing a process control system
US11320797B2 (en) 2010-09-27 2022-05-03 Fisher-Rosemount Systems, Inc Methods and apparatus to virtualize a process control system
JP2012088953A (en) * 2010-10-20 2012-05-10 Hitachi Ltd Data transmission method and control system
CN103168279A (en) * 2010-10-20 2013-06-19 株式会社日立制作所 Data transmission method and control system
WO2012053403A1 (en) * 2010-10-20 2012-04-26 株式会社日立製作所 Data transmission method and control system
WO2013168258A1 (en) 2012-05-10 2013-11-14 三菱電機株式会社 Standby dual redundant system
JP5719942B1 (en) * 2013-08-20 2015-05-20 株式会社小松製作所 Controller for construction machinery
US9437057B2 (en) 2013-08-20 2016-09-06 Komatsu Ltd. Construction machine controller
US9869984B2 (en) 2014-01-20 2018-01-16 Yokogawa Electric Corporation Process controller and updating method thereof
JP2015138292A (en) * 2014-01-20 2015-07-30 横河電機株式会社 Process controller and update method thereof
US9977720B2 (en) 2015-03-11 2018-05-22 Fujitsu Limited Method, information processing apparatus, and computer readable medium
JP2018180723A (en) * 2017-04-06 2018-11-15 富士電機株式会社 Duplex system
JP7003432B2 (en) 2017-04-06 2022-01-20 富士電機株式会社 Duplex system
JP2019057097A (en) * 2017-09-20 2019-04-11 株式会社東芝 controller
JP7188631B1 (en) 2022-05-12 2022-12-13 富士電機株式会社 Programmable logic controller, support device, display device, logging method, support method, display method
JP2023167381A (en) * 2022-05-12 2023-11-24 富士電機株式会社 Programmable logic controller, support device, and display device, and, logging method, support method, and display method

Also Published As

Publication number Publication date
JP4154853B2 (en) 2008-09-24

Similar Documents

Publication Publication Date Title
JP2002149212A (en) Redundant programmable controller for equalizing control data and equalization method
US5933347A (en) Industrial controller with program synchronized updating of back-up controller
US5164894A (en) Method of data entry into a plant loop
JP2008546044A (en) Method and apparatus for redundancy technique in processor-based controller design
CA2339783A1 (en) Fault tolerant computer system
EP1060604A1 (en) Input/output (i/o) scanner for a control system with peer determination
KR20070039580A (en) Message administrator and method for controlling access to data of the message memory of a communications component
CN101309184B (en) Method and apparatus detecting failure of micro-engine
JP5583046B2 (en) Redundant controller
JP2011216942A (en) Test method for network system
JP2003296133A (en) Controller
CN110687854B (en) PA bus controller and PA bus control system
WO2013168258A1 (en) Standby dual redundant system
JP3959845B2 (en) Input / output control method for programmable controllers
US20120307679A1 (en) Method and Apparatus for Full Duplex Serial Shifting Mode and Switch Mode Data Transmission
JP3029170B2 (en) Data transmission method and apparatus, and asynchronous control system
JP3293089B2 (en) PLC remote I / O system and PLC remote I / O system execution method
JP3111523B2 (en) Duplex remote monitoring control device
US20040114582A1 (en) Electronic switching circuit and method for a communication interface with buffer storage
JP7231073B2 (en) Controllers and control systems
JP3887989B2 (en) Programmable controller and input / output control method thereof
JP3745597B2 (en) Massively parallel computer and processing method thereof
JPS63227149A (en) Communication control method in loop communication system
JPH09261226A (en) Programmable controller
JPH01192239A (en) Polling system in communication circuit

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20040218

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050914

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080310

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080318

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080515

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080617

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080630

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

Free format text: PAYMENT UNTIL: 20110718

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4154853

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110718

Year of fee payment: 3

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: 20110718

Year of fee payment: 3

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: 20110718

Year of fee payment: 3

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: 20110718

Year of fee payment: 3

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: 20110718

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120718

Year of fee payment: 4

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: 20120718

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130718

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term