JPH0764472A - Remote i/o system of programmable controller - Google Patents

Remote i/o system of programmable controller

Info

Publication number
JPH0764472A
JPH0764472A JP5208028A JP20802893A JPH0764472A JP H0764472 A JPH0764472 A JP H0764472A JP 5208028 A JP5208028 A JP 5208028A JP 20802893 A JP20802893 A JP 20802893A JP H0764472 A JPH0764472 A JP H0764472A
Authority
JP
Japan
Prior art keywords
master station
standby
station
confirmation signal
operation confirmation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP5208028A
Other languages
Japanese (ja)
Inventor
Naoki Kojima
直樹 小島
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP5208028A priority Critical patent/JPH0764472A/en
Publication of JPH0764472A publication Critical patent/JPH0764472A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)
  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To provide a remote I/O system of PLC in which two parent stations are connected to a common data bus, and the operation can be simply changed to the other parent station in the case of generating abnormality in one parent station operating without necessity of the other transmission passage. CONSTITUTION:Operation confirming signals 6 are sent out from an operation system parent station 2 to a stand-by system parent station at regular intervals through a common data bus 4. When the operation confirming signal 6 is not received into the stand-by system parent station 1 within a decided time, the stand-by system parent station 1 is newly changed to the operation system parent station 2, transmission and receipt of a message to respective child stations 3a, 3b, 3c, 3d are performed by a polling selection method through the changed new operation system parent station 2.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、共通のデータバスで
接続される親局と子局との間で、1対Nのポーリングセ
レクション方式でデータの送受信を行うプログラマブル
コントローラ(以下、PLCという)のリモートI/O
システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a programmable controller (hereinafter referred to as a PLC) for transmitting and receiving data between a master station and a slave station connected by a common data bus by a 1: N polling selection method. Remote I / O
Regarding the system.

【0002】[0002]

【従来の技術】共通のデータバスで接続される親局と子
局との間で、1対Nのポーリングセレクション方式でデ
ータの送受信を行うPLCのリモートI/Oシステムと
しては、従来から、図5に示すようなものが知られてい
る。
2. Description of the Related Art A PLC remote I / O system for transmitting and receiving data between a master station and a slave station connected by a common data bus by a 1-to-N polling selection method has been conventionally known. The one shown in Fig. 5 is known.

【0003】図5に示すPLCのリモートI/Oシステ
ムは、1台の親局1Aと複数の子局3a、3b、3c、
3dが共通のデータバス4に接続されている。
The PLC remote I / O system shown in FIG. 5 has one master station 1A and a plurality of slave stations 3a, 3b, 3c.
3d is connected to the common data bus 4.

【0004】ここで、親局1Aは、各子局に順次要求フ
レームを出し、各子局は親局1Aに順次応答フレームを
返すように構成されている。
Here, the master station 1A is configured to sequentially issue request frames to each slave station and each slave station sequentially returns a response frame to the master station 1A.

【0005】しかしながら、このように親局が1台であ
ると、この親局に異常が発生した場合には子局に対する
データの送受信が不可能になって、システム全体がダウ
ンしてしまうという問題があった。
However, if there is only one master station in this way, when an abnormality occurs in this master station, it becomes impossible to transmit / receive data to / from the slave station, and the entire system goes down. was there.

【0006】一方、このような不具合を回避するための
手段として、図6に示すような親局を二重化したシステ
ムが提案されている。
On the other hand, as a means for avoiding such a problem, a system in which the master station is duplicated as shown in FIG. 6 has been proposed.

【0007】すなわち、このシステムは、待機系親局1
aと動作系親局2aの二つ親局を設け、複数の子局3
a、3b、3c、3dは共通のデータバス4で接続され
ている。
That is, this system is based on the standby master station 1.
a and an operating system master station 2a are provided, and a plurality of slave stations 3
a, 3b, 3c and 3d are connected by a common data bus 4.

【0008】そして、親局1a、2a間はRS232C
などからなる親局間伝送路5により接続されており、例
えば動作系親局2aに異常が発生した場合にはその情報
が上記親局間伝送路5を介して待機系親局1aに伝送さ
れ、それによって待機系親局1aが動作系親局に切り替
わってシステム全体がダウンしないように構成されてい
る。
The RS232C is provided between the master stations 1a and 2a.
Are connected by an inter-master-station transmission line 5 and, for example, when an abnormality occurs in the operating-system master station 2a, the information is transmitted to the standby-system master station 1a via the inter-master-station transmission line 5. Thus, the standby master station 1a is switched to the active master station so that the entire system does not go down.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、上記の
ような構成によると、各親局には相互の動作状態を伝送
するための通信手段および親局間を接続するためのRS
232Cなどの伝送路が必要となるため、システム全体
がコストアップするという問題点があった。
However, according to the above-mentioned configuration, the communication means for transmitting the mutual operating state to each master station and the RS for connecting the master stations.
Since a transmission line such as 232C is required, there is a problem that the cost of the entire system increases.

【0010】そこで、この発明は上記問題を解決すべく
なされたもので、親局間に特別の伝送路を必要としない
で、しかも動作中の親局に異常が生じた場合に他方の親
局に動作を簡単に切り替えることができるPLCのリモ
ートI/Oシステムを提供することを目的とする。
Therefore, the present invention has been made to solve the above-mentioned problems, and does not require a special transmission line between the master stations, and when the operating master station is abnormal, the other master station An object of the present invention is to provide a PLC remote I / O system that can easily switch operations.

【0011】[0011]

【課題を解決するための手段】上記目的を達成するた
め、請求項1の発明は、動作系親局と待機系親局及び複
数の子局が共通のデータバスを介して接続され、これら
親局と複数の子局間でデータの送受信を行うプログラマ
ブルコントローラのリモートI/Oシステムであって、
現動作系親局から待機系親局に対して上記データバスを
介し、一定間隔おきに動作確認信号を送出する動作確認
信号送出手段と、この動作確認信号送出手段から送出さ
れた動作確認信号が所定時間内に待機系親局において受
信されない場合、待機系親局を新たに動作系親局に切り
替える切り替え手段を有し、この切り替えられた新たな
動作系親局を介して上記子局にデータの送受信をするよ
うにしたことを特徴とする。
In order to achieve the above object, the invention of claim 1 is such that an operating master station, a standby master station, and a plurality of slave stations are connected via a common data bus, and these master stations are connected. A remote I / O system of a programmable controller for transmitting and receiving data between a station and a plurality of slave stations,
An operation confirmation signal transmitting means for transmitting an operation confirmation signal from the current operation master station to the standby master station via the above data bus at regular intervals, and an operation confirmation signal transmitted from this operation confirmation signal transmission means. If the standby master station does not receive the data within a predetermined time, it has a switching means for switching the standby master station to the new active master station, and the data is transmitted to the slave station via the new active master station that has been switched. It is characterized in that the sending and receiving of.

【0012】請求項2の発明は、請求項1の発明におい
て、上記動作確認信号には、監視時間データが含まれ、
待機系親局がこの監視時間内に上記動作確認信号を受信
しない場合、待機系親局は動作系親局に切り替えられる
ことを特徴とする。
According to a second aspect of the present invention, in the first aspect of the invention, the operation confirmation signal includes monitoring time data,
When the standby master station does not receive the operation confirmation signal within the monitoring time, the standby master station is switched to the active master station.

【0013】請求項3の発明は、請求項1の発明におい
て、動作系親局および待機系親局のデータバス上にスイ
ッチング手段を備えたことを特徴とする。
The invention of claim 3 is characterized in that, in the invention of claim 1, a switching means is provided on the data buses of the operating master station and the standby master station.

【0014】請求項4の発明は、請求項1の発明におい
て、待機系親局は動作系親局からの動作確認信号が所定
時間内に受信されない場合、待機系親局を動作系親局に
切り替えるための送信イネーブル信号を発生することを
特徴とする。
According to a fourth aspect of the present invention, in the first aspect of the present invention, when the standby master station does not receive an operation confirmation signal from the active master station within a predetermined time, the standby master station becomes the active master station. It is characterized in that a transmission enable signal for switching is generated.

【0015】[0015]

【作用】請求項1の発明では、現動作系親局から待機系
親局に対して、共通のデータバスを介して一定間隔おき
に動作確認信号を送出する。この動作確認信号が所定時
間内に待機系親局において受信されない場合、待機系親
局を新たに動作系親局に切り替え、この切り替えられた
新たな動作系親局を介して上記子局に送受信を行う。
According to the first aspect of the present invention, the operation confirmation signal is sent from the current operating master station to the standby master station via the common data bus at regular intervals. If this operation confirmation signal is not received by the standby master station within the predetermined time, the standby master station is newly switched to the active master station, and transmission / reception to / from the slave station is performed via the newly switched active master station. I do.

【0016】請求項2の発明では、上記動作確認信号に
監視時間データを含ませることにより、待機系親局が上
記確認信号に含まれる監視時間内に上記データバスを介
して動作確認信号を受信しない場合、待機系親局から動
作系親局に切り替える。
According to the second aspect of the present invention, by including the monitoring time data in the operation confirmation signal, the standby master station receives the operation confirmation signal via the data bus within the monitoring time included in the confirmation signal. If not, switch from the standby master station to the active master station.

【0017】請求項3の発明では、データバス上にスイ
ッチング手段を設け親局が動作状態にあれば上記データ
バスと接続し、異常が発生すればそのデータバスと切り
離す。
According to the third aspect of the invention, switching means is provided on the data bus to connect to the data bus if the master station is in operation, and disconnect from the data bus if an abnormality occurs.

【0018】請求項4の発明では、待機系親局は動作系
親局からの動作確認信号が所定時間内に受信されない場
合、待機系親局を動作させるための送信イネーブル信号
を発生する。
According to the invention of claim 4, the standby master station generates a transmission enable signal for operating the standby master station when the operation confirmation signal from the active master station is not received within a predetermined time.

【0019】[0019]

【実施例】以下、この発明に係るPLCのリモートI/
Oシステムの一実施例を図面に基づいて説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The PLC remote I / O according to the present invention
An embodiment of the O system will be described with reference to the drawings.

【0020】図1は、この発明に係るPLCのリモート
I/Oシステムの全体構成を示すブロック図である。
FIG. 1 is a block diagram showing the overall configuration of a PLC remote I / O system according to the present invention.

【0021】図1に示すように、この発明に係るPLC
のリモートI/Oシステムは、待機系親局1、動作系親
局2と複数の子局3a、3b、3c、3dが共通のデー
タバス4を介して接続されている。
As shown in FIG. 1, the PLC according to the present invention
In the remote I / O system, the standby master station 1, the active master station 2 and a plurality of slave stations 3a, 3b, 3c and 3d are connected via a common data bus 4.

【0022】動作系親局2は、自局および待機系親局1
に所定間隔毎、特定のアドレスを持たない動作確認信号
6を送出し、同時に各子局3a〜3dに順次要求フレー
ムP1、P2、P3、P4を出し、各子局3a〜3dは
動作系親局2に順次応答フレームR1、R2、R3、R
4を返すことにより、データの送受信を行う。
The operating master station 2 is the own station and the standby master station 1.
To the slave stations 3a to 3d at the same time, request signals P1, P2, P3, and P4 are sequentially output to the slave stations 3a to 3d. The response frames R1, R2, R3, and R are sequentially transmitted to the station 2.
Data is transmitted and received by returning 4.

【0023】待機系親局1は動作系親局2からの動作確
認信号6が所定時間内に受信されない場合、新たに動作
系親局として動作する。
The standby master station 1 newly operates as an active master station if the operation confirmation signal 6 from the active master station 2 is not received within a predetermined time.

【0024】図2は、図1に示した待機系親局1および
動作系親局2のハードウェア構成を示す概略ブロック図
である。これら親局は、通信制御部10を中心に周辺イ
ンタフェース11、通信バッファ12、送信機能部1
3、受信機能部14、データバスインタフェース15を
備えて構成され、データバス4を介して各子局との間で
ポーリングセレクション方式のデータのやり取りが行わ
れるように構成されている。
FIG. 2 is a schematic block diagram showing the hardware configuration of the standby master station 1 and the operating master station 2 shown in FIG. These master stations mainly include the communication control unit 10, the peripheral interface 11, the communication buffer 12, and the transmission function unit 1.
3, a reception function unit 14, and a data bus interface 15 are provided, and the polling selection method data is exchanged with each slave station via the data bus 4.

【0025】通信制御部10は、システムプログラム、
CPU、メモリ等を有し、上記動作確認信号6を監視す
るタイマ機能を備え、親局の全体動作を統括制御し、ポ
ーリングセレクション方式による通信の制御および動作
確認信号6の発生を行うもので、子局への要求フレーム
は、送信機能部13を介して各子局へ送出され、また、
受信機能部14を介して子局からの応答フレームを受け
取る。
The communication control unit 10 is a system program,
It has a CPU, a memory, etc., has a timer function for monitoring the operation confirmation signal 6, controls the overall operation of the master station, controls communication by the polling selection method, and generates the operation confirmation signal 6. The request frame to the slave station is sent to each slave station via the transmission function unit 13, and
The response frame from the slave station is received via the reception function unit 14.

【0026】また、親局が動作系である場合はシステム
が起動すると送信イネーブル信号7が送信機能部13に
送出され、親局が待機系である場合は、動作確認信号6
が通信制御部10に設定された所定時間内に受信されな
い場合、送信イネーブル信号7を送信機能部13に送出
する。
When the master station is the active system, the transmission enable signal 7 is sent to the transmission function unit 13 when the system is activated, and when the master station is the standby system, the operation confirmation signal 6
Is not received within the predetermined time set by the communication control unit 10, the transmission enable signal 7 is sent to the transmission function unit 13.

【0027】送信機能部13は、通信制御部10からの
通信イネーブル信号7を受信して初めて動作するもので
あり、親局が待機系である場合は、これにより待機系か
ら動作系に切り替えることができる。また送信制御部1
0からの要求フレームを受けデータバスインタフェース
回路15に送信する。
The transmission function unit 13 operates only after receiving the communication enable signal 7 from the communication control unit 10. When the master station is the standby system, the switching from the standby system to the operation system is performed by this. You can Also, the transmission control unit 1
The request frame from 0 is transmitted to the data bus interface circuit 15.

【0028】周辺インタフェース11には、図示しない
周辺装置が接続され、通信制御部10との間で通信を行
う。
A peripheral device (not shown) is connected to the peripheral interface 11 to communicate with the communication control unit 10.

【0029】通信バッファ12は、各子局との間で通信
を行うためのデータなどが一時的に蓄えられる。
The communication buffer 12 temporarily stores data for communicating with each slave station.

【0030】受信機能部14は、子局からの応答フレー
ムを受信するとともに、動作系親局2から送信される動
作確認信号6を受信して通信制御部10に送出する。
The receiving function unit 14 receives the response frame from the slave station, receives the operation confirmation signal 6 transmitted from the operating master station 2, and sends it to the communication control unit 10.

【0031】データバスインタフェース回路15は、送
信機能部13からの要求フレームを共通のデータバス4
に送出し、また共通のデータバス4からの応答フレーム
等を受信機能部14へ送出する。
The data bus interface circuit 15 transmits the request frame from the transmission function unit 13 to the common data bus 4.
And the response frame and the like from the common data bus 4 to the reception function unit 14.

【0032】図3は、この発明に係るPLCのリモート
I/Oシステムにおいて1対Nのポーリングセレクショ
ン方式による通信を行う場合の作用説明図である。
FIG. 3 is a diagram for explaining the operation in the case where communication is performed by the 1: N polling selection method in the PLC remote I / O system according to the present invention.

【0033】この1対Nのポーリングセレクション方式
では、図3に示すように、動作系親局2は、まず子局3
aに順次要求フレームP1を送り、要求フレームP1を
受信した子局3aは応答フレームR1を動作系親局2に
返送する。
In this 1-to-N polling selection system, as shown in FIG.
Request frames P1 are sequentially sent to a, and the slave station 3a that receives the request frames P1 returns a response frame R1 to the active master station 2.

【0034】次に、動作系親局2が要求フレームP2を
子局3bに送ると、要求フレームP2を受信した子局3
bは応答フレームR2を動作系親局2に返送する。以
下、順次各子局との間で同様の送受信を繰り返す。
Next, when the operating parent station 2 sends the request frame P2 to the child station 3b, the child station 3 which has received the request frame P2.
b returns the response frame R2 to the operating system master station 2. Hereinafter, similar transmission / reception is repeated with each slave station.

【0035】このように、動作系親局2と各子局との間
のデータの送受信が共通のデータバス4を介して行われ
ている際に、動作系親局2は、自局と待機系親局1宛て
に所定時間毎、特定のアドレスを持っていない動作確認
信号6を共通のデータバス4を介して送出する。そし
て、この場合、待機系親局1が所定時間内に動作確認信
号6を受信しない場合、待機系親局1は、動作系親局2
に切り替えられる。
In this way, when data transmission / reception between the active master station 2 and each slave station is performed via the common data bus 4, the active master station 2 waits with its own station. An operation confirmation signal 6 which does not have a specific address is sent to the parent station 1 at predetermined time intervals via the common data bus 4. In this case, when the standby master station 1 does not receive the operation confirmation signal 6 within a predetermined time, the standby master station 1 determines that the standby master station 2
Can be switched to.

【0036】次に、このように待機系親局1が動作系親
局2に切り替わる場合の処理手順を図4を参照しながら
詳述する。
Next, the processing procedure when the standby master station 1 is switched to the active master station 2 will be described in detail with reference to FIG.

【0037】同図において、ステップ100〜107は
待機系親局1としての処理手順であり、ステップ108
以降は動作系親局2としての処理手順を示している。
In the figure, steps 100 to 107 are processing procedures as the standby master station 1, and step 108
Hereinafter, the processing procedure as the operating system master station 2 is shown.

【0038】すなわち、待機系親局1はシステムが起動
すると(ステップ100)、初めは送信停止状態であり
(ステップ101)、動作系親局2からの動作確認信号
6を監視するタイマをリセットする(ステップ10
2)。
That is, when the standby master station 1 starts the system (step 100), it is initially in a transmission stopped state (step 101) and resets the timer for monitoring the operation confirmation signal 6 from the active master station 2. (Step 10
2).

【0039】次に、動作確認信号6を受信状態か否かが
判断され、受信しなければ(ステップ103 “N
o”)、タイマ値をインクリメントする(ステップ10
4)。
Next, it is judged whether or not the operation confirmation signal 6 is received, and if it is not received (step 103 "N").
o "), increment the timer value (step 10)
4).

【0040】一方、動作確認信号6を受信すると(ステ
ップ103 “Yes”)、上記監視タイマを停止する
(ステップ105)。
On the other hand, when the operation confirmation signal 6 is received (step 103 "Yes"), the monitoring timer is stopped (step 105).

【0041】こうして、動作確認信号6の受信により監
視タイマが停止されると次に、その時のタイマ値が所定
の基準時間をオーバーしているか否かが調べられる。
(スッテプ106)。この場合の基準時間は所定時間異
常経過しても動作系親局2から動作確認信号6を受信し
なかったら動作系親局2を異常と判別できる所定の時間
が設定される。
In this way, when the monitoring timer is stopped by receiving the operation confirmation signal 6, it is next checked whether or not the timer value at that time exceeds a predetermined reference time.
(Step 106). In this case, the reference time is set to a predetermined time during which the operating system master station 2 can be determined to be abnormal if the operation confirmation signal 6 is not received from the operating system master station 2 even if a predetermined time has elapsed.

【0042】ここで、タイマ値が基準時間をオーバーし
ていなかったら(ステップ106“No”)、さらに上
記ステップ103以下の処理が繰り返されることになる
が、タイマ値が基準時間をオーバーしていると(ステッ
プ106 “Yes”)動作系親局2は故障と判断さ
れ、停止状態にあった通信機能部13が動作可能になる
(ステップ107)。
Here, if the timer value does not exceed the reference time (step 106 "No"), the processing from step 103 onward is repeated, but the timer value exceeds the reference time. (Step 106 “Yes”) It is determined that the operating system master station 2 is out of order, and the communication function unit 13 in the stopped state becomes operable (Step 107).

【0043】これは、図2に示した送信イネーブル信号
7がON状態となって、送信データ8の送出が可能とな
ることにより実行される。
This is executed when the transmission enable signal 7 shown in FIG. 2 is turned on and the transmission data 8 can be transmitted.

【0044】これにより待機系親局1は動作系親局2に
切り替わり、今度は動作系親局2の動作をし、子局の加
入勧誘や子局接続テーブル作成などのネットワーク構築
動作を行う(ステップ108)。
As a result, the standby master station 1 is switched to the active master station 2, and this time operates as the active master station 2 to perform network construction operations such as solicitation of slave stations and creation of a slave station connection table ( Step 108).

【0045】次に、子局接続変更か否かが判断される
(ステップ109)、接続変更がない場合は(ステップ
109 “No”)、子局とのデータ送受信処理が行わ
れる(ステップ111)。また、子局の接続変更があれ
ば(ステップ109 “Yes”)図示しない子局テー
ブルを変更する(ステップ110)。
Next, it is judged whether or not the slave station connection is changed (step 109). If the connection is not changed (step 109 "No"), data transmission / reception processing with the slave station is performed (step 111). . If the connection of the slave station is changed (“Yes” at step 109), the slave station table (not shown) is changed (step 110).

【0046】次に、動作確認信号6を自局と他の親局宛
てに送信する(ステップ112)。そして、子局とのポ
ーリングセレクション方式のデータ通信が停止すると
(ステップ113 “Yes”)システム全体を停止さ
せる(スッテプ114)。また、子局とのポーリングセ
レクション方式のデータ通信が継続して行われるている
ときは(ステップ113 “No”)、ステップ109
以降の処理が繰り返して行われる。
Next, the operation confirmation signal 6 is transmitted to the own station and other master stations (step 112). When the polling selection type data communication with the slave station is stopped (step 113 "Yes"), the entire system is stopped (step 114). Further, when the polling selection type data communication with the slave station is continuously performed (step 113 “No”), step 109
The subsequent processing is repeated.

【0047】従って、この実施例によれば、動作系親局
2は、一定間隔おきの動作確認信号6を待機系親局1に
共通のデータバス4を介して送信し、この動作確認信号
6が所定時間内に待機系親局1において受信されない場
合、待機系親局1を新たに動作系親局2に切り替えるよ
うにしたので、従来のように親局の切り替えには親局間
伝送路5などの特別な手段は必要としない。従って、低
コストにこの種装置を得ることができることになる。
Therefore, according to this embodiment, the operating master station 2 transmits the operation confirming signals 6 at regular intervals via the common data bus 4 to the standby master station 1, and the operating confirming signals 6 are transmitted. If the standby system master station 1 is not received within a predetermined time, the standby system master station 1 is newly switched to the operating system master station 2. No special measures such as 5 are required. Therefore, this kind of device can be obtained at low cost.

【0048】また、この実施例では、動作確認信号6に
はその監視時間データは含まれていないが、この発明で
は上記動作確認信号6にその監視時間データを含ませる
こともでき、この場合は、待機系親局1はタイマ値がこ
の監視時間をオーバーしたか否かを判別することによっ
て動作系親局2の異常を判別する。
Further, in this embodiment, the operation confirmation signal 6 does not include the monitoring time data, but in the present invention, the operation confirmation signal 6 may include the monitoring time data. In this case, The standby master station 1 determines whether the operating master station 2 is abnormal by determining whether the timer value exceeds this monitoring time.

【0049】このような構成によれば、異常判別の監視
時間を任意に設定できることになる。
With this configuration, the monitoring time for abnormality determination can be set arbitrarily.

【0050】なお、親局は待機系親局1となった場合、
ユーザプログラムの実行動作は停止状態とすると無駄な
動作をすることがないが、一方、待機系親局1となった
場合でも実行動作を継続するようにしてもよい。この場
合は、親局の動作状態の切り替えに伴う複雑な制御プロ
グラムを不要とし簡略なプログラムで済ますことができ
る。
When the master station becomes the standby system master station 1,
If the execution operation of the user program is stopped, no unnecessary operation is performed, but on the other hand, the execution operation may be continued even when the standby system master station 1 is set. In this case, a simple control program can be achieved by eliminating the need for a complicated control program that accompanies the switching of the operating status of the master station.

【0051】また、この発明では、動作系親局2および
待機系親局1のデータバス4上にスイッチング手段を備
えることもでき、人間が親局らの動作状態を判断し、異
常が発生した親局を上記データバス4と切り離し、正常
な親局とそのデータバス4とを接続することもできる。
Further, in the present invention, switching means may be provided on the data bus 4 of the operating master station 2 and the standby master station 1, and a person judges the operating state of the master stations and an abnormality occurs. It is also possible to separate the master station from the data bus 4 and connect the normal master station and its data bus 4.

【0052】[0052]

【発明の効果】以上説明したように、請求項1の発明に
よれば、現動作系親局から待機系親局に対して、一定間
隔おきに動作確認信号を送出し、この動作確認信号が所
定時間内に待機系親局において受信されない場合、待機
系親局を新たに動作系親局に切り替え、この切り替えら
れた新たな動作系親局を介して上記子局に送受信を行う
ようにしたので、親局を2台にしても従来のように親局
間に特別な通信手段を必要とせず、通常のPLCのリモ
ートI/Oシステム構成に親局を一台追加するだけで親
局を2重化した信頼性の高いPLCのリモートI/Oシ
ステムを提供することができる。
As described above, according to the first aspect of the present invention, the operation confirming signal is sent from the current operating master station to the standby master station at regular intervals. When the standby master station does not receive the signal within the predetermined time, the standby master station is newly switched to the active master station, and transmission / reception to / from the slave station is performed via the newly switched active master station. Therefore, even if there are two master stations, there is no need for special communication means between the master stations as in the conventional case, and the master station can be created by adding one master station to the normal PLC remote I / O system configuration. It is possible to provide a remote I / O system of a duplicated PLC with high reliability.

【0053】また、親局は特定のアドレスを持った子局
側の仕様に依存することはなく、制御プログラムに特別
な処理を必要としない。
Further, the master station does not depend on the specifications of the slave station having a specific address, and the control program does not require any special processing.

【0054】請求項2の発明によれば、上記動作確認信
号に監視時間データを含ませることにより待機系親局
が、上記確認信号に含まれる監視時間内に動作確認信号
を受信しない場合、待機系親局から動作系親局に切り替
えるようにしたので、監視時間の間隔を変えるときなど
は、監視時間データを変えるだけでよく、任意に監視時
間を設定できる。
According to the second aspect of the present invention, by including the monitoring time data in the operation confirmation signal, when the standby master station does not receive the operation confirmation signal within the monitoring time included in the confirmation signal, the standby state is waited. Since the system master station is switched to the operating system master station, when the monitoring time interval is changed, it is only necessary to change the monitoring time data, and the monitoring time can be set arbitrarily.

【0055】請求項3の発明によれば、動作系親局およ
び待機系親局のデータバス上に、スイッチング手段を備
えたので、待機系親局から動作系親局に切り替わる動作
の信頼性をさらに上げることができ、自動的に切り替わ
らなかったときのバックアップにもなる。
According to the third aspect of the present invention, since the switching means is provided on the data buses of the active master station and the standby master station, the reliability of the operation of switching from the standby master station to the active master station is improved. You can raise it further, and it will be a backup when it does not switch automatically.

【0056】請求項4の発明によれば、待機系親局は動
作系親局からの動作確認信号が所定時間内に受信されな
い場合、送信イネーブル信号を発生するようにしたの
で、その送信イネーブル信号により自動的に動作系親局
に切り替えることができる。
According to the invention of claim 4, the standby master station generates the transmission enable signal when the operation confirmation signal from the operating master station is not received within the predetermined time. Can automatically switch to the operating system master station.

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

【図1】この発明に係るPLCのリモートI/Oシステ
ムの全体構成を示すブロック図。
FIG. 1 is a block diagram showing the overall configuration of a PLC remote I / O system according to the present invention.

【図2】親局のハードウェア構成を示すブロック図。FIG. 2 is a block diagram showing a hardware configuration of a master station.

【図3】図1に示したシステムの作用説明図。FIG. 3 is an operation explanatory view of the system shown in FIG.

【図4】待機系親局1から動作系親局2に切り替わる時
の処理手順を示すフローチャート。
FIG. 4 is a flowchart showing a processing procedure when the standby master station 1 is switched to the active master station 2.

【図5】従来のPLCのリモートI/Oシステムの全体
構成を示すブロック図。
FIG. 5 is a block diagram showing the overall configuration of a conventional PLC remote I / O system.

【図6】従来の親局を二重化した場合のPLCのリモー
トI/Oシステムを示す概略構成図。
FIG. 6 is a schematic configuration diagram showing a remote I / O system of a PLC when a conventional master station is duplicated.

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

1 待機系親局 1A 親局(従来例) 1a 待機系親局(従来例) 2 動作系親局 2a 動作系親局(従来例) 3a、3b、3c、3d 子局 4 共通のデータバス 5 親局間伝送路 6 動作確認信号 7 送信イネーブル信号 10 通信制御部 11 周辺インタフェース 12 通信バッファ 13 送信機能部 14 受信機能部 15 データバスインタフェース回路 P1 要求フレーム P2 要求フレーム R1 応答フレーム R2 応答フレーム 1 Standby system master station 1A Master station (conventional example) 1a Standby system master station (conventional example) 2 Operating system master station 2a Operating system master station (conventional example) 3a, 3b, 3c, 3d Slave station 4 Common data bus 5 Transmission line between master stations 6 Operation confirmation signal 7 Transmission enable signal 10 Communication control unit 11 Peripheral interface 12 Communication buffer 13 Transmission function unit 14 Reception function unit 15 Data bus interface circuit P1 request frame P2 request frame R1 response frame R2 response frame

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 動作系親局と待機系親局及び複数の子局
が共通のデータバスを介して接続され、これら親局と複
数の子局間でデータの送受信を行うプログラマブルコン
トローラのリモートI/Oシステムであって、 現動作系親局から待機系親局に対して上記データバスを
介し、一定間隔おきに動作確認信号を送出する動作確認
信号送出手段と、 この動作確認信号送出手段から送出された動作確認信号
が所定時間内に待機系親局において受信されない場合、
待機系親局を新たに動作系親局に切り替える切り替え手
段を有し、 この切り替えられた新たな動作系親局を介して上記子局
にデータの送受信をするようにしたことを特徴とするプ
ログラマブルコントローラのリモートI/Oシステム。
1. A remote controller I of a programmable controller, in which an operating system master station, a standby system master station, and a plurality of slave stations are connected via a common data bus, and data is transmitted and received between the master station and a plurality of slave stations. / O system, an operation confirmation signal transmitting means for transmitting an operation confirmation signal from the current operation master station to the standby master station via the above data bus at regular intervals, and the operation confirmation signal transmission means. If the operation confirmation signal sent is not received by the standby master station within the predetermined time,
A programmable device characterized by having switching means for newly switching the standby master station to the active master station, and transmitting / receiving data to / from the slave station via the newly switched active master station. Controller remote I / O system.
【請求項2】 上記動作確認信号には、監視時間データ
が含まれ、待機系親局がこの監視時間内に上記動作確認
信号を受信しない場合、待機系親局は動作系親局に切り
替えられることを特徴とする請求項1記載のプログラマ
ブルコントローラのリモートI/Oシステム。
2. The operation confirmation signal includes monitoring time data, and if the standby system master station does not receive the operation confirmation signal within this monitoring time, the standby system master station is switched to the operation system master station. The remote I / O system for a programmable controller according to claim 1, wherein:
【請求項3】 動作系親局および待機系親局のデータバ
ス上にスイッチング手段を備えたことを特徴とする請求
項1記載のプログラマブルコントローラのリモートI/
Oシステム。
3. The remote I / I of the programmable controller according to claim 1, further comprising switching means on the data buses of the operating master station and the standby master station.
O system.
【請求項4】 待機系親局は動作系親局からの動作確認
信号が所定時間内に受信されない場合、待機系親局を動
作系親局に切り替えるための送信イネーブル信号を発生
することを特徴とする請求項1記載のプログラマブルコ
ントローラのリモートI/Oシステム。
4. The standby master station generates a transmission enable signal for switching the standby master station to the active master station when the operation confirmation signal from the active master station is not received within a predetermined time. The remote I / O system of the programmable controller according to claim 1.
JP5208028A 1993-08-23 1993-08-23 Remote i/o system of programmable controller Withdrawn JPH0764472A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5208028A JPH0764472A (en) 1993-08-23 1993-08-23 Remote i/o system of programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5208028A JPH0764472A (en) 1993-08-23 1993-08-23 Remote i/o system of programmable controller

Publications (1)

Publication Number Publication Date
JPH0764472A true JPH0764472A (en) 1995-03-10

Family

ID=16549482

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5208028A Withdrawn JPH0764472A (en) 1993-08-23 1993-08-23 Remote i/o system of programmable controller

Country Status (1)

Country Link
JP (1) JPH0764472A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000250624A (en) * 1999-02-26 2000-09-14 Nec Eng Ltd Monitoring system for intra-device state
KR100689322B1 (en) * 2005-06-30 2007-03-08 엘에스산전 주식회사 Method for filtering the input signal in plc communication module and apparatus therefor
JP2019219894A (en) * 2018-06-20 2019-12-26 株式会社明電舎 Switching scheme of plc dual system, switching method of plc dual system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000250624A (en) * 1999-02-26 2000-09-14 Nec Eng Ltd Monitoring system for intra-device state
KR100689322B1 (en) * 2005-06-30 2007-03-08 엘에스산전 주식회사 Method for filtering the input signal in plc communication module and apparatus therefor
JP2019219894A (en) * 2018-06-20 2019-12-26 株式会社明電舎 Switching scheme of plc dual system, switching method of plc dual system

Similar Documents

Publication Publication Date Title
US5870680A (en) Method and an apparatus for placing devices on standby in a system including a portable mobile telephone connected to a peripheral device
JPH1011369A (en) Communication system and information processor with hot standby switching function
JP3108393B2 (en) Control system using PLC
JPH0764472A (en) Remote i/o system of programmable controller
JP2504366B2 (en) Fault tolerant system
JP3380957B2 (en) Redundant communication controller
JPH10232704A (en) Duplex programmable controller
JP4144833B2 (en) Centralized transmission device, communication system, operation method, automatic meter reading system, and recording medium
JPH0991233A (en) Network connection device
JPH0638276A (en) Multiplex transmitter
JP2666849B2 (en) Remote monitoring device
JP2621779B2 (en) Connection test method for distributed system
JP2669367B2 (en) LAN adapter
JP3174663B2 (en) Communication system in multiplex server system
JPH06152679A (en) Communication system utilizing packet network
JPH05252221A (en) Remote power supply applying system
JP2604174Y2 (en) Communication control device
JPS6313385B2 (en)
JPH0223740A (en) Communication network system
JP2566022B2 (en) Optical ring bus control system
JP2000242316A (en) Doubled data synchronization system
JPH0438618Y2 (en)
JPH03263942A (en) Power source control system used in lan
JPS6212232A (en) Data transmission control system
JPH077770A (en) Remote supervisory equipment

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20001031