WO2019225364A1 - Network management device, system provided with network management device, network management method, management program, and recording medium - Google Patents

Network management device, system provided with network management device, network management method, management program, and recording medium Download PDF

Info

Publication number
WO2019225364A1
WO2019225364A1 PCT/JP2019/018850 JP2019018850W WO2019225364A1 WO 2019225364 A1 WO2019225364 A1 WO 2019225364A1 JP 2019018850 W JP2019018850 W JP 2019018850W WO 2019225364 A1 WO2019225364 A1 WO 2019225364A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
slave
connection
address
error
Prior art date
Application number
PCT/JP2019/018850
Other languages
French (fr)
Japanese (ja)
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 WO2019225364A1 publication Critical patent/WO2019225364A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/44Star or tree networks

Definitions

  • the present invention relates to a management device that manages a network including nodes such as a master device and a slave device, a system including the network management device, a network management method, and a management program.
  • FA Vectory Automation
  • the installation operation of the slave device is an operation of setting a node address that is an ID for identifying each slave device by connecting the slave devices with a communication cable after arranging the slave device beside each production facility. These operations are performed manually based on the blueprint of the network.
  • Patent Document 1 discloses a technique for preventing duplication of identification information between controlled devices.
  • slave devices are installed in the factory.
  • the maximum number of slave devices to be installed is 512, and wiring errors and node address setting errors in the installation work of the slave devices are increasing.
  • Responses to these mistakes are also made manually, but in addition to the increase in the scale of the network, the area in the factory where the slave devices are installed also covers a wide area, so identify the slave device where the error has occurred It was difficult. Even if a slave device in which a mistake has occurred can be identified, it takes a lot of time to investigate a correction method for the mistake, causing a delay in the start-up of production equipment.
  • a management device is a management device that manages a network including a master device and a plurality of slave devices connected to the master device, and a configuration information acquisition unit that acquires configuration information of the network;
  • a connection error detecting unit configured to detect an error related to the connection of the slave device based on the configuration information.
  • the configuration information includes address information of each slave device, and the connection error detection unit detects an address setting error of the slave device based on the address information. .
  • the address setting error supports an address allocated for the master device, an address is duplicated among a plurality of slave devices, and the master device supports It is preferable that an address outside the range is used.
  • the management device further includes an address update unit that updates the address information of the slave device in which the address setting error is detected, using the update address information.
  • the configuration information includes slave connection information of each slave device
  • the connection error detection unit represents slave information indicating the slave connection information and unique information for each model of each slave device. Based on the above, it is preferable to detect an error in the wiring of the slave device.
  • the wiring error is a connection between output ports or input ports of the slave device.
  • the configuration information includes, for each of the slave devices, address information allocated to the slave device, profile information for identifying the model of the slave device, and a slave device of a connection destination Or the slave connection information including information specifying the address of the master device and information specifying the connection port, and the slave information identifies the model of the slave device for each of the slave devices.
  • connection error detection unit displays profile information for identifying the model of the slave device together with information on an error related to the detected connection.
  • the management device is a management device that manages an EtherCAT (registered trademark) network including a master device and a plurality of slave devices connected to the master device, and acquires configuration information of the network. Based on the configuration information acquisition unit, the configuration information, and slave information indicating unique information for each model of each slave device, as an error related to the connection of the slave device, an error in address setting of the slave device, A connection error detection unit that detects a wiring error of the slave device, and an address update unit that updates the address information of the slave device in which the address setting error is detected, using update address information.
  • the configuration information includes address information assigned to each slave device.
  • slave connection information including profile information for identifying the model of the slave device, information for specifying the address of the slave device or master device of the connection destination, and information for specifying the connection port
  • the slave information includes, for each of the slave devices, profile information for identifying the model of the slave device, and port information including information on the number of ports and the port type held by the slave device, and the connection error
  • the detection unit uses an address allocated for the master device as an address setting error of the slave device, and the address is duplicated among a plurality of slave devices. And an address outside the range supported by the master device is used.
  • the system according to the present invention includes a master device, a plurality of slave devices connected to the master device, and a management device that manages a network including the master device and the plurality of slave devices.
  • a management device that manages a network including the master device and the plurality of slave devices.
  • a management method is a management method for managing a network including a master device and a plurality of slave devices connected to the master device, the configuration information obtaining step for obtaining the configuration information of the network, A connection error detecting step of detecting an error related to the connection of the slave device based on the configuration information.
  • a management program for causing a computer to function as the management device the management program for causing the computer to function as the configuration information acquisition unit and the connection error detection unit, and a computer readable recording of the management program
  • Such recording media are also within the technical scope of the present invention.
  • FIG. 7 is a diagram illustrating an example of configuration information acquired from a master device and slave information acquired from each slave device in the network configuration illustrated in FIG. 6. It is a flowchart which shows the flow of the process in the management method which concerns on one Embodiment of this invention. It is a flowchart which shows the flow of the process in the management method which concerns on one Embodiment of this invention.
  • FIG. 1 is a block diagram showing a schematic configuration of an industrial network system 100 according to an embodiment of the present invention.
  • the industrial network system 100 includes a master device 1, a network including a slave device 2 connected to the master device 1, and a management device 3 connected to the master device 1.
  • the master device 1 and the slave device 2 are connected by a cable 4 compatible with EtherCAT communication, and the slave devices 2 are also connected by a cable 4 compatible with EtherCAT communication.
  • the master device 1 and the management device 3 are connected by wired or wireless Ethernet (registered trademark) communication or USB communication.
  • wired or wireless Ethernet registered trademark
  • the master device 1 is a device that centrally manages the slave devices 2, and is composed of, for example, a PLC (Programmable Logic Controller).
  • the master device 1 controls the slave device 2 by transmitting a control command for performing sequence control to the slave device 2, and monitors the status of the slave device 2 by receiving various data from the slave device 2.
  • the slave device 2 is a device that collects and controls data of the production facility, and performs a control operation of the production facility according to a control command from the master device 1 and rewrite and return processing of the received control command.
  • the slave device 2 includes a slave terminal, NX unit, CJ unit, IO-Link device, power supply unit, motor unit, counter unit, image unit, communication unit, I / O unit, and the like.
  • the slave device 2 is appropriately connected to a production facility by wire or wireless.
  • Production equipment includes input devices such as sensors, push buttons, limit switches, and output devices such as lamps.
  • the number and topology of the slave devices 2 connectable to the master device 1 are not particularly limited.
  • a maximum of 512 slave devices 2 can be connected to one master device 1, and can be connected in series, ring shape, tree shape or star shape depending on the cooperation between the slave devices 2 and the convenience of wiring. Any topology can be applied.
  • a hub device may be included as a node.
  • FIG. 2 is a block diagram showing a schematic configuration of the management apparatus 3 according to an embodiment of the present invention.
  • the management device 3 is a computer that manages the network of the master device 1 and the slave device 2, and can be configured by, for example, a general-purpose personal computer.
  • the management device 3 includes, for example, a CPU (Central Processing Unit), a main storage device (memory), an auxiliary storage device (hard disk, SSD, etc.), a display device, and an input device (keyboard, mouse, etc.) as a hardware configuration. Yes.
  • the management device 3 includes a communication unit 31, a troubleshooting control unit 32, a network management unit 33, a network management storage unit 35, and an auxiliary storage unit 36 as functional blocks.
  • the communication unit 31, the troubleshooting control unit 32, and the network management unit 33 are realized by a management program (not shown) stored in the auxiliary storage device being read into the main storage device and executed by the CPU.
  • the management program may be recorded on a non-transitory computer-readable recording medium such as a CD-ROM, and the management program may be installed in the management apparatus 3 by causing the management apparatus 3 to read the recording medium. Good.
  • the management program code may be downloaded to the management apparatus 3 via a communication network such as the Internet.
  • the storage unit 35 can be set as a main storage device.
  • the auxiliary storage unit 36 can be set as an auxiliary storage device.
  • the communication unit 31 is a communication unit for the management device 3 to communicate with the master device 1.
  • the communication unit 31 has a function of switching a communication protocol according to the master device 1.
  • the troubleshooting control unit 32 has a function of supporting the resolution of various network problems including the master device 1 and the slave device 2.
  • the network management unit 33 has a function of supporting network state management by the user.
  • the network management unit 33 includes a configuration information acquisition unit 331, a connection error detection unit 332, an address update unit 333, and a network configuration diagram display unit 334.
  • slave information D2 in which unique information for each model of each slave apparatus 2 constituting the industrial network system 100 is described is stored in advance.
  • the slave information D2 is a file created in advance by a vendor of each slave device 2 in a format such as XML format.
  • the slave information D2 includes profile information and port information.
  • the profile information is information for identifying the model of the slave device 2 and includes, for example, a product code, a vendor ID, a revision number, and the like of the slave device.
  • the port information is information related to the ports held by the slave device 2, and includes information such as the number of ports and port types, for example.
  • the configuration information acquisition unit 331 is a functional block that acquires network configuration information (configuration information) of an actual machine.
  • the master device 1 performs network scan processing to collect information on each slave device 2 and generate configuration information.
  • the configuration information acquisition unit 331 receives this configuration information from the master device 1 and reads it into the storage unit 35 as the configuration information D1 shown in FIG.
  • the profile information is information for identifying the model of the slave device 2 and includes, for example, a product code, a vendor ID, a revision number, and the like of the slave device.
  • the slave connection information is information for understanding the connection configuration (topology) of the slave device, and includes, for example, information for specifying the connection destination device and port of the slave device.
  • the address information is information indicating the value of the node address assigned to the slave device.
  • the network scan process is executed by the following four steps, for example.
  • an EtherCAT standard network will be described as an example.
  • the master device 1 determines the number of slave devices 2 (number of nodes) connected to the master device 1. In order to determine the number of nodes, the master device 1 issues a broadcast command (BRD) to the network.
  • BTD broadcast command
  • the number of broadcast command responses corresponds to the number of nodes connected to the master device 1.
  • EtherCAT standard stipulates that all nodes (all EtherCAT slaves) existing in the network respond to a broadcast command.
  • the master device 1 acquires node address information and communication port information established in each node from each node on the network. In order to acquire information, the master device 1 issues an APRD (auto-increment-physical-read) command to each node.
  • APRD auto-increment-physical-read
  • the APRD command is a command used for reading a register in the EtherCAT standard. Reading is performed by specifying a node by a position address (an address indicating the number of connected devices counted from the master device 1).
  • the master device 1 creates a network topology based on the communication port information acquired in the second step and the rules of the packet circulation order.
  • the EtherCAT standard specifies that the IN communication port of a node is the 0th port. Further, it is specified that the order in which the packet circulates the communication port is the order of the 0th port, the 3rd port, the 1st port and the 2nd port.
  • the master device 1 acquires information for specifying the model of the node from each node on the network. In order to acquire information, the master device 1 issues the above APRD command to each node.
  • the EtherCAT standard stipulates that a node holds a vendor ID, a product code, and a revision code on a register as information for specifying a model.
  • the network scan process is performed by the above four steps, and the configuration information D1 is generated.
  • the connection error detection unit 332 is a functional block that detects an error related to the connection of each slave device 2 based on the configuration information D1.
  • the connection error detection unit 332 detects an error in wiring between slave devices and an error in address setting of the slave devices as errors related to the connection.
  • the order of detecting the wiring error and the address setting error is not limited, but in this embodiment, the wiring error is detected first and then the address setting error is detected.
  • the connection error detection unit 332 detects both a wiring error and an address setting error, but may detect either a wiring error or an address setting error.
  • the connection error detection unit 332 detects an address setting error of the slave device 2 based on the address information of each slave device 2 included in the configuration information D1.
  • the connection error detecting unit 332 displays profile information for identifying the model of the slave device 2 together with the detected address setting error information as illustrated in FIG. To do.
  • an address setting error is detected for the three slave devices 2 displayed together with the icon E1.
  • the address values “0”, “5”, “5”, which are the address values set in error, and the message 41 indicating the content of the address setting error are stored in the slave device 2. Displayed with profile information.
  • the address setting error includes various modes. For example, when the address (reserved address) allocated for the master device 1 is used for the slave device 2, the connection error detection unit 332 determines that the address setting is incorrect. For example, when the address is set redundantly among the plurality of slave devices 2, the connection error detection unit 332 determines that the address setting is incorrect. For example, when an address having a value outside the range supported by the master device 1 is set in the slave device 2, the connection error detection unit 332 determines that an address setting error has occurred.
  • the connection error detection unit 332 Based on the slave connection information of each slave device 2 included in the configuration information D1 and the unique information for each model of each slave device 2 included in the slave information D2, the connection error detection unit 332 An error in the wiring of the device 2 is detected. When a wiring error is detected, the connection error detection unit 332 displays profile information for identifying the model of the slave device 2 together with information on the detected wiring error, for example, as illustrated in FIG. In the illustrated example, a wiring error is detected for one slave device 2 displayed with the icon E1. As information regarding the wiring error, an address value “2” that is the address value of the slave device 2 that has been incorrectly wired, and a message 43 indicating the content of the wiring error are displayed together with the profile information of the slave device 2. Yes.
  • connection error detection unit 332 determines that there is a wiring error. More specific procedures for detecting wiring errors will be described later with reference to FIGS.
  • the slave device 2 may be temporarily removed (detached) from the network for reasons such as maintenance, but can rejoin the network after returning from maintenance.
  • a disconnection due to temporary disconnection can be processed without determining that it is a wiring error.
  • Information of the slave device 2 to leave can be left in the configuration information D1 as it is still connected to the network.
  • the address update unit 333 is a functional block that updates the address information using the update address information for the slave device 2 in which an address setting error is detected.
  • the address updating unit 333 displays the address writing screen illustrated in FIG.
  • the address information for update is input by the user via an input device, for example.
  • an input device for example.
  • the user selects an address value indicated by reference numeral 45, the user can input an update address value.
  • the address value of the slave device 2 whose address value is currently set to “0” is changed to the address value “3”.
  • the address update unit 333 updates the address value.
  • the update of the address value refers to updating the address information included in the configuration information D1 for the slave device 2 in which an address setting error is detected, and is connected to the network with the content of the updated configuration information D1.
  • the information of the slave device 2 is updated.
  • the update of the address value for the slave device 2 is performed according to the following procedure.
  • a node address write request of the slave device 2 to be updated is issued from the address update unit 333 of the management device 3 to the master device 1.
  • the node address write request can be issued via any communication protocol.
  • the master device 1 that has received the node address write request issues a node address write request to the slave device 2 to be updated.
  • the slave device 2 that has received the node address write request writes a new node address in a prescribed register of the slave device 2.
  • the network configuration diagram display unit 334 is a functional block that displays a network configuration diagram showing the connection relationship of nodes.
  • the network configuration diagram display unit 334 refers to the configuration information D1 stored in the storage unit 35 and graphically displays the network configuration diagram 47 illustrated in the address writing screen of FIG.
  • nodes included in the network are indicated by icons and displayed in a tree form. Further, in the vicinity of each icon, a node address and a model name of the node are displayed. Note that the specific display mode of the network configuration diagram 47 is not limited to this, as long as the user can intuitively grasp the network configuration.
  • connection error detection unit 332 detects a wiring error
  • FIG. 6 is a block diagram showing an example of a network configuration during installation work.
  • five slave devices 2 (2a to 2e) are connected to the master device 1 and below, and miswiring occurs between the slave device 2b and the slave device 2c. The ports are connected incorrectly.
  • FIG. 7 is a diagram illustrating an example of configuration information acquired from the master device and slave information acquired from each slave device in the network configuration illustrated in FIG. 6.
  • the slave information D2a is profile information and port information of the slave device 2a.
  • the slave device 2a determines that the master device 1 and the management device 3 are connected to the network by the address information, profile information, and slave connection information indicated in the configuration information D1a by the network scan process described above. Has been.
  • the slave information D2b to D2e is profile information and port information of the slave devices 2b to 2e, respectively.
  • the slave devices 2b to 2e are determined to be connected to the network from the master device 1 and the management device 3 with the contents shown in the configuration information D1b to D1e, respectively.
  • ADR is address information set in the slave device 2.
  • PC is the product code of the slave device 2
  • Ver is the revision number. These product codes and revision numbers correspond to profile information.
  • slave connection information address information for specifying a connection destination port and node is shown.
  • PC is the product code of the slave device 2
  • Ver is the revision number. These product codes and revision numbers correspond to profile information.
  • port information information regarding the number of ports and the port type held by the slave device 2 is shown.
  • connection error detection unit 332 performs wiring of the slave device 2 based on the slave connection information in the configuration information D1 and the port information in the slave information D2 that are associated one-to-one with the profile information in accordance with the following procedure. Detect errors. In FIG. 7, portions of the configuration information D1 and the slave information D2 that should be noted are underlined.
  • connection error detection unit 332 repeatedly performs the following determination in the order of slave information D2a to D2e corresponding to the slave devices 2a to 2e, for example.
  • the connection error detection unit 332 confirms the port number “Port1” of the port whose port type is set to “output port (Output)” in the port information of the slave information D2b for the slave device 2b.
  • connection error detection unit 332 confirms the corresponding port number “Port1” in the configuration information D1b associated one-to-one with the profile information, and confirms the set connection destination address “ADR ⁇ 3 ”.
  • connection error detection unit 332 refers to the configuration information D1c of the slave device 2c designated by the connection destination address “ADR 3”, and the port number “Port1” of the port in which the connection source address “ADR 2” is set. Confirm.
  • the connection error detection unit 332 confirms the port type of the corresponding port number “Port1” of the corresponding slave information D2c that is associated one-to-one with the profile information. If the confirmed port type is set to “output port (Output)”, it is determined that the wiring is incorrect because it is a connection between the output ports. On the other hand, if the confirmed port type is set to “input port”, it is determined that the connection is normal because the output port is connected to the input port. In this example, since the confirmed port type is set to “output port (Output)”, the connection error detection unit 332 connects the slave device 2b and the slave device 2c with incorrect wiring between the output ports. Judge that there is.
  • connection error detection unit 332 repeatedly performs the above determination in the order of the slave information D2a to D2e.
  • the connection error detection unit 332 can interrupt the process at the time when even one erroneous wiring is determined.
  • the port number of the port whose port type is set to “Input Port” in the port information of the slave device 2 is selected. Confirm. Thereafter, as in the case of detecting the erroneous wiring between the output ports described above, the consistency of the connection relation is traced and the erroneous wiring is determined.
  • FIGS. 8 to 9 are flowcharts showing the flow of processing in the management method for managing the network including the master device 1 and the slave device 2. In the figure, processing procedures in the management device 3 and the master device 1 are shown.
  • the user starts a management program in the management device 3 (S1), and when the user presses an online button (not shown) on the management program screen, the communication unit 31 starts communication with the master device 1 (S2). ).
  • the troubleshooting control unit 32 is activated (S3).
  • the configuration information acquisition unit 331 instructs the master device 1 to transmit configuration information (S4).
  • the master device 1 collects information of each slave device 2 by performing a network scan process (S21), and stores the configuration information in its own device (S22).
  • the master device 1 transmits the configuration information stored in its own device to the management device 3 (S23).
  • the configuration information acquisition unit 331 acquires the configuration information D1 and stores it in the storage unit 35 (S5).
  • connection error detection unit 332 detects an error related to the connection of each slave device 2.
  • connection error detection unit 332 detects a wiring error of the slave device 2 (S6).
  • the connection error detection unit 332 When a wiring error is detected (NO in S6), the connection error detection unit 332 includes profile information for identifying the model of the slave device 2 along with the detected wiring error information as illustrated in FIG. Display (S7). By displaying the icon E1, the user can easily grasp that there is an error in the wiring in the slave device 2 having the address value “2”. Also, the profile information displayed together allows the user to obtain information for specifying the model of the slave device 2 having an error in wiring.
  • the management device 3 instructs the master device 1 to transmit the configuration information again (S4).
  • the updated configuration information D1 is acquired (S5).
  • the management device 3 detects an error related to the connection of each slave device 2. That is, the management device 3 repeatedly executes the processing from step S4 to S6 until all the wiring errors of the slave device 2 are resolved.
  • connection error detection unit 332 continues to detect an error in the address setting of the slave device 2 (S8).
  • connection error detecting unit 332 identifies the model of the slave device 2 together with the detected address setting error information as illustrated in FIG. Information is displayed (S9).
  • the icon E1 By displaying the icon E1, the user can easily grasp that the address values “0”, “5”, and “5” set in the slave device 2 are incorrect. Also, the profile information displayed together allows the user to obtain information for specifying the model of the slave device 2 in which an incorrect address value is set.
  • the address updating unit 333 displays the address writing screen illustrated in FIG. 5 (S10).
  • the management device 3 instructs the master device 1 to transmit the configuration information again (S4), and acquires the updated configuration information D1 from the master device 1 (S5).
  • the management device 3 detects an error related to the connection of each slave device 2. That is, the management device 3 repeatedly executes the processes from step S4 to S8 until all the wiring errors and address setting errors of the slave device 2 are resolved.
  • the industrial network system 100 detects no wiring error or address setting error in the slave device 2, and the management device 3 ends a series of detection processes. To do.
  • the network management device 3 that supports the installation work of the slave device 2 can be provided.
  • the management device 3 can detect a wiring error of the slave device 2 and an address setting error of the slave device 2 as errors related to the connection of the slave device 2.
  • the management device 3 can display profile information for identifying the model of the slave device 2 along with information indicating the content of the detected error.
  • the user identifies the slave device 2 in which a wiring error or a node address setting error has occurred for each cause of the mistake in the installation work of the slave device when starting up the production equipment, and the slave device 2 It is possible to grasp the information. Thereby, the start-up of production equipment can be speeded up.
  • the address value is updated in software via the address writing screen in step S10, but the present invention is not limited to this.
  • the incorrect address value may be corrected by the user directly switching the hardware switch of the slave device 2 in which the incorrect address value is set.
  • Master device 2 (2a to 2e) Slave device 3 Management device 4 Cable 31 Communication unit 32 Troubleshooting control unit 33 Network management unit 331 Configuration information acquisition unit 332 Detection unit 333 Address update unit 334 Network configuration diagram display unit 35 Storage unit 36 Auxiliary storage unit 100 Industrial network system D1 (D1a to D1e) Configuration information D2 (D2a to D2e) Slave information

Abstract

The present invention provides a network management device that assists installation operation of slave devices. A management device 3 manages a network including a master device 1 and a plurality of slave devices connected to the master device 1. The management device 3 is provided with a configuration information acquisition unit 331 that acquires configuration information of the network, and a connection error detection unit 332 that, on the basis of the configuration information, detects an error relating to the connection of the slave devices.

Description

ネットワーク管理装置、ネットワーク管理装置を備えるシステム、ネットワーク管理方法、管理プログラムおよび記録媒体Network management apparatus, system including network management apparatus, network management method, management program, and recording medium
 本発明は、マスタ装置およびスレーブ装置等のノードを含むネットワークを管理する管理装置、ネットワーク管理装置を備えるシステム、ネットワーク管理方法および管理プログラムに関する。 The present invention relates to a management device that manages a network including nodes such as a master device and a slave device, a system including the network management device, a network management method, and a management program.
 FA(Factory Automation)においては、工場内に設置される生産設備のデータ収集及び制御を行う各種のスレーブ装置と、複数のスレーブ装置を集中管理するマスタ装置等とのノードから構成される産業用ネットワークシステムにより、生産設備の制御が行われている。 In FA (Factory Automation), an industrial network consisting of nodes of various slave devices that collect and control data for production facilities installed in a factory, and master devices that centrally manage multiple slave devices The system controls the production equipment.
 生産設備を立ち上げる際には、マスタ装置およびスレーブ装置等の設置作業を行い、産業用ネットワークを構築する。スレーブ装置の設置作業とは、各生産設備の傍らにスレーブ装置を配置した後、スレーブ装置間を通信ケーブルで接続し、各スレーブ装置を識別するIDであるノードアドレスを設定する作業である。これらの作業は、ネットワークの設計図に基づいて人手で実施されている。 When starting up production equipment, install the master and slave devices and build an industrial network. The installation operation of the slave device is an operation of setting a node address that is an ID for identifying each slave device by connecting the slave devices with a communication cable after arranging the slave device beside each production facility. These operations are performed manually based on the blueprint of the network.
 スレーブ装置の設置作業に関する技術としては、例えば特許文献1に記載の技術が挙げられる。特許文献1には、被制御機器間において識別情報の重複を防止する技術が開示されている。 As a technique related to the installation work of the slave device, for example, a technique described in Patent Document 1 can be cited. Patent Document 1 discloses a technique for preventing duplication of identification information between controlled devices.
特開2017-108216号公報JP 2017-108216 A
 製造する部品の多品種化や小ロット化に伴い、工場内には多数のスレーブ装置が設置されるようになっている。設置されるスレーブ装置の台数も例えば最大で512台にもなり、スレーブ装置の設置作業における配線ミスやノードアドレスの設定ミスも増加している。これらミスへの対応も人手で実施されているが、ネットワークの規模の増大に加えて、スレーブ装置が設置される工場内のエリアも広域にわたることから、ミスが発生しているスレーブ装置を特定することは困難であった。また、ミスが発生しているスレーブ装置を特定することができても、ミスの訂正方法を調査するために多くの時間を要し、生産設備の立ち上げが遅延する原因となっていた。 With the increasing variety of parts to be manufactured and the small lots, many slave devices are installed in the factory. For example, the maximum number of slave devices to be installed is 512, and wiring errors and node address setting errors in the installation work of the slave devices are increasing. Responses to these mistakes are also made manually, but in addition to the increase in the scale of the network, the area in the factory where the slave devices are installed also covers a wide area, so identify the slave device where the error has occurred It was difficult. Even if a slave device in which a mistake has occurred can be identified, it takes a lot of time to investigate a correction method for the mistake, causing a delay in the start-up of production equipment.
 本発明は、スレーブ装置の設置作業を支援するネットワーク管理装置を提供することを課題とする。 It is an object of the present invention to provide a network management device that supports installation work of a slave device.
 本発明に係る管理装置は、マスタ装置と、前記マスタ装置に接続される複数のスレーブ装置とを含むネットワークを管理する管理装置であって、前記ネットワークの構成情報を取得する構成情報取得部と、前記構成情報に基づいて、前記スレーブ装置の接続に関する誤りを検出する接続誤り検出部と、を備えることを特徴とする。 A management device according to the present invention is a management device that manages a network including a master device and a plurality of slave devices connected to the master device, and a configuration information acquisition unit that acquires configuration information of the network; A connection error detecting unit configured to detect an error related to the connection of the slave device based on the configuration information.
 また、上記管理装置において、前記構成情報が、前記各スレーブ装置のアドレス情報を含み、前記接続誤り検出部が、前記アドレス情報に基づいて、前記スレーブ装置のアドレス設定の誤りを検出することが好ましい。 In the management device, it is preferable that the configuration information includes address information of each slave device, and the connection error detection unit detects an address setting error of the slave device based on the address information. .
 また、上記管理装置において、前記アドレス設定の誤りが、前記マスタ装置用に割り振られているアドレスが使用されている、アドレスが複数のスレーブ装置間で重複している、および前記マスタ装置がサポートする範囲外のアドレスが使用されている、の少なくともいずれかであることが好ましい。 Also, in the management device, the address setting error supports an address allocated for the master device, an address is duplicated among a plurality of slave devices, and the master device supports It is preferable that an address outside the range is used.
 また、上記管理装置において、更新用のアドレス情報を用いて、前記アドレス設定の誤りが検出された前記スレーブ装置の前記アドレス情報を更新するアドレス更新部をさらに備えることが好ましい。 In addition, it is preferable that the management device further includes an address update unit that updates the address information of the slave device in which the address setting error is detected, using the update address information.
 また、上記管理装置において、前記構成情報が、前記各スレーブ装置のスレーブ接続情報を含み、前記接続誤り検出部が、前記スレーブ接続情報と、前記各スレーブ装置の機種毎の固有情報を表すスレーブ情報とに基づいて、前記スレーブ装置の配線の誤りを検出することが好ましい。 Further, in the management device, the configuration information includes slave connection information of each slave device, and the connection error detection unit represents slave information indicating the slave connection information and unique information for each model of each slave device. Based on the above, it is preferable to detect an error in the wiring of the slave device.
 また、上記管理装置において、前記配線の誤りが、前記スレーブ装置の出力ポート同士または入力ポート同士の接続であることが好ましい。 In the management device, it is preferable that the wiring error is a connection between output ports or input ports of the slave device.
 また、上記管理装置において、前記構成情報が、前記スレーブ装置のそれぞれについて、当該スレーブ装置に割り振られているアドレス情報と、当該スレーブ装置の機種を識別するためのプロファイル情報と、接続先のスレーブ装置またはマスタ装置のアドレスを特定する情報と、接続ポートを特定する情報とを含む前記スレーブ接続情報と、を含み、前記スレーブ情報が、前記スレーブ装置のそれぞれについて、当該スレーブ装置の機種を識別するためのプロファイル情報と、当該スレーブ装置が保有するポート数およびポート種別に関する情報を含むポート情報と、を含み、前記接続誤り検出部が、前記プロファイル情報で対応付けられる、前記スレーブ接続情報と前記ポート情報とに基づいて、前記スレーブ装置の配線の誤りを検出することが好ましい。 Further, in the management device, the configuration information includes, for each of the slave devices, address information allocated to the slave device, profile information for identifying the model of the slave device, and a slave device of a connection destination Or the slave connection information including information specifying the address of the master device and information specifying the connection port, and the slave information identifies the model of the slave device for each of the slave devices. The slave connection information and the port information, wherein the connection error detection unit is associated with the profile information. Based on the above, it detects the wiring error of the slave device Rukoto is preferable.
 また、上記管理装置において、前記接続誤り検出部が、検出した接続に関する誤りの情報と共に、前記スレーブ装置の機種を識別するためのプロファイル情報を表示することが好ましい。 Further, in the management device, it is preferable that the connection error detection unit displays profile information for identifying the model of the slave device together with information on an error related to the detected connection.
 本発明に係る管理装置は、マスタ装置と、前記マスタ装置に接続される複数のスレーブ装置とを含むEtherCAT(登録商標)のネットワークを管理する管理装置であって、前記ネットワークの構成情報を取得する構成情報取得部と、前記構成情報と、前記各スレーブ装置の機種毎の固有情報を表すスレーブ情報とに基づいて、前記スレーブ装置の接続に関する誤りとして、前記スレーブ装置のアドレス設定の誤りと、前記スレーブ装置の配線の誤りとを検出する接続誤り検出部と、更新用のアドレス情報を用いて、前記アドレス設定の誤りが検出された前記スレーブ装置のアドレス情報を更新するアドレス更新部と、を備え、前記構成情報は、前記スレーブ装置のそれぞれについて、当該スレーブ装置に割り振られているアドレス情報と、当該スレーブ装置の機種を識別するためのプロファイル情報と、接続先のスレーブ装置またはマスタ装置のアドレスを特定する情報と、接続ポートを特定する情報とを含むスレーブ接続情報と、を含み、前記スレーブ情報は、前記スレーブ装置のそれぞれについて、当該スレーブ装置の機種を識別するためのプロファイル情報と、当該スレーブ装置が保有するポート数およびポート種別に関する情報を含むポート情報と、を含み、前記接続誤り検出部は、前記アドレス情報に基づいて、前記スレーブ装置のアドレス設定の誤りとして、前記マスタ装置用に割り振られているアドレスが使用されている、アドレスが複数のスレーブ装置間で重複している、および前記マスタ装置がサポートする範囲外のアドレスが使用されている、の少なくともいずれかを検出し、前記プロファイル情報で対応付けられる、前記スレーブ接続情報と前記ポート情報とに基づいて、前記スレーブ装置の配線の誤りとして、前記スレーブ装置の出力ポート同士または入力ポート同士の接続を検出し、検出した接続に関する誤りの情報と共に、前記スレーブ装置の機種を識別するためのプロファイル情報を表示する、ことを特徴とする。 The management device according to the present invention is a management device that manages an EtherCAT (registered trademark) network including a master device and a plurality of slave devices connected to the master device, and acquires configuration information of the network. Based on the configuration information acquisition unit, the configuration information, and slave information indicating unique information for each model of each slave device, as an error related to the connection of the slave device, an error in address setting of the slave device, A connection error detection unit that detects a wiring error of the slave device, and an address update unit that updates the address information of the slave device in which the address setting error is detected, using update address information. The configuration information includes address information assigned to each slave device. And slave connection information including profile information for identifying the model of the slave device, information for specifying the address of the slave device or master device of the connection destination, and information for specifying the connection port, The slave information includes, for each of the slave devices, profile information for identifying the model of the slave device, and port information including information on the number of ports and the port type held by the slave device, and the connection error Based on the address information, the detection unit uses an address allocated for the master device as an address setting error of the slave device, and the address is duplicated among a plurality of slave devices. And an address outside the range supported by the master device is used. Either one of the output ports of the slave devices or the connection between the input ports as an error in the wiring of the slave devices based on the slave connection information and the port information, which are associated with the profile information. And the profile information for identifying the model of the slave device is displayed together with the error information regarding the detected connection.
 本発明に係るシステムは、マスタ装置と、前記マスタ装置に接続される複数のスレーブ装置と、前記マスタ装置と前記複数のスレーブ装置とを含むネットワークを管理する管理装置と、を備え、前記管理装置が、前記ネットワークの構成情報を取得する構成情報取得部と、前記構成情報に基づいて、前記スレーブ装置の接続に関する誤りを検出する接続誤り検出部と、を備えることを特徴とする。 The system according to the present invention includes a master device, a plurality of slave devices connected to the master device, and a management device that manages a network including the master device and the plurality of slave devices. Comprises a configuration information acquisition unit that acquires configuration information of the network, and a connection error detection unit that detects an error related to the connection of the slave device based on the configuration information.
 本発明に係る管理方法は、マスタ装置と、前記マスタ装置に接続される複数のスレーブ装置とを含むネットワークを管理する管理方法であって、前記ネットワークの構成情報を取得する構成情報取得ステップと、前記構成情報に基づいて、前記スレーブ装置の接続に関する誤りを検出する接続誤り検出ステップと、を含むことを特徴とする。 A management method according to the present invention is a management method for managing a network including a master device and a plurality of slave devices connected to the master device, the configuration information obtaining step for obtaining the configuration information of the network, A connection error detecting step of detecting an error related to the connection of the slave device based on the configuration information.
 また、上記管理装置としてコンピュータを機能させるための管理プログラムであって、前記構成情報取得部および前記接続誤り検出部としてコンピュータを機能させるための管理プログラム、および、当該管理プログラムを記録したコンピュータ読み取り可能な記録媒体も、本発明の技術的範囲に属する。 Also, a management program for causing a computer to function as the management device, the management program for causing the computer to function as the configuration information acquisition unit and the connection error detection unit, and a computer readable recording of the management program Such recording media are also within the technical scope of the present invention.
 本発明によると、スレーブ装置の設置作業を支援するネットワーク管理装置を提供することができる。 According to the present invention, it is possible to provide a network management device that supports installation work of slave devices.
本発明の一実施形態に係る産業用ネットワークシステムの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the industrial network system which concerns on one Embodiment of this invention. 本発明の一実施形態に係る管理装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the management apparatus which concerns on one Embodiment of this invention. アドレス設定の誤りが検出された際の画面表示の一例である。It is an example of a screen display when an error in address setting is detected. 配線の誤りが検出された際の画面表示の一例である。It is an example of a screen display when a wiring error is detected. アドレス書き込み画面の一例である。It is an example of an address writing screen. 設置作業中のネットワーク構成の一例を示すブロック図である。It is a block diagram which shows an example of the network structure in installation work. 図6に示すネットワーク構成において、マスタ装置から取得される構成情報と、各スレーブ装置から取得されるスレーブ情報との一例を示す図である。FIG. 7 is a diagram illustrating an example of configuration information acquired from a master device and slave information acquired from each slave device in the network configuration illustrated in FIG. 6. 本発明の一実施形態に係る管理方法における処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process in the management method which concerns on one Embodiment of this invention. 本発明の一実施形態に係る管理方法における処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the process in the management method which concerns on one Embodiment of this invention.
 以下、本発明の実施形態を、添付の図面を参照して詳細に説明する。以下の実施形態ではEtherCAT(Ethernet for Control Automation Technology:登録商標)の規格に即したネットワークシステムにおける管理装置について説明するが、本発明の対象はこれに限られない。1台以上のノードを備えたネットワークシステムであれば、本発明を適用することができる。 Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following embodiment, a management apparatus in a network system conforming to the standard of EtherCAT (Ethernet for Control Automation Technology: registered trademark) will be described. The present invention can be applied to any network system including one or more nodes.
 (システムの全体構成)
 図1は、本発明の一実施形態に係る産業用ネットワークシステム100の概略構成を示すブロック図である。産業用ネットワークシステム100は、マスタ装置1、およびマスタ装置1に接続されたスレーブ装置2を含むネットワークと、マスタ装置1に接続された管理装置3とを備えている。マスタ装置1とスレーブ装置2とは、EtherCAT通信に適合するケーブル4で接続され、スレーブ装置2同士もEtherCAT通信に適合するケーブル4で接続されている。マスタ装置1と管理装置3とは、有線または無線によるEthernet(登録商標)通信またはUSB通信で接続されている。なお、例示する本実施形態では、マスタ装置1に接続されているノードが全てスレーブ装置2の場合について説明する。
(Overall system configuration)
FIG. 1 is a block diagram showing a schematic configuration of an industrial network system 100 according to an embodiment of the present invention. The industrial network system 100 includes a master device 1, a network including a slave device 2 connected to the master device 1, and a management device 3 connected to the master device 1. The master device 1 and the slave device 2 are connected by a cable 4 compatible with EtherCAT communication, and the slave devices 2 are also connected by a cable 4 compatible with EtherCAT communication. The master device 1 and the management device 3 are connected by wired or wireless Ethernet (registered trademark) communication or USB communication. In the present exemplary embodiment, a case where all nodes connected to the master device 1 are slave devices 2 will be described.
 マスタ装置1は、スレーブ装置2を集中管理する装置であり、例えばPLC(Programmable Logic Controller)で構成されている。マスタ装置1は、シーケンス制御を行うための制御命令をスレーブ装置2へ送信することでスレーブ装置2を制御するとともに、スレーブ装置2から各種データを受け取ることで、スレーブ装置2の状態監視を行う。 The master device 1 is a device that centrally manages the slave devices 2, and is composed of, for example, a PLC (Programmable Logic Controller). The master device 1 controls the slave device 2 by transmitting a control command for performing sequence control to the slave device 2, and monitors the status of the slave device 2 by receiving various data from the slave device 2.
 スレーブ装置2は、生産設備のデータ収集および制御を行う装置であり、マスタ装置1からの制御命令に応じた生産設備の制御動作や、受信した制御命令の書き換えおよび返送処理を行う。スレーブ装置2としては、スレーブターミナル、NXユニット、CJユニット、IO-Linkデバイス、電源ユニット、モータユニット、カウンタユニット、画像ユニット、通信ユニット、I/Oユニット等が含まれる。スレーブ装置2は有線または無線で生産設備に適宜接続されている。生産設備としては、センサ、押しボタン、リミットスイッチなどの入力装置やランプなどの出力装置が含まれる。 The slave device 2 is a device that collects and controls data of the production facility, and performs a control operation of the production facility according to a control command from the master device 1 and rewrite and return processing of the received control command. The slave device 2 includes a slave terminal, NX unit, CJ unit, IO-Link device, power supply unit, motor unit, counter unit, image unit, communication unit, I / O unit, and the like. The slave device 2 is appropriately connected to a production facility by wire or wireless. Production equipment includes input devices such as sensors, push buttons, limit switches, and output devices such as lamps.
 なお、マスタ装置1に接続可能なスレーブ装置2の台数およびトポロジは特に限定されない。本実施形態では、1台のマスタ装置1に最大512台のスレーブ装置2が接続可能であり、スレーブ装置2間の連携や配線の都合に応じて、直列状、リング状、ツリー状またはスター状など、あらゆるトポロジを適用可能である。また、ノードとして、マスタ装置1およびスレーブ装置2以外に、ハブ装置を含んでもよい。 Note that the number and topology of the slave devices 2 connectable to the master device 1 are not particularly limited. In the present embodiment, a maximum of 512 slave devices 2 can be connected to one master device 1, and can be connected in series, ring shape, tree shape or star shape depending on the cooperation between the slave devices 2 and the convenience of wiring. Any topology can be applied. In addition to the master device 1 and the slave device 2, a hub device may be included as a node.
 (管理装置)
 図2は、本発明の一実施形態に係る管理装置3の概略構成を示すブロック図である。管理装置3は、マスタ装置1およびスレーブ装置2のネットワークを管理するコンピュータであり、例えば汎用のパーソナルコンピュータで構成することができる。管理装置3は、ハードウェア構成として、例えばCPU(中央演算処理装置)、主記憶装置(メモリ)、補助記憶装置(ハードディスク、SSDなど)、表示装置および入力装置(キーボード、マウスなど)を備えている。
(Management device)
FIG. 2 is a block diagram showing a schematic configuration of the management apparatus 3 according to an embodiment of the present invention. The management device 3 is a computer that manages the network of the master device 1 and the slave device 2, and can be configured by, for example, a general-purpose personal computer. The management device 3 includes, for example, a CPU (Central Processing Unit), a main storage device (memory), an auxiliary storage device (hard disk, SSD, etc.), a display device, and an input device (keyboard, mouse, etc.) as a hardware configuration. Yes.
 また、管理装置3は、機能ブロックとして、通信部31、トラブルシュート制御部32、ネットワーク管理部33、ネットワーク管理用の記憶部35および補助記憶部36を備えている。通信部31、トラブルシュート制御部32およびネットワーク管理部33は、補助記憶装置に格納されている管理プログラム(図示省略)が主記憶装置に読み出され、CPUによって実行されることによって実現される。管理プログラムは、CD-ROMなどの非一時的なコンピュータ読み取り可能な記録媒体に記録されてもよく、当該記録媒体を管理装置3に読み取らせることにより、管理プログラムを管理装置3にインストールしてもよい。あるいは、インターネット等の通信ネットワークを介して管理プログラムのコードを管理装置3にダウンロードしてもよい。 The management device 3 includes a communication unit 31, a troubleshooting control unit 32, a network management unit 33, a network management storage unit 35, and an auxiliary storage unit 36 as functional blocks. The communication unit 31, the troubleshooting control unit 32, and the network management unit 33 are realized by a management program (not shown) stored in the auxiliary storage device being read into the main storage device and executed by the CPU. The management program may be recorded on a non-transitory computer-readable recording medium such as a CD-ROM, and the management program may be installed in the management apparatus 3 by causing the management apparatus 3 to read the recording medium. Good. Alternatively, the management program code may be downloaded to the management apparatus 3 via a communication network such as the Internet.
 記憶部35は主記憶装置に設定することができる。また、補助記憶部36は補助記憶装置に設定することができる。 The storage unit 35 can be set as a main storage device. The auxiliary storage unit 36 can be set as an auxiliary storage device.
 通信部31は、管理装置3がマスタ装置1と通信を行うための通信ユニットである。例えば、通信部31は、マスタ装置1に従い通信プロトコルを切り替える機能等を有している。 The communication unit 31 is a communication unit for the management device 3 to communicate with the master device 1. For example, the communication unit 31 has a function of switching a communication protocol according to the master device 1.
 トラブルシュート制御部32は、マスタ装置1およびスレーブ装置2を含むネットワークの各種トラブルの解消を支援する機能を有している。 The troubleshooting control unit 32 has a function of supporting the resolution of various network problems including the master device 1 and the slave device 2.
 ネットワーク管理部33は、ユーザによるネットワークの状態管理を支援する機能を有している。この機能を実現するために、ネットワーク管理部33は、構成情報取得部331、接続誤り検出部332、アドレス更新部333およびネットワーク構成図表示部334を備えている。 The network management unit 33 has a function of supporting network state management by the user. In order to realize this function, the network management unit 33 includes a configuration information acquisition unit 331, a connection error detection unit 332, an address update unit 333, and a network configuration diagram display unit 334.
 管理装置3の補助記憶部36には、産業用ネットワークシステム100を構成する各スレーブ装置2の機種毎の固有情報が記述されたスレーブ情報D2が予め格納されている。スレーブ情報D2は、各スレーブ装置2のベンダにより、例えばXML形式等のフォーマットにより予め作成されているファイルである。スレーブ情報D2には、プロファイル情報とポート情報とが含まれている。プロファイル情報とは、スレーブ装置2の機種を識別するための情報であって、例えば、スレーブ装置のプロダクトコード、ベンダID、リビジョン番号などを含んでいる。ポート情報とは、スレーブ装置2が保有するポートに関する情報であって、例えば、ポートの数、ポート種別などの情報を含んでいる。 In the auxiliary storage unit 36 of the management apparatus 3, slave information D2 in which unique information for each model of each slave apparatus 2 constituting the industrial network system 100 is described is stored in advance. The slave information D2 is a file created in advance by a vendor of each slave device 2 in a format such as XML format. The slave information D2 includes profile information and port information. The profile information is information for identifying the model of the slave device 2 and includes, for example, a product code, a vendor ID, a revision number, and the like of the slave device. The port information is information related to the ports held by the slave device 2, and includes information such as the number of ports and port types, for example.
 構成情報取得部331は、実機のネットワーク構成の情報(構成情報)を取得する機能ブロックである。本実施形態では、実際に構築されている産業用ネットワークシステム100において、マスタ装置1がネットワークスキャン処理を行うことにより、各スレーブ装置2の情報を収集し、構成情報を生成する。構成情報取得部331は、この構成情報をマスタ装置1から受信して、図2に示す構成情報D1として記憶部35に読み出す。 The configuration information acquisition unit 331 is a functional block that acquires network configuration information (configuration information) of an actual machine. In the present embodiment, in the industrial network system 100 that is actually constructed, the master device 1 performs network scan processing to collect information on each slave device 2 and generate configuration information. The configuration information acquisition unit 331 receives this configuration information from the master device 1 and reads it into the storage unit 35 as the configuration information D1 shown in FIG.
 構成情報D1には、産業用ネットワークシステム100を構成する各スレーブ装置2のプロファイル情報、スレーブ接続情報、アドレス情報などが記述されている。プロファイル情報とは、スレーブ装置2の機種を識別するための情報であって、例えば、スレーブ装置のプロダクトコード、ベンダID、リビジョン番号などを含んでいる。スレーブ接続情報とは、スレーブ装置の接続構成(トポロジ)を理解するための情報であって、例えば、スレーブ装置の接続先の装置およびポートを特定する情報などを含んでいる。アドレス情報とは、スレーブ装置に割り当てられるノードアドレスの値を示す情報である。 In the configuration information D1, profile information, slave connection information, address information, and the like of each slave device 2 constituting the industrial network system 100 are described. The profile information is information for identifying the model of the slave device 2 and includes, for example, a product code, a vendor ID, a revision number, and the like of the slave device. The slave connection information is information for understanding the connection configuration (topology) of the slave device, and includes, for example, information for specifying the connection destination device and port of the slave device. The address information is information indicating the value of the node address assigned to the slave device.
 ネットワークスキャン処理は、例えば以下の4つのステップにより実行される。以下の各ステップの処理に関する説明では、EtherCAT規格のネットワークを一例として説明する。 The network scan process is executed by the following four steps, for example. In the following description regarding the processing of each step, an EtherCAT standard network will be described as an example.
 第1のステップでは、マスタ装置1は、マスタ装置1に接続されているスレーブ装置2の台数(ノード数)を判別する。ノード数を判別するために、マスタ装置1は、ネットワークに対してブロードキャストコマンド(BRD)を発行する。ブロードキャストコマンドの応答数が、マスタ装置1に接続されているノード数に相当する。例えばEtherCAT規格では、ネットワーク内に存在する全ノード(全てのEtherCATスレーブ)は、ブロードキャストコマンドに応答することが規定されている。 In the first step, the master device 1 determines the number of slave devices 2 (number of nodes) connected to the master device 1. In order to determine the number of nodes, the master device 1 issues a broadcast command (BRD) to the network. The number of broadcast command responses corresponds to the number of nodes connected to the master device 1. For example, the EtherCAT standard stipulates that all nodes (all EtherCAT slaves) existing in the network respond to a broadcast command.
 第2のステップでは、マスタ装置1が、ネットワーク上の各ノードから、ノードアドレスの情報と、各ノードにおいて接続が確立されている通信ポートの情報とを取得する。情報を取得するために、マスタ装置1は、各ノードに対してAPRD(auto increment physical read)コマンドを発行する。 In the second step, the master device 1 acquires node address information and communication port information established in each node from each node on the network. In order to acquire information, the master device 1 issues an APRD (auto-increment-physical-read) command to each node.
 例えばEtherCAT規格では、ノードの通信ポートは最大で4つであること、ノードは規定のレジスタに各通信ポートの状態を保持すること、および、ノードは規定のレジスタにノードアドレスを保持すること、が規定されている。APRDコマンドは、EtherCAT規格において、レジスタの読み出しに使用されるコマンドである。読み出しは、ポジションアドレス(マスタ装置1から数えた接続台数を示すアドレス)でノードを特定することにより行われる。 For example, in the EtherCAT standard, there are a maximum of four communication ports of a node, a node holds the state of each communication port in a specified register, and a node holds a node address in a specified register. It is prescribed. The APRD command is a command used for reading a register in the EtherCAT standard. Reading is performed by specifying a node by a position address (an address indicating the number of connected devices counted from the master device 1).
 第3のステップでは、マスタ装置1は、第2のステップにおいて取得した通信ポートの情報と、パケット巡回順のルールとにより、ネットワークのトポロジを作成する。 In the third step, the master device 1 creates a network topology based on the communication port information acquired in the second step and the rules of the packet circulation order.
 例えばEtherCAT規格では、ノードのIN通信ポートは0番ポートであることが規定されている。また、パケットが通信ポートを巡回する順番は、0番ポート、3番ポート、1番ポートおよび2番ポートの順番であることが規定されている。 For example, the EtherCAT standard specifies that the IN communication port of a node is the 0th port. Further, it is specified that the order in which the packet circulates the communication port is the order of the 0th port, the 3rd port, the 1st port and the 2nd port.
 第4のステップでは、マスタ装置1は、ネットワーク上の各ノードから、ノードの機種を特定するための情報を取得する。情報を取得するために、マスタ装置1は、各ノードに対して上記したAPRDコマンドを発行する。 In the fourth step, the master device 1 acquires information for specifying the model of the node from each node on the network. In order to acquire information, the master device 1 issues the above APRD command to each node.
 例えばEtherCAT規格では、ノードは、機種を特定する情報として、ベンダID、プロダクトコード、リビジョンコードをレジスタ上に保持することが規定されている。 For example, the EtherCAT standard stipulates that a node holds a vendor ID, a product code, and a revision code on a register as information for specifying a model.
 以上の4つのステップにより、ネットワークスキャン処理が行われ、構成情報D1が生成される。 The network scan process is performed by the above four steps, and the configuration information D1 is generated.
 接続誤り検出部332は、構成情報D1に基づいて、各スレーブ装置2の接続に関する誤りを検出する機能ブロックである。本実施形態では、接続に関する誤りとして、接続誤り検出部332は、スレーブ装置間の配線の誤りと、スレーブ装置のアドレス設定の誤りとを検出する。配線の誤りおよびアドレス設定の誤りを検出する順番は制限されないが、本実施形態では、配線の誤りを先に検出し、次にアドレス設定の誤りを検出する。また、本実施形態では、接続誤り検出部332は、配線の誤りおよびアドレス設定の誤りの両方を検出しているが、配線の誤りおよびアドレス設定の誤りのいずれか一方を検出してもよい。 The connection error detection unit 332 is a functional block that detects an error related to the connection of each slave device 2 based on the configuration information D1. In the present embodiment, the connection error detection unit 332 detects an error in wiring between slave devices and an error in address setting of the slave devices as errors related to the connection. The order of detecting the wiring error and the address setting error is not limited, but in this embodiment, the wiring error is detected first and then the address setting error is detected. In this embodiment, the connection error detection unit 332 detects both a wiring error and an address setting error, but may detect either a wiring error or an address setting error.
 接続誤り検出部332は、構成情報D1に含まれている各スレーブ装置2のアドレス情報に基づいて、スレーブ装置2のアドレス設定の誤りを検出する。アドレス設定の誤りが検出された場合、接続誤り検出部332は、例えば図3に例示するように、検出したアドレス設定の誤りの情報と共に、スレーブ装置2の機種を識別するためのプロファイル情報を表示する。図示する例では、アイコンE1と共に表示されている3台のスレーブ装置2について、アドレス設定の誤りが検出されている。アドレス設定の誤りに関する情報として、誤って設定されているアドレス値であるアドレス値「0」、「5」、「5」と、アドレス設定の誤りの内容を表すメッセージ41とが、スレーブ装置2のプロファイル情報と共に表示されている。 The connection error detection unit 332 detects an address setting error of the slave device 2 based on the address information of each slave device 2 included in the configuration information D1. When an address setting error is detected, the connection error detecting unit 332 displays profile information for identifying the model of the slave device 2 together with the detected address setting error information as illustrated in FIG. To do. In the illustrated example, an address setting error is detected for the three slave devices 2 displayed together with the icon E1. As information regarding the address setting error, the address values “0”, “5”, “5”, which are the address values set in error, and the message 41 indicating the content of the address setting error are stored in the slave device 2. Displayed with profile information.
 アドレス設定の誤りには、種々の態様が含まれる。例えば、マスタ装置1用に割り振られているアドレス(予約されているアドレス)がスレーブ装置2に使用されている場合、接続誤り検出部332はアドレス設定の誤りと判定する。また、例えばアドレスが複数のスレーブ装置2間で重複して設定されている場合、接続誤り検出部332はアドレス設定の誤りと判定する。また、例えばマスタ装置1がサポートする範囲外の値のアドレスがスレーブ装置2に設定されている場合、接続誤り検出部332はアドレス設定の誤りと判定する。 The address setting error includes various modes. For example, when the address (reserved address) allocated for the master device 1 is used for the slave device 2, the connection error detection unit 332 determines that the address setting is incorrect. For example, when the address is set redundantly among the plurality of slave devices 2, the connection error detection unit 332 determines that the address setting is incorrect. For example, when an address having a value outside the range supported by the master device 1 is set in the slave device 2, the connection error detection unit 332 determines that an address setting error has occurred.
 接続誤り検出部332は、構成情報D1に含まれている各スレーブ装置2のスレーブ接続情報と、スレーブ情報D2に含まれている、各スレーブ装置2の機種毎の固有情報とに基づいて、スレーブ装置2の配線の誤りを検出する。配線の誤りが検出された場合、接続誤り検出部332は、例えば図4に例示するように、検出した配線の誤りの情報と共に、スレーブ装置2の機種を識別するためのプロファイル情報を表示する。図示する例では、アイコンE1と共に表示されている1台のスレーブ装置2について、配線の誤りが検出されている。配線の誤りに関する情報として、誤って配線されているスレーブ装置2のアドレス値であるアドレス値「2」と、配線の誤りの内容を表すメッセージ43とが、スレーブ装置2のプロファイル情報と共に表示されている。 Based on the slave connection information of each slave device 2 included in the configuration information D1 and the unique information for each model of each slave device 2 included in the slave information D2, the connection error detection unit 332 An error in the wiring of the device 2 is detected. When a wiring error is detected, the connection error detection unit 332 displays profile information for identifying the model of the slave device 2 together with information on the detected wiring error, for example, as illustrated in FIG. In the illustrated example, a wiring error is detected for one slave device 2 displayed with the icon E1. As information regarding the wiring error, an address value “2” that is the address value of the slave device 2 that has been incorrectly wired, and a message 43 indicating the content of the wiring error are displayed together with the profile information of the slave device 2. Yes.
 配線の誤りには、種々の態様が含まれる。例えば、スレーブ装置2の出力ポート同士が接続されている場合、またはスレーブ装置2の入力ポート同士が接続されている場合、接続誤り検出部332は配線の誤りと判定する。配線の誤りを検出する際のより具体的な手順については、図6および図7を参照して後述する。 配線 Various aspects are included in wiring errors. For example, when the output ports of the slave device 2 are connected to each other, or when the input ports of the slave device 2 are connected to each other, the connection error detection unit 332 determines that there is a wiring error. More specific procedures for detecting wiring errors will be described later with reference to FIGS.
 なお、スレーブ装置2は、例えばメンテナンスなどの理由により、ネットワークから一時的に取り外される(離脱する)場合があるが、メンテナンスから復帰すると、ネットワークに再加入することができる。本実施形態では、このような一時的な離脱による断線は、配線の誤りとは判断せずに処理することができる。離脱するスレーブ装置2の情報は、ネットワークに接続されたままのものとして、構成情報D1に残すことができる。 Note that the slave device 2 may be temporarily removed (detached) from the network for reasons such as maintenance, but can rejoin the network after returning from maintenance. In this embodiment, such a disconnection due to temporary disconnection can be processed without determining that it is a wiring error. Information of the slave device 2 to leave can be left in the configuration information D1 as it is still connected to the network.
 アドレス更新部333は、アドレス設定の誤りが検出されたスレーブ装置2に対して、更新用のアドレス情報を用いてアドレス情報を更新する機能ブロックである。 The address update unit 333 is a functional block that updates the address information using the update address information for the slave device 2 in which an address setting error is detected.
 図3に示す画面表示例において、ボタン42が押下されると、アドレス更新部333は、図5に例示するアドレス書き込み画面を表示する。更新用のアドレス情報は、例えば入力装置を介してユーザにより入力される。ユーザは、例えば符号45で示すアドレス値を選択すると、更新用のアドレス値を入力することができる。図示する例では、アドレス値が現在「0」に設定されているスレーブ装置2のアドレス値をアドレス値「3」に変更する。 In the screen display example shown in FIG. 3, when the button 42 is pressed, the address updating unit 333 displays the address writing screen illustrated in FIG. The address information for update is input by the user via an input device, for example. For example, when the user selects an address value indicated by reference numeral 45, the user can input an update address value. In the illustrated example, the address value of the slave device 2 whose address value is currently set to “0” is changed to the address value “3”.
 書き込みボタン46が押下されると、アドレス更新部333はアドレス値の更新を行う。アドレス値の更新とは、アドレス設定の誤りが検出されたスレーブ装置2について、構成情報D1に含まれているアドレス情報を更新し、更新された構成情報D1の内容で、ネットワークに接続されているスレーブ装置2の情報を更新することである。 When the write button 46 is pressed, the address update unit 333 updates the address value. The update of the address value refers to updating the address information included in the configuration information D1 for the slave device 2 in which an address setting error is detected, and is connected to the network with the content of the updated configuration information D1. The information of the slave device 2 is updated.
 スレーブ装置2に対するアドレス値の更新は、次の手順で行う。まず、管理装置3のアドレス更新部333からマスタ装置1へ、更新対象とするスレーブ装置2のノードアドレス書き込み要求を発行する。ノードアドレス書き込み要求は、任意の通信プロトコルを介して発行することができる。次に、ノードアドレス書き込み要求を受信したマスタ装置1は、更新対象とするスレーブ装置2に対して、ノードアドレス書き込み要求を発行する。ノードアドレス書き込み要求を受信したスレーブ装置2は、スレーブ装置2が有する規定のレジスタに新たなノードアドレスを書き込む。 The update of the address value for the slave device 2 is performed according to the following procedure. First, a node address write request of the slave device 2 to be updated is issued from the address update unit 333 of the management device 3 to the master device 1. The node address write request can be issued via any communication protocol. Next, the master device 1 that has received the node address write request issues a node address write request to the slave device 2 to be updated. The slave device 2 that has received the node address write request writes a new node address in a prescribed register of the slave device 2.
 ネットワーク構成図表示部334は、ノードの接続関係を示すネットワーク構成図を表示する機能ブロックである。ネットワーク構成図表示部334は、記憶部35に格納された構成情報D1を参照して、図5のアドレス書き込み画面中に例示されているネットワーク構成図47をグラフィカルに表示する。ネットワーク構成図47では、ネットワークに含まれるノードがアイコンで示され、それらがツリー表示されている。また、各アイコンの近傍には、ノードアドレスおよびノードの機種名が表示されている。なお、ネットワーク構成図47の具体的な表示態様はこれに限定されず、ユーザがネットワーク構成を直感的に把握できるものであればよい。 The network configuration diagram display unit 334 is a functional block that displays a network configuration diagram showing the connection relationship of nodes. The network configuration diagram display unit 334 refers to the configuration information D1 stored in the storage unit 35 and graphically displays the network configuration diagram 47 illustrated in the address writing screen of FIG. In the network configuration diagram 47, nodes included in the network are indicated by icons and displayed in a tree form. Further, in the vicinity of each icon, a node address and a model name of the node are displayed. Note that the specific display mode of the network configuration diagram 47 is not limited to this, as long as the user can intuitively grasp the network configuration.
 図6および図7を参照して、接続誤り検出部332が配線の誤りを検出する手順をより具体的に説明する。 Referring to FIG. 6 and FIG. 7, the procedure in which the connection error detection unit 332 detects a wiring error will be described more specifically.
 図6は、設置作業中のネットワーク構成の一例を示すブロック図である。図6に例示するネットワーク構成では、マスタ装置1以下に5台のスレーブ装置2(2a~2e)が接続されており、スレーブ装置2bとスレーブ装置2cとの間で誤配線が生じており、出力ポート同士が誤って接続されている。 FIG. 6 is a block diagram showing an example of a network configuration during installation work. In the network configuration illustrated in FIG. 6, five slave devices 2 (2a to 2e) are connected to the master device 1 and below, and miswiring occurs between the slave device 2b and the slave device 2c. The ports are connected incorrectly.
 図7は、図6に示すネットワーク構成において、マスタ装置から取得される構成情報と、各スレーブ装置から取得されるスレーブ情報との一例を示す図である。 FIG. 7 is a diagram illustrating an example of configuration information acquired from the master device and slave information acquired from each slave device in the network configuration illustrated in FIG. 6.
 スレーブ情報D2aは、スレーブ装置2aのプロファイル情報およびポート情報である。また、スレーブ装置2aは、上述のネットワークスキャン処理により、マスタ装置1および管理装置3からは、構成情報D1aに示す内容のアドレス情報、プロファイル情報、およびスレーブ接続情報でネットワークに接続されていると判断されている。各スレーブ装置2b~2eについてもスレーブ装置2aと同様に、スレーブ情報D2b~D2eは、それぞれスレーブ装置2b~2eのプロファイル情報およびポート情報である。各スレーブ装置2b~2eは、マスタ装置1および管理装置3からは、構成情報D1b~D1eにそれぞれ示す内容でネットワークに接続されていると判断されている。 The slave information D2a is profile information and port information of the slave device 2a. In addition, the slave device 2a determines that the master device 1 and the management device 3 are connected to the network by the address information, profile information, and slave connection information indicated in the configuration information D1a by the network scan process described above. Has been. As for the slave devices 2b to 2e, as with the slave device 2a, the slave information D2b to D2e is profile information and port information of the slave devices 2b to 2e, respectively. The slave devices 2b to 2e are determined to be connected to the network from the master device 1 and the management device 3 with the contents shown in the configuration information D1b to D1e, respectively.
 図中、構成情報D1a~D1eにおいて、ADRはスレーブ装置2に設定されているアドレス情報である。PCはスレーブ装置2のプロダクトコードであり、Verはリビジョン番号である。これらプロダクトコードおよびリビジョン番号がプロファイル情報に対応する。また、スレーブ接続情報として、接続先のポートおよびノードを特定するアドレス情報が示されている。 In the figure, in the configuration information D1a to D1e, ADR is address information set in the slave device 2. PC is the product code of the slave device 2, and Ver is the revision number. These product codes and revision numbers correspond to profile information. As slave connection information, address information for specifying a connection destination port and node is shown.
 また、図中、スレーブ情報D2a~D2eにおいて、PCはスレーブ装置2のプロダクトコードであり、Verはリビジョン番号である。これらプロダクトコードおよびリビジョン番号がプロファイル情報に対応する。また、ポート情報として、当該スレーブ装置2が保有するポート数およびポート種別に関する情報が示されている。 In the figure, in the slave information D2a to D2e, PC is the product code of the slave device 2, and Ver is the revision number. These product codes and revision numbers correspond to profile information. Further, as the port information, information regarding the number of ports and the port type held by the slave device 2 is shown.
 接続誤り検出部332は、次の手順に沿って、プロファイル情報で一対一に対応付けられる、構成情報D1内のスレーブ接続情報とスレーブ情報D2内のポート情報とに基づいて、スレーブ装置2の配線の誤りを検出する。なお、図7中、構成情報D1およびスレーブ情報D2の着目すべき箇所には下線を付している。 The connection error detection unit 332 performs wiring of the slave device 2 based on the slave connection information in the configuration information D1 and the port information in the slave information D2 that are associated one-to-one with the profile information in accordance with the following procedure. Detect errors. In FIG. 7, portions of the configuration information D1 and the slave information D2 that should be noted are underlined.
 配線の誤りとして、出力ポート同士の誤配線を検出する場合を説明する。接続誤り検出部332は、例えばスレーブ装置2a~2eに対応するスレーブ情報D2a~D2eの順番で、以下の判定を繰り返し行う。 A case will be described in which an incorrect wiring between output ports is detected as a wiring error. The connection error detection unit 332 repeatedly performs the following determination in the order of slave information D2a to D2e corresponding to the slave devices 2a to 2e, for example.
 まず、スレーブ情報D2のポート情報のうち、ポート種別が「出力ポート(Output)」に設定されているポートのポート番号を確認する。接続誤り検出部332は、スレーブ装置2bについて、スレーブ情報D2bのポート情報のうち、ポート種別が「出力ポート(Output)」に設定されているポートのポート番号「Port1」を確認する。 First, in the port information of the slave information D2, the port number of the port whose port type is set to “Output port” is confirmed. The connection error detection unit 332 confirms the port number “Port1” of the port whose port type is set to “output port (Output)” in the port information of the slave information D2b for the slave device 2b.
 次に、プロファイル情報で一対一に対応付けられている構成情報D1中の対応するポート番号を確認し、設定されている接続先アドレスを確認する。接続誤り検出部332は、プロファイル情報で一対一に対応付けられている構成情報D1b中の対応するポート番号「Port1」を確認し、設定されている接続先アドレス「ADR 3」を確認する。 Next, the corresponding port number in the configuration information D1 that is associated one-to-one with the profile information is confirmed, and the set connection destination address is confirmed. The connection error detection unit 332 confirms the corresponding port number “Port1” in the configuration information D1b associated one-to-one with the profile information, and confirms the set connection destination address “ADR「 3 ”.
 次に、接続先アドレスに指定されているスレーブ装置2の構成情報D1を参照し、接続元のアドレスが設定されているポートのポート番号を確認する。接続誤り検出部332は、接続先アドレス「ADR 3」に指定されているスレーブ装置2cの構成情報D1cを参照し、接続元のアドレス「ADR 2」が設定されているポートのポート番号「Port1」を確認する。 Next, referring to the configuration information D1 of the slave device 2 specified as the connection destination address, the port number of the port for which the connection source address is set is confirmed. The connection error detection unit 332 refers to the configuration information D1c of the slave device 2c designated by the connection destination address “ADR 3”, and the port number “Port1” of the port in which the connection source address “ADR 2” is set. Confirm.
 次に、プロファイル情報で一対一に対応付けられている、対応するスレーブ情報D2の対応するポート番号のポート種別を確認する。接続誤り検出部332は、プロファイル情報で一対一に対応付けられている、対応するスレーブ情報D2cの対応するポート番号「Port1」のポート種別を確認する。ここで、確認したポート種別が「出力ポート(Output)」に設定されている場合には、出力ポート同士の接続であるので誤配線と判定する。これに対し、確認したポート種別が「入力ポート(Input)」に設定されている場合には、出力ポートと入力ポートとの接続であるので、正常な接続と判定する。この例では、確認したポート種別は「出力ポート(Output)」に設定されているので、接続誤り検出部332は、スレーブ装置2bとスレーブ装置2cとの間の接続は出力ポート同士の誤配線であると判定する。 Next, the port type of the corresponding port number of the corresponding slave information D2 that is associated one-to-one with the profile information is confirmed. The connection error detection unit 332 confirms the port type of the corresponding port number “Port1” of the corresponding slave information D2c that is associated one-to-one with the profile information. If the confirmed port type is set to “output port (Output)”, it is determined that the wiring is incorrect because it is a connection between the output ports. On the other hand, if the confirmed port type is set to “input port”, it is determined that the connection is normal because the output port is connected to the input port. In this example, since the confirmed port type is set to “output port (Output)”, the connection error detection unit 332 connects the slave device 2b and the slave device 2c with incorrect wiring between the output ports. Judge that there is.
 引き続き、接続誤り検出部332は、スレーブ情報D2a~D2eの順番で上記判定を繰り返し行う。接続誤り検出部332は、一つでも誤配線を判定した時点において、処理を中断することもできる。 Subsequently, the connection error detection unit 332 repeatedly performs the above determination in the order of the slave information D2a to D2e. The connection error detection unit 332 can interrupt the process at the time when even one erroneous wiring is determined.
 なお、配線の誤りとして、入力ポート同士の誤配線を検出する場合は、まず、スレーブ装置2のポート情報のうち、ポート種別が「入力ポート(Input)」に設定されているポートのポート番号を確認する。以後、上記説明した出力ポート同士の誤配線を検出する場合と同様に、接続関係の整合性を辿ってゆき、誤配線の判定を行う。 When detecting an incorrect wiring between input ports as a wiring error, first, the port number of the port whose port type is set to “Input Port” in the port information of the slave device 2 is selected. Confirm. Thereafter, as in the case of detecting the erroneous wiring between the output ports described above, the consistency of the connection relation is traced and the erroneous wiring is determined.
 (管理方法)
 図8~9は、マスタ装置1およびスレーブ装置2を含むネットワークを管理する管理方法における処理の流れを示すフローチャートである。同図では、管理装置3およびマスタ装置1における処理手順が示されている。
(Management method)
FIGS. 8 to 9 are flowcharts showing the flow of processing in the management method for managing the network including the master device 1 and the slave device 2. In the figure, processing procedures in the management device 3 and the master device 1 are shown.
 まず、ユーザが管理装置3において管理プログラムを起動し(S1)、ユーザが管理プログラムの画面上でオンラインボタン(図示省略)を押下すると、通信部31がマスタ装置1との通信を開始する(S2)。 First, the user starts a management program in the management device 3 (S1), and when the user presses an online button (not shown) on the management program screen, the communication unit 31 starts communication with the master device 1 (S2). ).
 続いて、管理装置3において、ユーザが管理プログラムの画面上でトラブルシュートボタン(図示省略)を押下すると、トラブルシュート制御部32が起動する(S3)。 Subsequently, in the management apparatus 3, when the user presses a troubleshooting button (not shown) on the management program screen, the troubleshooting control unit 32 is activated (S3).
 続いて、構成情報取得部331がマスタ装置1に構成情報の送信を指示する(S4)。これに応じて、マスタ装置1は、ネットワークスキャン処理を行うことにより(S21)、各スレーブ装置2の情報を収集し、構成情報を自装置に格納する(S22)。マスタ装置1は、自装置に格納されている構成情報を管理装置3に送信する(S23)。これにより、構成情報取得部331は、構成情報D1を取得して記憶部35に格納する(S5)。 Subsequently, the configuration information acquisition unit 331 instructs the master device 1 to transmit configuration information (S4). In response to this, the master device 1 collects information of each slave device 2 by performing a network scan process (S21), and stores the configuration information in its own device (S22). The master device 1 transmits the configuration information stored in its own device to the management device 3 (S23). Thereby, the configuration information acquisition unit 331 acquires the configuration information D1 and stores it in the storage unit 35 (S5).
 その後、接続誤り検出部332が各スレーブ装置2の接続に関する誤りを検出する。まず、接続誤り検出部332は、スレーブ装置2の配線の誤りを検出する(S6)。 Thereafter, the connection error detection unit 332 detects an error related to the connection of each slave device 2. First, the connection error detection unit 332 detects a wiring error of the slave device 2 (S6).
 配線の誤りを検出した場合(S6においてNO)、接続誤り検出部332は、図4に例示するように、検出した配線の誤りの情報と共に、スレーブ装置2の機種を識別するためのプロファイル情報を表示する(S7)。アイコンE1の表示により、ユーザは、アドレス値「2」を有するスレーブ装置2において配線に誤りがあることを容易に把握することができる。また、共に表示されているプロファイル情報により、ユーザは、配線に誤りがあるこのスレーブ装置2の機種を特定するための情報を得ることができる。 When a wiring error is detected (NO in S6), the connection error detection unit 332 includes profile information for identifying the model of the slave device 2 along with the detected wiring error information as illustrated in FIG. Display (S7). By displaying the icon E1, the user can easily grasp that there is an error in the wiring in the slave device 2 having the address value “2”. Also, the profile information displayed together allows the user to obtain information for specifying the model of the slave device 2 having an error in wiring.
 ユーザによりスレーブ装置2の配線の誤りが解消された後、再実行ボタン44が押下されると、管理装置3は、再びマスタ装置1に構成情報の送信を指示し(S4)、マスタ装置1から更新された構成情報D1を取得する(S5)。引き続き、管理装置3は、各スレーブ装置2の接続に関する誤りを検出する。すなわち、管理装置3は、スレーブ装置2の配線の誤りが全て解消されるまで、ステップS4からS6の処理を繰り返し実行する。 When the re-execution button 44 is pressed after the user corrects the wiring error of the slave device 2, the management device 3 instructs the master device 1 to transmit the configuration information again (S4). The updated configuration information D1 is acquired (S5). Subsequently, the management device 3 detects an error related to the connection of each slave device 2. That is, the management device 3 repeatedly executes the processing from step S4 to S6 until all the wiring errors of the slave device 2 are resolved.
 配線の誤りが検出されない場合(S6においてYES)、引き続き、接続誤り検出部332は、スレーブ装置2のアドレス設定の誤りを検出する(S8)。 If no wiring error is detected (YES in S6), the connection error detection unit 332 continues to detect an error in the address setting of the slave device 2 (S8).
 アドレス設定の誤りを検出した場合(S8においてNO)、接続誤り検出部332は、図3に例示するように、検出したアドレス設定の誤りの情報と共に、スレーブ装置2の機種を識別するためのプロファイル情報を表示する(S9)。アイコンE1の表示により、ユーザは、スレーブ装置2に設定されているアドレス値「0」、「5」、「5」が誤りであることを容易に把握することができる。また、共に表示されているプロファイル情報により、ユーザは、誤ったアドレス値が設定されているこれらスレーブ装置2の機種を特定するための情報を得ることができる。 When an address setting error is detected (NO in S8), the connection error detecting unit 332 identifies the model of the slave device 2 together with the detected address setting error information as illustrated in FIG. Information is displayed (S9). By displaying the icon E1, the user can easily grasp that the address values “0”, “5”, and “5” set in the slave device 2 are incorrect. Also, the profile information displayed together allows the user to obtain information for specifying the model of the slave device 2 in which an incorrect address value is set.
 ユーザによりボタン42が押下されると、アドレス更新部333は図5に例示するアドレス書き込み画面を表示する(S10)。ユーザによりアドレス値が更新されると(S11)、管理装置3は、再びマスタ装置1に構成情報の送信を指示し(S4)、マスタ装置1から更新された構成情報D1を取得する(S5)。引き続き、管理装置3は、各スレーブ装置2の接続に関する誤りを検出する。すなわち、管理装置3は、スレーブ装置2の配線の誤りおよびアドレス設定の誤りが全て解消されるまで、ステップS4からS8の処理を繰り返し実行する。 When the user presses the button 42, the address updating unit 333 displays the address writing screen illustrated in FIG. 5 (S10). When the address value is updated by the user (S11), the management device 3 instructs the master device 1 to transmit the configuration information again (S4), and acquires the updated configuration information D1 from the master device 1 (S5). . Subsequently, the management device 3 detects an error related to the connection of each slave device 2. That is, the management device 3 repeatedly executes the processes from step S4 to S8 until all the wiring errors and address setting errors of the slave device 2 are resolved.
 アドレス設定の誤りが検出されない場合(S8においてYES)、産業用ネットワークシステム100において、スレーブ装置2の配線の誤りおよびアドレス設定の誤りは検出されていないので、管理装置3は一連の検出処理を終了する。 If no address setting error is detected (YES in S8), the industrial network system 100 detects no wiring error or address setting error in the slave device 2, and the management device 3 ends a series of detection processes. To do.
 以上、本発明によると、スレーブ装置2の設置作業を支援するネットワーク管理装置3を提供することができる。管理装置3は、スレーブ装置2の接続に関する誤りとして、スレーブ装置2の配線の誤りと、スレーブ装置2のアドレス設定の誤りとを検出することができる。管理装置3は、検出した誤りの内容を表す情報と共に、スレーブ装置2の機種を識別するためのプロファイル情報を表示することができる。これにより、ユーザは、生産設備を立ち上げる際の、スレーブ装置の設置作業におけるミスの要因毎に、配線ミスまたはノードアドレスの設定ミスが発生しているスレーブ装置2を特定し、そのスレーブ装置2の情報を把握することができる。これにより、生産設備の立ち上げを迅速化することができる。 As described above, according to the present invention, the network management device 3 that supports the installation work of the slave device 2 can be provided. The management device 3 can detect a wiring error of the slave device 2 and an address setting error of the slave device 2 as errors related to the connection of the slave device 2. The management device 3 can display profile information for identifying the model of the slave device 2 along with information indicating the content of the detected error. As a result, the user identifies the slave device 2 in which a wiring error or a node address setting error has occurred for each cause of the mistake in the installation work of the slave device when starting up the production equipment, and the slave device 2 It is possible to grasp the information. Thereby, the start-up of production equipment can be speeded up.
 (その他の形態)
 以上、本発明の実施形態について説明したが、本発明は上記実施形態に限定されるものではなく、その趣旨を逸脱しない限りにおいて種々の変更が可能であり、例えば、上記実施形態に開示された技術的手段を適宜組み合わせて得られる形態も、本発明の技術的範囲に属する。
(Other forms)
As mentioned above, although embodiment of this invention was described, this invention is not limited to the said embodiment, A various change is possible unless it deviates from the meaning, For example, it disclosed by the said embodiment. Forms obtained by appropriately combining technical means also belong to the technical scope of the present invention.
 上記実施形態では、ステップS10において、アドレス書き込み画面を介してソフトウェア的にアドレス値が更新されているが、本発明はこれに限定されない。誤ったアドレス値が設定されているスレーブ装置2のハードウェアスイッチをユーザが直接切り替えることにより、誤ったアドレス値を修正してもよい。 In the above embodiment, the address value is updated in software via the address writing screen in step S10, but the present invention is not limited to this. The incorrect address value may be corrected by the user directly switching the hardware switch of the slave device 2 in which the incorrect address value is set.
1     マスタ装置
2(2a~2e)     スレーブ装置
3     管理装置
4     ケーブル
31   通信部
32   トラブルシュート制御部
33   ネットワーク管理部
331 構成情報取得部
332 検出部
333 アドレス更新部
334 ネットワーク構成図表示部
35   記憶部
36   補助記憶部
100 産業用ネットワークシステム
D1(D1a~D1e)      構成情報
D2(D2a~D2e)      スレーブ情報 
1 Master device 2 (2a to 2e) Slave device 3 Management device 4 Cable 31 Communication unit 32 Troubleshooting control unit 33 Network management unit 331 Configuration information acquisition unit 332 Detection unit 333 Address update unit 334 Network configuration diagram display unit 35 Storage unit 36 Auxiliary storage unit 100 Industrial network system D1 (D1a to D1e) Configuration information D2 (D2a to D2e) Slave information

Claims (13)

  1.  マスタ装置と、前記マスタ装置に接続される複数のスレーブ装置とを含むネットワークを管理する管理装置であって、
     前記ネットワークの構成情報を取得する構成情報取得部と、
     前記構成情報に基づいて、前記スレーブ装置の接続に関する誤りを検出する接続誤り検出部と、を備えることを特徴とする管理装置。
    A management device for managing a network including a master device and a plurality of slave devices connected to the master device,
    A configuration information acquisition unit for acquiring configuration information of the network;
    A management apparatus comprising: a connection error detection unit configured to detect an error related to the connection of the slave device based on the configuration information.
  2.  前記構成情報が、前記各スレーブ装置のアドレス情報を含み、
     前記接続誤り検出部が、前記アドレス情報に基づいて、前記スレーブ装置のアドレス設定の誤りを検出することを特徴とする、請求項1に記載の管理装置。
    The configuration information includes address information of each slave device,
    The management apparatus according to claim 1, wherein the connection error detection unit detects an address setting error of the slave device based on the address information.
  3.  前記アドレス設定の誤りが、前記マスタ装置用に割り振られているアドレスが使用されている、アドレスが複数のスレーブ装置間で重複している、および前記マスタ装置がサポートする範囲外のアドレスが使用されている、の少なくともいずれかであることを特徴とする、請求項2に記載の管理装置。 The address setting error uses an address allocated for the master device, an address is duplicated among a plurality of slave devices, and an address outside the range supported by the master device is used. The management apparatus according to claim 2, wherein the management apparatus is at least one of the following.
  4.  更新用のアドレス情報を用いて、前記アドレス設定の誤りが検出された前記スレーブ装置の前記アドレス情報を更新するアドレス更新部をさらに備えることを特徴とする、請求項2または3に記載の管理装置。 4. The management apparatus according to claim 2, further comprising: an address update unit that updates the address information of the slave device in which an error in the address setting is detected using address information for update. 5. .
  5.  前記構成情報が、前記各スレーブ装置のスレーブ接続情報を含み、
     前記接続誤り検出部が、前記スレーブ接続情報と、前記各スレーブ装置の機種毎の固有情報を表すスレーブ情報とに基づいて、前記スレーブ装置の配線の誤りを検出することを特徴とする、請求項1から4のいずれか1項に記載の管理装置。
    The configuration information includes slave connection information of each slave device,
    The connection error detection unit detects a wiring error of the slave device based on the slave connection information and slave information indicating unique information for each model of each slave device. 5. The management apparatus according to any one of 1 to 4.
  6.  前記配線の誤りが、前記スレーブ装置の出力ポート同士または入力ポート同士の接続であることを特徴とする、請求項5に記載の管理装置。 The management apparatus according to claim 5, wherein the wiring error is a connection between output ports or input ports of the slave apparatus.
  7.  前記構成情報が、前記スレーブ装置のそれぞれについて、
      当該スレーブ装置に割り振られているアドレス情報と、
      当該スレーブ装置の機種を識別するためのプロファイル情報と、
      接続先のスレーブ装置またはマスタ装置のアドレスを特定する情報と、接続ポートを特定する情報とを含む前記スレーブ接続情報と、
     を含み、
     前記スレーブ情報が、前記スレーブ装置のそれぞれについて、
      当該スレーブ装置の機種を識別するためのプロファイル情報と、
      当該スレーブ装置が保有するポート数およびポート種別に関する情報を含むポート情報と、
     を含み、
     前記接続誤り検出部が、前記プロファイル情報で対応付けられる、前記スレーブ接続情報と前記ポート情報とに基づいて、前記スレーブ装置の配線の誤りを検出することを特徴とする、請求項5または6に記載の管理装置。
    For each of the slave devices, the configuration information is
    Address information assigned to the slave device, and
    Profile information for identifying the model of the slave device,
    The slave connection information including information specifying the address of the slave device or master device of the connection destination, and information specifying the connection port;
    Including
    The slave information for each of the slave devices,
    Profile information for identifying the model of the slave device,
    Port information including information on the number of ports held by the slave device and the port type;
    Including
    The connection error detection unit detects a wiring error of the slave device based on the slave connection information and the port information associated with each other in the profile information. The management device described.
  8.  前記接続誤り検出部が、検出した接続に関する誤りの情報と共に、前記スレーブ装置の機種を識別するためのプロファイル情報を表示することを特徴とする、請求項1から7のいずれか1項に記載の管理装置。 The connection error detection unit displays profile information for identifying a model of the slave device, together with information on an error related to the detected connection, according to any one of claims 1 to 7. Management device.
  9.  マスタ装置と、前記マスタ装置に接続される複数のスレーブ装置とを含むEtherCAT(登録商標)のネットワークを管理する管理装置であって、
     前記ネットワークの構成情報を取得する構成情報取得部と、
     前記構成情報と、前記各スレーブ装置の機種毎の固有情報を表すスレーブ情報とに基づいて、前記スレーブ装置の接続に関する誤りとして、前記スレーブ装置のアドレス設定の誤りと、前記スレーブ装置の配線の誤りとを検出する接続誤り検出部と、
     更新用のアドレス情報を用いて、前記アドレス設定の誤りが検出された前記スレーブ装置のアドレス情報を更新するアドレス更新部と、
    を備え、
     前記構成情報は、前記スレーブ装置のそれぞれについて、
      当該スレーブ装置に割り振られているアドレス情報と、
      当該スレーブ装置の機種を識別するためのプロファイル情報と、
      接続先のスレーブ装置またはマスタ装置のアドレスを特定する情報と、接続ポートを特定する情報とを含むスレーブ接続情報と、
     を含み、
     前記スレーブ情報は、前記スレーブ装置のそれぞれについて、
      当該スレーブ装置の機種を識別するためのプロファイル情報と、
      当該スレーブ装置が保有するポート数およびポート種別に関する情報を含むポート情報と、
     を含み、
     前記接続誤り検出部は、
     前記アドレス情報に基づいて、前記スレーブ装置のアドレス設定の誤りとして、前記マスタ装置用に割り振られているアドレスが使用されている、アドレスが複数のスレーブ装置間で重複している、および前記マスタ装置がサポートする範囲外のアドレスが使用されている、の少なくともいずれかを検出し、
     前記プロファイル情報で対応付けられる、前記スレーブ接続情報と前記ポート情報とに基づいて、前記スレーブ装置の配線の誤りとして、前記スレーブ装置の出力ポート同士または入力ポート同士の接続を検出し、
     検出した接続に関する誤りの情報と共に、前記スレーブ装置の機種を識別するためのプロファイル情報を表示する、
    ことを特徴とする管理装置。
    A management device that manages an EtherCAT (registered trademark) network including a master device and a plurality of slave devices connected to the master device,
    A configuration information acquisition unit for acquiring configuration information of the network;
    Based on the configuration information and slave information indicating unique information for each model of each slave device, as an error related to connection of the slave device, an error in address setting of the slave device and an error in wiring of the slave device A connection error detection unit for detecting
    An address updating unit that updates the address information of the slave device in which an error in the address setting is detected using address information for updating;
    With
    The configuration information is about each of the slave devices.
    Address information assigned to the slave device, and
    Profile information for identifying the model of the slave device,
    Slave connection information including information specifying the address of the slave device or master device of the connection destination, and information specifying the connection port;
    Including
    The slave information is for each of the slave devices.
    Profile information for identifying the model of the slave device,
    Port information including information on the number of ports held by the slave device and the port type;
    Including
    The connection error detection unit
    Based on the address information, as an address setting error of the slave device, an address allocated for the master device is used, an address is duplicated among a plurality of slave devices, and the master device Detect at least one of the addresses outside the range supported by
    Based on the slave connection information and the port information associated with the profile information, the connection between the output ports of the slave devices or between the input ports is detected as an error in the wiring of the slave device,
    Displaying profile information for identifying the model of the slave device together with information on an error relating to the detected connection.
    A management device characterized by that.
  10.  マスタ装置と、
     前記マスタ装置に接続される複数のスレーブ装置と、
     前記マスタ装置と前記複数のスレーブ装置とを含むネットワークを管理する管理装置と、を備え、
     前記管理装置が、
     前記ネットワークの構成情報を取得する構成情報取得部と、
     前記構成情報に基づいて、前記スレーブ装置の接続に関する誤りを検出する接続誤り検出部と、
    を備えることを特徴とする、システム。
    A master device;
    A plurality of slave devices connected to the master device;
    A management device for managing a network including the master device and the plurality of slave devices;
    The management device is
    A configuration information acquisition unit for acquiring configuration information of the network;
    Based on the configuration information, a connection error detection unit that detects an error related to the connection of the slave device;
    A system comprising:
  11.  マスタ装置と、前記マスタ装置に接続される複数のスレーブ装置とを含むネットワークを管理する管理方法であって、
     前記ネットワークの構成情報を取得する構成情報取得ステップと、
     前記構成情報に基づいて、前記スレーブ装置の接続に関する誤りを検出する接続誤り検出ステップと、
    を含むことを特徴とする管理方法。
    A management method for managing a network including a master device and a plurality of slave devices connected to the master device,
    A configuration information acquisition step of acquiring configuration information of the network;
    A connection error detection step for detecting an error related to the connection of the slave device based on the configuration information;
    The management method characterized by including.
  12.  請求項1に記載の管理装置としてコンピュータを機能させるための管理プログラムであって、前記構成情報取得部および前記接続誤り検出部としてコンピュータを機能させるための管理プログラム。 A management program for causing a computer to function as the management device according to claim 1, wherein the management program causes the computer to function as the configuration information acquisition unit and the connection error detection unit.
  13.  請求項12に記載の管理プログラムを記録したコンピュータ読み取り可能な記録媒体。  A computer-readable recording medium on which the management program according to claim 12 is recorded.
PCT/JP2019/018850 2018-05-24 2019-05-13 Network management device, system provided with network management device, network management method, management program, and recording medium WO2019225364A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018-099756 2018-05-24
JP2018099756 2018-05-24

Publications (1)

Publication Number Publication Date
WO2019225364A1 true WO2019225364A1 (en) 2019-11-28

Family

ID=68616053

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2019/018850 WO2019225364A1 (en) 2018-05-24 2019-05-13 Network management device, system provided with network management device, network management method, management program, and recording medium

Country Status (1)

Country Link
WO (1) WO2019225364A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023007914A1 (en) * 2021-07-30 2023-02-02 住友電気工業株式会社 Management device, inspection method, and inspection program
CN116938691A (en) * 2023-09-19 2023-10-24 钛玛科(北京)工业科技有限公司 Host computer construction method and system in equipment system network

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0621949A (en) * 1992-07-03 1994-01-28 Toshiba Corp Data transmitter
JPH07182273A (en) * 1993-10-28 1995-07-21 Internatl Business Mach Corp <Ibm> Network system and adaptor
JP2018011147A (en) * 2016-07-12 2018-01-18 オムロン株式会社 Information processing device, information processing program and information processing method
JP2018019199A (en) * 2016-07-27 2018-02-01 株式会社日立ハイテクノロジーズ Decentralized control device and decentralized control system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0621949A (en) * 1992-07-03 1994-01-28 Toshiba Corp Data transmitter
JPH07182273A (en) * 1993-10-28 1995-07-21 Internatl Business Mach Corp <Ibm> Network system and adaptor
JP2018011147A (en) * 2016-07-12 2018-01-18 オムロン株式会社 Information processing device, information processing program and information processing method
JP2018019199A (en) * 2016-07-27 2018-02-01 株式会社日立ハイテクノロジーズ Decentralized control device and decentralized control system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023007914A1 (en) * 2021-07-30 2023-02-02 住友電気工業株式会社 Management device, inspection method, and inspection program
JP7431199B2 (en) 2021-07-30 2024-02-14 住友電気工業株式会社 Management device, inspection method and inspection program
CN116938691A (en) * 2023-09-19 2023-10-24 钛玛科(北京)工业科技有限公司 Host computer construction method and system in equipment system network
CN116938691B (en) * 2023-09-19 2023-12-26 钛玛科(北京)工业科技有限公司 Host computer construction method and system in equipment system network

Similar Documents

Publication Publication Date Title
US7987305B2 (en) Remote virtual placeholder configuration for distributed input/output modules
JP2002268707A (en) Controller and tool, and system constituted of the same
JP6874438B2 (en) Slave device, control method of slave device, information processing program, and recording medium
WO2019225364A1 (en) Network management device, system provided with network management device, network management method, management program, and recording medium
EP3561623A1 (en) Network management device, management method, management program and recording medium
JP3757669B2 (en) How to set up a distributed system
JP2017163508A (en) Master slave control system, method for controlling master slave control system, information processing program, and recording medium
JP2017167593A (en) Relay device, relay device control method, control program, and recording medium
US11165745B2 (en) Control system, controller, and control method
JP2012150795A (en) Integration of field devices in distributed system
JP2008181572A (en) Plc system
JPWO2016157477A1 (en) Management system
WO2020195503A1 (en) Network management device, management method, management program, and recording medium
JP2010287034A (en) Address display system of modbus protocol communication between external equipment and plc
CN113545013B (en) Network management device, management method, and recording medium
US20190303319A1 (en) Support apparatus, non-transitory computer-readable recording medium and setting method
JP2003131709A (en) Control display system, control program and recording medium storing the program
JP3345361B2 (en) Control device
JP6723493B1 (en) Production support device, production system and program
WO2018008094A1 (en) Parameter editing device for industrial equipment control device, industrial equipment control system, method of manufacture of industrial equipment control system, and program
JP2019040550A (en) Device and method for converting control programs
JP5720330B2 (en) Control system, operation terminal and program
JP2024053927A (en) Lighting Control System
CN110703716A (en) Multi-device communication method applied to automatic control system
JP2021027449A (en) Network system, information processing device, and information processing method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19807438

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19807438

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP