JP5400691B2 - Programmable display monitoring operation method, monitoring operation program, and programmable display - Google Patents

Programmable display monitoring operation method, monitoring operation program, and programmable display Download PDF

Info

Publication number
JP5400691B2
JP5400691B2 JP2010094729A JP2010094729A JP5400691B2 JP 5400691 B2 JP5400691 B2 JP 5400691B2 JP 2010094729 A JP2010094729 A JP 2010094729A JP 2010094729 A JP2010094729 A JP 2010094729A JP 5400691 B2 JP5400691 B2 JP 5400691B2
Authority
JP
Japan
Prior art keywords
plc
station number
programmable display
display
monitoring
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.)
Active
Application number
JP2010094729A
Other languages
Japanese (ja)
Other versions
JP2011227597A (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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2010094729A priority Critical patent/JP5400691B2/en
Publication of JP2011227597A publication Critical patent/JP2011227597A/en
Application granted granted Critical
Publication of JP5400691B2 publication Critical patent/JP5400691B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、上下水プラント機器の監視操作をするプログラマブル表示器の監視操作方法、監視操作プログラムおよびプログラマブル表示器に関する。   The present invention relates to a monitoring operation method, a monitoring operation program, and a programmable display for a programmable display that performs a monitoring operation for water and sewage plant equipment.

プログラマブル表示器は、プログラマブルコントローラ(以下PLCと称す。)などのホストマシンと情報を送受信しており、ホストマシンを監視・制御するのに有用な機器となっている。   The programmable display device transmits / receives information to / from a host machine such as a programmable controller (hereinafter referred to as PLC), and is a useful device for monitoring and controlling the host machine.

プログラマブル表示器がイーサネット(登録商標)伝送路に二重化されたPLCと接続されている場合、プログラマブル表示器からは、稼動系のPLC、待機系のPLCの両方の情報を取得することができる。しかしながら、情報の監視と、機器の操作は、稼動系のPLCのみを対象としなければならない。このため、どちらが稼動しているかを判断し、稼動系のPLCの内部レジスタをプログラマブル表示器内の内部レジスタに転写し、その情報により表示するように構成されている。   When the programmable display is connected to a duplexed PLC on the Ethernet (registered trademark) transmission path, information on both the active PLC and the standby PLC can be acquired from the programmable display. However, information monitoring and device operation must be targeted only for active PLCs. For this reason, it is configured to determine which one is in operation, transfer the internal register of the active PLC to the internal register in the programmable display, and display based on the information.

機器操作も同様に、プログラマブル表示器内の内部レジスタを稼動系のPLCの内部レジスタに転写し機器操作するように構成されている。つまり、プログラマブル表示器内の内部レジスタと稼動系のPLCの内部レジスタが別レジスタであり、レジスタ間の読みかえをする必要がある。読み替えをするために、レジスタ間対応表が使用されている。   Similarly, the device operation is configured such that the internal register in the programmable display is transferred to the internal register of the active PLC and the device is operated. That is, the internal register in the programmable display and the internal register of the active PLC are separate registers, and it is necessary to exchange between the registers. A register correspondence table is used for the replacement.

また、特許文献1のPLC二重化切換装置では、イーサネット伝送路に二重化されたPLCが接続された場合で、一方のPLCが異常になったときでも、他方のPLCと通信可能とする技術が開示されている。   Further, the PLC duplex switching device of Patent Document 1 discloses a technique for enabling communication with the other PLC even when one PLC becomes abnormal when the duplexed PLC is connected to the Ethernet transmission line. ing.

特開2000−56817号公報JP 2000-56817 A

特許文献1では、上位監視装置が、二重化PLCの稼動系(マスタ)のみを監視しそれを1つの装置とみなしデータの送受信ができる。PLC側で稼動系の切換を行い稼動系のみの情報をPLCが送信することを特徴としている。上位監視装置は共有メモリに割りついた稼動系の情報を読むことになり、これは監視装置の内部レジスタの情報になる。また、上位監視装置は待機系(スレーブ)の情報を読むことはない。つまり、上位監視装置は、共有メモリの稼動系の情報エリアを参照するが、そのレジスタ指定はPLC内のレジスタ指定とは異なる。さらに、待機系のPLCの状態については、稼動系のPLCのみを監視の対象としているため、監視できないことになる。   In Patent Document 1, the host monitoring device can monitor only the operating system (master) of the duplexed PLC and regard it as one device, and can transmit and receive data. The PLC is characterized in that the operating system is switched on the PLC side and the PLC transmits information only on the operating system. The host monitoring device reads the information of the active system allocated to the shared memory, and this becomes the information of the internal register of the monitoring device. Further, the host monitoring device does not read information on the standby system (slave). That is, the host monitoring device refers to the information area of the active system of the shared memory, but the register designation is different from the register designation in the PLC. Furthermore, the status of the standby PLC cannot be monitored because only the active PLC is monitored.

イーサネット伝送路では、伝送路上に接続されている機器などを識別するためにIP(Internet Protocol)アドレスが割り振られており、稼動系のPLCも待機系のPLCも同一プログラムがローディングされておりそれぞれ別のIPアドレスが割り振られている。しかし、プログラマブル表示器からは、1つのIPアドレスとして稼動系のPLCのみを認識したほうが都合がよい。しかしながら、前記のIPアドレスの制約上、二重化されたPLCは同一のIPアドレスを使用することは許されない。   In the Ethernet transmission path, an IP (Internet Protocol) address is assigned to identify devices connected on the transmission path, and the same program is loaded in both the active PLC and standby PLC. IP address is assigned. However, it is more convenient to recognize only the active PLC as one IP address from the programmable display. However, duplicated PLCs are not allowed to use the same IP address due to the restriction of the IP address.

プログラマブル表示器がシングルのPLCとの接続の場合、該当のPLCレジスタとプログラマブル表示器の表示箇所が1:1で固定されるため、PLC内部のレジスタを直接プログラマブル表示器の表示用に指定できる。   When the programmable display is connected to a single PLC, the display location of the corresponding PLC register and the programmable display is fixed at 1: 1, so that the register in the PLC can be directly designated for display on the programmable display.

一方、プログラマブル表示器が二重化PLCとの接続の場合、稼動系のPLCの情報のみを表示に使うため、プログラマブル表示器の表示部品のレジスタ指定が、1:1で固定できない。このため、稼動系のPLCの情報のみを監視制御するように切り替えを行い、待機系のPLCについても必要に応じてPLCのステータス状態の監視を可能としている。   On the other hand, when the programmable display is connected to the duplexed PLC, only the information on the active PLC is used for display, so the register designation of the display component of the programmable display cannot be fixed at 1: 1. Therefore, switching is performed so that only the information on the active PLC is monitored and controlled, and the status of the PLC can be monitored as necessary for the standby PLC.

背景技術ですでに説明したように、従来、プログラマブル表示器の内部レジスタに、稼動系のPLCのデータを転写し、そのデータを表示用に使わなければならないため、対シングルPLCと同様にプログラマブル表示器のアプリケーションプログラムを作成することができず、PLC内部レジスタとプログラマブル表示器内部のレジスタ間の読みかえ(レジスタ間対応表)も必要であった。   As already explained in the background art, since the PLC data of the operating system must be transferred to the internal register of the programmable display and used for display, the programmable display is the same as for a single PLC. An application program for the display device could not be created, and it was necessary to replace the register in the PLC and the register in the programmable display (register correspondence table).

このため、複数のPLCで構成された二重化PLCの場合でも、プログラマブル表示器より直接PLC内部のレジスタを表示、操作に使用でき、プログラマブル表示器の内部レジスタを使用せず、対シングルPLCと同様にPLC内部レジスタを直接使用するプログラマブル表示器のアプリケーションプログラムを作成することが望まれていた。   For this reason, even in the case of a duplex PLC composed of a plurality of PLCs, the registers in the PLC can be displayed and operated directly from the programmable display, and the internal registers of the programmable display are not used, just like a single PLC. It has been desired to create an application program for a programmable display that directly uses PLC internal registers.

本発明は、前記の課題を解決するための発明であって、プログラマブル表示器が複数のPLCに接続されている場合において、稼動系のPLCが切り替わったときに稼動系のPLCを監視・操作することができるプログラマブル表示器の監視操作方法、監視操作プログラムおよびプログラマブル表示器を提供することを目的とする。   The present invention is an invention for solving the above-described problems, and monitors and operates an active PLC when the active PLC is switched when a programmable display is connected to a plurality of PLCs. It is an object of the present invention to provide a programmable display monitoring method, a monitoring operation program, and a programmable display.

前記目的を達成するため、本発明のプログラマブル表示器の監視操作方法は、第1のPLC(例えば、A系PLC20A)および第2のPLC(例えば、B系PLC20B)を有する二重化PLCにネットワークを介して接続される、プログラマブル表示器(10)の監視操作方法であって、
プログラマブル表示器は、第1のPLCと関連付けられた第1の局番と、第2のPLCと関連付けられた第2の局番とが局番管理情報(例えば、局番テーブル121)として記憶部に登録されており、
プログラマブル表示器に配置された各表示操作部品の参照先の局番には、稼動系のPLCの情報を監視表示するためまたは稼動系のPLCに操作指令を送信するための設定として第1の局番が設定されており、
プログラマブル表示器は、各PLCから受信した各PLCの稼動または停止のステ−タス情報に基づいて稼動状態を監視し、待機系のPLCが稼動したと判定したとき、各表示操作部品に設定されている参照先の局番を第2の局番に書き替えをし、書き替え後プログラマブル表示器をリセットして監視操作を継続することを特徴とする。
In order to achieve the above object, a monitoring operation method for a programmable display according to the present invention includes a duplex PLC having a first PLC (for example, A system PLC 20A) and a second PLC (for example, B system PLC 20B) via a network. Connected to the programmable display (10),
In the programmable display, the first station number associated with the first PLC and the second station number associated with the second PLC are registered in the storage unit as station number management information (for example, the station number table 121). And
The reference station number of each display operation component arranged on the programmable display has a first station number as a setting for monitoring and displaying information of the active PLC or for transmitting an operation command to the active PLC. Is set,
The programmable display monitors the operating state based on the status information of each PLC operating or stopped received from each PLC, and when it is determined that the standby PLC is operating, it is set to each display operation component. The station number of the reference destination is rewritten to the second station number, and after the rewriting, the programmable display is reset and the monitoring operation is continued.

本発明によれば、プログラマブル表示器が複数のPLCに接続されている場合において、稼動系のPLCが切り替わったときに稼動系のPLCを監視・操作することができる。   According to the present invention, when a programmable display is connected to a plurality of PLCs, the active PLC can be monitored and operated when the active PLC is switched.

プログラマブル表示器と二重化PLCを含む上下水プラント監視制御システムを示す構成図である。It is a block diagram which shows the water and sewage plant monitoring control system containing a programmable display and duplex PLC. プログラマブル表示器および二重化PLCの機能を示すブロック図である。It is a block diagram which shows the function of a programmable display and duplex PLC. 稼動系が切り替わる時(スイッチオーバー時)の動作を示す説明図である。It is explanatory drawing which shows operation | movement at the time of an active system switching (at the time of switchover). 比較例である、稼動系のPLCを監視制御するための内部レジスタの説明とその処理方法を示す説明図である。It is explanatory drawing which shows the description of the internal register | resistor for monitoring and controlling the active system PLC which is a comparative example, and its processing method. 本実施形態の稼動系のPLCを監視制御するためのPLCの内部レジスタの定義方法とその処理方法を示す説明図である。It is explanatory drawing which shows the definition method of the internal register | resistor of PLC for monitoring and controlling the active system PLC of this embodiment, and its processing method. 参照先局番切替処理を示すフローチャートである。It is a flowchart which shows a reference destination station number switching process. 二重化PLCの稼動/待機の状態の組み合わせとそのときの参照先局番の関係を示す説明図である。It is explanatory drawing which shows the relationship between the combination of the operation | movement / stand-by state of duplexed PLC, and the reference destination station number at that time. プログラマブル表示器および三重化PLCの機能を示すブロック図である。It is a block diagram which shows the function of a programmable display and a triple PLC. 三重化PLCの状態の組み合わせとそのときの参照先局番の関係を示す説明図である。It is explanatory drawing which shows the relationship between the combination of the state of triple PLC, and the reference station number at that time. 三重化PLCの場合の参照先局番切替処理を示すフローチャートである。It is a flowchart which shows the reference destination station number switching process in the case of triple PLC.

以下、本発明の実施形態について図面を参照して詳細に説明する。プログラマブル表示器のアプリケーションプログラム作成の際に、プログラマブル表示器とシングルPLC(図示せず)のイーサネット接続の場合、1:1接続のため、直接PLCの内部レジスタを指定しており、プログラマブル表示器内の内部レジスタを使用する必要がない。本実施形態では、プログラマブル表示器と複数のPLCで構成される二重化PLCのイーサネット接続の場合においても、直接PLCの内部レジスタを指定することができる方法について、図1および図2を参照して説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. When creating an application program for a programmable display, in the case of Ethernet connection of a programmable display and a single PLC (not shown), the PLC internal register is directly specified for 1: 1 connection, and the programmable display There is no need to use internal registers. In the present embodiment, a method capable of directly designating an internal register of a PLC will be described with reference to FIG. 1 and FIG. 2 even in the case of Ethernet connection of a duplex PLC composed of a programmable display and a plurality of PLCs. To do.

<実施形態1>
図1は、プログラマブル表示器と二重化PLCを含む上下水プラント監視制御システムを示す構成図である。上下水プラント監視制御システムは、プログラマブル表示器10、二重化PLC20、入出力装置(I/O)4、上下水プラント5から構成されており、上下水プラント監視制御システムの管理者は、プログラマブル表示器10を用いて、上下水プラント5の情報について入出力装置4、二重化PLC20を介して監視・操作(制御)することができる。
<Embodiment 1>
FIG. 1 is a configuration diagram illustrating a water and sewage plant monitoring and control system including a programmable display and a duplexed PLC. The water and sewage plant monitoring and control system is composed of a programmable display 10, a duplexed PLC 20, an input / output device (I / O) 4 and a water and sewage plant 5. An administrator of the water and sewage plant monitoring and control system is a programmable display. 10, information on the water and sewage plant 5 can be monitored and operated (controlled) via the input / output device 4 and the duplex PLC 20.

プログラマブル表示器10は、監視・操作するための表示・操作部14を有し、イーサネットI/F(インターフェイス)15を介して、イーサネットN1(イーサネットのネットワーク)に接続されている。   The programmable display 10 has a display / operation unit 14 for monitoring and operating, and is connected to an Ethernet N1 (Ethernet network) via an Ethernet I / F (interface) 15.

二重化PLC20は、A系PLC20A(第1のPLC)と、B系PLC20B(第2のPLC)とから構成されている。A系PLC20Aは、プロセッサ21A、イーサネットI/F25A、二重化I/F26Aを有する。また、B系PLC20Bは、プロセッサ21B、イーサネットI/F25B、二重化I/F26Bを有する。   The duplex PLC 20 is composed of an A-system PLC 20A (first PLC) and a B-system PLC 20B (second PLC). The A-system PLC 20A includes a processor 21A, an Ethernet I / F 25A, and a duplex I / F 26A. Further, the B-system PLC 20B includes a processor 21B, an Ethernet I / F 25B, and a duplex I / F 26B.

A系PLC20Aは、イーサネットI/F25Aを介してイーサネットN1に接続されており、二重化I/F26Aを介して、FLネットN3(FLネットのネットワーク)に接続されている。B系PLC20Bは、イーサネットI/F25Bを介してイーサネットN1に接続されており、二重化I/F26Bを介して、FLネットN3に接続されている。なお、FLネットとは、FA(Factory Automation)用制御ネットワークであり、伝送プロトコルとしてUDP(User Datagram Protocol)/IPおよびFAリンクプロトコルが使用される。   The A-system PLC 20A is connected to the Ethernet N1 via the Ethernet I / F 25A, and is connected to the FL net N3 (FL net network) via the duplexed I / F 26A. The B system PLC 20B is connected to the Ethernet N1 via the Ethernet I / F 25B, and is connected to the FL net N3 via the duplexed I / F 26B. The FL net is a FA (Factory Automation) control network, and uses UDP (User Datagram Protocol) / IP and FA link protocols as transmission protocols.

ここで、A系PLC20Aとは、両PLCが正常な場合、稼動系のPLCとなるものをいう。一方、B系PLC20Bとは、両PLCが正常な場合、待機系のPLCとなり、A系PLC20Aが異常になると、稼動系のPLCなるものをいう。但し、この逆の運用も可能なものとする。   Here, the A-system PLC 20A is an active PLC when both PLCs are normal. On the other hand, the B-system PLC 20B is a standby PLC when both PLCs are normal, and an active PLC when the A-system PLC 20A becomes abnormal. However, the reverse operation is also possible.

図2は、プログラマブル表示器および二重化PLCの機能を示すブロック図である。本実施形態の特徴であるプログラマブル表示器のプログラムを作成する際のPLCの内部レジスタの指定方法の概要についても説明する。   FIG. 2 is a block diagram illustrating functions of the programmable display and the duplexed PLC. An outline of a method for specifying an internal register of the PLC when creating a program for a programmable display, which is a feature of the present embodiment, will also be described.

プログラマブル表示器10のプロセッサ11は、プログラマブル表示器10のアプリケーションプログラム12および内部レジスタ13を有している。アプリケーションプログラム12は、後記する稼動系のPLC、待機系のPLCを識別するための局番とIPアドレスを関連付けした局番テーブル121(局番管理情報)(図5参照)、プログラマブル表示器10の参照先である参照先局番切替処理をする参照先局番切替処理部122(図6参照)を有している。なお、局番の詳細については後記する。また、局番テーブル121は、プロセッサ11内に記憶しているが、図示しないメモリ(記憶部)に記憶しておき、必要に応じてプロセッサ11にロードしてもよい。   The processor 11 of the programmable display 10 has an application program 12 of the programmable display 10 and an internal register 13. The application program 12 is a station number table 121 (station number management information) (see FIG. 5) in which station numbers and IP addresses for identifying active PLCs and standby PLCs to be described later are associated with each other. A reference destination station number switching processing unit 122 (see FIG. 6) that performs a certain reference destination station number switching process is provided. Details of the station number will be described later. The station number table 121 is stored in the processor 11, but may be stored in a memory (storage unit) (not shown) and loaded into the processor 11 as necessary.

A系PLC20Aのプロセッサ21Aは、アプリケーションプログラム22Aおよび内部レジスタ23Aを有している。同様に、B系PLC20Bのプロセッサ21Bは、アプリケーションプログラム22Bおよび内部レジスタ23Bを有している。   The processor 21A of the A-system PLC 20A has an application program 22A and an internal register 23A. Similarly, the processor 21B of the B-system PLC 20B has an application program 22B and an internal register 23B.

ここで作成するプログラマブル表示器10のアプリケーションプログラム12、PLC用のアプリケーションプログラム22A,22Bは、パソコン(パーソナルコンピュータ)30のプロセッサ31により実行されるプログラミングツール32を使用して作成し、イーサネットN1経由でローディングされる。なお、アプリケーションプログラム12、PLC用のアプリケーションプログラム22A,22Bは、プログラマブル表示器10および各PLCのメモリ(図示せず)に記憶し、必要に応じてロードして、プロセッサ11,21A,22Bで実行してもよいことは言うまでもない。   The application program 12 of the programmable display 10 and the application programs 22A and 22B for the PLC created here are created by using a programming tool 32 executed by a processor 31 of a personal computer (personal computer) 30, and via the Ethernet N1. Loaded. The application program 12 and the PLC application programs 22A and 22B are stored in the programmable display 10 and the memory (not shown) of each PLC, loaded as necessary, and executed by the processors 11, 21A and 22B. Needless to say.

図2において、A系PLC20A、B系PLC20B、プログラマブル表示器10には、それぞれを識別するためのIPアドレスが割り付けられている。A系PLC20AのIPアドレスを「0」(通常IPアドレスは、ドット付き十進表記で表記されるが、図中では、IPアドレス0と表記している。)とし、B系PLC20BのIPアドレスを「1」とし、プログラマブル表示器10のIPアドレスを「2」とし、イーサネットN1のネットワークを構成する。またPLCの内部データの一致化を行うために、FLネットN3を介して、稼動系のPLCから待機系のPLCへ内部データを転送している。   In FIG. 2, an IP address for identifying each of the A system PLC 20A, the B system PLC 20B, and the programmable display 10 is assigned. The IP address of the A system PLC 20A is “0” (normal IP address is expressed in dotted decimal notation, but in the figure, it is expressed as IP address 0), and the IP address of the B system PLC 20B is “1” is set, the IP address of the programmable display 10 is set to “2”, and the network of the Ethernet N1 is configured. In order to make the internal data of the PLC consistent, the internal data is transferred from the active PLC to the standby PLC via the FL net N3.

また、プログラマブル表示器10の局番テーブル121において、A系PLC20Aは局番0(第1の局番)と関連づけられており、B系PLC20Bは局番1(第2の局番)と関連づけられている。また、プログラマブル表示器10は局番2と関連づけられている。   In the station number table 121 of the programmable display 10, the A system PLC 20A is associated with the station number 0 (first station number), and the B system PLC 20B is associated with the station number 1 (second station number). The programmable display 10 is associated with station number 2.

本実施形態では、プログラマブル表示器10のアプリケーションプログラム12を作成する際、表示・操作部14に使用する表示部品、操作部品、設定部品には、プログラマブル表示器10の内部レジスタ13でなく、例えば、A系PLC20A、つまり局番0のPLCの内部レジスタ23Aを直接指定することができる。   In this embodiment, when creating the application program 12 of the programmable display 10, the display component, operation component, and setting component used for the display / operation unit 14 are not the internal register 13 of the programmable display 10, for example, The internal register 23A of the A-system PLC 20A, that is, the PLC with the station number 0 can be directly designated.

すなわち、二重化PLC20を1台のプログラマブル表示器10で監視、操作(制御)する場合、プログラマブル表示器10のアプリケーションプログラム12のマクロ処理でどちらのPLCが稼動系か判断し、その情報を表示・操作部14で使用するが、このアプリケーションプログラム12を作成する際に、プログラマブル表示器10の内部レジスタ13の参照でなくPLCの内部レジスタ23Aまたは内部レジスタ23Bを参照するようにする。   That is, when the duplexed PLC 20 is monitored and operated (controlled) by a single programmable display 10, it is determined which PLC is active by the macro processing of the application program 12 of the programmable display 10, and the information is displayed and operated. Although used in the unit 14, when the application program 12 is created, the internal register 23A or the internal register 23B of the PLC is referred to instead of referring to the internal register 13 of the programmable display 10.

内部レジスタの指定方法の例について図1を参照して説明する。符号40には、プログラマブル表示器10の内部レジスタ13の例が示されている。一方、符号41には、A系PLC20Aの内部レジスタ23AおよびB系PLC20Bの内部レジスタ23Bの例が示されている。部品への監視、操作用レジスタの設定には、符号42に示すように、従来はプログラマブル表示器10の内部レジスタ13を参照していた。これに対し、本実施形態では、符号43に示すように、A系PLC20Aの内部レジスタ23AおよびB系PLC20Bの内部レジスタ23Bを直接参照できるようにしている。A系PLC20Aの内部レジスタ23AおよびB系PLC20Bの内部レジスタ23Bの識別は、局番によってなされる。   An example of an internal register designation method will be described with reference to FIG. Reference numeral 40 indicates an example of the internal register 13 of the programmable display 10. On the other hand, reference numeral 41 shows an example of the internal register 23A of the A-system PLC 20A and the internal register 23B of the B-system PLC 20B. Conventionally, the internal register 13 of the programmable display device 10 has been referred to for monitoring the parts and setting the operation registers as indicated by reference numeral 42. On the other hand, in this embodiment, as indicated by reference numeral 43, the internal register 23A of the A system PLC 20A and the internal register 23B of the B system PLC 20B can be directly referred to. The internal register 23A of the A system PLC 20A and the internal register 23B of the B system PLC 20B are identified by the station number.

本実施形態では、稼動系であるA系PLC20Aが異常になると、待機系のB系PLC20Bが稼動系となるため、プログラマブル表示器10のアプリケーションプログラム12のマクロ処理で、全ての、表示・操作部14の表示部品、操作部品、設定部品のリンク先をB系PLC20Bに切り替える。切り替え方法は、前記で示した局番0(イーサネットI/F25Aが記憶)でPLCの内部レジスタを直接指定していたものを、全て局番1(イーサネットI/F25B)に書き替えることができる。   In this embodiment, when the A-system PLC 20A that is the active system becomes abnormal, the standby B-system PLC 20B becomes the active system, and therefore, all display / operation units are executed by the macro processing of the application program 12 of the programmable display 10. The link destination of 14 display components, operation components, and setting components is switched to the B-type PLC 20B. As the switching method, all the PLC internal registers directly designated by the station number 0 (stored in the Ethernet I / F 25A) can be rewritten to the station number 1 (Ethernet I / F 25B).

図3は、稼動系が切り替わる時(スイッチオーバー時)の動作を示す説明図である。A系PLC20Aが稼動系のとき故障するとB系PLC20Bに稼動系がスイッチオーバする。プログラマブル表示器10は、A系PLC20Aが稼動系であったため、A系PLC20Aを監視制御していたが、稼動系がB系PLC20Bにスイッチオーバしたことを判断し監視制御対象を、B系PLC20Bに切り替える。このスイッチオーバの際のプログラマブル表示器10の内部処理(マクロ処理)の内容を、図4(比較例)および図5(本実施形態)を参照して説明する。   FIG. 3 is an explanatory diagram showing an operation when the operating system is switched (at the time of switchover). If the A-system PLC 20A is in the active system and fails, the active system switches over to the B-system PLC 20B. The programmable display 10 monitors and controls the A system PLC 20A because the A system PLC 20A is the active system, but determines that the operating system has switched over to the B system PLC 20B, and changes the monitoring control target to the B system PLC 20B. Switch. The contents of the internal processing (macro processing) of the programmable display 10 at the time of this switchover will be described with reference to FIG. 4 (comparative example) and FIG. 5 (this embodiment).

図4は、比較例である、稼動系のPLCを監視制御するための内部レジスタの説明とその処理方法を示す説明図である。図2を適宜参照する。比較例の場合、稼動系のPLCの内部レジスタ(内部レジスタ23Aもしくは内部レジスタ23B)を判断し、プログラマブル表示器10のアプリケーションプログラム12のマクロ処理を使用し、稼動系のPLCの内部レジスタとプログラマブル表示器10の内部レジスタ13との間でデータの転写処理を行い、監視制御を実現していた。このため、アプリケーションプログラム12の作成者は、PLCの内部レジスタ23A,23Bとプログラマブル表示器10の内部レジスタ13との間の対応表13Rを作成し、レジスタの割付を意識する必要があった。   FIG. 4 is an explanatory diagram illustrating an internal register for monitoring and controlling an active PLC, and a processing method thereof, as a comparative example. Please refer to FIG. 2 as appropriate. In the case of the comparative example, the internal register of the active PLC (internal register 23A or internal register 23B) is determined, and the macro processing of the application program 12 of the programmable display 10 is used, and the internal registers and programmable display of the active PLC are used. Data transfer processing is performed with the internal register 13 of the container 10 to realize monitoring control. For this reason, the creator of the application program 12 needs to create the correspondence table 13R between the internal registers 23A and 23B of the PLC and the internal register 13 of the programmable display 10 and be aware of the register allocation.

図5は、本実施形態の稼動系のPLCを監視制御するためのPLCの内部レジスタの定義方法とその処理方法を示す説明図である。本実施形態では、局番テーブル121において、A系PLC20Aを局番0、B系PLC20Bを局番1、プログラマブル表示器10を局番2として定義し、アプリケーションプログラム12を作成する。プログラマブル表示器10のアプリケーションプログラム12のマクロ処理において、PLCの稼動状況を判断し、参照先局番切替処理(図6参照、具体的には、局番0→1、局番1→0)を行う。   FIG. 5 is an explanatory diagram showing a method of defining an internal register of the PLC for monitoring and controlling the active PLC according to the present embodiment and a processing method thereof. In the present embodiment, in the station number table 121, the A system PLC 20A is defined as the station number 0, the B system PLC 20B is defined as the station number 1, and the programmable display 10 is defined as the station number 2, and the application program 12 is created. In the macro process of the application program 12 of the programmable display 10, the operation status of the PLC is determined, and the reference destination station number switching process (see FIG. 6, specifically, the station number 0 → 1, the station number 1 → 0) is performed.

本実施形態では、アプリケーションプログラム12のマクロ処理は、稼動系のPLCの状態を監視制御している。また、プログラマブル表示器10の表示操作部品毎にPLCの内部レジスタ23A,23Bの情報(符号80A1、符号80A2または符号80B1、符号80B2参照)を直接設定することが可能である。プログラマブル表示器10が対二重化PLC接続において、対シングルPLC接続と同様に、プログラマブル表示器10のアプリケーションプログラム12を作成することができる。また、このことにより、レジスタの対応表13Rも不要となりアプリケーションプログラム作成者の負担を減らすこともできる。さらに、プログラマブル表示器10のアプリケーションプログラム12の作成段階で稼動系と逆の局番を参照する(符号83、符号84)ことで待機系のPLCのレジスタ情報も監視可能とした。   In this embodiment, the macro process of the application program 12 monitors and controls the state of the active PLC. Further, it is possible to directly set information (refer to reference numerals 80A1, 80A2 or 80B1, reference numeral 80B2) of the PLC internal registers 23A and 23B for each display operation component of the programmable display 10. When the programmable display 10 is connected to the duplex PLC connection, the application program 12 of the programmable display 10 can be created in the same manner as the connection to the single PLC connection. This also eliminates the need for the register correspondence table 13R, thereby reducing the burden on the application program creator. Further, by referring to the station number opposite to the active system at the stage of creating the application program 12 of the programmable display 10 (reference numerals 83 and 84), it is possible to monitor the register information of the standby PLC.

次に、参照先局番切替処理について説明する。
図6は、参照先局番切替処理を示すフローチャートである。図6(a)は、プログラマブル表示器10のアプリケーションプログラム12のローディング後のイニシャル処理S1を示し、図6(b)は、所定時間毎(例えば、1秒周期)の定周期処理を示す。なお、本実施形態では、アプリケーションプログラム12のローディング直後は、プログラマブル表示器10に配置された各表示操作部品の参照先局番を0(A系PLCが稼動系)として説明する。
Next, reference destination station number switching processing will be described.
FIG. 6 is a flowchart showing the reference station number switching process. FIG. 6A shows the initial process S1 after loading of the application program 12 of the programmable display 10, and FIG. 6B shows a fixed period process for every predetermined time (for example, 1 second period). In the present embodiment, immediately after loading of the application program 12, the reference destination station number of each display operation component arranged in the programmable display 10 is assumed to be 0 (A PLC is an active system).

プロセッサ11は、図6(a)に示すイニシャル処理S1を実行すると(ステップS11)、イニシャル値として現状の局番をワークデータに設定し(ステップS12)、処理を終了する。具体的には、稼動系のPLCであるA系PLC20Aの局番0がワークW1に設定され、待機系のPLCであるB系PLC20Bの局番1がワークW2に設定される。なお、ワークには、内部レジスタ13の一時記憶領域を使用するとよい。   When executing the initial process S1 shown in FIG. 6A (step S11), the processor 11 sets the current station number as the initial value in the work data (step S12), and ends the process. Specifically, the station number 0 of the A system PLC 20A, which is the active PLC, is set as the work W1, and the station number 1 of the B system PLC 20B, which is the standby PLC, is set as the work W2. For the work, a temporary storage area of the internal register 13 may be used.

プロセッサ11は、図6(b)に示す定周期処理を開始すると(ステップS21)、例えば1秒周期毎にステップS22からステップS27の処理をする。プロセッサ11は、A系PLC20AのRUN(稼動)またはSTOP(停止)のステ−タス情報をワークW11へ設定し(ステップS22)、B系PLC20BのRUNまたはSTOPのステ−タス情報をワークW12へ設定する(ステップS23)。そして、プロセッサ11は、ワークW11,W12より「待機系のPLCが稼動したか?」の条件を判定し(ステップS24)、待機系のPLCが稼動したと判定した場合(ステップS24,Yes)、ワークW1とワークW2の値の入替えを実施する(ステップS25)。   When the processor 11 starts the periodic processing shown in FIG. 6B (step S21), the processor 11 performs processing from step S22 to step S27, for example, every one second cycle. The processor 11 sets the RUN (operation) or STOP (stop) status information of the A-system PLC 20A in the work W11 (step S22), and sets the RUN or STOP status information of the B-system PLC 20B in the work W12. (Step S23). Then, the processor 11 determines the condition “whether the standby PLC has been operated” from the workpieces W11 and W12 (step S24), and determines that the standby PLC has been operated (step S24, Yes). The values of the workpiece W1 and the workpiece W2 are exchanged (step S25).

プロセッサ11は、プログラマブル表示器81の表示操作部品毎の参照先の局番について切り替え処理を実行する(ステップS26)。具体的には、プログラマブル表示器81の表示操作部品毎の参照先の局番をワークW1の値として切り替え(書き替え)する。そして、プログラマブル表示器10の表示・操作部14の画面にリセットを実行し(ステップS27)、処理を終了する。プロセッサ11は、ステップS27において、プログラマブル表示器10のリセット要求があると、図6(a)に示すイニシャル処理S1を実行し(ステップS11)、現在の局番をワークデータに設定する(ステップS12)。具体的には、稼動系PLCの局番1がワークW1に、待機系PLCの局番0がワークW2に設定される。   The processor 11 executes a switching process for the reference station number for each display operation component of the programmable display 81 (step S26). Specifically, the station number of the reference destination for each display operation component of the programmable display 81 is switched (rewritten) as the value of the work W1. And reset is performed to the screen of the display and operation part 14 of the programmable display 10 (step S27), and a process is complete | finished. When there is a reset request for the programmable display 10 in step S27, the processor 11 executes the initial process S1 shown in FIG. 6A (step S11), and sets the current station number as work data (step S12). . Specifically, the station number 1 of the active PLC is set to the work W1, and the station number 0 of the standby PLC is set to the work W2.

ステップS24において、待機系のPLCが稼動したと判定しない場合(ステップS24,No)、処理を終了する。   If it is not determined in step S24 that the standby PLC has been activated (No in step S24), the process ends.

なお、イニシャル処理S1において、局番を読み込みワークデータに設定する処理を行うことにより、定周期処理では局番を毎回読み出す必要がないので、プロセッサ11の処理負担を軽減する方法を採用している。   In the initial process S1, the station number is read and set in the work data, so that it is not necessary to read the station number every time in the regular cycle process, so a method of reducing the processing load on the processor 11 is adopted.

本実施形態では、プログラマブル表示器81の表示操作部品毎の参照先の局番を入れ替えることで常に稼動系のPLCの局番を参照するようになる。さらに、ここで逆の局番を参照すれば、それが待機系のPLCということになる。   In the present embodiment, the station number of the active PLC is always referred to by replacing the station number of the reference destination for each display operation component of the programmable display 81. Furthermore, if the opposite station number is referred to here, it is the standby PLC.

図7は、二重化PLCの稼動/待機の状態の組み合わせとそのときの参照先局番の関係を示す説明図である。A系PLC20Aの稼動/待機の状態とB系PLC20Bの稼動/待機の状態により、4つの組合せがある。図6に示した参照先局番切替処理は、ハードウェア回路上、稼動系は必ず一方のみでありA系PLC20A、B系PLC20Bが同時に稼動系(符号71参照)となることは無いため、本参照先局番切替処理が成立する。通常は一方が稼動系でもう一方が待機系(符号72もしくは符号73参照)の状態であり、符号72の場合、参照先局番は1であり、符号73の場合、参照先局番は0となる。両系が故障などで、両系待機系の場合(符号74参照)は、局番の書き替えは行われず、前回値保持となる。なお、待機の状態には、故障の状態も含んでいる。   FIG. 7 is an explanatory diagram showing the relationship between the combination of operating / standby states of the duplexed PLC and the reference station number at that time. There are four combinations depending on the operating / standby state of the A system PLC 20A and the operating / standby state of the B system PLC 20B. The reference destination station number switching process shown in FIG. 6 is based on the hardware circuit, so that only one of the operating systems is necessarily used, and the A system PLC 20A and the B system PLC 20B are not simultaneously operating systems (see reference numeral 71). The destination station number switching process is established. Normally, one is an active system and the other is a standby system (see reference numeral 72 or 73). In the case of reference numeral 72, the reference station number is 1, and in the case of reference numeral 73, the reference station number is 0. . If both systems are out of order and both systems are standby systems (see reference numeral 74), the station number is not rewritten and the previous value is held. Note that the standby state includes a failure state.

以上述べたように、本実施形態によれば、二重化されたPLCをプログラマブル表示器10で監視制御するアプリケーションプログラム12を作成する場合、稼動系のPLCを自動的に判断し局番を利用しこの局番の参照先を切り換えることで常に稼動系のPLCの監視制御が行えるようになる。また、局番を利用したことでPLCの内部レジスタ(例えば、内部レジスタ23A,23B)をプログラマブル表示器10で直接設定することができるようになる。つまり、シングルPLCと接続し監視制御する場合と同様のアプリケーションプログラムの作成方法でよいこととなり、プログラムの作成者はシングルPLCであるか、二重化されたPLCであるか意識することなくアプリケーションプログラムを作成することができるという利点がある。さらに、待機系のPLCの状態監視も稼動系と逆の局番を指定すれば良いこととなり、稼動系のPLC経由でなく、待機系のPLCを直接的にプログラマブル表示器10で状態監視を行うことができる。   As described above, according to the present embodiment, when the application program 12 for monitoring and controlling a duplicated PLC with the programmable display 10 is created, the active PLC is automatically determined and the station number is used. By switching the reference destination, it becomes possible to always monitor and control the active PLC. Further, by using the station number, the PLC internal registers (for example, the internal registers 23A and 23B) can be set directly on the programmable display 10. In other words, the application program creation method is the same as that for monitoring and controlling by connecting to a single PLC, and the program creator creates an application program without being aware of whether it is a single PLC or a duplexed PLC. There is an advantage that you can. Furthermore, it is only necessary to specify a station number opposite to that of the active system for the status monitoring of the standby PLC, and the status of the standby PLC is directly monitored by the programmable display 10 instead of via the active PLC. Can do.

具体的には、本実施形態の二重化PLC20は、A系PLC20A、B系PLC20Bで構成され、各PLCには稼動系のPLC局番0、待機系のPLCの局番1を設定する。稼動系のPLCのみの情報を監視表示し、また稼動系のPLCのみに制御指令を送信するために、プログラマブル表示器10の各々の表示操作部品に稼動系のPLCである参照先の局番0を設定する。プログラマブル表示器10は、各PLCのRUN(稼動)、STOP(停止)のステ−タス情報を所定周期で監視を行う。B系PLC20Bが待機系から稼動系に切り替わったときに、プログラマブル表示器10が稼動系のPLCが切り替わったと判断し、参照先の局番を書き替え(0→1)、稼動系のみの監視操作を続行する。これにより、上下水プラント監視操作用のプログラマブル表示器10と二重化PLC20のイーサネット接続において、対シングルPLC接続と同等のプログラマブル表示器のアプリケーションプログラムを使用し、自動的に稼動系のPLCの情報を表示、操作可能とすることができる。   Specifically, the duplexed PLC 20 of this embodiment includes an A-system PLC 20A and a B-system PLC 20B, and an active PLC station number 0 and a standby PLC station number 1 are set in each PLC. In order to monitor and display information only for the active PLC and to send a control command only to the active PLC, the reference station number 0, which is the active PLC, is set to each display operation component of the programmable display 10. Set. The programmable display 10 monitors RUN (operation) and STOP (stop) status information of each PLC at a predetermined cycle. When the B-system PLC 20B is switched from the standby system to the active system, the programmable display 10 determines that the active PLC has been switched, rewrites the reference station number (0 → 1), and performs the monitoring operation only for the active system. continue. As a result, in the Ethernet connection of the programmable display 10 for monitoring operation of the water and sewage plant and the duplex PLC 20, the application program of the programmable display equivalent to that for the single PLC connection is used to automatically display the information of the operating PLC. , Can be operable.

<実施形態2>
実施形態1においてプログラマブル表示器10を二重化PLCに適用した場合について説明したが、これに限定されるものではない。実施形態2において、プログラマブル表示器10を三重化PLCに適用した場合について説明する。
<Embodiment 2>
Although the case where the programmable display device 10 is applied to the duplex PLC has been described in the first embodiment, the present invention is not limited to this. In the second embodiment, a case where the programmable display 10 is applied to a triple PLC will be described.

図8は、プログラマブル表示器および三重化PLCの機能を示すブロック図である。3重化PLCは、A系PLC20A(PLC1)、B系PLC20B(PLC2)、C系PLC20C(PLC3)から構成されている。図8において、図2に記載の同一構成品については同一番号を付しており、説明は省略する。図8を参照して、上下水プラント監視制御システムとして現実的である3台のPLCの同時RUN方式で3台のデータ一致化を行わないシステムを考え、参照する優先順位をPLC1、PLC2、PLC3とする。   FIG. 8 is a block diagram showing the functions of the programmable display and the triple PLC. The triple PLC is composed of an A system PLC 20A (PLC 1), a B system PLC 20B (PLC 2), and a C system PLC 20C (PLC 3). In FIG. 8, the same components as those shown in FIG. Referring to FIG. 8, a system that does not perform data matching of three units in the simultaneous RUN system of three PLCs, which is practical as a water and sewage plant monitoring control system, considers the priority order to be referred to as PLC1, PLC2, PLC3. And

このとき、PLC1が正常にRUN(稼動)していれば、PLC1を参照、PLC1が故障で、PLC2が正常RUNであればPLC2を参照、同様に、PLC2も故障であれば、PLC3の正常RUNを判断しPLC3を参照する(組み合わせは図9参照)というように、切換えを行い、冗長性を確保するシステムを考えたときにも、実施形態1で示した参照先局番処理は有効である。   At this time, if PLC 1 is normally RUN (operating), refer to PLC 1, if PLC 1 is faulty and PLC 2 is normal RUN, refer to PLC 2. Similarly, if PLC 2 is also faulty, normal RUN of PLC 3 The reference destination station number processing shown in the first embodiment is also effective when considering a system that performs switching and ensures redundancy, such as referring to the PLC 3 (see FIG. 9 for the combination).

図9は、三重化PLCの状態の組み合わせとそのときの参照先局番の関係を示す説明図である。PLC1が正常にRUNの場合、参照先局番は0であり、PLC1が故障し、かつPLC2が正常にRUNの場合、参照先局番は1である。PLC1およびPLC2が故障し、PLC3が正常にRUNの場合、参照先局番は2である。なお、PLC1、PLC2およびPLC3ともに故障の場合、参照先局番は、前回値を保持する設定となる。   FIG. 9 is an explanatory diagram showing the relationship between the combination of states of the triple PLC and the reference station number at that time. When the PLC 1 is normally RUN, the reference destination station number is 0. When the PLC 1 is faulty and the PLC 2 is normally RUN, the reference destination station number is 1. When PLC1 and PLC2 fail and PLC3 is normally RUN, the reference station number is 2. If all of PLC1, PLC2, and PLC3 are faulty, the reference station number is set to hold the previous value.

図10は、三重化PLCの場合の参照先局番切替処理を示すフローチャートである。図10(a)は、プログラマブル表示器10のアプリケーションプログラム12のローディング後のイニシャル処理S2を示し、図10(b)は、局番0のPLCが故障した場合の故障処理を示す。なお、アプリケーションプログラム12をローディング直後は、参照先局番は0(PLC1に対応)として説明する。   FIG. 10 is a flowchart showing reference destination station number switching processing in the case of triple PLC. FIG. 10A shows the initial process S2 after loading of the application program 12 of the programmable display 10, and FIG. 10B shows the failure process when the PLC with station number 0 fails. Note that, immediately after loading the application program 12, the reference station number is assumed to be 0 (corresponding to PLC1).

プロセッサ11は、図10(a)に示すイニシャル処理S2を実行すると(ステップS41)、イニシャル値として各PLCに局番を設定し(ステップS42)、処理を終了する。具体的には、PLC1の局番を0に設定され、PLC2の局番が1に設定され、PLC3の局番が2に設定される。   When executing the initial process S2 shown in FIG. 10A (step S41), the processor 11 sets a station number for each PLC as an initial value (step S42), and ends the process. Specifically, the station number of PLC1 is set to 0, the station number of PLC2 is set to 1, and the station number of PLC3 is set to 2.

プロセッサ11は、局番0のPLCが故障であると判定すると図10(b)に示す故障処理を開始する(ステップS51)。プロセッサ11は、局番1(優先度が2番)のPLCがRUNであるか否かを判定し(ステップS52)、RUNである場合(ステップS52、Yes)、局番0と局番1を入換え(ステップS57)、局番書替処理を実行し(ステップS55)、最後にプログラマブル表示器10のリセットを実行し(ステップS56)、処理を終了する。   If the processor 11 determines that the PLC with the station number 0 is faulty, it starts the fault processing shown in FIG. 10B (step S51). The processor 11 determines whether or not the PLC of the station number 1 (priority number 2) is RUN (step S52). If the PLC is RUN (step S52, Yes), the station number 0 and the station number 1 are exchanged (step S52). Step S57), the station number rewriting process is executed (step S55), and finally the programmable display 10 is reset (step S56), and the process ends.

ステップS52において、プロセッサ11は、局番1のPLCがRUNでない場合(ステップS52,No)、局番2(優先順位が3番)のPLCがRUNであるか否かを判定し(ステップS53)、RUNである場合(ステップS53、Yes)、局番0と局番2を入替え(ステップS54)、ステップS55に進む。ステップS53において、局番2(優先順位が3番)のPLCがRUNでない場合(ステップS53、No)、処理を終了する。   In step S52, when the PLC of the station number 1 is not RUN (No in step S52), the processor 11 determines whether or not the PLC of the station number 2 (priority order is 3) is RUN (step S53). (Yes in step S53), station number 0 and station number 2 are interchanged (step S54), and the process proceeds to step S55. In step S53, when the PLC of the station number 2 (priority order is 3) is not RUN (step S53, No), the process is terminated.

実施形態2においては、局番書替処理の適用はPLCの故障時を想定しているが、オペレータ判断による手動切り換え時にも本局番書替処理は有効である。   In the second embodiment, it is assumed that the station number rewriting process is applied when the PLC fails. However, the station number rewriting process is effective even when the operator performs manual switching.

本実施形態では、上下水プラント制御システムとして説明したが、これに限定されるものではない。プログラマブル表示器と二重化PLCまたは三重化PLCを含む構成である制御システムであれば、搬送系制御システムなど各種制御システムに適用できる。   Although this embodiment demonstrated as a water-sewage-plant control system, it is not limited to this. Any control system including a programmable display and a duplex PLC or triple PLC can be applied to various control systems such as a transport system control system.

4 入出力装置(I/O)
5 上下水プラント
10 プログラマブル表示器
11 プロセッサ
12 アプリケーションプログラム(マクロ処理)
13 内部レジスタ
14 表示・操作部
15 イーサネットI/F
20 二重化PLC
20A A系PLC(第1のPLC)
20B B系PLC(第2のPLC)
21A,21B プロセッサ
22A,22B アプリケーションプログラム(ラダー)
23A,23B 内部レジスタ
25A,25B イーサネットI/F
26A,26B 二重化I/F
121 局番テーブル(局番管理情報)
122 参照先局番書替処理部
N1 イーサネット(イーサネットのネットワーク)
N3 FLネット(FLネットのネットワーク)
4 Input / output devices (I / O)
5 Water and Sewage Plant 10 Programmable Display 11 Processor 12 Application Program (Macro Processing)
13 Internal Register 14 Display / Operation Unit 15 Ethernet I / F
20 Duplex PLC
20A A-system PLC (first PLC)
20B B PLC (second PLC)
21A, 21B Processor 22A, 22B Application program (ladder)
23A, 23B Internal register 25A, 25B Ethernet I / F
26A, 26B Duplex I / F
121 Station number table (Station number management information)
122 Reference station number rewriting processing part N1 Ethernet (Ethernet network)
N3 FL Net (FL Net network)

Claims (6)

第1のPLCおよび第2のPLCを有する二重化PLCにネットワークを介して接続される、プログラマブル表示器の監視操作方法であって、
前記プログラマブル表示器は、
前記第1のPLCを識別するIPアドレスと関連付けられた第1の局番と、前記第2のPLCを識別するIPアドレスと関連付けられた第2の局番とが局番管理情報として記憶部に登録されており、
前記プログラマブル表示器に配置された各表示操作部品の参照先の局番には、稼動系のPLCの情報を監視表示するためまたは該稼動系のPLCに操作指令を送信するための設定として前記第1の局番が設定されており、
前記プログラマブル表示器は、
前記各PLCから受信した前記各PLCの稼動または停止のステ−タス情報に基づいて稼動状態を監視し、待機系のPLCが稼動したと判定したとき、前記各表示操作部品に設定されている前記参照先の局番を前記第2の局番に書き替えをし、
前記書き替え後前記プログラマブル表示器をリセットして監視操作を継続する
ことを特徴とするプログラマブル表示器の監視操作方法。
A programmable display monitoring operation method connected via a network to a duplexed PLC having a first PLC and a second PLC,
The programmable display is
The first station number associated with the IP address identifying the first PLC and the second station number associated with the IP address identifying the second PLC are registered in the storage unit as station number management information. And
In the station number of the reference destination of each display operation component arranged on the programmable display, the first PLC is set as a setting for monitoring and displaying information on the active PLC or for transmitting an operation command to the active PLC. Is set,
The programmable display is
The operating state is monitored based on the status information on the operation or stop of each PLC received from each PLC, and when it is determined that the standby PLC has been operated, Rewrite the reference station number to the second station number,
After the rewriting, the programmable display device is reset and the monitoring operation is continued.
前記プログラマブル表示器は、
前記プログラム表示器のリセット後、前記各PLCから受信した前記各PLCの稼動または停止のステ−タス情報に基づいて稼動状態を監視し、前記待機系のPLCが稼動したと判定したとき、前記各表示操作部品に設定されている前記参照先の局番を前記第1の局番に書き替えをし、
前記第1の局番への書き替え後前記プログラマブル表示器をリセットして監視操作を継続する
ことを特徴とする請求項1に記載のプログラマブル表示器の監視操作方法。
The programmable display is
After resetting the program display, the operating state is monitored based on the status information of the operation or stop of each PLC received from each PLC, and when it is determined that the standby PLC is operating, Rewrite the reference station number set in the display operation component to the first station number,
The programmable operation monitoring operation method according to claim 1, wherein after the rewriting to the first station number, the programmable display is reset and monitoring operation is continued.
前記プログラマブル表示器は、
前記稼動系のPLCの情報を監視表示するためまたは前記稼動系のPLCに操作指令を送信するための設定のためのアドレスとして、前記各PLCの内部レジスタのアドレスを指定する
ことを特徴とする請求項1に記載のプログラマブル表示器による監視操作方法。
The programmable display is
An address of an internal register of each PLC is designated as an address for setting to monitor and display information of the active PLC or to send an operation command to the active PLC. Item 8. A monitoring operation method using the programmable display according to Item 1.
第1のPLC、第2のPLCおよび第3のPLCを有する三重化PLCにネットワークを介して接続される、プログラマブル表示器の監視操作方法であって、
前記プログラマブル表示器は、
前記第1のPLCを識別するIPアドレスと関連付けられた第1の局番と、前記第2のPLCを識別するIPアドレスと関連付けられた第2の局番と、前記第3のPLCを識別するIPアドレスと関連付けられた第3の局番が記憶部に登録されており、
前記プログラマブル表示器に配置された各表示操作部品の参照先の局番には、前記第1のPLCの情報を監視表示するためまたは前記第1のPLCに操作指令を送信するための設定として前記第1の局番が対応づけられて設定されており、
前記プログラマブル表示器は、
前記各PLCから受信した前記各PLCの稼動または停止のステ−タス情報に基づいて前記各PLCの稼動状態を監視し、前記第1のPLCが停止したと判定したとき、前記各表示操作部品に設定されている局番を前記第2の局番に書き替えをし、
前記第1のPLCおよび前記第2のPLCが停止したと判定したとき、前記各表示操作部品に設定されている局番を前記第3の局番に書き替えをし、
前記書き替え後前記プログラマブル表示器をリセットして監視操作を継続する
ことを特徴とするプログラマブル表示器の監視操作方法。
A programmable display monitoring operation method connected to a triple PLC having a first PLC, a second PLC, and a third PLC via a network,
The programmable display is
A first code associated with the IP address identifying the first PLC, and a second code associated with the IP address identifying the second PLC, IP address identifying the third PLC The third station number associated with is registered in the storage unit,
The station number of the reference destination of each display operation component arranged on the programmable display includes the first PLC as a setting for monitoring and displaying the information on the first PLC or transmitting an operation command to the first PLC. 1 station number is associated and set,
The programmable display is
The operating status of each PLC is monitored based on the status information on the operation or stop of each PLC received from each PLC, and when it is determined that the first PLC has stopped, Rewrite the set station number to the second station number,
When it is determined that the first PLC and the second PLC are stopped, the station number set in each display operation component is rewritten to the third station number,
After the rewriting, the programmable display device is reset and the monitoring operation is continued.
請求項1から請求項4のいずれか1項に記載のプログラマブル表示器の監視操作方法をコンピュータに実行させるための監視操作プログラム。   The monitoring operation program for making a computer perform the monitoring operation method of the programmable display of any one of Claims 1-4. 第1のPLCおよび第2のPLCを有する二重化PLCにネットワークを介して接続される、プログラマブル表示器であって、
前記第1のPLCを識別するIPアドレスと関連付けられた第1の局番と、前記第2のPLCを識別するIPアドレスと関連付けられた第2の局番とが局番管理情報として記憶される記憶部と、
稼動系のPLCの情報を監視表示するためまたは該稼動系のPLCに操作指令を送信するための参照先の局番の設定として前記第1の局番が設定された前記プログラマブル表示器に配置される各表示操作部品と、
前記各PLCから受信した前記各PLCの稼動または停止のステ−タス情報に基づいて前記各PLCの状態を監視し、待機系のPLCが稼動したと判定したとき、前記各表示操作部品に設定されている前記参照先の局番を前記第2の局番に書き替えをし、前記書き替え後前記プログラマブル表示器をリセットして監視操作を継続する参照先局番切替処理部とを有する
ことを特徴とするプログラマブル表示器。
A programmable display connected via a network to a duplexed PLC having a first PLC and a second PLC,
A first code associated with the IP address identifying the first PLC, a storage unit and a second code associated with the IP address identifying the second PLC is stored as code management information ,
Each arranged in the programmable display in which the first station number is set as the setting of the reference station number for monitoring and displaying the information of the active PLC or transmitting the operation command to the active PLC Display operation parts,
The status of each PLC is monitored based on the status information on the operation or stop of each PLC received from each PLC, and when it is determined that the standby PLC has been operated, it is set in each display operation component. A reference station number switching processing unit that rewrites the reference destination station number to the second station number, resets the programmable display after the rewriting, and continues the monitoring operation. Programmable display.
JP2010094729A 2010-04-16 2010-04-16 Programmable display monitoring operation method, monitoring operation program, and programmable display Active JP5400691B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010094729A JP5400691B2 (en) 2010-04-16 2010-04-16 Programmable display monitoring operation method, monitoring operation program, and programmable display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010094729A JP5400691B2 (en) 2010-04-16 2010-04-16 Programmable display monitoring operation method, monitoring operation program, and programmable display

Publications (2)

Publication Number Publication Date
JP2011227597A JP2011227597A (en) 2011-11-10
JP5400691B2 true JP5400691B2 (en) 2014-01-29

Family

ID=45042888

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010094729A Active JP5400691B2 (en) 2010-04-16 2010-04-16 Programmable display monitoring operation method, monitoring operation program, and programmable display

Country Status (1)

Country Link
JP (1) JP5400691B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10234841B2 (en) 2015-04-22 2019-03-19 Mitsubishi Electric Corporation Programmable logic controller, slave device, and duplex system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2963299B2 (en) * 1993-03-31 1999-10-18 三菱電機株式会社 Peripheral device of programmable controller and internal information setting method
JPH10232704A (en) * 1997-02-20 1998-09-02 Fuji Electric Co Ltd Duplex programmable controller
JP2000132205A (en) * 1998-10-27 2000-05-12 Hitachi Ltd Monitoring device for programmable controller
JP2002140206A (en) * 2000-10-31 2002-05-17 Fuji Electric Co Ltd Standby redundancy duplex controller and device for developing application program
JP4161620B2 (en) * 2002-06-07 2008-10-08 オムロン株式会社 Programmable controller
JP4347839B2 (en) * 2005-09-16 2009-10-21 三菱電機株式会社 Redundant system
JP2009187314A (en) * 2008-02-06 2009-08-20 Fuji Electric Systems Co Ltd Duplex controller system, cpu module, and program thereof
JP4836979B2 (en) * 2008-03-07 2011-12-14 三菱電機株式会社 Duplex programmable controller

Also Published As

Publication number Publication date
JP2011227597A (en) 2011-11-10

Similar Documents

Publication Publication Date Title
JP2007021685A (en) Robot system and robot control device
US11022962B2 (en) High availability industrial automation system having primary and secondary industrial automation controllers and method of communicating information over the same
US11343206B2 (en) Redundant infrastructure for industrial automation distributed control systems
JP2006270359A (en) Network opening method in production system
WO2012124198A1 (en) Control device and system program, and recording medium
JP2017077606A (en) Robot system having plurality of control devices connected through network
JP2014174616A (en) Fa system and control device
JP7230677B2 (en) Control device
JP2004054907A (en) Programmable controller and cpu unit, and communication unit and method for controlling communication unit
JP5525065B2 (en) Safety extension base and control method thereof
JP5400691B2 (en) Programmable display monitoring operation method, monitoring operation program, and programmable display
US20210067483A1 (en) Control System, Controller, and Control Method
JP5546500B2 (en) Remote maintenance system for FPGA-equipped devices
KR20110123168A (en) Apparatus for duplexing human machine interface
JP2010079355A (en) Cooperative control system between a plurality of plcs
JP7163657B2 (en) Support device, setting method and setting program
JP6350154B2 (en) Control system
WO2023170800A1 (en) Programmable logic controller, cpu unit, control method, and program
JP6345359B1 (en) Network system, communication control device, and address setting method
JP2019040331A (en) Distributed control system and node
WO2023021848A1 (en) Control device and control method for control device
JPH0713791A (en) Equalizing method for duplex control system
JP6645223B2 (en) Control system and control device
WO2013054725A1 (en) Controller, monitoring unit, and sequence program updating method
JP2023152155A (en) controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120614

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130628

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130709

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130905

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20131001

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131025

R150 Certificate of patent or registration of utility model

Ref document number: 5400691

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150