[go: up one dir, main page]

TWI674488B - Control system, and relay device - Google Patents

Control system, and relay device Download PDF

Info

Publication number
TWI674488B
TWI674488B TW104140781A TW104140781A TWI674488B TW I674488 B TWI674488 B TW I674488B TW 104140781 A TW104140781 A TW 104140781A TW 104140781 A TW104140781 A TW 104140781A TW I674488 B TWI674488 B TW I674488B
Authority
TW
Taiwan
Prior art keywords
monitoring data
control
communication
relay
network
Prior art date
Application number
TW104140781A
Other languages
Chinese (zh)
Other versions
TW201640243A (en
Inventor
坂上浩一
藤田史彦
Original Assignee
日商富士電機股份有限公司
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 日商富士電機股份有限公司 filed Critical 日商富士電機股份有限公司
Publication of TW201640243A publication Critical patent/TW201640243A/en
Application granted granted Critical
Publication of TWI674488B publication Critical patent/TWI674488B/en

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/02Details
    • H04B3/36Repeater circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/22Arrangements for detecting or preventing errors in the information received using redundant apparatus to increase reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0695Management of faults, events, alarms or notifications the faulty arrangement being the maintenance, administration or management system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • H04L45/245Link aggregation, e.g. trunking
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Manufacturing & Machinery (AREA)
  • Data Mining & Analysis (AREA)
  • Safety Devices In Control Systems (AREA)
  • Small-Scale Networks (AREA)
  • Hardware Redundancy (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

在控制裝置與資料傳輸路徑是已被雙重化之控制系統中,即使對控制裝置所傳輸的資料量增加,仍不會對控制裝置原本的演算之執行造成障礙,且不會導致運轉系/待機系的切換速度之降低,可進行監視資料的等值化。將運轉系及待機系的各控制裝置以第1等值化纜線做連接,並且將運轉系及待機系的各網路裝置以第2等值化纜線彼此連接。令各網路裝置,將從IO副機裝置所接收到的監視資料往連接目標之控制裝置進行傳輸,同時,判定透過第2等值化纜線之通訊是否可能。若該通訊為可能,則令各網路裝置藉由透過第2等值化纜線之通訊而進行監視資料的等值化,若為不可,則令各網路裝置藉由透過第2等值化纜線之通訊而進行監視資料的等值化。 In the control system where the control device and the data transmission path have been dualized, even if the amount of data transmitted by the control device increases, it will not cause obstacles to the execution of the original calculation of the control device, and will not cause the operation system / standby. The system switching speed is reduced, and the monitoring data can be equivalent. Each control device of the operation system and the standby system is connected with a first equivalent cable, and each network device of the operation system and the standby system is connected with each other by a second equivalent cable. Each network device is instructed to transmit the monitoring data received from the IO slave device to the control device of the connection target, and at the same time, determine whether communication via the second equalization cable is possible. If the communication is possible, the network devices are equivalently monitored by the communication through the second equivalent cable. If not, the network devices are equivalently transmitted through the second equivalent. The communication of cables is used to equalize monitoring data.

Description

控制系統、及中繼裝置 Control system and relay device

本發明係有關於含有運轉系與待機系之控制裝置的控制系統、以及其中繼裝置。 The present invention relates to a control system including a control device of an operation system and a standby system, and a relay device thereof.

工廠或各種廠房等之產業設施中,係為了控制各種操業而經常會架構出一種稱為控制系統的通訊系統。控制系統中係包含有,從被設置在產業設施內的感測器收集監視資料或隨著該收集結果來進行電動機等之驅動控制的控制裝置。作為此種控制裝置,係會使用DCS(Distributed Control System)或可編程邏輯控制器。以下,將電動機等之控制裝置的控制對象之裝置稱為「控制對象裝置」,將如上記感測器的身為控制裝置之監視資料之收集對象的裝置與控制對象裝置稱為「IO副機裝置」。IO副機裝置,係被連接至一種稱為IO網路的網路或是序列式匯流排。控制裝置,係透過中繼裝置等之網路裝置而被連接至IO網路。作為該中繼裝置之一例,係舉出閘道裝置。又,以下係將可編程邏輯控制器記作「PLC」。在一般的FA(Factory Automation)系統中, 作為控制裝置經常會使用PLC,在要求高信賴性的廠房設備中,作為控制裝置經常會使用DCS。這是因為,DCS比PLC的信賴性還高。 In industrial facilities such as factories or various workshops, a communication system called a control system is often constructed in order to control various operations. The control system includes a control device that collects monitoring data from a sensor installed in an industrial facility or performs drive control of a motor or the like according to the result of the collection. As such a control device, a DCS (Distributed Control System) or a programmable logic controller is used. Hereinafter, a control target device of a control device such as a motor is referred to as a “control target device”, and a device that is a target of collection of monitoring data of the control device as the sensor described above and a control target device are referred to as “IO auxiliary devices Device. " The IO slave device is connected to a network called an IO network or a serial bus. The control device is connected to the IO network through a network device such as a relay device. An example of this relay device is a gateway device. In the following, the programmable logic controller is referred to as "PLC". In a general FA (Factory Automation) system, PLC is often used as a control device, and DCS is often used as a control device in plant equipment that requires high reliability. This is because DCS is more reliable than PLC.

在此種控制系統中,為了避免起因於控制裝置等之故障導致操業停止,一般會進行控制裝置的雙重化及監視資料之資料傳送路徑的雙重化。所謂控制裝置的雙重化,係設置2台控制裝置,令其中一方為運轉系,另一方為待機系而動作。這2台控制裝置之每一者,係收集監視資料,使用所收集到的監視資料,或使用所收集到的監視資料與過去之演算結果,來進行機器控制所需之所定演算。運轉系的控制裝置係根據該演算結果來進行控制,待機系的控制裝置,係防備運轉系的控制裝置之停止。然後,待機系的控制裝置,係在運轉系停止時,或已經停止時,變成運轉系而動作,繼續機器控制。此處,作為運轉系的控制裝置之停止的具體例係考量有:起因於某些故障或不良之發生而造成非預期的停止、或由於保固維修等而預先計畫的停止等。待機系的控制裝置係防備這2種類之停止之雙方。所謂資料傳送路徑的雙重化,係例如從IO副機裝置到已被雙重化之控制裝置之一方的資料傳送路徑、與到另一方的資料傳送路徑,是個別設置。以下,將控制裝置與資料傳送路徑之雙方都被雙重化的控制系統,稱為「冗餘化控制系統」。 In such a control system, in order to avoid a failure in operation due to a failure of a control device, etc., it is common to double a control device and a data transmission path of monitoring data. The so-called dual control device is provided with two control devices so that one of them is an operation system and the other is a standby system. Each of these two control devices collects monitoring data, and uses the collected monitoring data, or uses the collected monitoring data and past calculation results to perform predetermined calculations required for machine control. The control device of the operation system performs control based on the calculation result, and the control device of the standby system stops the control device of the preventive operation system. Then, the control system of the standby system operates as the operation system when the operation system is stopped or has been stopped, and the machine control is continued. Here, specific examples of the stopping of the control system as the operation system include consideration of unexpected stoppages due to the occurrence of certain malfunctions or failures, or planned stoppages due to warranty repairs, and the like. The control system of the standby system is prepared to prevent both types of stop. The duplication of the data transmission path is, for example, a data transmission path from an IO slave device to one of the control devices that has been doubled, and a data transmission path to the other is separately provided. Hereinafter, a control system in which both the control device and the data transmission path are doubled is referred to as a "redundant control system".

圖18係冗餘化控制系統之構成例的圖示。圖18所示的系統,係將從被設置在產業設施內的各種感測 器等之IO副機裝置S1~Sn所輸出的監視資料加以收集,根據這些監視資料、或使用該監視資料與過去之演算結果來進行所定之演算,隨應於該演算結果而進行電動機等之作動控制的控制系統。此外,n係為2以上之自然數。此控制系統係具有:控制裝置10A及控制裝置10B的2台控制裝置、和網路裝置20A及網路裝置20B的2台網路裝置。在圖18所示的系統中,控制裝置10A與控制裝置10B之其中一方係成為運轉系,另一方係成為待機系而防備運轉系的停止。對控制裝置10A及控制裝置10B係連接有,用來進行控制裝置10A及控制裝置10B之運轉狀態等之監視所需之監視系統50。又,控制裝置10A係透過網路裝置20A而被連接至IO網路30A,控制裝置10B係透過網路裝置20B而被連接至IO網路30B。IO副機裝置S1~Sn之每一者,係被連接至IO網路30A及IO網路30B之雙方。 FIG. 18 is a diagram showing a configuration example of a redundant control system. The system shown in FIG. 18 is a system that will detect various kinds of sensors installed in industrial facilities. The monitoring data output by the IO auxiliary machine devices S1 to Sn is collected, and based on these monitoring data, or using the monitoring data and past calculation results, a predetermined calculation is performed, and motors, etc. are performed according to the calculation results Control system for actuation control. In addition, n is a natural number of 2 or more. This control system includes two control devices of the control device 10A and the control device 10B, and two network devices of the network device 20A and the network device 20B. In the system shown in FIG. 18, one of the control device 10A and the control device 10B becomes the operation system, and the other becomes the standby system to prevent the stop of the operation system. The control device 10A and the control device 10B are connected to a monitoring system 50 necessary for monitoring the operation state and the like of the control device 10A and the control device 10B. The control device 10A is connected to the IO network 30A through the network device 20A, and the control device 10B is connected to the IO network 30B through the network device 20B. Each of the IO slave devices S1 to Sn is connected to both the IO network 30A and the IO network 30B.

在圖18所示的系統中,控制裝置10A與控制裝置10B之每一者,係為了進行另一方的狀態監視,而以等值化纜線40做連接。如前述,待機系的控制裝置,係用來防備運轉系的控制裝置起因於故障等的非預期之停止或保固維修等之計劃性停止等,但以下只舉出因故障而停止的情形為例子來說明。控制裝置10A與控制裝置10B之每一者,係將故障之有無,亦即,將表示自裝置之狀態的狀態資料,透過等值化纜線40而發送給另一方。例如,控制裝置10A是運轉系的情況下,身為待機系的控制 裝置10B係參照透過等值化纜線40而從控制裝置10A所被發送過來的狀態資料,以監視控制裝置10A的故障發生。然後,控制裝置10B,係一旦根據透過等值化纜線40而接收的狀態資料,偵測出控制裝置10A的故障發生,則以後就變成運轉系而開始動作。另一方面,控制裝置10A係將控制裝置10B已經變成運轉系而開始動作的事實,以透過等值化纜線40的通訊而加以偵測,以後就變成待機系而動作。 In the system shown in FIG. 18, each of the control device 10A and the control device 10B is connected by an equalization cable 40 for status monitoring of the other party. As mentioned above, the control system of the standby system is used to prevent the control system of the operation system due to an unexpected stop due to a failure or a planned stop due to warranty repairs, etc., but the following is only an example of a stop due to a failure. To explain. Each of the control device 10A and the control device 10B sends the presence or absence of a failure, that is, the status data indicating the state of the own device to the other party through the equalization cable 40. For example, when the control device 10A is an operation system, the control is a standby system. The device 10B refers to the status data transmitted from the control device 10A through the equalization cable 40 to monitor the occurrence of a failure of the control device 10A. Then, the control device 10B detects the failure of the control device 10A based on the status data received through the equalization cable 40, and then becomes the operation system and starts to operate. On the other hand, the fact that the control device 10A starts the operation of the control device 10B after it has become the operation system is detected by the communication of the equalization cable 40, and then it becomes the standby system and operates.

在冗餘化控制系統中,即使運轉系的控制裝置發生故障,仍會藉由進行運轉系/待機系的切換,而繼續進行從IO副機裝置S1~Sn之每一者的資料收集、隨應於該收集結果的演算、及隨應於該演算結果的控制。可是,單純只進行運轉系/待機系的切換,在其切換前後,有時候上記演算結果會發生突變等之不良情形。這是起因於,從IO副機裝置S1~Sn之每一者送往控制裝置10A與控制裝置10B的監視資料,並不一定完全相同所導致。 In the redundant control system, even if the control system of the operation system fails, the operation system / standby system is switched, and data collection and follow-up from each of the IO auxiliary machine devices S1 to Sn are continued. The calculations that should be based on the results of the collection and the controls that follow the results of the calculations. However, only the switching between the operation system and the standby system is performed, and before and after the switching, there may be a problem such as a sudden change in the calculation result. This is because the monitoring data sent from each of the IO slave device devices S1 to Sn to the control device 10A and the control device 10B are not necessarily completely the same.

為了避免此種不良情形之發生,在冗餘化控制系統中,一般會令各控制裝置執行,從IO副機裝置S1~Sn之每一者往各控制裝置所發送的監視資料的等值化、或演算結果的等值化這類處理。所謂監視資料的等值化係指,運轉系的控制裝置把經由網路裝置所接收到的監視資料,透過等值化纜線40而發送至待機系的控制裝置,以該監視資料來覆寫待機系的控制裝置經由網路所接收到的監視資料。又,所謂演算結果的等值化,係將表示 運轉系中的演算結果之資料透過等值化纜線40而發送至待機系的控制裝置,以該資料來覆寫待機系中的演算結果。關於如此的冗餘化控制系統及等值化的先前技術之一例,係可舉出專利文獻1或專利文獻2所揭露之技術。 In order to avoid such a bad situation, in a redundant control system, each control device is generally executed, and the monitoring data sent from each IO auxiliary device S1 to Sn to each control device is equivalent. Or equalization of calculation results. The equivalent of monitoring data means that the control device of the operation system sends the monitoring data received via the network device to the control device of the standby system through the equalization cable 40, and overwrites the monitoring data with the monitoring data. Monitoring data received by the standby control device via the network. In addition, the so-called equalization of calculation results is expressed as The data of the calculation results in the operation system are transmitted to the control system of the standby system through the equalization cable 40, and the calculation results in the standby system are overwritten with the data. An example of such a redundant control system and equivalent prior art is a technique disclosed in Patent Document 1 or Patent Document 2.

〔先前技術文獻〕 [Previous Technical Literature] 〔專利文獻〕 [Patent Literature]

〔專利文獻1〕日本特開2013-12094號公報 [Patent Document 1] Japanese Patent Laid-Open No. 2013-12094

〔專利文獻2〕日本特開2013-152631號公報 [Patent Document 2] Japanese Patent Laid-Open No. 2013-152631

近年來,隨著控制系統中所含之IO副機裝置的多樣化或數量的增加、IO網路中的資料傳送速度之提升,每單位時間經由網路裝置而向控制裝置發送的監視資料之資料量,也隨之而大幅增加。一旦經由網路裝置而被控制裝置所接收的監視資料之資料量增加,則針對這些監視資料的等值化處理之處理負荷會變高,對於控制裝置原本的角色也就是機器控制所需之演算的執行或相應於該演算結果的機器控制,有時候會難以分配充分的資源。又,近年來,對1台控制裝置連接複數網路裝置的需求日益提高,但對控制裝置所連接的網路裝置之數量一旦增加,也會發生同樣的問題。尤其是經由網路裝置而由控制裝置所接收之每單位時間的監視資料之資料量一旦增加,也會造 成運轉系的故障發生時,運轉系/待機系的切換無法迅速進行的問題。如前述,經由網路裝置而由控制裝置所接收的監視資料的等值化如果沒有完成,則無法又要避免演算結果發生突變而又要進行運轉系/待機系的切換。 In recent years, with the diversification or increase of the number of IO auxiliary device devices included in the control system and the increase in the data transmission speed in the IO network, the monitoring data sent to the control device via the network device per unit time The amount of data has also increased significantly. Once the amount of monitoring data received by the control device via the network device increases, the processing load for the equalization processing of these monitoring data will increase, and the original role of the control device is the calculation required for machine control It is sometimes difficult to allocate sufficient resources for the execution of the machine or the machine control corresponding to the result of the calculation. Moreover, in recent years, the demand for connecting a plurality of network devices to one control device has been increasing, but the same problem occurs when the number of network devices connected to the control device increases. Especially if the amount of monitoring data per unit time received by the control device via the network device increases, it will also cause When a failure occurs in the operation system, the operation system / standby system cannot be switched quickly. As described above, if the equalization of the monitoring data received by the control device via the network device is not completed, it is impossible to avoid a sudden change in the calculation result and to switch between the operation system and the standby system.

本發明係有鑑於以上說明的課題而研發,其目的在於,提供一種,在冗餘化控制系統中,即使經由網路而被傳輸至各控制裝置的監視資料的資料量增加,仍對控制裝置原本的演算之執行不會造成任何障礙,且不會導致運轉系/待機系的切換速度降低,能夠進行監視資料的等值化的技術。 The present invention has been developed in view of the problems described above, and an object thereof is to provide a control system for a redundant control system that controls the control device even if the amount of monitoring data transmitted to each control device via a network increases. A technique that does not cause any obstacles to the execution of the original calculations, and does not reduce the switching speed of the operation system / standby system, and enables the equalization of monitoring data.

為了解決上記課題,本發明係提供一種控制系統,係從被連接在第1及第2網路上的1或複數台機器收集監視資料,基於該監視資料來進行控制的控制系統,其係具有:以下的第1及第2控制裝置、和第1及第2中繼裝置。第1控制裝置與第2控制裝置,係透過控制裝置間通訊手段而被連接。控制裝置間通訊手段,係例如為等值化纜線,仲介著第1控制裝置與第2控制裝置之間的通訊。第1及第2控制裝置,係一方成為運轉系而進行前記控制,另一方係成為待機系。作為第1及第2中繼裝置之具體例,係舉出前述的網路裝置。第1中繼裝置係被連接至第1控制裝置和第1網路,第2中繼裝置係被連接至第2控制裝置和第2網路。第1及第2中繼裝置,係被連接 至中繼裝置間通訊手段。中繼裝置間通訊手段,係為例如等值化纜線,仲介第1中繼裝置與第2中繼裝置之間的通訊。第1及第2中繼裝置,係具備判定手段,判定透過中繼裝置間通訊手段之通訊是否可行。第1及第2中繼裝置之每一者,係將從1或複數台機器所接收到的監視資料,傳輸給連接目標之控制裝置,並且,在被判定手段判定為可通訊時,係藉由透過中繼裝置間通訊手段之通訊,來進行監視資料的等值化。相對於此,被判定手段判定為無法通訊時,則第1及第2中繼裝置,係藉由透過控制裝置間通訊手段之通訊來進行監視資料的等值化。 In order to solve the above problem, the present invention provides a control system that collects monitoring data from one or a plurality of devices connected to the first and second networks, and performs control based on the monitoring data. The control system includes: The following first and second control devices and first and second relay devices. The first control device and the second control device are connected by a communication means between the control devices. The communication means between the control devices is, for example, an equivalent cable, and communication between the first control device and the second control device is performed. One of the first and second control devices is an operation system and performs pre-control, and the other system is a standby system. Specific examples of the first and second relay devices include the aforementioned network devices. The first relay device is connected to the first control device and the first network, and the second relay device is connected to the second control device and the second network. The first and second relay devices are connected Communication means to the relay device. The communication means between the relay devices is, for example, an equalization cable, which mediates communication between the first relay device and the second relay device. The first and second relay devices are provided with a judging means for judging whether communication via the communication means between the relay devices is feasible. Each of the first and second relay devices transmits the monitoring data received from one or more devices to the control device of the connection target, and when it is determined by the determination means that it is communicable, it is borrowed. The communication data through the communication means of the relay device is used to equalize the monitoring data. On the other hand, when it is determined that communication cannot be performed by the determination means, the first and second relay devices perform the equalization of the monitoring data by communication through the communication means between the control devices.

在本發明的控制系統中,從各機器往第1及第2控制裝置發送的監視資料的等值化,係由第1及第2中繼裝置來進行。因此,即使監視資料的資料量增加,也不會因為監視資料的等值化而導致第1及第2控制裝置之每一者的處理負荷過度變高,對第1及第2控制裝置之每一者的上記演算之執行不會造成任何障礙。又,對第1及第2控制裝置之每一者,係給予已被第1及第2中繼裝置等值化的資料。因此,令第1及第2控制裝置之一方成為運轉系而發揮機能,令另一方成為待機系而發揮機能,同時,起因於運轉系之停止而進行運轉系/待機系的切換時,不需要等待監視資料的等值化完成,可迅速進行運轉系/待機系的切換。 In the control system of the present invention, the equalization of the monitoring data transmitted from each device to the first and second control devices is performed by the first and second relay devices. Therefore, even if the amount of data of the monitoring data increases, the processing load of each of the first and second control devices will not be excessively increased due to the equivalentization of the monitoring data. The execution of one's previous calculus will not cause any obstacles. In addition, for each of the first and second control devices, data equivalent to the first and second relay devices is given. Therefore, when one of the first and second control devices becomes the operation system and functions, and the other becomes the standby system and functions, and it is not necessary to switch the operation system / standby system due to the stop of the operation system. Waiting for the equivalentization of the monitoring data is completed, and the operation system / standby system can be switched quickly.

在圖18所示的先前之冗餘化控制系統中,一旦發生將控制裝置10A及控制裝置10B彼此連接的等值 化纜線40之切斷,則會完全無法進行監視資料的等值化。相對於此,在本發明的控制系統中,將監視資料的等值化所需之資料通訊予以仲介的通訊手段係藉由控制裝置間通訊手段與中繼裝置間通訊手段而被雙重化,因此只要透過其任何一方的通訊是可行,就可毫無問題地進行監視資料的等值化。此外,亦可令第1及第2控制裝置執行處理,判定透過控制裝置間通訊手段之通訊是否可行,若為可能,則藉由將表示自裝置有無故障的狀態資料透過控制裝置間通訊手段進行收送訊以監視另一方有無故障,若為不可能,則藉由透過中繼裝置間通訊手段來收送狀態資料以監視另一方有無故障。又,本發明的控制系統中所含之中繼裝置對,亦即,透過中繼裝置間通訊手段而進行通訊的第1及第2中繼裝置所形成的中繼裝置對係當然不限定於1個,亦可為複數。具體而言,可想成是具有:複數第1中繼裝置,係分別被連接至各自有不同機器所連接而成的複數第1網路並且分別被連接至第1控制裝置;和複數第2中繼裝置,係分別與複數第1中繼裝置之每一者成對的複數第2中繼裝置,且分別被連接至上記各機器所連接的複數第2網路並且分別被連接至第2控制裝置;複數第1中繼裝置與複數第2中繼裝置係彼此成對之間是透過中繼裝置間通訊手段而進行通訊的態樣。 In the conventional redundant control system shown in FIG. 18, the equivalent of connecting the control device 10A and the control device 10B to each other once occurred If the cable 40 is cut, the monitoring data cannot be equalized at all. On the other hand, in the control system of the present invention, the communication means that mediates the data communication required for the equalization of the monitoring data is doubled by the communication means between the control devices and the communication means between the relay devices. As long as communication through any of them is feasible, the monitoring data can be equivalent without any problem. In addition, the first and second control devices can also be processed to determine whether communication through the communication means between the control devices is feasible. If possible, the status data indicating the failure of the self-device is performed through the communication means between the control devices. Send messages to monitor the other party for failures. If it is not possible, send status data to monitor the other party for failures through communication between relay devices. The relay device pair included in the control system of the present invention, that is, the relay device pair formed by the first and second relay devices that communicate through the communication means between the relay devices is of course not limited to One or plural. Specifically, it can be thought of as having: a plurality of first relay devices, each of which is connected to a plurality of first networks each having a different device connected thereto and connected to a first control device; and a plurality of second devices The relay device is a plurality of second relay devices that are paired with each of the plurality of first relay devices, respectively, and are respectively connected to the plurality of second networks connected to the above devices and are respectively connected to the second Control device; the plurality of first relay devices and the plurality of second relay devices are paired with each other to communicate through the means of communication between the relay devices.

此處,透過中繼裝置間通訊手段之通訊所致之監視資料的等值化的具體實現方法,係可考量各種態樣。從第1中繼裝置與第2中繼裝置之其中一方往另一方 發送監視資料,令該另一方之中繼裝置執行將經由網路所接收之監視資料以透過中繼裝置間通訊手段而接收之監視資料予以覆寫的處理,亦即,將前者之監視資料置換成後者之監視資料的處理的態樣。例如,從被連接至運轉系之控制裝置這一方的中繼裝置往另一方之中繼裝置發送監視資料,令該另一方之中繼裝置,將經由網路所接收到的監視資料,以透過中繼裝置間通訊手段或控制裝置間通訊手段所接收到的監視資料,進行覆寫。 Here, the specific implementation method of the equivalentization of the monitoring data by the communication means between the relay devices can consider various aspects. From one of the first relay device and the second relay device to the other Send monitoring data to cause the relay device of the other party to perform the process of overwriting the monitoring data received via the network with the monitoring data received through the communication means between the relay devices, that is, replacing the former monitoring data Become the processing mode of the latter monitoring data. For example, from one relay device connected to the control device of the operating system, the monitoring data is sent to the other relay device, so that the other relay device will receive the monitoring data via the network to pass The monitoring data received by the communication means between the relay devices or the communication means between the control devices is overwritten.

又在別的理想態樣中,考量在第1及第2中繼裝置之每一者,設置以下之第1及第2處理手段。第1處理手段,係用以把從連接目標之網路所接收到的監視資料傳輸給另一方之中繼裝置。若更詳細說明,第1處理手段,係在被上記判定手段判定為可通訊時,係透過中繼裝置間通訊手段而將監視資料傳輸至另一方之中繼裝置,在被判定為無法通訊時,係透過控制裝置間通訊手段而將監視資料發送至另一方之中繼裝置。第2處理手段,係確認是否可和從另一方之中繼裝置所接收到之監視資料的送訊來源之機器進行通訊,若為無法通訊時則將原本應該從該機器接收的監視資料,以從另一方之中繼裝置所接收到的監視資料,加以補足。在先前的冗餘化控制系統中,往運轉系之控制裝置傳輸監視資料的中繼裝置所連接的網路若發生故障時,或各機器用來連接至該網路所需的IO主機發生故障時,都必須要進行運轉系/待機系的切換。相對於此,若依據本態樣,則不需要因為上記網路等之故障而 進行運轉系/待機系的切換,可以降低運轉系/待機系的切換的發生頻率。關於這點係在本發明的第4實施形態中詳細說明。 In another ideal aspect, considering each of the first and second relay devices, the following first and second processing means are provided. The first processing means is used to transmit the monitoring data received from the network of the connection target to the relay device of the other party. To explain in more detail, the first processing means is to transmit the monitoring data to the relay device of the other party through the communication means between the relay devices when it is judged as communicable by the above-mentioned judgment means. It sends monitoring data to the relay device of the other party through the communication means between the control devices. The second processing means is to confirm whether it can communicate with the device that is the source of the monitoring data received from the relay device of the other party. If it is impossible to communicate, the monitoring data that should have been received from the device is used to The monitoring data received from the relay device of the other party is supplemented. In the previous redundant control system, if the network connected to the relay device transmitting monitoring data to the control device of the operating system fails, or the IO host required by each machine to connect to the network fails, In both cases, it is necessary to switch between the operation system and the standby system. On the other hand, if it is based on this aspect, there is no need to Switching between the operation system and the standby system can reduce the frequency of switching between the operation system and the standby system. This point will be described in detail in the fourth embodiment of the present invention.

在更理想的態樣中,第1及第2中繼裝置之任一方,被連接有第3網路。然後,被連接至第3網路的中繼裝置,係從被連接在該第3網路上的機器,收集監視資料,將收集到的監視資料傳輸至連接目標之控制裝置,並且,傳輸至另一方之中繼裝置而進行等值化。細節將於本發明的第3實施形態的說明中詳述,但對圖18所示的先前的冗餘化控制系統的中繼裝置連接未被雙重化的網路時會產生各種問題,無法簡便地採用此種連接形態。相對於此,若依據本態樣,則可對此種中繼裝置簡便地連接未被雙重化的網路。 In a more desirable aspect, a third network is connected to either of the first and second relay devices. Then, the relay device connected to the third network collects monitoring data from the device connected to the third network, transmits the collected monitoring data to the control device of the connection destination, and transmits it to another control device. One relay device is equivalent. The details will be described in detail in the description of the third embodiment of the present invention, but various problems arise when connecting the relay device of the conventional redundant control system shown in FIG. The ground adopts this connection form. On the other hand, according to this aspect, the relay device can be easily connected to a network that has not been duplicated.

又,在別的理想態樣中,其特徵為,前記第1及第2中繼裝置係具備:負荷計測手段,係用以計測對連接目標之控制裝置所施加的處理負荷;前記第1及第2中繼裝置,係負荷計測手段所計測到的處理負荷是所定之閾值以上,且被判定手段判定為可通訊時,則藉由透過中繼裝置間通訊手段之通訊來進行監視資料的等值化,其他情況則是藉由透過控制裝置間通訊手段之通訊來進行監視資料的等值化。若依據如此的態樣,則可一面使處理負荷分散至第1及第2控制裝置之每一者,一面將監視資料的等值化所需之資料通訊予以雙重化。 In another ideal aspect, it is characterized in that the first and second relay devices of the preamble are provided with: load measurement means for measuring a processing load imposed on the control device connected to the target; first and The second relay device is a processing load measured by the load measurement means that is greater than a predetermined threshold and judged to be communicable by the determination means, and then monitors the data by communicating through the communication means between the relay devices. Value, in other cases, the monitoring data is equalized through communication between control devices. According to such an aspect, while the processing load is distributed to each of the first and second control devices, the data communication required for the equalization of the monitoring data can be doubled.

又,為了解決上記課題,本發明係在被連接 至一方係成為運轉系進行控制而另一方係成為待機系的第1及第2控制裝置之一方,同時,被連接至發送監視資料的1或複數台機器所連接的第1網路,將從前記1或複數台機器所發送的監視資料予以傳輸至連接目標之控制裝置的中繼裝置,設有以下的通訊介面部和控制部。通訊介面部,係透過中繼裝置間通訊手段而被連接至其他中繼裝置。該其他中繼裝置係被連接至被1或複數台機器所連接的第2網路與第1及第2控制裝置之其中另一方。控制部係為例如CPU(Central Processing Unit)。該控制部係執行以下的中繼處理、判定處理及等值化處理。中繼處理,係將透過第1網路而從1或複數台機器所接收到的監視資料傳輸給連接目標之控制裝置的處理。判定處理,係判定透過中繼裝置間通訊手段之通訊可否進行的處理。然後,等值化處理,係在判定處理中判定為可通訊時係透過中繼裝置間通訊手段來進行將該監視資料予以等值化所需之通訊,另一方面,在判定為無法通訊時係透過控制裝置間通訊手段來進行該通訊的處理。於冗餘化控制系統中,將控制裝置與資料傳送路徑予以連接的中繼裝置,亦即,將圖18所示的系統例子中的網路裝置20A及網路裝置20B,置換成本發明的中繼裝置,藉此就可使該既存的冗餘化控制系統,成為本發明的控制系統而發揮機能。 In order to solve the above problem, the present invention is connected One of them is one of the first and second control devices that are controlled by the operation system and the other is the standby system. At the same time, it is connected to the first network connected to one or more devices that send monitoring data. The monitoring data sent by the preamble 1 or multiple devices is transmitted to the relay device of the control device connected to the target, and the following communication interface and control section are provided. The communication interface is connected to other relay devices through communication means between the relay devices. The other relay device is connected to the other one of the second network and the first and second control devices connected to the one or more devices. The control unit is, for example, a CPU (Central Processing Unit). This control unit executes the following relay processing, determination processing, and equalization processing. Relay processing is processing in which the monitoring data received from one or more devices via the first network is transmitted to the control device of the connection target. The determination processing is processing for determining whether communication can be performed through communication means between the relay devices. Then, the equalization processing is performed when the communication is determined to be communicable in the determination processing by performing communication required to equalize the monitoring data through the communication means between the relay devices. The communication is processed through the communication means between the control devices. In the redundant control system, the relay device that connects the control device and the data transmission path, that is, the network device 20A and the network device 20B in the system example shown in FIG. 18 are replaced with the ones in the present invention. The relay device can make the existing redundant control system function as the control system of the present invention.

又,作為為了解決上記課題所需的其他態樣,係考量提供使CPU等一般的電腦成為上記中繼裝置而發揮機能的程式的態樣。這是因為,藉由依照此種程式 而使一般的電腦作動,就可使該電腦成為本發明的中繼裝置而發揮機能。此外,作為上記程式的具體提供態樣係可考量:藉由經由網際網路等之電氣通訊線路的下載而散佈的態樣、或寫入CD-ROM(Compact Disk-Read Only Memory)或快閃ROM等之電腦可讀取之記錄媒體中而散佈的態樣。 In addition, as another aspect required for solving the above-mentioned problem, an aspect of providing a program that makes a general computer such as a CPU into the above-mentioned relay device to function is considered. This is because by following this procedure By operating a general computer, the computer can function as a relay device of the present invention. In addition, the specific patterns provided by the above-mentioned programs can be considered: the patterns distributed by downloading through electrical communication lines such as the Internet, or written to CD-ROM (Compact Disk-Read Only Memory) or flash ROMs and other computer-readable recording media and scattered.

如以上說明若依據本發明,在冗餘化控制系統中,即使經由網路而被傳輸至各控制裝置的監視資料的資料量增加,仍對控制裝置原本的演算之執行不會造成任何障礙,且不會導致運轉系/待機系的切換速度降低,可進行監視資料的等值化。 As described above, according to the present invention, in a redundant control system, even if the amount of monitoring data transmitted to each control device via the network increases, there will be no obstacle to the execution of the original calculations of the control device. In addition, the switching speed of the operation system and the standby system is not reduced, and the monitoring data can be equivalentized.

1A、1C、1D‧‧‧通訊系統 1A, 1C, 1D‧‧‧communication system

10A、10B、100A、100B、100A′、100B′‧‧‧控制裝置 10A, 10B, 100A, 100B, 100A ′, 100B′‧‧‧ Control device

20A、20B、200A、200B、200A′、200B′、200A′′、200B′′、200A′′′、200B′′′‧‧‧網路裝置 20A, 20B, 200A, 200B, 200A ′, 200B ′, 200A ′ ′, 200B ′ ′, 200A ′ ′ ′, 200B ′ ′ ′ ‧‧‧

210‧‧‧控制部 210‧‧‧Control Department

220‧‧‧第1通訊I/F部 220‧‧‧Part 1 Communication I / F

230‧‧‧第2通訊I/F部 230‧‧‧Part 2 Communication I / F

240‧‧‧第3通訊I/F部 240‧‧‧Part 3 Communication I / F

250‧‧‧記憶部 250‧‧‧Memory Department

252‧‧‧揮發性記憶部 252‧‧‧Volatile Memory Department

2522‧‧‧監視資料緩衝區 2522‧‧‧Monitoring Data Buffer

254‧‧‧非揮發性記憶部 254‧‧‧Non-volatile memory

2542、2542′、2542′′′‧‧‧中繼控制程式 2542, 2542 ′, 2542′′‧‧‧ Relay Control Program

2542a‧‧‧中繼處理 2542a‧‧‧Relay processing

2542b‧‧‧等值化處理 2542b ‧ ‧ equivalent processing

260‧‧‧匯流排 260‧‧‧Bus

30A、30B、30C‧‧‧IO網路 30A, 30B, 30C‧‧‧IO network

40、400、400A、400B‧‧‧等值化纜線 40, 400, 400A, 400B‧‧‧ equivalent cables

50‧‧‧監視系統 50‧‧‧ surveillance system

S1~Sn、S1′~Sn′‧‧‧IO副機裝置 S1 ~ Sn, S1 ′ ~ Sn′‧‧‧IO auxiliary device

〔圖1〕含有本發明的中繼裝置之一例的網路裝置200的通訊系統1A,亦即,本發明的第1實施形態之通訊系統之構成例的圖示。 [FIG. 1] A diagram showing a configuration example of a communication system 1A of a network device 200 including an example of a relay device of the present invention, that is, a communication system according to a first embodiment of the present invention.

〔圖2〕同通訊系統1A中所含之網路裝置200之構成例的圖示。 [Fig. 2] A diagram showing a configuration example of the network device 200 included in the communication system 1A.

〔圖3〕同網路裝置200的控制部210依照中繼控制程式2542所執行的等值化處理2542b之流程的流程圖。 [FIG. 3] A flowchart of a flow of the equalization process 2542b performed by the control unit 210 of the same network device 200 according to the relay control program 2542.

〔圖4〕同網路裝置200的控制部210依照中繼控制 程式2542所執行的動作的說明圖。 [Fig. 4] Control unit 210 of the same network device 200 performs relay control An illustration of the action performed by program 2542.

〔圖5〕第1實施形態之效果的說明圖。 [Fig. 5] An explanatory diagram of effects of the first embodiment.

〔圖6〕第1實施形態之變形例的說明圖。 [Fig. 6] An explanatory diagram of a modification of the first embodiment.

〔圖7〕第1實施形態之另一變形例的說明圖。 [FIG. 7] An explanatory diagram of another modification of the first embodiment.

〔圖8〕本發明的第2實施形態之網路裝置200′之構成例的圖示。 [FIG. 8] A diagram showing a configuration example of a network device 200 'according to a second embodiment of the present invention.

〔圖9〕含有同網路裝置200′的通訊系統之概略構成及動作例的圖示。 [Fig. 9] A diagram showing a schematic configuration and an operation example of a communication system including the network device 200 '.

〔圖10〕本發明的第3實施形態的說明圖。 [FIG. 10] An explanatory diagram of a third embodiment of the present invention.

〔圖11〕本發明的第4實施形態的說明圖。 [FIG. 11] An explanatory diagram of a fourth embodiment of the present invention.

〔圖12〕同第4實施形態之網路裝置200′′′之構成例的圖示。 [Fig. 12] A diagram showing a configuration example of a network device 200 '"according to the fourth embodiment.

〔圖13〕同網路裝置200′′′的控制部210依照中繼控制程式2542′′′所執行的動作的說明圖。 [Fig. 13] An explanatory diagram of operations performed by the control unit 210 of the same network device 200 'according to the relay control program 2542' '.

〔圖14〕同控制部210依照中繼控制程式2542′′′所執行的等值化收訊處理2542b2之流程的流程圖。 [FIG. 14] A flowchart of the flow of the equivalent reception processing 2542b2 performed by the control unit 210 in accordance with the relay control program 2542 '.

〔圖15〕同第4實施形態之效果的說明圖。 [Fig. 15] An explanatory diagram of the effect of the fourth embodiment.

〔圖16〕同第4實施形態之效果的說明圖。 [Fig. 16] An explanatory diagram of the effect of the fourth embodiment.

〔圖17〕同第4實施形態之變形例的說明圖。 [Fig. 17] An explanatory diagram of a modification of the fourth embodiment.

〔圖18〕控制系統之先前例的圖示。 [Fig. 18] An illustration of a previous example of the control system.

以下,參照圖面來說明本發明的實施形態。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.

(A:第1實施形態) (A: First Embodiment)

圖1係本發明的第1實施形態之通訊系統1A之構成例的圖示。 FIG. 1 is a diagram showing a configuration example of a communication system 1A according to a first embodiment of the present invention.

該通訊系統1A,係和前面圖18所示的系統同樣地,是被敷設在產業設施內的控制系統。在圖1中,與圖18同一構成要素係標示同一符號。比對圖1與圖18可知,通訊系統1A,係在以下的3點,是與圖18所示的先前之冗餘化控制系統不同。第1,取代控制裝置10A及控制裝置10B而改為具有控制裝置100A及控制裝置100B這點。第2,取代網路裝置20A及網路裝置20B而改為具有網路裝置200A及網路裝置200B這點。然後,第3,網路裝置200A與網路裝置200B是藉由等值化纜線400而被連接這點。 This communication system 1A is a control system installed in an industrial facility in the same manner as the system shown in FIG. 18 described above. In FIG. 1, the same components as those in FIG. 18 are denoted by the same reference numerals. Comparing FIG. 1 and FIG. 18, it can be seen that the communication system 1A is different from the previous redundant control system shown in FIG. 18 in the following three points. First, instead of the control device 10A and the control device 10B, a control device 100A and a control device 100B are provided. Secondly, the network device 20A and the network device 20B are replaced with the network device 200A and the network device 200B. Then, thirdly, the network device 200A and the network device 200B are connected by the equalization cable 400.

網路裝置200A與網路裝置200B之每一者係為本發明的中繼裝置之一實施形態,等值化纜線400係擔任仲介該中繼裝置彼此之通訊的中繼裝置間通訊手段的角色。網路裝置200A及網路裝置200B,係和圖18中的網路裝置20A或網路裝置20B相同是閘道裝置。在圖1所示的通訊系統1A中,從IO副機裝置S1、S2...Sn之每一者所發送的監視資料,係透過IO網路30A及網路裝置200A而被傳送至控制裝置100A,同時,透過IO網路30B及網路裝置200B而被傳送至控制裝置100B。控制裝置100A及控制裝置100B之每一者,係和圖18中的控制裝置10A及控制裝置10B同樣地,使用從IO副機裝置 S1,S2...Sn所收集到的監視資料及過去之演算結果進行演算,亦即進行機器控制所需之演算、及該演算結果之記憶。控制裝置100A及控制裝置100B,係可為PLC,也可為DCS。 Each of the network device 200A and the network device 200B is an embodiment of the relay device of the present invention, and the equivalent cable 400 serves as a communication means between relay devices that mediates the communication between the relay devices. Roles. The network device 200A and the network device 200B are gateway devices similar to the network device 20A or the network device 20B in FIG. 18. In the communication system 1A shown in FIG. 1, slave IO slave devices S1 and S2. . . The monitoring data sent by each of Sn is transmitted to the control device 100A through the IO network 30A and the network device 200A, and is transmitted to the control device 100B through the IO network 30B and the network device 200B. Each of the control device 100A and the control device 100B is the same as the control device 10A and the control device 10B in FIG. 18, and uses a slave IO slave device. S1, S2. . . The monitoring data collected by Sn and the past calculation results are used for calculation, that is, the calculation required for machine control and the memory of the calculation results. The control device 100A and the control device 100B may be a PLC or a DCS.

在圖1所示的通訊系統1A中,控制裝置100A與控制裝置100B之其中一方係成為運轉系而基於上記演算結果執行其他機器之控制,另一方係成為待機系,防備運轉系的停止。如前述,運轉系的停止係有:起因於某些故障或不良之發生而造成非預期的停止、或由於保固維修等而預先計畫的停止之2種類。然後,當運轉系停止時,待機系的控制裝置,之後就會變成運轉系而動作。此外,關於運轉系與待機系的切換,係藉由和先前之冗餘化控制系統相同的方法來實現即可。 In the communication system 1A shown in FIG. 1, one of the control device 100A and the control device 100B becomes the operation system and performs control of other equipment based on the calculation result of the above. The other system becomes the standby system to prevent the stop of the operation system. As mentioned above, there are two types of stoppages in the operation system: unexpected stoppages due to certain failures or failures, or planned stoppages due to warranty repairs. Then, when the operation system is stopped, the control system of the standby system will then be operated as the operation system. In addition, the switching between the operation system and the standby system can be realized by the same method as the previous redundant control system.

如前述,在運轉系/待機系的切換之際,為了避免演算結果之突變,需要監視資料的等值化與演算結果的等值化。在圖18所示的先前之冗餘化控制系統中,是令監視資料的等值化與演算結果的等值化,在控制裝置10A與控制裝置10B中進行。於本實施形態中也是令演算結果的等值化是由控制裝置100A與控制裝置100B來執行這點,是和圖18所示的先前之冗餘化控制系統沒有不同。更詳細說明,控制裝置100A與控制裝置100B之中身為運轉系的一方,係使用從連接目標之網路裝置所接收到的監視資料來進行機器控制所需之演算,將表示該演算結果的資料,透過等值化纜線40而傳輸至另一方之控制 裝置以將演算結果等值化。亦即,待機系的控制裝置,係將自裝置中的演算結果之資料,以透過等值化纜線40所接收到的資料,予以覆寫。本實施形態的通訊系統1A與圖18所示的先前之冗餘化控制系統的不同點,係令監視資料的等值化在網路裝置200A及網路裝置200B上進行這點。以下,以顯著表示本實施形態之特徵的網路裝置200A及網路裝置200B為中心來說明。此外,網路裝置200A及網路裝置200B係具有同一構成,因此以下在沒有必要區別兩者時,記作「網路裝置200」。 As described above, in order to avoid a sudden change in calculation results when switching between the operation system and the standby system, it is necessary to equalize the monitoring data and the calculation result. In the conventional redundant control system shown in FIG. 18, the equalization of the monitoring data and the equalization of the calculation results are performed in the control device 10A and the control device 10B. In this embodiment, the equivalent of the calculation results is also executed by the control device 100A and the control device 100B, which is no different from the conventional redundant control system shown in FIG. 18. In more detail, the control device 100A and the control device 100B are operating systems, and use monitoring data received from the connected network device to perform calculations required for machine control. Data indicating the results of the calculations will be shown. , Transmitted to the other party's control via the equalization cable 40 The device equalizes the calculation result. That is, the control device of the standby system overwrites the data of the calculation result from the device with the data received through the equalization cable 40. The difference between the communication system 1A of this embodiment and the conventional redundant control system shown in FIG. 18 is that the equivalent of the monitoring data is performed on the network device 200A and the network device 200B. Hereinafter, the network device 200A and the network device 200B which prominently show the characteristics of this embodiment will be mainly described. In addition, since the network device 200A and the network device 200B have the same configuration, when there is no need to distinguish between the two, they will be referred to as "network device 200".

在本實施形態中,關於網路裝置200也是區別成運轉系與待機系。更詳細說明,網路裝置200係和本身的連接目標之控制裝置通訊,判定連接目標之控制裝置是否為運轉系。然後,網路裝置200,係若連接目標之控制裝置是運轉系,則變成運轉系的網路裝置而動作,反之若連接目標之控制裝置是待機系,則變成待機系的網路裝置而動作。亦即,在本實施形態中,在網路裝置200A與網路裝置200B之中,被連接至運轉系的控制裝置者成為運轉系,被連接至待機系的控制裝置者係成為待機系。然後,一旦發生關於控制裝置的運轉系/待機系之切換,則網路裝置200也會追隨該切換而被切換運轉系與待機系。在本實施形態中,雖然說明,令關於網路裝置200的運轉系/待機系之切換,追隨於關於控制裝置的運轉系/待機系之切換的情形,但亦可為,藉由透過等值化纜線400的狀態資料之收送訊以監視另一方之狀態,獨立於關於控制裝 置的運轉系/待機系之切換,隨應於該狀態監視之結果來切換運轉系/待機系。 In this embodiment, the network device 200 is also distinguished into an operating system and a standby system. In more detail, the network device 200 communicates with the control device of its own connection target, and determines whether the control device of the connection target is an operation system. Then, the network device 200 operates as a network device of the operating system if the control device of the connection target is the operation system, and operates as a network device of the standby system if the control device of the connection target is the standby system. . That is, in the present embodiment, among the network devices 200A and 200B, a control device connected to the operation system becomes the operation system, and a control device connected to the standby system becomes the standby system. Then, once the switching between the operation system and the standby system of the control device occurs, the network device 200 also switches the operation system and the standby system in accordance with the switching. In the present embodiment, it is explained that the switching of the operation system / standby system of the network device 200 follows the switching of the operation system / standby system of the control device, but it may also be performed by transmitting equivalent values. Receive and send status data of the cable 400 to monitor the status of the other party, independent of the control device The switching of the operation system / standby system is performed, and the operation system / standby system is switched according to the result of the state monitoring.

圖2係表示網路裝置200之構成例的區塊圖。 FIG. 2 is a block diagram showing a configuration example of the network device 200.

網路裝置200,係如圖2所示,含有:控制部210、第1通訊介面(以下簡稱為「I/F」)部220、第2通訊I/F部230、第3通訊I/F部240、記憶部250、及仲介這些構成要素間之資料收授的匯流排260。 The network device 200, as shown in FIG. 2, includes a control section 210, a first communication interface (hereinafter referred to as "I / F") section 220, a second communication I / F section 230, and a third communication I / F. The unit 240, the memory unit 250, and the bus 260 for receiving and receiving data among these constituent elements.

控制部210係為例如CPU。控制部210,係藉由執行記憶部250中所記憶的中繼控制程式2542,成為網路裝置200之控制中樞而發揮機能。更正確說明,中繼控制程式2542,係被記憶在非揮發性記憶部254中。非揮發性記憶部254係為構成記憶部250的複數構成要素的其中之一。控制部210依照中繼控制程式2542所執行的處理之細節,將在後面說明。第1通訊I/F部220、第2通訊I/F部230及第3通訊I/F部240之每一者,係為例如NIC(Network Interface Card)。這些各通訊I/F部的角色係如以下。 The control unit 210 is, for example, a CPU. The control unit 210 functions as a control center of the network device 200 by executing the relay control program 2542 stored in the storage unit 250. More correctly, the relay control program 2542 is stored in the non-volatile memory 254. The non-volatile memory section 254 is one of a plurality of constituent elements constituting the memory section 250. Details of processing executed by the control unit 210 in accordance with the relay control program 2542 will be described later. Each of the first communication I / F section 220, the second communication I / F section 230, and the third communication I / F section 240 is, for example, a NIC (Network Interface Card). The roles of these communication I / F sections are as follows.

第1通訊I/F部220係被連接至IO網路。若更詳細說明,網路裝置200A的第1通訊I/F部220係被連接至IO網路30A,網路裝置200B的第1通訊I/F部220係被連接至IO網路30B。第1通訊I/F部220係進行,從連接目標之IO網路所發送過來的資料之收訊、及往連接目標之IO網路之資料的送出。第1通訊I/F部220 係具有,將從連接目標之IO網路所接收之資料加以積存的通訊緩衝區。在圖2中,該通訊緩衝區之圖示係被省略。 The first communication I / F section 220 is connected to the IO network. To explain in more detail, the first communication I / F unit 220 of the network device 200A is connected to the IO network 30A, and the first communication I / F unit 220 of the network device 200B is connected to the IO network 30B. The first communication I / F unit 220 performs receiving of data transmitted from the IO network of the connection destination, and transmission of data to the IO network of the connection destination. First communication I / F section 220 It has a communication buffer that accumulates data received from the IO network to which it is connected. In FIG. 2, the illustration of the communication buffer is omitted.

第2通訊I/F部230係透過通訊線而被連接至控制裝置。若更詳細說明,網路裝置200A的第2通訊I/F部230係被連接至控制裝置100A,網路裝置200B的第2通訊I/F部230係被連接至控制裝置100B。第2通訊I/F部230係進行,從其連接目標之控制裝置所被發送過來的資料之收訊、及往連接目標之控制裝置的資料之送出。第2通訊I/F部230係具有,將往連接目標之控制裝置送訊之資料加以積存的通訊緩衝區。在圖2中,該通訊緩衝區之圖示係被省略。 The second communication I / F section 230 is connected to the control device via a communication line. To explain in more detail, the second communication I / F section 230 of the network device 200A is connected to the control device 100A, and the second communication I / F section 230 of the network device 200B is connected to the control device 100B. The second communication I / F unit 230 performs reception of data transmitted from the control device of the connection target, and transmission of data to the control device of the connection target. The second communication I / F section 230 has a communication buffer that stores data transmitted to the control device connected to the target. In FIG. 2, the illustration of the communication buffer is omitted.

第3通訊I/F部240係具有被等值化纜線所連接的埠,該埠上係連接有等值化纜線400。第3通訊I/F部240係進行,透過等值化纜線400而與另一方之網路裝置進行監視資料的等值化所需之通訊。 The third communication I / F unit 240 has a port connected by an equalization cable, and an equalization cable 400 is connected to the port. The third communication I / F unit 240 performs communication necessary for equalizing the monitoring data with the other network device through the equalization cable 400.

記憶部250,係如圖2所示,具有揮發性記憶部252與非揮發性記憶部254。揮發性記憶部252,係為例如RAM(Random Access Memory)。揮發性記憶部252,係作為中繼控制程式2542執行所需之工作區而被使用。又,揮發性記憶部252,係也擔任將往控制裝置傳送的監視資料予以暫時積存的監視資料緩衝區2522的角色。然後,在揮發性記憶部252中係還儲存有,表示具有該揮發性記憶部252的網路裝置200是以運轉系的身份而 動作、還是以待機系的身份而動作的運轉/待機旗標。非揮發性記憶部254係為例如快閃ROM。非揮發性記憶部254中係預先儲存有中繼控制程式2542。 The memory unit 250 includes a volatile memory unit 252 and a non-volatile memory unit 254 as shown in FIG. 2. The volatile memory section 252 is, for example, a RAM (Random Access Memory). The volatile memory section 252 is used as a work area required for execution of the relay control program 2542. The volatile memory unit 252 also functions as a monitoring data buffer 2522 that temporarily stores monitoring data transmitted to the control device. Then, the volatile memory section 252 is further stored, indicating that the network device 200 having the volatile memory section 252 is an operating system. Operation, or the operation / standby flag that operates as a standby system. The non-volatile memory section 254 is, for example, a flash ROM. The non-volatile memory section 254 stores a relay control program 2542 in advance.

控制部210,係以網路裝置200的電源打開或重置為契機而從非揮發性記憶部254往揮發性記憶部252讀出中繼控制程式2542,開始其執行。在圖2中,網路裝置200的電源之圖示係被省略。依照中繼控制程式2542而作動的控制部210,係監視連接目標之控制裝置的動作狀態而隨應於該監視結果來執行設定運轉/待機旗標的處理以外,還會執行中繼處理2542a與等值化處理2542b。關於中繼處理2542a及等值化處理2542b的細節係在動作例中詳述,其概略係如下。等值化處理2542b係為,將從IO副機裝置S1~Sn之每一者所收集到的監視資料,藉由透過等值化纜線400之通訊而進行等值化的處理。圖3係等值化處理2542b之流程的流程圖。參照圖3可知,等值化處理2542b的處理內容,係在以運轉系身份而動作時和以待機系身份而動作時,有所不同。該等值化處理2542b的處理內容之詳細,係在動作例之說明中詳述。中繼處理2542a,係將已被等值化處理2542b等值化的監視資料,傳輸至被連接在第2通訊I/F部230上的控制裝置的處理。 The control unit 210 reads the relay control program 2542 from the non-volatile memory unit 254 to the volatile memory unit 252 when the power of the network device 200 is turned on or reset as an opportunity to start its execution. In FIG. 2, the illustration of the power source of the network device 200 is omitted. The control unit 210 that operates in accordance with the relay control program 2542 monitors the operating state of the control device connected to the target and executes the process of setting the operation / standby flag in accordance with the monitoring result. The relay process 2542a and the like Value processing 2542b. The details of the relay process 2542a and the equalization process 2542b are described in detail in the operation example, and the outline is as follows. The equalization process 2542b is a process of equalizing the monitoring data collected from each of the IO slave devices S1 to Sn through communication via the equalization cable 400. FIG. 3 is a flowchart of a flow of the equalization process 2542b. Referring to FIG. 3, it can be seen that the processing content of the equalization process 2542b is different between when the operation is performed as the operation system and when the operation is performed as the standby system. The details of the processing performed by the equalization processing 2542b are described in detail in the description of the operation example. The relay process 2542a is a process of transmitting monitoring data that has been equalized by the equalization process 2542b to a control device connected to the second communication I / F unit 230.

以上係為網路裝置200之構成。 The above is the configuration of the network device 200.

接著,一面參照圖3及圖4,一面說明網路裝置200之動作。此外,在以下所說明的動作例中,假設控 制裝置100A及網路裝置200A係為運轉系,控制裝置100B及網路裝置200B係為待機系。又,在以下所說明的動作例中係針對,在動作開始時點上,網路裝置200A及網路裝置200B之每一者的監視資料緩衝區2522係為空的情形,加以說明。 Next, the operation of the network device 200 will be described with reference to FIGS. 3 and 4. In the operation example described below, it is assumed that the control The control device 100A and the network device 200A are operating systems, and the control device 100B and the network device 200B are standby systems. In the operation example described below, a case where the monitoring data buffer 2522 of each of the network device 200A and the network device 200B is empty at the start point of the operation will be described.

IO副機裝置S1~Sn之每一者,係生成將輸入訊號或是感測器等之輸出訊號進行取樣而發送至控制裝置100A及控制裝置100B之每一者的監視資料,向IO網路30A及IO網路30B之每一者進行送訊。對IO副機裝置S1~Sn所發送的監視資料係被賦予有,含有表示該監視資料之送訊目標及送訊來源的資訊和將該監視資料予以無歧異表示之識別元等的標頭。表示監視資料之送訊目標的資訊之具體例,係舉例如送訊目標之機器的通訊位址或節點號碼。表示監視資料之送訊來源的資訊也是同樣如此。從IO副機裝置S1~Sn之每一者所發送的監視資料,係透過IO網路30A及IO網路30B之每一者而被傳送至網路裝置200A及網路裝置200B之每一者。以下將傳送給網路裝置200A的監視資料稱為「監視資料A」,傳送給網路裝置200B的監視資料稱為「監視資料B」。監視資料A與監視資料B基本上是相同的資料,但有時候會因為各者取樣之際的取樣時序之偏誤而會有些微的不同。 Each of the IO auxiliary device devices S1 to Sn generates monitoring data for sampling each of an input signal or an output signal of a sensor and the like, and sends the monitoring data to each of the control device 100A and the control device 100B to the IO network. Each of 30A and IO network 30B performs transmission. The monitoring data sent to the IO auxiliary device devices S1 to Sn is provided with headers including information indicating the transmission target and transmission source of the monitoring data, and identifying elements for non-discriminatory display of the monitoring data. Specific examples of the information indicating the transmission destination of the monitoring data include, for example, the communication address or node number of the machine to which the transmission destination is transmitted. The same goes for information indicating the source of the surveillance data. The monitoring data sent from each of the IO slave devices S1 to Sn is transmitted to each of the network device 200A and the network device 200B through each of the IO network 30A and the IO network 30B. . Hereinafter, the monitoring data transmitted to the network device 200A is referred to as "monitoring data A", and the monitoring data transmitted to the network device 200B is referred to as "monitoring data B". The monitoring data A and the monitoring data B are basically the same data, but sometimes they may be slightly different due to the sampling timing error during sampling.

一旦網路裝置200A的第1通訊I/F部220係把從IO網路30A所發送過來的監視資料予以接收,則將該接收到的監視資料,寫入至第1通訊I/F部220內的通 訊緩衝區。在網路裝置200B中也是同樣地,在網路裝置200B的第1通訊I/F部220的通訊緩衝區中,寫入從IO網路30B所接收到的監視資料。亦即,在本動作例中,網路裝置200A的第1通訊I/F部220內的通訊緩衝區中係儲存有監視資料A,網路裝置200B的第1通訊I/F部220內的通訊緩衝區中係儲存有監視資料B。 Once the first communication I / F section 220 of the network device 200A receives the monitoring data sent from the IO network 30A, the received monitoring data is written to the first communication I / F section 220 Internal communication Information buffer. Similarly in the network device 200B, the monitoring data received from the IO network 30B is written in the communication buffer of the first communication I / F unit 220 of the network device 200B. That is, in this operation example, the monitoring buffer A is stored in the communication buffer in the first communication I / F section 220 of the network device 200A, and the monitoring data A is stored in the first communication I / F section 220 of the network device 200B. Monitoring data B is stored in the communication buffer.

網路裝置200A的控制部210,係以往第1通訊I/F部220內的通訊緩衝區之監視資料之寫入為契機,換言之,以來自連接目標之IO網路30A之監視資料之收訊為契機,而執行中繼處理2542a。如圖4所示,在中繼處理2542a中,控制部210,係從第1通訊I/F部220內的通訊緩衝區,讀出監視資料(圖4(A):S100),向監視資料緩衝區2522寫入該監視資料(圖4(A):S110)。因此,在本動作例中,網路裝置200A的監視資料緩衝區2522中係儲存有監視資料A。於網路裝置200B中也是同樣地執行S100及S110之處理(參照圖4(B)),在監視資料緩衝區2522中係儲存有監視資料B。此外,在進行往監視資料緩衝區2522的監視資料寫入之際,控制部210,係對表示是否已經等值化的旗標,設置表示尚未等值化的第1值,將該已經設成第1值的旗標,賦予至上記監視資料然後寫入至監視資料緩衝區2522。作為該第1值之具體例,係舉例如0。 The control unit 210 of the network device 200A is the opportunity to write the monitoring data of the communication buffer in the first communication I / F unit 220 in the past, in other words, to receive the monitoring data from the IO network 30A of the connection target. As an opportunity, relay processing 2542a is executed. As shown in FIG. 4, in the relay processing 2542 a, the control unit 210 reads the monitoring data from the communication buffer in the first communication I / F unit 220 (FIG. 4 (A): S100), and sends the monitoring data to the monitoring data. The buffer data is written into the buffer 2522 (FIG. 4 (A): S110). Therefore, in this operation example, the monitoring data A is stored in the monitoring data buffer 2522 of the network device 200A. The processing of S100 and S110 is similarly performed in the network device 200B (see FIG. 4 (B)), and the monitoring data B is stored in the monitoring data buffer 2522. In addition, when writing monitoring data into the monitoring data buffer 2522, the control unit 210 sets a first value indicating that the value has not been equalized to a flag indicating whether it has been equalized, and sets the value to The flag of the first value is assigned to the above-mentioned monitoring data and then written into the monitoring data buffer 2522. A specific example of the first value is, for example, 0.

在網路裝置200A中,控制部210,係以已被賦予了表示尚未等值化之旗標的監視資料對監視資料緩衝 區2522之寫入為契機,執行等值化處理2542b。如圖3所示,在等值化處理2542b中,控制部210係首先,判定自裝置是否成為運轉系而動作(步驟SA100)。具體而言,控制部210係參照揮發性記憶部252中所儲存的運轉/待機旗標,若該旗標之值是表示運轉系的值,則判定自裝置係以運轉系的身份而動作。然後,若步驟SA100的判定結果為“Yes”,則控制部210係執行步驟SA110之處理,反之若步驟SA100的判定結果為“No”,則控制部210係執行步驟SA120以後的處理。如前述,在本動作例中,網路裝置200A係以運轉系的身份而動作。因此,網路裝置200A的控制部210所執行的等值化處理2542b中,步驟SA100的判定結果係為“Yes”,而執行步驟SA110之處理。 In the network device 200A, the control unit 210 buffers the monitoring data with the monitoring data that has been given a flag indicating that it has not been equalized. The writing of the area 2522 is an opportunity to perform the equalization process 2542b. As shown in FIG. 3, in the equalization process 2542b, the control unit 210 first determines whether the own device is operating as an operation system (step SA100). Specifically, the control unit 210 refers to the operation / standby flag stored in the volatile memory unit 252, and if the value of the flag is a value indicating the operation system, it determines that the own device operates as the operation system. Then, if the determination result of step SA100 is "Yes", the control unit 210 executes the processing of step SA110, otherwise, if the determination result of step SA100 is "No", the control unit 210 executes the processing of step SA120 onward. As described above, in this operation example, the network device 200A operates as an operation system. Therefore, in the equivalent processing 2542b performed by the control unit 210 of the network device 200A, the determination result of step SA100 is "Yes", and the processing of step SA110 is performed.

步驟SA100的判定結果為“Yes”時所被執行的步驟SA110中,控制部210係從監視資料緩衝區2522讀出已被賦予表示尚未等值化之旗標的監視資料(圖4(A):S120),將該監視資料透過第3通訊I/F部240而傳輸至其連接目標之網路裝置(圖4(A):S130)。如前述,網路裝置200A的監視資料緩衝區2522中,作為已被賦予有表示尚未等值化之旗標的監視資料,是儲存了監視資料A。因此,在本動作例中,透過等值化纜線400從網路裝置200A往網路裝置200B而傳輸監視資料A。 In step SA110 that is executed when the determination result of step SA100 is "Yes", the control unit 210 reads the monitoring data that has been given a flag indicating that it has not been equalized from the monitoring data buffer 2522 (Figure 4 (A): S120). The monitoring data is transmitted to the network device to which it is connected through the third communication I / F unit 240 (FIG. 4 (A): S130). As described above, the monitoring data buffer 2522 of the network device 200A stores the monitoring data A as the monitoring data that has been given a flag indicating that it has not been equalized. Therefore, in this operation example, the monitoring data A is transmitted from the network device 200A to the network device 200B through the equalization cable 400.

在網路裝置200B中,控制部210,係以透過等值化纜線400被發送過來的資料被第3通訊I/F部240 收訊為契機,來執行等值化處理2542b。在網路裝置200B的控制部210所執行的等值化處理2542b中,也會進行前述的步驟SA100之判定。在本動作例中,網路裝置200B係以待機系的身份而動作,因此網路裝置200B的控制部210所執行的等值化處理2542b之步驟SA100的判定結果係為“No”,而執行步驟SA120以後之處理。在步驟SA120中,控制部210,係將已被第3通訊I/F部240所接收之監視資料,從該第3通訊I/F部240加以取得(圖4(B):S140),以該監視資料來覆寫監視資料緩衝區2522中所儲存之該當監視資料(圖4(B):S150),將被賦予給該監視資料的旗標,改寫成表示已經等值化的第2值。上記所謂該當監視資料,係和圖4(B)之S140中所取得之監視資料的送訊來源相同,且識別元為一致的監視資料。又,作為上記第2值之具體例,係舉例如1。藉此,網路裝置200B的監視資料緩衝區2522中所儲存之監視資料,係從監視資料B更新成監視資料A。 In the network device 200B, the control unit 210 is the third communication I / F unit 240 with the data transmitted through the equalization cable 400. The reception is an opportunity to perform the equalization process 2542b. In the equalization process 2542b performed by the control unit 210 of the network device 200B, the determination of step SA100 described above is also performed. In this operation example, the network device 200B operates as a standby system. Therefore, the determination result of step SA100 of the equalization process 2542b performed by the control unit 210 of the network device 200B is "No" and executed. Processing after step SA120. In step SA120, the control unit 210 obtains the monitoring data that has been received by the third communication I / F unit 240 from the third communication I / F unit 240 (FIG. 4 (B): S140), and This monitoring data overwrites the appropriate monitoring data stored in the monitoring data buffer 2522 (Figure 4 (B): S150), and rewrites the flag given to the monitoring data to a second value indicating that it has been equivalent. . The so-called proper monitoring data is the same as the monitoring data obtained from S140 in FIG. 4 (B), and the identifier is the same monitoring data. As a specific example of the second value described above, for example, 1. Thereby, the monitoring data stored in the monitoring data buffer 2522 of the network device 200B is updated from the monitoring data B to the monitoring data A.

網路裝置200B的控制部210,係一旦用上記之要領而完成監視資料的等值化,就透過等值化纜線400而將等值化完成,通知給網路裝置200A(圖3:步驟SA130)。網路裝置200A的控制部210,係以上記通知之收訊為契機,將圖4(A)之S130中所傳輸的監視資料之旗標,更新成上記第2值。以上動作進行的結果係變成,網路裝置200A及網路裝置200B之每一者的監視資料緩衝區2522中係會儲存有監視資料A,對該監視資料A係 賦予有表示已等值化之旗標的狀態。 The control unit 210 of the network device 200B once the monitoring data is equalized using the above-mentioned method, the equalization is completed through the equalization cable 400, and the network device 200A is notified (Fig. 3: Steps) SA130). The control unit 210 of the network device 200A updates the flag of the monitoring data transmitted in S130 of FIG. 4 (A) to the second value of the above-mentioned notification as an opportunity to receive the notification from the above notification. As a result of the above operations, the monitoring data buffer 2522 of each of the network device 200A and the network device 200B stores monitoring data A, and the monitoring data A is The state is given a flag indicating that it has been equalized.

網路裝置200A的控制部210,係以監視資料緩衝區2522中所儲存之監視資料所被賦予的旗標被更新成表示已等值化之值為契機而再度開始中繼處理2542a,執行圖4(A)之S160及S170的各處理。在S160之處理中,控制部210,係將賦予有表示已等值化之旗標的監視資料,從監視資料緩衝區2522中讀出。然後,在S170之處理中,控制部210,係將S160所讀出的監視資料,寫入至第2通訊I/F部230的通訊緩衝區。於網路裝置200B中也是,以等值化完成之通知的送訊為契機而再度開始中繼處理2542a,執行圖4(B)之S160及S170的各處理。 The control unit 210 of the network device 200A restarts the relay processing 2542a with the flag given by the monitoring data stored in the monitoring data buffer 2522 being updated to indicate that the value has been equalized, and executes the diagram. Each process of S160 and S170 of 4 (A). In the process of S160, the control unit 210 reads the monitoring data with the flag indicating that it has been equalized from the monitoring data buffer 2522. Then, in the process of S170, the control unit 210 writes the monitoring data read by S160 into the communication buffer of the second communication I / F unit 230. In the network device 200B, relay processing 2542a is started again with the transmission of the notification of the equivalent completion as an opportunity, and each processing of S160 and S170 of FIG. 4 (B) is executed.

網路裝置200A的第2通訊I/F部230,係將以上記要領而被寫入至通訊緩衝區的監視資料,發送至其連接目標之控制裝置。網路裝置200B的第2通訊I/F部230也是同樣地,將以上記要領而被寫入至通訊緩衝區的監視資料,發送至其連接目標之控制裝置。因此,在本動作例中,從網路裝置200A往控制裝置100A係發送監視資料A,從網路裝置200B往控制裝置100B也會發送監視資料A。此外,相較於監視資料之收送訊,上記通知之收送訊係非常高速地進行,因此網路裝置200A及網路裝置200B之每一者中的上記旗標之更新係略同步地被執行,S160及S170之各處理也是略同步地被執行。因此,從網路裝置200A往控制裝置100A的監視資料A之送訊、和從網路裝置200B往控制裝置100B的監視資料A之送 訊,係幾乎同步地被執行。 The second communication I / F section 230 of the network device 200A is a monitoring device that writes the above-mentioned methods into the communication buffer and sends it to the control device of the connection destination. Similarly, the second communication I / F unit 230 of the network device 200B sends the monitoring data written in the communication buffer to the control device of the connection destination. Therefore, in this operation example, the monitoring data A is transmitted from the network device 200A to the control device 100A, and the monitoring data A is also transmitted from the network device 200B to the control device 100B. In addition, compared with the sending and receiving of monitoring data, the sending and receiving of the above notification is performed at a very high speed, so the updating of the above flag in each of the network device 200A and the network device 200B is slightly synchronized. Execution, the processes of S160 and S170 are also executed slightly synchronously. Therefore, the monitoring data A is transmitted from the network device 200A to the control device 100A, and the monitoring data A is transmitted from the network device 200B to the control device 100B. The system is executed almost synchronously.

以上係為本實施形態之動作。 The above is the operation of this embodiment.

在圖18所示的先前之冗餘化控制系統中,由於監視資料的等值化是令控制裝置、亦即控制裝置10A及控制裝置10B來進行,因此一旦監視資料之資料量增加,則控制裝置的處理負荷會高出該等值化的份量,導致對原本演算的高速執行造成障礙,存在如此問題。圖5係本實施形態的通訊系統1A之概略圖。在本實施形態中,演算結果的等值化,係藉由透過圖5中的等值化纜線40之通訊而由控制裝置100A及控制裝置100B來執行,但監視資料的等值化,係藉由透過圖5中的等值化纜線400之通訊而由網路裝置200A及網路裝置200B來執行。因此,即使起因於IO網路上所被連接之IO副機裝置之增加等而導致對控制裝置100A及控制裝置100B所傳輸的監視資料之資料量增加,對控制裝置100A及控制裝置100B所施加的處理負荷並不會高出該等值化的份量,對原本的演算之執行不會造成任何障礙。 In the conventional redundant control system shown in FIG. 18, since the equivalent of the monitoring data is performed by the control device, that is, the control device 10A and the control device 10B, once the data amount of the monitoring data increases, the control The processing load of the device will be higher than the equivalent weight, which will cause obstacles to the high-speed execution of the original calculation. This is a problem. FIG. 5 is a schematic diagram of a communication system 1A according to this embodiment. In this embodiment, the equalization of the calculation results is performed by the control device 100A and the control device 100B through the communication via the equalization cable 40 in FIG. 5, but the equalization of the monitoring data is The communication is performed by the network device 200A and the network device 200B through the equalization cable 400 in FIG. 5. Therefore, even if the amount of data on the monitoring data transmitted by the control device 100A and the control device 100B increases due to an increase in the number of IO slave devices connected to the IO network, the amount of data imposed on the control device 100A and the control device 100B is increased. The processing load will not exceed the value of this value, and the implementation of the original calculation will not cause any obstacles.

再者,在本實施形態中,透過圖5中的通訊線LA而已經等值化之監視資料係從網路裝置200A傳輸至控制裝置100A,透過圖5中的通訊線LB而已經等值化之監視資料係從網路裝置200B傳輸至控制裝置100B。然後,基於監視資料的演算結果的等值化,係藉由透過圖5中的等值化纜線40之通訊而被實現。由於對控制裝置100A及控制裝置100B係有已經等值化之監視資料被傳輸 過來,因此即使因為運轉系的控制裝置之停止而導致進行運轉系/待機系的切換時,在控制裝置中仍不需要等待監視資料的等值化完成,可立即進行切換。亦即,若依據本實施形態,則不會導致運轉系/待機系的切換速度降低。 Furthermore, in this embodiment, the monitoring data that has been equalized through the communication line LA in FIG. 5 is transmitted from the network device 200A to the control device 100A, and is equivalentized through the communication line LB in FIG. 5. The monitoring data is transmitted from the network device 200B to the control device 100B. Then, the equalization of the calculation result based on the monitoring data is realized by communication through the equalization cable 40 in FIG. 5. Since the monitoring data of the control device 100A and the control device 100B have been equalized, they are transmitted. In the past, even if the operation system / standby system is switched due to the stop of the operation system control device, the control device does not need to wait for the equalization of the monitoring data to be completed, and can be immediately switched. That is, according to this embodiment, the switching speed of the operation system / standby system does not decrease.

將以上說明做整理,若依據本實施形態,則可提供一種控制系統,係從被連接在第1及第2網路上的1或複數台機器收集監視資料,基於該監視資料來進行控制的控制系統,其特徵為,具有:第1及第2控制裝置,其一方係成為運轉系而進行控制,另一方係成為待機系;和第1中繼裝置,係被連接至第1控制裝置和第1網路;和第2中繼裝置,係被連接至第2控制裝置和第2網路;和控制裝置間通訊手段,係用以仲介第1控制裝置與第2控制裝置之通訊;和中繼裝置間通訊手段,係用以仲介第1中繼裝置與第2中繼裝置之通訊;第1及第2中繼裝置之每一者,係將從1或複數台機器所接收到的監視資料,傳輸給連接目標之控制裝置,並且,透過中繼裝置間通訊手段來進行將該監視資料予以等值化所需之通訊,第1控制裝置與第2控制裝置之中身為運轉系的一方,係使用從連接目標之中繼裝置所接收到的監視資料來進行控制所需之演算,將該演算結果透過控制裝置間通訊手段而傳輸至身為待機系的控制裝置而將演算結果予以等值化。亦即在本發明中,第1控制裝置與第2控制裝置之中身為運轉系的一方,係使用從連接目標之中繼裝置所接收到的監視資料來進行控制所需之演算,將該演算結果透過控制裝置間 通訊手段而傳輸至身為待機系的控制裝置。因此,在控制裝置間中可以只將不含監視資料的演算結果,進行等值化。換言之,本發明的控制裝置間,係可只將演算結果進行等值化。因此,若依據本實施形態,則在冗餘化控制系統中,即使被傳輸至控制裝置的監視資料的資料量增加,仍對控制裝置原本的演算之執行不會造成任何障礙,且不會導致運轉系/待機系的切換速度降低。 Based on the above description, according to this embodiment, a control system can be provided that collects monitoring data from one or a plurality of devices connected to the first and second networks, and performs control control based on the monitoring data. The system is characterized in that: one of the first and second control devices is controlled by the operation system and the other is the standby system; and the first relay device is connected to the first control device and the first control device. 1 network; and a second relay device connected to the second control device and the second network; and a communication means between the control devices is used to mediate the communication between the first control device and the second control device; and Inter-device communication means is used to mediate the communication between the first relay device and the second relay device; each of the first and second relay devices is the monitoring received from one or more machines. The data is transmitted to the control device of the connection target, and the communication required for equalizing the monitoring data is performed through communication means between the relay devices. The first control device and the second control device are the operating systems. , Use the slave connection The standard relay device received the required data to the monitoring control calculation, calculation results using the means of communication between the control means and transmitted to the control device as a standby system and will be the equivalent of calculation results. That is, in the present invention, one of the first control device and the second control device, which is an operation system, uses the monitoring data received from the relay device connected to the target to perform calculations required for control, and performs the calculations. Result through the control device The communication means is transmitted to the control device which is a standby system. Therefore, it is possible to equalize only calculation results that do not include monitoring data in the control room. In other words, between the control devices of the present invention, only the calculation results can be equalized. Therefore, according to this embodiment, in the redundant control system, even if the amount of data of the monitoring data transmitted to the control device increases, the execution of the original calculation of the control device will not cause any obstacles and will not cause The switching speed between the operation system and the standby system is reduced.

又,在圖18所示的先前之冗餘化控制系統中,運轉系與待機系之間的資料通訊的仲介手段,係只有仲介控制裝置彼此之通訊的控制裝置間通訊手段也就是等值化纜線40而已,因此一旦等值化纜線40發生切斷則運轉系與待機系就無法資料通訊,就連彼此監視狀態所需的通訊都無法進行。因此,在先前的冗餘化控制系統中,一旦發生等值化纜線40的切斷,首先,運轉系/待機系之切換就無法進行,然後若運轉系的控制裝置發生故障也就是所謂的多重故障發生時,則有完全無法進行機器控制的問題。 In the conventional redundant control system shown in FIG. 18, the intermediary means of data communication between the operation system and the standby system is equivalent to the inter-controller communication means that only communicates between the intermediary control devices. The cable 40 is only used. Therefore, once the equivalent cable 40 is disconnected, the operation system and the standby system cannot communicate with each other, and even the communication required for monitoring the status cannot be performed. Therefore, in the previous redundant control system, once the equalization cable 40 was disconnected, first, the switching between the operation system and the standby system could not be performed, and then if the control system of the operation system failed, it was also called When multiple faults occur, there is a problem that the machine cannot be controlled at all.

相對於此,在本實施形態中,運轉系與待機系之間的資料通訊的仲介手段,係藉由等值化纜線40與等值化纜線400而被雙重化,即使發生等值化纜線40的切斷,彼此監視狀態所需的通訊仍不至於無法進行。例如,即使在圖6的符號B所示的位置上等值化纜線40發生切斷的情況下,在本實施形態的控制系統中仍可沿著圖6虛線箭頭所示的路徑C1而進行狀態資料的收送訊。具 體而言,令控制裝置100A執行,將表示自裝置之狀態的狀態資料,透過通訊線LA、網路裝置200A、等值化纜線400、網路裝置200B、及通訊線LB而發送至控制裝置100B的處理,令控制裝置100B執行,將表示自裝置之狀態的狀態資料,透過通訊線LB、網路裝置200B、等值化纜線400、網路裝置200A及通訊線LA而發送至控制裝置100A的處理即可。 On the other hand, in this embodiment, the intermediary means for data communication between the operation system and the standby system is doubled by the equalization cable 40 and the equalization cable 400, even if the equalization occurs The disconnection of the cable 40 does not prevent communication required to monitor the status of each other. For example, even when the equalizing cable 40 is cut at the position indicated by the symbol B in FIG. 6, the control system of the present embodiment can still be performed along the path C1 indicated by the dotted arrow in FIG. 6. Delivery of status data. With Specifically, the control device 100A is executed, and the status data indicating the status of the own device is transmitted to the control through the communication line LA, the network device 200A, the equivalent cable 400, the network device 200B, and the communication line LB. The processing of the device 100B causes the control device 100B to execute and send status data indicating the status of the device to the control via the communication line LB, the network device 200B, the equivalent cable 400, the network device 200A, and the communication line LA. The processing of the device 100A is sufficient.

此外,在以上說明的實施形態中,雖然對1台控制裝置是連接1台網路裝置,但亦可如圖7所示,對1台控制裝置是連接複數台網路裝置而變形。圖7所示的系統中,1台控制裝置上係被連接有2台網路裝置。這是因為,在先前之冗餘化控制系統中,若對控制裝置連接複數網路裝置,則往控制裝置傳輸的監視資料之資料量會增加,對控制裝置原本之演算的執行會造成障礙,導致運轉系/待機系的切換速度降低等之不良情形發生,但在本實施形態中,不會發生這類不良情形。 In addition, in the embodiment described above, although one control device is connected to one network device, as shown in FIG. 7, one control device may be modified by connecting a plurality of network devices. In the system shown in Fig. 7, two network devices are connected to one control device. This is because in the previous redundant control system, if a plurality of network devices were connected to the control device, the amount of data of the monitoring data transmitted to the control device would increase, which would hinder the execution of the original calculation of the control device. Defects such as a decrease in the switching speed of the operation system / standby system occur, but in the present embodiment, such problems do not occur.

如圖7所示,即使對1台控制裝置連接有複數台網路裝置200的情況下,由網路裝置200A及網路裝置200B之每一者而往控制裝置100A及控制裝置100B之每一者所傳輸的監視資料的等值化,係藉由透過等值化纜線400A之通訊而由這些網路裝置所執行,透過網路裝置200C及網路裝置200D之每一者而往控制裝置100A及控制裝置100B之每一者所傳輸的監視資料的等值化,係藉由透過等值化纜線400B之通訊而由這些網路裝置所執 行。因此,即使因為1台控制裝置上連接複數台網路裝置而導致傳輸至控制裝置的監視資料之資料量增加,該控制裝置之處理負荷仍不會高出該等值化的份量。 As shown in FIG. 7, even when a plurality of network devices 200 are connected to one control device, each of the network device 200A and the network device 200B goes to each of the control device 100A and the control device 100B. The equalization of the monitoring data transmitted by the user is performed by these network devices through communication through the equalization cable 400A, and to the control device through each of the network device 200C and the network device 200D. The equalization of the monitoring data transmitted by each of the 100A and the control device 100B is performed by these network devices through communication through the equalization cable 400B. Row. Therefore, even if the amount of data of the monitoring data transmitted to the control device increases due to the connection of a plurality of network devices to one control device, the processing load of the control device will not be higher than the equivalent value.

(B:第2實施形態) (B: Second embodiment)

在上記第1實施形態中說明了,藉由透過等值化纜線400之通訊而令網路裝置200A與網路裝置200B進行監視資料的等值化的情形。可是,在如此態樣中一旦發生等值化纜線400之切斷,則會有監視資料的等值化無法進行的問題。本實施形態的網路裝置200A′及網路裝置200B′,係目的在於解決該問題。本實施形態的網路裝置200A′和網路裝置200B′,係判定透過等值化纜線400之資料通訊是否可能,若獲得可能的判定結果則藉由透過等值化纜線400之資料通訊而進行監視資料的等值化。相對於此,若獲得不能的判定結果,則網路裝置200A′和網路裝置200B′,係藉由透過控制裝置100A、等值化纜線40及控制裝置100B之通訊,來進行監視資料的等值化。以下,在沒有必要區別網路裝置200A′和網路裝置200B′時,簡記為「網路裝置200′」。 In the first embodiment described above, the case where the network device 200A and the network device 200B are equalized by the communication through the equalization cable 400 is described. However, if the equalization cable 400 is cut in such an aspect, there is a problem that the equalization of the monitoring data cannot be performed. The network device 200A ′ and the network device 200B ′ of this embodiment are intended to solve this problem. The network device 200A ′ and the network device 200B ′ of this embodiment determine whether data communication through the equalization cable 400 is possible. If a possible determination result is obtained, data communication through the equalization cable 400 is performed. Instead, the monitoring data is equivalentized. On the other hand, if an impossible determination result is obtained, the network device 200A ′ and the network device 200B ′ perform monitoring data by communicating through the control device 100A, the equivalent cable 40, and the control device 100B. Equivalent. Hereinafter, when it is not necessary to distinguish between the network device 200A ′ and the network device 200B ′, it is simply referred to as “network device 200 ′”.

圖8係網路裝置200′之構成例的圖示。由圖8與圖2比對可知,網路裝置200′之構成,係取代中繼控制程式2542改為中繼控制程式2542′是被記憶在非揮發性記憶部254中這點,是和網路裝置200之構成不同。中繼控制程式2542′,係令控制部210執行中繼處理2542a、 等值化處理2542b′、及判定處理2542c的程式。判定處理2542c,係判定透過中繼裝置間通訊手段、亦即等值化纜線400之通訊是否可行的處理。等值化處理2542b′,係在判定處理2542c中判定為可通訊時係透過中繼裝置間通訊手段來進行將監視資料予以等值化所需之通訊,另一方面,在判定為無法通訊時係透過控制裝置間通訊手段亦即等值化纜線40來進行該通訊的處理。亦即,依照中繼控制程式2542′而作動的控制部210,係成為執行中繼處理2542a的中繼手段、執行判定處理2542c的判定手段、及執行等值化處理2542b′的等值化手段而發揮機能。 FIG. 8 is a diagram showing a configuration example of the network device 200 '. It can be seen from the comparison between FIG. 8 and FIG. 2 that the configuration of the network device 200 ′ is to replace the relay control program 2542 to the relay control program 2542 ′, which is stored in the non-volatile memory section 254. The configuration of the road device 200 is different. The relay control program 2542 'instructs the control unit 210 to execute relay processing 2542a, Programs for the equalization process 2542b 'and the determination process 2542c. The determination processing 2542c is a processing for determining whether communication through the communication means between the relay devices, that is, the equalization cable 400 is feasible. The equalization process 2542b ′ means that when it is determined that communication is possible in the determination process 2542c, communication required for equalizing the monitoring data is performed through communication means between relay devices. On the other hand, when it is determined that communication is not possible The communication is performed through the communication means between the control devices, that is, the equalization cable 40. That is, the control unit 210 that operates in accordance with the relay control program 2542 ′ is a relay means that executes the relay process 2542a, a judgment means that executes the judgment process 2542c, and an equivalent means that executes the equalization process 2542b ′. And function.

圖9係含有網路裝置200′的控制系統之概略構成及動作例的圖示。此外,圖9中,網路裝置係簡記為「NW裝置」。又,在圖9中,為了使本實施形態的特徵明確,明示出網路裝置200′是具有判定手段這點。圖9中符號B所示的位置上若等值化纜線400發生斷線,則網路裝置200A′和網路裝置200B′,係無法進行透過等值化纜線400之通訊。此情況下,網路裝置200A′和網路裝置200B′,係沿著圖9中虛線箭頭所示的通訊路徑C2而進行資料通訊,進行監視資料的等值化。若更詳細說明,網路裝置200A′,係將從IO網路30A所接收到的監視資料,依序沿著通訊線LA、控制裝置100A、等值化纜線40、控制裝置100B及通訊線LB所構成的傳輸路徑而發送至網路裝置200B′。網路裝置200B′,係接收上記監視資料,以該監視資料來覆寫自裝置之該當監視資料,將等值化完 成通知予以回送。如此從網路裝置200B′所被回送的等值化完成通知,係依序沿著通訊線LB、控制裝置100B、等值化纜線40、控制裝置100A及通訊線LA而被傳輸至網路裝置200A′,完成監視資料的等值化。 FIG. 9 is a diagram showing a schematic configuration and an operation example of a control system including a network device 200 '. In addition, in FIG. 9, the network device is abbreviated as “NW device”. In addition, in order to clarify the characteristics of the present embodiment, FIG. 9 clearly shows that the network device 200 'has a determination means. If the equalization cable 400 is disconnected at the position shown by the symbol B in FIG. 9, the network device 200A ′ and the network device 200B ′ cannot communicate through the equalization cable 400. In this case, the network device 200A ′ and the network device 200B ′ perform data communication along the communication path C2 indicated by the dotted arrow in FIG. 9, and perform equalization of the monitoring data. To explain in more detail, the network device 200A ′ is the monitoring data received from the IO network 30A, along the communication line LA, the control device 100A, the equivalent cable 40, the control device 100B, and the communication line in this order. The transmission path formed by the LB is transmitted to the network device 200B ′. The network device 200B ′ receives the above monitoring data, and overwrites the corresponding monitoring data from the device with the monitoring data, and completes the equivalent. Return the notification. The equivalent completion notification sent back from the network device 200B ′ is transmitted to the network along the communication line LB, the control device 100B, the equalization cable 40, the control device 100A, and the communication line LA in this order. The device 200A ′ completes the equalization of the monitoring data.

本實施形態中,控制裝置100A及控制裝置100B,係單純只有仲介等值化所需之資料通訊的資料傳送路之機能,因此相較於先前的冗餘化控制系統的情形,可減輕對這些控制裝置所施加的處理負荷。作為上記判定處理2542c之具體例,係可舉出例如:透過等值化纜線400而向對方裝置發送ping,若在所定時間內有回應則判定為可通訊,若無回應則判定為無法通訊的處理。此外,關於控制裝置100A與控制裝置100B之間的狀態資料之收送訊也是,亦可隨應於透過等值化纜線40之資料通訊之可否來切換傳送路徑。具體而言,亦可令控制裝置100A及控制裝置100B之每一者執行:若透過值化纜線40之資料通訊為可能則透過等值化纜線40而向另一方之控制裝置發送狀態資料,若為不可則透過等值化纜線400而向另一方之控制裝置發送狀態資料的處理。 In this embodiment, the control device 100A and the control device 100B only have the function of the data transmission path of the data communication required for the equalization of the mediator. Therefore, compared with the case of the previous redundant control system, it is possible to reduce these problems. The processing load imposed by the control device. As a specific example of the above-mentioned determination processing 2542c, for example, a ping is sent to the counterpart device through the equalization cable 400. If there is a response within a predetermined time, it is determined to be communicable. If there is no response, it is determined to be unable to communicate. Processing. In addition, the transmission and reception of status data between the control device 100A and the control device 100B is also possible, and the transmission path may be switched in accordance with the availability of data communication through the equalization cable 40. Specifically, each of the control device 100A and the control device 100B can also be executed: if the data communication through the valued cable 40 is possible, the status data is sent to the other control device through the valued cable 40 If it is not possible, the process of sending status data to the control device of the other party through the equalization cable 400 is performed.

監視資料的等值化所需之資料通訊是要經由等值化纜線400而進行,還是要經由等值化纜線40而進行的切換,亦可不是隨著透過等值化纜線400之資料通訊之可否而切換,而是隨著控制裝置之處理負荷而切換的態樣。例如,令網路裝置200′計測其連接目標之控制裝置之處理負荷,若所計測到的處理負荷未滿所定之閾值,則藉 由經由運轉系及待機系的各控制裝置及等值化纜線40之資料通訊來進行監視資料的等值化,若控制裝置之處理負荷是所定之閾值以上,則藉由經由等值化纜線400之資料通訊來進行監視資料的等值化;令運轉系及待機系的各網路裝置的控制部執行以上處理即可。此處,作為控制裝置之處理負荷之具體的計測方法係考量,將表示控制裝置中的CPU使用率或記憶體使用率等的資料,從連接目標之控制裝置加以取得,令網路裝置200執行以上處理的態樣。甚至,亦可併用透過等值化纜線400之資料通訊之可否與控制裝置之處理負荷來切換監視資料之傳輸路徑。具體而言,若控制裝置之處理負荷是所定之閾值以上,且透過等值化纜線400之通訊被判定為可能時,則藉由透過等值化纜線400之通訊來進行監視資料的等值化,其他情況下,亦即,控制裝置之處理負荷未滿所定之閾值時,或處理負荷是所定之閾值以上但透過等值化纜線400之通訊為不能時,則藉由透過等值化纜線40之通訊來進行監視資料的等值化即可。 Whether the data communication required for the equalization of the monitoring data is to be switched via the equalization cable 400, or is to be switched via the equalization cable 40, or it may not be the same as passing through the equalization cable 400. Whether the data communication can be switched or not, but the state of switching according to the processing load of the control device. For example, if the network device 200 'measures the processing load of the control device connected to the target, and if the measured processing load does not reach a predetermined threshold, then The monitoring data is equalized by the data communication between each control device of the operation system and the standby system and the equalization cable 40. If the processing load of the control device is equal to or greater than a predetermined threshold, the data is transmitted through the equalization cable. The data communication of the line 400 is used to perform the equivalent of the monitoring data; the control unit of each network device of the operation system and the standby system may perform the above processing. Here, as a specific measurement method of the processing load of the control device, consideration is given to obtaining data indicating the CPU usage rate or the memory usage rate of the control device from the control device of the connection target, and causing the network device 200 to execute Aspects of the above processing. Furthermore, the availability of data communication through the equalization cable 400 and the processing load of the control device can be used in combination to switch the transmission path of the monitoring data. Specifically, if the processing load of the control device is equal to or higher than a predetermined threshold and the communication through the equalization cable 400 is determined to be possible, the monitoring data and the like are transmitted through the communication through the equalization cable 400. Value, in other cases, that is, when the processing load of the control device does not reach the predetermined threshold value, or when the processing load is above the predetermined threshold value but the communication through the equalization cable 400 is not possible, The communication of the cable 40 may be performed to equalize the monitoring data.

又,對監視資料之送訊來源的每台IO副機裝置,是在控制裝置側進行監視資料的等值化,還是在中繼裝置側,亦即在網路裝置側進行的劃分模態係可被預先規定,使關於監視資料的等值化的處理負荷被分散在控制裝置與網路裝置之間。例如,關於從IO副機裝置S1所發送之監視資料係在控制裝置側進行等值化,關於從IO副機裝置S2所發送之監視資料係在網路裝置側進行監視,以 此方式為之。如此一來,與各IO副機裝置之通訊位址建立對應,儲存有表示要由控制裝置側和網路裝置側之哪一方來進行監視資料的等值化的旗標的劃分模態表,是預先被記憶在控制裝置100A及100B和網路裝置200A′及200B′。然後,令網路裝置200A′及200B′係針對該劃分表中被規定成要在中繼裝置側進行等值化的監視資料而進行等值化,令控制裝置100A及100B係針對在該劃分表中規定成要在控制裝置側進行等值化的監視資料而進行等值化即可。又,亦可將上記劃分表隨應於控制裝置之處理負荷而準備複數個,並且設計成,越是對應於高處理負荷的表,則在中繼裝置側進行等值化的監視資料就儲存得越多之內容。 In addition, for each IO auxiliary device device that sends the monitoring data, is the monitoring device equivalent to the monitoring data or the relay device side, that is, the division modal system on the network device side. It may be specified in advance so that the processing load on the equalization of the monitoring data is distributed between the control device and the network device. For example, the monitoring data sent from the IO slave device S1 is equivalent on the control device side, and the monitoring data sent from the IO slave device S2 is monitored on the network device side to This way. In this way, corresponding to the communication address of each IO slave device, a division modal table indicating a flag indicating which of the control device side and the network device side is to be equivalent to the monitoring data is stored. It is stored in advance in the control devices 100A and 100B and the network devices 200A ′ and 200B ′. Then, the network devices 200A ′ and 200B ′ are equalized with respect to the monitoring data specified in the division table to be equalized at the relay device side, and the control devices 100A and 100B are directed at the division The table specifies that monitoring data to be equivalentized on the control device side may be equivalentized. In addition, a plurality of the above-mentioned division tables may be prepared in accordance with the processing load of the control device, and it is designed so that the more corresponding to the table with a high processing load, the monitoring data equivalent to the relay device is stored. The more content there is.

(C:第3實施形態) (C: Third Embodiment)

圖10係本發明的第3實施形態之通訊系統1C之構成例的圖示。 Fig. 10 is a diagram showing a configuration example of a communication system 1C according to a third embodiment of the present invention.

該通訊系統1C也是被敷設在產業設施內的控制系統。在圖10中,與圖1同一要素係標示同一符號。由圖10和圖1的比對可知,通訊系統1C係在以下之3點與通訊系統1A不同。第1,取代控制裝置100A及控制裝置100B而改為設置控制裝置100A′及控制裝置100B′這點。第2,取代網路裝置200A及網路裝置200B而改為設置網路裝置200A′′及網路裝置200B′′這點。然後,第3,在網路裝置200A′′上係被連接有IO網路30C這點。 This communication system 1C is also a control system installed in an industrial facility. In FIG. 10, the same elements as those in FIG. 1 are denoted by the same reference numerals. It can be seen from the comparison between FIG. 10 and FIG. 1 that the communication system 1C is different from the communication system 1A in the following three points. First, the control device 100A ′ and the control device 100B ′ are provided instead of the control device 100A and the control device 100B. Secondly, instead of the network device 200A and the network device 200B, the network device 200A ′ ′ and the network device 200B ′ ′ are installed instead. Thirdly, the IO network 30C is connected to the network device 200A ′.

在IO網路30C上,係被連接有IO副機裝置S1′~Sn′。IO網路30C,係仲介IO副機裝置S1′~Sn′與網路裝置200A′′之間的資料通訊。如前述,將從IO副機裝置S1~Sn所被發送的資料往控制裝置傳送的網路係藉由IO網路30A及IO網路30B而被雙重化,但將從IO副機裝置S1′~Sn′所被發送的資料往控制裝置傳送的網路係未被施以此種雙重化。亦即,網路裝置200A′′係被連接至已被雙重化的網路和未被雙重化的網路。以下將未被雙重化的網路稱為「單獨網路」。 On the IO network 30C, IO slave devices S1 ′ to Sn ′ are connected. The IO network 30C is a data communication between the IO slave device S1 ′ ~ Sn ′ and the network device 200A ′ ′. As described above, the network transmitting the data sent from the IO slave device devices S1 to Sn to the control device is doubled by the IO network 30A and IO network 30B, but from the IO slave device S1 ′ The network system where the data sent by ~ Sn ′ is transmitted to the control device has not been subjected to such a duplication. That is, the network device 200A ′ is connected to a network that has been duplexed and a network that has not been duplexed. Hereinafter, a network that has not been duplicated is referred to as a "separate network."

網路裝置200A′′係和第1實施形態中的網路裝置200A同樣地,中繼IO網路30A與控制裝置100A′之間的資料通訊。網路裝置200B′′也和第1實施形態中的網路裝置200B同樣地,中繼IO網路30B與控制裝置100B′之間的資料通訊。又,網路裝置200A′′和網路裝置200B′′,係和第2實施形態中的網路裝置200A′及網路裝置200B′同樣地,藉由透過等值化纜線400之資料通訊而進行監視資料的等值化。但是,網路裝置200A′′和網路裝置200B′′,係無論連接目標之控制裝置是運轉系還是待機系,都是藉由彼此之狀態監視來進行運轉系/待機系的切換這點,是和網路裝置200不同。 The network device 200A ′ ′ is similar to the network device 200A in the first embodiment, and relays data communication between the IO network 30A and the control device 100A ′. Similarly to the network device 200B in the first embodiment, the network device 200B ′ ′ relays data communication between the IO network 30B and the control device 100B ′. In addition, the network device 200A ′ ′ and the network device 200B ′ ′ are similar to the network device 200A ′ and the network device 200B ′ in the second embodiment, and data communication is performed through the equalization cable 400. Instead, the monitoring data is equivalentized. However, the network device 200A ′ ′ and the network device 200B ′ ′ switch the operation system / standby system by monitoring the status of each other regardless of whether the control device of the connection target is the operation system or the standby system. It is different from the network device 200.

除此以外,網路裝置200A′′和網路裝置200B′′,係針對從IO網路30C所接收到的監視資料,也是進行和上記等值化相同的處理。亦即,網路裝置200A′′的控制部,係將從IO網路30C所接收到的監視資料,透過等值 化纜線400而發送至網路裝置200B′′,網路裝置200B′′的控制部係將該監視資料寫入至監視資料緩衝區。然後,網路裝置200A′′和網路裝置200B′′之每一者,係將從IO網路30C所被發送過來的監視資料,發送至各個連接目標之控制裝置。 In addition, the network device 200A ′ ′ and the network device 200B ′ ′ perform the same processing on the monitoring data received from the IO network 30C as the equivalent of the above. In other words, the control unit of the network device 200A ′ ′ monitors the monitoring data received from the IO network 30C through the equivalent value. The cable 400 is transmitted to the network device 200B ′ ′, and the control unit of the network device 200B ′ ′ writes the monitoring data into the monitoring data buffer. Then, each of the network device 200A ′ ′ and the network device 200B ′ ′ sends the monitoring data sent from the IO network 30C to the control device of each connection target.

控制裝置100A′和控制裝置100B′,係以從IO副機裝置S1~Sn所被發送的資料之收訊為契機,隨應於使用到該資料的第1演算及該第1演算之演算結果而執行機器的控制。除此以外,運轉系的控制裝置,係以從IO副機裝置S1′~Sn′所被發送的資料之收訊為契機,執行使用到該資料的第2演算。亦即,本實施形態中的運轉系的控制裝置,係兼任從IO副機裝置S1~Sn收集資料並進行第1演算的角色,和從IO副機裝置S1′~Sn′收集資料並進行第2演算的角色。 The control device 100A ′ and the control device 100B ′ are based on the receiving of the data transmitted from the IO slave devices S1 to Sn as an opportunity to respond to the first calculation using the data and the calculation result of the first calculation. Instead, control of the machine is performed. In addition, the control system of the operation system takes the opportunity of receiving the data transmitted from the IO auxiliary device devices S1 ′ to Sn ′ as an opportunity to perform the second calculation using the data. That is, the control device of the operation system in the present embodiment also plays a role of collecting data from the IO auxiliary device devices S1 to Sn and performing the first calculation, and collecting data from the IO auxiliary device devices S1 ′ to Sn ′ and performing the first operation. The role of 2 calculus.

若冗餘化控制系統中經由已被雙重化的網路而從IO副機裝置收集資料進行某種演算的控制裝置,可以兼任經由單獨網路而收集資料並執行其他演算的角色,就不需要分開個別架設雙重化網路用與單獨網路用之系統,可期待降低系統之開發運用成本,但是在先前的冗餘化控制系統上難以滿足此種期待。其理由如下。 In a redundant control system, a control device that collects data from an IO slave device and performs some calculations via a network that has been dualized can serve the role of collecting data and performing other calculations through a separate network. It is expected to reduce the cost of system development and operation by separately setting up a system for dual network and separate network, but it is difficult to meet such expectations in the previous redundant control system. The reason is as follows.

例如,假設只有圖18中的網路裝置20A連接單獨網路。此情況下,從網路裝置20A往控制裝置10A,係會給予從單獨網路所接收到的資料和從已被雙重化之網路所接收到的資料,另一方面,從網路裝置20B往控制裝 置10B,係只會給予從已被雙重化之網路所接收到的資料。一旦被給予至控制裝置10A與控制裝置10B的資料不一致,則在冗餘化控制系統之中會判定成錯誤,在此種系統中,原本就無法採用如上述的連接形態。 For example, it is assumed that only the network device 20A in FIG. 18 is connected to a separate network. In this case, from the network device 20A to the control device 10A, the data received from the separate network and the data received from the network that has been doubled are given. On the other hand, from the network device 20B To control Setting 10B only gives the data received from the network that has been doubled. Once the data given to the control device 10A and the control device 10B are inconsistent, an error will be determined in the redundant control system. In such a system, the connection form as described above cannot be adopted originally.

又,即使如上述的不一致未被判定成錯誤的情況下,如上述的連接形態下,一旦因為運轉系的控制裝置之故障等而導致發生運轉系/待機系的切換,則對切換後之運轉系的控制裝置係不會給予來自單獨網路之收訊資料,從單獨網路所被發送過來的資料之收集及使用到該資料之演算會無法繼續。亦即,即使對先前之冗餘化控制系統中所含之已被雙重化之控制裝置之一方給予經由單獨網路之資料而能夠讓其進行所定之演算,仍無法保證演算可以穩定執行。 In addition, even if the above-mentioned inconsistency is not determined as an error, as in the above-mentioned connection mode, if the operation system / standby system is switched due to a failure of the control system of the operation system, etc., the operation after the switching is performed The control device of the system will not give the receiving data from the separate network, and the calculation of collecting and using the data sent from the separate network will not continue. That is, even if one of the dual control devices included in the previous redundant control system is given data via a separate network to enable it to perform a predetermined calculation, there is no guarantee that the calculation can be performed stably.

相對於此,若依據本實施形態,則即使發生關於控制裝置的運轉系/待機系之切換,對切換後之運轉系的控制裝置係會被繼承給予從單獨網路所接收到的監視資料,該監視資料之收集及使用該資料的演算可毫無問題地繼續進行。例如,圖10所示的通訊系統1C中,即使運轉系是從控制裝置100A′切換成控制裝置100B′,網路裝置200A′′係依然是運轉系的中繼裝置,網路裝置200B′′係依然是待機系的中繼裝置。因此,從IO副機裝置S1′~Sn′之每一者所被發送的監視資料,係以IO網路30C→網路裝置200A′′→等值化纜線400→網路裝置200B′′→控制裝置100B′的方式而被傳送至控制裝置100B′。亦即,若 依據本實施形態,則可使冗餘化控制系統中經由已被雙重化之網路而從IO副機裝置收集資料並進行某種演算的控制裝置,兼任經由單獨網路而收集資料執行其他演算的角色,相較於分開個別架設雙重化網路用與單獨網路用之系統的情形,可降低系統之開發運用成本。此外,令關於網路裝置之運轉系/待機系的切換追隨於關於控制裝置的運轉系/待機系之切換的情況下,只要令被連接在單獨網路上的網路裝置,無論該網路裝置是否為運轉系,都將透過該單獨網路所接收到的監視資料,透過中繼裝置間通訊手段或控制裝置間通訊手段而傳輸至另一方之網路裝置,令其進行該監視資料的等值化的處理即可。 On the other hand, according to this embodiment, even if the switching of the operation system / standby system of the control device occurs, the control device system of the switched operation system will be inherited by the monitoring data received from the separate network. The collection of the surveillance data and the calculations using the data can continue without problems. For example, in the communication system 1C shown in FIG. 10, even if the operation system is switched from the control device 100A ′ to the control device 100B ′, the network device 200A ′ ′ is still a relay device of the operation system, and the network device 200B ′ ′ The system is still a standby device. Therefore, the monitoring data sent from each of the IO slave devices S1 ′ to Sn ′ is based on the IO network 30C → the network device 200A ′ ′ → the equivalent cable 400 → the network device 200B ′ ′ → The control device 100B ′ is transmitted to the control device 100B ′. That is, if According to this embodiment, a control device that can collect data from an IO slave device and perform a certain calculation in a redundant control system via a network that has been doubled can also perform data collection and data collection through a separate network. Compared with the case of separately setting up a dual network system and a separate network system, it can reduce the cost of system development and use. In addition, in a case where the switching of the operation system / standby system of the network device follows the switching of the operation system / standby system of the control device, as long as the network device connected to a separate network is made, regardless of the network device Whether it is an operating system, the monitoring data received through the separate network will be transmitted to the network device of the other party through the communication means between the relay devices or the communication means between the control devices, so that they can perform the monitoring data, etc. The value can be processed.

(D:第4實施形態) (D: Fourth Embodiment)

圖11係本發明的第4實施形態之通訊系統1D之構成例的圖示。 Fig. 11 is a diagram showing a configuration example of a communication system 1D according to a fourth embodiment of the present invention.

該通訊系統1D也是被敷設在產業設施內的控制系統。在圖11中,與圖1同一要素係標示同一符號。在圖11中係圖示,對IO網路30A及30B的IO副機裝置S1~S3之詳細連接態樣,這點是和圖1不同。如圖11所示,IO副機裝置Sn(n=1~3)之每一者係透過IO主機MAn而被連接至IO網路30A,透過IO主機MBn而被連接至IO網路30B。此外,在圖11中,IO主機係簡記為「IOM」。IO主機MAn,係將IO副機裝置Sn所輸出的監視資料,往IO網路30A送出。IO主機MBn,係將IO 副機裝置Sn所輸出的監視資料,往IO網路30B送出。此外,在圖1中,IO副機裝置S1~Sn之詳細連接形態的圖示係被省略但,和圖11相同。 This communication system 1D is also a control system installed in an industrial facility. In FIG. 11, the same elements as those in FIG. 1 are denoted by the same symbols. FIG. 11 is a diagram showing the detailed connection state of the IO slave devices S1 to S3 of the IO networks 30A and 30B, which is different from FIG. 1. As shown in FIG. 11, each of the IO slave devices Sn (n = 1 to 3) is connected to the IO network 30A through the IO host MAn, and is connected to the IO network 30B through the IO host MBn. In addition, in FIG. 11, the IO host system is abbreviated as "IOM". The IO master MAn sends monitoring data output by the IO slave device Sn to the IO network 30A. IO host MBn, is the IO The monitoring data output by the slave device Sn is sent to the IO network 30B. In addition, in FIG. 1, the illustration of the detailed connection form of the IO slave devices S1 to Sn is omitted, but is the same as that in FIG. 11.

由圖11和圖1的比對可知,通訊系統1D,係取代網路裝置200A及網路裝置200B而改為設置網路裝置200A′′′及網路裝置200B′′′這點是和第1實施形態的通訊系統1A不同。本實施形態的網路裝置200A′′′及網路裝置200B′′′也是一方是以運轉系的身份而動作,另一方是以待機系的身份而動作。本實施形態中,和前述的第1實施形態同樣地,在網路裝置200A′′′及網路裝置200B′′′之中,被連接至運轉系的控制裝置100之一方是以運轉系的身份而動作。以下,和第1實施形態之說明同樣地,在沒有必要區別網路裝置200A′′′和網路裝置200B′′′時,簡記為「網路裝置200′′′」。 It can be seen from the comparison between FIG. 11 and FIG. 1 that the communication system 1D replaces the network device 200A and the network device 200B with the network device 200A ′ and the network device 200B ′ ′. The communication system 1A of the first embodiment is different. The network device 200A ′ ′ and the network device 200B ′ ′ ′ of this embodiment also operate as an operating system and the other operates as a standby system. In this embodiment, as in the first embodiment described above, among the network device 200A ′ ′ and the network device 200B ′ ′ ′, one of the control devices 100 connected to the operation system is an operation system. Identity. Hereinafter, as in the description of the first embodiment, when there is no need to distinguish between the network device 200A ′ ′ ′ and the network device 200B ′ ′ ′, it is abbreviated as “network device 200 ′ ″”.

在圖18所示的先前之冗餘化控制系統中,運轉系的控制裝置發生某種障礙時是想當然爾,就連透過網路裝置而被連接至運轉系的控制裝置的IO網路或對該IO網路連接IO副機裝置的IO主機上發生某種障礙時,都需要進行運轉系/待機系的切換。這是因為,一旦上記IO網路或IO主機發生障礙,則經由該IO網路或IO主機之監視資料,係無法抵達運轉系的控制裝置。相對於此,在本實施形態中,藉由令網路裝置200′′′執行本實施形態特有之處理,而可構成為,即使上記IO網路或IO主機發生某種障礙,仍不需要進行運轉系/待機系的切換就可繼續控 制對象裝置之控制,這點係為本實施形態的特徵。以下,說明顯著表示本實施形態的特徵的網路裝置200′′′。 In the conventional redundant control system shown in FIG. 18, it is assumed that the control system of the operation system has some trouble. Even if it is connected to the IO network of the control system of the operation system through the network device, When some kind of trouble occurs on the IO host connected to the IO slave device in this IO network, it is necessary to switch between the operation system and the standby system. This is because if the IO network or IO host fails, the monitoring data via the IO network or IO host cannot reach the control device of the operation system. On the other hand, in this embodiment, the network device 200 ′ ′ ′ is allowed to execute the processing peculiar to this embodiment, and it can be configured so that even if some trouble occurs in the IO network or IO host described above, it is not necessary to perform Switching between running / standby system can continue to control The control of the target device is a feature of this embodiment. In the following, a network device 200 ′ ″ that significantly shows the characteristics of this embodiment will be described.

圖12係網路裝置200′′′之構成例的圖示。在圖12中,與圖2同一構成要素係標示同一符號。由圖12與圖2比對可知,網路裝置200′′′之構成,係取代中繼控制程式2542改為中繼控制程式2542′′′是被記憶在非揮發性記憶部254中這點,是和網路裝置200之構成不同。中繼控制程式2542′′′,係取代等值化處理2542b而改為令控制部210執行等值化送訊處理2542b1及等值化收訊處理2542b2這點,是和第1實施形態的中繼控制程式2542不同。 FIG. 12 is a diagram showing a configuration example of a network device 200 '. In FIG. 12, the same components as those in FIG. 2 are denoted by the same reference numerals. As can be seen from the comparison between FIG. 12 and FIG. 2, the configuration of the network device 200 ′ ″ is replaced by the relay control program 2542 and the relay control program 2542 is stored in the non-volatile memory section 254. Is different from the composition of the network device 200. The relay control program 2542 is used in place of the equalization process 2542b and instead causes the control unit 210 to execute the equalization transmission process 2542b1 and the equalization reception process 2542b2, which is the same as that in the first embodiment. Following the control program 2542 is different.

網路裝置200′′′的控制部210,係以網路裝置200′′′之電源(圖示略)之開啟或重置為契機而從非揮發性記憶部254往揮發性記憶部252讀出中繼控制程式2542′′′,並開始其執行。圖13係網路裝置200′′′的控制部210依照中繼控制程式2542′′′所執行的動作的說明圖。在圖13中,與圖4同一處理係標示同一符號。依照中繼控制程式2542′′′而作動的控制部210,係和前述的第1實施形態中的控制部210同樣地,以監視資料往第1通訊I/F部220內的通訊緩衝區之寫入為契機,亦即以來自連接目標之IO網路30的監視資料之收訊為契機,執行中繼處理2542a。如前述,在中繼處理2542a中,控制部210係從第1通訊I/F部220內的通訊緩衝區讀出監視資料(圖13:S100),往監視資料緩衝區2522寫入該監視 資料(圖13:S110)。此外,在往監視資料緩衝區2522進行監視資料之寫入之際,給予設置表示尚未等值化之第1值的旗標然後寫入至監視資料緩衝區2522這點,也是和第1實施形態相同。 The control unit 210 of the network device 200 ′ reads from the non-volatile memory portion 254 to the volatile memory portion 252 by turning on or resetting the power supply (not shown) of the network device 200 ′ as an opportunity. Out of the relay control program 2542 "and start its execution. FIG. 13 is an explanatory diagram of an operation performed by the control unit 210 of the network device 200 'according to the relay control program 2542'. In FIG. 13, the same processes as those in FIG. 4 are denoted by the same symbols. The control unit 210 which operates in accordance with the relay control program 2542 ′ is the same as the control unit 210 in the first embodiment described above, and monitors data to the communication buffer in the first communication I / F unit 220. Writing is an opportunity, that is, the receiving process of monitoring data from the IO network 30 connected to the target is used as an opportunity to perform the relay processing 2542a. As described above, in the relay processing 2542a, the control unit 210 reads monitoring data from the communication buffer in the first communication I / F unit 220 (FIG. 13: S100), and writes the monitoring data to the monitoring data buffer 2522. Data (Figure 13: S110). In addition, when writing monitoring data to the monitoring data buffer 2522, a flag indicating a first value that has not been equalized is set and written to the monitoring data buffer 2522. This is also the same as the first embodiment. the same.

由圖13和圖4的比對可知,等值化送訊處理2542b1與等值化收訊處理2542b2之組合,係對應於等值化處理2542b。第1實施形態中的等值化處理2542b的執行契機,係在運轉系的網路裝置與待機系的網路裝置上不同。例如,在運轉系中是以已被賦予了表示尚未等值化之旗標的監視資料對監視資料緩衝區2522之寫入為契機而執行等值化處理2542b,在待機系中是以透過等值化纜線400而接收到監視資料為契機而執行等值化處理2542b。相對於此,等值化送訊處理2542b1之執行契機係在運轉系的網路裝置與待機系的網路裝置上沒有不同,等值化收訊處理2542b2之執行契機也沒有不同。 It can be seen from the comparison between FIG. 13 and FIG. 4 that the combination of the equalization transmission processing 2542b1 and the equalization reception processing 2542b2 corresponds to the equalization processing 2542b. The execution opportunity of the equalization process 2542b in the first embodiment is different between the network device in the operation system and the network device in the standby system. For example, in the operation system, the equalization process 2542b is performed based on the writing of the monitoring data buffer 2522 to the monitoring data that has been given a flag indicating that it has not been equalized. In the standby system, the equivalent value is transmitted When the cable 400 is received and the monitoring data is received, the equivalence processing 2542b is executed. In contrast, the execution opportunity of the equivalent transmission processing 2542b1 is not different between the network device of the operation system and the network device of the standby system, and the execution opportunity of the equivalent reception processing 2542b2 is also different.

若更詳細說明,網路裝置200′′′的控制部210,係無論是否以運轉系的身份而動作,都是以已被賦予了表示尚未等值化之旗標的監視資料對監視資料緩衝區2522之寫入為契機而執行等值化送訊處理2542b1。在等值化送訊處理2542b1中,控制部210係從監視資料緩衝區2522讀出已被賦予了表示尚未等值化之旗標的監視資料(圖13:S120),將該監視資料給予至第3通訊I/F部240(圖13:S130),傳輸至另一方之網路裝置。因此,在本實施形態中,網路裝置200A′′′從IO網路30A所接收 到的監視資料A係透過等值化纜線400而被傳輸至網路裝置200B′′′,網路裝置200B′′′從IO網路30B所接收到的監視資料B也是透過等值化纜線400而被傳輸至網路裝置200A′′′。 To explain in more detail, the control unit 210 of the network device 200 ′, regardless of whether it operates as an operating system or not, uses the monitoring data that has been given a flag indicating that it has not been equivalent to the monitoring data buffer. The writing of 2522 is an opportunity to perform the equivalent transmission process 2542b1. In the equalization transmission process 2542b1, the control unit 210 reads out the monitoring data (FIG. 13: S120) to which the flag indicating that it has not been equalized is read from the monitoring data buffer 2522, and gives the monitoring data to the first 3Communication I / F section 240 (Figure 13: S130) is transmitted to the other network device. Therefore, in this embodiment, the network device 200A is received from the IO network 30A. The received monitoring data A is transmitted to the network device 200B ′ through the equalization cable 400. The monitoring data B received by the network device 200B ′ from the IO network 30B is also transmitted through the equalization cable. The line 400 is transmitted to the network device 200A '".

依照中繼控制程式2542′′′而作動的控制部210,係以透過等值化纜線400而從另一方之網路裝置200′′′接收到監視資料為契機,而執行等值化收訊處理2542b2。圖14係等值化收訊處理2542b2之流程的流程圖。如圖14所示,控制部210,係首先判定,與透過等值化纜線400而從另一方之網路裝置200′′′所接收到的監視資料之送訊來源之IO副機裝置之通訊,是否可能(步驟SB100)。與上記監視資料之送訊來源之IO副機裝置之通訊是否可能的具體判定方法,係考慮利用例如ping等之既存技術。 The control unit 210, which operates in accordance with the relay control program 2542 ′ ′, performs the equalization receiving based on the opportunity to receive monitoring data from the other network device 200 ′ ′ through the equalization cable 400. News processing 2542b2. FIG. 14 is a flowchart of the process of the equivalent receiving process 2542b2. As shown in FIG. 14, the control unit 210 first determines whether the IO slave device is the source of the monitoring data received from the other network device 200 ′ ′ through the equivalent cable 400. Is communication possible (step SB100). A specific method for determining whether communication with the IO slave device of the source of the above-mentioned monitoring data is possible is to consider using an existing technology such as ping.

若步驟SB100的判定結果為“No”,亦即無法通訊時,則控制部210,係以透過等值化纜線400而從另一方之網路裝置200′′′所接收到的監視資料,將原本應透過自裝置之連接目標之IO網路30而接收的監視資料,亦即往自裝置上所被連接之控制裝置100發送的監視資料,予以補足(步驟SB110)。由於無法與IO副機裝置通訊,因此不會接收到來自該IO副機裝置之監視資料,步驟SB110係用來補足該監視資料之缺損所需之處理。若更詳細說明,在步驟SB110中,控制部210,係將透過等值化纜線400所接收到的監視資料之標頭部之表示送訊目 標的資訊,改寫成表示被連接至自裝置的控制裝置100的資訊,賦予已設置表示尚未等值化之第1值的旗標而寫入至監視資料緩衝區2522。接下來,控制部210,係在步驟SB110中將已寫入至監視資料緩衝區2522的監視資料之旗標,更新成表示已經等值化的第2值,並且將等值化完成,通知給另一方之網路裝置(步驟SB150),完成等值化收訊處理2542b2。此外,如上述,步驟SB100的判定結果為“No”時,由於對另一方之網路裝置200′′′沒有進行經由等值化纜線400之監視資料之傳輸,因此只要在該另一方之網路裝置中以上記通知之收訊為契機而偵測等值化完成,將該當之監視資料之旗標予以更新即可。 If the determination result of step SB100 is "No", that is, when communication is not possible, the control unit 210 uses the monitoring data received from the other network device 200 ′ ′ through the equivalent cable 400, The monitoring data that should be received through the IO network 30 of the connection target of the self-device, that is, the monitoring data sent to the control device 100 connected to the self-device, is supplemented (step SB110). Since it cannot communicate with the IO auxiliary device, it will not receive the monitoring data from the IO auxiliary device. Step SB110 is used to make up the processing required for the defect of the monitoring data. To explain in more detail, in step SB110, the control unit 210 sends a message indicating the header of the monitoring data received through the equalization cable 400. The target information is rewritten into information indicating that the control device 100 is connected to the own device, and a flag indicating that the first value has not been equalized is set and written into the monitor data buffer 2522. Next, the control unit 210 updates the flag of the monitoring data written in the monitoring data buffer 2522 in step SB110 to a second value indicating that it has been equalized, and notifies the completion of the equalization. The other network device (step SB150) completes the equivalent reception processing 2542b2. In addition, as described above, when the determination result of step SB100 is "No", since the monitoring data of the other party's network device 200 '"is not transmitted via the equalization cable 400, as long as the other party's The receiving of the above notification in the network device is an opportunity and the detection and equivalentization is completed, and the flag of the current monitoring data can be updated.

相對於此,若步驟SB100的判定結果為“Yes”,亦即可通訊時,則控制部210係和前述的步驟SA100同樣地,判定自裝置是否為運轉系(步驟SB120)。若步驟SB120的判定結果為“Yes”,亦即自裝置是運轉系時,則控制部210係將透過等值化纜線400而從另一方之網路裝置200′′′所接收到的監視資料予以丟棄(步驟SB130),然後,將被當成對應於該監視資料而被寫入至監視資料緩衝區2522的監視資料的等值化旗標更新成第2值(步驟SB150),結束等值化收訊處理2542b2。反之若步驟SB120的判定結果為“No”,亦即自裝置是待機系時,則控制部210係和前述的步驟SA120之處理同樣地,以透過等值化纜線400而從另一方之網路裝置200′′′所接收到的監視資料,將被當成對應於該監視資料而被寫入至監視 資料緩衝區2522的監視資料予以置換(步驟SB140),其後,執行步驟SB150之處理而結束等值化收訊處理2542b2。 On the other hand, if the determination result of step SB100 is "Yes", that is, when communication is possible, the control unit 210 determines whether the own device is an operating system in the same manner as in step SA100 described above (step SB120). If the determination result of step SB120 is "Yes", that is, when the self-device is an operating system, the control unit 210 will monitor the received from the other network device 200 'through the equalization cable 400. The data is discarded (step SB130), and then the equivalent flag of the monitoring data written to the monitoring data buffer 2522 corresponding to the monitoring data is updated to a second value (step SB150), and the equivalent is ended Chemical reception processing 2542b2. On the other hand, if the determination result of step SB120 is “No”, that is, when the self-device is a standby system, the control unit 210 system performs the same processing as that of step SA120 to pass from the network of the other party through the equalization cable 400 The monitoring data received by the road device 200 ′ will be written to the monitoring as corresponding to the monitoring data The monitoring data in the data buffer 2522 is replaced (step SB140), and thereafter, the processing in step SB150 is executed to end the equivalent reception processing 2542b2.

以上係為網路裝置200′′′之構成。 The above is the configuration of the network device 200 '.

接下來,以控制裝置100A是運轉系,控制裝置100B是待機系時,亦即網路裝置200A′′′是運轉系,網路裝置200B′′′是待機系時為例,說明本實施形態的動作。若IO主機MAn(n=1~3)和IO主機MBn(n=1~3)全部都健全地動作,且IO網路30A及IO網路30B均沒有發生斷線等之障礙,則從IO副機裝置Sn(n=1~3)所被發送的監視資料An,係透過IO網路30A而抵達網路裝置200A′′′,同樣從IO副機裝置Sn所被發送的監視資料Bn,係透過IO網路30B而抵達網路裝置200B′′′。 Next, this embodiment will be described using the control device 100A as the operation system and the control device 100B as the standby system, that is, when the network device 200A ′ ′ ′ is the operation system and the network device 200B ′ ″ is the standby system. Actions. If both IO host MAn (n = 1 ~ 3) and IO host MBn (n = 1 ~ 3) are operating soundly, and there are no obstacles such as disconnection in IO network 30A and IO network 30B, then from IO The monitoring data An sent by the slave device Sn (n = 1 ~ 3) is the monitoring data Bn sent from the IO slave device Sn to the network device 200A through the IO network 30A. It reaches the network device 200B 'through the IO network 30B.

如前述,在網路裝置200A′′′及網路裝置200B′′′之每一者中,係以透過第1通訊I/F部220而接收到監視資料為契機,而執行中繼處理2542a。其結果為,如圖15(A)所示,網路裝置200A′′′的監視資料緩衝區2522中係會儲存有監視資料An,網路裝置200B′′′的監視資料緩衝區2522中係會儲存有監視資料Bn。又,以尚未等值化之監視資料往監視資料緩衝區2522之寫入為契機,而在網路裝置200′′′中會執行等值化送訊處理2542b1。其結果為,如圖15(A)所示,從網路裝置200A′′往網路裝置200B′′經由等值化纜線400而傳輸監視資料An,從網路裝置200B′′′往網路裝置200A′′′經由等值化纜線400而傳輸監視資料Bn。 As described above, in each of the network device 200A ′ ′ and the network device 200B ′ ′ ′, relay processing 2542a is executed with the opportunity to receive monitoring data through the first communication I / F unit 220. . As a result, as shown in FIG. 15 (A), the monitoring data An in the monitoring data buffer 2522 of the network device 200A ′ is stored in the monitoring data buffer 2522 in the network device 200B ′. The monitoring data Bn is stored. In addition, taking the opportunity to write the monitoring data that has not been equalized to the monitoring data buffer 2522, the network device 200 '"will perform the equivalent transmission process 2542b1. As a result, as shown in FIG. 15 (A), the monitoring data An is transmitted from the network device 200A ′ ′ to the network device 200B ′ ′ via the equalization cable 400, and from the network device 200B ′ ′ to the network. The channel device 200A 'transmits the monitoring data Bn via the equalization cable 400.

如前述,網路裝置200′′′的控制部210係每次透過第3通訊I/F部240接收監視資料就執行等值化收訊處理2542b2。具體而言,網路裝置200A′′′的控制部210係每次透過第3通訊I/F部240接收監視資料Bn就執行等值化收訊處理2542b2。在本動作例中,IO主機MAn(n=1~3)係全部都健全地動作,且IO網路30A上沒有發生斷線等之障礙。因此,網路裝置200A′′′的控制部210所執行的等值化收訊處理2542b2中,步驟SB100的判定結果係為“Yes”,會執行步驟SB120以後之處理。網路裝置200A′′′係為運轉系,因此步驟SB120的判定結果係為“Yes”,會執行步驟SB130之處理。亦即,透過第3通訊I/F部240而由網路裝置200A′′′所接收到的監視資料Bn係全部被丟棄。 As described above, each time the control unit 210 of the network device 200 ′ ′ receives the monitoring data through the third communication I / F unit 240, it performs the equivalent reception processing 2542 b 2. Specifically, each time the control unit 210 of the network device 200A ′ receives the monitoring data Bn through the third communication I / F unit 240, it performs the equivalent reception processing 2542b2. In this operation example, all of the IO hosts MAn (n = 1 to 3) are operating soundly, and there are no obstacles such as disconnection on the IO network 30A. Therefore, in the equivalent reception processing 2542b2 performed by the control unit 210 of the network device 200A ′, the determination result of step SB100 is “Yes”, and the processing after step SB120 is performed. The network device 200A ′ is an operating system, so the determination result of step SB120 is “Yes”, and the processing of step SB130 is executed. That is, all the monitoring data Bn received by the network device 200A ′ through the third communication I / F unit 240 are discarded.

於網路裝置200B′′′中也是同樣地,每次透過第3通訊I/F部240而接收到監視資料An就會執行等值化收訊處理2542b2。網路裝置200B′′′的控制部210所執行的等值化收訊處理2542b2中也是,步驟SB100的判定結果係為“Yes”,會執行步驟SB120以後之處理。網路裝置200B′′′係為待機系,因此步驟SB120的判定結果係為“No”,會執行步驟SB140之處理。亦即,網路裝置200B′′′的監視資料緩衝區2522中所被儲存之監視資料Bn係全部被置換成,透過第3通訊I/F部240而從網路裝置200A′′′所接收到的監視資料An(參照圖15(B))。其結果為,對控制裝置100A係經由網路裝置200A′′′而被傳 輸監視資料An,對控制裝置100B也是經由網路裝置200B′′′而被傳輸監視資料An。 The same applies to the network device 200B ′ ′, and each time the monitoring data An is received through the third communication I / F section 240, the equivalent reception processing 2542b2 is performed. The equivalent reception processing 2542b2 performed by the control unit 210 of the network device 200B ′ is also performed. The determination result of step SB100 is “Yes”, and the processing from step SB120 onward is performed. The network device 200B ′ is a standby system. Therefore, the determination result of step SB120 is “No”, and the processing of step SB140 is performed. That is, all the monitoring data Bn stored in the monitoring data buffer 2522 of the network device 200B ′ are replaced with, and are received from the network device 200A ′ through the third communication I / F section 240. The monitoring data An (see FIG. 15 (B)). As a result, the control device 100A is transmitted via the network device 200A ′. The monitoring data An is also transmitted to the control device 100B via the network device 200B ′ ′ ′.

相對於此,若在IO主機MA1和IO主機MB2中發生某種障礙時,則如圖16(A)所示,網路裝置200A′′′原本所應接收的監視資料A1係有缺損,網路裝置200B′′′原本所應接收的監視資料B2也有缺損。此外,圖16(A)中的NULL係表示監視資料之缺損的意思。此情況下,如圖16(A)所示,從網路裝置200A′′′往網路裝置200B′′′經由等值化纜線400而傳輸監視資料A2及A3,從網路裝置200B′′′往網路裝置200A′′′經由等值化纜線400而傳輸監視資料B1及B3。 On the other hand, if some kind of trouble occurs in the IO host MA1 and the IO host MB2, as shown in FIG. 16 (A), the monitoring data A1 originally received by the network device 200A ′ is defective. The monitoring device B2 that the road device 200B should originally receive is also defective. In addition, NULL in FIG. 16 (A) means the defect of the monitoring data. In this case, as shown in FIG. 16 (A), the monitoring data A2 and A3 are transmitted from the network device 200A ′ ′ to the network device 200B ′ ′ ′ via the equalization cable 400, and from the network device 200B ′ The monitoring data B1 and B3 are transmitted to the network device 200A through the equalization cable 400.

以透過第3通訊I/F部240而接收到監視資料B1為契機而於網路裝置200A′′′中所被執行的等值化收訊處理2542b2中,步驟SB100的判定結果係為“No”,執行步驟SB110之處理。其結果為,如圖16(B)所示,網路裝置200A′′′原本所應接收的監視資料A1,係被監視資料B1所補足。同樣地,以透過第3通訊I/F部240而接收到監視資料A2為契機而於網路裝置200B′′′上所被執行的等值化收訊處理2542b2中也是,步驟SB100的判定結果係為“No”,執行步驟SB110之處理。其結果為,如圖16(B)所示,網路裝置200B′′′原本所應接收的監視資料B2,係被監視資料A2所補足。在本動作例中,對控制裝置100A,係有作為已經等值化之監視資料的監視資料B1、監視資料A2及監視資料A3,被從網路裝置200A′′′ 傳輸過來;對控制裝置100B係有作為已經等值化之監視資料的監視資料B1、監視資料A2及監視資料A3被從網路裝置200B′′′傳輸過來。於本動作例中,對身為運轉系的控制裝置也就是控制裝置100A,係從網路裝置200A′′′傳輸已經等值化之監視資料過來,因此可毫無問題地繼續控制對象裝置之控制等。 Taking the opportunity to receive the monitoring data B1 through the third communication I / F unit 240 as an opportunity, in the equivalent reception processing 2542b2 performed in the network device 200A ′ ′, the determination result of step SB100 is “No ", The process of step SB110 is executed. As a result, as shown in FIG. 16 (B), the monitoring data A1 originally received by the network device 200A ′ was supplemented by the monitoring data B1. Similarly, in the equivalent reception processing 2542b2 performed on the network device 200B ′ ′ with the opportunity to receive the monitoring data A2 through the third communication I / F unit 240, the determination result of step SB100 is also obtained. If it is "No", the process of step SB110 is executed. As a result, as shown in FIG. 16 (B), the monitoring data B2 originally received by the network device 200B ′ was supplemented by the monitoring data A2. In this operation example, the control device 100A includes monitoring data B1, monitoring data A2, and monitoring data A3 which are equivalent monitoring data, and is controlled from the network device 200A '' ' It is transmitted; to the control device 100B, the monitoring data B1, the monitoring data A2, and the monitoring data A3 which are the equivalent monitoring data are transmitted from the network device 200B. In this operation example, the control device 100A, which is the operation system, is the control device 100A. The monitoring data is transmitted from the network device 200A ', which is equivalent to the control device. Therefore, it is possible to continue to control the target device without any problems. Control, etc.

如此若依據本實施形態,則透過網路裝置而被連接至運轉系之控制裝置的IO網路或被連接至該IO網路的複數IO主機即使發生某種故障,仍不需要進行關於控制裝置的運轉系/待機系之切換,可降低冗餘化控制系統中的運轉系/待機系的切換的發生頻率,可達成如此效果。甚至,若依據本實施形態,則透過網路裝置而被連接至運轉系之控制裝置的IO網路上所被連接的IO主機發生故障,透過網路裝置而被連接至待機系之控制裝置的IO網路上所被連接的IO主機也發生故障,即使發生這種多重故障的情況下,仍然只要這些IO主機不是被連接在同一IO機器,就可繼續控制對象裝置之控制,相較於前述的第1實施形態,可更為提高對多重故障的耐性,可達成如此效果。此外,在本實施形態中,是令待機系的網路裝置,將從IO網路所接收到的所有監視資料,經由網路裝置間的等值化纜線400而往運轉系的網路裝置傳輸,但亦可僅將運轉系中有缺損的監視資料予以傳輸。令待機系的網路裝置偵測運轉系中的監視資料之缺損的方法,係可想到數種方法。例如,從運轉系的網路裝置經由網路裝置間 的等值化纜線而往待機系的網路裝置發送該運轉系的網路裝置已經接收之監視資料之識別元資訊之清單,基於該清單而令待機系的網路裝置偵測運轉系中的監視資料之缺損即可。又亦可為,待機系的網路裝置經由IO網路而接收監視資料然後經過所定時間仍未經由網路裝置間的等值化纜線而接收到該監視資料所對應之資料時,則令待機系的網路裝置判定為運轉系中的監視資料發生缺損。 In this way, according to this embodiment, even if some kind of failure occurs in the IO network connected to the control device of the operation system through the network device or the IO host connected to the IO network, there is no need to perform the control device. The switching of the operation system / standby system can reduce the frequency of switching between the operation system and the standby system in the redundant control system, and this effect can be achieved. Furthermore, according to this embodiment, the IO host connected to the IO network connected to the control device of the operating system via the network device fails, and the IO connected to the control device of the standby system via the network device. The IO hosts connected to the network also fail. Even in the case of such multiple failures, as long as these IO hosts are not connected to the same IO machine, they can continue to control the control of the target device, compared with the aforementioned first section. According to the first embodiment, the resistance to multiple failures can be further improved, and such an effect can be achieved. In addition, in this embodiment, the standby network device is configured to cause all monitoring data received from the IO network to pass through the equivalent cable 400 between the network devices to the operating network device. Transmission, but it is also possible to transmit only the monitoring data that is defective in the operation system. Several methods are conceivable for making the network device of the standby system detect the defect of the monitoring data in the operation system. For example, from an operating network device The equivalent cable is used to send a list of identification metadata of the monitoring data that the network device of the operating system has received to the network device of the standby system, and based on the list, the network device of the standby system detects the operation system. Defective surveillance data is sufficient. Alternatively, if the standby network device receives the monitoring data through the IO network, and after a predetermined time has passed, the data corresponding to the monitoring data is not received by the equalization cable between the network devices. The standby network device determined that the monitoring data in the operating system was defective.

又,IO副機裝置S1~S3中含有控制對象裝置時,則關於從控制裝置100往控制對象裝置所被發送的演算資料,亦即關於以已經等值化之監視資料為基礎的表示演算結果的資料之傳輸控制,也是只要隨應於將該控制對象裝置連接至IO網路30的IO主機有無故障而同樣地進行即可。例如圖16(B)中的IO副機裝置S1~S3之每一者是控制對象裝置時,則對IO副機裝置S1,係沿著控制裝置100A→網路裝置200A′′′→等值化纜線400→網路裝置200B′′′→IO網路30B此一傳送路徑而傳輸演算資料即可。同樣地,對IO副機裝置S2及S3,係沿著控制裝置100A→網路裝置200A′′→IO網路30A此一傳送路徑而傳輸演算資料即可。 In addition, when the IO auxiliary device devices S1 to S3 include the control target device, the calculation data sent from the control device 100 to the control target device, that is, the calculation result based on the monitoring data that has been equalized is displayed. The transmission control of the data may be similarly performed as long as there is no failure in the IO host connected to the control target device to the IO network 30. For example, when each of the IO auxiliary device devices S1 to S3 in FIG. 16 (B) is a control target device, the IO auxiliary device device S1 is along the control device 100A → the network device 200A ′ ′ → the equivalent value. It is only necessary to transmit the calculation data through the transmission path of the cable 400 → the network device 200B ′ ″ → the IO network 30B. Similarly, for the IO auxiliary device devices S2 and S3, the calculation data may be transmitted along the transmission path of the control device 100A → network device 200A ′ ′ → IO network 30A.

除此以外,在本實施形態中也是,監視資料的等值化係在網路裝置200′′′上被進行,因此當然也和前述的第1實施形態同樣地,被傳輸至控制裝置的監視資料之資料量即使增加,對控制裝置原本的演算之執行仍不會造成任何障礙,且不會導致運轉系/待機系的切換速度降 低,可達成如此效果。 In addition, in this embodiment, the equivalent of the monitoring data is performed on the network device 200 ′ ′. Therefore, it is of course transmitted to the monitoring of the control device similarly to the first embodiment described above. Even if the amount of data is increased, the implementation of the original calculation of the control device will not cause any obstacles and will not cause the switching speed of the operation system / standby system to decrease. Low, can achieve this effect.

在上記實施形態中,雖然說明了IO主機上發生某種障礙的情形,但在IO網路30中發生斷線等之障礙時,或將IO網路30和網路裝置200′′′做連接的通訊線中發生斷線等之障礙時,關於原本應經由該IO網路30而接收的所有監視資料,當然也可進行上記補足。又,在上記實施形態中,雖然對網路裝置200′′′所連接的已被雙重化之IO網路是只有1個,但亦可如圖17所示,已被雙重化之IO網路係可被複數連接。例如,在圖17中係例示,對網路裝置200′′′所連接的已被雙重化之IO網路係為2個的情形。 In the embodiment described above, although a situation in which a certain failure occurs on the IO host has been explained, when an obstacle such as a disconnection occurs in the IO network 30, or the IO network 30 and the network device 200 '' 'are connected In the event of an interruption in the communication line, such as the above, all the monitoring data that should have been received via the IO network 30 can be supplemented. In the embodiment described above, although there is only one IO network that has been doubled connected to the network device 200 ′ ′, as shown in FIG. 17, the IO network has been doubled. Departments can be connected in plural. For example, FIG. 17 illustrates a case where there are two IO networks that have been doubled and connected to the network device 200 ′ ″.

一般在冗餘化控制系統中,從IO副機裝置到運轉系的控制裝置100的資料之傳輸路徑或逆方向之傳輸路徑若有變動係較不理想。於是,將表示步驟SB100中判定為無法通訊之送訊來源的識別資訊寫入至揮發性記憶部252的所定之記憶領域,以後,在該記憶領域中來自有被記憶識別資訊之機器的監視資料係總是以經由等值化纜線400而被接收到的監視資料進行補足或置換,以自裝置之斷電或重置為契機而將上記記憶領域進行初期化,令網路裝置200′′′的控制部210執行以上處理即可。若依據如此態樣,則在上記補足等發生後,進行IO主機等之修理,變成不需要進行補足等的情況下,仍會直到進行網路裝置200′′′之斷電或重置以前,從IO副機裝置到運轉系的控制裝置100的資料之傳輸路徑都不會被切換成不進行上記補 足等之路徑,可避免因路徑切換所造成的影響。 Generally, in a redundant control system, it is not ideal if there is a change in the data transmission path or the reverse transmission path from the IO slave device device to the control device 100 in the operation system. Then, the identification information indicating the transmission source that was determined to be unable to communicate in step SB100 is written to a predetermined memory area of the volatile memory section 252, and thereafter, monitoring data from the machine in which the identification information is memorized is stored in this memory area. The system always supplements or replaces the monitoring data received through the equalization cable 400, and initializes the above-mentioned memory field with the power off or reset of the device as an opportunity to make the network device 200 ′ ′ The control unit 210 may perform the above processing. According to this aspect, after the above-mentioned replenishment, etc., the repair of the IO host and the like becomes unnecessary, and the replenishment and the like will continue until the network device 200 ′ ′ ′ is powered off or reset. The data transmission path from the IO auxiliary machine device to the control system 100 of the operation system will not be switched to not perform the above-mentioned supplement. A full path can avoid the impact caused by path switching.

(E:變形) (E: deformation)

以上雖然說明了本發明的第1、第2、第3及第4實施形態,但這些實施形態當然也可施加以下之變形。 Although the first, second, third, and fourth embodiments of the present invention have been described above, it goes without saying that these embodiments can be modified as follows.

(1)在上記第1實施形態中係說明,在網路裝置200A和網路裝置200B之中從運轉系的網路裝置往待機系的網路裝置透過等值化纜線400而發送監視資料並記憶,是以所謂的推播型之資料通訊來實現監視資料的等值化的情形。可是,亦可以用,令待機系的網路裝置執行經由等值化纜線400而從運轉系的網路裝置取得監視資料以更新自裝置之監視資料的處理的索取型之資料通訊來實現監視資料的等值化。關於其他實施形態也是同樣如此。 (1) In the first embodiment described above, it is explained that monitoring data is transmitted from the network device of the operating system to the network device of the standby system through the equalization cable 400 among the network devices 200A and 200B. And memory, the so-called push-type data communication to achieve the equivalent of surveillance data. However, the monitoring can also be implemented by request-type data communication in which the standby network device executes the processing of obtaining monitoring data from the operating network device via the equivalent cable 400 to update the monitoring data from the device. Equivalence of data. The same applies to other embodiments.

(2)上記第2實施形態與第3實施形態亦可組合。具體而言,只要令網路裝置200A′′及網路裝置200B′′之每一者,判定透過等值化纜線400之資料通訊之可否,若為可能則令其執行透過等值化纜線400而向另一方之網路裝置發送監視資料,若為不可則透過等值化纜線40而向另一方之網路裝置發送監視資料的處理即可。同樣地第2實施形態與第4實施形態亦可組合,又,第2、第3及第4實施形態亦可組合。 (2) The second embodiment and the third embodiment described above may be combined. Specifically, as long as each of the network device 200A ′ ′ and the network device 200B ′ ′ is made to determine whether or not data communication through the equalization cable 400 is possible, it is allowed to execute it through the equalization cable if possible. Line 400 to send monitoring data to the other network device, if it is not possible, the process of sending monitoring data to the other network device through the equalization cable 40 is sufficient. Similarly, the second embodiment and the fourth embodiment may be combined, and the second, third, and fourth embodiments may be combined.

(3)在上記各實施形態中,說明了對將從IO副機裝置所收集到的監視資料往控制裝置傳輸的閘道裝置,適用本發明的例子。可是,本發明的適用對象係當然 不限定於閘道裝置,亦可為路由器或重複器、交換式集線器等其他種類之中繼裝置。甚至,本發明的中繼裝置上所被連接的網路係當然不限定於IO網路等之控制系網路或序列式匯流排,亦可為將TCP等之通用通訊協定的資料通訊予以仲介的一般之資訊系網路。重點是,只要是收集監視資料,使用該監視資料執行演算的控制裝置,和被連接至輸出監視資料之機器上所被連接的網路上,將透過該網路所接收到的資料往該控制裝置進行傳輸的中繼裝置,都可適用本發明。 (3) In each of the above embodiments, an example in which the present invention is applied to a gateway device that transmits monitoring data collected from an IO slave device to a control device has been described. However, the object of application of the present invention is of course It is not limited to the gateway device, and may be other types of relay devices such as routers, repeaters, and switching hubs. Furthermore, the network to be connected to the relay device of the present invention is not limited to a control network such as an IO network or a serial bus, and can also be used to mediate data communication of a general communication protocol such as TCP. General information for the Internet. The important point is that as long as the control device collects monitoring data, uses the monitoring data to perform calculations, and is connected to the network connected to the machine that outputs the monitoring data, the data received through the network will be sent to the control device The present invention is applicable to any relay device that performs transmission.

(4)亦可為,將上記各實施形態的通訊系統中所含之網路裝置亦即中繼裝置,以單體來作提供的態樣,亦即,製造、販售中繼裝置單體的態樣。這是因為,藉由將此種網路裝置與先前之冗餘化控制系統中的網路裝置做置換,以中繼裝置間等值化纜線將這些網路裝置彼此連接,就可使先前之冗餘化控制系統,成為上記各實施形態的通訊系統而發揮機能。 (4) It is also possible to use a single unit as the network device included in the communication system of each of the embodiments described above, that is, a relay device, that is, to manufacture and sell a single relay device. Appearance. This is because by replacing such a network device with a network device in a previous redundant control system and connecting these network devices to each other with an equalization cable between relay devices, the previous The redundant control system functions as the communication system of each embodiment described above.

(5)在上記各實施形態中,顯著表示本發明的特徵的中繼處理2542a及等值化處理2542b(在第4實施形態中係為等值化送訊處理2542b1及等值化收訊處理2542b2),亦可藉由軟體來實現。可是,執行中繼處理2542a的中繼手段和執行等值化處理2542b的等值化手段之每一者亦可用電子電路來構成,將這些電子電路加以組合而構成上記第1~第3各實施形態的網路裝置。關於第4實施形態的網路裝置200′′′也是同樣如此。又,在上記 實施形態中,作為中繼裝置間通訊手段是採用等值化纜線,但亦可將無線LAN介面等之無線通訊手段當作中繼裝置間通訊手段來使用。又,網路裝置200A和網路裝置200B是被實裝在1個框體時,則亦可將連接兩裝置的匯流排,當作中繼裝置間通訊手段來使用。關於控制裝置間通訊手段也是同樣如此。 (5) In each of the above embodiments, the relay processing 2542a and the equalization processing 2542b, which are significant features of the present invention (the fourth embodiment is the equivalent transmission processing 2542b1 and the equivalent reception processing 2542b2) can also be implemented by software. However, each of the relay means that executes the relay process 2542a and the equivalent means that executes the equalization process 2542b may be constituted by electronic circuits. These electronic circuits are combined to form each of the first to third embodiments described above. Network device. The same applies to the network device 200 '' 'of the fourth embodiment. Again, in the note In the embodiment, an equivalent cable is used as a communication means between the relay devices, but a wireless communication means such as a wireless LAN interface can also be used as a communication means between the relay devices. In addition, when the network device 200A and the network device 200B are installed in a single casing, the bus connecting the two devices can also be used as a communication means between the relay devices. The same applies to the means of communication between the control devices.

(6)在上記各實施形態中係說明了,對於無論控制裝置100A及控制裝置100B之每一者、或控制裝置100A′及控制裝置100B′之每一者是運轉系還是待機系,都是使用透過連接目標之網路裝置所接收到的監視資料來進行機器控制所需之演算的情況,亦即熱待機方式之控制系統,適用本發明的情形。可是,本發明的適用對象係不限定於熱待機方式之控制系統,亦可對暖待機方式之控制系統,適用本發明。暖待機方式之控制系統,係已被雙重化之控制裝置之一方會變成運轉系而執行上記演算,另一方係變成待機系而防備運轉系的故障這點是和熱待機方式之控制系統相同,但在待機系的控制裝置中係不執行上記演算,這點係為不同。又,在上記第1~第3實施形態中,即使在待機系的網路裝置中也是,會執行將第1通訊I/F部220所接收到的監視資料寫入至監視資料緩衝區2522的處理(圖4(B):S100及S110之各處理),但在待機系的網路裝置中係亦可省略該處理。這是因為,藉由圖4(B)之S100及S110之各處理而被寫入至監視資料緩衝區2522的監視資料,係會被等值化處理2542b之 步驟SA120之處理所覆寫殆盡的緣故。 (6) In each of the above embodiments, it has been explained that for each of the control device 100A and the control device 100B, or whether each of the control device 100A ′ and the control device 100B ′ is an operation system or a standby system, When the monitoring data received through the network device connected to the target is used to perform calculations required for machine control, that is, the control system of the hot standby mode, the present invention is applicable. However, the applicable object of the present invention is not limited to the control system of the hot standby mode, but can also be applied to the control system of the warm standby mode. The control system of the warm standby mode is the same as the control system of the hot standby mode in which one of the control devices that has been doubled will become the operating system and perform the calculation above, and the other will become the standby system to prevent the failure of the operating system. However, the above-mentioned calculation is not performed in the control device of the standby system, which is different. Furthermore, in the first to third embodiments described above, even in a standby network device, the monitoring data received by the first communication I / F unit 220 is written to the monitoring data buffer 2522. Processing (Fig. 4 (B): each processing of S100 and S110), but this processing may be omitted in the network device of the standby system. This is because the monitoring data written into the monitoring data buffer 2522 through the processing of S100 and S110 in FIG. 4 (B) is equivalent to the processing of 2542b. The process of step SA120 is completely overwritten.

Claims (11)

一種控制系統,係從被連接在第1及第2網路上的1或複數台機器收集監視資料,基於該監視資料來進行控制的控制系統,其特徵為,具備:第1及第2控制裝置,其一方係成為運轉系而進行前記控制,另一方係成為待機系;和第1中繼裝置,係被連接至前記第1控制裝置和前記第1網路;和第2中繼裝置,係被連接至前記第2控制裝置和前記第2網路;和中繼裝置間通訊手段,係用以仲介前記第1中繼裝置與前記第2中繼裝置之通訊;和控制裝置間通訊手段,係用以仲介前記第1控制裝置與前記第2控制裝置之通訊;前記第1及第2中繼裝置係具備:判定手段,係用以判定透過前記中繼裝置間通訊手段之通訊可否進行;前記第1及第2中繼裝置之每一者,係將從前記1或複數台機器所接收到的監視資料,傳輸給連接目標之控制裝置,並且,在被前記判定手段判定為可通訊時,係藉由透過前記中繼裝置間通訊手段之通訊,來進行監視資料的等值化,另一方面,在被前記判定手段判定為無法通訊時,係藉由透過前記控制裝置間通訊手段之通訊,來進行監視資料的等值化;前記第1控制裝置與前記第2控制裝置之中身為運轉系的一方,係使用從連接目標之中繼裝置所接收到的監視資料,來進行前記控制。A control system is a control system that collects monitoring data from one or a plurality of machines connected to the first and second networks and performs control based on the monitoring data, and is characterized by comprising: first and second control devices , One of which becomes the operation system and performs the preamble control, and the other becomes the standby system; and the first relay device is connected to the preamble first control device and preamble first network; and the second relay device, Is connected to the second control device and the second network; the communication means between the relay devices is used to mediate the communication between the first relay device and the second relay device; and the communication device between the control devices, It is used to mediate the communication between the first control device and the second control device; the first and second relay devices are equipped with: judging means to determine whether the communication through the communication means between the relay devices can be carried out; Each of the first and second relay devices in the preamble is to transmit the monitoring data received from the preamble 1 or a plurality of devices to the control device of the connection target, and when it is judged as communicable by the preface judgment means , The equivalent of the monitoring data is communicated through the communication means between the relay devices in the preamble, and on the other hand, when it is determined that the communication cannot be communicated by the preface judgment means, the communication means between the devices is controlled through the preface Communication to equivalence of monitoring data; the first control device and the second control device in the predecessor, which are the operating systems, use the monitoring data received from the relay device connected to the predecessor control . 如請求項1所記載之控制系統,其中,前記第1及第2中繼裝置之其中一方,係執行把從連接目標之網路所接收到的監視資料傳輸給另一方之中繼裝置的處理,來作為將監視資料予以等值化之處理;前記第1及第2中繼裝置之其中另一方係執行,把從連接目標之網路所接收到的監視資料,以作為對應於該監視資料而從前記一方之中繼裝置所接收到的監視資料加以置換的處理,來作為將監視資料予以等值化之處理。The control system as described in claim 1, wherein one of the first and second relay devices described above performs a process of transmitting the monitoring data received from the network of the connection target to the relay device of the other party , As a process to equalize the monitoring data; the other one of the first and second relay devices described above is executed, and the monitoring data received from the network connected to the target is used as corresponding to the monitoring data The process of replacing the monitoring data received from the relay device on the previous side is used as the process of equalizing the monitoring data. 如請求項1或請求項2所記載之控制系統,其中,前記第1及第2控制裝置,係判定透過前記控制裝置間通訊手段之通訊是否為可能,若為可能,則藉由將表示自裝置有無故障的狀態資料透過前記控制裝置間通訊手段進行收送訊以監視另一方有無故障,若為不可能,則藉由透過前記中繼裝置間通訊手段來收送前記狀態資料以監視另一方有無故障。The control system as described in claim 1 or claim 2, wherein the first and second control devices in the preamble determine whether communication through the communication means between the preamble control devices is possible, and if it is possible, by indicating from The status data of whether the device is faulty is sent through the communication means between the pre-control devices to monitor whether the other party is faulty. If it is impossible, the pre-status data is sent through the communication means between the relay devices to monitor the other party. Are there any faults? 如請求項1所記載之控制系統,其中,前記第1及第2中繼裝置,係將從複數台機器之每一者所發送的監視資料,予以接收;針對前記複數台機器之每一者,預先規定好要在中繼裝置側進行還是要在控制裝置側進行從該機器所發送之監視資料的等值化;前記第1及第2中繼裝置之每一者係進行,從被規定成要在中繼裝置側進行等值化之機器所接收到的監視資料的等值化;前記第1及第2控制裝置之每一者係進行,透過連接目標之中繼裝置所接收到的監視資料之中的從被規定成要在控制裝置側進行等值化的機器所發送的監視資料的等值化。The control system as described in claim 1, wherein the first and second relay devices in the foregoing are to receive the monitoring data sent from each of the plurality of machines; for each of the plurality of previous machines , It is specified in advance whether it is to be performed on the relay device side or on the control device side to perform equivalence of the monitoring data sent from the device; Equalization of the monitoring data received by the machine that is to be equalized on the relay device side; each of the first and second control devices described above is performed through the relay device connected to the target Among the monitoring data, the equalization of the monitoring data sent from the device that is to be equalized on the control device side is specified. 如請求項1所記載之控制系統,其中,前記第1及第2中繼裝置之每一者係具有:第1處理手段,係用以把從連接目標之網路所接收到的監視資料傳輸給另一方之中繼裝置;和第2處理手段,係用以判定是否可和從另一方之中繼裝置所接收到之監視資料的送訊來源之機器進行通訊,把原本應從被判定為無法通訊之機器所接收的監視資料,以從該另一方之中繼裝置所接收到的監視資料,加以補足。The control system as recited in claim 1, wherein each of the first and second relay devices described above has: a first processing means for transmitting the monitoring data received from the network connected to the target To the relay device of the other party; and the second processing means is to determine whether it is possible to communicate with the machine of the source of the monitoring data received from the relay device of the other party, and the original should be judged as impossible The monitoring data received by the communicating machine is supplemented by the monitoring data received from the relay device of the other party. 如請求項5所記載之控制系統,其中,前記第2處理手段,係將表示被判定為無法通訊之機器的識別資訊,記憶在記憶裝置,針對識別資訊已被記憶在該記憶裝置中的機器,是藉由從另一方之中繼裝置所接收到的監視資料來進行補足或置換,另一方面,以自裝置的斷電或重置為契機而將前記記憶裝置的記憶內容予以初期化。The control system as recited in claim 5, wherein the second processing means in the preceding section stores the identification information indicating the machine determined to be unavailable for communication in the memory device, and targets the machine whose identification information has been stored in the memory device It is supplemented or replaced by the monitoring data received from the relay device of the other party. On the other hand, the memory contents of the previous memory device are initialized with the opportunity of power off or reset from the device. 如請求項1所記載之控制系統,其中,前記第1及第2中繼裝置係具備:負荷計測手段,係用以計測對連接目標之控制裝置所施加的處理負荷;前記第1及第2中繼裝置之每一者,係前記負荷計測手段所計測到的處理負荷是所定之閾值以上,且被前記判定手段判定為可通訊時,則藉由透過前記中繼裝置間通訊手段之通訊來進行監視資料的等值化,其他情況則是藉由透過前記控制裝置間通訊手段之通訊來進行監視資料的等值化。The control system according to claim 1, wherein the first and second relay devices described above are provided with: load measurement means for measuring the processing load applied to the control device of the connection target; the first and second notes For each of the relay devices, when the processing load measured by the prescriptive load measuring means is above a predetermined threshold value and is determined to be communicable by the prescriptive determination means, the communication is performed through the communication means between the prescriptive relay devices. The equivalence of monitoring data is carried out. In other cases, the equivalence of monitoring data is carried out by means of communication through the communication means between the control devices. 如請求項1所記載之控制系統,其中,前記第1及第2中繼裝置係具備:負荷計測手段,係用以計測對連接目標之控制裝置所施加的處理負荷;並且,為了使得前記第1及第2控制裝置的處理負荷越高在中繼裝置側進行等值化的監視資料就越多,監視資料的等值化是要在中繼裝置側進行還是要在控制裝置側進行的劃分模態,是隨應於前記處理負荷而被規定有複數種;前記第1及第2中繼裝置之每一者係進行,在前記負荷計測手段所計測到之處理負荷所相應的劃分模態中被規定成,要在中繼裝置側進行等值化的監視資料的等值化;前記第1及第2控制裝置之每一者係進行,在自裝置之處理負荷所相應的劃分模態中被規定成,要在控制裝置側進行等值化的監視資料的等值化。The control system according to claim 1, wherein the first and second relay devices described above are provided with: load measurement means for measuring the processing load applied to the control device of the connection target; The higher the processing load of the 1st and 2nd control devices, the more monitoring data is equalized on the relay device side. Is the monitoring data equalized on the relay device side or on the control device side? Modal is a plurality of modes that are specified in accordance with the processing load in the previous note; each of the first and second relay devices in the previous note is divided into modalities corresponding to the processing load measured by the load measurement method in the previous note It is specified that the equalization of the monitoring data to be equalized on the relay device side; each of the first and second control devices described in the foregoing is to be divided into modes corresponding to the processing load of the self-device It is stipulated that the monitoring data to be equalized is to be equalized on the control device side. 如請求項1所記載之控制系統,其中,前記第1及第2中繼裝置之任一方,係被連接有第3網路;被連接至前記第3網路的中繼裝置,係從被連接在前記第3網路上的機器,收集監視資料,將所收集到的監視資料傳輸至自裝置所連接的控制裝置並且也傳輸至另一方之中繼裝置。The control system as described in claim 1, wherein either one of the first and second relay devices described above is connected to the third network; the relay device connected to the third network described above is connected from the The machine connected to the third network described above collects monitoring data, and transmits the collected monitoring data to the control device connected from the device and also to the relay device of the other party. 如請求項1所記載之控制系統,其中,透過前記中繼裝置間通訊手段而進行通訊的前記第1中繼裝置及前記第2中繼裝置所形成的中繼裝置對,是具有複數對。The control system according to claim 1, wherein the relay device pair formed by the first relay device and the second relay device communicating through the communication means between the relay devices has plural pairs. 一種中繼裝置,係被連接至第1及第2控制裝置之一方,前記第1及第2控制裝置係被連接至控制裝置間通訊手段,且一方係成為運轉系進行控制而另一方係成為待機系,並且,前記中繼裝置係被連接至發送監視資料的1或複數台機器所連接的第1網路,將從前記1或複數台機器所發送的監視資料予以傳輸至連接目標之控制裝置,其特徵為,具有:通訊介面部,係被連接至中繼裝置間通訊手段,前記中繼裝置間通訊手段係仲介與其他中繼裝置的通訊,前記其他中繼裝置係被連接至前記1或複數台機器所連接之第2網路和前記第1及第2控制裝置之其中另一方;和控制部,係執行:中繼處理,係將透過前記第1網路而從前記1或複數台機器所接收到的監視資料傳輸給連接目標之控制裝置;和判定處理,係判定透過前記中繼裝置間通訊手段之通訊可否進行;和等值化處理,係在前記判定處理中判定為可通訊時係透過前記中繼裝置間通訊手段來進行將該監視資料予以等值化所需之通訊,另一方面,在判定為無法通訊時係透過前記控制裝置間通訊手段來進行該通訊。A relay device is connected to one of the first and second control devices. The first and second control devices are connected to the communication means between the control devices, and one side becomes the operation system to control and the other side becomes The standby system, and the preamble relay device is connected to the first network connected to the one or more devices that send monitoring data, and transmits the monitoring data sent from the preamble 1 or the multiple devices to the control of the connection target The device is characterized by having a communication interface, which is connected to the inter-relay communication means, the inter-relay inter-relay communication means is the communication between the intermediary and other relay devices, and the pre-recorded other relay devices are connected to the preamble 1 or the second network connected to a plurality of machines and the other of the first and second control devices; and the control unit, which executes: relay processing, will be from the previous 1 or 1 through the first network The monitoring data received by a plurality of machines is transmitted to the control device of the connection target; and the determination process is to determine whether the communication through the communication means between the relay devices in the previous note can be performed; and the equalization process is determined in the previous decision process as When communication is possible, the communication necessary for equalizing the monitoring data is performed through the communication means between the relay devices, and on the other hand, when it is determined that communication is impossible, the communication is performed through the communication means between the control devices.
TW104140781A 2015-02-12 2015-12-04 Control system, and relay device TWI674488B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
PCT/JP2015/053787 WO2016129075A1 (en) 2015-02-12 2015-02-12 Control system and relay device
??PCT/JP2015/053787 2015-02-12

Publications (2)

Publication Number Publication Date
TW201640243A TW201640243A (en) 2016-11-16
TWI674488B true TWI674488B (en) 2019-10-11

Family

ID=55725066

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104140781A TWI674488B (en) 2015-02-12 2015-12-04 Control system, and relay device

Country Status (4)

Country Link
KR (1) KR101815202B1 (en)
CN (1) CN105519050B (en)
TW (1) TWI674488B (en)
WO (1) WO2016129075A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6614668B2 (en) * 2016-12-27 2019-12-04 サイレックス・テクノロジー株式会社 Communication control system, device server, communication control method and program
JP6920828B2 (en) * 2017-02-17 2021-08-18 三菱パワー株式会社 Plant diagnostic equipment and diagnostic methods
US10620613B2 (en) * 2017-08-21 2020-04-14 Fisher-Rosemount Systems, Inc. High performance control server system
JP2019083441A (en) * 2017-10-31 2019-05-30 村田機械株式会社 Control system, control device, conversion device, control method of control system, control method of control device, and control method of conversion device
JP7186565B2 (en) * 2018-09-26 2022-12-09 住友重機械工業株式会社 injection molding system, injection molding machine
JP7264098B2 (en) * 2020-03-26 2023-04-25 横河電機株式会社 control system
JP7563907B2 (en) 2020-07-13 2024-10-08 Necプラットフォームズ株式会社 Event processing system, processing device, processing method, and program
KR102717304B1 (en) * 2021-12-24 2024-10-15 한국전자기술연구원 Sensor connection method and device of radar RFIC using network bus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW594497B (en) * 2003-02-25 2004-06-21 Icp Electronics Inc Information processing device including network automatic duplicating function and method thereof
TW201242316A (en) * 2011-03-06 2012-10-16 Pcn Technology Inc Systems and methods of data transmission and management
JP2013012094A (en) * 2011-06-30 2013-01-17 Mitsubishi Electric Corp Duplex control device
TW201329739A (en) * 2012-01-10 2013-07-16 Synology Inc File synchronization sharing device and file synchronization sharing method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10216226A1 (en) * 2002-04-08 2003-10-30 Pilz Gmbh & Co Device for fail-safe switching off of an electrical consumer, especially in industrial production plants
JP3861769B2 (en) 2002-08-13 2006-12-20 富士電機システムズ株式会社 Duplex switching method for duplex control system
ES2744824T3 (en) * 2007-12-01 2020-02-26 Nokia America Corp IMS Diameter Router with Load Balancing
JP5239525B2 (en) * 2008-06-06 2013-07-17 横河電機株式会社 Multiplexed input / output module
JP2011203941A (en) * 2010-03-25 2011-10-13 Nec Corp Information processing apparatus, monitoring method and monitoring program
JP5706347B2 (en) * 2012-01-25 2015-04-22 株式会社東芝 Redundant control system
JP5601353B2 (en) * 2012-06-29 2014-10-08 横河電機株式会社 Network management system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW594497B (en) * 2003-02-25 2004-06-21 Icp Electronics Inc Information processing device including network automatic duplicating function and method thereof
TW201242316A (en) * 2011-03-06 2012-10-16 Pcn Technology Inc Systems and methods of data transmission and management
JP2013012094A (en) * 2011-06-30 2013-01-17 Mitsubishi Electric Corp Duplex control device
TW201329739A (en) * 2012-01-10 2013-07-16 Synology Inc File synchronization sharing device and file synchronization sharing method

Also Published As

Publication number Publication date
TW201640243A (en) 2016-11-16
CN105519050B (en) 2018-09-04
KR101815202B1 (en) 2018-01-05
KR20160110346A (en) 2016-09-21
WO2016129075A1 (en) 2016-08-18
CN105519050A (en) 2016-04-20

Similar Documents

Publication Publication Date Title
TWI674488B (en) Control system, and relay device
US10708132B2 (en) Technique for handling a status change in an interconnect node
JP5836539B2 (en) Communication device and vehicle transmission system
US9413609B2 (en) Communication device and method for transmitting messages in a redundantly operable industrial communication network
JP4738533B2 (en) Train-to-car communication device
JP5776618B2 (en) Network switch
CN103684716B (en) For carrying out the method and communication equipment of message transmission in industrial communication network
US11221612B2 (en) System and method of communicating data over high availability industrial control systems
EP3285168A1 (en) Disaster tolerance method and apparatus in active-active cluster system
JP6558882B2 (en) Control system and relay device
KR101574900B1 (en) Control system for steel plant
TWI779124B (en) Communication system, controlled machine, and control method of communication system
JP4344333B2 (en) Packet transfer apparatus, packet transfer network system, and packet transfer method
JP6269404B2 (en) Control system, relay device, and control device
CN115794769A (en) Method for managing high-availability database, electronic device and storage medium
JP6359914B2 (en) Relay system and relay device
JP7211051B2 (en) Network switches and line monitoring devices
JP5367002B2 (en) Monitoring server and monitoring program
JP2016048507A (en) Communication control device and computing device
CN115250226B (en) MLAG double-master fault recovery method, device, system, medium and equipment
JP5651878B2 (en) Fault monitoring system
EP4482108A1 (en) Network switch and link recovery method for dual-homing thereof
CN101626328B (en) Signal conversion system with backup mechanism and backup method
JP6301750B2 (en) Relay device
KR101623063B1 (en) Method for transmitting of control frame using detour link, node apparatus and system for the same