Patent ID: 9680691
Date: 2017-06-13
CPC Classifications: G05B,H04L,Y02P

Claim:
1. A connection abnormality detection method in a network system comprising a master device and a plurality of slave devices and having a configuration that data is transmitted from the master device, is sequentially passed from an upmost stream-side slave device to a downmost stream-side slave device, and then is returned to the master device, and each slave device has a plurality of ports including an upstream-side port for connection to an upstream-side device and at least one downstream-side port for connection to a downstream-side device, the connection abnormality detection method comprising: acquiring, by the master device, topology information indicating a topology of the network system, the topology information containing a position address of each slave device, defined on the basis of an order of connection of each slave device and a type of each port used for connection between the slave devices, the type of each port including at least an input port and an output port, wherein the position address is allocated to each slave device based on an order that the slave device receives a signal output from the master device via the input port of the slave device; switching, by the master device, between closing and opening of each port of each slave device, such that the downmost stream-side slave device is defined as a target slave device to be inspected and a serial topology is formed from the master device to the target slave device, on the basis of the topology information; transmitting, by the master device, inspection data after the switching, and receiving returned inspection data, the inspection data including a value counting a number of slave devices in the serial topology formed in the switching; increasing, by each slave device in the serial topology formed in the switching, the value in the inspection data, when each slave device receives the inspection data; and detecting, by the master device, a connection abnormality of the target slave device on the basis of a status of return of the inspection data, wherein the master device determines, in the detecting the connection abnormality, that the connection abnormality corresponding to erroneous selection of one of the input port and the output port of the target slave device occurs, when an expected value of the number of devices including the target slave device is different from the counted value of the number of slave devices in the returned inspection data, the expected value being obtained based on the position address.