JP2835907B2 - Communication error analyzer for PLC network - Google Patents

Communication error analyzer for PLC network

Info

Publication number
JP2835907B2
JP2835907B2 JP5260586A JP26058693A JP2835907B2 JP 2835907 B2 JP2835907 B2 JP 2835907B2 JP 5260586 A JP5260586 A JP 5260586A JP 26058693 A JP26058693 A JP 26058693A JP 2835907 B2 JP2835907 B2 JP 2835907B2
Authority
JP
Japan
Prior art keywords
communication
computer
line
communication line
sequencer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP5260586A
Other languages
Japanese (ja)
Other versions
JPH07114412A (en
Inventor
吉康 後藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yazaki Corp
Original Assignee
Yazaki Sogyo KK
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 Yazaki Sogyo KK filed Critical Yazaki Sogyo KK
Priority to JP5260586A priority Critical patent/JP2835907B2/en
Publication of JPH07114412A publication Critical patent/JPH07114412A/en
Application granted granted Critical
Publication of JP2835907B2 publication Critical patent/JP2835907B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Programmable Controllers (AREA)
  • Selective Calling Equipment (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、コンピュータから通信
データをメイン通信アダプタを介して通信回線に送出
し、該通信回線上の通信データを各シーケンサに接続さ
れるサブ通信アダプタを介してに受信するシーケンサネ
ットワークに係り、特にシーケンサネットワークにおけ
る通信異常発生時に異常の種類、異常の場所を特定でき
るデータをコンピュータのディスプレイに表示するシー
ケンサネットワークの通信異常解析装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to transmitting communication data from a computer to a communication line via a main communication adapter, and receiving communication data on the communication line via a sub communication adapter connected to each sequencer. More particularly, the present invention relates to a communication error analysis device for a sequencer network that displays, on a display of a computer, data that can identify the type and location of the error when a communication error occurs in the sequencer network.

【0002】[0002]

【従来の技術】従来のシーケンサネットワークは、図4
に示す如き回路構成を有している。すなわち、1はコン
ピュータで、各生産ラインの例えば射出押出機を直接駆
動制御するシーケンサに生産指示データを送信して射出
押出機の駆動を制御するものである。このコンピュータ
1は、本実施例においては、パーソナルコンピュータを
用いており、市販されている所謂パソコンの機能を有す
るもので十分である。
2. Description of the Related Art A conventional sequencer network is shown in FIG.
Has a circuit configuration as shown in FIG. That is, reference numeral 1 denotes a computer which controls the driving of the injection extruder by transmitting production instruction data to a sequencer for directly driving and controlling, for example, an injection extruder of each production line. In this embodiment, the computer 1 uses a personal computer, and a computer having the function of a commercially available personal computer is sufficient.

【0003】2はメイン通信アダプタで、コンピュータ
1から送信してくる生産指示データを受信し、この受信
した生産指示データを各生産ラインの射出押出機を直接
駆動制御するシーケンサに振り分ける機能を有してい
る。このメイン通信アダプタ2は、コンピュータ1と通
信回線20で接続されている。
A main communication adapter 2 has a function of receiving production instruction data transmitted from the computer 1 and distributing the received production instruction data to a sequencer for directly driving and controlling an injection extruder of each production line. ing. The main communication adapter 2 is connected to the computer 1 via a communication line 20.

【0004】3、4、5、6はサブ通信アダプタで、各
生産ライン(本実施例においては、4個)のそれぞれに
設けられている。この通信アダプタ3、4、5、6は、
それぞれ通信回線20でシリーズに接続されている。
[0004] Reference numerals 3, 4, 5, and 6 denote sub-communication adapters, which are provided in each of the production lines (four in this embodiment). These communication adapters 3, 4, 5, and 6
Each is connected to a series by a communication line 20.

【0005】7、8、9、10はシーケンサで、サブ通
信アダプタ3、4、5、6にそれぞれ接続されている。
すなわち、サブ通信アダプタ3にはシーケンサ7が、サ
ブ通信アダプタ4にはシーケンサ8が、サブ通信アダプ
タにはシーケンサ9が、サブ通信アダプタ6にはシーケ
ンサ10がそれぞれ接続されている。
[0005] Sequencers 7, 8, 9, and 10 are connected to the sub communication adapters 3, 4, 5, and 6, respectively.
That is, the sequencer 7 is connected to the sub communication adapter 3, the sequencer 8 is connected to the sub communication adapter 4, the sequencer 9 is connected to the sub communication adapter, and the sequencer 10 is connected to the sub communication adapter 6.

【0006】このシーケンサ7、8、9、10は、コン
ピュータ1から送られてくる生産指示データに基づいて
各生産ラインの例えば射出押出機を直接駆動制御するも
のである。
The sequencers 7, 8, 9, and 10 directly drive and control, for example, an injection extruder of each production line based on production instruction data sent from the computer 1.

【0007】このようなシーケンサネットワークにおい
て、通信異常が発生した場合、作業者において異常の種
類、異常発生場所等の判断が難しいものとなっている。
In such a sequencer network, when a communication error occurs, it is difficult for an operator to determine the type of the error, the location where the error has occurred, and the like.

【0008】[0008]

【発明が解決しようとする課題】したがって、従来のシ
ーケンサネットワークにあっては、通信異常が発生した
場合、コンピュータ1でシーケンサ7、8、9、10か
ら出力されるデータを受信できなくなる。そこで、作業
者は、コンピュータ1のCRTあるいはプリンタに出力
されるデータを見て、そこで初めてその異常に気付くと
いう状態であったため、異常の種類、異常の場所を作業
者が正確かつ早期に発見することができないという問題
点を有している。
Therefore, in the conventional sequencer network, if a communication error occurs, the computer 1 cannot receive data output from the sequencers 7, 8, 9, and 10. Therefore, the worker looks at the data output to the CRT or the printer of the computer 1 and notices the abnormality for the first time there. Therefore, the worker finds the type and location of the abnormality accurately and early. There is a problem that it is not possible.

【0009】また、従来のシーケンサネットワークにあ
っては、通信異常が発生した場合、通信プロトコル上の
異常なのか、それとも電気的な異常なのかを作業者が判
断するのが難しという問題点を有している。
Further, the conventional sequencer network has a problem that when a communication error occurs, it is difficult for an operator to determine whether the communication protocol is an error or an electrical error. doing.

【0010】さらに、従来のシーケンサネットワークに
あっては、通信異常が発生した場合、電気的な異常の場
合にシーケンサネットワーク上のどの辺りでの異常なの
か見当が付きにくく、データの管理上異常発見が遅れて
しまい、工程のデータに高い信頼性が得られないという
問題点を有している。
Further, in the conventional sequencer network, when a communication error occurs, it is difficult to find out where in the sequencer network an error is occurring in the case of an electrical error, and an abnormality is detected in data management. However, there is a problem that high reliability cannot be obtained for process data.

【0011】本発明の目的は、シーケンサネットワーク
に通信異常が発生した場合、通信異常が何によるもの
か、また、通信異常がどこなのかを早期に発見し、作業
者の負担を低減し、さらに工程全体の稼動率を向上して
送信データの信頼性を高めることである。
[0011] An object of the present invention is to, when a communication error occurs in a sequencer network, early find out what the communication error is due to and where the communication error is, and reduce the burden on the operator. The purpose is to improve the operation rate of the entire process and increase the reliability of transmission data.

【0012】[0012]

【課題を解決するための手段】上記目的を達成するため
に、本発明におけるシーケンサネットワークの通信異常
解析装置においては、コンピュータから通信データをメ
イン通信アダプタを介して通信回線に送出し、該通信回
線上の通信データを各シーケンサに接続されるサブ通信
アダプタを介してに受信するシーケンサネットワークに
おいて、正常時の通信回線のインピーダンス値と通信回
線異常時の通信回線のインピーダンス値とを切り替えて
測定して上記コンピュータに出力する解析装置を上記コ
ンピュータの出力端子に上記メイン通信アダプタと並列
して接続し、該解析装置によって測定した前記正常時の
通信回線のインピーダンス値と通信回線異常時の通信回
線のインピーダンス値との比較値を上記コンピュータの
ディスプレイに表示するようにしたものである。
In order to achieve the above-mentioned object, in a communication abnormality analyzing apparatus for a sequencer network according to the present invention, communication data is sent from a computer to a communication line via a main communication adapter. In a sequencer network that receives communication data on the line via a sub-communication adapter connected to each sequencer, switching between the impedance value of the normal communication line and the impedance value of the communication line when the communication line is abnormal is performed by measuring. An analysis device for outputting to the computer is connected to the output terminal of the computer in parallel with the main communication adapter, and the impedance value of the communication line in the normal state measured by the analysis device and the impedance of the communication line in the abnormal state of the communication line are measured. The comparison value is displayed on the computer display. It is obtained by way.

【0013】[0013]

【作用】コンピュータと解析装置とを接続状態にし、解
析装置を用いてコンピュータとシーケンサとを接続する
メイン通信アダプタとサブ通信アダプタとを結ぶ通信回
線の正常時の線路インピーダンスを測定し、この測定値
をコンピュータに記憶する。その後、コンピュータと解
析装置の接続状態からコンピュータと解析装置の接続を
解除し、コンピュータとメイン通信アダプタの接続状態
にして通常のデータ通信回線に接続する。
The computer and the analyzer are connected to each other, and the analyzer uses the analyzer to measure the normal line impedance of the communication line connecting the main communication adapter and the sub communication adapter connecting the computer and the sequencer. Is stored in the computer. After that, the connection between the computer and the analyzer is released from the connection between the computer and the analyzer, and the connection between the computer and the main communication adapter is established to connect to a normal data communication line.

【0014】このような通信回線状態において、コンピ
ュータから通信データをメイン通信アダプタを介して通
信回線に送出する。この通信回線上に送信された通信デ
ータは、アドレスにしたがって特定のシーケンサに接続
される特定のサブ通信アダプタに受信される。この特定
のサブ通信アダプタでは、送信された通信データが正確
に受信されたことを示すレスポンス信号をコンピュータ
から送信されてくるデータ要求コマンドにしたがって返
送する。
In such a communication line state, the computer transmits communication data to the communication line via the main communication adapter. The communication data transmitted on this communication line is received by a specific sub communication adapter connected to a specific sequencer according to the address. The specific sub-communication adapter returns a response signal indicating that the transmitted communication data has been correctly received in accordance with a data request command transmitted from the computer.

【0015】このコンピュータがデータ要求コマンドを
サブ通信アダプタに送信した後、所定時間経過してもレ
スポンス信号が返送されてこない場合には、通信回線の
異常と判断する。また、レスポンス信号として『!』マ
ーク(エラーコード)が返送されてきた場合には、エラ
ーコードを基に異常内容をコンピュータのディスプレイ
に表示する。通信回線の異常と判断した場合には、コン
ピュータとメイン通信アダプタの接続状態からコンピュ
ータと解析装置との接続状態に変更し、異常回線状態の
線路インピーダンスを測定し、この測定値と正常時の線
路インピーダンス測定値とを比較し、コンピュータのデ
ィスプレイに表示する。このディスプレイに表示された
線路インピーダンスの比較値から作業者はシーケンサネ
ットワーク上のどの辺りにおいて回線異常を引き起こし
ているかを判断する。
If no response signal is returned after a predetermined time has elapsed after the computer transmitted the data request command to the sub communication adapter, it is determined that the communication line is abnormal. In addition, "!" Is returned, the contents of the error are displayed on the display of the computer based on the error code. If it is determined that the communication line is abnormal, the connection state between the computer and the main communication adapter is changed to the connection state between the computer and the analyzer, and the line impedance in the abnormal line state is measured. The measured impedance is compared with the measured value and displayed on a computer display. From the comparison value of the line impedance displayed on the display, the operator determines where in the sequencer network the line abnormality is occurring.

【0016】[0016]

【実施例】以下、本発明の実施例について説明する。図
1には、本発明に係るシーケンサネットワークの通信異
常解析装置の一実施例が示されている。図において、図
4に図示のシーケンサネットワークの回路において用い
た符号と同一の符号の付されたものは同一の部材を示
し、その機能は、図4に図示のそれと同一である。
Embodiments of the present invention will be described below. FIG. 1 shows an embodiment of a communication abnormality analysis device for a sequencer network according to the present invention. In the drawing, components denoted by the same reference numerals as those used in the circuit of the sequencer network shown in FIG. 4 indicate the same members, and their functions are the same as those shown in FIG.

【0017】本実施例が図4に図示の従来例と異なる点
は、コンピュータ1にメイン通信アダプタ2と並列に解
析装置30を接続し、スイッチ40によって通信回線2
0をメイン通信アダプタ2又は解析装置30と切り替え
て接続するようにした点である。すなわち、図におい
て、11は解析装置で、コンピュータ1にメイン通信ア
ダプタ2と並列に接続され、スイッチ40によって切り
替えて、コンピュータ1−解析装置30−通信回線20
の回路と、コンピュータ1−メイン通信アダプタ2−通
信回線20の回路とを構成できるようになっている。
This embodiment is different from the conventional example shown in FIG. 4 in that an analysis device 30 is connected to a computer 1 in parallel with a main communication adapter 2 and a communication line 2 is connected by a switch 40.
0 is connected to the main communication adapter 2 or the analyzer 30 by switching. That is, in the figure, reference numeral 11 denotes an analysis device, which is connected to the computer 1 in parallel with the main communication adapter 2 and is switched by a switch 40 so that the computer 1, the analysis device 30, the communication line
And the circuit of the computer 1, the main communication adapter 2, and the communication line 20 can be configured.

【0018】メイン通信アダプタ2と解析装置30は、
図2に示す如き構成を有している。すなわち、メイン通
信アダプタ2は、コンピュータ1から出力される通信デ
ータを受け取る通信ポート21と、通信ポート21で受
け取った通信データを通信回線20に乗せるラインドラ
イバ22によって構成されている。このラインドライバ
22は、スイッチ40を介して通信回線20に接続され
ている。また、解析装置30は、線路インピーダンス測
定装置31とスイッチ32とによって構成されており、
コンピュータ1のアナログ入力ポート11に接続されて
いる。このアナログ入力ポート11は、2本の入力ライ
ンを有しており、一方は、基準データの入力ラインでア
ナログ入力ポート11を介して基準データを記憶する回
路である。他方は、測定した測定データの入力ラインで
アナログ入力ポート11を介して基準データと比較する
回路である。このコンピュータ1のアナログ入力ポート
11への接続状態を切り替えは、スイッチ32によって
行われる。このスイッチ32に線路インピーダンス測定
装置31が接続されている。
The main communication adapter 2 and the analyzer 30 are
It has a configuration as shown in FIG. That is, the main communication adapter 2 includes a communication port 21 that receives communication data output from the computer 1, and a line driver 22 that puts the communication data received at the communication port 21 onto the communication line 20. The line driver 22 is connected to the communication line 20 via a switch 40. The analysis device 30 includes a line impedance measurement device 31 and a switch 32.
It is connected to the analog input port 11 of the computer 1. The analog input port 11 has two input lines, and one is a circuit for storing reference data via the analog input port 11 as an input line for reference data. The other is a circuit for comparing the measured data with the reference data via the analog input port 11 on the input line of the measured data. The connection state of the computer 1 to the analog input port 11 is switched by a switch 32. The line impedance measuring device 31 is connected to the switch 32.

【0019】線路インピーダンス測定装置31は、スイ
ッチ40を介して接続される通信回線20の線路インピ
ーダンスを測定するものである。通信回線20の線路イ
ンピーダンスの測定に当たっては、スイッチ40をc接
点側に接続し、通信回線20とコンピュータ1との接続
を解析装置30を介して行うようにする。この状態にお
いて、スイッチ32をa接点側に接続し、線路インピー
ダンス測定装置31では、通信回線20の正常なイニシ
ャル時に通信回線20の線路インピーダンスを測定す
る。この測定した通信回線20の線路インピーダンスの
測定値は、スイッチ32のa接点を介してコンピュータ
1のアナログ入力ポート11を介してコンピュータ1本
体に取り込まれ、記憶される。
The line impedance measuring device 31 measures the line impedance of the communication line 20 connected via the switch 40. In measuring the line impedance of the communication line 20, the switch 40 is connected to the contact c side, and the connection between the communication line 20 and the computer 1 is performed via the analysis device 30. In this state, the switch 32 is connected to the contact a, and the line impedance measuring device 31 measures the line impedance of the communication line 20 when the communication line 20 is in a normal initial state. The measured value of the measured line impedance of the communication line 20 is taken into the main body of the computer 1 via the analog input port 11 of the computer 1 via the contact a of the switch 32 and stored.

【0020】その後、スイッチ40をd接点側に接続
し、通信回線20とコンピュータ1とを接続し、コンピ
ュータ1からメイン通信アダプタ2を介してサブ通信ア
ダプタ3、4、5、6を介してシーケンサ7、8、9、
10に対して通信データの送信を行う。このシーケンサ
7、8、9、10に通信データの送信を行うためのシー
ケンサネットワークに異常が発生した状態としては、次
の2つの場合が考えられる。1つは通信プロトコルによ
る場合、他の1つは電気的なものによるものである。通
信プロトコルによる異常は、コンピュータ1側から、シ
ーケンサ7、8、9、10のいずれかに対してデータ要
求コマンドを送信し、送信した後所定時間(例えば、5
秒)以内に当該シーケンサから『!』マークのレスポン
スが返ってきた場合を指す。この『!』のマークが返さ
れた場合には、そのエラーコードをコンピュータ1が検
知し、予め記憶されているエラーコード表を基に異常内
容をCRTに表示する。電気的なものによる異常は、コ
ンピュータ1側から、シーケンサ7、8、9、10のい
ずれかに対してデータ要求コマンドを送信し、送信した
後所定時間(例えば、5秒)以内に当該シーケンサから
『!』マークのレスポンスが返されない場合を指す。こ
の『!』のマークが返されない場合には、通信経路に異
常があることになり、電気的なものによる異常の判定を
行う。
Thereafter, the switch 40 is connected to the d-contact, the communication line 20 is connected to the computer 1, and the computer 1 is connected via the main communication adapter 2 via the sub communication adapters 3, 4, 5, and 6 to the sequencer. 7, 8, 9,
The communication data is transmitted to 10. The following two cases can be considered as a state in which an abnormality has occurred in the sequencer network for transmitting communication data to the sequencers 7, 8, 9, and 10. One is by communication protocol and the other is by electrical. An abnormality due to the communication protocol is determined by transmitting a data request command from the computer 1 to any of the sequencers 7, 8, 9, and 10 and transmitting the data request command for a predetermined time (for example, 5 seconds).
Within seconds) from the sequencer. ”Mark is returned. this"! Is returned, the computer 1 detects the error code and displays the content of the abnormality on the CRT based on the error code table stored in advance. In the case of an abnormality caused by an electric thing, a data request command is transmitted from the computer 1 to any of the sequencers 7, 8, 9, and 10, and within a predetermined time (for example, 5 seconds) after the transmission, the computer 1 issues a data request command. [! ] Indicates that no response is returned. this"! Is not returned, it means that there is an abnormality in the communication path, and an abnormality is determined by an electric one.

【0021】この電気的なものによる異常の判定は、通
信経路の異常時の通信回線20の線路インピーダンスを
測定し、正常時の通信回線20の線路インピーダンスと
比較して行う。すなわち、通信経路の異常時の通信回線
20の線路インピーダンスの測定に当たっては、スイッ
チ40をc接点側に接続し、通信回線20とコンピュー
タ1との接続を解析装置30を介して行うようにする。
この状態において、スイッチ32をb接点側に接続し、
線路インピーダンス測定装置31では、通信経路の異常
時の通信回線20の線路インピーダンスを測定する。こ
の測定した通信経路の異常時の通信回線20の線路イン
ピーダンスの測定値は、スイッチ32のb接点を介して
コンピュータ1のアナログ入力ポート11を介してコン
ピュータ1本体に取り込まれ、CRTにその結果が表示
され、このCRTへの表示と共に、該通信経路の異常時
の通信回線20の線路インピーダンスの測定値は、正常
時の通信回線20の線路インピーダンスの測定値と比較
して、シーケンサネットワーク上のどの辺りが異常なの
かの判定を行う。
The determination of the abnormality by the electric thing is performed by measuring the line impedance of the communication line 20 when the communication path is abnormal and comparing it with the line impedance of the communication line 20 when the communication path is normal. That is, when measuring the line impedance of the communication line 20 when the communication path is abnormal, the switch 40 is connected to the contact c side, and the connection between the communication line 20 and the computer 1 is performed via the analysis device 30.
In this state, the switch 32 is connected to the contact b,
The line impedance measuring device 31 measures the line impedance of the communication line 20 when the communication path is abnormal. The measured value of the line impedance of the communication line 20 when the communication path is abnormal is taken into the main body of the computer 1 through the analog input port 11 of the computer 1 through the contact b of the switch 32, and the result is displayed on the CRT. Along with the display on the CRT, the measured value of the line impedance of the communication line 20 when the communication path is abnormal is compared with the measured value of the line impedance of the communication line 20 when the communication path is normal. It is determined whether the neighborhood is abnormal.

【0022】図3には、このシーケンサ7、8、9、1
0に通信データの送信を行うためのシーケンサネットワ
ークの異常状態を監視するフローチャートが示されてい
る。この図3に図示のフローチャートは、コンピュータ
1を駆動させる図示されていないメインの制御フローチ
ャートに対して、一定時間毎に割込みをかけて処理する
方法で可能である。
FIG. 3 shows the sequencers 7, 8, 9, 1
A flowchart for monitoring an abnormal state of the sequencer network for transmitting communication data to 0 is shown. The flowchart shown in FIG. 3 can be executed by interrupting the main control flowchart (not shown) for driving the computer 1 at regular intervals.

【0023】図において、ステップ100において、コ
ンピュータ1側から、シーケンサ7、8、9、10のい
ずれかに対してデータ要求コマンドを送信する。そし
て、ステップ110において、データ要求コマンドを送
信に対して、データ要求コマンドを送信した後所定時間
(例えば、5秒)以内にレスポンス信号がシーケンサ
7、8、9、10側からコンピュータ1に返送されてき
たか否かを判定する。このステップ110において、デ
ータ要求コマンドを送信に対してレスポンス信号がない
と判定すると、ステップ120において、通信経路に異
常があったと判定し、通信解析装置30を用いて通信経
路に異常状態を判定する。すなわち、スイッチ40をc
接点側に接続し、通信解析装置30のスイッチ32をb
接点側に接続して、通信経路の異常時の通信回線20の
線路インピーダンスを測定する。そして、この測定した
通信経路の異常時の通信回線20の線路インピーダンス
の測定値をコンピュータ1のアナログ入力ポート11を
介してコンピュータ1本体に送出する。するとステップ
140において、コンピュータ1によってCRTにその
結果を表示し、通信経路の異常時の通信回線20の線路
インピーダンスの測定値を、正常時の通信回線20の線
路インピーダンスの測定値と比較して、シーケンサネッ
トワーク上のどの辺りで異常が生じているのかを判定す
る。また、ステップ110において、データ要求コマン
ドを送信に対してレスポンス信号があると判定すると、
ステップ130において、送信されてきたレスポンス信
号は『!』マーク(エラーコード)であるか否かを判定
する。このステップ130において、送信されてきたレ
スポンス信号が『!』マークでないと判定すると、ステ
ップ110に戻り、同様のフロー処理を行う。また、ス
テップ130において、送信されてきたレスポンス信号
が『!』マークであると判定すると、ステップ140に
おいて、送信されてきたエラーデータコード(レスポン
ス信号)から、予め記憶されているエラーコード表を基
に異常内容を検索し、CRTに表示する。
Referring to FIG. 1, in step 100, a data request command is transmitted from the computer 1 to one of the sequencers 7, 8, 9, and 10. In step 110, in response to the transmission of the data request command, a response signal is returned from the sequencers 7, 8, 9, 10 to the computer 1 within a predetermined time (for example, 5 seconds) after the transmission of the data request command. It is determined whether or not it has come. If it is determined in step 110 that there is no response signal to the transmission of the data request command, in step 120, it is determined that there is an abnormality in the communication path, and an abnormal state is determined in the communication path using the communication analyzer 30. . That is, switch 40 is set to c
Connect to the contact side and set the switch 32 of the communication analyzer 30 to b
By connecting to the contact side, the line impedance of the communication line 20 when the communication path is abnormal is measured. Then, the measured value of the line impedance of the communication line 20 when the communication path is abnormal is sent to the computer 1 via the analog input port 11 of the computer 1. Then, in step 140, the result is displayed on the CRT by the computer 1, and the measured value of the line impedance of the communication line 20 when the communication path is abnormal is compared with the measured value of the line impedance of the communication line 20 when the communication path is normal. It is determined on which part of the sequencer network the abnormality has occurred. If it is determined in step 110 that there is a response signal to the transmission of the data request command,
In step 130, the transmitted response signal is "! Mark (error code). In this step 130, the transmitted response signal is "! Is not a mark, the flow returns to step 110 to perform the same flow processing. In step 130, the transmitted response signal is "! Is determined in step 140, from the transmitted error data code (response signal), an error content is searched based on a previously stored error code table and displayed on the CRT.

【0024】このように解析装置30を設けて通信経路
の異常に対して線路インピーダンスを測定して、正常時
の通信回線20の線路インピーダンス値と比較して異常
検出を行っているため、異常の種類(通信経路の異常
か、通信プロトコルによる異常か)、異常の場所(通信
経路のどの部位で異常を起こしているか)を正確に、か
つ早期に発見することができ、データの信頼性を高める
ことができ、通信経路異常の早期発見によって作業者の
負担を提言し、さらに肯定全体の稼動率を向上させるこ
とができる。
As described above, the analysis apparatus 30 is provided to measure the line impedance with respect to the abnormality of the communication path, and the abnormality is detected by comparing the line impedance with the line impedance value of the communication line 20 in the normal state. The type (abnormality of the communication path or communication protocol) and the location of the abnormality (where in the communication path the abnormality is occurring) can be detected accurately and early, improving the reliability of data. Thus, the burden on the worker can be suggested by early detection of the communication path abnormality, and the overall operation rate can be improved.

【0025】[0025]

【発明の効果】本発明は、正常時の通信回線のインピー
ダンス値と通信回線異常時の通信回線のインピーダンス
値とを切り替えて測定してコンピュータに出力する解析
装置をコンピュータの出力端子にメイン通信アダプタと
並列して接続し、解析装置によって測定した正常時の通
信回線のインピーダンス値と通信回線異常時の通信回線
のインピーダンス値との比較し、コンピュータのディス
プレイに表示させるているため、通信異常が何によるも
のか、また、通信異常がどこなのかを早期に発見し、作
業者の負担を低減し、さらに工程全体の稼動率を向上し
て送信データの信頼性を高めることができる。
According to the present invention, a main communication adapter is connected to an output terminal of a computer by using an analyzer for switching and measuring an impedance value of a communication line in a normal state and an impedance value of a communication line in a case of an abnormal communication line and outputting the measured value to a computer. Are connected in parallel with each other, and the impedance value of the communication line at normal time measured by the analyzer is compared with the impedance value of the communication line at abnormal communication line, and displayed on the computer display. It is possible to find out early whether the communication error has occurred or where the communication error is, to reduce the burden on the operator, to improve the operation rate of the entire process, and to improve the reliability of the transmission data.

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

【図1】本発明に係るシーケンサネットワークの通信異
常解析装置の実施例を示す回路図である。
FIG. 1 is a circuit diagram showing an embodiment of a communication abnormality analysis device for a sequencer network according to the present invention.

【図2】図1に図示の解析装置の詳細回路図である。FIG. 2 is a detailed circuit diagram of the analyzer shown in FIG.

【図3】図1に図示のシーケンサネットワークに接続さ
れるコンピュータと解析装置による通信異常解析フロー
チャートである。
FIG. 3 is a flowchart of a communication abnormality analysis performed by a computer and an analysis device connected to the sequencer network shown in FIG. 1;

【図4】従来のシーケンサネットワークのコンピュータ
と各シーケンサの接続状態を示す回路図である。
FIG. 4 is a circuit diagram showing a connection state between a computer of a conventional sequencer network and each sequencer.

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

1……………………………………………………………コ
ンピュータ 2……………………………………………………………メ
イン通信アダプタ 3,4,5,6……………………………………………サ
ブ通信アダプタ 7,8,9,10…………………………………………シ
ーケンサ 20…………………………………………………………通
信回線 30…………………………………………………………解
析装置
1 …………………………………… Computer 2 ………………………………… Communication adapters 3, 4, 5, 6 ……………………… Sub communication adapters 7, 8, 9, 10 ………………………… ……………………………………………………………………………………… Communication line 30 …………………………………………… … Analyzer

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 コンピュータから通信データをメイン通
信アダプタを介して通信回線に送出し、該通信回線上の
通信データを各シーケンサに接続されるサブ通信アダプ
タを介してに受信するシーケンサネットワークにおい
て、正常時の通信回線のインピーダンス値と通信回線異
常時の通信回線のインピーダンス値とを切り替えて測定
して上記コンピュータに出力する解析装置を上記コンピ
ュータの出力端子に上記メイン通信アダプタと並列して
接続し、該解析装置によって測定した前記正常時の通信
回線のインピーダンス値と通信回線異常時の通信回線の
インピーダンス値との比較値を上記コンピュータのディ
スプレイに表示するようにしたことを特徴とするシーケ
ンサネットワークの通信異常解析装置。
In a sequencer network for transmitting communication data from a computer to a communication line via a main communication adapter and receiving communication data on the communication line via a sub communication adapter connected to each sequencer, An analyzer for switching and measuring the impedance value of the communication line at the time of communication and the impedance value of the communication line when the communication line is abnormal and outputting the measured value to the computer is connected to the output terminal of the computer in parallel with the main communication adapter, A communication of the sequencer network, wherein a comparison value between the impedance value of the communication line in the normal state and the impedance value of the communication line in the abnormal state measured by the analyzer is displayed on the display of the computer. Anomaly analyzer.
JP5260586A 1993-10-19 1993-10-19 Communication error analyzer for PLC network Expired - Lifetime JP2835907B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5260586A JP2835907B2 (en) 1993-10-19 1993-10-19 Communication error analyzer for PLC network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5260586A JP2835907B2 (en) 1993-10-19 1993-10-19 Communication error analyzer for PLC network

Publications (2)

Publication Number Publication Date
JPH07114412A JPH07114412A (en) 1995-05-02
JP2835907B2 true JP2835907B2 (en) 1998-12-14

Family

ID=17350008

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5260586A Expired - Lifetime JP2835907B2 (en) 1993-10-19 1993-10-19 Communication error analyzer for PLC network

Country Status (1)

Country Link
JP (1) JP2835907B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6816554B2 (en) 2017-02-22 2021-01-20 オムロン株式会社 Control systems, controllers and control programs

Also Published As

Publication number Publication date
JPH07114412A (en) 1995-05-02

Similar Documents

Publication Publication Date Title
JP2732674B2 (en) Data transmission equipment
US6777624B2 (en) Electronic balance with a remote error reporting via the internet and a display for informing a user of corrective measures from a remote service center
JP2835907B2 (en) Communication error analyzer for PLC network
JPH0560798A (en) Digital multimeter
JPS62276991A (en) Testing system for measurement control system
KR100508590B1 (en) Device and method for detecting abnormality of link between main board and node of communication system
JP2501888B2 (en) Failure monitoring device
JPH02122730A (en) Signal line terminating system
JP3028865B2 (en) Inspection equipment for building equipment monitoring equipment
KR0154606B1 (en) Communication line data analysis
JPH0125459B2 (en)
JP2002163018A (en) Analyzer for transmission abnormality
JP3261266B2 (en) Fire detector
KR0135389B1 (en) Transmitter
KR100432193B1 (en) Method for monitoring data of a trunk interface card, especially regarding to monitoring data for a channel designated in a specific e1 line in an e1 interface card used in cas
KR20000072514A (en) Touchscreen examination system including analytical function for protocol and method thereof
JPH1155295A (en) Terminal signal detection method
JPH07202990A (en) Debugging device
JPS62173540A (en) Maintenance system for information processing system
JPH0362752A (en) Communication system
JPH08107423A (en) System and device for detecting positions of nodes on lan
JPH02108134A (en) Automatic test system
JPH11112605A (en) System and method for detecting layer 1 synchronized state at isdn basic interface u-point
JP2004180096A (en) Information processor and method for detecting device abnormality
JPH10126320A (en) Recording system for communication content in radio pos system