JPS6356042A - Self-diagnosing method for data transmission - Google Patents
Self-diagnosing method for data transmissionInfo
- Publication number
- JPS6356042A JPS6356042A JP61200639A JP20063986A JPS6356042A JP S6356042 A JPS6356042 A JP S6356042A JP 61200639 A JP61200639 A JP 61200639A JP 20063986 A JP20063986 A JP 20063986A JP S6356042 A JPS6356042 A JP S6356042A
- Authority
- JP
- Japan
- Prior art keywords
- data
- transmission
- section
- self
- optical fiber
- 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.)
- Pending
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 63
- 238000000034 method Methods 0.000 title claims description 8
- 239000013307 optical fiber Substances 0.000 claims abstract description 20
- 238000004092 self-diagnosis Methods 0.000 claims abstract description 17
- 230000003287 optical effect Effects 0.000 claims description 5
- 238000012545 processing Methods 0.000 abstract description 10
- 230000006870 function Effects 0.000 abstract description 7
- 230000005856 abnormality Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 6
- 230000002159 abnormal effect Effects 0.000 description 2
- 238000003745 diagnosis Methods 0.000 description 2
- 239000003795 chemical substances by application Substances 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Landscapes
- Maintenance And Management Of Digital Transmission (AREA)
Abstract
Description
【発明の詳細な説明】
[技術分野]
本発明は、機器の動作を所定プログラムに従ってシーケ
ンシャルに制御するシーケンスコントローラのデータ伝
送自己診断方法に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Technical Field] The present invention relates to a data transmission self-diagnosis method for a sequence controller that sequentially controls the operation of equipment according to a predetermined program.
[背景技術1
今日、シーケンスコントローラにて制御llされるR’
J5のil[化に伴い、シーケンスコントローラを用い
た機器制御システムの高8!能化が図られるようになっ
ている。このような高機能化されたシーケンスコントロ
ーラを用いた機器制御システムを第4図に示す。この機
器制御システムは、複数台のシーケンスコントローラA
と、これらのシーケンスコントローラAを一括制御する
パーソナルコンピュータなどのコンピュータBとからな
り、各シーケンスコントローラAは、他のシーケンスコ
ントローラA開、あるいはコンピュータBとの闇でデー
タ伝送を行う伝送部1を備えており、夫々のシーケンス
コントローラAあるいはコンピユー78問を光ファイバ
10にて接続し、光ファイバ10を介して伝送部1にて
データ伝送を行うようになっている。[Background technology 1 Today, R' controlled by a sequence controller
With the development of J5 IL, the 8th year of high school students will learn about equipment control systems using sequence controllers! The system is now being made more efficient. FIG. 4 shows a device control system using such a highly functional sequence controller. This equipment control system consists of multiple sequence controllers A
and a computer B such as a personal computer that collectively controls these sequence controllers A, and each sequence controller A is equipped with a transmission section 1 that performs secret data transmission with other sequence controllers A or computer B. Each of the sequence controllers A or 78 computers is connected by an optical fiber 10, and data is transmitted by the transmission section 1 via the optical fiber 10.
従来、このようなシーケンスコントローラA(7)伝送
fflSiのデータ伝送機能をユーザが診断する場合、
複数個のシーケンスコントローラAの伝送部1を光7ア
イパ10で接続し、たとえばテストコマンドを送受信す
るといったデータ伝送を夫々のシーケンスコントローラ
A闇で行い、データ伝送機能の診断を行っていた。Conventionally, when a user diagnoses the data transmission function of such sequence controller A (7) transmission fflSi,
The transmission units 1 of a plurality of sequence controllers A are connected by optical 7-eyeper 10, and data transmission such as sending and receiving test commands is performed in the dark on each sequence controller A, thereby diagnosing the data transmission function.
しかし、上述のようなデータ伝送の診断方法では、シス
テムで故障が生じた場合、伝送部1の個々についての診
断をするができず、このため故障診断に費やす時間がか
かり過ぎる問題があった。However, in the data transmission diagnosis method as described above, when a failure occurs in the system, it is not possible to diagnose each transmission unit 1 individually, and therefore there is a problem in that it takes too much time to diagnose the failure.
[発明の目的1
本発明は上述の点に鑑みて為されたものであり、その目
的とするところは、シーケンスコントローラの伝送部の
異常診断を個々に簡単、且つ短時間で行うことができる
データ伝道自己診断方法を提供することにある。[Objective of the Invention 1 The present invention has been made in view of the above-mentioned points, and its object is to provide data that can easily and quickly diagnose abnormalities in the transmission section of a sequence controller. The purpose is to provide a method for self-diagnosis of evangelism.
[発明の開示]
(構成)
本発明は、機器の動作を所定プログラムに従ってシーケ
ンシャルに制御するシーケンスコントローラを複数台備
えるとともに、上記シーケンスコントローラを一括制御
するコンピュータを備え、所定のシーケンスコントロー
ラ、あるいはコンピュータ開を光ファイバにて接続して
光信号を送受信してデータ伝送を行う機器制御システム
において、上記シーケンスコントローラのデータ伝送を
行う伝送部の光ファイバが接続される送信端子及び受信
端子問を1本の光ファイバにて掛け渡し接続し、上記伝
送部の送信側から所定データを送信するとともに、この
送信信号を伝送部の受信側で受イゴし、送信データと受
信データとが一致するかで伝送部が正常であるか否かを
判定し、個々のシーケンスコントローラの伝送部のデー
タ伝送機能の診断を行うようにしたものである。[Disclosure of the Invention] (Configuration) The present invention includes a plurality of sequence controllers that sequentially control the operation of devices according to a predetermined program, and a computer that collectively controls the sequence controllers. In an equipment control system in which data is transmitted by transmitting and receiving optical signals by connecting the above-mentioned sequence controllers using optical fibers, the transmission terminal and the reception terminal to which the optical fiber of the transmission unit that transmits data of the sequence controller is connected are connected to one wire. The transmitting side of the transmission section transmits predetermined data using an optical fiber, and the receiving side of the transmission section receives this transmission signal. The data transmission function of the transmission section of each sequence controller is diagnosed by determining whether or not it is normal.
(実施例)
第1図乃至第3図は本発明の一実施例を示す図テアリ、
本実施例のシーケンスコントローラAでは、tIS1図
に示すように、他のシーケンスコントローラAあるいは
コンピュータBと接続された光ファイバ10を介して光
信号の送受信を行う伝送部1を、送信信号及び受信信号
を光電変換する光電変換器2と、通常のデータ伝送の場
合で例えばコンピュータBから送信されたデータを受信
して、この受信信号に基づいて送信信号を送信するCP
Uからなる信号処理部3と、この信号処理部3にて行う
信号処理に用いられる110 Mメモリ4、あるいはR
AMメモリ5とで枯成しである。なお、信号処理部3と
光電変換器2との間での授受はシリアル信号を用いて行
っている。また、本実施例では、上述したシーケンスコ
ントローラA IJI、あるいはコンピュータBとの開
で行う通常のデータ伝Mモードと、個々のシーケンスコ
ントローラAの伝送部1のデータ伝送8!能の診断を行
う自己診断モードとの切換を行うスイッチS W 1を
備え、このスイッチSW、が信号処理部3の入力端子P
2に接続されている。このスイッチSWlが自己診断モ
ード側に切換操作されたときには、信号処理部3がRO
Mメモリ4に記憶された所定プログラムを実行して、伝
送部1のデータ伝送機能の診断を行う。また、この自己
診断モードの実行による伝送部1のデータ伝送機能が正
常が否かの判定表示を、信号処理g3の判定出力端子P
1にインバータ7を介して接続された表示部6を、α灯
することにより行う。本実施例では、表示部6として発
光ダイオードを用いている。(Embodiment) Figures 1 to 3 are diagrams showing an embodiment of the present invention.
In the sequence controller A of this embodiment, as shown in the tIS1 diagram, the transmission unit 1 that transmits and receives optical signals via the optical fiber 10 connected to another sequence controller A or computer B is connected to the transmitting signal and the receiving signal. a photoelectric converter 2 that photoelectrically converts the data, and a CP that receives data transmitted from, for example, computer B in the case of normal data transmission and transmits a transmission signal based on this received signal.
A signal processing unit 3 consisting of U, and a 110M memory 4 used for signal processing performed by this signal processing unit 3, or R
With AM memory 5, it has become obsolete. Note that communication between the signal processing section 3 and the photoelectric converter 2 is performed using serial signals. Furthermore, in this embodiment, the normal data transmission M mode performed with the above-mentioned sequence controller A IJI or computer B, and the data transmission 8! of the transmission section 1 of each sequence controller A! A switch SW1 is provided for switching between a self-diagnosis mode and a self-diagnosis mode for diagnosing the function.
Connected to 2. When this switch SWl is operated to switch to the self-diagnosis mode side, the signal processing section 3
A predetermined program stored in the M memory 4 is executed to diagnose the data transmission function of the transmission section 1. In addition, a judgment display as to whether the data transmission function of the transmission unit 1 is normal or not by executing this self-diagnosis mode is displayed at the judgment output terminal P of the signal processing g3.
This is carried out by turning on the display section 6 connected to 1 through the inverter 7. In this embodiment, a light emitting diode is used as the display section 6.
以下、本実施例の動作について説明する。まず、シーケ
ンスコントローラAが通常のデータ伝送モードである場
合、例えばコンピュータBがら送(itされて光ファイ
バ10を介して受信されたとすると、この受信信号は充
電変換器2を介して信号処理部3に読み込まれ、このf
i号処j!l!部3では受信46号に従ってROMメモ
リ4がら通常のデータ伝送用のプログラムを呼び出して
実行する。このプログラムの実行により、例えば他のシ
ーケンスコントローラAに光ファイバ10を介して送信
を行ったり、あるいはシーケンスコントty −7Aに
て制御される機器に制御信号を送信したりする。なお、
上述のシーケンスコントローラAの通常のデータ伝送モ
ードのプログラム中には、第3図の左側に示すように、
ある一定のタイミングでスイッチSW、の繰作状態を監
視する命令が組み込まれている。従って、通常のデータ
伝送モードのプログラム実行途中でも自己診断モードに
切り換えることができる。The operation of this embodiment will be explained below. First, when the sequence controller A is in the normal data transmission mode, for example, if it is transmitted from the computer B and received via the optical fiber 10, this received signal is transmitted via the charging converter 2 to the signal processing unit 3. and this f
i place j! l! The unit 3 calls and executes a normal data transmission program from the ROM memory 4 in accordance with the reception number 46. By executing this program, for example, a control signal is transmitted to another sequence controller A via the optical fiber 10, or a control signal is transmitted to a device controlled by the sequence control ty-7A. In addition,
During the normal data transmission mode programming of the above-mentioned sequence controller A, as shown on the left side of FIG.
A command to monitor the operating state of the switch SW at a certain timing is incorporated. Therefore, it is possible to switch to the self-diagnosis mode even during program execution in the normal data transmission mode.
次に、自己診断モードにスイッチSW1を切り換えた場
合について説明する。このときには、第2図に示すよう
に、シーケンスコントローラAの伝送部1の他のシーケ
ンスコントローラAなどとの開で光ファイバ10が接続
される送受信端子8゜9問を1本の光7アイパ10にて
掛け渡し接続する。なお、自己診断を確実に行うため、
この場合に使用する光ファイバ10は正常なものである
ことを予め確認しておく。そして、この光ファイバ10
の接続後、スイッチSW1を自己診断モード側に切り換
えろ。このスイッチSWlの切換により、信号処理部3
はROMメモリ4から自己診断を行うためのプログラム
を読み出して実行する。Next, a case will be described in which the switch SW1 is switched to the self-diagnosis mode. At this time, as shown in FIG. Connect across the board. In addition, in order to ensure self-diagnosis,
It is confirmed in advance that the optical fiber 10 used in this case is normal. And this optical fiber 10
After connecting, switch SW1 to self-diagnosis mode. By switching this switch SWl, the signal processing section 3
reads out a program for self-diagnosis from the ROM memory 4 and executes it.
以下、この自己診断方法を第3図に従って説明する。ま
ず、初めに伝送部1の送信側からは何等の信号も送信せ
ず、伝送s1の受MgAは正常に受信動作させる。この
とき受信側に何等かのデータが受信されたかどうかを判
定する。受信側はタイミングによって異常な受信動作を
行う場合があるので、このプログラムは適宜回数繰り返
し行う6そして、受信側に何等かのデータが受イδされ
た場合には、伝送部1の受信側に河等かの異常があるか
ら、この場合表示部6を点灯することにより、ユーザに
異常があることを知C)せる。このプログラムの実行に
より、まず伝送部1の受信側が異常がないかを確認する
ことができる。そして、受信側に異常がないことが確認
されたときには、次のプログラムを実行する。この場合
は、送MIl!から所定のデータを送信するとともに、
この送信信号を受信筒で受信し、上記送信側から送信さ
れたデータが受信側で正しく受信されたかどうかを判定
する。つまり、送受信データが一致したときに伝送部1
が正常であることが分かる。そして、送受信データが一
致しない場合は、伝送部1に異常があるから、表示部6
を点灯して異常を表示する。This self-diagnosis method will be explained below with reference to FIG. First, no signal is transmitted from the transmission side of the transmission section 1, and the receiving MgA of the transmission s1 is operated normally. At this time, it is determined whether any data has been received on the receiving side. Since the receiving side may perform abnormal reception operations depending on the timing, this program is repeated an appropriate number of times6.And when the receiving side receives some data, the receiving side of the transmitter 1 Since there is an abnormality such as a river, in this case, the display section 6 is turned on to inform the user of the abnormality C). By executing this program, it is possible to first check whether there is any abnormality on the receiving side of the transmitter 1. Then, when it is confirmed that there is no abnormality on the receiving side, the next program is executed. In this case, send MIl! In addition to transmitting the specified data from
This transmission signal is received by the receiving cylinder, and it is determined whether the data transmitted from the transmitting side is correctly received by the receiving side. In other words, when the transmitted and received data match, the transmitter 1
is found to be normal. If the transmitted and received data do not match, there is an abnormality in the transmitting section 1, and the display section 6
lights up to indicate an abnormality.
そして、このプログラムが終了して、上記スイッチSW
1が通常のデータ伝送モードに切り換られたとき、デー
タ伝送モードに戻る。なす3、スイッチSW1をそのま
まにしておいた場合には、上記動作が繰りMされる。こ
のように、伝送部1の送受信端子8.9に光ファイバ1
0を掛け渡し接続し、スイッチSW1の切換にて信号処
理部3にてROMメモリ4に記憶しである自己診断用の
プログラムを実行することにより、各シーケンスコント
ローラ八単体で自己の伝送部1に異常があるかどうかを
診断することができ、このように簡単な操作でどのシー
ケンスコン)(7−ラAが異常であるかを発見でき、従
ってユーザによっても異常なシーケンスコントローラA
を発見することができ、故障に対する迅速な対応が可能
となる。また、上記自己診断により正常であるとみなさ
れた伝送部1を用いて、光7Tイパ10の異常チェック
を行うこともできる。Then, when this program is finished, the above switch SW
1 is switched to normal data transmission mode, it returns to data transmission mode. 3. If the switch SW1 is left as it is, the above operation is repeated. In this way, the optical fiber 1 is connected to the transmission/reception terminal 8.9 of the transmission section 1.
By connecting 0 across and switching the switch SW1, the signal processing section 3 executes a self-diagnosis program stored in the ROM memory 4, so that each sequence controller 8 is connected to its own transmission section 1. It is possible to diagnose whether there is an abnormality or not, and with this simple operation it is possible to discover which sequence controller A is abnormal.
This enables quick response to failures. Furthermore, it is also possible to check for an abnormality in the optical 7T IP address 10 using the transmission section 1 that is determined to be normal by the above self-diagnosis.
[発明の効果]
本発明は上述のように、シーケンスフントローラの伝送
部の上記所定シーケンスコントローラと開で光ファイバ
が接続される送受43端子問を1本の光ファイバにて掛
け渡し接続し、自己の送信側から所定データを送信する
とともに、この所定データを自己の受信側で受信し、送
信データと受(itデータとが一致するかで伝送部が正
常であるか否かを判定することにより、シーケンスコン
トローラ1n体にて自己の伝送部が正常であるかどうか
を診断でさ、繰作が簡単であるからユーザによっても診
断を行うことができ、ニバ故に対する対応を速やかに行
うことができる効果を奏する。[Effects of the Invention] As described above, the present invention connects 43 transmitting/receiving terminals to which optical fibers are connected to the predetermined sequence controller of the transmitting section of the sequence controller using one optical fiber, It transmits predetermined data from its own transmitting side, receives this predetermined data on its own receiving side, and determines whether the transmitter is normal based on whether the transmitted data and the received (IT) data match. This allows the sequence controller 1n unit to diagnose whether its own transmission section is normal or not, and since it is easy to operate, the user can also perform the diagnosis, and can quickly respond to failures. Make the most of your efforts.
第1図は本発明の一実施例の回路図、第2図は同上の自
己診断のために光ファイバを伝送部の送受信端子に接続
した状態を示す説明図、第3図は同上の動作を示す70
−チャート、fltJ4図は同上の全体システムの構成
図である。
Aはシーケンスコントローラ、1は伝送部、10は光フ
ァイバである。
代理人 弁理士 石 1)長 七
第4図Fig. 1 is a circuit diagram of an embodiment of the present invention, Fig. 2 is an explanatory diagram showing the state in which an optical fiber is connected to the transmitting/receiving terminal of the transmission section for self-diagnosis of the above, and Fig. 3 is an illustration of the operation of the same. Show 70
-Chart, fltJ4 diagram is a configuration diagram of the entire system same as above. A is a sequence controller, 1 is a transmission section, and 10 is an optical fiber. Agent Patent Attorney Ishi 1) Chief Figure 7 4
Claims (2)
ャルに制御するシーケンスコントローラを複数台備える
とともに、上記シーケンスコントローラを一括制御する
コンピュータを備え、所定のシーケンスコントローラ、
あるいはコンピュータ問を光ファイバにて接続して光信
号を送受信してデータ伝送を行う機器制御システムにお
いて、上記シーケンスコントローラのデータ伝送を行う
伝送部の光ファイバが接続される送信端子及び受信端子
間を1本の光ファイバにて掛け渡し接続し、上記伝送部
の送信側から所定データを送信するとともに、この送信
信号を伝送部の受信側で受信し、送信データと受信デー
タとが一致するかで伝送部が正常であるか否かを判定し
て成ることを特徴とするデータ伝送自己診断方法。(1) A plurality of sequence controllers that sequentially control the operation of devices according to a predetermined program are provided, and a computer is provided that collectively controls the sequence controllers, and a predetermined sequence controller;
Alternatively, in an equipment control system that connects a computer with an optical fiber and transmits and receives optical signals to transmit data, the transmission terminal and the reception terminal to which the optical fiber of the transmission unit that transmits data from the sequence controller is connected. A single optical fiber is connected across the board, and the transmitting side of the transmission unit transmits specified data, and the receiving side of the transmission unit receives this transmitted signal, and determines whether the transmitted data and received data match. A data transmission self-diagnosis method characterized by determining whether or not a transmission section is normal.
受信側で何等かのデータが受信されたか否かを判定し、
伝送部の受信側のみが正常であるか否かを判定して成る
ことを特徴とする特許請求の範囲第1項記載のデータ伝
送自己診断方法。(2) The transmitting side does not transmit any data, and the receiving side determines whether any data has been received at this time,
2. The data transmission self-diagnosis method according to claim 1, wherein the method comprises determining whether or not only the receiving side of the transmitting section is normal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61200639A JPS6356042A (en) | 1986-08-26 | 1986-08-26 | Self-diagnosing method for data transmission |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61200639A JPS6356042A (en) | 1986-08-26 | 1986-08-26 | Self-diagnosing method for data transmission |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6356042A true JPS6356042A (en) | 1988-03-10 |
Family
ID=16427735
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61200639A Pending JPS6356042A (en) | 1986-08-26 | 1986-08-26 | Self-diagnosing method for data transmission |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6356042A (en) |
-
1986
- 1986-08-26 JP JP61200639A patent/JPS6356042A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4847837A (en) | Local area network with fault-checking, priorities and redundant backup | |
JPS6356042A (en) | Self-diagnosing method for data transmission | |
JP3716796B2 (en) | Fault diagnosis device for vehicles | |
US6922143B2 (en) | Serial bus type configuration recognition and alarm apparatus | |
JP2907075B2 (en) | Cable wiring connection monitoring method | |
JP3591383B2 (en) | Apparatus and method for diagnosing shared bus failure | |
JP4042234B2 (en) | FA network and robot controller | |
JP3472891B2 (en) | Control communication system | |
KR0140302B1 (en) | Packet integration test apparatus and method of electronic switch | |
JP2841436B2 (en) | Communication function self-diagnosis device | |
JPH10308796A (en) | Wrong connection detection circuit of inter-device cable | |
KR970011533B1 (en) | Self-diagnosis method and device for data line and call line of multi-unit house management system | |
JPH02274092A (en) | Remote supervisory control system | |
JP2000020414A (en) | Method and device for diagnosing fault of shared bus | |
JPS63267096A (en) | Testing device for remote controller | |
JPS62111543A (en) | Multiplex transmission control equipment | |
JPH04359166A (en) | Cable connection condition diagnostic device | |
JPH0385048A (en) | Connection state diagnostic device in electronic exchange | |
JPH0316770A (en) | Printer | |
JPS62296647A (en) | Diagnosing device home automation system | |
JPH04317150A (en) | Input/output processing system | |
JPS60208144A (en) | Reflecting test system | |
JPS62121516A (en) | Process controller | |
JPH03292024A (en) | Transmission device self-diagnosis method | |
JP2000078240A (en) | Digital service unit |