[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

JP2022082276A - Slave device, network system, slave device control method and control program - Google Patents

Slave device, network system, slave device control method and control program Download PDF

Info

Publication number
JP2022082276A
JP2022082276A JP2020193747A JP2020193747A JP2022082276A JP 2022082276 A JP2022082276 A JP 2022082276A JP 2020193747 A JP2020193747 A JP 2020193747A JP 2020193747 A JP2020193747 A JP 2020193747A JP 2022082276 A JP2022082276 A JP 2022082276A
Authority
JP
Japan
Prior art keywords
communication cable
communication
slave device
slave
failure diagnosis
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2020193747A
Other languages
Japanese (ja)
Inventor
孝史 武田
Takafumi Takeda
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP2020193747A priority Critical patent/JP2022082276A/en
Priority to PCT/JP2021/008339 priority patent/WO2022107347A1/en
Publication of JP2022082276A publication Critical patent/JP2022082276A/en
Pending legal-status Critical Current

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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

To provide a slave device that allows a failure place of a communication cable in a network system to be easily known.SOLUTION: A slave device (21c) is connected to a slave device 21b with a communication cable (30c), and includes: a first communication unit (220) that diagnoses failure of the communication cable (30c) when link down with the slave device (21b) occurs; and a control unit (210) that controls notification of a failure diagnosis result of the communication cable (30c) to the outside.SELECTED DRAWING: Figure 1

Description

本発明は、スレーブ装置、ネットワークシステム、スレーブ装置の制御方法および制御プログラムに関する。 The present invention relates to a slave device, a network system, a control method and a control program of the slave device.

ファクトリーオートメーション(Factory Automation:FA)の分野においては、作業の工程を分担する様々な種類の装置の制御が行われる。工場施設等一定の領域において作業に用いられる各種のコントローラ、リモートI/O、および製造装置を連携して動作させるために、これらの装置を接続する、フィールドネットワークとも呼ばれる産業用ネットワークシステムが構築されている。 In the field of factory automation (FA), various types of devices that share work processes are controlled. In order to operate various controllers, remote I / O, and manufacturing equipment used for work in a certain area such as factory facilities in cooperation, an industrial network system called a field network that connects these equipments has been constructed. ing.

一般的な産業用ネットワークシステムでは、各種のスレーブ装置と、マスタ装置などから構成されるマスタスレーブ方式のネットワークが用いられる。スレーブ装置は、工場内に設置される設備の制御あるいはデータ収集を行う装置である。マスタ装置は、これらのスレーブを集中管理する、例えば(PLC:Programmable Logic Controller)と呼ばれる装置である。EtherCAT(登録商標)あるいはEthernet/IPはそうした産業用ネットワークシステムの方式の例である(ETHERNET:登録商標)。このような産業用ネットワークシステムにおいては、通信用ケーブルが各装置間に張り巡らされ、ネットワークが構築されている。 In a general industrial network system, a master-slave network composed of various slave devices and a master device is used. A slave device is a device that controls equipment installed in a factory or collects data. The master device is a device called (PLC: Programmable Logic Controller) that centrally manages these slaves. EtherCAT® or Ethernet / IP is an example of such an industrial network system scheme (ETHERNET: Registered Trademark). In such an industrial network system, a communication cable is laid between each device to construct a network.

特開2013-236162号公報Japanese Unexamined Patent Publication No. 2013-236162

スレーブ装置間を接続する通信用ケーブルに断線等の故障が発生すると、当該スレーブ装置間での通信が遮断される。上記のような産業用ネットワークシステムにおいては、スレーブ装置間での通信途絶を知らせるリンクオフ情報を、スレーブ装置からマスタ装置に報知するようにすることができる。よって管理者はマスタ装置を通じて、特定のスレーブ装置間で何らかの通信の異常が発生していることを知ることができる。しかし、通信途絶の原因が通信ケーブルの故障によるものか否かを知ることはできない。また故障の個所が、通信ケーブルのどの位置にあるかを知ることもできない。 If a failure such as a disconnection occurs in the communication cable connecting the slave devices, the communication between the slave devices is cut off. In the industrial network system as described above, the link-off information notifying the communication blackout between the slave devices can be notified from the slave device to the master device. Therefore, the administrator can know through the master device that some kind of communication abnormality has occurred between specific slave devices. However, it is not possible to know whether the cause of the communication interruption is a failure of the communication cable. Also, it is not possible to know where the location of the failure is on the communication cable.

一方、特許文献1によれば、通信端末に通信ケーブルの故障状態を判別する機能を備える技術が開示されている。しかし、特定の通信端末から、その端末に接続された通信ケーブルの故障状態が判別できるに留まる。 On the other hand, according to Patent Document 1, a technique is disclosed in which a communication terminal is provided with a function of determining a failure state of a communication cable. However, it is only possible to determine the failure state of the communication cable connected to the specific communication terminal from the specific communication terminal.

本発明は上記の問題点を鑑みてなされたものであり、管理者が、産業用ネットワークシステム中の通信ケーブルの故障個所を容易に特定することができるようになり、よって通信ケーブルの保全作業を効率的に実行することを可能とさせるスレーブ装置を実現することを目的とする。 The present invention has been made in view of the above problems, and the administrator can easily identify the faulty part of the communication cable in the industrial network system, and thus the maintenance work of the communication cable can be performed. The purpose is to realize a slave device that can be executed efficiently.

本発明は、上述の課題を解決するために、以下の構成を採用する。 The present invention adopts the following configuration in order to solve the above-mentioned problems.

本発明の一側面に係るスレーブ装置は、第1の他機と第1の通信ケーブルで接続され、第1の他機との間でリンクダウンが発生した場合、第1の通信ケーブルの故障診断を行う第1通信部と、第1の通信ケーブルの故障診断結果の外部への報知を制御する制御部とを備える。 The slave device according to one aspect of the present invention is connected to the first other device by the first communication cable, and when a link down occurs between the first other device, a failure diagnosis of the first communication cable occurs. It is provided with a first communication unit for performing the above and a control unit for controlling the external notification of the failure diagnosis result of the first communication cable.

上記構成によれば、管理者が、産業用ネットワークシステム中の通信ケーブルの故障個所を容易に特定することができるようになる。したがって、通信ケーブルの保全作業を効率的に実行することを可能とさせるスレーブ装置を実現することができる。 According to the above configuration, the administrator can easily identify the faulty part of the communication cable in the industrial network system. Therefore, it is possible to realize a slave device that enables efficient execution of maintenance work of the communication cable.

上記一側面に係るスレーブ装置において、スレーブ装置はさらに、第2の他機と第2の通信ケーブルで接続され、第2の他機との間でリンクダウンが発生した場合、第2の通信ケーブルの故障診断を行う第2通信部を備え、制御部は、第1の通信ケーブルの故障診断結果または第2の通信ケーブルの故障診断結果の外部への報知を制御する。 In the slave device according to the above aspect, the slave device is further connected to the second other device by the second communication cable, and when a link down occurs between the second other device, the second communication cable is used. The second communication unit is provided, and the control unit controls the external notification of the failure diagnosis result of the first communication cable or the failure diagnosis result of the second communication cable.

上記構成によれば、管理者が、産業用ネットワークシステム中の通信ケーブルの故障個所を容易に特定することができるようになる。したがって、通信ケーブルの保全作業を効率的に実行することを可能とさせるスレーブ装置を実現することができる。 According to the above configuration, the administrator can easily identify the faulty part of the communication cable in the industrial network system. Therefore, it is possible to realize a slave device that enables efficient execution of maintenance work of the communication cable.

上記一側面に係るスレーブ装置において、第1通信部は、スレーブ装置の電源投入から予め設定された所定時間経過後に、第1の他機との間でリンクダウンが発生しているか否かを判定する。 In the slave device according to the above aspect, the first communication unit determines whether or not a link down has occurred with the first other device after a predetermined time set in advance has elapsed from the power-on of the slave device. do.

上記構成によれば、スレーブ装置の電源投入から所定時間経過後に、第1の他機との間でリンクダウンが発生しているか否かを判定するので、リンクダウンが発生している場合には、第1の通信ケーブルを自動で診断することが可能となる。 According to the above configuration, after a predetermined time has elapsed from turning on the power of the slave device, it is determined whether or not a link down has occurred with the first other device. Therefore, if a link down has occurred, it is determined. , The first communication cable can be automatically diagnosed.

上記一側面に係るスレーブ装置において、第1通信部は、第1の通信ケーブルの故障診断結果から、スレーブ装置から故障個所までの第1の通信ケーブルの長さを算出する。 In the slave device according to the above aspect, the first communication unit calculates the length of the first communication cable from the slave device to the failure point from the failure diagnosis result of the first communication cable.

上記構成によれば、第1の通信ケーブルの故障個所が、スレーブ装置からの距離として示されるため、容易にケーブル異常の発生個所を知ることができる。 According to the above configuration, since the faulty part of the first communication cable is shown as the distance from the slave device, the faulty part of the cable abnormality can be easily known.

上記一側面に係るスレーブ装置において、第2通信部は、スレーブ装置の電源投入から予め設定された所定時間経過後に、第2の他機との間でリンクダウンが発生しているか否かを判定する。 In the slave device according to the above aspect, the second communication unit determines whether or not a link down has occurred with the second other device after a predetermined time has elapsed from the power-on of the slave device. do.

上記構成によれば、スレーブ装置の電源投入から所定時間経過後に、第2の他機との間でリンクダウンが発生しているか否かを判定するので、リンクダウンが発生している場合には、第2の通信ケーブルを自動で診断することが可能となる。 According to the above configuration, after a predetermined time has elapsed from turning on the power of the slave device, it is determined whether or not a link down has occurred with the second other device. Therefore, if a link down has occurred, it is determined. , The second communication cable can be automatically diagnosed.

上記一側面に係るスレーブ装置において、第2通信部は、第2の通信ケーブルの故障診断結果から、スレーブ装置から故障個所までの第2の通信ケーブルの長さを算出する。 In the slave device according to the above aspect, the second communication unit calculates the length of the second communication cable from the slave device to the failure point from the failure diagnosis result of the second communication cable.

上記構成によれば、第2の通信ケーブルの故障個所が、スレーブ装置からの距離として示されるため、容易にケーブル異常の発生個所を知ることができる。 According to the above configuration, since the faulty part of the second communication cable is shown as the distance from the slave device, the faulty part of the cable abnormality can be easily known.

上記一側面に係るスレーブ装置において、制御部は、第1通信部または第2通信部を介して、第1の通信ケーブルの故障診断結果または第2の通信ケーブルの故障診断結果をマスタ装置または外部機器に通知する。 In the slave device according to the above aspect, the control unit transmits the failure diagnosis result of the first communication cable or the failure diagnosis result of the second communication cable to the master device or the external via the first communication unit or the second communication unit. Notify the device.

上記構成によれば、マスタ装置または外部機器が、スレーブ装置に接続される通信ケーブルの故障診断結果を取得することができ、管理者が、産業用ネットワークシステム中の通信ケーブルの故障個所を容易に特定することができるようになる。 According to the above configuration, the master device or the external device can acquire the failure diagnosis result of the communication cable connected to the slave device, and the administrator can easily find the failure location of the communication cable in the industrial network system. You will be able to identify.

上記一側面に係るスレーブ装置において、第1の他機は、マスタ装置側に配置され、第2の他機は、マスタ装置と反対側に配置される。 In the slave device according to the one aspect, the first other machine is arranged on the master device side, and the second other machine is arranged on the opposite side of the master device.

本発明の一側面に係るネットワークシステムは、マスタ装置と、複数のスレーブ装置とが接続されるネットワークシステムであって、複数のスレーブ装置のそれぞれは、マスタ装置側の第1の他機と第1の通信ケーブルで接続され、第1の他機との間でリンクダウンが発生した場合、第1の通信ケーブルの故障診断を行う第1通信部と、第1の通信ケーブルの故障診断結果のマスタ装置への送信を制御する制御部とを含む。 The network system according to one aspect of the present invention is a network system in which a master device and a plurality of slave devices are connected, and each of the plurality of slave devices is a first other device and a first device on the master device side. When a link down occurs between the first communication cable and the first other device, the first communication unit that performs failure diagnosis of the first communication cable and the master of the failure diagnosis result of the first communication cable. Includes a control unit that controls transmission to the device.

上記構成によれば、管理者が、産業用ネットワークシステム中の通信ケーブルの故障個所を容易に特定することができるようになる。したがって、通信ケーブルの保全作業を効率的に実行することを可能とさせるスレーブ装置を実現することができる。 According to the above configuration, the administrator can easily identify the faulty part of the communication cable in the industrial network system. Therefore, it is possible to realize a slave device that enables efficient execution of maintenance work of the communication cable.

本発明の一側面に係るネットワークシステムは、マスタ装置と、複数のスレーブ装置とが接続されるネットワークシステムであって、マスタ装置は、通信異常を検知した場合、複数のスレーブ装置に対してケーブル診断の実行指示を送信し、複数のスレーブ装置のそれぞれは、マスタ装置側の第1の他機と第1の通信ケーブルで接続され、ケーブル診断の実行指示を受信したときに、第1の通信ケーブルの故障診断を行う第1通信部と、第1の通信ケーブルの故障診断結果のマスタ装置への通知を制御する制御部とを含む。 The network system according to one aspect of the present invention is a network system in which a master device and a plurality of slave devices are connected, and when the master device detects a communication abnormality, the master device diagnoses cables for the plurality of slave devices. Each of the plurality of slave devices is connected to the first other device on the master device side by the first communication cable, and when the execution instruction of the cable diagnosis is received, the first communication cable is transmitted. It includes a first communication unit that performs failure diagnosis of the above, and a control unit that controls notification of the failure diagnosis result of the first communication cable to the master device.

上記構成によれば、管理者が、産業用ネットワークシステム中の通信ケーブルの故障個所を容易に特定することができるようになる。したがって、通信ケーブルの保全作業を効率的に実行することを可能とさせるネットワークシステムを実現することができる。 According to the above configuration, the administrator can easily identify the faulty part of the communication cable in the industrial network system. Therefore, it is possible to realize a network system that enables efficient execution of maintenance work of the communication cable.

本発明の一側面に係るスレーブ装置の制御方法は、スレーブ装置が、第1の通信ケーブルで接続される第1の他機との間でリンクダウンが発生したか否かを判定するステップと、第1の他機との間でリンクダウンが発生した場合、第1の通信ケーブルの故障診断を行うステップと、第1の通信ケーブルの故障診断結果を外部に報知するステップとを含む。 The method for controlling a slave device according to one aspect of the present invention includes a step of determining whether or not the slave device has a link down with a first other device connected by a first communication cable. When a link down occurs with the first other device, the step includes a step of performing a failure diagnosis of the first communication cable and a step of notifying the failure diagnosis result of the first communication cable to the outside.

上記構成によれば、管理者が、産業用ネットワークシステム中の通信ケーブルの故障個所を容易に特定することができるようになる。したがって、通信ケーブルの保全作業を効率的に実行することを可能とさせる制御装置を実現することができる。 According to the above configuration, the administrator can easily identify the faulty part of the communication cable in the industrial network system. Therefore, it is possible to realize a control device that enables efficient execution of maintenance work of the communication cable.

本発明の一側面に係る制御プログラムは、コンピュータにスレーブ装置の制御方法を実行させるためのコンピュータプログラムであって、第1の通信ケーブルで接続される第1の他機との間でリンクダウンが発生したか否かを判定するステップと、第1の他機との間でリンクダウンが発生した場合、第1の通信ケーブルの故障診断を行うステップと、第1の通信ケーブルの故障診断結果を外部に報知するステップとを含む。 The control program according to one aspect of the present invention is a computer program for causing a computer to execute a control method of a slave device, and links down with a first other device connected by a first communication cable. The step of determining whether or not it has occurred, the step of performing a failure diagnosis of the first communication cable when a link down occurs between the first other device, and the failure diagnosis result of the first communication cable are shown. Includes a step to notify the outside.

上記構成によれば、管理者が、産業用ネットワークシステム中の通信ケーブルの故障個所を容易に特定することができるようになる。したがって、通信ケーブルの保全作業を効率的に実行することを可能とさせる制御装置を実現することができる。 According to the above configuration, the administrator can easily identify the faulty part of the communication cable in the industrial network system. Therefore, it is possible to realize a control device that enables efficient execution of maintenance work of the communication cable.

本発明の一側面に係るスレーブ装置、本発明の一側面に係るネットワークシステム、本発明の一側面に係るスレーブ装置の制御方法、本発明の一側面に係る制御プログラムのいずれかによれば、管理者が、産業用ネットワークシステム中の通信ケーブルの故障個所を容易に特定することができるようになり、よって通信ケーブルの保全作業を効率的に実行することを可能とさせることができる。 Management according to any one of the slave device according to one aspect of the present invention, the network system according to one aspect of the present invention, the control method of the slave device according to one aspect of the present invention, and the control program according to one aspect of the present invention. It will be possible for a person to easily identify the faulty part of the communication cable in the industrial network system, and thus it will be possible to efficiently carry out the maintenance work of the communication cable.

本発明の実施形態1に係るスレーブ装置の機能的構成の概略を示すブロック図である。It is a block diagram which shows the outline of the functional structure of the slave apparatus which concerns on Embodiment 1 of this invention. 本発明の実施形態1に係るスレーブ装置を備えたネットワークシステムを示す概略構成図である。It is a schematic block diagram which shows the network system provided with the slave apparatus which concerns on Embodiment 1 of this invention. 本発明の実施形態1に係るスレーブ装置の機能的構成の詳細を示すブロック図である。It is a block diagram which shows the detail of the functional configuration of the slave apparatus which concerns on Embodiment 1 of this invention. PCの処理手順を説明するためのフローチャートである。It is a flowchart for demonstrating the processing procedure of PC. スレーブ装置の処理手順を説明するためのフローチャートである。It is a flowchart for demonstrating the processing procedure of a slave device. 本発明の実施形態2に係るネットワークシステムの処理手順を説明するためのフローチャートである。It is a flowchart for demonstrating the processing procedure of the network system which concerns on Embodiment 2 of this invention.

〔実施形態1〕
以下、本発明の一側面に係る実施の形態(以下、「本実施形態」とも表記する)が、図面に基づいて説明される。
[Embodiment 1]
Hereinafter, embodiments according to one aspect of the present invention (hereinafter, also referred to as “the present embodiment”) will be described with reference to the drawings.

§1 適用例
図1は、本発明の実施形態1に係るネットワークシステム1に含まれるスレーブ装置21cの機能的構成の概略を示すブロック図である。ネットワークシステム1は、HMI(Human Machine Interface)11と、マスタ装置20と、スレーブ装置21a~21dとを含む。なお、スレーブ装置21a~21dは、それぞれ同じ構成および機能を有している。
§1 Application example FIG. 1 is a block diagram showing an outline of a functional configuration of a slave device 21c included in the network system 1 according to the first embodiment of the present invention. The network system 1 includes an HMI (Human Machine Interface) 11, a master device 20, and slave devices 21a to 21d. The slave devices 21a to 21d each have the same configuration and function.

図1に示すように、マスタ装置20とスレーブ装置21aとが通信ケーブル30aによって接続される。同様に、スレーブ装置21aとスレーブ装置21bとが通信ケーブル30bによって接続され、スレーブ装置21bとスレーブ装置21cとが通信ケーブル30cによって接続される。さらに、スレーブ装置21cとスレーブ装置21dとが通信ケーブル30dによって接続される。スレーブ装置21a~21dは、デイジーチェーン接続によって接続される。 As shown in FIG. 1, the master device 20 and the slave device 21a are connected by a communication cable 30a. Similarly, the slave device 21a and the slave device 21b are connected by the communication cable 30b, and the slave device 21b and the slave device 21c are connected by the communication cable 30c. Further, the slave device 21c and the slave device 21d are connected by a communication cable 30d. The slave devices 21a to 21d are connected by a daisy chain connection.

スレーブ装置21cは、制御部210と、第1通信部220と、第2通信部230とを含む。第1通信部220は、マスタ装置20側のスレーブ装置(第1の他機)21bと通信ケーブル(第1の通信ケーブル)30cで接続されている。第1通信部220は、スレーブ装置21bとの間で通信の途絶(リンクダウン)が発生した場合、通信ケーブル30cの故障個所検知を含む故障診断を行う。 The slave device 21c includes a control unit 210, a first communication unit 220, and a second communication unit 230. The first communication unit 220 is connected to the slave device (first other device) 21b on the master device 20 side by a communication cable (first communication cable) 30c. When communication is interrupted (link down) with the slave device 21b, the first communication unit 220 performs a failure diagnosis including detection of a failure location of the communication cable 30c.

第2通信部230は、マスタ装置20と反対側のスレーブ装置(第2の他機)21dと通信ケーブル(第2の通信ケーブル)30dで接続されている。第2通信部230は、スレーブ装置21dとの間でリンクダウンが発生した場合、通信ケーブル30dの故障個所検知を含む故障診断を行う。 The second communication unit 230 is connected to the slave device (second other device) 21d on the opposite side of the master device 20 by a communication cable (second communication cable) 30d. When a link down occurs with the slave device 21d, the second communication unit 230 performs a failure diagnosis including detection of a failure location of the communication cable 30d.

制御部210は、第1通信部220および第2通信部230の制御を行っており、第1通信部220とスレーブ装置21bとの間でリンクダウンが発生した場合、第1通信部220から通信ケーブル30cの故障個所検知を含む故障診断結果を受ける。 The control unit 210 controls the first communication unit 220 and the second communication unit 230, and when a link down occurs between the first communication unit 220 and the slave device 21b, the first communication unit 220 communicates with each other. Receive the failure diagnosis result including the failure location detection of the cable 30c.

また、制御部210は、第2通信部230とスレーブ装置21dとの間でリンクダウンが発生した場合、第2通信部230から通信ケーブル30dの故障個所検知を含む故障診断結果を受ける。 Further, when a link down occurs between the second communication unit 230 and the slave device 21d, the control unit 210 receives a failure diagnosis result including detection of a failure location of the communication cable 30d from the second communication unit 230.

制御部210は、第1通信部220からの故障診断結果および/または第2通信部230からの故障診断結果を、第1通信部220を介してマスタ装置20に通知する。また、制御部210は、LED(Light Emitting Diode)等を発光させて外部(ネットワーク管理者)に報知するようにしてもよい。 The control unit 210 notifies the master device 20 of the failure diagnosis result from the first communication unit 220 and / or the failure diagnosis result from the second communication unit 230 via the first communication unit 220. Further, the control unit 210 may make an LED (Light Emitting Diode) or the like emit light to notify the outside (network administrator).

以上説明したように、本発明の実施形態1に係るスレーブ装置21cによれば、制御部210が、第1通信部220からの故障診断結果および/または第2通信部230からの故障診断結果をマスタ装置20等に通知するようにしたので、ユーザは、マスタ装置20等から故障診断結果を読み出すことにより、所要の通信ケーブルにおける故障個所を特定することができる。したがって、ネットワークシステムの管理者は、ネットワークシステム中に張り巡らされた通信ケーブルにおける故障個所を容易に特定することができる。したがって、ネットワークシステムの管理者が、フィールドネットワークにおけるケーブル故障の発生個所の除去と交換、ケーブル異常の頻発個所の特定と対策などの保全作業を効率的に実行することが可能となる。 As described above, according to the slave device 21c according to the first embodiment of the present invention, the control unit 210 obtains the failure diagnosis result from the first communication unit 220 and / or the failure diagnosis result from the second communication unit 230. Since the notification is given to the master device 20 and the like, the user can identify the failure location in the required communication cable by reading the failure diagnosis result from the master device 20 and the like. Therefore, the administrator of the network system can easily identify the faulty part in the communication cable stretched in the network system. Therefore, the administrator of the network system can efficiently perform maintenance work such as removal and replacement of the location where the cable failure occurs in the field network, identification of the location where the cable abnormality frequently occurs, and countermeasures.

§2 構成例
(ネットワークシステム1の全体概要)
図2は、実施形態1に係るスレーブ装置21a~21d、22a~22cおよび23a~23cを備えたネットワークシステム1を示す概略構成図である。ネットワークシステム1は、サーバ10と、HMI(端末装置)11と、マスタ装置20と、スレーブ装置21a~21d、22a~22cおよび23a~23cと、ハブ装置32aおよび32bと、ハブ装置33と、PC(Personal Computer)50~52とを含む。ネットワークシステム1には、具体例として、EtherCAT(登録商標)あるいはEthernet/IPが適用される(ETHERNET:登録商標)。
§2 Configuration example (Overview of network system 1)
FIG. 2 is a schematic configuration diagram showing a network system 1 including slave devices 21a to 21d, 22a to 22c, and 23a to 23c according to the first embodiment. The network system 1 includes a server 10, an HMI (terminal device) 11, a master device 20, slave devices 21a to 21d, 22a to 22c and 23a to 23c, hub devices 32a and 32b, a hub device 33, and a PC. (Personal Computer) 50-52 and the like. As a specific example, EtherCAT (registered trademark) or Ethernet / IP is applied to the network system 1 (ETHERNET: registered trademark).

サーバ10、HMI(端末装置)11およびPC50は、マスタ装置20と接続されており、これらの装置からマスタ装置20に指示を送信することにより、マスタ装置20を制御することが可能である。 The server 10, the HMI (terminal device) 11 and the PC 50 are connected to the master device 20, and the master device 20 can be controlled by transmitting an instruction from these devices to the master device 20.

マスタ装置20は、ハブ装置32aを介して、ハブ装置32bと、スレーブ装置21a~21dと、PC51とに接続される。また、ハブ装置32aは、ハブ装置32bを介して、スレーブ装置22a~22cと、ハブ装置33と、PC52とに接続される。また、ハブ装置33は、スレーブ装置23a~23cに接続される。 The master device 20 is connected to the hub device 32b, the slave devices 21a to 21d, and the PC 51 via the hub device 32a. Further, the hub device 32a is connected to the slave devices 22a to 22c, the hub device 33, and the PC 52 via the hub device 32b. Further, the hub device 33 is connected to the slave devices 23a to 23c.

ハブ装置33は、リング状に接続されたスレーブ装置23a~23cに対応しており、上流側の各機器との間の通信を制御する。図2に示すネットワークシステムの構成は一例であって、これに限定されるものではない。 The hub device 33 corresponds to the slave devices 23a to 23c connected in a ring shape, and controls communication with each device on the upstream side. The configuration of the network system shown in FIG. 2 is an example, and is not limited thereto.

(スレーブ装置の構成)
図3は、スレーブ装置21cの機能的構成の詳細を示すブロック図である。スレーブ装置21cは、制御部210と、第1通信部220と、第2通信部230とを含む。また、第1通信部220は、第1通信制御部221と、第1通信実行部222と、第1検知部223と、第1記録部224とを含む。
(Slave device configuration)
FIG. 3 is a block diagram showing details of the functional configuration of the slave device 21c. The slave device 21c includes a control unit 210, a first communication unit 220, and a second communication unit 230. Further, the first communication unit 220 includes a first communication control unit 221, a first communication execution unit 222, a first detection unit 223, and a first recording unit 224.

第1通信制御部221は、第1通信部220全体を統括し、第1通信部220による通信を制御する機能ブロックである。第1通信実行部222は、第1通信制御部221の指示に基づき、通信ケーブル30cを通じて他機21bとの通信パケットの交換を実行する機能ブロックである。 The first communication control unit 221 is a functional block that controls the entire first communication unit 220 and controls the communication by the first communication unit 220. The first communication execution unit 222 is a functional block that executes communication packet exchange with another device 21b through the communication cable 30c based on the instruction of the first communication control unit 221.

第1検知部223は、第1通信制御部221の指示に基づき、通信ケーブル30cの故障診断を実行する機能ブロックである。第1記録部224は、第1検知部223の取得した故障診断の結果を記録するレジスタである。故障診断では、少なくとも故障の有無と、故障があった場合に通信ケーブル30cにおける故障個所までの第1通信部220からの長さと相関する距離情報を検知する。 The first detection unit 223 is a functional block that executes a failure diagnosis of the communication cable 30c based on the instruction of the first communication control unit 221. The first recording unit 224 is a register that records the result of the failure diagnosis acquired by the first detection unit 223. In the failure diagnosis, at least the presence or absence of a failure and the distance information that correlates with the length from the first communication unit 220 to the failure point in the communication cable 30c when there is a failure are detected.

第1検知部223は、故障診断を実行する際に、接続された通信ケーブル30cに対して特定の信号波形を送出し、その反射信号を検出する。これにより第1検知部223は、故障個所までの通信ケーブル30cの長さと相関する距離情報を検知する。更に、通信ケーブル30cの状態、すなわち、正常、断線故障、またはショート故障のいずれにあるかを判断する故障判定を行ってもよい。第1検知部223は故障診断を実行すると、第1記録部224にその結果を記録する。 When executing the failure diagnosis, the first detection unit 223 sends out a specific signal waveform to the connected communication cable 30c and detects the reflected signal. As a result, the first detection unit 223 detects the distance information that correlates with the length of the communication cable 30c to the failure point. Further, a failure determination may be performed to determine the state of the communication cable 30c, that is, whether it is normal, disconnection failure, or short-circuit failure. When the first detection unit 223 executes the failure diagnosis, the result is recorded in the first recording unit 224.

第2通信部230は、第2通信制御部231と、第2通信実行部232と、第2検知部233と、第2記録部234とを含む。第2通信制御部231は、第2通信部230全体を統括し、第2通信部230による通信を制御する機能ブロックである。第2通信実行部232は、第2通信制御部231の指示に基づき、通信ケーブル30dを通じて他機21dとの通信パケットの交換を実行する機能ブロックである。 The second communication unit 230 includes a second communication control unit 231, a second communication execution unit 232, a second detection unit 233, and a second recording unit 234. The second communication control unit 231 is a functional block that controls the entire second communication unit 230 and controls the communication by the second communication unit 230. The second communication execution unit 232 is a functional block that executes communication packet exchange with another device 21d through the communication cable 30d based on the instruction of the second communication control unit 231.

第2検知部233は、第2通信制御部231の指示に基づき、通信ケーブル30dの故障診断を実行する機能ブロックである。第2記録部234は、第2検知部233の取得した故障診断の結果を記録するレジスタである。故障診断では、少なくとも、通信ケーブル30dにおける故障個所までの第2通信部230からの長さと相関する距離情報を検知する。 The second detection unit 233 is a functional block that executes a failure diagnosis of the communication cable 30d based on the instruction of the second communication control unit 231. The second recording unit 234 is a register that records the result of the failure diagnosis acquired by the second detection unit 233. In the failure diagnosis, at least the distance information that correlates with the length from the second communication unit 230 to the failure point in the communication cable 30d is detected.

第2検知部233は、故障診断を実行する際に、接続された通信ケーブル30dに対して特定の信号波形を送出し、その反射信号を検出する。これにより第2検知部233は、故障個所までの通信ケーブル30dの長さと相関する距離情報を検知する。更に、通信ケーブル30dの状態、すなわち、正常、断線故障、またはショート故障のいずれにあるかを判断する故障判定を行ってもよい。第2検知部233は故障診断を実行すると、第2記録部234に結果を記録する。 When executing the failure diagnosis, the second detection unit 233 sends out a specific signal waveform to the connected communication cable 30d and detects the reflected signal. As a result, the second detection unit 233 detects the distance information that correlates with the length of the communication cable 30d to the failure point. Further, a failure determination may be performed to determine the state of the communication cable 30d, that is, whether it is normal, disconnection failure, or short-circuit failure. When the second detection unit 233 executes the failure diagnosis, the second detection unit 233 records the result in the second recording unit 234.

§3 動作例
図4は、PC50の処理手順を説明するためのフローチャートである。なお、PC50によってこの処理が行われる場合を説明するが、この処理は、サーバ10、HMI(端末装置)11またはPC51のいずれによって行われても構わない。
§3 Operation example FIG. 4 is a flowchart for explaining the processing procedure of the PC 50. Although the case where this process is performed by the PC 50 will be described, the process may be performed by any of the server 10, the HMI (terminal device) 11 or the PC 51.

まず、PC50は、ネットワークシステム1に接続されるスレーブ装置21a~21d、22a~22cおよび23a~23cのそれぞれに、自動診断を実行するポート番号を設定する(S1)。例えば、スレーブ装置21cは、上流側(マスタ装置20側)にスレーブ装置21bが接続され、下流側(マスタ装置20と反対側)にスレーブ装置21dが接続されている。それぞれの通信ポートが“1”および“2”であれば、PC50は、スレーブ装置21cに対してポート番号1およびポート番号2を設定する。例えば、PC50は、自動診断を実行するポート番号1およびポート番号2をスレーブ装置21cに送信し、スレーブ装置21cは、その診断を実行するポート番号を記憶する。他のスレーブ装置についても同様に、自動診断を実行するポート番号が設定される。 First, the PC 50 sets a port number for executing automatic diagnosis in each of the slave devices 21a to 21d, 22a to 22c, and 23a to 23c connected to the network system 1 (S1). For example, in the slave device 21c, the slave device 21b is connected to the upstream side (master device 20 side), and the slave device 21d is connected to the downstream side (opposite side to the master device 20). If the respective communication ports are "1" and "2", the PC 50 sets the port number 1 and the port number 2 for the slave device 21c. For example, the PC 50 transmits the port number 1 and the port number 2 for executing the automatic diagnosis to the slave device 21c, and the slave device 21c stores the port number for executing the diagnosis. Similarly, the port number for executing the automatic diagnosis is set for the other slave devices.

最後に、PC50は、スレーブ装置の電源投入後、各スレーブ装置に対して、自動診断を実行するまでの所定時間を設定する(S2)。この所定時間は、例えば、スレーブ装置の電源が投入された後、初期化を行って通信が可能となるまでの時間である。PC50は、スレーブ装置21a~21d、22a~22cおよび23a~23cのそれぞれに、自動診断を実行するまでの所定時間を送信する。スレーブ装置21a~21d、22a~22cおよび23a~23cのそれぞれは、受信した自動診断を実行するまでの所定時間を記憶する。 Finally, the PC 50 sets a predetermined time for each slave device after the power of the slave device is turned on until the automatic diagnosis is executed (S2). This predetermined time is, for example, the time from when the power of the slave device is turned on until the initialization is performed and communication becomes possible. The PC 50 transmits to each of the slave devices 21a to 21d, 22a to 22c, and 23a to 23c a predetermined time until the automatic diagnosis is executed. Each of the slave devices 21a to 21d, 22a to 22c, and 23a to 23c stores a predetermined time until the received automatic diagnosis is executed.

図5は、スレーブ装置21cの処理手順を説明するためのフローチャートである。まず、スレーブ装置21cの電源が投入されると(S11)、マスタ装置20との通信を実施する(S12)。そして、制御部210は、電源投入後所定時間が経過したか否かを判定する(S13)。この所定時間は、上述のように、PC50によって予め設定された時間である。 FIG. 5 is a flowchart for explaining the processing procedure of the slave device 21c. First, when the power of the slave device 21c is turned on (S11), communication with the master device 20 is performed (S12). Then, the control unit 210 determines whether or not a predetermined time has elapsed after the power is turned on (S13). This predetermined time is a time preset by the PC 50 as described above.

電源投入後所定時間が経過していなければ(S13,No)、ステップS12の処理を繰り返す。また、電源投入後所定時間が経過していれば(S13,Yes)、制御部210は、ポート1またはポート2がリンクダウンしているか否かを判定する(S14)。なお、制御部210は、PC50によって自動診断を実行するポートとして設定されたポート番号のリンクダウンを判定する。 If the predetermined time has not elapsed since the power was turned on (S13, No), the process of step S12 is repeated. Further, if a predetermined time has elapsed after the power is turned on (S13, Yes), the control unit 210 determines whether or not the port 1 or the port 2 is linked down (S14). The control unit 210 determines the link down of the port number set as the port for executing the automatic diagnosis by the PC 50.

ポート1およびポート2のいずれもリンクダウンしていなければ(S14,No)、処理を終了する。また、ポート1またはポート2がリンクダウンしていれば(S14,Yes)、リンクダウンしているポートの通信ケーブルの診断を実行する(S15)。 If neither port 1 nor port 2 is linked down (S14, No), the process ends. If port 1 or port 2 is linked down (S14, Yes), the communication cable of the linked port is diagnosed (S15).

そして、制御部210は、ユーザ(ネットワーク管理者)に対して通信ケーブルの診断結果を通知し(S16)、処理を終了する。制御部210は、第1通信部220または第2通信部230を介して、サーバ10、HMI11、マスタ装置20、PC50または51に通信ケーブルの診断結果を送信し、これらの機器が診断結果を表示することによりユーザに提示してもよい。また、制御部210が、スレーブ装置21cに設けられたLED等を発光させることによって、ユーザに報知するようにしてもよい。また、制御部210が、ケーブルの診断結果を第1記録部224および第2記録部234に記憶しておき、マスタ装置20が、それらの情報を読み出すようにしてもよい。 Then, the control unit 210 notifies the user (network administrator) of the diagnosis result of the communication cable (S16), and ends the process. The control unit 210 transmits the diagnosis result of the communication cable to the server 10, the HMI 11, the master device 20, the PC 50 or 51 via the first communication unit 220 or the second communication unit 230, and these devices display the diagnosis result. It may be presented to the user by doing so. Further, the control unit 210 may notify the user by causing the LED or the like provided in the slave device 21c to emit light. Further, the control unit 210 may store the diagnosis result of the cable in the first recording unit 224 and the second recording unit 234, and the master device 20 may read out the information.

なお、スレーブ装置21cのポート1およびポート2の両方がリンクダウンしている場合には、マスタ装置20との通信は実施できない。 If both port 1 and port 2 of the slave device 21c are linked down, communication with the master device 20 cannot be performed.

§4 作用、効果
本発明の実施形態1によれば、スレーブ装置21cは、電源投入から所定時間経過後にポート1またはポート2がリンクダウンしている場合、そのポートに接続される通信ケーブルの自動診断を行い、自動診断結果をユーザに通知するようにした。したがって、ネットワーク管理者は、各スレーブ装置に接続される通信ケーブルの異常を容易に認識することが可能となる。
§4 Action, Effect According to the first embodiment of the present invention, when the port 1 or the port 2 is linked down after a predetermined time has elapsed from the power-on, the slave device 21c automatically connects the communication cable to the port. Diagnosis is performed and the automatic diagnosis result is notified to the user. Therefore, the network administrator can easily recognize the abnormality of the communication cable connected to each slave device.

また、異常が発生した通信ケーブルの故障個所が、スレーブ装置21cからの距離として示されるため、容易にケーブル異常の発生個所を知ることができる。産業用ネットワークにおいて機器間を接続する通信ケーブルの長さは、時として100m程度にも及ぶことがあるが、このような場合に故障の生じた通信ケーブル全体を交換することは不経済である。そのため例えば20mの通信ケーブルをコネクタで接続してより長い一本の通信ケーブルとして用いることが行われる。このような場合に、実施形態1に係るスレーブ装置によれば、異常の発生個所が特定されるから、故障箇所を含む例えば20m分の通信ケーブルのみ交換すればよく、ネットワークシステム1のメンテナンスが経済的に行える。 Further, since the faulty part of the communication cable in which the abnormality has occurred is shown as the distance from the slave device 21c, the faulty part of the cable abnormality can be easily known. In an industrial network, the length of a communication cable connecting devices is sometimes as long as 100 m, but in such a case, it is uneconomical to replace the entire communication cable in which a failure occurs. Therefore, for example, a 20 m communication cable is connected with a connector and used as a longer communication cable. In such a case, according to the slave device according to the first embodiment, since the location where the abnormality occurs is specified, it is only necessary to replace the communication cable for, for example, 20 m including the faulty portion, and the maintenance of the network system 1 is economical. Can be done.

更に、故障個所が一意に特定されるから、工場内のどの場所において通信ケーブルの故障が発生したのかを、管理者は容易に知ることができる。通信ケーブルにダメージを及ぼす怖れのある状態は、工場内においては例えば次のように多様に発生し得る。通信ケーブルがロボットアームや移動ステージなどの可動部分に沿って設けられ、運動によってストレスが生じること。振動や圧迫を受ける箇所に設置されること。温度変化にさらされる箇所に設置されること。火花や高温あるいは低温にさらされること。薬品やガス等の化学物質にさらされること。 Furthermore, since the location of the failure is uniquely identified, the administrator can easily know where in the factory the communication cable has failed. There are various situations in the factory where there is a risk of damaging the communication cable, for example, as follows. Communication cables are provided along moving parts such as robot arms and moving stages, and exercise causes stress. It should be installed in a place subject to vibration or pressure. It should be installed in a place exposed to temperature changes. Exposure to sparks and high or low temperatures. Exposure to chemicals such as chemicals and gases.

通信ケーブルの特定の位置において故障が発生したことが判明すれば、工場内におけるこれらケーブル異常を引き起こす要因のいずれが実際に故障を発生させたのかを、管理者は現場にて容易に調べることができる。よって、次に同様の故障を発生させないように対策を取ることが容易となる。 If it is found that a failure has occurred at a specific position on the communication cable, the administrator can easily find out which of these factors causing the cable abnormality in the factory actually caused the failure. can. Therefore, it becomes easy to take measures so as not to cause the same failure next time.

従ってネットワークシステムの管理者が、フィールドネットワークにおけるケーブル異常の発生個所の除去と交換、ケーブル異常の発生しやすい個所の特定と対策などの保全作業を効率的に実行することが可能となる。 Therefore, the administrator of the network system can efficiently carry out maintenance work such as removal and replacement of the location where the cable abnormality occurs in the field network, identification of the location where the cable abnormality is likely to occur, and countermeasures.

また、実施形態1によれば、スレーブ装置21cは、電源投入から所定時間経過した後に、自動的にケーブル診断を実施し、その結果を通知する。したがって、ネットワークシステム1のどの箇所で故障が生じているかを直ちに知ることができるから、迅速な修理の対応を実行することが可能となる。 Further, according to the first embodiment, the slave device 21c automatically performs the cable diagnosis after a predetermined time has elapsed from the power-on, and notifies the result. Therefore, since it is possible to immediately know where in the network system 1 the failure has occurred, it is possible to carry out prompt repair measures.

〔実施形態2〕
本発明の実施形態2に係るネットワークシステムが、以下に説明される。なお、説明の便宜上、上記実施形態1において説明した構成要素と同じ機能を有する構成要素については、同じ符号を付記し、その説明を繰り返さない。
[Embodiment 2]
The network system according to the second embodiment of the present invention will be described below. For convenience of explanation, the same reference numerals are added to the components having the same functions as the components described in the first embodiment, and the description thereof will not be repeated.

図6は、本発明の実施形態2に係るネットワークシステムの処理手順を説明するためのフローチャートである。まず、マスタ装置20およびスレーブ装置21cの電源が投入されると(S21)、マスタ装置20は、ネットワークシステム1において通信異常が発生しているか否かを判定する(S22)。例えば、マスタ装置20は、スレーブ装置21a~21d、22a~22cおよび23a~23cに順次通信を行い、応答がないスレーブ装置があれば、通信異常が発生していると判定する。 FIG. 6 is a flowchart for explaining a processing procedure of the network system according to the second embodiment of the present invention. First, when the power of the master device 20 and the slave device 21c is turned on (S21), the master device 20 determines whether or not a communication abnormality has occurred in the network system 1 (S22). For example, the master device 20 sequentially communicates with the slave devices 21a to 21d, 22a to 22c, and 23a to 23c, and if there is a slave device that does not respond, it is determined that a communication abnormality has occurred.

通信異常が発生していなければ(S22,No)、ステップS22の処理を繰り返す。また、通信異常が発生していれば(S22,Yes)、マスタ装置20は、各スレーブ装置に対して、通信ケーブルの診断実行を指示する(S23)。 If no communication error has occurred (S22, No), the process of step S22 is repeated. If a communication error has occurred (S22, Yes), the master device 20 instructs each slave device to execute the diagnosis of the communication cable (S23).

スレーブ装置21a~21d、22a~22cおよび23a~23cのそれぞれは、マスタ装置20から通信ケーブルの診断実行の指示を受信すると、通信ケーブルの診断を実行する(S24)。 Each of the slave devices 21a to 21d, 22a to 22c, and 23a to 23c executes the diagnosis of the communication cable when receiving the instruction of executing the diagnosis of the communication cable from the master device 20 (S24).

そして、制御部210は、ユーザ(ネットワーク管理者)に対して通信ケーブルの診断結果を通知して(S25)、処理を終了する。制御部210は、第1通信部220または第2通信部230を介して、サーバ10、HMI11、マスタ装置20、PC50または51に通信ケーブルの診断結果を送信し、これらの機器が診断結果を表示することによりユーザに提示してもよい。また、制御部210が、スレーブ装置21cに設けられたLED等を発光させることによって、ユーザに報知するようにしてもよい。また、制御部210が、ケーブルの診断結果を第1記録部224および第2記録部234に記憶しておき、マスタ装置20が、それらの情報を読み出すようにしてもよい。 Then, the control unit 210 notifies the user (network administrator) of the diagnosis result of the communication cable (S25), and ends the process. The control unit 210 transmits the diagnosis result of the communication cable to the server 10, the HMI 11, the master device 20, the PC 50 or 51 via the first communication unit 220 or the second communication unit 230, and these devices display the diagnosis result. It may be presented to the user by doing so. Further, the control unit 210 may notify the user by causing the LED or the like provided in the slave device 21c to emit light. Further, the control unit 210 may store the diagnosis result of the cable in the first recording unit 224 and the second recording unit 234, and the master device 20 may read out the information.

以上説明したように、本発明の実施形態2に係るネットワークシステムによれば、PC50が、通信異常を検知した場合、スレーブ装置21a~21d、22a~22cおよび23a~23cのそれぞれに、通信ケーブルの診断実行を指示する。そして、スレーブ装置21a~21d、22a~22cおよび23a~23cのそれぞれが、ネットワーク管理者に対して通信ケーブルの診断結果を通知するようにした。したがって、ネットワーク管理者は、各スレーブ装置に接続される通信ケーブルの異常を容易に認識することが可能となる。 As described above, according to the network system according to the second embodiment of the present invention, when the PC 50 detects a communication abnormality, the slave devices 21a to 21d, 22a to 22c, and 23a to 23c are connected to each of the communication cables. Instruct to execute the diagnosis. Then, each of the slave devices 21a to 21d, 22a to 22c, and 23a to 23c notifies the network administrator of the diagnosis result of the communication cable. Therefore, the network administrator can easily recognize the abnormality of the communication cable connected to each slave device.

〔ソフトウェアによる実現例〕
スレーブ装置21cの機能ブロック(特に、制御部210)は、集積回路(ICチップ)等に形成された論理回路(ハードウェア)によって実現してもよいし、ソフトウェアによって実現してもよい。
[Example of implementation by software]
The functional block (particularly, the control unit 210) of the slave device 21c may be realized by a logic circuit (hardware) formed in an integrated circuit (IC chip) or the like, or may be realized by software.

後者の場合、制御装置は、各機能を実現するソフトウェアであるプログラムの命令を実行するコンピュータを備えている。このコンピュータは、例えば1つ以上のプロセッサを備えていると共に、上記プログラムを記憶したコンピュータ読み取り可能な記録媒体を備えている。そして、上記コンピュータにおいて、上記プロセッサが上記プログラムを上記記録媒体から読み取って実行することにより、本発明の目的が達成される。 In the latter case, the control device includes a computer that executes instructions of a program that is software that realizes each function. The computer includes, for example, one or more processors and a computer-readable recording medium that stores the program. Then, in the computer, the processor reads the program from the recording medium and executes the program, thereby achieving the object of the present invention.

上記プロセッサとしては、例えばCPU(Central Processing Unit)を用いることができる。上記記録媒体としては、「一時的でない有形の媒体」、例えば、ROM(Read Only Memory)等の他、テープ、ディスク、カード、半導体メモリ、プログラマブルな論理回路などを用いることができる。また、上記プログラムを展開するRAM(Random Access Memory)などを更に備えていてもよい。また、上記プログラムは、該プログラムを伝送可能な任意の伝送媒体(通信ネットワークや放送波等)を介して上記コンピュータに供給されてもよい。なお、本発明の一態様は、上記プログラムが電子的な伝送によって具現化された、搬送波に埋め込まれたデータ信号の形態でも実現され得る。 As the processor, for example, a CPU (Central Processing Unit) can be used. As the recording medium, a "non-temporary tangible medium", for example, a ROM (Read Only Memory) or the like, a tape, a disk, a card, a semiconductor memory, a programmable logic circuit, or the like can be used. Further, a RAM (Random Access Memory) for expanding the above program may be further provided. Further, the program may be supplied to the computer via any transmission medium (communication network, broadcast wave, etc.) capable of transmitting the program. It should be noted that one aspect of the present invention can also be realized in the form of a data signal embedded in a carrier wave, in which the above program is embodied by electronic transmission.

本発明は上述した各実施形態、実施例に限定されるものではなく、請求項に示した範囲で種々の変更が可能であり、異なる実施形態、実施例にそれぞれ開示された技術的手段を適宜組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。 The present invention is not limited to the above-described embodiments and examples, and various modifications can be made within the scope of the claims, and the technical means disclosed in the different embodiments and examples can be appropriately used. The embodiments obtained in combination are also included in the technical scope of the present invention.

1 ネットワークシステム
10 サーバ
11 HMI
20 マスタ装置
21a~21d、22a~22c、23a~23c スレーブ装置
30a、30b、30c、30d、30e 通信ケーブル
32a、32b,33 ハブ装置
210 制御部
220 第1通信部
221 第1通信制御部
222 第1通信実行部
223 第1検知部
224 第1記録部
230 第2通信部
231 第2通信制御部
232 第2通信実行部
233 第2検知部
234 第2記録部
1 network system 10 server 11 HMI
20 Master device 21a to 21d, 22a to 22c, 23a to 23c Slave device 30a, 30b, 30c, 30d, 30e Communication cable 32a, 32b, 33 Hub device 210 Control unit 220 1st communication unit 221 1st communication control unit 222 1 Communication execution unit 223 1st detection unit 224 1st recording unit 230 2nd communication unit 231 2nd communication control unit 232 2nd communication execution unit 233 2nd detection unit 234 2nd recording unit

Claims (12)

第1の他機と第1の通信ケーブルで接続され、前記第1の他機との間でリンクダウンが発生した場合、前記第1の通信ケーブルの故障診断を行う第1通信部と、
前記第1の通信ケーブルの故障診断結果の外部への報知を制御する制御部とを備えるスレーブ装置。
When the first other device is connected to the first communication cable and a link down occurs between the first communication cable, the first communication unit that diagnoses the failure of the first communication cable and the first communication unit.
A slave device including a control unit that controls external notification of the failure diagnosis result of the first communication cable.
前記スレーブ装置はさらに、第2の他機と第2の通信ケーブルで接続され、前記第2の他機との間でリンクダウンが発生した場合、前記第2の通信ケーブルの故障診断を行う第2通信部を備え、
前記制御部は、前記第1の通信ケーブルの故障診断結果または前記第2の通信ケーブルの故障診断結果の外部への報知を制御する、請求項1に記載のスレーブ装置。
The slave device is further connected to the second other device by a second communication cable, and when a link down occurs between the second other device, a failure diagnosis of the second communication cable is performed. Equipped with 2 communication units
The slave device according to claim 1, wherein the control unit controls the notification of the failure diagnosis result of the first communication cable or the failure diagnosis result of the second communication cable to the outside.
前記第1通信部は、前記スレーブ装置の電源投入から予め設定された所定時間経過後に、前記第1の他機との間でリンクダウンが発生しているか否かを判定する、請求項2に記載のスレーブ装置。 According to claim 2, the first communication unit determines whether or not a link down has occurred with the first other device after a predetermined time has elapsed from the power-on of the slave device. The slave device described. 前記第1通信部は、前記第1の通信ケーブルの故障診断結果から、前記スレーブ装置から故障個所までの前記第1の通信ケーブルの長さを算出する、請求項2または3に記載のスレーブ装置。 The slave device according to claim 2 or 3, wherein the first communication unit calculates the length of the first communication cable from the slave device to the failure point from the failure diagnosis result of the first communication cable. .. 前記第2通信部は、前記スレーブ装置の電源投入から予め設定された所定時間経過後に、前記第2の他機との間でリンクダウンが発生しているか否かを判定する、請求項2~4のいずれか1項に記載のスレーブ装置。 2. 4. The slave device according to any one of 4. 前記第2通信部は、前記第2の通信ケーブルの故障診断結果から、前記スレーブ装置から故障個所までの前記第2の通信ケーブルの長さを算出する、請求項2~5のいずれか1項に記載のスレーブ装置。 The second communication unit calculates the length of the second communication cable from the slave device to the failure point from the failure diagnosis result of the second communication cable, according to any one of claims 2 to 5. The slave device described in. 前記制御部は、前記第1通信部または前記第2通信部を介して、前記第1の通信ケーブルの故障診断結果または前記第2の通信ケーブルの故障診断結果をマスタ装置または外部機器に通知する、請求項2~6のいずれか1項に記載のスレーブ装置。 The control unit notifies the master device or an external device of the failure diagnosis result of the first communication cable or the failure diagnosis result of the second communication cable via the first communication unit or the second communication unit. , The slave device according to any one of claims 2 to 6. 前記第1の他機は、マスタ装置側に配置され、
前記第2の他機は、マスタ装置と反対側に配置される、請求項2~7のいずれか1項に記載のスレーブ装置。
The first other machine is arranged on the master device side.
The slave device according to any one of claims 2 to 7, wherein the second other machine is arranged on the opposite side of the master device.
マスタ装置と、複数のスレーブ装置とが接続されるネットワークシステムであって、
前記複数のスレーブ装置のそれぞれは、前記マスタ装置側の第1の他機と第1の通信ケーブルで接続され、前記第1の他機との間でリンクダウンが発生した場合、前記第1の通信ケーブルの故障診断を行う第1通信部と、
前記第1の通信ケーブルの故障診断結果の前記マスタ装置への送信を制御する制御部とを含む、ネットワークシステム。
A network system in which a master device and multiple slave devices are connected.
Each of the plurality of slave devices is connected to the first other device on the master device side by a first communication cable, and when a link down occurs between the first other device, the first device is used. The first communication unit that diagnoses the failure of the communication cable and
A network system including a control unit that controls transmission of a failure diagnosis result of the first communication cable to the master device.
マスタ装置と、複数のスレーブ装置とが接続されるネットワークシステムであって、
前記マスタ装置は、通信異常を検知した場合、前記複数のスレーブ装置に対してケーブル診断の実行指示を送信し、
前記複数のスレーブ装置のそれぞれは、前記マスタ装置側の第1の他機と第1の通信ケーブルで接続され、前記ケーブル診断の実行指示を受信したときに、前記第1の通信ケーブルの故障診断を行う第1通信部と、
前記第1の通信ケーブルの故障診断結果の前記マスタ装置への通知を制御する制御部とを含む、ネットワークシステム。
A network system in which a master device and multiple slave devices are connected.
When the master device detects a communication abnormality, it sends a cable diagnosis execution instruction to the plurality of slave devices.
Each of the plurality of slave devices is connected to the first other device on the master device side by the first communication cable, and when the execution instruction of the cable diagnosis is received, the failure diagnosis of the first communication cable is performed. With the first communication unit that performs
A network system including a control unit that controls notification of a failure diagnosis result of the first communication cable to the master device.
スレーブ装置が、第1の通信ケーブルで接続される第1の他機との間でリンクダウンが発生したか否かを判定するステップと、
前記第1の他機との間でリンクダウンが発生した場合、前記第1の通信ケーブルの故障診断を行うステップと、
前記第1の通信ケーブルの故障診断結果を外部に報知するステップとを含む、スレーブ装置の制御方法。
The step of determining whether or not the slave device has a link down with the first other device connected by the first communication cable, and
When a link down occurs with the first other device, the step of performing a failure diagnosis of the first communication cable and the step of performing the failure diagnosis,
A method for controlling a slave device, which comprises a step of notifying the outside of a failure diagnosis result of the first communication cable.
コンピュータにスレーブ装置の制御方法を実行させるためのコンピュータプログラムであって、
第1の通信ケーブルで接続される第1の他機との間でリンクダウンが発生したか否かを判定するステップと、
前記第1の他機との間でリンクダウンが発生した場合、前記第1の通信ケーブルの故障診断を行うステップと、
前記第1の通信ケーブルの故障診断結果を外部に報知するステップとを含む、コンピュータプログラム。
A computer program that causes a computer to execute a control method for a slave device.
A step of determining whether or not a link down has occurred with the first other device connected by the first communication cable, and
When a link down occurs with the first other device, the step of performing a failure diagnosis of the first communication cable and the step of performing the failure diagnosis,
A computer program including a step of notifying the outside of the failure diagnosis result of the first communication cable.
JP2020193747A 2020-11-20 2020-11-20 Slave device, network system, slave device control method and control program Pending JP2022082276A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2020193747A JP2022082276A (en) 2020-11-20 2020-11-20 Slave device, network system, slave device control method and control program
PCT/JP2021/008339 WO2022107347A1 (en) 2020-11-20 2021-03-04 Slave device, network system, method and program for controlling slave device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020193747A JP2022082276A (en) 2020-11-20 2020-11-20 Slave device, network system, slave device control method and control program

Publications (1)

Publication Number Publication Date
JP2022082276A true JP2022082276A (en) 2022-06-01

Family

ID=81708675

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020193747A Pending JP2022082276A (en) 2020-11-20 2020-11-20 Slave device, network system, slave device control method and control program

Country Status (2)

Country Link
JP (1) JP2022082276A (en)
WO (1) WO2022107347A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024201783A1 (en) * 2023-03-29 2024-10-03 株式会社日立ハイテク Manufacturing device and operation method for same

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4549926B2 (en) * 2005-05-20 2010-09-22 三菱電機株式会社 Programmable control device
JP6024604B2 (en) * 2013-06-19 2016-11-16 株式会社デンソー Communication device
JP6375144B2 (en) * 2014-05-15 2018-08-15 西部電機株式会社 Control system, failure diagnosis method and program
JP2016213694A (en) * 2015-05-11 2016-12-15 住友電気工業株式会社 Communication apparatus, communication network, and communication network failure diagnosis method
JP6992346B2 (en) * 2017-09-14 2022-01-13 富士電機株式会社 Network system
JP7172853B2 (en) * 2019-05-22 2022-11-16 オムロン株式会社 CONTROL DEVICE, NETWORK SYSTEM, NETWORK SYSTEM CONTROL METHOD AND CONTROL PROGRAM

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024201783A1 (en) * 2023-03-29 2024-10-03 株式会社日立ハイテク Manufacturing device and operation method for same

Also Published As

Publication number Publication date
WO2022107347A1 (en) 2022-05-27

Similar Documents

Publication Publication Date Title
US7783814B2 (en) Safety module and automation system
WO2020235181A1 (en) Control device, network system, and network system control method and control program
US12111367B2 (en) Cable abnormality assessment system, slave device, and cable abnormality assessment method
US7246270B2 (en) Programmable controller with CPU and communication units and method of controlling same
TW201118596A (en) Server management system
CN106445055A (en) Power supply protection mechanism of Rack server
WO2022107347A1 (en) Slave device, network system, method and program for controlling slave device
CN108983695A (en) A kind of master-slave switching method and device based on Complex Programmable Logic Devices
JP2008152543A (en) Diagnostic method and system for external signal input and output unit
JP2013126128A (en) Connection monitoring device and connection monitoring method
US20220214954A1 (en) Electronic device for use in an automation system, and an automation system
KR101295964B1 (en) Plc system and method for operating the same
JP7631925B2 (en) COMMUNICATION TERMINAL, CONTROL PROGRAM, AND CONTROL METHOD FOR COMMUNICATION TERMINAL
CN117215261A (en) Apparatus and method for non-destructive replacement of a single I/O component
JP2008225949A (en) Multi-axis control system and instant reset monitoring method
JP6320128B2 (en) Sensor wiring confirmation system and method
JP7608880B2 (en) Network equipment and network systems
JP7604953B2 (en) Network equipment and network systems
CN110050443A (en) To operation system of substrate
CN117811958A (en) Health monitoring system and health monitoring method based on broadband field bus
JP2022109780A (en) Communication unit, network system, control method and control program for output unit
JPH0447406A (en) Communication equipment for programmable controller
JP6238919B2 (en) Supervisory control system
JP2022025808A (en) Monitoring system
CN114137871A (en) Bus control device and configuration method thereof, and building control system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230907

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240507

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240704

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240827

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20241002

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20250107