JPH11296211A - Input/output device - Google Patents
Input/output deviceInfo
- Publication number
- JPH11296211A JPH11296211A JP10317298A JP10317298A JPH11296211A JP H11296211 A JPH11296211 A JP H11296211A JP 10317298 A JP10317298 A JP 10317298A JP 10317298 A JP10317298 A JP 10317298A JP H11296211 A JPH11296211 A JP H11296211A
- Authority
- JP
- Japan
- Prior art keywords
- input
- output
- data
- output device
- plc
- 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
Landscapes
- Control By Computers (AREA)
- Programmable Controllers (AREA)
- Multi Processors (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、プログラマブルコ
ントローラ(PLC)に接続される入出力装置に関す
る。The present invention relates to an input / output device connected to a programmable controller (PLC).
【0002】[0002]
【従来の技術】図5は従来の入出力装置を示すものであ
る。同図において、51はPLC親局、52,53はP
LC、61は入出力装置(子局)である。図5に示され
るように、従来においては、子局である入出力装置61
と親局であるPLC51が1対nの接続形態で接続され
ている。入出力装置61で入力されたデータは、親局で
あるPLC51に送信される。出力データは親局である
PLC51から入出力装置61に対して送信され、それ
を受信した入出力装置61はデータを出力する。2. Description of the Related Art FIG. 5 shows a conventional input / output device. In the figure, 51 is a PLC master station, and 52 and 53 are P
LC and 61 are input / output devices (slave stations). As shown in FIG. 5, conventionally, an input / output device 61 which is a slave station is used.
And the PLC 51 as a master station are connected in a 1: n connection mode. The data input by the input / output device 61 is transmitted to the PLC 51 which is the master station. The output data is transmitted from the master station PLC 51 to the input / output device 61, and the input / output device 61 that has received the data outputs the data.
【0003】[0003]
【発明が解決しようとする課題】ところが、前記の従来
技術では、親局以外のPLC52,53からも入出力を
行いたい場合は、いったん親局PLC51に対して別の
ネットワーク70を介してデータを渡し、そのデータを
親局PLC51から入出力装置61に送信して出力し、
また、親局PLC51が入出力装置61から受け取った
入力データを別のネットワーク70を介して受け取る必
要があった。このため、入出力を行うのにPLCの処理
が余分に入るため、結果的に入出力時間が多くかかって
いた。一方、特開平8−202409号公報には、複数
の制御対象機器を有するプロセスの制御装置において、
制御対象機器に制御指令を発するコントローラを各制御
対象機器に対応して現場設置した分散制御装置が開示さ
れており、入出力装置に関しては、バス接続されたCP
Uと入出力装置において、CPUから入出力装置への入
出力バスアドレスと実際の入出力接点との間に、入出力
装置1点ごとにスイッチ回路をおき、このスイッチ自体
を、CPUから切り替え指令できるようにした内容にな
っている。しかしながら、前掲の特開平8−20240
9号公報に開示された装置では、入出力バス上のアドレ
スデコード結果と、入出力接点との接続をハード的なス
イッチ回路で切り替えるだけのものであり、入出力装置
を有する分散制御装置でしか入出力データを扱えないと
いう問題があった。そこで本発明の目的は、通信回線を
通して接続された分散入出力装置を、複数台の分散コン
トローラで共有するための手段を提供することにある。However, in the above-mentioned prior art, when it is desired to perform input / output from the PLCs 52 and 53 other than the master station, the data is once transmitted to the master station PLC 51 via another network 70. To transmit and output the data from the master station PLC 51 to the input / output device 61,
Further, the master station PLC 51 needs to receive the input data received from the input / output device 61 via another network 70. As a result, extra PLC processing is required to perform input / output, resulting in a long input / output time. On the other hand, Japanese Patent Application Laid-Open No. 8-202409 discloses a process control device having a plurality of control target devices.
There is disclosed a distributed control device in which a controller that issues a control command to a control target device is installed on site in accordance with each control target device. For input / output devices, a bus-connected CP is disclosed.
In the U and the input / output device, a switch circuit is provided for each input / output device between the input / output bus address from the CPU to the input / output device and the actual input / output contact. The content has been made available. However, the above-mentioned JP-A-8-20240
In the device disclosed in Japanese Patent Application Laid-Open No. 9-205, the connection between the address decode result on the input / output bus and the input / output contact is simply switched by a hardware switch circuit, and only in a distributed control device having the input / output device. There was a problem that I / O data could not be handled. Therefore, an object of the present invention is to provide means for sharing a distributed input / output device connected through a communication line with a plurality of distributed controllers.
【0004】[0004]
【課題を解決するための手段】前記目的を達成するた
め、本発明は、複数のプログラマブルコントローラにネ
ットワークを用いて接続される複数の入出力装置であっ
て、各入出力装置は、入出力データを格納する第1リン
クバッファを有し、各プログラマブルコントローラは、
前記各入出力装置に対応した第2リンクバッファを有す
ると共に、一定周期ごとに出力データを送信する手段を
備えることにより、一台の入出力装置に対して、前記ネ
ットワーク上の複数台のプログラマブルコントローラか
らアクセスを可能としたものである。In order to achieve the above object, the present invention provides a plurality of input / output devices connected to a plurality of programmable controllers via a network, wherein each input / output device is provided with input / output data. , And each programmable controller has:
A plurality of programmable controllers on the network for a single input / output device, having a second link buffer corresponding to each of the input / output devices, and a unit for transmitting output data at regular intervals; It was made accessible from.
【0005】[0005]
【発明の実施の形態】本発明では、図1に示すように入
出力装置11と複数台のPLC1〜4をn対nの接続形
態でネットワーク20に接続し、入出力装置11が入力
データをネットワーク20上の複数台のPLC1〜4に
対してブロードキャストすることにより一台の入出力装
置(例えば入出力装置1)の入力データをネットワーク
20上の全PLC1〜4で参照できるようにしている。
また、入出力装置11は入出力データを格納するバッフ
ァ(第1リンクバッファ)31,32,33を持つてお
り、第1リンクバッファ31,32,33はPLC1〜
4のステーション番号毎に細分されている。各PLC1
〜4は入出力装置11に対して出力データを送信し、そ
のデータを受信した入出力装置11は、ステーション番
号に対応する第1リンクバッファに受信データを格納す
る。データの出力は、第1リンクバッファのデータと出
力モジュールの対応表に基づき行われる。こうして、各
PLC1〜4は入出力装置11に対して出力データを送
信することができる。上記手段により、一台の入出力装
置を複数台のPLCで共用することができ、従来技術の
ように1つのPLCで入出力データの受け渡しをする必
要が無くなるため処理時間が短縮できる。DESCRIPTION OF THE PREFERRED EMBODIMENTS In the present invention, as shown in FIG. 1, an input / output device 11 and a plurality of PLCs 1 to 4 are connected to a network 20 in an n-to-n connection mode. By broadcasting to a plurality of PLCs 1 to 4 on the network 20, input data of one input / output device (for example, the input / output device 1) can be referred to by all the PLCs 1 to 4 on the network 20.
The input / output device 11 has buffers (first link buffers) 31, 32, 33 for storing input / output data, and the first link buffers 31, 32, 33
4 for each station number. Each PLC1
4 transmit output data to the input / output device 11, and upon receiving the data, the input / output device 11 stores the received data in the first link buffer corresponding to the station number. The output of the data is performed based on the correspondence table between the data of the first link buffer and the output module. Thus, each of the PLCs 1 to 4 can transmit output data to the input / output device 11. According to the above-described means, one input / output device can be shared by a plurality of PLCs, and there is no need to exchange input / output data with one PLC unlike the related art, so that the processing time can be reduced.
【0006】[0006]
【実施例】以下、本発明の実施例を図に基づいて説明す
る。図2はシステムの構成図である。まず、ネットワー
ク上の各PLC1,2,・・・は、図3のように入出力
データ用のバッファ41,42,43を持っている。こ
のバッファ41,42,43を第2リンクバッファと呼
ぶ。相手ステーション毎に第2リンクバッファが細分さ
れている。各PLCはPLCのスキャン周期毎に、出力
データを送信している。また、入出力装置11にもPL
C1〜4と同様の第1リンクバッファ31,32,33
があり、各PLCが送信した出力データを受信し第1リ
ンクバッファ31,32,33に蓄える。入出力装置1
1は、表1に示すように、第1リンクバッファのどのデ
ータをどのモジュールに出力するか、またどのモジュー
ルの入力データをどの第1リンクバッファに格納するか
を表す対応表を持っている。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 2 is a configuration diagram of the system. First, the PLCs 1, 2,... On the network have input / output data buffers 41, 42, 43 as shown in FIG. These buffers 41, 42, and 43 are called second link buffers. The second link buffer is subdivided for each partner station. Each PLC transmits output data for each PLC scan cycle. Also, the input / output device 11 has a PL
First link buffers 31, 32, 33 similar to C1 to C4
The output data transmitted by each PLC is received and stored in the first link buffers 31, 32, and 33. I / O device 1
As shown in Table 1, No. 1 has a correspondence table indicating which data of the first link buffer is output to which module, and which module input data is stored in which first link buffer.
【0007】[0007]
【表1】 [Table 1]
【0008】PLC1からの入力データは第1リンクバ
ッファ31、PLC2からのデータは第1リンクバッフ
ァ32に格納される。第1リンクバッファ33のデータ
は一定の周期でネットワーク上のPLCに対してブロー
ドキャストされる。各PLCは同じタイミングで入出力
装置からの入力データを参照することができる。図2の
システムで、PLC1から1ワードのデータを入出力装
置のモジュールM1に対して出力する場合、PLC2か
ら1ワードのデータを入出力装置のモジュールM2に対
して出力する場合と、入出力装置のモジュールM3から
の入力データをPLC1、2で入力する場合を考えてみ
る。PLC1のデータおよびPLC2のデータはそれぞ
れのPLCのスキャンの周期で送信されている。送信さ
れたデータは入出力装置で受信され、入出力装置の第1
リンクバッファの各PLCに割り当てられた領域に格納
される。[0008] Input data from the PLC 1 is stored in a first link buffer 31, and data from the PLC 2 is stored in a first link buffer 32. The data in the first link buffer 33 is broadcast to the PLC on the network at a fixed cycle. Each PLC can refer to input data from the input / output device at the same timing. In the system shown in FIG. 2, when one word data is output from the PLC 1 to the module M1 of the input / output device, when one word data is output from the PLC 2 to the module M2 of the input / output device, Let us consider a case in which input data from the module M3 is input to the PLCs 1 and 2. The data of the PLC1 and the data of the PLC2 are transmitted at the scanning cycle of each PLC. The transmitted data is received by the I / O device, and the first of the I / O device
The data is stored in an area allocated to each PLC in the link buffer.
【0009】図4に示すように、入出力装置11はユー
ザによって設定された対応表に基づき、入出力処理を行
う。入出力装置11は、まず、第1リンクバッファ31
に格納されたPLC1からのデータのうち、IW100
という番地のデータを1ワード、モジュールM1に出力
する。次に、第1リンクバッファ32に格納されたPL
C2からのデータのうち、IW200という番地のデー
タを1ワード、モジュールM2に出力する。最後に、モ
ジュールM3から入力した1ワードのデータを、第1リ
ンクバッファ33のOW300という番地に格納する。
第1リンクバッファ33のデータは、入出力処理終了後
にネットワーク上の全PLCに対してブロードキャスト
される。ブロードキャストされたデータはPLC1、P
LC2で受信され、それぞれの第1リンクバッファの入
出力装置からの受信に割り当てられた領域に格納され
る。格納されたデータはPLCのラダー処理により解読
される。As shown in FIG. 4, the input / output device 11 performs input / output processing based on a correspondence table set by a user. The input / output device 11 firstly receives the first link buffer 31
Out of the data from the PLC 1 stored in the
Is output as one word to the module M1. Next, the PL stored in the first link buffer 32
Among the data from C2, one word of data at the address IW200 is output to module M2. Finally, the one-word data input from the module M3 is stored in the first link buffer 33 at the address OW300.
The data in the first link buffer 33 is broadcast to all PLCs on the network after the input / output processing is completed. The broadcast data is PLC1, P
The data is received by the LC2 and stored in the area of each of the first link buffers allocated to the reception from the input / output device. The stored data is decoded by the ladder processing of the PLC.
【0010】[0010]
【発明の効果】以上述べたように、本発明によれば、各
入出力装置は入出力データを格納する第1リンクバッフ
ァを有し、各プログラマブルコントローラは各入出力装
置に対応した第2リンクバッファを有すると共に、一定
周期ごとに出力データを送信する手段を備えたことによ
り、一台の入出力装置を複数台のPLCで共用すること
ができ、入出力処理を効率よく行うことができる。As described above, according to the present invention, each input / output device has a first link buffer for storing input / output data, and each programmable controller has a second link buffer corresponding to each input / output device. By having a buffer and a means for transmitting output data at regular intervals, one input / output device can be shared by a plurality of PLCs, and input / output processing can be performed efficiently.
【図1】 本発明による入出力装置とPLCのシステム
構成図である。FIG. 1 is a system configuration diagram of an input / output device and a PLC according to the present invention.
【図2】 実施例のシステム構成図である。FIG. 2 is a system configuration diagram of an embodiment.
【図3】 第1リンクバッファを示した図である。FIG. 3 is a diagram showing a first link buffer.
【図4】 入出力装置内部のデータ構造を示した図であ
る。FIG. 4 is a diagram showing a data structure inside an input / output device.
【図5】 従来技術による入出力装置である。FIG. 5 is an input / output device according to the related art.
1〜4 PLC、11 PLC(プログラマブルコント
ローラ)、20 ネットワーク、31〜34 第1リン
クバッファ、41〜43 第2リンクバッファ、M1〜
M3 モジュール1-4 PLC, 11 PLC (programmable controller), 20 networks, 31-34 first link buffer, 41-43 second link buffer, M1-
M3 module
Claims (1)
ットワークを用いて接続される複数の入出力装置であっ
て、各入出力装置は、入出力データを格納する第1リン
クバッファを有し、各プログラマブルコントローラは、
前記各入出力装置に対応した第2リンクバッファを有す
ると共に、一定周期ごとに出力データを送信する手段を
備えることにより、一台の入出力装置に対して、前記ネ
ットワーク上の複数台のプログラマブルコントローラか
らアクセスを可能としたことを特徴とする入出力装置。1. A plurality of input / output devices connected to a plurality of programmable controllers using a network, wherein each input / output device has a first link buffer for storing input / output data, and each programmable controller has ,
A plurality of programmable controllers on the network for a single input / output device, having a second link buffer corresponding to each of the input / output devices, and a unit for transmitting output data at regular intervals; An input / output device characterized in that it can be accessed from a computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10317298A JPH11296211A (en) | 1998-04-14 | 1998-04-14 | Input/output device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10317298A JPH11296211A (en) | 1998-04-14 | 1998-04-14 | Input/output device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH11296211A true JPH11296211A (en) | 1999-10-29 |
Family
ID=14347098
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP10317298A Pending JPH11296211A (en) | 1998-04-14 | 1998-04-14 | Input/output device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH11296211A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008251052A (en) * | 2008-07-08 | 2008-10-16 | Omron Corp | I/o unit and programmable controller system |
WO2012105277A1 (en) * | 2011-02-04 | 2012-08-09 | 三菱電機株式会社 | Engineering tool and programmable controller |
-
1998
- 1998-04-14 JP JP10317298A patent/JPH11296211A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008251052A (en) * | 2008-07-08 | 2008-10-16 | Omron Corp | I/o unit and programmable controller system |
WO2012105277A1 (en) * | 2011-02-04 | 2012-08-09 | 三菱電機株式会社 | Engineering tool and programmable controller |
CN103339574A (en) * | 2011-02-04 | 2013-10-02 | 三菱电机株式会社 | Engineering tool and programmable controller |
JP5414916B2 (en) * | 2011-02-04 | 2014-02-12 | 三菱電機株式会社 | Engineering tools and programmable controllers |
KR101445997B1 (en) * | 2011-02-04 | 2014-09-29 | 미쓰비시덴키 가부시키가이샤 | Engineering tool and programmable controller |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8989170B2 (en) | Wireless communication system and wireless communication control method, wireless communication device and wireless communication method, and computer program | |
US7702834B2 (en) | Data transmission method serial bus system and switch-on unit for a passive station | |
JPH0624371B2 (en) | Communication control device | |
CN108733604A (en) | A kind of 485 bus intelligent expansion method and devices based on modbus communications protocol | |
EP1850196A1 (en) | Programmable controller with communication unit capable of responding in real time to request of I/O data | |
CN112666905A (en) | Multi-channel communication control system and channel control method | |
CN114285695B (en) | Communication method, device, apparatus, system and storage medium | |
CN105245424A (en) | Interconnection method for PROFIBUS DP and PROFINET communication networks through sharing storage unit | |
JP5308418B2 (en) | Programmable logic controller | |
JPH11296211A (en) | Input/output device | |
WO2021214966A1 (en) | Communication device, communication system, communication method, and program | |
JP4073383B2 (en) | Relay device between scan transmission networks | |
CN104834618A (en) | Multi-equipment scanning method based on RS485 bus communication and power electronic system | |
JPH0730576A (en) | Transmission system | |
CN221784188U (en) | EtherCAT slave communication system | |
JP2001282312A (en) | Display system for PLC and data communication method between PLC and display | |
JP2000299895A (en) | Driver interface system | |
JP3171520B2 (en) | LAN connection device | |
JPH0439684B2 (en) | ||
JP2566350B2 (en) | Data way device | |
JPH09200210A (en) | Address setting method | |
JPH0697948A (en) | Address setting method | |
JPH05327730A (en) | Network connecting device | |
JP2003124952A (en) | Data access control method | |
CN111600907A (en) | Device and method for controlling ASI slave station under industrial Ethernet |