TW201608350A - Equipment management device, equipment management method, and program - Google Patents

Equipment management device, equipment management method, and program Download PDF

Info

Publication number
TW201608350A
TW201608350A TW103133445A TW103133445A TW201608350A TW 201608350 A TW201608350 A TW 201608350A TW 103133445 A TW103133445 A TW 103133445A TW 103133445 A TW103133445 A TW 103133445A TW 201608350 A TW201608350 A TW 201608350A
Authority
TW
Taiwan
Prior art keywords
unit
information
setting
configuration
setting information
Prior art date
Application number
TW103133445A
Other languages
Chinese (zh)
Inventor
Akihiro Miura
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Publication of TW201608350A publication Critical patent/TW201608350A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Programmable Controllers (AREA)

Abstract

Each of a plurality of controllers (400) includes one or more units that can be combined in different manners. Each controller (400) can be configured to have any of a plurality of types of unit configurations by combining units in different manners. A setting device (300) stores definition information which defines a plurality of unit configuration sets, each consisting of unit configurations selected for the respective controllers (400), and which also defines configuration information to be set for each controller (400) for each unit configuration set. The setting device (300) identifies the current unit configuration of each controller (400), and extracts, from the definition information, the unit configuration set that matches the combination of the current unit configurations of the controllers (400). Further, one of the controllers (400) sets each controller (400) to the configuration information defined by the definition information for the extracted unit configuration set.

Description

機器管理裝置、機器管理方法及程式產品 Machine management device, machine management method, and program product

本發明係關於管理複數機器的機器管理技術。 The present invention relates to machine management techniques for managing a plurality of machines.

例如,在組合了用以控制進行多品項少量生產的工廠內的生產設備(機器人、馬達、加工機器等)的複數單元(電源單元、PLC(Programmable Logic Controller)、輸入單元、輸出單元等)的控制系統中,為了在同一個生產線製造其他種類的製品而改變控制系統的一部份單元構成。 For example, a combination of a plurality of units (a power supply unit, a PLC (Programmable Logic Controller), an input unit, an output unit, and the like) for controlling production facilities (robots, motors, processing machines, and the like) in a factory that performs small-scale production of a plurality of items is combined. In the control system, a part of the unit structure of the control system is changed in order to manufacture other kinds of products on the same production line.

在改變控制系統的一部份單元構成的情況下,必須要配合改變後的單元構成而將設定資訊(控制程式及參數)進行再設定。 In the case of changing the configuration of a part of the control system, it is necessary to reset the setting information (control program and parameters) in accordance with the changed unit configuration.

已有專利文獻1記載的技術,作為使設定資訊之再設定效率化的技術。 The technique described in Patent Document 1 is a technique for improving the setting of setting information.

先行技術文獻 Advanced technical literature 專利文獻 Patent literature

專利文獻1:日本特開2007-213275號公報 Patent Document 1: Japanese Laid-Open Patent Publication No. 2007-213275

專利文獻1中揭露的技術之內容為,在由1個以上的單元(在專利文獻1中為控制對象機器)構成的機器(在專利文 獻1中為控制器)中改變單元構成的情況下,選擇對應於改變後的單元構成之控制程式。 The content of the technique disclosed in Patent Document 1 is a machine composed of one or more units (a device to be controlled in Patent Document 1) (in the patent document) In the case where the unit configuration is changed in the controller 1 , the control program corresponding to the changed unit configuration is selected.

但是,在專利文獻1中,係假定為一台機器(控制器)的情況,所以會有如後的課題:在複數機器透過網路連結的控制系統中,無法選擇適當的控制程式。 However, in Patent Document 1, it is assumed that one device (controller) is used. Therefore, there is a problem in that a control system that is connected to a plurality of devices through a network cannot select an appropriate control program.

亦即,在專利文獻1的技術中有如後的課題:在複數機器中改變單元構成的情況下,無法設定適合單元構成組合的控制程式。 That is, in the technique of Patent Document 1, there is a problem in the following that when the unit configuration is changed in a plurality of devices, it is not possible to set a control program suitable for the combination of the unit configurations.

本發明之主要目的在於解決上述課題,其主要目 的為:在複數機器相連結的系統中,對應於單元構成之組合,針對各機器設定適當的設定資訊。 The main object of the present invention is to solve the above problems, and the main purpose thereof In the system in which a plurality of machines are connected, appropriate setting information is set for each device in accordance with the combination of the unit configurations.

本發明的機器管理裝置,其管理複數機器,該等複數機器中的每一者各自包含可重組的1個以上的單元,且該等複數機器中的每一者各自藉由單元的重組而得到複數種的單元構成,該機器管理裝置包括:記憶部,其記憶定義資訊,其定義複數個以該等複數機器為單位之組合各機器之單元構成的單元構成組,並針對各單元構成組,定義設定於各機器的設定資訊;確定部,其確定各機器目前的單元構成;擷取部,從該定義資訊中擷取與該確定部所確定之各機器目前的單元構成之組合一致的單元構成組;及設定部,其對於該擷取部所擷取的單元構成組,將該定義資訊中定義的設定資訊設定於各機器。 The machine management apparatus of the present invention manages a plurality of machines each of which includes one or more units that are reconfigurable, and each of the plurality of machines is obtained by recombination of the units a plurality of types of units, the machine management apparatus comprising: a memory unit that memorizes definition information, defines a plurality of unit groups composed of units of the respective machines in units of the plurality of machines, and forms a group for each unit, Defining a setting information set in each machine; a determining unit that determines a current unit configuration of each machine; and a capturing unit that extracts, from the definition information, a unit that is consistent with a combination of current unit configurations of each machine determined by the determining unit And a setting unit that sets the setting information defined in the definition information to each device for the unit group selected by the capturing unit.

在本發明中,針對各單元構成組(單元構成之組合)定義設定資訊,確定各機器目前的單元構成,對於與各機器目前的單元構成之組合一致的單元構成組,將已定義的設定資訊設定於各機器。 In the present invention, setting information is defined for each unit constituent group (combination of unit configurations), and the current unit configuration of each device is determined, and the defined setting information is defined for the unit constituent group that is consistent with the current unit configuration of each device. Set to each machine.

因此,依據本發明,能夠因應單元構成的組合,針對各機器設定適當的設定資訊。 Therefore, according to the present invention, it is possible to set appropriate setting information for each device in accordance with the combination of the unit configurations.

1‧‧‧輸入部 1‧‧‧ Input Department

2‧‧‧系統構成資訊產生部 2‧‧‧System Composition Information Generation Department

3‧‧‧設定資訊產生部 3‧‧‧Set up the information generation department

4‧‧‧設定資訊管理部 4‧‧‧Set up the Information Management Department

5‧‧‧設定資訊對應處理部 5‧‧‧Set Information Correspondence Processing Department

6‧‧‧設定資訊記憶部 6‧‧‧Set Information Memory Department

7‧‧‧通信處理部 7‧‧‧Communication Processing Department

8‧‧‧通信處理部 8‧‧‧Communication Processing Department

9‧‧‧構成資訊收集部 9‧‧‧ constitutes the information collection department

10‧‧‧設定資訊執行管理部 10‧‧‧Set Information Management Department

11‧‧‧設定資訊記憶部 11‧‧‧Set Information Memory Department

12‧‧‧構成資訊比較部 12‧‧‧ constitutes the Information Comparison Department

13‧‧‧設定資訊設定部 13‧‧‧Set Information Setting Department

14‧‧‧設定資訊設定指示部 14‧‧‧Set information setting instruction section

15‧‧‧控制程式執行控制部 15‧‧‧Control Program Execution Control Department

16‧‧‧構成資訊轉換處理部 16‧‧‧ constitutes the Information Conversion Processing Department

17‧‧‧構成資訊轉換處理部 17‧‧‧ constitutes the Information Conversion Processing Department

18‧‧‧構成資訊範圍指定部 18‧‧‧ constitutes the designated department of information

100‧‧‧設定資訊管理系統 100‧‧‧Set up an information management system

200‧‧‧設定資訊產生裝置 200‧‧‧Set information generation device

300‧‧‧設定執行裝置 300‧‧‧Setting the actuator

400‧‧‧控制器 400‧‧‧ Controller

500‧‧‧控制系統 500‧‧‧Control system

第1圖為顯示實施形態1的系統構成例之圖。 Fig. 1 is a view showing an example of the system configuration of the first embodiment.

第2圖為顯示實施形態1的控制系統的細節之圖。 Fig. 2 is a view showing details of the control system of the first embodiment.

第3圖為顯示實施形態1的設定資訊產生裝置之構成例的圖。 Fig. 3 is a view showing an example of the configuration of a setting information generating device of the first embodiment.

第4圖為顯示實施形態1的設定執行裝置之構成例的圖。 Fig. 4 is a view showing an example of the configuration of a setting execution device according to the first embodiment.

第5圖為顯示實施形態1的控制器之構成例的圖。 Fig. 5 is a view showing an example of the configuration of a controller in the first embodiment.

第6圖為顯示實施形態1的構成資訊之例的圖。 Fig. 6 is a view showing an example of the configuration information of the first embodiment.

第7圖為顯示實施形態1的構成資訊之例的圖。 Fig. 7 is a view showing an example of the configuration information of the first embodiment.

第8圖為顯示實施形態1的單元構成之例的圖。 Fig. 8 is a view showing an example of a unit configuration of the first embodiment.

第9圖為顯示實施形態1的單元構成之例的圖。 Fig. 9 is a view showing an example of a unit configuration of the first embodiment.

第10圖為顯示實施形態1的定義資訊之例的圖。 Fig. 10 is a view showing an example of definition information of the first embodiment.

第11圖為顯示實施形態1的產生構成資訊、設定資訊及定義資訊之程序的流程圖。 Fig. 11 is a flow chart showing a procedure for generating composition information, setting information, and defining information in the first embodiment.

第12圖為顯示實施形態1的對設定資訊進行設定之程序的流程圖。 Fig. 12 is a flow chart showing a procedure for setting setting information in the first embodiment.

第13圖為顯示實施形態2的設定資訊產生裝置之構成例的 圖。 Figure 13 is a diagram showing an example of the configuration of the setting information generating device of the second embodiment. Figure.

第14圖為顯示實施形態2的設定執行裝置之構成例的圖。 Fig. 14 is a view showing an example of the configuration of a setting execution device according to the second embodiment.

第15圖為顯示實施形態2的定義資訊之例的圖。 Fig. 15 is a view showing an example of definition information of the second embodiment.

第16圖為顯示實施形態3之設定資訊產生裝置的構成例之圖。 Fig. 16 is a view showing an example of the configuration of the setting information generating device of the third embodiment.

第17圖為顯示實施形態3的比較對象範圍之例的圖。 Fig. 17 is a view showing an example of a comparison target range in the third embodiment.

第18圖為顯示實施形態3之定義資訊的例之圖。 Fig. 18 is a view showing an example of definition information of the third embodiment.

第19圖為實施形態1~3的設定執行裝置之硬體構成例的圖。 Fig. 19 is a view showing an example of the hardware configuration of the setting execution device of the first to third embodiments.

實施形態1 Embodiment 1

如上述,在組合了用以控制進行多品項少量生產的工廠內的生產設備(機器人、馬達、加工機器等)的複數單元(電源單元、PLC(Programmable Logic Controller)、輸入單元、輸出單元等)的控制系統中,為了在同一個生產線製造其他種類的製品而改變控制系統的一部份單元構成。 As described above, a plurality of units (a power supply unit, a PLC (Programmable Logic Controller), an input unit, an output unit, etc., which are used to control production facilities (robots, motors, processing machines, etc.) in a factory that performs small-scale production of a plurality of items are combined. In the control system, a part of the unit structure of the control system is changed in order to manufacture other kinds of products on the same production line.

在改變控制系統的一部份單元構成的情況下,要配合改變後的單元構成並對設定資訊(控制程式及參數)進行再設定。 In the case of changing the configuration of a part of the control system, it is necessary to match the changed unit configuration and reset the setting information (control program and parameters).

在本實施形態及之後的實施形態中,說明在複數控制器(機器)相連結的控制系統中,對應於各控制器的單元構成之組合並對各控制器設定適當的設定資訊的方法。 In the present embodiment and the following embodiments, a method of setting appropriate setting information for each controller in accordance with a combination of unit configurations of the respective controllers in the control system in which the plurality of controllers (machines) are connected will be described.

另外,在本實施形態及之後的實施形態中,說明因應連結於控制器內的單元之要素的不同而設定適當的設定資訊的方法。 Further, in the present embodiment and the following embodiments, a method of setting appropriate setting information in accordance with the elements of the unit connected to the controller will be described.

例如,即使是相同的輸入單元,若連結於該輸入單元的要素(檢測器或計數器等的要素)不同的話,則控制程式等的設定資訊也會不同,因此,在本實施形態及之後的實施形態中,在連結於單元的要素改變的情況下,將對應於改變後的要素之設定資訊設定於控制器。 For example, even if the elements (the elements such as the detector or the counter) connected to the input unit are different in the same input unit, the setting information of the control program or the like is different. Therefore, the present embodiment and subsequent implementations are performed. In the case, when the element connected to the unit is changed, the setting information corresponding to the changed element is set to the controller.

第1圖為顯示實施形態1的系統構成例之圖。 Fig. 1 is a view showing an example of the system configuration of the first embodiment.

設定資訊管理系統100,為管理設定資訊之產生及 設定的系統,其係由設定資訊產生裝置200和設定執行裝置300構成。 Setting up the information management system 100 to generate management information and The set system is composed of the setting information generating device 200 and the setting executing device 300.

設定資訊產生裝置200為例如PC(Personal Computer)。 The setting information generating device 200 is, for example, a PC (Personal Computer).

設定執行裝置300為例如後述般包含PLC等的控制器。 The setting execution device 300 is, for example, a controller including a PLC or the like as will be described later.

設定資訊產生裝置200和設定執行裝置300係由例如USB(Universal Serial Bus)纜線或乙太(Ethernet(登錄商標))等的網路連結。 The setting information generating device 200 and the setting executing device 300 are connected by a network such as a USB (Universal Serial Bus) cable or an Ethernet (E-mail (registered trademark)).

設定資訊產生裝置200產生設定資訊。 The setting information generating device 200 generates setting information.

設定資訊由例如控制程式和參數構成。 The setting information is composed of, for example, a control program and parameters.

設定執行裝置300管理控制器400(機器之例),並將設定資訊設定於控制器400。 The setting execution device 300 manages the controller 400 (an example of a machine) and sets the setting information to the controller 400.

設定執行裝置300相當於機器管理裝置之例。 The setting execution device 300 corresponds to an example of a device management device.

控制系統500,為在工廠等中進行生產設備之管理的系統,其係由設定執行裝置300、控制器(2)400和控制器(3)400所構成。 The control system 500 is a system for managing production equipment in a factory or the like, and is composed of a setting execution device 300, a controller (2) 400, and a controller (3) 400.

設定執行裝置300,係包含於設定資訊管理系統100及控制系統500中,在控制系統500係發揮主機的控制器之功能。 The setting execution device 300 is included in the setting information management system 100 and the control system 500, and the control system 500 functions as a controller of the host.

設定執行裝置300也記載為控制器(1)300。 The setting execution device 300 is also described as a controller (1) 300.

設定執行裝置300,將設定資訊設定於控制器(2)400和控制器(3)400,並且也將設定資訊設定在設定執行裝置300本身。 The setting execution device 300 sets the setting information to the controller (2) 400 and the controller (3) 400, and also sets the setting information to the setting execution device 300 itself.

另外,在第1圖中,有2台控制器400,但控制系統500可以包含任意台數的控制器400。 Further, in the first drawing, there are two controllers 400, but the control system 500 may include any number of controllers 400.

第2圖顯示控制系統500的細節。 FIG. 2 shows details of the control system 500.

第2圖的控制系統500中,藉由控制器間網路將控制器(1)300、控制器(2)400和控制器(3)400連結。 In the control system 500 of Fig. 2, the controller (1) 300, the controller (2) 400, and the controller (3) 400 are connected by an inter-controller network.

在不需要區別控制器(1)300、控制器(2)400和控制器(3)400時,將之統稱為控制器(無符號)。 When it is not necessary to distinguish between the controller (1) 300, the controller (2) 400, and the controller (3) 400, they are collectively referred to as a controller (unsigned).

另外,在不需要區別控制器(2)400和控制器(3)400時,將之統稱為控制器400。 In addition, when it is not necessary to distinguish between the controller (2) 400 and the controller (3) 400, they are collectively referred to as the controller 400.

在各控制器中包含複數個單元。 A plurality of units are included in each controller.

在第2圖的例中,在控制器(1)300中包含電源單元、PLC、輸入單元、輸出單元。 In the example of Fig. 2, the controller (1) 300 includes a power supply unit, a PLC, an input unit, and an output unit.

在各控制器中,可以藉由單元重組而得到複數種單元構成。 In each controller, a plurality of unit configurations can be obtained by unit recombination.

各控制器之單元構成可以相異也可以相同。 The unit configuration of each controller may be different or the same.

設定資訊產生裝置200,對於控制系統500中假設的各控制器的單元構成(構成資訊)之組合,產生與各控制器的設定資訊對應的定義資訊,並將構成資訊、設定資訊、和定義資訊儲存於設定執行裝置300。 The setting information generating device 200 generates definition information corresponding to the setting information of each controller for the combination of the unit configurations (constitution information) of the controllers assumed in the control system 500, and constitutes the information, the setting information, and the definition information. It is stored in the setting execution device 300.

另外,設定資訊產生裝置200將各控制器400中所使用的設定資訊儲存於各控制器400。 Further, the setting information generating device 200 stores the setting information used in each controller 400 in each controller 400.

而且,電源輸入各控制器400時在各控制器400中執行初始處理時,設定執行裝置300,由各控制器400通知各控制器400中目前的單元構成。 Further, when the power source is input to each controller 400, when the initial processing is executed in each controller 400, the execution device 300 is set, and each controller 400 notifies the current unit configuration in each controller 400.

另外,設定執行裝置300也在電源輸入時的初始處理中確定在設定執行裝置300中目前的單元構成。 Further, the setting execution device 300 determines the current unit configuration in the setting execution device 300 in the initial processing at the time of power supply input.

而且,設定執行裝置300,對應於各控制器400中目前的單元構成及設定執行裝置300中目前的單元構成的組合,從定義資訊中選擇各控制器400的設定資訊,並將已選擇的設定資訊設定於各控制器400。 Further, the setting execution device 300 selects the combination of the current unit configuration of each controller 400 and the current unit configuration in the setting execution device 300, selects the setting information of each controller 400 from the definition information, and selects the selected setting. Information is set in each controller 400.

另外,設定執行裝置300,從定義資訊中選擇設定執行裝置300的設定資訊,並將已選擇的設定資訊設定在設定執行裝置300本身。 Further, the setting execution device 300 selects the setting information of the setting execution device 300 from the definition information, and sets the selected setting information to the setting execution device 300 itself.

第3圖顯示實施形態1的設定資訊產生裝置200之 構成例。 Figure 3 is a diagram showing the setting information generating device 200 of the first embodiment. Configuration example.

輸入部1,透過滑鼠或鍵盤,接收使用者下達的設 定資訊之產生指示或設定資訊對設定執行裝置300、控制器400的寫入指示等。 The input unit 1 receives the user's design via a mouse or a keyboard. The information generation instruction or the setting information is written to the setting execution device 300, the controller 400, and the like.

系統構成資訊產生部2,依據使用者下達的指示,產生表示控制器之單元構成的構成資訊或顯示已產生的構成資訊。 The system configuration information generating unit 2 generates configuration information indicating the unit configuration of the controller or displays the generated composition information in accordance with an instruction issued by the user.

設定資訊產生部3,依據使用者下達的指示,產生設定資訊或顯示已產生的設定資訊。 The setting information generating unit 3 generates setting information or displays the generated setting information according to an instruction issued by the user.

設定資訊管理部4,依據使用者下達的指示,將設定資訊儲存至各控制器400、並將構成資訊、設定資訊及定義資訊儲存至設定執行裝置300。 The setting information management unit 4 stores the setting information in each controller 400 in accordance with an instruction issued by the user, and stores the configuration information, the setting information, and the definition information in the setting execution device 300.

設定資訊對應處理部5,接收設定資訊管理部4傳送的要求,產生使構成資訊的組合和設定資訊對應的定義資訊。 The setting information correspondence processing unit 5 receives the request transmitted by the setting information management unit 4, and generates definition information corresponding to the combination of the configuration information and the setting information.

設定資訊記憶部6記憶、構成資訊、設定資訊、定義資訊。 The information storage unit 6 is set to memorize, compose information, set information, and define information.

記憶在設定資訊記憶部6的構成資訊可以由系統構成資訊產生部2顯示,記憶在設定資訊記憶部6的設定資訊可以由設定資訊產生部3顯示。 The configuration information stored in the setting information storage unit 6 can be displayed by the system configuration information generating unit 2, and the setting information stored in the setting information storage unit 6 can be displayed by the setting information generating unit 3.

通信處理部7,執行設定執行裝置300及控制器400的通信。 The communication processing unit 7 executes communication between the setting execution device 300 and the controller 400.

第4圖顯示實施形態1的設定執行裝置300之構成 例。 Fig. 4 is a view showing the configuration of the setting execution device 300 of the first embodiment. example.

通信處理部8執行和設定資訊產生裝置200的通 信,從設定資訊產生裝置200接收構成資訊、設定資訊及定義資訊。 The communication processing unit 8 executes and sets the communication of the information generating device 200. The letter receives the composition information, the setting information, and the definition information from the setting information generating device 200.

另外,通信處理部8,將用於設定資訊的設定之識別子(ID(Identifier)資訊)通知控制器400。 Further, the communication processing unit 8 notifies the controller 400 of an identifier (ID (Identifier) information) for setting the setting of the information.

設定資訊的識別子(ID資訊),係為唯一分配給構成資訊之組合的ID,其係於設定資訊產生裝置200的設定資訊對應處理部5中使構成資訊和設定資訊對應時自動分配,係為用以確定對應於構成資訊的設定資訊的識別子。 The identifier of the setting information (ID information) is an ID uniquely assigned to the combination of the information, and is automatically assigned when the configuration information and the setting information are associated with the setting information corresponding processing unit 5 of the setting information generating apparatus 200. Used to determine an identifier corresponding to the setting information constituting the information.

夏文中將參照第10圖說明ID資訊的細節。 Xia Wenzhong will explain the details of the ID information with reference to FIG.

構成資訊收集部9,為了確定設定執行裝置300目 前的單元構成,而收集構成資訊(連結於設定執行裝置300之單元的型號或可識別個體的固有資訊及連結順序)。 The information collecting unit 9 is configured to determine the setting execution device 300 In the former unit configuration, the composition information (the type of the unit connected to the setting execution device 300 or the inherent information and the connection order of the identifiable individual) is collected.

另外,構成資訊收集部9,為了確定控制器400目前的單元構成,透過通信處理部8,傳送構成資訊取得要求以使得控 制器400傳送構成資訊。 Further, the configuration information collecting unit 9 transmits a configuration information acquisition request through the communication processing unit 8 in order to determine the current unit configuration of the controller 400. The controller 400 transmits the composition information.

構成資訊收集部9相當於確定部之例。 The configuration information collecting unit 9 corresponds to an example of the determining unit.

設定資訊執行管理部10管理構成資訊、設定資訊 及定義資訊。 The setting information execution management unit 10 manages the composition information and the setting information. And define information.

具體言之,設定資訊執行管理部10向設定資訊記憶部11輸出指示,以使其記憶構成資訊、設定資訊及定義資訊。 Specifically, the setting information execution management unit 10 outputs an instruction to the setting information storage unit 11 to memorize the composition information, the setting information, and the definition information.

另外,設定資訊執行管理部10,在電源輸入設定執行裝置300時執行的初始處理中,向構成資訊收集部9輸出構成資訊的收集指示。 In addition, the setting information execution management unit 10 outputs an instruction to collect information constituting the information to the configuration information collecting unit 9 in the initial processing executed when the power is input to the setting execution device 300.

另外,設定資訊執行管理部10,向構成資訊比較部12輸出指示,以使其比較構成資訊收集部9所收集的構成資訊的組合和定義資訊中記載的構成資訊的組合。 Further, the setting information execution management unit 10 outputs an instruction to the constituent information comparing unit 12 to compare the combination of the constituent information collected by the information collecting unit 9 and the constituent information described in the definition information.

另外,設定資訊執行管理部10,向設定資訊設定部13輸出指示,以使其進行設定資訊的設定。 Further, the setting information execution management unit 10 outputs an instruction to the setting information setting unit 13 to set the setting information.

再者,設定資訊執行管理部10,向設定資訊設定指示部14輸出指示,以使得將設定資訊設定於控制器400。 Further, the setting information execution management unit 10 outputs an instruction to the setting information setting instruction unit 14 so that the setting information is set to the controller 400.

設定資訊記憶部11,依據設定資訊執行管理部10 傳來的指示,記憶接收自設定資訊產生裝置200的構成資訊、設定資訊及定義資訊。 The setting information storage unit 11 executes the management unit 10 in accordance with the setting information. The incoming instruction is received from the composition information, setting information, and definition information of the setting information generating apparatus 200.

設定資訊記憶部11相當於記憶部之例。 The setting information storage unit 11 corresponds to an example of a storage unit.

構成資訊比較部12,依據接收自設定資訊執行管 理部10的指示,比較由構成資訊收集部9收集的目前的構成資訊的組合和定義資訊中所定義的構成資訊的組合。 Forming the information comparison unit 12, executing the tube according to the received information setting The instruction of the management unit 10 compares the combination of the current constituent information collected by the constituent information collecting unit 9 and the constituent information defined in the definition information.

而且,構成資訊比較部12,當定義資訊中的組合與構成資 訊收集部9所收集的目前的構成資訊的組合一致時,將該構成資訊之組合的ID資訊通知設定資訊執行管理部10。 Moreover, the information comparison unit 12 is constructed to define the combination and composition in the information. When the combination of the current constituent information collected by the information collecting unit 9 is identical, the ID information of the combination of the constituent information is notified to the setting information execution management unit 10.

在設定資訊執行管理部10中,使用由構成資訊比較部12通知的ID資訊,從設定資訊記憶部11中擷取對應於目前的單元構成的組合之設定資訊。 In the setting information execution management unit 10, the setting information corresponding to the combination of the current unit configuration is extracted from the setting information storage unit 11 using the ID information notified by the configuration information comparing unit 12.

構成資訊比較部12相當於擷取部之例。 The constituent information comparing unit 12 corresponds to an example of the capturing unit.

設定資訊設定部13,依據接收自設定資訊執行管 理部10的指示,將對應於目前的單元構成的設定資訊設定於設定執行裝置300本身。 The setting information setting unit 13 executes the tube according to the received setting information. The instruction of the management unit 10 sets the setting information corresponding to the current unit configuration to the setting execution device 300 itself.

進行設定資訊的設定,係為使設定資訊的控制程式及參數為可執行狀態。 Setting the setting information is to make the control program and parameters of the setting information executable.

設定資訊設定指示部14,從設定資訊執行管理部 10接收由構成資訊比較部12擷取的ID資訊,並產生將接收自設定資訊執行管理部10的ID資訊通知控制器400的設定資訊設定指示。 Setting information setting instruction unit 14 from setting information execution management unit The 10 receives the ID information captured by the information comparison unit 12, and generates a setting information setting instruction to notify the controller 400 of the ID information received from the setting information execution management unit 10.

繼之,設定資訊設定指示部14,透過通信處理部8,將設定資訊設定指示傳送至控制器400。 Then, the setting information setting instruction unit 14 transmits the setting information setting instruction to the controller 400 via the communication processing unit 8.

在接收了設定資訊設定指示的控制器400中,將對應於設定資訊設定指示中所通知的ID資訊的設定資訊設定在控制器400本身。 The controller 400 that has received the setting information setting instruction sets the setting information corresponding to the ID information notified in the setting information setting instruction to the controller 400 itself.

設定資訊設定指示部14相當於設定部之例。 The setting information setting instruction unit 14 corresponds to an example of a setting unit.

控制程式執行控制部15,依據設定資訊執行管理 部10傳來的指示,控制控制程式的執行。 The control program execution control unit 15 performs management based on the setting information. The instructions from Department 10 control the execution of the control program.

如上述,在設定執行裝置300中,控制器(1)300、 控制器(2)400及控制器(3)400中之目前的單元構成之組合與定義資訊的單元構成之組合一致時,允許控制程式執行,當其不一致時,則不執行控制程式以防止控制系統的誤動作。 As described above, in the setting execution device 300, the controller (1) 300, When the combination of the current unit configuration in the controller (2) 400 and the controller (3) 400 coincides with the combination of the unit configuration of the definition information, the control program is allowed to execute, and when it is inconsistent, the control program is not executed to prevent the control. System malfunction.

第5圖顯示實施形態1的控制器400之構成例。 Fig. 5 shows an example of the configuration of the controller 400 of the first embodiment.

通信處理部8與設定資訊產生裝置200及設定執行裝置300進行通信。 The communication processing unit 8 communicates with the setting information generating device 200 and the setting executing device 300.

通信處理部8,從設定資訊產生裝置200接收設定資訊,另外,從設定執行裝置300接收構成資訊取得要求及ID資訊。 The communication processing unit 8 receives the setting information from the setting information generating device 200, and receives the configuration information obtaining request and the ID information from the setting executing device 300.

在設定執行裝置300傳送構成資訊取得要求的情況下,構成資訊收集部9收集構成資訊(和控制器400連結之單元的型號或可識別個體的固有資訊及連結順序),以確定控制器400的目前的單元構成。 When the setting execution device 300 transmits the configuration information acquisition request, the configuration information collecting unit 9 collects the configuration information (the model number of the unit connected to the controller 400 or the unique information of the identifiable individual and the connection order) to determine the controller 400. Current unit composition.

而且,構成資訊收集部9,透過通信處理部8,將已收集的構成資訊傳送至設定執行裝置300。 Further, the configuration information collecting unit 9 transmits the collected configuration information to the setting execution device 300 via the communication processing unit 8.

設定資訊執行管理部10管理構成資訊及設定資訊。 The setting information execution management unit 10 manages the composition information and the setting information.

更具體地說,設定資訊執行管理部10對設定資訊記憶部11發出指示以使其記憶設定資訊。 More specifically, the setting information execution management unit 10 issues an instruction to the setting information storage unit 11 to memorize the setting information.

另外,設定資訊執行管理部10,在設定執行裝置300的電源輸入時執行的初始處理中,對構成資訊收集部9發出構成資訊的收集指示。 Further, the setting information execution management unit 10 issues an instruction to collect the configuration information to the configuration information collecting unit 9 in the initial processing executed when the power supply of the execution device 300 is set.

另外,設定資訊執行管理部10,對設定資訊設定部13發出指示以使其進行設定資訊的設定。 Further, the setting information execution management unit 10 issues an instruction to the setting information setting unit 13 to set the setting information.

設定資訊記憶部11,依據設定資訊執行管理部10 傳來的指示,記憶接收自設定資訊產生裝置200的設定資訊。 The setting information storage unit 11 executes the management unit 10 in accordance with the setting information. The received instruction is received from the setting information of the setting information generating device 200.

設定資訊設定部13,依據設定資訊執行管理部10 傳送的指示,將對應於目前的單元構成的設定資訊設定於控制器400本身。 The setting information setting unit 13 executes the management unit 10 in accordance with the setting information. The transmission instruction sets the setting information corresponding to the current unit configuration to the controller 400 itself.

進行設定資訊的設定,係為使設定資訊的控制程式及參數成為可執行的狀態。 Setting the setting information is to make the control program and parameters of the setting information executable.

控制程式執行控制部15,依據設定資訊執行管理 部10傳送的指示,控制控制程式的執行。 The control program execution control unit 15 performs management based on the setting information. The instruction transmitted by the part 10 controls the execution of the control program.

繼之,說明控制器的單元構成。 Next, the unit configuration of the controller will be described.

第6圖及第7圖顯示控制器(1)300的單元構成及構成資訊之例。 Fig. 6 and Fig. 7 show examples of the unit configuration and composition information of the controller (1) 300.

第6圖顯示控制器(1)300的單元構成11。 Fig. 6 shows the unit configuration 11 of the controller (1) 300.

單元構成11為電源單元、PLC、輸入單元及輸出單元之單元構成。 The unit configuration 11 is a unit configuration of a power supply unit, a PLC, an input unit, and an output unit.

第7圖表示控制器(1)300的單元構成12。 Fig. 7 shows the unit configuration 12 of the controller (1) 300.

單元構成12為電源單元、PLC、2個輸入單元及輸出單元的單元構成。 The unit configuration 12 is a unit configuration of a power supply unit, a PLC, two input units, and an output unit.

表示第6圖的單元構成11的構成資訊為第6圖的構成資訊11,表示第7圖的單元構成12之構成資訊為第7圖的構成資訊12。 The configuration information indicating the unit configuration 11 of Fig. 6 is the configuration information 11 of Fig. 6, and the configuration information indicating the unit configuration 12 of Fig. 7 is the configuration information 12 of Fig. 7.

構成資訊係由單元的連結順序、機器種別、型號、固有資訊構成。 The composition information consists of the unit's connection order, machine type, model, and inherent information.

設定資訊產生裝置200的系統構成資訊產生部2,針對各控制器中假想的單元構成,產生其構成資訊。 The system configuration information generating unit 2 of the setting information generating device 200 generates configuration information for a virtual unit configuration of each controller.

另外,設定執行裝置300的構成資訊收集部9,產生表示連結於設定執行裝置300之單元構成的構成資訊。 Further, the configuration information collecting unit 9 of the setting execution device 300 generates configuration information indicating the unit configuration of the connection executing device 300.

同樣地,控制器400的構成資訊收集部9也產生表示控制器400目前的單元構成之構成資訊。 Similarly, the configuration information collecting unit 9 of the controller 400 also generates configuration information indicating the current unit configuration of the controller 400.

連結順序為各單元的排列順序,在第6圖所示之例中所設定的順序為,以電源單元為1號、PLC為2號、輸入單元為3號、輸出單元為4號。 The order of connection is the order in which the units are arranged. The order set in the example shown in Fig. 6 is that the power supply unit is No. 1, the PLC is No. 2, the input unit is No. 3, and the output unit is No. 4.

固有資訊為可識別單元個體的資訊,例如為製造號碼(序號)。 The inherent information is information that identifies the individual unit, such as the manufacturing number (serial number).

另外,各單元可利用的記憶體位址的範圍隨著單元的排列順序而改變,控制程式也隨著記憶體位址之範圍的改變而改變。 In addition, the range of memory addresses available to each unit changes with the order in which the units are arranged, and the control program also changes as the range of memory addresses changes.

因此,在選擇適合單元構成之設定資訊時,必須要考慮單元的連結順序。 Therefore, when selecting the setting information suitable for the unit configuration, it is necessary to consider the order in which the units are connected.

如第8圖及第9圖所示,即使是相同的單元構成, 當連結於單元的要素不同時,必須要對應於要素的差異而變更控制程式。 As shown in Figures 8 and 9, even the same unit configuration, When the elements connected to the unit are different, the control program must be changed corresponding to the difference in the elements.

例如,在第8圖的例中,檢測器和計數器連結於輸入單元,而在第9圖的例中,則是AD(Analog-Digital)轉換器連結於輸入單元。 For example, in the example of Fig. 8, the detector and the counter are connected to the input unit, and in the example of Fig. 9, the AD (Analog-Digital) converter is connected to the input unit.

如第8圖及第9圖所示,當連結於單元的要素不同時,必須要設定分別與其對應的設定資訊。 As shown in Fig. 8 and Fig. 9, when the elements connected to the unit are different, it is necessary to set the setting information corresponding thereto.

為了要選擇適當的設定資訊,必須要確定單元所連結的要素,為了要確定單元所連結的要素,必須要確認第6圖及第7 圖所示的固有資訊。 In order to select the appropriate setting information, it is necessary to determine the elements connected to the unit. In order to determine the elements connected to the unit, it is necessary to confirm the 6th and 7th. The inherent information shown in the figure.

當確認了固有資訊時,就能夠確定連結於單元的要素之種類。 When the inherent information is confirmed, the type of the element connected to the unit can be determined.

在設定執行裝置300的構成資訊比較部12中比較構成資訊的組合時,可以將機器的固有資訊包括在內比較,也可以省略固有資訊再進行比較。 When the combination of the constituent information is compared in the configuration information comparing unit 12 of the setting execution device 300, the unique information of the device may be included, or the unique information may be omitted and compared.

使用者可以任意選擇要將機器的固有資訊包括在內比較,還是省略固有資訊再進行比較。 The user can arbitrarily choose whether to include the inherent information of the machine, or to omit the inherent information and then compare.

構成資訊,係可以由使用者用輸入部1以手動作業 產生,也可以從實際的控制系統讀取資料並由設定資訊產生裝置200的系統構成資訊產生部2產生。 The composition information can be manually operated by the user using the input unit 1 The data can be read from the actual control system and generated by the system configuration information generating unit 2 of the setting information generating device 200.

不過,在使用者以手動作業產生構成資訊的時間點,有時尚未配備單元的實機,而無法得到機器的固有資訊。 However, when the user generates the information by manual work, sometimes the actual machine of the unit is not equipped, and the inherent information of the machine cannot be obtained.

在此情況下,在配備了實機之後再由設定資訊產生裝置200的系統構成資訊產生部2從實際的控制系統讀取,將固有資訊補充到構成資訊中。 In this case, after the real machine is equipped, the system configuration information generating unit 2 of the setting information generating device 200 reads from the actual control system, and adds the unique information to the composition information.

或者,使用者以手動輸入將固有資訊補充到構成資訊中。 Alternatively, the user supplements the intrinsic information into the composition information by manual input.

第10圖為顯示於設定資訊對應處理部5所產生的 定義資訊之例的圖。 Fig. 10 is a view showing the result generated by the setting information correspondence processing unit 5. A diagram that defines an example of information.

在定義資訊中,針對控制系統500中各個假想的構 成資訊之組合定義其ID資訊,並針對控制系統500中各個假想的構成資訊之組合定義設定於各控制器的設定資訊。 In the definition information, for each hypothetical structure in the control system 500 The combination of information defines its ID information, and defines setting information set for each controller for each combination of imaginary constituent information in the control system 500.

例如,在第10圖中,對於控制器(1)300單元構成11(構成資訊11)、控制器(2)400的單元構成21(構成資訊21)和控制器 (3)400的單元構成31(構成資訊31)之組合定義ID資訊1。 For example, in FIG. 10, the unit configuration 21 (constitution information 21) and the controller of the controller (1) 300 unit configuration 11 (constitution information 11), controller (2) 400, and controller The combination of the unit configuration 31 (constitution information 31) of (3) 400 defines ID information 1.

另外,對於這些單元構成的組合,定義作為設定於控制器(1)300之設定資訊的控制程式11及參數11、作為設定於控制器(2)400之設定資訊的控制程式21及參數21、作為設定於控制器(3)400的設定資訊之控制程式31及參數31。 Further, for the combination of the unit configurations, the control program 11 and the parameter 11 which are setting information of the controller (1) 300, the control program 21 and the parameter 21 which are setting information of the controller (2) 400, are defined. The control program 31 and the parameter 31 are set as setting information of the controller (3) 400.

同樣地,對於控制器(1)300的單元構成12(構成資訊12)、控制器(2)400的單元構成22(構成資訊22)和控制器(2)400的單元構成32(構成資訊32)之組合,定義ID資訊2。 Similarly, the unit configuration 12 (constitution information 12) of the controller (1) 300, the unit configuration 22 (constitution information 22) of the controller (2) 400, and the unit configuration 32 of the controller (2) 400 (constitution information 32) A combination of ID information.

並且,對於這些單元構成的組合,定義作為設定於控制器(1)300的設定資訊之控制程式12及參數12、作為設定於控制器(2)400的設定資訊之控制程式22及參數22、作為設定於控制器(3)400的設定資訊之控制程式32及參數32。 Further, for the combination of these units, the control program 12 and the parameter 12 which are setting information of the controller (1) 300, the control program 22 and the parameter 22 which are setting information of the controller (2) 400, are defined. The control program 32 and the parameter 32 are set as setting information of the controller (3) 400.

單元構成11、單元構成21、單元構成31之組合、以及單元構成12、單元構成22、單元構成32之組合亦分別稱之為單元構成組。 The combination of the unit configuration 11, the unit configuration 21, the unit configuration 31, and the unit configuration 12, the unit configuration 22, and the unit configuration 32 are also referred to as unit configuration groups, respectively.

另外,在設定資訊產生裝置200及設定執行裝置300中,能夠從第10圖的定義資訊中記載的構成資訊之識別子讀取構成資訊的實體。 Further, in the setting information generating device 200 and the setting executing device 300, the entity constituting the information can be read from the identifier of the constituent information described in the definition information of FIG.

另外在第10圖中,於控制器(主機)的欄位中記載了 在控制系統500中作為主機的控制器。 In addition, in the figure 10, it is recorded in the field of the controller (host). A controller that acts as a host in the control system 500.

在第10圖之例中,控制器(1)300係作為主機。 In the example of Fig. 10, the controller (1) 300 is used as a host.

第11圖為顯示產生構成資訊、設定資訊及定義資 訊之程序的流程圖。 Figure 11 shows the generation of composition information, setting information and definition Flow chart of the program of the news.

在S101中,使用者使用設定資訊產生裝置200的輸 入部1和系統構成資訊產生部2,產生(閱覽.編輯)控制系統之系統構成圖(構成資訊)。 In S101, the user uses the setting information generating device 200 to lose The entry unit 1 and the system constitute the information generation unit 2, and a system configuration diagram (constitution information) of the control system is generated (viewed and edited).

或者,使用者使用輸入部1,對設定資訊管理部4發出指示以擷取儲存於設定資訊記憶部6的構成資訊,並將擷取出的構成資訊顯示於系統構成資訊產生部2以進行編輯。 Alternatively, the user uses the input unit 1 to issue an instruction to the setting information management unit 4 to retrieve the configuration information stored in the setting information storage unit 6, and displays the extracted configuration information in the system configuration information generating unit 2 for editing.

系統構成圖係顯示如第2圖所示之控制系統500的構成,其係為複數控制器以網路連結的圖。 The system configuration diagram shows the configuration of the control system 500 as shown in Fig. 2, which is a diagram in which the plurality of controllers are connected by a network.

另外,此系統構成圖可以由使用者以手工產生,或者,在設定資訊產生裝置200和控制系統500係以USB等連結的情況下,亦可為使用者使用輸入部1對設定資訊管理部4發出指示,再透過通信處理部7從控制系統500擷取構成資訊,並從擷取得到的構成資訊自動產生控制系統500全體的系統構成圖。 In addition, the system configuration diagram may be manually generated by the user, or when the setting information generating device 200 and the control system 500 are connected by USB or the like, the user may use the input unit 1 to set the information management unit 4 When the instruction is issued, the configuration information is extracted from the control system 500 by the communication processing unit 7, and the system configuration diagram of the entire configuration information automatic generation control system 500 acquired from the UI is generated.

另外,設定資訊記憶部6能夠記憶複數筆構成資訊。 Further, the setting information storage unit 6 can memorize the plurality of pen composition information.

在S102中,使用者使用輸入部1和設定資訊產生部 3,產生(閱覽.編輯)設定於控制系統500的各控制器之設定資訊。 In S102, the user uses the input unit 1 and the setting information generating unit. 3. Generate (view.edit) setting information set for each controller of the control system 500.

或者,使用者使用輸入部1對設定資訊管理部4發出指示,以擷取儲存於設定資訊記憶部6的設定資訊,並將擷取到的設定資訊顯示於設定資訊產生部3以進行編輯。 Alternatively, the user uses the input unit 1 to issue an instruction to the setting information management unit 4 to capture the setting information stored in the setting information storage unit 6, and display the captured setting information in the setting information generating unit 3 for editing.

再者,在設定資訊產生裝置200和控制系統500係以USB等連結的情況下,能夠編輯從控制器讀取出的設定資訊。 Further, when the setting information generating device 200 and the control system 500 are connected by USB or the like, the setting information read from the controller can be edited.

另外,設定資訊,能夠針對各控制器產生,或者,也能夠對於一個控制器產生複數筆設定資訊。 In addition, the setting information can be generated for each controller, or a plurality of pen setting information can be generated for one controller.

在S103中,使用者從複數筆已產生的構成資訊當 中選擇一者,並選擇一筆與已選擇的構成資訊對應的設定資訊,並對設定資訊管理部4要求進行對應程序。 In S103, the user has generated the composition information from the plurality of pens. One of the selections is selected, and a setting information corresponding to the selected composition information is selected, and the setting information management unit 4 is required to perform a corresponding program.

接收了要求的設定資訊管理部4,對設定資訊對應處理部5指示使已選擇的構成資訊和設定資訊對應。 The setting information management unit 4 that has received the request instructs the setting information correspondence processing unit 5 to associate the selected configuration information with the setting information.

接收設定資訊管理部4傳來之指示的設定資訊對應處理部5,產生專一的識別子(ID資訊),以使得能夠得知構成資訊和設定資訊的對應,如第10圖所示般,將ID資訊分配給構成資訊和設定資訊並產生定義資訊。 The setting information correspondence processing unit 5 that receives the instruction transmitted from the setting information management unit 4 generates a unique identifier (ID information) so that the correspondence between the composition information and the setting information can be known, and as shown in FIG. 10, the ID is obtained. Information is distributed to form information and set information and to generate definition information.

已產生的定義資訊係記憶於設定資訊記憶部6中。 The generated definition information is stored in the setting information storage unit 6.

在S104中,使用者從複數個控制器當中決定主機 的控制器,並將已決定的主機之控制器指示設定資訊管理部4。 In S104, the user determines the host from among a plurality of controllers. The controller, and the controller of the determined host, is instructed to set the information management unit 4.

使用者所決定之主機的控制器之識別子係記憶於設定資訊記憶部6中。 The identification unit of the controller of the host determined by the user is stored in the setting information storage unit 6.

在本實施形態中,設定執行裝置300為主機的控制器。 In the present embodiment, the setting execution device 300 is a controller of the host.

在S105中,使用者要求設定資訊管理部4將構成資 訊、設定資訊和定義資訊寫入設定執行裝置300(控制器(1)300)。 In S105, the user requests the setting information management unit 4 to constitute the capital. The message, setting information, and definition information are written to the setting execution device 300 (controller (1) 300).

接收了使用者下達之要求的設定資訊管理部4,從設定資訊記憶部6擷取構成資訊、設定資訊和定義資訊,並透過通信處理部7將構成資訊、設定資訊和定義資訊傳送至設定執行裝置300。 The setting information management unit 4 that has received the request from the user retrieves the composition information, the setting information, and the definition information from the setting information storage unit 6, and transmits the configuration information, the setting information, and the definition information to the setting execution through the communication processing unit 7. Device 300.

另外,在設定執行裝置300已經保有設定執行裝置300本身的構成資訊及設定資訊、控制器(2)400的構成資訊及設定資 訊、及控制器(3)400的構成資訊及設定資訊的情況下,設定資訊管理部4亦可僅傳送定義資訊。 In addition, the setting execution device 300 already holds the configuration information and setting information of the setting execution device 300 itself, the configuration information of the controller (2) 400, and the setting capital. In the case of the configuration information and setting information of the controller and the controller (3) 400, the setting information management unit 4 may transmit only the definition information.

另外,設定資訊管理部4,將設定執行裝置300為主機的控制器之事實通知設定執行裝置300。 Further, the setting information management unit 4 notifies the setting execution device 300 of the fact that the setting execution device 300 is the controller of the host.

設定資訊管理部4係藉由例如第10圖之「控制器(主機)」的旗標設定,以通知設定執行裝置300為主機的控制器之事實。 The setting information management unit 4 notifies the fact that the setting execution device 300 is the controller of the host by, for example, the flag setting of the "controller (host)" in FIG.

另外,設定資訊管理部4,使設定資訊和ID資訊彼此對應,並透過通信處理部7將其傳送至控制器400。 Further, the setting information management unit 4 causes the setting information and the ID information to correspond to each other, and transmits the same to the controller 400 via the communication processing unit 7.

例如,設定資訊管理部4,使控制程式21及參數21和ID資訊1彼此對應,並使控制程式22及參數22和ID資訊2彼此對應,再將其傳送至控制器(2)400。 For example, the setting information management unit 4 causes the control program 21 and the parameter 21 and the ID information 1 to correspond to each other, and causes the control program 22 and the parameter 22 and the ID information 2 to correspond to each other, and transmits the same to the controller (2) 400.

另外,設定資訊管理部4,使控制程式31及參數31和ID資訊1彼此對應,並使控制程式32及參數32和ID資訊2彼此對應,再將其傳送至控制器(3)400、。 Further, the setting information management unit 4 associates the control program 31, the parameter 31, and the ID information 1 with each other, and causes the control program 32 and the parameter 32 and the ID information 2 to correspond to each other, and transmits the same to the controller (3) 400.

在S106中,設定執行裝置300的通信處理部8接收 構成資訊、設定資訊和定義資訊,設定資訊執行管理部10將構成資訊、設定資訊和定義資訊儲存在設定資訊記憶部11中。 In S106, the communication processing unit 8 of the setting execution device 300 receives The setting information execution management unit 10 stores the composition information, the setting information, and the definition information in the setting information storage unit 11 in the information, setting information, and definition information.

通信處理部8僅接收到定義資訊時,設定資訊執行管理部10將定義資訊儲存在設定資訊記憶部11中。 When the communication processing unit 8 receives only the definition information, the setting information execution management unit 10 stores the definition information in the setting information storage unit 11.

另外,在各控制器400中,也是由通信處理部8接收彼此對應的設定資訊和ID資訊,並由設定資訊執行管理部10將設定資訊和ID資訊儲存在設定資訊記憶部11中。 Further, in each of the controllers 400, the setting information and the ID information corresponding to each other are received by the communication processing unit 8, and the setting information execution management unit 10 stores the setting information and the ID information in the setting information storage unit 11.

第12圖為顯示因應構成資訊之設定資訊的選擇程序的流程圖。 Figure 12 is a flow chart showing a selection procedure for setting information in response to information.

在S201中,在設定執行裝置300於電源輸入時執行 的初始處理中,設定資訊執行管理部10對構成資訊收集部9要求其收集設定執行裝置300本身的構成資訊,收到要求的構成資訊收集部9則收集構成設定執行裝置300之單元的種別或型號、固有資訊、及連結順序之資訊。 In S201, execution is performed when the setting execution device 300 is input to the power source. In the initial processing, the setting information execution management unit 10 requests the configuration information collecting unit 9 to collect the configuration information of the setting execution device 300 itself, and the configuration information collecting unit 9 that has received the request collects the type of the unit constituting the setting execution device 300 or Information on model, intrinsic information, and link order.

在S202中,構成資訊收集部9收集了設定執行裝置 300的構成資訊之後,為了要收集到控制器400的構成資訊,而透過通信處理部8對控制器400要求其收集構成資訊。 In S202, the configuration information collecting unit 9 collects the setting execution device After the composition information of 300 is collected, the controller 400 is required to collect the composition information through the communication processing unit 8 in order to collect the configuration information of the controller 400.

在收到設定執行裝置300的構成資訊收集部9傳送之要求的控制器400中,構成資訊收集部9收集控制器400中的構成資訊,並透過通信處理部8將所收集到的構成資訊傳送至設定執行裝置300。 In the controller 400 that has received the request from the configuration information collecting unit 9 of the setting execution device 300, the configuration information collecting unit 9 collects the configuration information in the controller 400, and transmits the collected constituent information through the communication processing unit 8. The setting execution device 300 is set.

在S203中,設定執行裝置300的構成資訊收集部9 透過通信處理部8接收控制器400的構成資訊,設定資訊執行管理部10接收設定執行裝置300的構成資訊收集部9所收集的設定執行裝置300的構成資訊和控制器400的構成資訊,並將已接收的構成資訊輸出至構成資訊比較部12,並指示其比較構成資訊和儲存於設定資訊記憶部11內的定義資訊之構成資訊。 In S203, the configuration information collecting unit 9 of the execution device 300 is set. The communication processing unit 8 receives the configuration information of the controller 400, and the setting information execution management unit 10 receives the configuration information of the setting execution device 300 collected by the configuration information collecting unit 9 of the setting execution device 300 and the configuration information of the controller 400, and The received composition information is output to the composition information comparison unit 12, and is instructed to compare the composition information with the composition information of the definition information stored in the setting information storage unit 11.

收到了構成資訊的比較指示之構成資訊比較部12,從設定資訊記憶部11讀取出定義資訊,再從設定資訊記憶部11讀取定義資訊中所定義的構成資訊,並判斷收集到的構成資訊之組合和從設定資訊記憶部11讀取出的構成資訊的組合是否一致。 The constituent information comparing unit 12 that has received the comparison instruction constituting the information reads the definition information from the setting information storage unit 11, reads the constituent information defined in the definition information from the setting information storage unit 11, and determines the collected composition. Whether the combination of the information and the combination of the constituent information read from the setting information storage unit 11 match.

亦即,構成資訊比較部12,判斷在第10圖的定義資訊中,是否定義了與已收集到的設定執行裝置300之構成資訊、控制 器(2)400之構成資訊和控制器(3)400之構成資訊的組合一致的構成資訊之組合。 In other words, the information comparison unit 12 determines whether or not the composition information and the control of the collected setting execution device 300 are defined in the definition information of FIG. The combination of the composition information of the device (2) 400 and the composition information of the controller (3) 400 is the combination of the composition information.

在定義資訊中,具有與已收集到的構成資訊之組合一致的構成資訊的組合時,構成資訊比較部12將分配給一致之構成資訊的組合的ID資訊通知設定資訊執行管理部10。 When the combination information has a combination of the composition information and the combination of the collected composition information, the configuration information comparison unit 12 notifies the setting information execution management unit 10 of the ID information assigned to the combination of the configuration information that is consistent.

繼之,執行S204~S206的動作。 Then, the actions of S204 to S206 are executed.

另一方面,在定義資訊中,沒有與已收集到的構成資訊之組合一致的構成資訊的組合時,構成資訊比較部12將沒有一致的構成資訊組合的事實通知設定資訊執行管理部10。 On the other hand, when there is no combination of the constituent information in accordance with the combination of the collected constituent information, the constituent information comparing unit 12 notifies the setting information execution management unit 10 of the fact that the constituent information combinations are not identical.

繼之,執行S207~S209的動作。 Then, the actions of S207 to S209 are executed.

在S204中,設定資訊執行管理部10,從設定資訊記憶部11中擷取出接收自構成資訊比較部12的ID資訊所對應的設定執行裝置300的設定資訊,並要求設定資訊設定部13進行從設定資訊記憶部11擷取出的設定資訊的設定。 In S204, the setting information execution management unit 10 extracts the setting information of the setting execution device 300 corresponding to the ID information received from the configuration information comparing unit 12 from the setting information storage unit 11, and requests the setting information setting unit 13 to perform the setting. The setting of the setting information extracted by the information storage unit 11 is set.

設定資訊設定部13進行設定資訊的設定。 The setting information setting unit 13 sets the setting information.

具體言之,設定資訊設定部13將往控制程式及參數的路徑通知控制程式執行控制部15,並許可控制程式執行控制部15對控制程式及參數的存取,使得控制程式執行控制部15能夠存取控制程式及參數。 Specifically, the setting information setting unit 13 notifies the control program execution control unit 15 of the path to the control program and the parameter, and permits the control program execution control unit 15 to access the control program and parameters so that the control program execution control unit 15 can Access control programs and parameters.

另外,設定資訊執行管理部10,對控制程式執行控制部15指示控制程式的執行許可,收到該指示的控制程式執行控制部15即成為可執行控制程式及參數的狀態。 Further, the setting information execution management unit 10 instructs the control program execution control unit 15 to execute the execution permission of the control program, and the control program execution control unit 15 that has received the instruction becomes a state in which the control program and parameters can be executed.

所謂的可執行的狀態為,例如使得用以判斷可否執行控制程式的旗標為ON(有效)。 The so-called executable state is, for example, such that the flag for determining whether the control program can be executed is ON (valid).

設定執行裝置300的韌體,當該旗標為ON時,判斷為獲允許執行控制程式。 The firmware of the execution device 300 is set, and when the flag is ON, it is determined that the execution of the control program is permitted.

在S205中,設定資訊執行管理部10將S203中由構成資訊比較部12通知的ID資訊傳遞給設定資訊設定指示部14,指示設定資訊設定指示部14使其將ID資訊通知控制器400。 In S205, the setting information execution management unit 10 transmits the ID information notified by the configuration information comparing unit 12 in S203 to the setting information setting instruction unit 14, and instructs the setting information setting instruction unit 14 to notify the controller 400 of the ID information.

設定資訊設定指示部14,透過通信處理部8,將接收自設定資訊執行管理部10的ID資訊傳送至控制器400。 The setting information setting instruction unit 14 transmits the ID information received from the setting information execution management unit 10 to the controller 400 via the communication processing unit 8.

在S206中,於控制器400中,通信處理部8接收由設定執行裝置300傳來的ID資訊,設定資訊執行管理部10,從設定資訊記憶部11擷取對應於該ID資訊的設定資訊,並要求設定資訊設定部13使其進行已擷取的設定資訊之設定。 In S206, in the controller 400, the communication processing unit 8 receives the ID information transmitted from the setting execution device 300, and the setting information execution management unit 10 extracts the setting information corresponding to the ID information from the setting information storage unit 11. Further, the setting information setting unit 13 is required to set the captured setting information.

繼之,和S204一樣,設定資訊設定部13許可控制程式執行控制部15對控制程式及參數的存取,控制程式執行控制部15依據來自設定資訊執行管理部10的指示,成為可執行控制程式的狀態。 Then, the setting information setting unit 13 permits the control program execution control unit 15 to access the control program and parameters, and the control program execution control unit 15 becomes an executable control program in accordance with an instruction from the setting information execution management unit 10, as in S204. status.

藉此,能夠自動地將對應於目前的各控制器中的單元構成之設定資訊對各控制器進行設定。 Thereby, it is possible to automatically set the setting information corresponding to the unit configuration in each of the current controllers to each controller.

因此,相較於每當單元構成改變時就要以人工方式對各控制器進行設定資訊的設定時,能夠減少作業量,而且還能夠防止人工造成的錯誤。 Therefore, when the setting information is manually set for each controller when the unit configuration is changed, the amount of work can be reduced, and an artificial error can be prevented.

在S207中,在設定執行裝置300中,當設定資訊執行管理部10接收從構成資訊比較部12傳來的內容為「沒有一致的構成資訊之組合」的通知時,對控制程式執行控制部15指示禁止其執行控制程式。 In the setting execution device 300, when the setting information execution management unit 10 receives the notification that the content transmitted from the configuration information comparison unit 12 is "combination of configuration information that does not match", the control program execution control unit 15 is executed. Indicates that it is prohibited from executing the control program.

控制程式執行控制部15即成為禁止執行控制程式的狀態。 The control program execution control unit 15 is in a state in which execution of the control program is prohibited.

所謂的禁止執行的狀態,為例如將用以判斷是否可執行控制程式的旗標設定為OFF(無效)。 The state in which execution is prohibited is, for example, a flag for determining whether or not the control program can be executed is set to OFF (invalid).

設定執行裝置300的韌體,當該旗標為OFF時,判斷為不允許控制程式的執行。 The firmware of the execution device 300 is set, and when the flag is OFF, it is determined that the execution of the control program is not permitted.

藉此,在設定執行裝置300無法執行控制程式。 Thereby, the control program 300 cannot execute the control program.

在S208中,於設定執行裝置300中,設定資訊執行 管理部10,對設定資訊設定指示部14發出禁止在控制器400中執行控制程式的指示。 In S208, in the setting execution device 300, setting information execution is performed. The management unit 10 issues an instruction to the setting information setting instruction unit 14 to prohibit execution of the control program in the controller 400.

設定資訊設定指示部14,接收設定資訊執行管理部10傳來的指示,透過通信處理部8,指示控制器400以禁止其執行控制程式。 The setting information setting instruction unit 14 receives the instruction transmitted from the setting information execution management unit 10, and instructs the controller 400 to prohibit the execution of the control program by the communication processing unit 8.

在控制器400中,和S207一樣,控制程式執行控制部15成為禁止執行控制程式的狀態。 In the controller 400, like the control unit 207, the control program execution control unit 15 is in a state in which execution of the control program is prohibited.

藉此,在定義資訊中沒有定義與目前的各控制器 中的單元構成對應之單元構成時,不對各控制器執行設定資訊的設定,並禁止控制程式的執行,因此能夠防止因為人工作業設定了錯誤的設定資訊進而造成錯誤動作的事態發生。 In this way, the definition information is not defined with the current controllers. When the unit configuration in the corresponding unit configuration is performed, the setting of the setting information is not performed for each controller, and the execution of the control program is prohibited. Therefore, it is possible to prevent the occurrence of an erroneous operation due to the setting of the erroneous setting information by the manual operation.

如上述,依據本實施形態,在用於控制工廠內的 生產設備(機器人或馬達、加工機器等)的控制系統中,能夠減少在實施多品項少量生產時因為單元重組而必須進行的設定資訊的改寫作業的工作量,並能夠防止因為人工作業而造成的設定錯誤。 As described above, according to the embodiment, it is used in the control factory In the control system of the production equipment (robot, motor, processing machine, etc.), it is possible to reduce the amount of work of rewriting the setting information that must be performed due to unit reorganization when a small number of products are produced in a small amount, and can prevent the work due to manual work. The setting is wrong.

實施形態2 Embodiment 2

在實施形態1中,比較構成資訊時,係分別比較構成資訊本身(機器的種別或型號、固有資訊及連結順序),但在本實施形態中,由構成資訊的機器之種別或型號、固有資訊及連結順序產生雜湊值(構成資訊的摘要(digest))並管理之。 In the first embodiment, when the composition information is compared, the composition information itself (the type or model of the device, the unique information, and the connection order) is compared. However, in the present embodiment, the type or model of the device constituting the information and the inherent information are included. And the order of the connections produces hash values (digests that constitute the information) and manages them.

像這樣管理雜湊值以取代構成資訊,藉此能夠使比較處理更為容易。 The hash value is managed like this instead of the constituent information, whereby the comparison processing can be made easier.

以下主要說明和實施形態1之差異。 The differences between the first embodiment and the first embodiment will be mainly described below.

另外,以下未說明的事項,即與實施形態1相同。 In addition, the matters not described below are the same as those in the first embodiment.

第13圖顯示實施形態2的設定資訊產生裝置200之構成例,第14圖顯示實施形態2的設定執行裝置300之構成例。 Fig. 13 shows an example of the configuration of the setting information generating apparatus 200 of the second embodiment, and Fig. 14 shows an example of the configuration of the setting executing apparatus 300 of the second embodiment.

相較於第3圖的構成,在第13圖中加入了構成資訊轉換處理部16。 Compared with the configuration of Fig. 3, the configuration information conversion processing unit 16 is added to Fig. 13.

構成資訊轉換處理部16,係當設定資訊對應處理部5中進行構成資訊和設定資訊之對應時,使用單向性函數從儲存於設定資訊記憶部6的構成資訊產生雜湊值(摘要)。 When the configuration information correspondence processing unit 5 performs the correspondence between the configuration information and the setting information, the information conversion processing unit 16 generates a hash value (summary) from the configuration information stored in the setting information storage unit 6 using the one-way function.

相較於第4圖的構成,在第14圖中加入了構成資訊轉換處理部17。 In contrast to the configuration of Fig. 4, the configuration information conversion processing unit 17 is added to Fig. 14.

構成資訊轉換處理部17,係依據構成資訊比較部12傳來的要求,使用單向性函數,針對構成資訊收集部9中已收集的構成資訊產生雜湊值(摘要)。 The constituent information conversion processing unit 17 generates a hash value (summary) for the constituent information collected in the constituent information collecting unit 9 based on the request transmitted from the information comparing unit 12, using the one-way function.

另外,在構成資訊轉換處理部16及構成資訊轉換處理部17中,係使用相同演算法的單向性函數。 Further, in the configuration information conversion processing unit 16 and the configuration information conversion processing unit 17, a one-way function of the same algorithm is used.

第15圖顯示實施形態2的定義資訊之例。 Fig. 15 shows an example of definition information of the second embodiment.

在第15圖的定義資訊中,ID資訊、構成資訊的雜 湊值、設定資訊相對應。 In the definition information of Figure 15, the ID information and the information that constitutes the information Make up the value and set the information accordingly.

在本實施形態中,當設定資訊產生裝置200的設定資訊對應處理部5進行構成資訊和設定資訊的對應時,設定資訊對應處理部5將從設定資訊記憶部6讀取出的構成資訊傳遞至構成資訊轉換處理部16。 In the present embodiment, when the setting information correspondence processing unit 5 of the setting information generating device 200 performs the correspondence between the configuration information and the setting information, the setting information correspondence processing unit 5 transmits the configuration information read from the setting information storage unit 6 to The information conversion processing unit 16 is configured.

繼之,將資訊構成資訊轉換處理部16,使用單向性函數,從已接收的構成資訊產生雜湊值(摘要)。 Next, the information is formed into the information conversion processing unit 16, and a hash value (summary) is generated from the received constituent information using the one-way function.

如第15圖所示,設定資訊對應處理部5,使構成資訊的雜湊值與ID資訊和設定資訊相對應以產生定義資訊。 As shown in Fig. 15, the setting information correspondence processing unit 5 associates the hash value of the composition information with the ID information and the setting information to generate definition information.

所產生的定義資訊係被記憶在設定資訊記憶部6中。 The generated definition information is stored in the setting information storage unit 6.

和實施形態1一樣,將含有雜湊值的定義資訊從設定資訊產生裝置200傳送至設定執行裝置300。 As in the first embodiment, the definition information including the hash value is transmitted from the setting information generating device 200 to the setting executing device 300.

在設定執行裝置300中,構成資訊轉換處理部17產生構成資訊收集部9所收集的設定執行裝置300之構成資訊、控制器400之構成資訊的雜湊值。 In the setting execution device 300, the configuration information conversion processing unit 17 generates a hash value constituting the configuration information of the setting execution device 300 collected by the information collecting unit 9, and the configuration information of the controller 400.

繼之,構成資訊比較部12比較包含於定義資訊中的雜湊值之組合和由構成資訊轉換處理部17所產生的雜湊值之組合。 Then, the composition information comparing unit 12 compares the combination of the hash values included in the definition information with the hash value generated by the information conversion processing unit 17.

如上述,依據本實施形態,將構成資訊轉換為雜 湊值,再依雜湊值進行比較,因此,相較於依構成資訊進行比較的情況,能夠更容易地進行比較處理。 As described above, according to the embodiment, the composition information is converted into miscellaneous The value is compared and the hash value is compared. Therefore, the comparison processing can be performed more easily than when the information is compared.

實施形態3 Embodiment 3

在實施形態1中,係比較包含於控制系統中所有的控制器的構成資訊,但在本實施形態中,說明僅比較一部份控制器的構成資訊並藉此選擇設定資訊的例子。 In the first embodiment, the configuration information of all the controllers included in the control system is compared. However, in the present embodiment, an example in which only the configuration information of a part of the controllers is compared and the setting information is selected is described.

以下主要說明和實施形態1之差異。 The differences between the first embodiment and the first embodiment will be mainly described below.

另外,以下未說明的事項,即與實施形態1相同。 In addition, the matters not described below are the same as those in the first embodiment.

構成資訊範圍指定部18,在進行構成資訊和設定資訊之對應時,依據使用者下達的指示,指定作為單元構成之比較對象的控制器的範圍。 The configuration information range specifying unit 18 specifies the range of the controller to be compared as the unit configuration in accordance with the instruction given by the user when the correspondence between the configuration information and the setting information is performed.

另外,在比較對象範圍中,必然包含作為主機的控制器300。 In addition, the controller 300 as a host is necessarily included in the comparison target range.

第16圖顯示實施形態3之設定資訊產生裝置200的構成例。 Fig. 16 is a view showing an example of the configuration of the setting information generating apparatus 200 of the third embodiment.

相較於第3圖的構成,在第16圖中加入了構成資訊範圍指定部18。 In contrast to the configuration of Fig. 3, the configuration information range specifying unit 18 is added to Fig. 16.

構成資訊範圍指定部18,在設定執行裝置300中比較構成資訊時,指定作為比較對象的範圍。 The configuration information range specifying unit 18 specifies the range to be compared when the configuration information is compared in the setting execution device 300.

構成資訊範圍指定部18,可以使比較對象範圍為控制系統中所包含的所有控制器,也可以使其限定於一部份的控制器。 The information range specifying unit 18 can make the comparison target range all the controllers included in the control system, or can be limited to a part of the controller.

例如,如第17圖所示,構成資訊範圍指定部18,可以指定比較對象範圍不是控制系統500所包含的所有控制器,而是限定於控制器1(主機)和控制器(2)。 For example, as shown in FIG. 17, the constituent information range specifying unit 18 can specify that the comparison target range is not all the controllers included in the control system 500, but is limited to the controller 1 (host) and the controller (2).

另外,在構成資訊範圍指定部18不指定比較對象範圍的情況下,則以包含於控制系統500的所有的控制器作為比較對象。 In addition, when the configuration information range specifying unit 18 does not specify the comparison target range, all the controllers included in the control system 500 are used as comparison targets.

另外,如第18圖所示,當構成資訊範圍指定部18指定了比較對象範圍時,設定資訊對應處理部5,,將比較對象範圍(圖中的「範圍指定1」的部分)之資訊附加於定義資訊中。 In addition, as shown in FIG. 18, when the configuration information range specifying unit 18 specifies the comparison target range, the setting information correspondence processing unit 5 adds the information of the comparison target range (the portion of the "range designation 1" in the figure). In the definition of information.

繼之,說明在電源輸入時的初始處理中,於設定 執行裝置300中,對於目前的構成資訊和以定義資訊定義的構成資訊進行的比較。 Then, in the initial processing at the time of power input, in setting In the execution device 300, a comparison is made between the current composition information and the composition information defined by the definition information.

構成資訊比較部12,比較在構成資訊收集部9中所 收集的構成資訊和定義資訊中所定義的控制系統500全體的構成資訊,當其結果為沒有一致的構成資訊時,限定在構成資訊範圍指定部18所指定的比較對象範圍中進行構成資訊的比較。 The information comparison unit 12 is constructed and compared in the composition information collection unit 9. The collected composition information and the composition information of the entire control system 500 defined in the definition information are limited to the comparison target range specified by the information range specifying unit 18 when the result is that the composition information is not consistent. .

例如,在第17圖及第18圖的例中,構成資訊比較部12,不進行控制器(3)400之構成資訊的比較,而僅於控制器(1)300和控制器(2)400的範圍內比較構成資訊。 For example, in the examples of FIGS. 17 and 18, the information comparison unit 12 is configured not to compare the configuration information of the controller (3) 400, but only the controller (1) 300 and the controller (2) 400. The comparison within the scope constitutes information.

在比較對象範圍中構成資訊為一致時,構成資訊比較部12將僅於比較對象範圍中的構成資訊一致的事實通知設定資訊執行管理部10。 When the constituent information in the comparison target range is identical, the constituent information comparing unit 12 notifies the setting information execution management unit 10 of the fact that only the constituent information in the comparison target range is identical.

收到此通知的設定資訊執行管理部10,擷取設定執行裝置300的設定資訊(例如第18圖的控制程式11和參數11),並要求設定資訊設定部13進行已擷取的設定資訊之設定。 The setting information execution management unit 10 that has received the notification captures the setting information of the setting execution device 300 (for example, the control program 11 and the parameter 11 in Fig. 18), and requests the setting information setting unit 13 to perform the captured setting information. set up.

設定資訊執行管理部10,對設定資訊設定指示部14發出指示,使其將ID資訊通知包含於比較對象範圍中的控制器400。 The setting information execution management unit 10 issues an instruction to the setting information setting instruction unit 14 to notify the controller 400 of the comparison target range of the ID information.

在第17圖的例中,設定資訊執行管理部10,向設定資訊設定指示部14發出指示,使其將ID資訊通知控制器(2)400。 In the example of Fig. 17, the setting information execution management unit 10 issues an instruction to the setting information setting instruction unit 14 to notify the controller (2) 400 of the ID information.

另外,設定資訊執行管理部10,對設定資訊設定指示部14發出指示,禁止在不包含於比較對象範圍中的控制器400中的控制程式之執行。 Further, the setting information execution management unit 10 issues an instruction to the setting information setting instruction unit 14 to prohibit execution of the control program in the controller 400 not included in the comparison target range.

在第17圖的例中,設定資訊執行管理部10發出指示以禁止在控制器(3)400中的控制程式之執行。 In the example of Fig. 17, the setting information execution management unit 10 issues an instruction to prohibit the execution of the control program in the controller (3) 400.

如上述,在本實施形態中,即使是在控制系統500 中沒有配備所有的控制器的狀態下,也能夠選擇對應於目前的單元構成的設定資訊,使得控制系統500啟動(機器調整)時的作業變得容易。 As described above, in the present embodiment, even in the control system 500 In the state where all the controllers are not provided, the setting information corresponding to the current unit configuration can be selected, and the operation at the time of starting (machine adjustment) of the control system 500 becomes easy.

在實施形態1~3中,設定執行裝置300為包含於控 制系統500的控制器,但設定執行裝置300也可以不是控制器而是PC等。 In the first to third embodiments, the setting execution device 300 is included in the control. The controller of the system 500 is set, but the setting execution device 300 may not be a controller but a PC or the like.

另外,在實施形態1~3中,係說明設定資訊產生裝置200和設定執行裝置300為個別的裝置之例,但也可以將設定資訊產生裝置200和設定執行裝置300整合。 In the first to third embodiments, the setting information generating device 200 and the setting executing device 300 are examples of individual devices. However, the setting information generating device 200 and the setting executing device 300 may be integrated.

以上已說明本發明的實施形態,但也可以將上述 實施形態中的2者以上加以組合實施。 Although the embodiment of the present invention has been described above, the above may be employed. Two or more of the embodiments are combined and implemented.

或者,也可以實施上述實施形態當中的一者的一部份。 Alternatively, a part of one of the above embodiments may be implemented.

或者,也可以將上述實施形態當中的2者以上的部分予以組合實施。 Alternatively, two or more of the above embodiments may be combined and implemented.

再者,本發明不限定於上述實施形態,而可以因應需要而進行各種的變更。 Furthermore, the present invention is not limited to the above embodiment, and various modifications can be made as needed.

最後,參照第19圖說明實施形態1~3中所示的設定 執行裝置300之硬體構成例。 Finally, the settings shown in Embodiments 1 to 3 will be described with reference to FIG. An example of the hardware configuration of the actuator 300 is shown.

設定執行裝置300為電腦,能夠以程式實現設定執行裝置300的各元件。 The setting execution device 300 is a computer, and each element of the setting execution device 300 can be realized by a program.

設定執行裝置300的硬體構成,為演算裝置901、外部記憶 裝置902、主記憶裝置903、通信裝置904、輸出入裝置905和匯流排連接。 The hardware configuration of the execution device 300 is set to the calculation device 901 and external memory. The device 902, the main memory device 903, the communication device 904, the input/output device 905, and the bus bar are connected.

計算裝置901為執行程式的中央處理單元(CPU)。 The computing device 901 is a central processing unit (CPU) that executes programs.

外部記憶裝置902為例如唯讀記憶體(ROM,Read Only Memory)、快閃記憶體、或硬碟裝置。 The external memory device 902 is, for example, a read only memory (ROM), a flash memory, or a hard disk device.

主記憶裝置903為隨機存取記憶體(RAM,Random Access Memory)。 The main memory device 903 is a random access memory (RAM).

設定資訊記憶部11係由外部記憶裝置902或主記憶裝置903實現。 The setting information storage unit 11 is realized by the external storage device 902 or the main storage device 903.

通信裝置904對應於通信處理部8的物理層。 The communication device 904 corresponds to the physical layer of the communication processing unit 8.

輸出入裝置905為例如滑鼠、鍵盤、顯示裝置等。 The input/output device 905 is, for example, a mouse, a keyboard, a display device, or the like.

程式通常係儲存於外部記憶裝置902中,在載入到 主記憶裝置903的狀態下,依序由演算裝置901讀取及執行。 The program is usually stored in external memory device 902 and loaded into The state of the main memory device 903 is sequentially read and executed by the calculation device 901.

程式係為實現說明為第4圖所示之「~部」(除了設定資訊記憶部11之外,以下亦同)的功能之程式。 The program is a program that realizes the function of the "~ part" (other than the setting information memory unit 11, the same applies hereinafter) shown in Fig. 4.

而且,在外部記憶裝置902中也事先儲存了作業系統(OS),將OS的至少一部份載入主記憶裝置903,並由計算裝置901執行OS,同時執行實現第4圖中所示之「~部」的功能的程式。 Moreover, the operating system (OS) is also stored in the external memory device 902, at least a portion of the OS is loaded into the main memory device 903, and the OS is executed by the computing device 901 while performing the implementation shown in FIG. The program of the function of "~".

另外,在實施形態1~3的說明中表示說明為「~的判斷」、「~的判定」、「~的擷取」、「~的確定」、「~的指定」、「~的設定」、「~的產生」、「~的選擇」、「~的接收」等的處理的結果的資訊、資料、信號值、或變數值係以檔案的形式儲存在主記憶裝置903中。 In addition, in the description of the first to third embodiments, the descriptions of "~", "determination of ~", "take of ~", "determination of ~", "designation of ~", and "setting of ~" are shown. The information, data, signal value, or variable value of the result of the processing such as "production of ~", "selection of ~", and "reception of ~" are stored in the main memory device 903 in the form of a file.

另外,第19圖的構成僅為設定執行裝置300的硬體構成之一例,設定執行裝置300的硬體構成並不限於第19圖記載的構成,也可以為其他的構成。 In addition, the configuration of Fig. 19 is only an example of the hardware configuration of the setting actuator 300, and the hardware configuration of the setting actuator 300 is not limited to the configuration described in Fig. 19, and may be another configuration.

另外,實施形態1~3中所示的設定資訊產生裝置200可以為第19圖的硬體構成,亦可以為其他的硬體構成。 Further, the setting information generating device 200 shown in the first to third embodiments may be a hardware configuration of the 19th drawing, or may be of another hardware configuration.

另外,依據實施形態1~3中所示的程序,能夠實現本發明的危機管理方法。 Further, according to the programs shown in the first to third embodiments, the crisis management method of the present invention can be realized.

100‧‧‧設定資訊管理系統 100‧‧‧Set up an information management system

200‧‧‧設定資訊產生裝置 200‧‧‧Set information generation device

300‧‧‧設定執行裝置(機器管理裝置) 300‧‧‧Setting the actuator (machine management device)

400‧‧‧控制器 400‧‧‧ Controller

500‧‧‧控制系統 500‧‧‧Control system

Claims (7)

一種機器管理裝置,其管理複數機器,該等複數機器中的每一者各自包含可重組的1個以上的單元,且該等複數機器中的每一者各自藉由單元的重組而得到複數種的單元構成,該機器管理裝置包括:記憶部,其記憶定義資訊,其定義複數個以該等複數機器為單位之組合各機器之單元構成的單元構成組,並針對各單元構成組,定義設定於各機器的設定資訊;確定部,其確定各機器目前的單元構成;擷取部,從該定義資訊中擷取與該確定部所確定之各機器目前的單元構成之組合一致的單元構成組;及設定部,其對於該擷取部所擷取的單元構成組,將該定義資訊中定義的設定資訊設定於各機器。 A machine management apparatus that manages a plurality of machines, each of the plurality of machines each comprising one or more units that are reconfigurable, and each of the plurality of machines each obtains a plurality of types by unit recombination The unit management unit includes: a memory unit that memorizes definition information, and defines a plurality of unit constituent groups composed of units of the respective machines in units of the plurality of machines, and defines a group for each unit, and defines settings. a setting unit for each machine; a determining unit that determines a current unit configuration of each machine; and a capturing unit that extracts, from the definition information, a unit group that matches a current unit configuration of each machine determined by the determining unit And a setting unit that sets a group of units selected by the capturing unit, and sets setting information defined in the definition information to each device. 如申請專利範圍第1項所述之機器管理裝置,其中該擷取部,比較各機器目前的單元構成之組合、及該定義資訊中定義的複數單元構成組,從該定義資訊中擷取與各機器目前的單元構成之組合一致的單元構成組。 The machine management device according to claim 1, wherein the capturing unit compares a combination of current unit configurations of each machine and a plurality of unit groups defined in the definition information, and extracts from the definition information A unit in which the combination of the current unit configurations of the respective machines constitutes a group. 如申請專利範圍第1項所述之機器管理裝置,其中:該記憶部記憶定義資訊,該定義資訊針對各單元構成組,定義從表示各機器的單元構成之識別子產生的雜湊值、及設定於各機器的設定資訊;該擷取部,從表示各機器目前的單元構成之識別子產生雜湊值,比較所產生的雜湊值和該定義資訊中定義的雜湊值,從該定義資訊中擷取與各機器目前的單元構成之組合 一致的單元構成組。 The machine management device according to claim 1, wherein the memory unit stores definition information, the definition information is a group for each unit, defines a hash value generated from a identifier representing a unit of each device, and is set in Setting information of each machine; the capturing unit generates a hash value from the identifier representing the current unit configuration of each machine, compares the generated hash value and the hash value defined in the definition information, and extracts from each of the definition information The current combination of units of the machine Consistent units form a group. 如申請專利範圍第1項所述之機器管理裝置,其中:該擷取部,在該等複數機器當中的一部份的機器之範圍內,比較目前的單元構成之組合和該定義資訊中所定義的單元構成組,從該定義資訊中擷取與上述一部份機器的範圍內與目前的單元構成之組合一致的單元構成組;該設定部,對於該擷取部所擷取的單元構成組,將該定義資訊中所定義的設定資訊當中的上述一部份機器的設定資訊設定於上述一部份的機器。 The machine management device of claim 1, wherein: the capturing unit compares the current unit composition and the definition information in a range of machines of a part of the plurality of machines The defined unit constitutes a group, and the unit configuration group that matches the combination of the current unit and the current unit is extracted from the definition information; the setting unit forms a unit for the capturing unit The setting information of the above-mentioned part of the setting information in the setting information defined in the definition information is set to the above part of the machine. 如申請專利範圍第1項所述之機器管理裝置,該機器管理裝置為該等複數機器當中的任何一台機器。 The machine management device according to claim 1, wherein the machine management device is any one of the plurality of machines. 一種機器管理方法,其係為電腦管理複數機器的機器管理方法,該等複數機器中的每一者各自包含可重組的1個以上的單元,且該等複數機器中的每一者各自藉由單元的重組而得到複數種的單元構成,該方法包括:該電腦從記憶區域中讀取定義資訊,其定義複數個以該等複數機器為單位之組合各機器之單元構成的單元構成組,並針對各單元構成組,定義設定於各機器的設定資訊;該電腦確定各機器目前的單元構成;該電腦從該定義資訊中擷取與已確定之各機器目前的單元構成之組合一致的單元構成組;及該電腦對於已擷取的單元構成組,將該定義資訊中定義的設定資訊設定於各機器。 A machine management method is a machine management method for a computer to manage a plurality of machines, each of the plurality of machines each comprising one or more units that can be reorganized, and each of the plurality of machines is each Reorganizing a unit to obtain a plurality of units, the method comprising: the computer reading definition information from a memory area, defining a plurality of unit groups formed by units of the plurality of machines in units of the plurality of machines, and For each unit group, the setting information set for each machine is defined; the computer determines the current unit configuration of each machine; the computer extracts from the definition information a unit that is consistent with the determined combination of the current unit components of each machine. The group and the computer form a group for the captured unit, and set the setting information defined in the definition information to each machine. 一種程式產品,其係使管理複數機器的電腦執行後述處 理,該等複數機器中的每一者各自包含可重組的1個以上的單元,且該等複數機器中的每一者各自藉由單元的重組而得到複數種的單元構成:資訊讀取處理,從記憶區域中讀取定義資訊,其定義複數個以該等複數機器為單位之組合各機器之單元構成的單元構成組,並針對各單元構成組,定義設定於各機器的設定資訊;確定處理,確定各機器目前的單元構成;擷取處理,從該定義資訊中擷取與該確定處理中已確定之各機器目前的單元構成之組合一致的單元構成組;及設定處理,對於該擷取處理中已擷取的單元構成組,將該定義資訊中定義的設定資訊設定於各機器。 a program product that enables a computer that manages multiple machines to execute later Each of the plurality of machines includes one or more units that are reconfigurable, and each of the plurality of machines is configured by a plurality of units by unit recombination: information reading processing Reading definition information from a memory area, defining a plurality of unit constituent groups composed of units of each machine in units of the plurality of machines, and defining a setting group for each unit, and defining setting information set for each machine; Processing, determining a current unit configuration of each machine; extracting processing, extracting, from the definition information, a unit composition group that is consistent with a combination of current unit configurations of each machine determined in the determination process; and setting processing for the The unit that has been captured in the processing constitutes a group, and the setting information defined in the definition information is set to each machine.
TW103133445A 2014-08-26 2014-09-26 Equipment management device, equipment management method, and program TW201608350A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2014/072304 WO2016030968A1 (en) 2014-08-26 2014-08-26 Equipment management device, equipment management method, and program

Publications (1)

Publication Number Publication Date
TW201608350A true TW201608350A (en) 2016-03-01

Family

ID=55398912

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103133445A TW201608350A (en) 2014-08-26 2014-09-26 Equipment management device, equipment management method, and program

Country Status (2)

Country Link
TW (1) TW201608350A (en)
WO (1) WO2016030968A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111034126A (en) * 2017-08-30 2020-04-17 三菱电机株式会社 Station number setting device for network device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6396392B2 (en) 2016-11-02 2018-09-26 ファナック株式会社 Setting device and setting system for setting a plurality of devices
US11947851B2 (en) * 2020-02-28 2024-04-02 Ricoh Company, Ltd. Configuring printing devices

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6964045B1 (en) * 1999-12-16 2005-11-08 Grimes James E Multiple program storage within a programmable logic controller system
JP5992776B2 (en) * 2012-09-04 2016-09-14 株式会社キーエンス Programmable controller, program creation support device, program, and basic unit
JP6509477B2 (en) * 2012-12-14 2019-05-08 オムロン株式会社 Control device and control program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111034126A (en) * 2017-08-30 2020-04-17 三菱电机株式会社 Station number setting device for network device
CN111034126B (en) * 2017-08-30 2021-10-22 三菱电机株式会社 Station number setting device for network device

Also Published As

Publication number Publication date
WO2016030968A1 (en) 2016-03-03

Similar Documents

Publication Publication Date Title
JP6357770B2 (en) Control device and communication control method
JP2016506002A5 (en)
CN104881019B (en) Household electrical appliances fault network maintenance system and its method
CN105637439A (en) Systems and methods of data acquisition
TW201608350A (en) Equipment management device, equipment management method, and program
US20190188110A1 (en) Industrial control system, and assistance apparatus, control assist method, and program thereof
CN104932875B (en) Image processing apparatus, management system and management method
US10459730B2 (en) Analysis system and analysis method for executing analysis process with at least portions of time series data and analysis data as input data
EP2897401A1 (en) Method and device for guaranteeing consistency of planning data
CN107003664A (en) Design of information system aid and design of information system auxiliary program
JP2019169089A (en) Network management apparatus, management method, management program and recording medium
JP2012113354A (en) Alarm processor, alarm processing method, and alarm processing program
US20160093074A1 (en) Energy management system, display control apparatus, display method, and computer-readable storage medium
CN110324220A (en) Support device, computer readable storage medium, setting method
KR102199668B1 (en) Method for providing a service of automatically creating a workflow for processing geo spatial information, and a computer readable storage medium
US9274515B2 (en) Systems and methods for recording data associated with the operation of foundation fieldbus devices
JP6783599B2 (en) Arithmetic logic unit for air conditioning control, arithmetic method for air conditioning control, and arithmetic program for air conditioning control
Feng et al. Design of socket based on intelligent control and energy management
CN114552672B (en) Data processing method and storage medium for power system
CN116558278A (en) Sintering furnace control method and device, storage medium and terminal
JP2014206887A (en) Method, device and program for displaying communication between customer premises equipment
CN104166781B (en) Computerized system and method for generating life expectancy analysis report
CN105721169A (en) Cloud manufacturing-oriented adaptive access device for 3D printing
CN110324221A (en) Support device, computer readable storage medium, setting method
JP6756680B2 (en) Information processing equipment, information processing methods, and information processing programs