TWI567547B - Redundancy system and communication unit - Google Patents

Redundancy system and communication unit Download PDF

Info

Publication number
TWI567547B
TWI567547B TW105110010A TW105110010A TWI567547B TW I567547 B TWI567547 B TW I567547B TW 105110010 A TW105110010 A TW 105110010A TW 105110010 A TW105110010 A TW 105110010A TW I567547 B TWI567547 B TW I567547B
Authority
TW
Taiwan
Prior art keywords
unit
communication unit
survival
monitoring target
communication
Prior art date
Application number
TW105110010A
Other languages
Chinese (zh)
Other versions
TW201638785A (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 TW201638785A publication Critical patent/TW201638785A/en
Application granted granted Critical
Publication of TWI567547B publication Critical patent/TWI567547B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/202Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
    • G06F11/2023Failover techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements

Description

冗餘化系統及通信單元 Redundant system and communication unit

本案係關於包含:包含有控制系單元及第一通信單元之第一系統;包含有與第一通信單元連接之第二通信單元,作為第一系統的預備裝置之第二系統;連接至第一通信單元及第二通信單元之複數個從屬系通信單元;以及連接至第一系統之使用者(user)裝置而構成之冗餘化系統及通信單元。 The present invention relates to: a first system including a control system unit and a first communication unit; a second communication unit including a second communication unit connected to the first communication unit, as a second system of the first system; connected to the first a plurality of slave communication units of the communication unit and the second communication unit; and a redundancy system and a communication unit formed by connecting to a user device of the first system.

先前技術中,有一種:在二重化可程式控制器(programmable controller)中,發生了通信障礙,就從控制系統切換到待機系統,利用變成新控制系統而動作之原為待機系統的可程式控制器使通信繼續之方法(參照例如專利文獻1)。 In the prior art, there is a type in which a communication controller is switched from a control system to a standby system in a dual-programmable controller, and a programmable controller that is a standby system is operated by using a new control system. A method of continuing communication (see, for example, Patent Document 1).

還有一種:在二重化可程式控制器的系統切換方面,係在檢測出的通信異常滿足系統切換觸發(trigger)要件,且沒有系統不可切換原因之情況,進行將系統從平時處在運轉狀態的運轉可程式控制器切換到平時處在待機狀態的待機可程式控制器之方法(參照例如專利文獻2)。 There is also a system switching between the dual-programmable controllers, in the case where the detected communication abnormality satisfies the system switching trigger requirement, and there is no system non-switchable reason, the system is operated from the normal state. A method of switching the programmable controller to a standby programmable controller that is normally in a standby state (see, for example, Patent Document 2).

[先前技術文獻] [Previous Technical Literature] (專利文獻) (Patent Literature)

(專利文獻1)日本特開2009-217358號公報 (Patent Document 1) Japanese Patent Laid-Open Publication No. 2009-217358

(專利文獻2)日本特開2010-146363號公報 (Patent Document 2) Japanese Patent Laid-Open Publication No. 2010-146363

上述的先前技術,係利用與可程式控制器對應之專用的控制程式(program),而可檢測出與特定的通信單元之通信異常,且以通信異常之檢出為前提而進行系統切換。然而,該專用的控制程式卻有編寫及修正所需的作業負擔很大之問題。 In the above prior art, a dedicated control program corresponding to the programmable controller is used to detect a communication abnormality with a specific communication unit, and the system is switched on the premise of the detection of the communication abnormality. However, this dedicated control program has a large workload burden for writing and fixing.

本發明係有鑑於上述課題而完成者,其目的在提供可簡易地實現以與特定的通信單元之間的通信異常之檢出為前提的系統切換之冗餘化系統及通信單元。 The present invention has been made in view of the above problems, and an object thereof is to provide a redundancy system and a communication unit that can easily realize system switching on the premise of detecting a communication abnormality with a specific communication unit.

為了解決上述課題,達成上述目的,本發明提供一種冗餘化系統,其係包含第一控制裝置、連接至第一控制裝置且作為第一控制裝置的預備裝置之第二控制裝置、以及連接至第一控制裝置及第二控制裝置之複數個從屬系通信單元而構成之冗餘化系統,其中,第一控制裝置係具備有記憶部以及控制部,該記憶部係記憶參數(parameter)、以及複數個從屬系通信單元的生存確認用資料(data),其中該參數係包含有用來從複數個從屬系通信單 元之中具體指定出成為通信異常的監視對象之監視對象單元的資訊,該控制部係在可根據生存確認用資料而判斷複數個從屬系通信單元之中有生存未確認單元(指不確認是否生存之單元)存在,且可根據參數而判斷該生存未確認單元為監視對象單元之情況,進行從第一控制裝置切換到第二控制裝置之系統切換。 In order to achieve the above object, the present invention provides a redundancy system including a first control device, a second control device connected to the first control device and serving as a preliminary device of the first control device, and connected to a redundancy system comprising a plurality of slave communication units of the first control device and the second control device, wherein the first control device includes a memory unit and a control unit, wherein the memory unit stores a parameter and Data for survival confirmation of a plurality of slave communication units, wherein the parameters are included for communication from a plurality of slave systems Specifically, the information of the monitoring target unit that is the monitoring target of the communication abnormality is specified, and the control unit determines that there is a survival unconfirmed unit among the plurality of dependent communication units based on the survival confirmation data (refer to whether or not the survival is not confirmed. The unit is present, and it is determined that the survival unconfirmed unit is the monitoring target unit based on the parameter, and the system switching from the first control device to the second control device is performed.

又,為了解決上述課題,達成上述目的,本發明提供一種冗餘化系統,其係包括包含有控制系單元及第一通信單元之第一系統、包含有與第一通信單元連接之第二通信單元且作為第一系統的預備裝置之第二系統、以及連接至第一通信單元及第二通信單元之複數個從屬系通信單元而構成之冗餘化系統,其中,第一通信單元係具備有記憶部以及控制部,該記憶部係記憶參數、以及從複數個從屬系通信單元逐次地發送來的生存確認用資料,其中該參數係包含有用來從複數個從屬系通信單元之中具體指定出成為通信異常的監視對象之監視對象單元的資訊,該控制部係根據生存確認用資料而判定複數個從屬系通信單元之中是否存在有在一定時間以上都未收到其生存的確認之生存未確認單元,且在判定結果有生存未確認單元存在之情況,參考前述參數,判定生存未確認單元是否為監視對象單元,在判定結果為生存未確認單元係監視對象單元之情況,將要從第一系統切換到第二系統之系統切換要求通知給控制系單元。 In order to achieve the above object, the present invention provides a redundancy system including a first system including a control system unit and a first communication unit, and a second communication including the first communication unit. a second system that is a standby device of the first system, and a redundant system that is connected to the plurality of slave communication units of the first communication unit and the second communication unit, wherein the first communication unit is provided with a memory unit and a control unit, wherein the memory unit is a memory parameter and a survival confirmation data sequentially transmitted from the plurality of slave communication units, wherein the parameter is included to specifically specify from among the plurality of slave communication units The information of the monitoring target unit to be monitored by the communication abnormality, and the control unit determines whether or not the survival of the plurality of slave communication units that has not been received for a certain period of time or more is not confirmed based on the survival confirmation data. Unit, and in the case where the judgment result has a survival unconfirmed unit, refer to the aforementioned parameters to determine the Unacknowledged monitoring target unit is a unit for the survival of the cell monitoring target unit based on the determination result is not confirmed, the system is switched from the first to the second system switching system of the control system to request notification unit.

又,為了解決上述課題,達成上述目的, 本發明提供一種通信單元,其係搭載於利用第一系統及作為該第一系統的待機系統之第二系統做冗餘化構成而成的冗餘化系統中的通信單元,其中,通信單元係以可與連接至第一系統及第二系統之複數個從屬系通信單元通信之方式與複數個從屬系通信單元連接,且具備有記憶部以及控制部,該記憶部係記憶參數、以及從複數個從屬系通信單元分別發送來的生存確認用資料,其中該參數係包含有用來從複數個從屬系通信單元之中具體指定出成為通信異常的監視對象之監視對象單元的資訊,該控制部係根據生存確認用資料而判定複數個從屬系通信單元之中是否存在有在一定時間以上都未收到其生存的確認之生存未確認單元,且在判定結果有生存未確認單元存在之情況,參考前述參數,判定該生存未確認單元是否為監視對象單元,在判定結果為生存未確認單元係監視對象單元之情況,決定要進行從第一系統切換到第二系統之系統切換。 Moreover, in order to solve the above problems, the above object is achieved. The present invention provides a communication unit that is mounted in a communication unit in a redundant system in which a first system and a second system as a standby system of the first system are redundantly configured, wherein the communication unit is And connected to a plurality of slave communication units in a manner of being communicable with a plurality of slave communication units connected to the first system and the second system, and having a memory unit and a control unit, the memory unit is a memory parameter, and the slave memory The survival confirmation data transmitted by each of the slave communication units, wherein the parameter includes information for specifically specifying a monitoring target unit that is a monitoring target of the communication abnormality among the plurality of slave communication units, the control unit According to the survival confirmation data, it is determined whether or not there is a survival unacknowledgment unit that has not confirmed the survival of the plurality of slave communication units, and if there is a survival unconfirmed unit in the determination result, the above parameters are referred to. , determining whether the survival unconfirmed unit is a monitoring target unit, and the result of the determination is that the survival is not confirmed Based units where the monitoring target unit, decide to handover from the first system to the second system switching system.

根據本發明,就可簡易地實現以與特定的通信單元之間的通信異常之檢出為前提之系統切換。 According to the present invention, system switching on the premise of detection of a communication abnormality with a specific communication unit can be easily realized.

1‧‧‧使用者裝置 1‧‧‧User device

1a、11a、13a‧‧‧微處理器 1a, 11a, 13a‧‧‧ microprocessor

1b、11b、13b‧‧‧記憶體單元 1b, 11b, 13b‧‧‧ memory unit

1c‧‧‧顯示器 1c‧‧‧ display

1d、11c、12c、13c‧‧‧匯流排介面 1d, 11c, 12c, 13c‧‧‧ bus interface

5‧‧‧參數 5‧‧‧ parameters

10‧‧‧主系統 10‧‧‧Main system

11‧‧‧可程式控制器 11‧‧‧Programmable controller

12‧‧‧追蹤用通信單元 12‧‧‧Tracking communication unit

12b‧‧‧追蹤記憶體 12b‧‧‧ Tracking memory

13‧‧‧主通信單元 13‧‧‧Main communication unit

13d‧‧‧網路介面 13d‧‧‧Internet interface

20‧‧‧副主系統 20‧‧‧Sub-master system

20a、30a、40a、50a‧‧‧生存確認用資料 20a, 30a, 40a, 50a, ‧ ‧ survival confirmation data

21‧‧‧可程式控制器 21‧‧‧Programmable controller

22‧‧‧追蹤用通信單元 22‧‧‧Tracking communication unit

23‧‧‧副主通信單元 23‧‧‧Sub-master communication unit

30‧‧‧區域系統 30‧‧‧Regional system

31‧‧‧可程式控制器 31‧‧‧Programmable Controller

32‧‧‧通信單元 32‧‧‧Communication unit

40‧‧‧區域系統 40‧‧‧Regional system

41‧‧‧可程式控制器 41‧‧‧Programmable controller

42‧‧‧通信單元 42‧‧‧Communication unit

50‧‧‧區域系統 50‧‧‧Regional system

51‧‧‧可程式控制器 51‧‧‧Programmable controller

52‧‧‧通信單元 52‧‧‧Communication unit

60‧‧‧參數設定畫面 60‧‧‧ parameter setting screen

61至66‧‧‧設定項目 61 to 66‧‧‧ setting items

100‧‧‧網路 100‧‧‧Network

200a、200b‧‧‧纜線 200a, 200b‧‧‧ cable

1000‧‧‧冗餘化系統 1000‧‧‧Redundant system

d1‧‧‧系統切換判定程式 D1‧‧‧System switching decision program

d2‧‧‧參數 D2‧‧‧ parameters

d3‧‧‧生存確認用資料 D3‧‧‧ Survival confirmation data

d4‧‧‧系統切換資訊 D4‧‧‧System switching information

d5‧‧‧參數設定程式 D5‧‧‧ parameter setting program

第1圖係顯示實施形態1之冗餘化系統的概略構成之示意圖。 Fig. 1 is a schematic view showing a schematic configuration of a redundant system of the first embodiment.

第2圖係顯示實施形態1中之利用使用者裝置進行設定之參數設定畫面的例子之圖。 Fig. 2 is a view showing an example of a parameter setting screen set by the user device in the first embodiment.

第3圖係顯示實施形態1之冗餘化系統所包含的裝置的內部構成例之圖。 Fig. 3 is a view showing an example of the internal configuration of a device included in the redundancy system of the first embodiment.

第4圖係顯示實施形態1之冗餘化系統的處理的流程之圖。 Fig. 4 is a view showing the flow of processing of the redundancy system of the first embodiment.

第5圖係顯示通信障礙發生位置的例子之圖。 Fig. 5 is a view showing an example of a position where a communication obstacle occurs.

第6圖係顯示實施形態2中之利用使用者裝置進行設定之參數的構成例之圖。 Fig. 6 is a view showing an example of the configuration of parameters set by the user device in the second embodiment.

第7圖係顯示實施形態2中之主(master)通信單元的處理的流程之流程圖。 Fig. 7 is a flow chart showing the flow of processing of the master communication unit in the second embodiment.

第8圖係顯示實施形態3之冗餘化系統的處理的流程之圖。 Fig. 8 is a view showing the flow of processing of the redundancy system of the third embodiment.

第9圖係顯示實施形態3中之診斷資訊畫面的構成例之圖。 Fig. 9 is a view showing an example of the configuration of the diagnostic information screen in the third embodiment.

實施形態1. Embodiment 1.

以下,參照圖式來說明本發明之冗餘化系統及通信單元的實施形態。惟本發明並不受此實施形態所限定。 Hereinafter, embodiments of the redundancy system and communication unit of the present invention will be described with reference to the drawings. However, the invention is not limited by the embodiment.

第1圖係顯示實施形態1之冗餘化系統1000的概略構成之示意圖。如第1圖所示,實施形態1之冗餘化系統1000係具有利用屬於控制系之主系統(master system)10、以及作為主系統10的預備裝置之屬於待機系之副主系統(sub master system)20做二重化而成的冗餘構成。實施形態1之冗餘化系統1000亦可包含做直鏈(line)連接 之網路單元而構成,或包含做直鏈連接之網路單元及做星形(star)連接之網路單元而構成。 Fig. 1 is a schematic view showing a schematic configuration of a redundancy system 1000 according to the first embodiment. As shown in Fig. 1, the redundant system 1000 of the first embodiment has a sub-master system (sub master) belonging to the standby system using the master system 10 belonging to the control system and the preparatory device as the master system 10. System)20 is a redundant structure made up of two. The redundancy system 1000 of the first embodiment may also include a straight line connection. The network unit is configured to include a network unit that is a linear connection and a network unit that is a star connection.

此外,如第1圖所示,實施形態1之冗餘化系統1000還包含連接至主系統10及副主系統20之區域系統(local system)30、區域系統40及區域系統50、以及連接至主系統10之使用者裝置1而構成。 Further, as shown in FIG. 1, the redundancy system 1000 of the first embodiment further includes a local system 30, a regional system 40, and a regional system 50 connected to the main system 10 and the sub-master system 20, and connected to The user device 1 of the main system 10 is configured.

主系統10係包含:將各種輸入收進,且按照預先設定的條件而控制連接機器的動作之可程式控制器11;用來在與屬於待機系之副主系統20之間使控制資訊同步之追蹤(tracking)用通信單元12;以及控制與區域系統30、區域系統40及區域系統50之間的通信之主(master)通信單元13而構成。主系統10為第一系統的一例。可程式控制器11為控制系單元的一例。主通信單元13為第一通信單元的一例。 The main system 10 includes: a programmable controller 11 that receives various inputs and controls the operation of the connected device according to predetermined conditions; and synchronizes the control information with the sub-master system 20 belonging to the standby system. The tracking communication unit 12 and the master communication unit 13 that controls communication with the area system 30, the area system 40, and the area system 50 are configured. The main system 10 is an example of the first system. The programmable controller 11 is an example of a control system unit. The main communication unit 13 is an example of the first communication unit.

副主系統20係包含:將各種輸入收進,且按照預先設定的條件而控制連接機器的動作之可程式控制器21;用來在與屬於控制系之主系統10之間使控制資訊同步之追蹤用通信單元22;以及控制與區域系統30、區域系統40及區域系統50之間的通信之副主(sub master)通信單元23而構成。副主系統20為第二系統的一例。副主通信單元23為第二通信單元的一例。 The sub-master system 20 includes a programmable controller 21 that receives various inputs and controls the operation of the connected device according to predetermined conditions; and synchronizes the control information with the host system 10 belonging to the control system. The tracking communication unit 22 and a sub-master communication unit 23 that controls communication with the area system 30, the area system 40, and the area system 50 are configured. The sub-master system 20 is an example of the second system. The sub-master communication unit 23 is an example of the second communication unit.

區域系統30係包含:將各種輸入收進,且按照預先設定的條件而控制連接機器的動作之可程式控制器31;以及控制與主系統10或副主系統20之間的通信之 通信單元32而構成。區域系統40係包含:將各種輸入收進,且按照預先設定的條件而控制連接機器的動作之可程式控制器41;以及控制與主系統10或副主系統20之間的通信之通信單元42而構成。區域系統50係包含:將各種輸入收進,且按照預先設定的條件而控制連接機器的動作之可程式控制器51;以及控制與主系統10或副主系統20之間的通信之通信單元52而構成。通信單元32、通信單元42及通信單元52係連接至主通信單元13及副主通信單元23。通信單元32、通信單元42及通信單元52為從屬系通信單元的一例。 The area system 30 includes: a programmable controller 31 that takes in various inputs and controls the operation of the connected machine in accordance with predetermined conditions; and controls communication with the main system 10 or the sub-master system 20 The communication unit 32 is configured. The area system 40 includes a programmable controller 41 that receives various inputs and controls the operation of the connected machine in accordance with predetermined conditions; and a communication unit 42 that controls communication with the main system 10 or the sub-master system 20 And constitute. The area system 50 includes a programmable controller 51 that receives various inputs and controls the operation of the connected machine in accordance with predetermined conditions; and a communication unit 52 that controls communication with the main system 10 or the sub-master system 20 And constitute. The communication unit 32, the communication unit 42, and the communication unit 52 are connected to the main communication unit 13 and the sub-master communication unit 23. The communication unit 32, the communication unit 42, and the communication unit 52 are examples of the slave communication unit.

主通信單元13及副主通信單元23,分別保持有使用者在使用者裝置1設定的參數5。參數5中包含有:用來從通信單元32、通信單元42及通信單元52之中具體指定出要作為通信異常的監視對象之監視對象單元的資訊、各通信單元的動作設定資訊、以及通信區域的範圍。可程式控制器11係下載(download)使用者在使用者裝置1設定的參數5並將之轉送至主通信單元13。主通信單元13將從可程式控制器11轉送來的參數5保存起來。主通信單元13透過網路而將參數5轉送至副主通信單元23。副主通信單元23將從主通信單元13轉送來的參數5保存起來。追蹤用通信單元12及追蹤用通信單元22係進行使可程式控制器11的控制資訊與可程式控制器21的控制資訊同步之追蹤通信。 The main communication unit 13 and the sub-master communication unit 23 respectively hold the parameter 5 set by the user in the user device 1. The parameter 5 includes information for specifically designating a monitoring target unit to be monitored as a communication abnormality from the communication unit 32, the communication unit 42, and the communication unit 52, operation setting information of each communication unit, and a communication area. The scope. The programmable controller 11 downloads the parameter 5 set by the user at the user device 1 and transfers it to the main communication unit 13. The main communication unit 13 saves the parameter 5 transferred from the programmable controller 11. The main communication unit 13 forwards the parameter 5 to the sub-master communication unit 23 via the network. The sub-master communication unit 23 saves the parameter 5 transferred from the main communication unit 13. The tracking communication unit 12 and the tracking communication unit 22 perform tracking communication for synchronizing the control information of the programmable controller 11 with the control information of the programmable controller 21.

又,如第1圖所示,主系統10分別從通信 單元32、通信單元42及通信單元52接收用來獲知該通信單元在可通信狀態之生存確認用資料30a、生存確認用資料40a及生存確認用資料50a。通信單元32、通信單元42及通信單元52係以自局(自己所在的系統或裝置等)所設定的發送時序(timing)逐次地發送生存確認用資料30a、生存確認用資料40a及生存確認用資料50a。通信單元32、通信單元42及通信單元52係在控制資料之外另行發送生存確認用資料30a、生存確認用資料40a及生存確認用資料50a。在上述第1圖所示的例子中,副主通信單元23也與通信單元32、通信單元42及通信單元52一樣,將生存確認用資料20a發送至主通信單元13。 Also, as shown in Fig. 1, the main system 10 is separately from communication The unit 32, the communication unit 42, and the communication unit 52 receive the survival confirmation data 30a, the survival confirmation data 40a, and the survival confirmation data 50a for knowing that the communication unit is in a communicable state. The communication unit 32, the communication unit 42, and the communication unit 52 sequentially transmit the survival confirmation data 30a, the survival confirmation data 40a, and the survival confirmation by the transmission timing set by the own office (the system or device in which the user is located). Information 50a. The communication unit 32, the communication unit 42, and the communication unit 52 separately transmit the survival confirmation data 30a, the survival confirmation data 40a, and the survival confirmation data 50a in addition to the control data. In the example shown in the first embodiment, the sub-master communication unit 23 transmits the survival confirmation data 20a to the main communication unit 13 in the same manner as the communication unit 32, the communication unit 42, and the communication unit 52.

第2圖係顯示實施形態1中之利用使用者裝置進行設定之參數設定畫面的例子之圖。使用者裝置1係使進行參數5的設定所需的參數設定畫面60顯示出來。參數設定畫面60係包含:用來設定冗餘化系統1000所包含的通信單元的台數之設定項目61、用來設定通信單元的型號之設定項目62、用來設定網路單元的局號之設定項目63、用來設定網路單元的局種別之設定項目64、用來設定系統切換監視對象局之設定項目65、以及用來設定監視優先順位之設定項目66。在第2圖所示的例子中,係將局號「2」之區域(local)局設定為系統切換監視對象局。 Fig. 2 is a view showing an example of a parameter setting screen set by the user device in the first embodiment. The user device 1 displays the parameter setting screen 60 necessary for setting the parameter 5. The parameter setting screen 60 includes a setting item 61 for setting the number of communication units included in the redundancy system 1000, a setting item 62 for setting the model of the communication unit, and a station number for setting the network unit. The setting item 63, the setting item 64 for setting the network unit type, the setting item 65 for setting the system switching monitoring target, and the setting item 66 for setting the monitoring priority order. In the example shown in Fig. 2, the local office of the station number "2" is set as the system switching monitoring target station.

第2圖所示之局號「0」之主局係對應於第1圖所示之主通信單元13,第2圖所示之局號「1」之區域局係對應於第1圖所示之通信單元32,第2圖所示之局號 「2」之區域局係對應於第1圖所示之通信單元42,第2圖所示之局號「3」之區域局係對應於第1圖所示之通信單元52,第2圖所示之局號「4」之副主局係對應於第1圖所示之副主通信單元23。 The main office of the office number "0" shown in Fig. 2 corresponds to the main communication unit 13 shown in Fig. 1, and the regional office number of the office number "1" shown in Fig. 2 corresponds to that shown in Fig. 1. Communication unit 32, the number shown in Figure 2 The regional office of "2" corresponds to the communication unit 42 shown in Fig. 1, and the regional office of the office number "3" shown in Fig. 2 corresponds to the communication unit 52 shown in Fig. 1, and Fig. 2 The sub-master of the station number "4" corresponds to the sub-master communication unit 23 shown in Fig. 1.

第3圖係顯示實施形態1之冗餘化系統1000所包含的裝置的內部構成例之圖。主系統10與副主系統20基本上具有同樣的構成,故以下以主系統10的構成為例進行說明。 Fig. 3 is a view showing an internal configuration example of a device included in the redundancy system 1000 of the first embodiment. Since the main system 10 and the sub-master system 20 basically have the same configuration, the configuration of the main system 10 will be described below as an example.

如第3圖所示,主系統10的可程式控制器11係具備有:執行與主系統10所做的各項控制對應之處理之微處理器(microprocessor)11a、記憶用來實現微處理器11a所執行的處理之各種程式及資料之記憶體單元(memory unit)11b、以及連接至內部匯流排(bus)之匯流排介面(bus interface)11c。微處理器11a執行與主系統10的各項控制對應之處理。記憶體單元11b記憶用來實現微處理器11a所執行的處理之各種程式及資料。記憶體單元11b也利用作為暫時記憶微處理器11a所做處理的結果之工作區域。記憶體單元11b係由例如ROM(Read Only Memory)、RAM(Random Access Memory)、儲存器(storage)、可插拔的記憶體裝置(memory device)、或以上各者的組合所構成。匯流排介面11c係用來連接至追蹤用通信單元12及主通信單元13之介面(interface)。匯流排介面11c還是用來通過纜線(cable)200a連接至使用者裝置1之介面。 As shown in FIG. 3, the programmable controller 11 of the main system 10 is provided with a microprocessor 11a for executing processing corresponding to each control performed by the main system 10, and a memory for implementing the microprocessor. A memory unit 11b for processing various programs and data executed by 11a, and a bus interface 11c connected to an internal bus. The microprocessor 11a performs processing corresponding to each control of the main system 10. The memory unit 11b memorizes various programs and materials for realizing the processing executed by the microprocessor 11a. The memory unit 11b also utilizes a work area as a result of temporarily processing the processing performed by the microprocessor 11a. The memory unit 11b is composed of, for example, a ROM (Read Only Memory), a RAM (Random Access Memory), a storage (storage), a pluggable memory device, or a combination of the above. The bus interface 11c is used to connect to the interface of the tracking communication unit 12 and the main communication unit 13. The busbar interface 11c is also used to connect to the interface of the user device 1 via a cable 200a.

如第3圖所示,追蹤用通信單元12係具備 有:追蹤通信所要利用到的追蹤記憶體(tracking memory)12b、以及連接至內部匯流排及纜線200b之匯流排介面12c。追蹤記憶體12b係發揮作為在進行用來使可程式控制器11的控制資訊、與可程式控制器21的控制資訊同步之通信之際的緩衝記憶體(buffer)之機能。匯流排介面12c係用來連接至可程式控制器11之介面。匯流排介面12c還是用來通過纜線200b連接至追蹤用通信單元22之介面。 As shown in FIG. 3, the tracking communication unit 12 is provided There are: a tracking memory 12b to be used for tracking communication, and a bus interface 12c connected to the internal bus and cable 200b. The tracking memory 12b functions as a buffer memory when communication for synchronizing the control information of the programmable controller 11 with the control information of the programmable controller 21 is performed. The bus interface 12c is used to connect to the interface of the programmable controller 11. The bus interface interface 12c is also used to connect to the interface of the tracking communication unit 22 via the cable 200b.

如第3圖所示,主通信單元13係具備有:執行與主通信單元13所做的各項控制對應之處理之微處理器13a、記憶用來實現微處理器13a所執行的處理之各種程式及資料之記憶體單元13b、匯流排介面13c、以及網路介面(network interface)13d。主通信單元13係利用屬於硬體(hardware)資源之微處理器13a及記憶體單元13b執行與各項控制對應之程式,來實現與各項控制對應之處理。例如,主通信單元13讀出記憶於記憶體單元13b中的程式,且在分配於記憶體單元13b中的工作區域將之展開,並使微處理器13a執行展開的程式中包含的命令。然後,主通信單元13依據微處理器13a執行命令的結果,執行與各項控制對應之處理。 As shown in Fig. 3, the main communication unit 13 is provided with a microprocessor 13a that performs processing corresponding to each control performed by the main communication unit 13, and a memory for realizing the processing executed by the microprocessor 13a. The memory unit 13b of the program and data, the bus interface 13c, and the network interface 13d. The main communication unit 13 performs processing corresponding to each control by executing a program corresponding to each control using the microprocessor 13a and the memory unit 13b belonging to hardware resources. For example, the main communication unit 13 reads out the program stored in the memory unit 13b, and expands it in the work area allocated to the memory unit 13b, and causes the microprocessor 13a to execute the command contained in the expanded program. Then, the main communication unit 13 performs processing corresponding to each control in accordance with the result of the execution of the command by the microprocessor 13a.

如第3圖所示,記憶體單元13b中記憶有例如系統切換判定程式d1、參數d2、生存確認用資料d3、系統切換資訊d4。參數d2係對應於上述的參數5。 As shown in FIG. 3, for example, the system switching determination program d1, the parameter d2, the survival confirmation data d3, and the system switching information d4 are stored in the memory unit 13b. The parameter d2 corresponds to the parameter 5 described above.

系統切換判定程式d1係為了實現與系統切換有關之處理而提供以下說明的各種機能。亦即,系統切 換判定程式d1根據生存確認用資料d3,而判定通信單元32、通信單元42及通信單元52之中是否存在有在一定時間以上都未收到其生存的確認之生存未確認單元。系統切換判定程式d1在判定結果為有生存未確認單元存在之情況,參考參數d2來判定該生存未確認單元是否為監視對象局。系統切換判定程式d1在判定結果為該生存未確認單元就是監視對象局之情況,發送要從主系統10切換到副主系統20之系統切換要求給可程式控制器11。另外,系統切換判定程式d1在決定要進行系統切換之情況,將與系統切換有關之系統切換資訊d4儲存於記憶體單元13b。 The system switching determination program d1 provides various functions described below in order to realize processing related to system switching. That is, the system is cut The change determination program d1 determines whether or not there is a survival unacknowledgment unit that has not received the confirmation of survival for a certain period of time or more among the communication unit 32, the communication unit 42, and the communication unit 52 based on the survival confirmation data d3. The system switching determination program d1 determines whether or not the survival unconfirmed unit is the monitoring target station with reference to the parameter d2 when the determination result indicates that there is a survival unacknowledged unit. The system switching determination program d1 transmits a system switching request to be switched from the main system 10 to the sub-master system 20 to the programmable controller 11 in the case where the result of the determination is that the survival unconfirmed unit is the monitoring target station. Further, the system switching determination program d1 stores the system switching information d4 related to the system switching in the memory unit 13b when it is determined that the system switching is to be performed.

記憶體單元13b中記憶的參數d2,係對應於使用者利用使用者裝置1而設定的參數5。記憶體單元13b中記憶的生存確認用資料d3,係包含:從通信單元32、通信單元42及通信單元52逐次地發送來的生存確認用資料30a、生存確認用資料40a及生存確認用資料50a而構成。系統切換資訊d4係與系統切換有關之資訊。系統切換資訊d4包含有系統切換的實施時刻、通信異常局、系統切換局、以及系統切換的原因。系統切換資訊係由微處理器13a使之儲存起來。 The parameter d2 stored in the memory unit 13b corresponds to the parameter 5 set by the user using the user device 1. The survival confirmation data d3 stored in the memory unit 13b includes the survival confirmation data 30a, the survival confirmation data 40a, and the survival confirmation data 50a which are sequentially transmitted from the communication unit 32, the communication unit 42, and the communication unit 52. And constitute. System switching information d4 is information related to system switching. The system switching information d4 includes the implementation time of the system switching, the communication abnormality, the system switching office, and the reason for the system switching. The system switching information is stored by the microprocessor 13a.

如第3圖所示,使用者裝置1係具備有:微處理器1a、記憶體單元1b、顯示器(display)1c、以及匯流排介面1d。微處理器1a係執行與使用者裝置1所做的各項控制對應之處理。記憶體單元1b係記憶用來實現微處理器1a所執行的處理之各種程式及資料。顯示器1c係顯示 各種資訊。 As shown in FIG. 3, the user device 1 includes a microprocessor 1a, a memory unit 1b, a display 1c, and a bus bar interface 1d. The microprocessor 1a performs processing corresponding to each control performed by the user device 1. The memory unit 1b memorizes various programs and materials for realizing the processing executed by the microprocessor 1a. Display 1c is displayed Various information.

記憶體單元1b中記憶有參數設定程式d5。參數設定程式d5係提供用來設定參數5之機能,參數5包含:用來從通信單元32、通信單元42及通信單元52之中具體指定出要作為通信異常的監視對象之監視對象單元的資訊、各通信單元的動作設定資訊、以及通信區域的範圍。參數設定程式d5係藉由使第2圖所示的參數設定畫面顯示於顯示器1c,而讓使用者可進行參數5之設定。 A parameter setting program d5 is stored in the memory unit 1b. The parameter setting program d5 provides a function for setting the parameter 5, and the parameter 5 includes information for specifically designating a monitoring target unit to be a monitoring target of the communication abnormality from the communication unit 32, the communication unit 42, and the communication unit 52. The operation setting information of each communication unit and the range of the communication area. The parameter setting program d5 allows the user to set the parameter 5 by displaying the parameter setting screen shown in Fig. 2 on the display 1c.

利用第4圖來說明實施形態1之冗餘化系統1000的處理的流程。第4圖係顯示實施形態1之冗餘化系統1000的處理的流程之圖。 The flow of the process of the redundancy system 1000 of the first embodiment will be described using FIG. Fig. 4 is a view showing the flow of processing of the redundancy system 1000 of the first embodiment.

如第4圖所示,主通信單元13進行生存確認用資料的接收確認(步驟S11)。接著,主通信單元13判定是否存在有在一定時間以上都未收到其生存的確認之生存未確認單元(步驟S12)。 As shown in Fig. 4, the main communication unit 13 confirms the reception of the material for survival confirmation (step S11). Next, the main communication unit 13 determines whether or not there is a survival unconfirmed unit that has not received the confirmation of survival for a certain period of time or longer (step S12).

主通信單元13在判定結果為沒有在一定時間以上都未收到其生存的確認之生存未確認單元的情況(步驟S12的結果為“否”),回到上述步驟S11之處理,繼續進行生存確認用資料的接收確認。另一方面,主通信單元13在判定結果為有在一定時間以上都未收到其生存的確認之生存未確認單元的情況(步驟S12的結果為“是”),判定該通信單元是否為監視對象局(步驟S13)。 When the result of the determination is that the survival unconfirmed unit that has not received the confirmation of survival has not been received for a certain period of time or longer (the result of step S12 is "NO"), the main communication unit 13 returns to the above-described processing of step S11, and continues the survival confirmation. Confirmation by receipt of the data. On the other hand, when the result of the determination is that there is a survival unacknowledgment unit that has not confirmed the survival of the user for a certain period of time or longer (the result of step S12 is YES), it is determined whether or not the communication unit is the monitoring target. Bureau (step S13).

主通信單元13在判定結果為步驟S12中檢測出的生存未確認單元並不是監視對象局的情況(步驟S13 的結果為“否”),回到上述步驟S11之處理,繼續進行生存確認用資料的接收確認。另一方面,主通信單元13在判定結果為步驟S12中檢測出的生存未確認單元就是監視對象局的情況(步驟S13的結果為“是”),分別發送系統切換要求給追蹤用通信單元12及可程式控制器11(步驟S14)。從主通信單元13發送來的系統切換要求,係例如存放於追蹤用通信單元12的追蹤記憶體12b中預先分配的存入接受區域及可程式控制器11的記憶體單元11b中預先分配的存入接受區域。追蹤用通信單元12進行追蹤記憶體12b的存入接受區域之讀出而檢測出系統切換要求。可程式控制器11進行記憶體單元11b的存入接受區域之讀出而檢測出系統切換要求。 The main communication unit 13 determines that the survival unconfirmed unit detected in step S12 is not the monitoring target station (step S13). If the result is "NO", the process returns to the above-described step S11, and the reception confirmation of the survival confirmation data is continued. On the other hand, if the result of the determination is that the survival unacknowledgment unit detected in step S12 is the monitoring target station (YES in step S13), the main communication unit 13 transmits the system switching request to the tracking communication unit 12 and The programmable controller 11 (step S14). The system switching request transmitted from the main communication unit 13 is, for example, stored in the storage receiving area pre-allocated in the tracking memory 12b of the tracking communication unit 12 and the memory allocated in advance in the memory unit 11b of the programmable controller 11. Enter the acceptance area. The tracking communication unit 12 reads the storage receiving area of the tracking memory 12b and detects the system switching request. The programmable controller 11 reads out the deposit accepting area of the memory unit 11b and detects the system switching request.

接著,主通信單元13將系統切換資訊儲存起來(步驟S15)。 Next, the main communication unit 13 stores the system switching information (step S15).

追蹤用通信單元12從主通信單元13接收到系統切換要求,就將系統切換通知發送給副主系統20的追蹤用通信單元22(步驟S16)。 When the tracking communication unit 12 receives the system switching request from the main communication unit 13, the tracking communication unit 12 transmits the system switching notification to the tracking communication unit 22 of the sub-master system 20 (step S16).

可程式控制器11從主通信單元13接收到系統切換要求,就進行用來使作為預備裝置之副主系統20從待機狀態變為運轉狀態之系統切換(步驟S17)。 When the programmable controller 11 receives the system switching request from the main communication unit 13, the system controller switches the system for changing the sub-master system 20 as the standby device from the standby state to the operating state (step S17).

追蹤用通信單元22從追蹤用通信單元22接收到系統切換通知,就將系統切換通知分別傳送給可程式控制器21及副主通信單元23(步驟S18)。 When the tracking communication unit 22 receives the system switching notification from the tracking communication unit 22, the tracking communication unit 22 transmits the system switching notification to the programmable controller 21 and the sub-master communication unit 23 (step S18).

可程式控制器21從追蹤用通信單元22接收 到系統切換通知,就進行用來從待機狀態變到運轉狀態之系統切換(步驟S19)。 The programmable controller 21 receives from the tracking communication unit 22 Upon the system switching notification, the system switching for changing from the standby state to the operating state is performed (step S19).

如上述,在實施形態1之冗餘化系統1000中,主通信單元13檢測出設定作為監視對象局之通信單元42的通信異常,就自動發送出系統切換要求。因此,根據實施形態1,不用編寫用來檢測出與作為監視對象局之通信單元之間的通信異常且使系統切換進行之專用的控制程式,而使可程式控制器執行該專用的控制程式,就可簡易地實現以與特定的通信單元之間的通信異常之檢出為前提之系統切換。 As described above, in the redundancy system 1000 of the first embodiment, the main communication unit 13 automatically transmits a system switching request when detecting a communication abnormality in which the communication unit 42 as the monitoring target station is set. Therefore, according to the first embodiment, the programmable controller is executed without executing a control program for detecting a communication abnormality with the communication unit as the monitoring target station and causing the system to switch, and the programmable controller executes the dedicated control program. System switching on the premise of detection of communication anomalies with a specific communication unit can be easily realized.

第5圖係顯示通信障礙發生位置的例子之圖。在第5圖所示的例子中,在主系統10與區域系統42之間發生了原因為纜線斷線等之通信障礙CF1。在此情況,主通信單元13收不到從通信單元42發送來的生存確認用資料40a。因此,主通信單元13無法確認作為監視對象局之通信單元42是否生存著,所以決定要切換系統,使與通信單元42之通信能夠利用副主通信單元23而繼續。因此,根據實施形態1,可根據利用使用者裝置1而設定之參數使與設定作為監視對象局之特定的通信單元之通信繼續。 Fig. 5 is a view showing an example of a position where a communication obstacle occurs. In the example shown in Fig. 5, a communication obstacle CF1 caused by a cable disconnection or the like occurs between the main system 10 and the area system 42. In this case, the main communication unit 13 does not receive the survival confirmation data 40a transmitted from the communication unit 42. Therefore, the main communication unit 13 cannot confirm whether or not the communication unit 42 as the monitoring target station is present. Therefore, it is determined that the system is to be switched, and communication with the communication unit 42 can be continued by the sub-master communication unit 23. Therefore, according to the first embodiment, the communication with the specific communication unit set as the monitoring target can be continued based on the parameter set by the user device 1.

又,根據實施形態1,在作為監視對象局之通信單元42的監視上,並未利用到可程式控制器11的處理能力,所以與使可程式控制器11進行作為監視對象局之通信單元42的監視之情況相比較,可減輕可 程式控制器11的負荷,就結果而言可提高主系統10全體的處理能力。又,根據實施形態1,主通信單元13除了發出系統切換要求,也將系統切換的實施時刻、通信異常局、系統切換局、以及系統切換的原因儲存至記憶體單元13b,所以可將之利用於系統維護(system maintenance)及故障排除(troubleshooting)。 Further, according to the first embodiment, since the processing capability of the programmable controller 11 is not used for the monitoring of the communication unit 42 as the monitoring target station, the programmable controller 11 is caused to perform the communication unit 42 as the monitoring target station. Compared with the situation of monitoring, it can be reduced The load of the program controller 11 can improve the processing capability of the entire main system 10 as a result. Further, according to the first embodiment, the main communication unit 13 stores the execution time of the system switching, the communication abnormality, the system switching office, and the cause of the system switching to the memory unit 13b in addition to the system switching request, so that the main communication unit 13 can use the same. System maintenance and troubleshooting.

實施形態2. Embodiment 2.

在以下的實施形態2中,針對設定複數個通信單元作為監視對象局之情況的主通信單元13的處理進行說明。 In the following second embodiment, the processing of the main communication unit 13 in the case where a plurality of communication units are set as the monitoring target station will be described.

第6圖係顯示實施形態2中之利用使用者裝置進行設定之參數設定畫面的例子之圖。實施形態2中,係在參數設定畫面60將複數個通信單元設定為監視對象局。在第6圖所示的例子中,將局號「1」之區域局及局號「2」之區域局都設定為監視對象局。而且,在第6圖所示的例子中,將局號「2」之區域局的監視優先順位設定為「1」,將局號「1」之區域局的監視優先順位設定為「2」。 Fig. 6 is a view showing an example of a parameter setting screen set by the user device in the second embodiment. In the second embodiment, a plurality of communication units are set as the monitoring target stations on the parameter setting screen 60. In the example shown in Fig. 6, the regional office of the office number "1" and the regional office of the office number "2" are all set as the monitoring target offices. Further, in the example shown in Fig. 6, the monitoring priority order of the regional office of the office number "2" is set to "1", and the monitoring priority order of the regional office of the office number "1" is set to "2".

系統切換判定程式,係除了實施形態1中說明過的機能之外,還提供用來進行與複數個監視對象局對應的處理之機能。具體而言,系統切換判定程式提供:用來在生存未確認單元為監視對象局之情況,判定是否存在有複數個監視對象局,且在存在有複數個之情況,決定從監視優先順位最高的監視對象局先進行系統切換之機能。 The system switching determination program provides functions for performing processing corresponding to a plurality of monitoring target offices in addition to the functions described in the first embodiment. Specifically, the system switching determination program provides a method for determining whether or not there is a plurality of monitoring target stations when the survival unacknowledged unit is the monitoring target station, and determines that the monitoring priority is the highest priority when there are a plurality of monitoring stations. The object office first performs the function of system switching.

利用第7圖來說明實施形態2中的主通信單 元的處理的流程。第7圖係顯示實施形態2中的主通信單元的處理的流程之流程圖。第7圖所示之處理,係由微處理器13a執行記憶體單元13b中記憶的系統切換程式d1而實現。 The main communication list in the second embodiment will be described using FIG. 7. The process of meta processing. Fig. 7 is a flow chart showing the flow of processing of the main communication unit in the second embodiment. The processing shown in Fig. 7 is realized by the microprocessor 13a executing the system switching program d1 stored in the memory unit 13b.

如第7圖所示,主通信單元13進行生存確認用資料的接收確認(步驟S101)。接著,主通信單元13判定是否存在有在一定時間以上都未收到其生存的確認之生存未確認單元(步驟S102)。 As shown in Fig. 7, the main communication unit 13 confirms the reception of the material for survival confirmation (step S101). Next, the main communication unit 13 determines whether or not there is a survival unconfirmed unit that has not received the confirmation of survival for a certain period of time or longer (step S102).

主通信單元13在判定結果為沒有在一定時間以上都未收到其生存的確認之生存未確認單元的情況(步驟S102的結果為“否”),回到上述步驟S101之處理,繼續進行生存確認用資料的接收確認。另一方面,主通信單元13在判定結果為有在一定時間以上都未收到其生存的確認之生存未確認單元的情況(步驟S102的結果為“是”),判定該通信單元是否為監視對象局(步驟S103)。 When the result of the determination is that the survival unacknowledgment unit that has not received the confirmation of survival has not been received for a certain period of time or longer (the result of step S102 is "NO"), the main communication unit 13 returns to the above-described processing of step S101, and continues the survival confirmation. Confirmation by receipt of the data. On the other hand, if the result of the determination is that the survival unacknowledgment unit that has confirmed the survival of the user for a certain period of time or longer (the result of step S102 is YES), the main communication unit 13 determines whether or not the communication unit is the monitoring target. Bureau (step S103).

主通信單元13在判定結果為步驟S102中檢測出的生存未確認單元並不是監視對象局的情況(步驟S103的結果為“否”),回到上述步驟S101之處理,繼續進行生存確認用資料的接收確認。另一方面,主通信單元13在判定結果為步驟S102中檢測出的生存未確認單元就是監視對象局的情況(步驟S103的結果為“是”),判定是否存在有複數個都是屬於監視對象局之生存未確認單元(步驟S104)。亦即,主通信單元13判定是否存在有複數個既是步驟S102中檢測出的生存未確認單元,也是監視對象 局之通信單元。 When the result of the determination is that the survival unconfirmed unit detected in step S102 is not the monitoring target station (the result of step S103 is NO), the main communication unit 13 returns to the above-described processing of step S101 and continues the survival confirmation data. Receive confirmation. On the other hand, if the result of the determination is that the survival unconfirmed unit detected in step S102 is the monitoring target station (YES in step S103), the main communication unit 13 determines whether or not there is a plurality of monitoring stations. The survival unconfirmed unit (step S104). That is, the main communication unit 13 determines whether or not there are a plurality of survival unconfirmed units detected in step S102, and is also a monitoring target. Communication unit of the bureau.

主通信單元13在判定結果為存在有複數個既是生存未確認單元也是監視對象局之通信單元的情況(步驟S104的結果為“是”),發送出針對既是生存未確認單元也是監視對象局且其監視優先順位最高的通信單元之系統切換要求(步驟S105),且將與步驟S105的系統切換要求對應之系統切換資訊儲存起來(步驟S106)。 When the main communication unit 13 determines that there are a plurality of communication units that are both the unsuccessful unit and the monitoring target station (YES in step S104), the main communication unit 13 transmits and monitors the monitoring target station for both the survival unacknowledged unit and the monitoring unit. The system switching request of the communication unit having the highest priority is selected (step S105), and the system switching information corresponding to the system switching request of step S105 is stored (step S106).

接著,主通信單元13發送出針對監視優先順位次高的通信單元之系統切換要求(步驟S107),且將與步驟S107的系統切換要求對應之系統切換資訊儲存起來(步驟S108)。 Next, the main communication unit 13 transmits a system switching request for the communication unit having the second highest priority of the monitoring priority (step S107), and stores the system switching information corresponding to the system switching request of step S107 (step S108).

接著,主通信單元13判定是否還有需要系統切換之通信單元(步驟S109)。亦即,主通信單元13判定是否已針對經步驟S104的判定而檢測出的所有的通信單元都完成系統切換要求之發出。 Next, the main communication unit 13 determines whether or not there is a communication unit that requires system switching (step S109). That is, the main communication unit 13 determines whether or not all of the communication units detected by the determination of step S104 have completed the issuance of the system switching request.

主通信單元13在判定的結果為尚有需要系統切換之通信單元的情況(步驟S109的結果為“是”),回到上述步驟S107之處理。反之,主通信單元13在判定的結果為已經沒有需要系統切換之通信單元的情況(步驟S109的結果為“否”),結束第7圖所示之處理。 When the result of the determination is that the communication unit that requires system switching is present (YES in step S109), the main communication unit 13 returns to the processing of step S107 described above. On the other hand, if the result of the determination by the main communication unit 13 is that there is no communication unit that requires system switching (the result of step S109 is "NO"), the processing shown in Fig. 7 is ended.

在上述步驟S104中,主通信單元13的判定結果為並不存在有複數個既是生存未確認單元也是監視對象局之通信單元的情況,亦即只有一個情況(步驟S104的結果為“否”),發送出針對步驟S102中檢測出的屬於生 存未確認單元之通信單元的系統切換要求(步驟S110),且將系統切換資訊儲存起來(步驟S111),然後結束第7圖所示之處理。 In the above step S104, the result of the determination by the main communication unit 13 is that there is no plural communication unit that is both the survival unacknowledged unit and the monitoring target station, that is, there is only one case (the result of step S104 is "NO"). Sending out the attribute detected in step S102 The system switching request of the communication unit of the unconfirmed unit is stored (step S110), and the system switching information is stored (step S111), and then the processing shown in Fig. 7 is ended.

如上述,根據實施形態2,主通信單元13在存在有複數個既是生存未確認單元也是監視對象局之通信單元的情況,從監視優先順位最高的通信單元開始依序發出系統切換要求。因此,根據實施形態2,可將複數個通信單元設定作為監視對象。而且,根據實施形態2,可從設定作為監視對象之複數個通信單元之中監視優先順位最高的通信單元開始依序從通信異常狀況恢復正常。 As described above, according to the second embodiment, the main communication unit 13 sequentially issues a system switching request from the communication unit having the highest priority of monitoring, when there are a plurality of communication units that are both the unacknowledged unit and the monitoring target. Therefore, according to the second embodiment, a plurality of communication units can be set as the monitoring target. Further, according to the second embodiment, it is possible to sequentially return from the communication abnormality state to the communication unit having the highest priority among the plurality of communication units set as the monitoring target.

實施形態3. Embodiment 3.

在以下的實施形態3中,針對使系統切換資訊顯示於使用者裝置1之處理進行說明。第8圖係顯示實施形態3之冗餘化系統1000的處理的流程之圖。 In the following third embodiment, a description will be given of a process of displaying system switching information on the user device 1. Fig. 8 is a view showing the flow of processing of the redundancy system 1000 of the third embodiment.

如第8圖所示,使用者裝置1接收到診斷資訊畫面的顯示要求(步驟S51),就將系統切換資訊的取得要求發送至主系統10(步驟S52)。 As shown in FIG. 8, when the user device 1 receives the display request of the diagnostic information screen (step S51), the user device 1 transmits the system switching information acquisition request to the main system 10 (step S52).

主系統10的可程式控制器11從使用者裝置1接收到系統切換資訊的取得要求,就將系統切換資訊的取得要求傳送給主通信單元13(步驟S53)。 When the programmable controller 11 of the main system 10 receives the system switching information acquisition request from the user device 1, the program switching information acquisition request is transmitted to the main communication unit 13 (step S53).

主通信單元13從可程式控制器11接收到系統切換資訊的取得要求,就從記憶體單元13b將系統切換資訊d4讀入(步驟S54)。接著,主通信單元13將所讀入的 系統切換資訊d4傳送給可程式控制器11(步驟S55)。 Upon receiving the request for acquiring the system switching information from the programmable controller 11, the main communication unit 13 reads the system switching information d4 from the memory unit 13b (step S54). Then, the main communication unit 13 will read in The system switching information d4 is transmitted to the programmable controller 11 (step S55).

可程式控制器11從主通信單元13接收到系統切換資訊d4,就將系統切換資訊d4發送至使用者裝置1(步驟S56)。 Upon receiving the system switching information d4 from the main communication unit 13, the programmable controller 11 transmits the system switching information d4 to the user device 1 (step S56).

使用者裝置1從主系統10接收到系統切換資訊d4,就根據接收到的系統切換資訊d4而製作出診斷資訊,且輸出診斷資訊畫面並使之顯示於顯示器1c(步驟S57)。 Upon receiving the system switching information d4 from the host system 10, the user device 1 creates diagnostic information based on the received system switching information d4, and outputs a diagnostic information screen to be displayed on the display 1c (step S57).

第9圖係顯示實施形態3中之診斷資訊畫面的構成例之圖。如第9圖所示,診斷資訊畫面90係包含:用來顯示通信異常發生時的冗餘化系統1000的構成資訊、及現在的冗餘化系統1000的構成資訊之顯示區域91;以及用來顯示使用者在顯示區域91所選擇的通信單元的動作狀態之顯示區域92而構成。第9圖所示的例子,係在顯示區域91及顯示區域92中利用由表示通信單元之圖標(icon)、及表示纜線之直線所構成之模型(model)來表示系統的構成。另外,如第9圖所示,診斷資訊畫面90係具有:在顯示區域91及顯示區域92中利用彈出(popup)畫面93來顯示與使用者所選擇的圖標對應之通信單元的詳細資訊之多重視窗(multi-window)構成。彈出畫面93中顯示使用者所選擇的通信單元的通信異常的原因。 Fig. 9 is a view showing an example of the configuration of the diagnostic information screen in the third embodiment. As shown in FIG. 9, the diagnostic information screen 90 includes: display information for displaying the configuration information of the redundancy system 1000 when the communication abnormality occurs, and the configuration information of the current redundancy system 1000; The display area 92 in which the user operates in the display area 91 is displayed. In the example shown in FIG. 9, the display area 91 and the display area 92 are represented by a model represented by an icon (icon) indicating a communication unit and a line indicating a cable. Further, as shown in FIG. 9, the diagnostic information screen 90 has a plurality of detailed information of the communication unit corresponding to the icon selected by the user by using the popup screen 93 in the display area 91 and the display area 92. The window (multi-window) is composed. The pop-up screen 93 displays the cause of the communication abnormality of the communication unit selected by the user.

如上所述,根據實施形態3,使診斷資訊畫面90顯示於使用者裝置1,就可有效率地使使用者實施系統維護及故障排除。 As described above, according to the third embodiment, by displaying the diagnostic information screen 90 on the user device 1, the user can be efficiently implemented in system maintenance and troubleshooting.

在以上的實施形態之冗餘化系統1000中,說明的雖然是主通信單元13利用屬於硬體資源之微處理器13a及記憶體單元13b執行與各項控制對應的程式,來實現與各項控制對應的處理之例,但不限於此。亦即,亦可利用結合有與記憶體單元13b中記憶的程式對應之ASIC(Application Specific Integrated Circuit)及FPGA(Field Programmable Gate Array)等之複數個處理電路而成的佈線邏輯(wired logic),來實現上述的各項控制。 In the redundancy system 1000 of the above embodiment, the main communication unit 13 performs the programs corresponding to the respective controls by using the microprocessor 13a and the memory unit 13b belonging to the hardware resources. An example of controlling the corresponding processing is not limited thereto. In other words, it is also possible to use a wired logic in which a plurality of processing circuits such as an ASIC (Application Specific Integrated Circuit) and an FPGA (Field Programmable Gate Array) corresponding to the program stored in the memory unit 13b are combined. To achieve the above control.

在上述的實施形態中,說明的雖然是在主系統10中形成為在機能上使可程式控制器11及主通信單元13分散之構成,但不限於此,亦可使可程式控制器11也具有原本利用主通信單元13而實現之機能。亦即,由可程式控制器11檢測出設定作為監視對象局之通信單元42的通信異常且以自己為主體地判定系統切換之實施。此情況之可程式控制器11為第一控制裝置的一例。又,上述實施形態中說明的主通信單元13亦可構成為可相對於利用運用系及待機系而冗餘化的任意的冗餘化系統而插拔之狀態。此情況之主通信單元13為通信單元的一例。 In the above-described embodiment, the main system 10 is configured to disperse the programmable controller 11 and the main communication unit 13 functionally. However, the present invention is not limited thereto, and the programmable controller 11 may be also provided. It has the function originally realized by the main communication unit 13. In other words, the programmable controller 11 detects the communication abnormality of the communication unit 42 set as the monitoring target station and determines the execution of the system switching based on itself. The programmable controller 11 in this case is an example of the first control device. Further, the main communication unit 13 described in the above embodiment may be configured to be inserted and removed with respect to an arbitrary redundancy system that is redundant by the operation system and the standby system. The main communication unit 13 in this case is an example of a communication unit.

以上的實施形態所揭示的構成,表示的只是本發明的內容的一例,除此之外,還可與別的公知的技術相組合,或在未脫離本發明的要旨之範圍內,將構成的一部分予以省略或變更。 The configuration disclosed in the above embodiments is merely an example of the content of the present invention, and may be combined with other known techniques or may be constructed without departing from the gist of the present invention. Some are omitted or changed.

1‧‧‧使用者裝置 1‧‧‧User device

5‧‧‧參數 5‧‧‧ parameters

10‧‧‧主系統 10‧‧‧Main system

11‧‧‧可程式控制器 11‧‧‧Programmable controller

12‧‧‧追蹤用通信單元 12‧‧‧Tracking communication unit

13‧‧‧主通信單元 13‧‧‧Main communication unit

20‧‧‧副主系統 20‧‧‧Sub-master system

20a、30a、40a、50a‧‧‧生存確認用資料 20a, 30a, 40a, 50a, ‧ ‧ survival confirmation data

21‧‧‧可程式控制器 21‧‧‧Programmable controller

22‧‧‧追蹤用通信單元 22‧‧‧Tracking communication unit

23‧‧‧副主通信單元 23‧‧‧Sub-master communication unit

30‧‧‧區域系統 30‧‧‧Regional system

31‧‧‧可程式控制器 31‧‧‧Programmable Controller

32‧‧‧通信單元 32‧‧‧Communication unit

40‧‧‧區域系統 40‧‧‧Regional system

41‧‧‧可程式控制器 41‧‧‧Programmable controller

42‧‧‧通信單元 42‧‧‧Communication unit

50‧‧‧區域系統 50‧‧‧Regional system

51‧‧‧可程式控制器 51‧‧‧Programmable controller

52‧‧‧通信單元 52‧‧‧Communication unit

1000‧‧‧冗餘化系統 1000‧‧‧Redundant system

Claims (6)

一種冗餘化系統,其係包含第一控制裝置、連接至前述第一控制裝置且作為前述第一控制裝置的預備裝置之第二控制裝置、以及連接至前述第一控制裝置及前述第二控制裝置之複數個從屬系通信單元而構成之冗餘化系統,其中,前述第一控制裝置係具備有:記憶部,係記憶參數、以及複數個前述從屬系通信單元的生存確認用資料,該參數係包含有用來從複數個前述從屬系通信單元之中具體指定出成為通信異常的監視對象之監視對象單元的資訊;以及控制部,係在可根據前述生存確認用資料而判斷複數個前述從屬系通信單元之中有生存未確認單元存在,且可根據前述參數而判斷該生存未確認單元為前述監視對象單元之情況,進行從前述第一控制裝置切換到前述第二控制裝置之系統切換。 A redundancy system comprising a first control device, a second control device connected to the first control device and serving as a preliminary device of the first control device, and connected to the first control device and the second control A redundancy system comprising a plurality of slave communication units, wherein the first control device includes: a memory unit, a memory parameter, and a survival confirmation data of the plurality of slave communication units, the parameter The present invention includes information for specifically designating a monitoring target unit that is a monitoring target that is a communication abnormality among a plurality of the above-described slave communication units, and a control unit that determines a plurality of the dependent systems based on the survival confirmation data. Among the communication units, there is a survival unconfirmed unit, and it is determined that the survival unconfirmed unit is the monitoring target unit based on the parameter, and the system switching from the first control device to the second control device is performed. 一種冗餘化系統,其係包括包含有控制系單元及第一通信單元之第一系統、包含有與前述第一通信單元連接之第二通信單元且作為前述第一系統的預備裝置之第二系統、以及連接至前述第一通信單元及前述第二通信單元之複數個從屬系通信單元而構成之冗餘化系統,其中,前述第一通信單元係具備有:記憶部,係記憶參數、以及從複數個前述從屬系通 信單元逐次地發送來的生存確認用資料,其中該參數係包含有用來從複數個前述從屬系通信單元之中具體指定出成為通信異常的監視對象之監視對象單元的資訊;以及控制部,係根據前述生存確認用資料而判定複數個前述從屬系通信單元之中是否存在有在一定時間以上都未收到其生存的確認之生存未確認單元,且在判定結果有前述生存未確認單元存在之情況,參考前述參數,判定該生存未確認單元是否為前述監視對象單元,在判定結果為前述生存未確認單元係前述監視對象單元之情況,將要從前述第一系統切換到前述第二系統之系統切換要求通知給前述控制系單元。 A redundancy system comprising a first system including a control system unit and a first communication unit, a second communication unit including a first communication unit coupled to the first communication unit, and a second preparation device as the first system a system, and a redundancy system configured by connecting a plurality of slave communication units of the first communication unit and the second communication unit, wherein the first communication unit is provided with: a memory unit, a memory parameter, and From a plurality of the aforementioned subordinate systems The survival confirmation data transmitted by the letter unit sequentially, wherein the parameter includes information for specifically specifying a monitoring target unit that is a monitoring target of the communication abnormality among the plurality of the slave communication units; and a control unit Determining, by the survival confirmation data, whether there is a survival unacknowledgment unit that has not confirmed the survival of the plurality of slave communication units for a certain period of time or more, and the existence of the survival unconfirmed unit exists in the determination result, Referring to the foregoing parameters, it is determined whether the survival unconfirmed unit is the monitoring target unit, and if the result of the determination is that the survival unacknowledged unit is the monitoring target unit, the system switching request to be switched from the first system to the second system is notified to The aforementioned control system unit. 如申請專利範圍第2項所述之冗餘化系統,其中,前述記憶部所記憶的前述參數,係包含有與前述監視對象單元對應的監視優先順位,前述控制部係在存在有複數個前述生存未確認單元,且複數個該生存未確認單元之各者都是前述監視對象單元之情況,根據前述參數所包含的前述監視優先順位,而決定從優先順位最高的監視對象單元開始依序進行系統切換。 The redundancy system according to claim 2, wherein the parameter stored in the memory unit includes a monitoring priority order corresponding to the monitoring target unit, and the control unit has a plurality of the foregoing When the survival unconfirmed unit and each of the plurality of survival unconfirmed units are the monitoring target units, determining the system switching from the monitoring target unit having the highest priority according to the monitoring priority order included in the parameter . 如申請專利範圍第2或3項所述之冗餘化系統,其中,前述控制部係在已決定要進行前述系統切換之情況,將與系統切換有關之系統切換資訊儲存至前述記憶部。 The redundancy system according to claim 2, wherein the control unit stores system switching information related to system switching in the memory unit when it is determined that the system switching is to be performed. 如申請專利範圍第4項所述之冗餘化系統,其中,前述冗餘化系統更包含:連接至前述第一系統之使用者裝置,前述控制部係因應從前述使用者裝置接收到前述系統切換資訊之發送要求,而將該系統切換資訊發送至前述使用者裝置,前述使用者裝置係使從前述第一系統接收到的前述系統切換資訊顯示於顯示部。 The redundancy system of claim 4, wherein the redundant system further comprises: a user device connected to the first system, wherein the control unit receives the system from the user device The system switching information is transmitted to the user device by switching the information transmission request, and the user device displays the system switching information received from the first system on the display unit. 一種通信單元,其係搭載於利用第一系統及作為該第一系統的待機系統之第二系統而做冗餘化構成而成的冗餘化系統中的通信單元,其中,前述通信單元係以可與連接至前述第一系統及前述第二系統之複數個從屬系通信單元通信之方式與前述複數個從屬系通信單元連接,且具備有:記憶部,係記憶參數、以及從複數個前述從屬系通信單元逐次地發送來的生存確認用資料,其中該參數係包含有用來從複數個前述從屬系通信單元之中具體指定出成為通信異常的監視對象之監視對象單元的資訊;以及控制部,係根據前述生存確認用資料而判定複數個前述從屬系通信單元之中是否存在有在一定時間以上都未收到其生存的確認之生存未確認單元,且在判定結果有前述生存未確認單元存在之情況,參考前述參數,判定該生存未確認單元是否為前述監視對象單元,在判 定結果為前述生存未確認單元係前述監視對象單元之情況,決定要進行從前述第一系統切換到前述第二系統之系統切換。 A communication unit mounted in a communication unit in a redundant system configured by using a first system and a second system as a standby system of the first system, wherein the communication unit is And communicating with the plurality of slave communication units connected to the first system and the second system, and connecting to the plurality of slave communication units, and having: a memory unit, a memory parameter, and a plurality of the foregoing slaves The survival confirmation data sequentially transmitted by the communication unit, wherein the parameter includes information for specifically specifying a monitoring target unit that is a monitoring target of the communication abnormality among the plurality of the slave communication units; and a control unit, Determining, by the survival confirmation data, whether or not there is a survival unacknowledgment unit that has not confirmed the survival of the plurality of slave communication units for a certain period of time or more, and the existence of the survival unconfirmed unit exists in the determination result Referring to the foregoing parameters, determining whether the survival unconfirmed unit is the aforementioned monitoring target unit At arbitration As a result, the survival unrecognized unit is the monitoring target unit, and it is determined that the system switching from the first system to the second system is performed.
TW105110010A 2015-04-02 2016-03-30 Redundancy system and communication unit TWI567547B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/060513 WO2016157507A1 (en) 2015-04-02 2015-04-02 Redundant system and communication unit

Publications (2)

Publication Number Publication Date
TW201638785A TW201638785A (en) 2016-11-01
TWI567547B true TWI567547B (en) 2017-01-21

Family

ID=56871802

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105110010A TWI567547B (en) 2015-04-02 2016-03-30 Redundancy system and communication unit

Country Status (5)

Country Link
JP (1) JP5989288B1 (en)
KR (1) KR101750673B1 (en)
CN (1) CN106255960B (en)
TW (1) TWI567547B (en)
WO (1) WO2016157507A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107220197A (en) * 2017-06-19 2017-09-29 郑州云海信息技术有限公司 A kind of dual control storage device master/standby control method and device
JP7316779B2 (en) * 2018-12-05 2023-07-28 アズビル株式会社 FACILITY MONITORING SYSTEM AND COMMUNICATION METHOD IN FACILITY MONITORING SYSTEM
US11782857B2 (en) * 2020-05-19 2023-10-10 Mitsubishi Electric Corporation Expansion base unit, control device, control system, and control method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010146363A (en) * 2008-12-19 2010-07-01 Mitsubishi Electric Corp System switching system of duplex programmable controller
US20120266018A1 (en) * 2011-04-11 2012-10-18 Nec Corporation Fault-tolerant computer system, fault-tolerant computer system control method and recording medium storing control program for fault-tolerant computer system
TWI383294B (en) * 2004-05-25 2013-01-21 Hewlett Packard Development Co System to identify components of a data communications architecture
TW201342040A (en) * 2011-12-21 2013-10-16 Intel Corp Error framework for a microprocessor and system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3914072B2 (en) * 2002-03-19 2007-05-16 株式会社山武 Network failure monitoring method, communication system, and line switching apparatus
JP2006338600A (en) * 2005-06-06 2006-12-14 Matsushita Electric Ind Co Ltd Duplex switching system
JP4836979B2 (en) 2008-03-07 2011-12-14 三菱電機株式会社 Duplex programmable controller
CN202261334U (en) * 2011-08-01 2012-05-30 上海海得控制系统股份有限公司 Looped network link redundancy control system
CN103617104B (en) * 2013-12-01 2017-01-04 中国船舶重工集团公司第七一六研究所 A kind of redundancy computer system main passive detection method of node failure based on IPMI
CN103744743A (en) * 2014-01-17 2014-04-23 浪潮电子信息产业股份有限公司 Heartbeat signal redundant configuration method based on RAC model of database
CN104346212A (en) * 2014-10-20 2015-02-11 浪潮电子信息产业股份有限公司 Optimization method of I/O (input/output) performance of virtual machine

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI383294B (en) * 2004-05-25 2013-01-21 Hewlett Packard Development Co System to identify components of a data communications architecture
JP2010146363A (en) * 2008-12-19 2010-07-01 Mitsubishi Electric Corp System switching system of duplex programmable controller
US20120266018A1 (en) * 2011-04-11 2012-10-18 Nec Corporation Fault-tolerant computer system, fault-tolerant computer system control method and recording medium storing control program for fault-tolerant computer system
TW201342040A (en) * 2011-12-21 2013-10-16 Intel Corp Error framework for a microprocessor and system

Also Published As

Publication number Publication date
CN106255960B (en) 2018-02-09
KR101750673B1 (en) 2017-06-23
CN106255960A (en) 2016-12-21
JPWO2016157507A1 (en) 2017-04-27
KR20160127835A (en) 2016-11-04
WO2016157507A1 (en) 2016-10-06
JP5989288B1 (en) 2016-09-07
TW201638785A (en) 2016-11-01

Similar Documents

Publication Publication Date Title
CN105974879B (en) Redundant control device, system and control method in digital I&C system
TWI567547B (en) Redundancy system and communication unit
CN104570721B (en) Redundant manipulator master slave mode determines method
CN101609421B (en) Duplexed operation processor control system, and duplexed operation processor control method
CN105306605B (en) A kind of double host server systems
US20120210030A1 (en) Automation system and method for operating an automation system
US20160380835A1 (en) Communication system using network
KR101705504B1 (en) Programmable controller and programmable controller system
CN111654384A (en) Main/standby switching method, BRAS (broadband remote Access Server) equipment and storage medium
JP6301752B2 (en) Information service display system and time synchronization method
EP2629469A2 (en) Wireless gateway apparatus
JP4245020B2 (en) Matrix switcher device and control method of matrix switcher device
US20180039248A1 (en) Programmable logic controller, slave device, and duplex system
WO2019087849A1 (en) Communication system, apparatus to be controlled, and communication system control method
CN104202193A (en) Distributed protection link fault detection method
EP3232646B1 (en) Apparatus for relaying data transmission in scada system
JP2017098778A (en) Switch control apparatus, switch control method, and switch control program
CN109104333A (en) The synchronous method and device of distributed type assemblies based on GIT
KR102449717B1 (en) Process control method that can change process line and smart process system
CN104483926B (en) A kind of main control unit distributed control method
JP2008299658A (en) Monitoring control system
JP6238720B2 (en) Supervisory control system
JP6289214B2 (en) Information processing system and method
WO2023171242A1 (en) Communication control device, communication control method, and communication control program
US20200060008A1 (en) Lighting controller and lighting control method