JP2004318710A - I/o transmission system - Google Patents

I/o transmission system Download PDF

Info

Publication number
JP2004318710A
JP2004318710A JP2003114513A JP2003114513A JP2004318710A JP 2004318710 A JP2004318710 A JP 2004318710A JP 2003114513 A JP2003114513 A JP 2003114513A JP 2003114513 A JP2003114513 A JP 2003114513A JP 2004318710 A JP2004318710 A JP 2004318710A
Authority
JP
Japan
Prior art keywords
transmission
master device
data
programmable controller
time
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
Application number
JP2003114513A
Other languages
Japanese (ja)
Inventor
Tsutomu Fukuda
力 福田
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP2003114513A priority Critical patent/JP2004318710A/en
Publication of JP2004318710A publication Critical patent/JP2004318710A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • H04L43/0864Round trip delays

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Programmable Controllers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To enable a master device to set a transmission monitoring time from a maintenance monitoring device. <P>SOLUTION: The system comprises a central station 100 provided with a maintenance monitoring device 10, a power supply device 20, a programmable logic controller 30 and a master device 40, and at least one slave devices 60 connected to the master device via a transmission path. In the system, the master device performs the I/O transmission with the slave devices for a certain period in order for the programmable controller to exchange I/O data with the slave devices. In the case where the master device 40 starts the online I/O transmission with the programmable controller 30, before such starting, the master device 40 performs the offline transmission, measures the time from data sending to response reception and reports the measurement result to the maintenance monitoring device 10. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、保守監視装置と、電源装置とプログラマブルコントローラおよびマスタ装置とを備えた中央局と、マスタ装置と伝送路で接続されている1つ以上のスレーブ装置とからなり、マスタ装置がスレーブ装置との間で伝送周期毎にI/O伝送をしてプログラマブルコントローラがスレーブ装置とI/Oデータを交換するI/O伝送システムにおいて、保守監視装置から前記I/O伝送にかかる伝送監視時間を前記マスタ装置に設定する技術に関する。
【0002】
【従来の技術】
図8は、従来のI/O伝送システムの構成図を示している。従来のI/O伝送システムは、図8に示すように、マスタ装置40と電源装置20、プログラマブルコントローラ30からなる中央局100と、1つ以上のスレーブ装置60と、これらを結ぶ伝送路40と、から構成されている。そしてプログラマブルコントローラ30がスレーブ装置60とI/Oデータを交換するために、マスタ装置40がスレーブ装置60との間で、伝送周期毎にI/O伝送を行う。また、保守監視装置10は中央局100と接続されており、マスタ装置40の伝送周期の設定をする。マスタ装置40は、保守監視装置10で設定される伝送周期を受け取ると、この伝送周期に従ってスレーブ装置60との間で送受信を開始し、I/Oデータの交換を行う(例えば特許文献1)。
【0003】
【特許文献1】特開平05−028024号公報
【0004】
図9は、マスタ装置から各スレーブ装置までの間の伝送正常時のタイムチャートである。このタイムチャートは、マスタ装置と2つのスレーブ装置との正常なI/O伝送の様子を示している。
【0005】
【発明が解決しようとする課題】
ところが、図10に示すように、伝送路に繋がるスレーブ装置が何らかの原因で応答を返さなくなったとき、マスタ装置は伝送監視タイマのタイムアウトにより当該スレーブ装置の異常報告を行う。その伝送監視タイマに設定される値は秒単位の比較的大きな固定値がマスタ装置に備えられている。このように従来の方法では、伝送路に繋がるスレーブ装置の応答性に影響されないように、伝送監視タイマの設定値には大きな値がとられており、異常検出までの時間がかかり、システムに重大な影響を与えるという問題点があった。
【0006】
本発明は、上記の問題に鑑みてなされたものであり、マスタ装置が通常のI/O伝送を開始する前にオフラインの伝送をしてマスタ装置がデータの送信から応答受信までの時間を測定し、測定結果と測定結果をもとに算出する伝送監視時間を保守監視装置に報告してマスタ装置が保守監視装置から伝送監視時間を設定できるようにすることを目的とする。
【0007】
【課題を解決するための手段】
上記課題の目的を達成するため、本発明は、保守監視装置と、電源装置、プログラマブルコントローラおよびマスタ装置とを備えた中央局と、前記マスタ装置と伝送路で接続されている1つ以上のスレーブ装置とからなり、前記マスタ装置が前記スレーブ装置との間で一定周期毎にI/O伝送をして前記プログラマブルコントローラが前記スレーブ装置とI/Oデータを交換するI/O伝送システムにおいて、前記マスタ装置が、前記プログラマブルコントローラとの間でオンラインのI/O伝送を開始するときは、その前にオフラインの伝送をして前記マスタ装置がデータの送信から応答受信までの時間を測定し、その測定結果を前記保守監視装置に報告することを特徴としている。
【0008】
【発明の実施の形態】
以下、本発明の具体的実施例について、図に基づいて説明する。図1は本発明のI/O伝送システムの構成図である。なお、先の図8に示した部分と同一部分には同一符号を付して詳細な説明を省略する。
図において、図7と特徴的に異なる点は、マスタ装置40である。図に示すように、マスタ装置40はオフラインの伝送をするようにスイッチが設定されていればスレーブ装置60との間で伝送を開始する。このとき、マスタ装置40は、データ送信から応答受信までの時間を測定し、プログラマブルコントローラ30を介して保守監視装置10に報告する。マスタ装置40は、データ送信数が、例えば100などある既定数に達した時伝送を停止し、測定した応答時間をもとに伝送監視時間を算出し、保守監視装置10に報告する。オペレーターは保守監視装置10に報告される伝送監視時間を確認し、必要に応じて伝送監視時間を変更し、マスタ装置40に設定する。マスタ装置40は、プログラマブルコントローラ30との間でI/Oデータ交換をして伝送異常報告をする。オンラインのI/O伝送を行うようにスイッチが設定されていれば保守監視装置10で設定される伝送周期と伝送監視時間をプログラマブルコントローラ30を介して受け取り、I/O伝送を開始する。
【0009】
図2は、図1に示したマスタ装置40のブロック構成図である。図においてマスタ装置40はシステム制御手段300と伝送制御手段310から構成されている。
システム制御手段300は、プログラマブルコントローラとの間でI/Oデータ交換と伝送異常報告を行うオンラインのI/O伝送を行うか、オフラインの伝送を行うかを選択するスイッチ・LED301に接続されたI/Oポート回路302と、プログラマブルコントローラ30との間でI/Oデータの交換を行い、保守監視装置10との間でスレーブ装置60とI/O伝送を開始するのに必要な伝送周期、伝送監視時間などの設定データを、プログラマブルコントローラ30からシステムバス303を介してやり取りするための共有メモリ領域306と、オフラインの伝送にかかるパラメータを格納するシステム作業領域304と、これら一連の処理および装置全体を管理するシステム制御部305とから構成されている。
伝送制御手段310は、スレーブ装置とデータのやり取りを行なうための伝送作業領域311と、伝送ポート313に接続されてスレーブ装置との間で伝送を行う伝送インターフェース部312とから構成されている。
【0010】
図3は、マスタ装置が備えるオフライン伝送にかかるパラメータのデータ構成図である。伝送監視時間領域は、マスタ装置40がオフラインの伝送を行ったとき、データ送信から応答受信までの時間をもとに算出したものを、プログラマブルコントローラ30を介して保守監視装置10に報告する設定値を格納する領域である。また、伝送監視時間領域は、マスタ装置40がプログラマブルコントローラ30を介して保守監視装置10から受け取る設定値を格納する領域でもある。ST番号領域は、伝送路50に接続されるスレーブ装置60に対応した番号を格納する領域であり、ST番号は一つの伝送路上でユニークな番号を採る。現在値領域は、マスタ装置40がデータ送信から応答受信までの時間であって直前の時間を格納する領域である。最小値領域は、マスタ装置40がデータ送信から応答受信するまでの時間のうち最小の時間を格納する領域である。最大値領域は、マスタ装置40がデータ送信から応答受信するまでの時間のうち最大の時間を格納する領域である。平均値領域は、マスタ装置40がデータ送信から応答受信するまでの間の累計応答時間をデータ受信数で除した値を格納する領域である。累計応答時間領域は、マスタ装置40がデータ送信から応答受信するまでの時間を加算した時間を格納する領域である。データ受信数領域は、マスタ装置40がスレーブ装置60からデータを受信する毎に1カウントした値を格納する領域である。データ送信数領域は、マスタ装置40がスレーブ装置60にデータを送信する毎に1カウントした値を格納する領域である。送受信実行フラグ領域は、マスタ装置40がスレーブ装置60にデータを送信したときにON(1)し、スレーブ装置60からデータを受信した時にOFF(0)する領域である。
【0011】
図4は、伝送周期で、マスタ装置から各スレーブ装置までの間の伝送のタイムチャートである。マスタ装置40は、オフラインの伝送を行うようにスイッチが設定されていればスレーブ装置60と伝送を開始する。このとき、マスタ装置40は、データ送信から応答受信までの時間を測定し、プログラマブルコントローラ30を介して保守監視装置10に報告する。マスタ装置30は、データ送信数が、例えば100などある既定数に達した時伝送を停止し、測定した応答時間をもとに伝送監視時間を算出し、保守監視装置10に報告する。オペレーターは保守監視装置10に報告される伝送監視時間を確認し、必要に応じて伝送監視時間を変更し、マスタ装置40に設定する。マスタ装置40は、プログラマブルコントローラとの間でI/Oデータ交換をして伝送異常報告を行うオンラインのI/O伝送を行うようにスイッチが設定されていれば、保守監視装置10で設定される伝送周期と伝送監視時間をプログラマブルコントローラ30を介して受け取り、I/O伝送を開始する。マスタ装置40は、伝送周期毎に各スレーブ装置60に対しデータを送信し、このデータ送信毎に伝送監視タイマを起動し、スレーブ装置60からの応答を受信すると伝送監視タイマを停止し、スレーブ装置60とのデータ交換を終了する。マスタ装置40は、スレーブ装置60からの応答がなかった場合に、伝送監視タイマがタイムアウトし、当該スレーブ装置60の伝送異常と判断する。
【0012】
図5は、マスタ装置の送信処理手順を示すフローチャートである。このフローチャートは、伝送周期毎にデータを送信すべきスレーブ装置1局毎に実行されるものである。まず、オフラインかどうか判定し(S10)、オフラインでなければオンライン伝送データ送信処理を実行する(S11)。オフラインであれば、送受信完了フラグを検査し(S20)、送受信実行フラグがONならば送信をパスし、送受信実行フラグがOFFならば、データ送信数が規定値に達したかどうか判定し(S30)、データ送信数が規定値に達していれば現在値をクリアする(S31)。データ送信数が規定値に達していなければ、データ送信処理を実行し(S32)、応答タイマを起動して送受信実行フラグをONにし、データ送信数に1加算する(S33)。
【0013】
図6はマスタ装置の受信処理手順を示すフローチャートである。このフローチャートは、スレーブ装置1局毎のデータ受信を完了した時に実行されるものである。
まず、オフラインかどうか判定し(S10)、オフラインでなければオンライン伝送データ受信処理を実行する(S11)。オフラインであれば、送受信実行フラグをOFFにし、データ受信数に1加算し、応答タイマを停止し、応答タイマ値で現在値を更新し、応答タイマ値を累計応答時間に加算する(S12)。応答タイマ値と最小値とを比較し(S20)、応答タイマ値が最小値より小さい時最小値を更新する(S21)。応答タイマ値と最大値とを比較し(S30)、応答タイマ値が最大値より大きい時最大値を更新する(S31)。次に、データ送信数が規定値に達したかどうか判定し(S40)、データ送信数が規定値に達し、かつデータ送信数がデータ受信数に等しければ(S50)、累計応答時間をデータ受信数で除して平均値を算出し、平均値領域に書き込む(S51)。
【0014】
図7は保守監視装置が表示するオフライン伝送ステータス画面例を示している。この画面ではオフライン伝送をしているマスタ装置が常時報告し、応答時間の現在値、最小値および最大値が表示される。オフライン伝送が終了すると、マスタ装置が報告し、平均値と最大値をもとに算出する伝送監視時間が表示される。オペレーターは設定値に問題なければ保存操作を行い、設定値を変更したいときは設定値を変更した後保存操作を行う。
【0015】
【発明の効果】
以上説明したように、本発明によれば、実際のI/O伝送システムを使ってマスタ装置が伝送時間を測定し、当該I/O伝送システムに対応した伝送監視時間を設定できるので、当該I/O伝送システムの異常をいち早く検出し、システムへの悪影響を低減する効果がある。また、通常のオンラインのI/O伝送を開始する前に、オフラインの伝送を行うので、伝送路に繋がる各スレーブ装置とのI/O伝送の状態を簡単にみることができるという効果がある。
【図面の簡単な説明】
【図1】本発明のI/O伝送システムの構成図
【図2】マスタ装置のブロック構成図
【図3】オフライン伝送にかかるパラメータのデータ構成図
【図4】マスタ装置から各スレーブ装置までの間の伝送のタイムチャート
【図5】マスタ装置の送信処理手順を示すフローチャート
【図6】マスタ装置の受信処理手順を示すフローチャート
【図7】保守監視装置が表示するオフライン伝送ステータス画面
【図8】従来のI/O伝送システムの構成図
【図9】従来の伝送正常時のタイムチャート
【図10】従来の伝送異常時のタイムチャート
【符号の説明】
10 保守監視装置
20 電源装置
30 プログラマブルロジックコントローラ
40 マスタ装置
50 伝送路
60 スレーブ装置
100 中央局
300 システム制御手段
301 スイッチ・LED
302 I/Oポート回路
303 システムバスコネクタ
304 システム作業領域
305 システム制御部
306 共有メモリ領域
310 伝送制御手段
311 伝送作業領域
312 伝送インターフェース部
313 伝送コネクタ
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention comprises a maintenance monitoring device, a central station having a power supply device, a programmable controller and a master device, and one or more slave devices connected to the master device by a transmission line, wherein the master device is a slave device. In the I / O transmission system in which the programmable controller exchanges I / O data with the slave device by performing the I / O transmission at every transmission cycle between the I / O transmission and the transmission monitoring time from the maintenance monitoring device to the I / O transmission, The present invention relates to a technique for setting the master device.
[0002]
[Prior art]
FIG. 8 shows a configuration diagram of a conventional I / O transmission system. As shown in FIG. 8, a conventional I / O transmission system includes a central station 100 including a master device 40, a power supply device 20, and a programmable controller 30, one or more slave devices 60, and a transmission line 40 connecting these devices. , Is composed of. Then, in order for the programmable controller 30 to exchange I / O data with the slave device 60, the master device 40 performs I / O transmission with the slave device 60 every transmission cycle. Further, the maintenance monitoring device 10 is connected to the central office 100 and sets the transmission cycle of the master device 40. When receiving the transmission cycle set by the maintenance monitoring device 10, the master device 40 starts transmission / reception with the slave device 60 according to the transmission cycle and exchanges I / O data (for example, Patent Document 1).
[0003]
[Patent Document 1] Japanese Patent Application Laid-Open No. 05-028024
FIG. 9 is a time chart at the time of normal transmission from the master device to each slave device. This time chart shows a state of normal I / O transmission between the master device and two slave devices.
[0005]
[Problems to be solved by the invention]
However, as shown in FIG. 10, when the slave device connected to the transmission path stops responding for some reason, the master device reports an abnormality of the slave device due to the timeout of the transmission monitoring timer. As the value set in the transmission monitoring timer, a relatively large fixed value in seconds is provided in the master device. As described above, in the conventional method, a large value is set for the transmission monitoring timer so as not to be affected by the responsiveness of the slave device connected to the transmission path, and it takes a long time until an abnormality is detected. Had the problem of having a significant effect.
[0006]
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problem, and measures the time from transmission of data to reception of a response by the master device by performing offline transmission before the master device starts normal I / O transmission. The measurement result and a transmission monitoring time calculated based on the measurement result are reported to the maintenance monitoring device so that the master device can set the transmission monitoring time from the maintenance monitoring device.
[0007]
[Means for Solving the Problems]
In order to achieve the above object, the present invention provides a maintenance and monitoring device, a central station including a power supply device, a programmable controller and a master device, and one or more slaves connected to the master device by a transmission line. An I / O transmission system in which the master device performs I / O transmission with the slave device at regular intervals and the programmable controller exchanges I / O data with the slave device. Before the master device starts online I / O transmission with the programmable controller, the master device performs offline transmission before the master device measures the time from data transmission to response reception. The measurement result is reported to the maintenance monitoring device.
[0008]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, specific examples of the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram of the I / O transmission system of the present invention. The same parts as those shown in FIG. 8 are denoted by the same reference numerals, and detailed description will be omitted.
In the figure, a feature different from FIG. 7 is a master device 40. As shown in the figure, the master device 40 starts transmission with the slave device 60 if the switch is set to perform offline transmission. At this time, the master device 40 measures the time from data transmission to response reception, and reports it to the maintenance monitoring device 10 via the programmable controller 30. The master device 40 stops transmission when the number of data transmissions reaches a certain predetermined number, for example, 100, calculates a transmission monitoring time based on the measured response time, and reports it to the maintenance monitoring device 10. The operator checks the transmission monitoring time reported to the maintenance monitoring device 10, changes the transmission monitoring time as necessary, and sets it in the master device 40. The master device 40 exchanges I / O data with the programmable controller 30 and reports a transmission abnormality. If the switch is set to perform online I / O transmission, the transmission cycle and the transmission monitoring time set by the maintenance monitoring device 10 are received via the programmable controller 30 and the I / O transmission is started.
[0009]
FIG. 2 is a block diagram of the master device 40 shown in FIG. In the figure, the master device 40 comprises a system control means 300 and a transmission control means 310.
The system control means 300 is connected to a switch / LED 301 connected to a switch / LED 301 for selecting whether to perform online I / O transmission for performing I / O data exchange and transmission abnormality report with the programmable controller or offline transmission. I / O data is exchanged between the I / O port circuit 302 and the programmable controller 30, and a transmission cycle and transmission required for starting I / O transmission with the slave device 60 between the I / O port and the maintenance monitoring device 10. A shared memory area 306 for exchanging setting data such as monitoring time from the programmable controller 30 via the system bus 303; a system work area 304 for storing parameters related to offline transmission; And a system control unit 305 that manages
The transmission control means 310 includes a transmission work area 311 for exchanging data with the slave device, and a transmission interface unit 312 connected to the transmission port 313 and performing transmission with the slave device.
[0010]
FIG. 3 is a data configuration diagram of parameters related to offline transmission provided in the master device. The transmission monitoring time area is a set value for reporting, based on the time from data transmission to receiving a response when the master device 40 performs offline transmission, to the maintenance monitoring device 10 via the programmable controller 30. Is an area for storing. The transmission monitoring time area is also an area for storing a set value that the master device 40 receives from the maintenance monitoring device 10 via the programmable controller 30. The ST number area is an area for storing a number corresponding to the slave device 60 connected to the transmission path 50, and the ST number takes a unique number on one transmission path. The current value area is an area in which the master device 40 stores a time from the data transmission to the reception of the response and the immediately preceding time. The minimum value area is an area for storing the minimum time of the time from when the master device 40 transmits data to when it receives a response. The maximum value area is an area for storing the maximum time of the time from when the master device 40 transmits data to when it receives a response. The average value area is an area for storing a value obtained by dividing the total response time from when the master device 40 transmits the data to when the response is received by the number of data receptions. The cumulative response time area is an area for storing a time obtained by adding the time from when the master device 40 transmits data to when a response is received. The data reception number area is an area in which a value counted by one every time the master device 40 receives data from the slave device 60 is stored. The data transmission number area is an area in which a value counted by one every time the master device 40 transmits data to the slave device 60 is stored. The transmission / reception execution flag area is an area that is turned on (1) when the master device 40 transmits data to the slave device 60 and turned off (0) when data is received from the slave device 60.
[0011]
FIG. 4 is a time chart of transmission between the master device and each slave device in the transmission cycle. The master device 40 starts transmission with the slave device 60 if the switch is set to perform offline transmission. At this time, the master device 40 measures the time from data transmission to response reception, and reports it to the maintenance monitoring device 10 via the programmable controller 30. The master device 30 stops transmission when the number of data transmissions reaches a predetermined number, for example, 100, calculates a transmission monitoring time based on the measured response time, and reports it to the maintenance monitoring device 10. The operator checks the transmission monitoring time reported to the maintenance monitoring device 10, changes the transmission monitoring time as necessary, and sets it in the master device 40. The master device 40 is set by the maintenance monitoring device 10 if a switch is set to perform online I / O transmission for exchanging I / O data with the programmable controller and reporting a transmission abnormality. The transmission cycle and the transmission monitoring time are received via the programmable controller 30, and I / O transmission is started. The master device 40 transmits data to each slave device 60 at each transmission cycle, starts a transmission monitoring timer each time the data is transmitted, stops the transmission monitoring timer when a response from the slave device 60 is received, and stops the transmission monitoring timer. The data exchange with 60 is terminated. When there is no response from the slave device 60, the master device 40 times out the transmission monitoring timer, and determines that the transmission of the slave device 60 is abnormal.
[0012]
FIG. 5 is a flowchart illustrating a transmission processing procedure of the master device. This flowchart is executed for each slave device to which data is to be transmitted in each transmission cycle. First, it is determined whether or not it is offline (S10). If it is not offline, online transmission data transmission processing is executed (S11). If the transmission / reception is completed, the transmission / reception completion flag is checked (S20). If the transmission / reception execution flag is ON, the transmission is passed. If the transmission / reception execution flag is OFF, it is determined whether the data transmission number has reached a specified value (S30). If the number of data transmissions has reached the specified value, the current value is cleared (S31). If the number of data transmissions has not reached the specified value, a data transmission process is executed (S32), a response timer is started, a transmission / reception execution flag is turned on, and 1 is added to the number of data transmissions (S33).
[0013]
FIG. 6 is a flowchart showing the reception processing procedure of the master device. This flowchart is executed when data reception for each slave device has been completed.
First, it is determined whether or not it is offline (S10). If it is not offline, online transmission data reception processing is executed (S11). If it is offline, the transmission / reception execution flag is turned off, 1 is added to the number of received data, the response timer is stopped, the current value is updated with the response timer value, and the response timer value is added to the total response time (S12). The response timer value is compared with the minimum value (S20), and when the response timer value is smaller than the minimum value, the minimum value is updated (S21). The response timer value is compared with the maximum value (S30), and when the response timer value is larger than the maximum value, the maximum value is updated (S31). Next, it is determined whether or not the number of data transmissions has reached a specified value (S40). If the number of data transmissions has reached a specified value and the number of data transmissions is equal to the number of data receptions (S50), the total response time is set to data reception. The average value is calculated by dividing by the number and written in the average value area (S51).
[0014]
FIG. 7 shows an example of an offline transmission status screen displayed by the maintenance monitoring device. On this screen, the master device performing offline transmission always reports, and the current value, the minimum value, and the maximum value of the response time are displayed. When the offline transmission is completed, the master device reports and displays a transmission monitoring time calculated based on the average value and the maximum value. If there is no problem with the set value, the operator performs a save operation. If the operator wants to change the set value, the operator changes the set value and then performs a save operation.
[0015]
【The invention's effect】
As described above, according to the present invention, the master device measures the transmission time using the actual I / O transmission system, and can set the transmission monitoring time corresponding to the I / O transmission system. This has the effect of quickly detecting an abnormality in the / O transmission system and reducing adverse effects on the system. Further, since the offline transmission is performed before the normal online I / O transmission is started, there is an effect that the state of the I / O transmission with each slave device connected to the transmission path can be easily checked.
[Brief description of the drawings]
FIG. 1 is a block diagram of an I / O transmission system of the present invention. FIG. 2 is a block diagram of a master device. FIG. 3 is a data configuration diagram of parameters related to off-line transmission. FIG. 5 is a flowchart showing a transmission processing procedure of the master device. FIG. 6 is a flowchart showing a reception processing procedure of the master device. FIG. 7 is an offline transmission status screen displayed by the maintenance monitoring device. Configuration diagram of conventional I / O transmission system [FIG. 9] Conventional time chart of normal transmission [FIG. 10] Conventional time chart of abnormal transmission [Explanation of symbols]
Reference Signs List 10 maintenance monitoring device 20 power supply device 30 programmable logic controller 40 master device 50 transmission line 60 slave device 100 central station 300 system control means 301 switch / LED
302 I / O port circuit 303 System bus connector 304 System work area 305 System control unit 306 Shared memory area 310 Transmission control means 311 Transmission work area 312 Transmission interface unit 313 Transmission connector

Claims (3)

保守監視装置と、電源装置、プログラマブルコントローラおよびマスタ装置とを備えた中央局と、前記マスタ装置と伝送路で接続されている1つ以上のスレーブ装置とからなり、前記マスタ装置が前記スレーブ装置との間で一定周期毎にI/O伝送をして前記プログラマブルコントローラが前記スレーブ装置とI/Oデータを交換するI/O伝送システムにおいて、
前記マスタ装置が、前記プログラマブルコントローラとの間でオンラインのI/O伝送を開始するときは、その前にオフラインの伝送をして前記マスタ装置がデータの送信から応答受信までの時間を測定し、その測定結果を前記保守監視装置に報告することを特徴とするI/O伝送システム。
A maintenance station, a power supply, a central station including a programmable controller and a master device, and one or more slave devices connected to the master device via a transmission line, wherein the master device is An I / O transmission system in which the programmable controller exchanges I / O data with the slave device by performing I / O transmission at regular intervals between
When the master device starts online I / O transmission with the programmable controller, the master device performs offline transmission before that and measures the time from data transmission to response reception, An I / O transmission system that reports the measurement result to the maintenance monitoring device.
前記マスタ装置は前記保守監視装置の伝送監視時間を設定することを特徴とする請求項1記載のI/O伝送システム。2. The I / O transmission system according to claim 1, wherein the master device sets a transmission monitoring time of the maintenance monitoring device. 前記マスタ装置はシステム制御手段と伝送制御手段とからなり、
前記システム制御手段は、前記オンラインのI/O伝送と前記オフラインの伝送のいずれかを選択するスイッチ・LEDに接続されたI/Oポート回路と、前記プログラマブルコントローラとの間でI/Oデータの交換を行い、また、前記保守監視装置との間で前記スレーブ装置とI/O伝送を開始するのに必要な伝送周期と伝送監視時間を、前記プログラマブルコントローラからシステムバスを介して送受信する共有メモリ領域と、オフラインの伝送にかかるパラメータを格納するシステム作業領域と、これら一連の処理と前記中央局全体を管理するシステム制御部とからなり、
前記伝送制御手段は、前記スレーブ装置とデータの送受信をする伝送作業領域と、伝送コネクタに接続されて前記スレーブ装置と送受信をする伝送インターフェース部とからなる
ことを特徴とする請求項1記載のI/O伝送システム。
The master device includes system control means and transmission control means,
The system control means includes an I / O port circuit connected to a switch / LED for selecting one of the online I / O transmission and the offline transmission, and an I / O data transfer between the programmable controller. A shared memory for performing exchange and transmitting / receiving a transmission cycle and a transmission monitoring time required for starting I / O transmission with the slave device with the maintenance / monitoring device from the programmable controller via a system bus. A region, a system work region for storing parameters related to offline transmission, and a system control unit that manages a series of these processes and the entire central station,
2. The transmission apparatus according to claim 1, wherein the transmission control means comprises a transmission work area for transmitting and receiving data to and from the slave device, and a transmission interface unit connected to a transmission connector for transmitting and receiving to and from the slave device. / O transmission system.
JP2003114513A 2003-04-18 2003-04-18 I/o transmission system Pending JP2004318710A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003114513A JP2004318710A (en) 2003-04-18 2003-04-18 I/o transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003114513A JP2004318710A (en) 2003-04-18 2003-04-18 I/o transmission system

Publications (1)

Publication Number Publication Date
JP2004318710A true JP2004318710A (en) 2004-11-11

Family

ID=33474084

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003114513A Pending JP2004318710A (en) 2003-04-18 2003-04-18 I/o transmission system

Country Status (1)

Country Link
JP (1) JP2004318710A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100792896B1 (en) 2006-08-22 2008-01-08 현대자동차주식회사 Off-line test working system in automation facilities lines and operating method thereof
CN106292521A (en) * 2016-10-08 2017-01-04 南京三乐微波技术发展有限公司 A kind of high power single-tube microwave power supply ageing behavior monitoring arrangement

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100792896B1 (en) 2006-08-22 2008-01-08 현대자동차주식회사 Off-line test working system in automation facilities lines and operating method thereof
CN106292521A (en) * 2016-10-08 2017-01-04 南京三乐微波技术发展有限公司 A kind of high power single-tube microwave power supply ageing behavior monitoring arrangement

Similar Documents

Publication Publication Date Title
JP2004318710A (en) I/o transmission system
JP4458279B2 (en) Programmable controller system communication method
JP5099334B2 (en) PLC slave
JP4992573B2 (en) Layer 2 switch, communication device, data section error detection method used therefor, and program thereof
JP4458278B2 (en) Communication cycle control method
JP7035511B2 (en) Programmable controller and duplex system
JP2007026241A (en) Abnormality monitoring method and controller using it
TWI273392B (en) Automated system monitoring method
JP2010146363A (en) System switching system of duplex programmable controller
WO2022107347A1 (en) Slave device, network system, method and program for controlling slave device
JP7297688B2 (en) Monitoring equipment, switchboards and monitoring systems
WO2022157991A1 (en) Master device, slave device, communication cable evaluation system, communication cable evaluation method, and computer program
JP2004070393A (en) Remote shutdown method
JP2000029509A (en) Method and device for master/slave transmission
JPH11121318A (en) Semiconductor manufacturing system
JP2000029507A (en) I/o transmission method
CN108989378B (en) Communication device, linking method and communication system
JP2001209410A (en) Method for specifying i/o module defect
JP2004318508A (en) I/o transmission system
JP2007267230A (en) Gateway device
JP2002344460A (en) Power grid monitor control system and record medium with connection establishment state monitoring control program recorded thereon
JP2005122592A (en) Distributed control device
JP2002123481A (en) Method for setting i/o size of master device
JPH09161181A (en) Automatic display device
KR20010046356A (en) Apparatus for down preventing in a subscriber board