JP2004171481A - Input/output device - Google Patents

Input/output device Download PDF

Info

Publication number
JP2004171481A
JP2004171481A JP2002339582A JP2002339582A JP2004171481A JP 2004171481 A JP2004171481 A JP 2004171481A JP 2002339582 A JP2002339582 A JP 2002339582A JP 2002339582 A JP2002339582 A JP 2002339582A JP 2004171481 A JP2004171481 A JP 2004171481A
Authority
JP
Japan
Prior art keywords
input
output device
status
data
output
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
JP2002339582A
Other languages
Japanese (ja)
Inventor
Takashi Kawashima
隆 河島
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 JP2002339582A priority Critical patent/JP2004171481A/en
Publication of JP2004171481A publication Critical patent/JP2004171481A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Programmable Controllers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an input/output device by which a fault in input/output modules loaded from a PLC side is detected. <P>SOLUTION: The input/output device 13 is that connected to the PLCs through a network and access is performed to the input/output device from the PLCs on the network. The input/output device 13 comprises a monitoring function having: a state confirmation means confirming the state of the loaded input/output modules by issuing access request; a state data update means updating input/output modules state data 12 added to input/output device transmission data 11 by referring to the result of the state confirmation; and a state notification means notifying all stations on the network of state data showing the state of the input/output modules by the broadcasted input/output device transmission data. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、プログラマブルコントローラ(以下PLCと記す)に接続される入出力装置に関するものである。
【0002】
【従来の技術】
従来の入出力装置は、例えば、特許文献1のように、入出力装置と複数台のPLCをn対nの接続形態でネットワークに接続し、入出力装置が入力データをネットワーク上の複数台のPLCに対してブロードキャストすることにより一台の入出力装置の入力データをネットワーク上の全PLCで参照できるようにしている。また、各PLCが入出力装置に対して出力データを入出力装置に送信することができ、一台の入出力装置を複数台のPLCで共用するようにしている。
【0003】
図3において、31は入出力装置であり、32は入出力モジュールである。入出力装置31は、装着された入出力モジュール32を介して入出力処理をおこなう。33、34はPLCであり、入出力装置31の親局となる。35は高速ネットワークであり、入出力装置31とPLC33,34を接続しているものである。
図4において、入出力装置31が入出力モジュール32からの入力データを入出力装置31のリンクメモリにリンクデータ45として格納すると、送信データ41はブロードキャストされ、PLC1のリンクメモリのリンクデータ43およびPLC2のリンクメモリのリンクデータ44に格納される。格納されたデータはPLCのラダー処理により解読される。また、PLC1のリンクメモリおよびPLC2のリンクメモリに格納された送信データ41はブロードキャストされ、入出力装置のリンクメモリに格納される。この受信データ42を入出力モジュール32に出力する。
【0004】
【特許文献1】
特開平11−296211号公報(第2〜3頁、図2、図3)
【0005】
【発明が解決しようとする課題】
しかしながら、従来の入出力装置31には入出力装置に装着された入出力モジュール32の状態を通知する機能がなく、親局であるPLC33,34にて入出力装置31に装着された入出力モジュール32の故障を検出できないという問題があった。
そこで、本発明は、このような問題点に鑑みてなされたものであり、入出力装置がネットワーク上の全PLCに対してブロードキャストするデータに入出力モジュールの状態を付加し、ブロードキャストされたデータを親局であるPLCが受信することで入出力装置の状態を監視することができる入出力装置を提供することを目的とする。
【0006】
【課題を解決するための手段】
上記課題を解決するため、請求項1に記載の発明は、プログラマブルコントローラにネットワークを用いて接続される入出力装置であって、一台の入出力装置に対してネットワーク上の複数台のプログラマブルコントローラからアクセスが可能である入出力装置において、前記入出力装置に装着された入出力モジュールの状態をアクセス要求を発行して確認する状態確認手段と、入出力装置送信データに付加されて入出力モジュールの状態を表す入出力モジュール状態データを前記入出力モジュールの状態確認の結果に基づいて更新する状態データ更新手段と、ネットワーク上の全ステーションに対してブロードキャストされる前記入出力装置送信データを介し前記更新された入出力モジュール状態データを全ステーションへ通知する状態通知手段とを有する監視機能を備えたことを特徴としている。
また、請求項2に記載の発明は、前記入出力モジュール状態データは、前記入出力装置送信データの先頭領域を使用して1ラック当たり1ワードのデータで構成し、ラックの状態および各スロットの状態が正常か異常かをビット表示することを特徴としている。
この入出力装置によれば、ブロードキャストされる入出力装置送信データを各PLCが受信することにより、その入出力装置送信データに付加されて送信される、アクセス要求によってその都度確認される入出力モジュールの状態を表す入出力モジュール状態データを親局であるPLCが受信し、入出力モジュール状態データの状態ビットが”1”か”0”かによって対応する入出力モジュールが異常か正常かを判断できるので、入出力装置の状態を監視することができる。
【0007】
【発明の実施の形態】
以下、本発明の具体的実施例を図に基づいて説明する。
図1は本発明の実施の形態に係る入出力装置の入出力モジュール状態データの構成図である。
図2は図1に示す入出力モジュール状態データの詳細図である。
図1において、入出力装置送信データ11は入出力装置13がネットワーク上の全ステーションに対してブロードキャストするデータである。
入出力モジュール状態データ12は入出力装置送信データ11の先頭8ワードを使用して入出力モジュールの状態を通知する(状態通知手段)。入出力モジュール状態データ12の8ワードのうち先頭4ワードはラック・スロット状態データ、残り4ワードは予備データとなっている。入出力装置13は、最大4ラックまでラックを拡張することができる。入出力モジュール状態データ12の先頭4ワードは入出力装置13の各ラックに対応している。
【0008】
図2は、ラック1の入出力モジュール状態データの詳細である。入出力モジュール状態21は1ラックあたり1ワードのデータで構成される。1ビット目はラック状態22で、ラック全体の状態を表す。ビットが0の場合、ラック正常、ビットが1の場合、ラック異常またはラック未装着であることを表す。2ビット目から10ビット目まではスロット状態23で、各スロットの状態1〜9を表す。ビットが0の場合、スロット正常、ビットが1の場合、スロット異常またはモジュール未装着であることを表す。
次に、入出力装置が入出力モジュール状態データ12を更新する方法について説明する。入出力装置は、入出力装置のリンクデータ45を使用して入出力処理を実行する。入出力装置が持っているスロットの割付情報を元にラック番号スロット番号が若いほうから順番に処理を実行していく。まず、ラック1、スロット1の入出力モジュールに対してアクセス要求を発行する(状態確認手段)。アクセス要求に対して正常応答が返って来た場合にのみ、ラック1スロット1の入出力モジュールに対して入出力要求を発行し、かつ、入出力モジュール状態21のスロット1状態24のビットを0にする。もしアクセス要求に対して応答が返ってこなかった場合はラック1スロット1の入出力モジュールが異常であるか未装着であると判断して、入出力モジュール状態21のスロット1状態ビット24を1にする。他のスロットに対しても同様の処理を行う。すなわち、入出力装置送信データに付加されて前記入出力モジュールの状態を表す入出力モジュール状態データを前記入出力モジュールの状態確認の結果に基づいて更新する状態データ更新手段を有している。
また、入出力モジュール状態21のラック状態ビット22であるが、毎スキャン行われているラック診断の結果によりセットしている。ラック診断が正常に終了した場合はラック状態ビット22を0にする。ラック診断が異常終了した場合はラック状態ビット22を1にする。
このようにしてセットされた入出力モジュール状態データは、他の入力データとともにネットワーク上のPLCに対してブロードキャストされる。
【0009】
このような本実施の形態によれば、
入出力モジュール状態データを受信したPLCは状態ビットが”1”の場合は、モジュール異常と判断できるので、これによってPLC側で入出力モジュールの故障を検出して、迅速にメインテナンス機能等の起動が可能になり、例えば、自動解列機能によりネットワークから故障したモジュールだけ自動的に切り離して、ネットワークの正常な動作を続行させる等の対応がとられるので、モジュールの故障によりネットワーク全体が停止したり、システム・ダウンを起こすような事態は避けることができる。
また、故障したモジュールが差替え装着等により正常に戻れば、ネットワークに自動的に復列するので、本発明の監視機能を用いることにより復旧処理が迅速に行われることで、本発明によってシステムの安全稼働が保証され、モジュールの故障によるシステム・ダウンなどのシステム・ダメージや、稼働停止等に伴うコスト上の損害などを回避することができる。
【0010】
【発明の効果】
以上述べたように、本発明の入出力装置によれば、ネットワーク上の全PLCに対してブロードキャストするデータに入出力モジュールの状態を付加することによってブロードキャストされたデータを親局であるPLCが受信して、入出力装置の状態を監視することにより、迅速にメインテナンスを機能させることが可能になり、システムの安全稼働が保証され、ネットワークの停止、システムダウンなどによって発生すコスト上の損害を回避できるという効果がある。
【図面の簡単な説明】
【図1】本発明の入出力装置の入出力モジュール状態データの構成図である。
【図2】図1に示す入出力モジュール状態データの詳細図である。
【図3】従来の入出力装置を使用したシステム構成図である。
【図4】従来の入出力装置リンクデータの説明図である。
11 入出力装置送信データ
12 入出力モジュール状態データ
13 入出力装置
14 入出力モジュール
15 ラック1
16 ラック2
17 ラック3
18 ラック4
21 モジュール状態(1ラック分)
22 ラック状態
23 スロット状態
24 スロット1状態
25 スロット9状態
31 入出力装置
32 入出力モジュール
33 PLC1
34 PLC2
35 高速ネットワーク
41 出力データ
42 入力データ
43 PLC1のリンクデータ
44 PLC2のリンクデータ
45 入出力データのリンクデータ
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an input / output device connected to a programmable controller (hereinafter, referred to as a PLC).
[0002]
[Prior art]
2. Description of the Related Art A conventional input / output device connects an input / output device and a plurality of PLCs to a network in an n-to-n connection form, for example, as disclosed in Patent Document 1, and the input / output device transmits input data to a plurality of By broadcasting to the PLC, input data of one input / output device can be referred to by all PLCs on the network. Further, each PLC can transmit output data to the input / output device to the input / output device, and one input / output device is shared by a plurality of PLCs.
[0003]
In FIG. 3, 31 is an input / output device, and 32 is an input / output module. The input / output device 31 performs input / output processing via the attached input / output module 32. PLCs 33 and 34 are master stations of the input / output device 31. A high-speed network 35 connects the input / output device 31 and the PLCs 33 and 34.
In FIG. 4, when the input / output device 31 stores input data from the input / output module 32 in the link memory of the input / output device 31 as link data 45, the transmission data 41 is broadcasted, and the link data 43 and the PLC 2 of the link memory of the PLC 1 are broadcast. Is stored in the link data 44 of the link memory. The stored data is decoded by the ladder processing of the PLC. The transmission data 41 stored in the link memory of the PLC 1 and the link memory of the PLC 2 are broadcast and stored in the link memory of the input / output device. The received data 42 is output to the input / output module 32.
[0004]
[Patent Document 1]
JP-A-11-296211 (pages 2-3, FIGS. 2 and 3)
[0005]
[Problems to be solved by the invention]
However, the conventional input / output device 31 does not have a function of notifying the status of the input / output module 32 mounted on the input / output device, and the input / output module mounted on the input / output device 31 by the PLCs 33 and 34 as master stations. There is a problem that 32 failures cannot be detected.
Therefore, the present invention has been made in view of such a problem, and an input / output device adds a state of an input / output module to data broadcast to all PLCs on a network, and transmits the broadcast data. An object of the present invention is to provide an input / output device capable of monitoring the state of the input / output device by receiving a signal from a PLC which is a master station.
[0006]
[Means for Solving the Problems]
In order to solve the above problem, the invention according to claim 1 is an input / output device connected to a programmable controller using a network, wherein a plurality of programmable controllers on the network are provided for one input / output device. A status confirmation means for issuing an access request to confirm the status of an input / output module mounted on the input / output device, and an input / output module added to the input / output device transmission data. Status data updating means for updating the input / output module status data representing the status of the input / output module based on the result of the status check of the input / output module, and the input / output device transmission data broadcast to all stations on the network. Status notification that notifies all stations of the updated I / O module status data It is characterized in that a monitoring function and means.
In the invention described in claim 2, the input / output module state data is constituted by data of one word per rack using a leading area of the input / output device transmission data, and the state of the rack and the number of slots It is characterized in that a bit indicating whether the status is normal or abnormal is displayed.
According to this input / output device, each PLC receives broadcasted input / output device transmission data, and is added to the input / output device transmission data and transmitted. The input / output module is confirmed each time by an access request. Is received by the PLC which is the master station, and whether the corresponding input / output module is abnormal or normal can be determined based on whether the status bit of the input / output module status data is "1" or "0". Therefore, the state of the input / output device can be monitored.
[0007]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, specific embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a configuration diagram of input / output module state data of an input / output device according to an embodiment of the present invention.
FIG. 2 is a detailed diagram of the input / output module state data shown in FIG.
In FIG. 1, input / output device transmission data 11 is data that the input / output device 13 broadcasts to all stations on the network.
The input / output module status data 12 uses the first 8 words of the input / output device transmission data 11 to notify the status of the input / output module (status notification means). Of the eight words of the input / output module state data 12, the first four words are rack / slot state data, and the remaining four words are spare data. The input / output device 13 can expand a rack up to a maximum of four racks. The first four words of the input / output module status data 12 correspond to each rack of the input / output device 13.
[0008]
FIG. 2 shows the details of the input / output module state data of the rack 1. The input / output module state 21 is composed of one word of data per rack. The first bit is a rack state 22, which indicates the state of the entire rack. When the bit is 0, the rack is normal, and when the bit is 1, it indicates that the rack is abnormal or the rack is not mounted. From the second bit to the tenth bit, the slot state 23 indicates states 1 to 9 of each slot. When the bit is 0, the slot is normal, and when the bit is 1, the slot is abnormal or the module is not mounted.
Next, a method in which the input / output device updates the input / output module state data 12 will be described. The input / output device executes input / output processing using the link data 45 of the input / output device. Based on slot assignment information possessed by the input / output device, processing is executed in ascending order of rack numbers and slot numbers. First, an access request is issued to the input / output module of the rack 1 and the slot 1 (state checking means). Only when a normal response is returned to the access request, an input / output request is issued to the input / output module of the rack 1 slot 1 and the bit of the slot 1 status 24 of the input / output module status 21 is set to 0. To If no response is returned to the access request, it is determined that the input / output module of rack 1 slot 1 is abnormal or not installed, and the slot 1 status bit 24 of the input / output module status 21 is set to 1. I do. Similar processing is performed for other slots. That is, there is provided status data updating means for updating the input / output module status data added to the input / output device transmission data and indicating the status of the input / output module based on the result of the status check of the input / output module.
The rack status bit 22 of the input / output module status 21 is set according to the result of the rack diagnosis performed for each scan. If the rack diagnosis has been completed normally, the rack status bit 22 is set to "0". If the rack diagnosis is abnormally terminated, the rack status bit 22 is set to "1".
The input / output module status data set in this way is broadcast to the PLC on the network together with other input data.
[0009]
According to such an embodiment,
If the status bit is "1", the PLC that has received the input / output module status data can determine that the module is abnormal. Therefore, the PLC detects a failure of the input / output module and quickly starts the maintenance function and the like. For example, the automatic disconnection function automatically disconnects only the failed module from the network and takes measures such as continuing normal operation of the network. A situation that causes the system to go down can be avoided.
In addition, if the failed module returns to normal due to replacement or the like, it automatically returns to the network. Therefore, by using the monitoring function of the present invention, the recovery processing is performed quickly, and the present invention provides a safe system. Operation is guaranteed, and it is possible to avoid system damage such as system down due to a module failure, and cost damage due to operation stop and the like.
[0010]
【The invention's effect】
As described above, according to the input / output device of the present invention, the master station PLC receives the broadcast data by adding the status of the input / output module to the data broadcast to all the PLCs on the network. By monitoring the status of I / O devices, maintenance can be performed quickly, ensuring safe operation of the system and avoiding cost damage caused by network outages, system downtime, etc. There is an effect that can be.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of input / output module state data of an input / output device of the present invention.
FIG. 2 is a detailed diagram of input / output module state data shown in FIG. 1;
FIG. 3 is a system configuration diagram using a conventional input / output device.
FIG. 4 is an explanatory diagram of conventional input / output device link data.
11 I / O device transmission data 12 I / O module status data 13 I / O device 14 I / O module 15 Rack 1
16 racks 2
17 rack 3
18 racks 4
21 Module status (for one rack)
22 Rack state 23 Slot state 24 Slot 1 state 25 Slot 9 state 31 I / O device 32 I / O module 33 PLC1
34 PLC2
35 High-speed network 41 Output data 42 Input data 43 Link data of PLC1 44 Link data of PLC2 45 Link data of input / output data

Claims (2)

プログラマブルコントローラにネットワークを用いて接続される入出力装置であって、一台の入出力装置に対してネットワーク上の複数台のプログラマブルコントローラからアクセスが可能である入出力装置において、
前記入出力装置に装着された入出力モジュールの状態をアクセス要求を発行して確認する状態確認手段と、入出力装置送信データに付加されて前記入出力モジュールの状態を表す入出力モジュール状態データを前記入出力モジュールの状態確認の結果に基づいて更新する状態データ更新手段と、ネットワーク上の全ステーションに対してブロードキャストされる前記入出力装置送信データを介し前記更新された入出力モジュール状態データを全ステーションへ通知する状態通知手段とを有する監視機能を備えたことを特徴とする入出力装置。
An input / output device connected to a programmable controller using a network, wherein one input / output device is accessible from a plurality of programmable controllers on the network.
Status confirmation means for confirming the status of the input / output module mounted on the input / output device by issuing an access request; and input / output module status data added to the input / output device transmission data and indicating the status of the input / output module. Status data updating means for updating based on the result of the status check of the input / output module, and all the updated input / output module status data via the input / output device transmission data broadcast to all stations on the network. An input / output device comprising a monitoring function having status notifying means for notifying a station.
前記入出力モジュール状態データは、前記入出力装置送信データの先頭領域を使用して1ラック当たり1ワードのデータで構成し、ラックの状態および各スロットの状態が正常か異常かをビット表示することを特徴とする請求項1記載の入出力装置。The input / output module status data is composed of data of one word per rack using a head area of the input / output device transmission data, and indicates the status of the rack and the status of each slot as normal or abnormal. The input / output device according to claim 1, wherein:
JP2002339582A 2002-11-22 2002-11-22 Input/output device Pending JP2004171481A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002339582A JP2004171481A (en) 2002-11-22 2002-11-22 Input/output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002339582A JP2004171481A (en) 2002-11-22 2002-11-22 Input/output device

Publications (1)

Publication Number Publication Date
JP2004171481A true JP2004171481A (en) 2004-06-17

Family

ID=32702503

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002339582A Pending JP2004171481A (en) 2002-11-22 2002-11-22 Input/output device

Country Status (1)

Country Link
JP (1) JP2004171481A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4902823B1 (en) * 2011-07-28 2012-03-21 三菱電機株式会社 Communication device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4902823B1 (en) * 2011-07-28 2012-03-21 三菱電機株式会社 Communication device
WO2013014793A1 (en) * 2011-07-28 2013-01-31 三菱電機株式会社 Communication device
CN103026308A (en) * 2011-07-28 2013-04-03 三菱电机株式会社 Communication device

Similar Documents

Publication Publication Date Title
US5875290A (en) Method and program product for synchronizing operator initiated commands with a failover process in a distributed processing system
JP4786673B2 (en) Process control system for communication in process control network, and fault detection method for process control system
US6012150A (en) Apparatus for synchronizing operator initiated commands with a failover process in a distributed processing system
CN105607523A (en) High availability device level ring backplane
JP2018516822A (en) Method for replacing a control unit in a transport device
US8279751B2 (en) System and method for signal failure detection in a ring bus system
CN112601216B (en) Zigbee-based trusted platform alarm method and system
CN101980478B (en) Method and device for detecting and processing equipment failures and network equipment
FI115015B (en) Procedure and system for securing a bus and control server
JP2006174422A (en) Communication apparatus and fault notification method
JP2004171481A (en) Input/output device
JP2006318394A (en) Management method for uninterruptible power supply device in network system
JP2004320195A (en) Remote i/o system in monitoring control system
CN106301882A (en) Cable with spare signal line for automatic fault recovery
JP5308299B2 (en) Wireless communication network system and wireless data communication apparatus
JP2009187428A (en) Security system
JP2004007930A (en) System and program for controlling power system monitoring
KR100237613B1 (en) Remote redundant system and control method in plc
JP2000163674A (en) Remote monitor
JP2001209410A (en) Method for specifying i/o module defect
JP2007046400A (en) Control system for electrically driven switching devices
JP2002353905A (en) Mobile communication system
JP3097625B2 (en) Information processing system
JP2005286520A (en) Wireless monitoring system
KR101405682B1 (en) Method for dealing with the gateway failing in centralized vehicle network