CN111034126A - Station number setting device for network device - Google Patents
Station number setting device for network device Download PDFInfo
- Publication number
- CN111034126A CN111034126A CN201780094242.3A CN201780094242A CN111034126A CN 111034126 A CN111034126 A CN 111034126A CN 201780094242 A CN201780094242 A CN 201780094242A CN 111034126 A CN111034126 A CN 111034126A
- Authority
- CN
- China
- Prior art keywords
- information
- network
- station number
- configuration
- unit
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/05—Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
Landscapes
- Engineering & Computer Science (AREA)
- Small-Scale Networks (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
Abstract
The station number is automatically set in a matching network device by comparing device unique information preset in the network device, connection relationship information indicating a connection position between devices, and the station number with current device unique information and connection relationship information collected from the network device. According to the present invention, since the station number of a network device is specified using connection relationship information when the station number is set, matching of connection relationships between network devices can be confirmed by the connection relationship information, and thus a station number matching an assumed connection relationship between network devices can be set.
Description
Technical Field
The present invention relates to a station number setting device that sets a station number of a device connected to a network.
Background
For example, in a network system including a plurality of devices connected via a network, such as an FA system including a master device and a slave device, when transmitting and receiving information between the devices, the device serving as a transmission source first forms a frame storing information to be transmitted and transmits the frame to the network, and the device receiving the information receives the frame propagating through the network. In a case where a plurality of slave devices are connected to one master device via a network as in the FA system and it is required to transmit and receive information in a short update cycle, in order to efficiently exchange information in the exchange of 1 frame, data targeted for the plurality of slave devices may be included in one frame transmitted from the master device. In this way, when data targeted to a plurality of devices is included in 1 frame, the number assigned to each device (hereinafter referred to as a station number) is associated with the storage order of the data in the frame, and each slave device selects data stored at a position corresponding to the station number assigned to its own station from the frame, thereby making it possible to acquire information targeted to its own station.
In this case, it is necessary to set a station number to each device in advance before starting communication, and the station number setting can be manually performed, but in a case where a system is configured by connecting a large number of devices via a network, and in a case where a device to be connected is replaced, the station number setting operation becomes complicated, and therefore there is a technique of automatically setting a station number. For example, patent document 1 discloses a technique in which identification information and station number information of a slave device to be connected are notified from a management device to a master device in advance, the master device collects identification information from an actually connected slave device via a network, the identification information notified from the management device in advance and the identification information collected from the slave device via the network are compared, and corresponding station number information is transmitted to a slave device for which it is confirmed that the identification information matches, thereby automatically setting a station number to each slave device.
Patent document 1: japanese patent laid-open No. 2014-119912
Disclosure of Invention
In the station number setting method disclosed in patent document 1, the master station device configures a frame to be transmitted to each slave station device on the premise that, if identification information collected from a slave station device that has been actually connected via a network matches identification information of a slave station device notified from the management device, each slave station device is connected in the order indicated by the station number information based on the station number information corresponding to the identification information. However, for example, when the order of the station number information of the slave device notified from the management device to the master device is different from the connection position of the actually connected slave device, or when the connection positions of a plurality of actually connected slave devices are replaced for maintenance or the like, even if the identification information matches, the connection positions do not match, the order of the information targeting each slave device in the frame constituted by the master device and the connection order of the actually connected slave devices do not match, and the slave device cannot acquire correct information. In order to prevent this mismatch, it is necessary to manually correct the identification information and station number information of the master station device.
The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a station number setting device for a network device capable of setting a station number that matches an assumed connection relationship between network devices.
In the station number setting device of a network device according to the present invention, device unique information and connection relationship information indicating a connection position between devices, which are set in advance, of each network device connected to a network are collated with device unique information and connection relationship information collected from the network devices, and a station number is set in a network device in which the device unique information and the connection relationship information are matched.
ADVANTAGEOUS EFFECTS OF INVENTION
According to the present invention, since the station number of a network device is specified using connection relationship information when the station number is set, matching of connection relationships between network devices can be confirmed by the connection relationship information, and thus, a station number matching an assumed connection relationship between network devices can be set.
Drawings
Fig. 1 is a block diagram of an FA system to which the present invention is applied.
Fig. 2 is a configuration diagram of a master station apparatus according to embodiment 1 of the present invention.
Fig. 3 is a configuration diagram of a slave station apparatus according to embodiment 1 of the present invention.
Fig. 4 is a timing chart showing an operation of setting a station number of a slave station by the station number setting apparatus according to embodiment 1 of the present invention.
Fig. 5(a) is a network configuration diagram showing in detail the network connection of the FA system shown in fig. 1, and fig. 5(b) is a data configuration diagram showing configuration information used in the station number setting device of embodiment 1.
Fig. 6(a) is an explanatory diagram showing an example of configuration collection frames transmitted from each device connected to a network, and fig. 6(b) is a data configuration diagram showing configuration information collected by the master device in embodiment 1.
Fig. 7 is a data configuration diagram showing a state in which setting information and configuration information are collated in embodiment 1 of the present invention.
Fig. 8 is a data configuration diagram showing a state in which setting information and configuration information are collated in embodiment 1 of the present invention.
Fig. 9 is a timing chart showing an operation of setting the station number of the slave station by the station number setting device according to embodiment 2 of the present invention.
Fig. 10 is a structural diagram of an FA system to which the present invention is applied, the FA system being set to a star-shaped network configuration.
Fig. 11 is a structural diagram of an FA system to which the present invention is applied, the FA system being provided as a network structure in which a star-type wiring and a line-type wiring are mixed.
Fig. 12 is a data configuration diagram showing configuration information transmitted from a slave station apparatus to a master station apparatus in the case of an FA system having a star network configuration.
Fig. 13 is a data configuration diagram showing setting information transmitted from the management apparatus to the master station apparatus in the case of the FA system having a star network configuration.
Fig. 14 is a data configuration diagram showing configuration information collected by the master station apparatus in the case of the FA system having a star network configuration.
Detailed Description
Hereinafter, embodiments of the present invention will be described with reference to the drawings. In embodiment 1, a description will be given of a configuration in which, as a system configured by a station number setting device of a network device to which the present invention is applied, that is, a network system configured by a plurality of devices connected via a network, a station number matching the connection relationship between each slave device in an FA system is automatically set to each slave device, taking an FA system configured by a master device and a slave device as an example.
In embodiment 1, a station number setting device of a network device according to the present invention is provided in a master station device, and configuration information of an FA system including the master station device and a slave station device is set in advance by a management device and transmitted to the master station device. The station number setting device provided in the master device that has received the configuration information automatically sets the station number in a flow in which the configuration information is collected from the slave devices that are network devices, and the station number is compared with the configuration information set in advance by the management device, and the station number is transmitted to the matching slave device, thereby setting the station number to each slave device.
The details will be described below.
Fig. 1 is a block diagram of an FA system to which the present invention is applied. In this FA system, a master device and a slave device are connected via an industrial network (hereinafter referred to as an FA network), and the devices are daisy-chain connected in a line network configuration. Data forwarding in the FA network proceeds in a bucket relay fashion.
In the management apparatus 3, the user sets in advance setting information of each apparatus connected to the FA network. The setting information is connection relation information indicating a connection position, which is device unique information on a master device and a slave device connected to the FA network, and connection relation information indicating what connection relation each device has. Next, the following describes using position information as connection relationship information. The management apparatus 3 visually displays the setting information through a Graphical User Interface (GUI), and the management apparatus 3 includes means for prompting the setting of the station number of each connected apparatus using the GUI, and the user sets the setting information including the apparatus unique information, the position information, and the information of the station number of each apparatus related to them of each apparatus connected to the FA network using the means. The setting information set by the management apparatus 3 is transmitted to the master station apparatus 1.
Fig. 2 is a configuration diagram of the master station apparatus 1 according to embodiment 1. In fig. 2, the input/output port 10 inputs/outputs data from/to a network. The selection unit 20 includes: an input/output port selection unit 201 that selects an input/output port 10 to be used; and a port information adding unit 202 that adds information such as data output from the port selected by the input/output port selecting unit 201. The communication unit 30 includes: a data receiving unit 301 that receives data input from the input/output port selected by the input/output port selecting unit 201; and a data transmission unit 302 for transmitting data from the selected input/output port. The internal bus 40 connects the functional blocks constituting the master station apparatus 1 to each other.
The arithmetic processing unit 70 performs various calculations. The general-purpose storage unit 80 stores data to be stored in the various calculations.
In operation of the FA system, data is transmitted and received via the FA network using the input/output port 10, the selection unit 20, and the communication unit 30, and a sequencer program and the like are run through the arithmetic processing unit 70 and the general-purpose storage unit 80.
Before the FA system is operated, it is necessary to set a station number to each device in advance before starting communication, and the station number setting device 90 performs the station number setting. The station number setting device 90 includes a structure collecting unit 50 and a station number reference unit 60.
The configuration collecting unit 50 collects configuration information including device unique information of the slave devices 2A to 2D and location information in the network from the slave devices 2A to 2D via the input/output port 10, the selecting unit 20, and the communication unit 30. The structure collection unit 50 includes a structure collection frame generation unit 501A, a structure data generation unit 502A, and a storage unit 503A. The storage unit 503A stores the configuration information of the slave devices 2A to 2D collected by the configuration collection unit 50.
The station number reference unit 60 includes a check unit 601A, a station number setting unit 602A, an error notification unit 603A, and a storage unit 604A. The storage unit 604A stores setting information which is set in advance in the management apparatus 3 and transmitted to the master station apparatus 1, that is, setting information including apparatus unique information of each apparatus connected to the FA network, location information, and information of the station numbers of the apparatuses associated therewith. The matching unit 601A matches the device unique information and the positional information stored in the storage unit 604A with the device unique information and the positional information collected by the configuration collecting unit 50 and stored in the storage unit 503A. The station number setting unit 602A reads the station number corresponding to the slave station device whose device unique information and position information are matched in the matching unit 601A from the storage unit 604A, and notifies the corresponding slave station device of the read station number, thereby setting the station number.
Hereinafter, each part will be described in more detail.
In the selection unit 20, the input/output port selection unit 201 performs a process of selecting which input/output port 10 the transmission data is to be output to the network, with respect to the transmission data input from the data transmission unit 302 of the communication unit 30. At this time, the port information adding unit 202 adds information as to which port the data is output to the transmission data.
The selection unit 20 outputs the received data input from the input/output port 10 to the data reception unit 301 of the communication unit 30. At this time, the port information adding unit 202 adds information as to which input/output port 10 the received data has been received from.
The communication unit 30 generates and analyzes frame data used for FA network communication. The data receiving unit 301 analyzes header information and the like of the received data input from the selecting unit 20. After the analysis, the received data is processed into application data and output to a function block for executing the next process via the internal bus 40. The data transmission unit 302 generates frame data by adding header information and the like to application data input via the internal bus 40. The generated frame data is output to the selector 20.
The configuration collection frame generation unit 501A in the configuration collection unit 50 generates a configuration collection frame used when the master device 1 performs configuration collection of the slave devices 2A to 2D existing on the network, and outputs the configuration collection frame to the data transmission unit 302 of the communication unit 30 via the internal bus 40.
Further, the configuration collection results received from the slave devices 2A to 2D are received via the data receiving unit 301 of the communication unit 30, and the configuration data generating unit 502A generates configuration information of the network from the configuration collection results. The storage unit 503A temporarily stores the configuration information of the generated network.
The station number reference unit 60 temporarily stores setting information including "device unique information" and "location information" of the slave stations 2A to 2D constituting the network, and a "station number" corresponding thereto, which is received from the management device 3, via the storage unit 604A. The matching unit 601A matches the setting information with the configuration information of the network generated by the configuration data generating unit 502A of the configuration collecting unit 50. If the comparison result is correct, the station number setting unit 602A generates setting information for the corresponding slave device, and transmits the setting information to the communication unit 30 via the internal bus 40. At the time of transmission, the information is transmitted to the corresponding slave station apparatus by unicast communication based on the apparatus unique information. When the configuration information of the network does not match all the configuration information by comparing the configuration information of the network with the configuration information of the setting information, the error notification unit 603A generates an error notification frame and outputs the error notification frame to the communication unit 30 via the internal bus 40. The generated error notification frame is transmitted to the management apparatus 3 by unicast communication.
Next, the configuration of the slave station devices 2A to 2D will be explained. Fig. 3 is a configuration diagram showing the configuration of the slave station devices 2A to 2D in embodiment 1. The slave devices 2A to 2D include an input/output port 10, a selection unit 20, a communication unit 30, an internal bus 40, a configuration collection unit 50, a station number reference unit 60, an arithmetic processing unit 70, and a general-purpose storage unit 80. The selector 20 includes an input/output port selector 201 and a port information provider 202, the communication unit 30 includes a data receiver 301 and a data transmitter 302, the configuration collector 50 includes a configuration collection frame update unit 501B, a configuration collection frame transfer setting unit 502B, and a configuration data generator 503B, and the station number reference unit 60 includes a comparison unit 601B, a station number setting unit 602B, an error notification unit 603B, and a storage unit 604B.
The input/output port 10, the selection unit 20, the communication unit 30, the arithmetic processing unit 70, and the general-purpose storage unit 80 of the slave devices 2A to 2D shown in fig. 3 have the same configurations as the input/output port 10, the selection unit 20, the communication unit 30, the arithmetic processing unit 70, and the general-purpose storage unit 80 of the master device 1 shown in fig. 2.
In the slave devices 2A to 2D having the above-described configuration, when the FA system is operated, data transmission and reception via the FA network is performed using the input/output port 10, the selection unit 20, and the communication unit 30, and processing is performed by the arithmetic processing unit 70 and the general-purpose storage unit 80 in accordance with control by a sequencer program or the like from the master device 1, and the slave devices operate as a part of the FA system.
Before the FA system is operated, it is necessary to set a station number to each slave station device in advance, and the station number setting device 90 operates when the station number is set. The station number setting device 90 includes a structure collecting unit 50 and a station number reference unit 60. The configuration collecting unit 50 in embodiment 1 operates the configuration collection frame generating unit 501A, the configuration data generating unit 502A, the storage unit 503A, and the configuration collection frame updating unit 501B of the slave devices 2A to 2D of the master device 1. When the slave devices 2A to 2D update the configuration collection frame transferred and received from the master device 1 or the other slave devices 2A to 2D, the device-specific information of the own device, the device-specific information of the transmission source device, and the information of which port the input/output port 10 from the transmission source device received the frame is. The updated configuration collection frame is set by the configuration collection frame transfer setting unit 502B for transfer to the master device 1 and other slave devices, and is output to the data transmission unit of the communication unit 30 via the internal bus 40. Note that the station number referencing unit 60 and the configuration data generating unit 503B of the slave station devices 2A to 2D do not operate in embodiment 1, but the station number referencing unit 60 and the configuration data generating unit 503B may not be provided in the slave station devices 2A to 2D of embodiment 1.
Next, in the FA system having the above-described configuration, an operation of the station number setting device 90 for setting a station number will be described. Fig. 4 is a timing chart showing an operation of setting the station numbers of the slave station devices 2A to 2D by the station number setting device 90 of the present invention. Note that the slave station devices 2C and 2D are omitted in fig. 4.
In embodiment 1 of the present invention, first, in step S1, the user sets the network setting information on the screen of the management apparatus 3. Fig. 5(a) is a network configuration diagram showing the master station apparatus 1 and the slave station apparatuses 2A to 2D in more detail when setting information of the FA system shown in fig. 1, and fig. 5(b) is a data configuration diagram showing an example of setting information in which such a network configuration is set.
In this example of the format of the setting information, a model name is used as device unique information of a network device connected to a network. In addition to the device-specific information, information unique to the device, such as model name information and a MAC address, can be used.
The position information in this example of the configuration information format is constituted by the device-specific information of the "input/output port 1" and the "input/output port 2" of the master device 1 and the slave devices 2A to 2D, and the connection destination devices connected to the respective ports.
The station number for identifying each device on the network is associated with the device unique information and the location information corresponding to each device, thereby configuring setting information of the network. In the example of fig. 5, numerals of 1 to 5 are used as station numbers, but the numbers may not be numerals as long as they are numbers unique to the respective devices in the network.
Next, in step S2, the management apparatus 3 transmits setting information including "apparatus unique information", "location information", and "station number" corresponding thereto, which is set by the user in step S1, to the master station apparatus 1 via the network. The setting information transmitted to the master station apparatus 1 is stored in the storage section 604A of the master station apparatus 1.
Next, in step S3, the master device 1 generates a configuration collection frame for collecting configuration information including device unique information and network location information from the slave devices 2A to 2D by the configuration collection frame generation unit 504A, and transmits the configuration collection frame to the adjacent slave device 2A via the input/output port 10. Fig. 6(a) shows an example of a configuration collection frame transmitted from each device actually connected to a network. In the configuration collection frame transmitted from the master station apparatus 1, "model a" which is the apparatus-specific information of the master station apparatus 1 itself is stored in "own apparatus-specific information", and nothing is stored in "apparatus-specific information of the first 1 apparatuses" and "ports connected to the first 1 apparatuses".
Next, in step S4, the slave device 2A that has received the structure collection frame from the master device 1 updates the content of the structure collection frame by the structure collection frame updating unit 501B. In the slave device 2A, the content of the "device-specific information" of the configuration collection frame is updated to "model B" which is the device-specific information of the slave device 2A itself, the content of the "device-specific information of the first 1 devices" is updated to "model a" which is the device-specific information of the master device 1 that transmitted the configuration collection frame, and the content of the "port connected to the first 1 devices" is updated to "model B" which is the device-specific information of the slave device and is configured by "model B" which is the port 1 "to which the master device 1 is connected; port 1 ".
Then, the updated configuration collection frame is transferred to the master device 1 and the adjacent slave device 2B (step S5).
The master device 1 that has received the configuration collection frame from the slave device 2A stores the configuration collection frame transmitted from the slave device 2A in the storage unit 503A (step S6).
In this way, the transmission of the configuration collection frame to the slave device 2B to be connected next becomes a trigger for providing configuration information to the slave device 2B, and the master device 1 transmits the configuration collection frame to the master device 1, thereby collecting information indicating the positional relationship between the slave device 2A and the peripheral devices.
Next, similarly to the operation of the slave device 2A, the slave device 2B updates the content of the configuration collection frame (step S7), and transfers the updated configuration collection frame to the master device 1 and the adjacent slave device 2C (step S8).
The slave devices 2C and 2D perform the same operation. As a result, the slave devices 2A to 2D transmit 4 configuration collected frames as shown in fig. 6(a) to the master device 1. However, the slave device 2D is a slave device at the end of the slave device to which the next connection is not made, and the slave device 2D at the end transmits the configuration collection frame to the master device 1, but does not perform an operation of transferring the configuration collection frame to another slave device.
By the above operation, the master station apparatus 1 receives the configuration collection frames updated in the slave station apparatuses 2A to 2D, respectively, and stores the received configuration collection frames in the storage unit 503A.
After transmitting the configuration collection frame in step S3, the master station apparatus 1 monitors whether or not the configuration collection frame is received from the slave station apparatus at the end of only 1 piece of connection port information of the updated configuration collection frame, and when it is detected that the configuration collection frame is received from the slave station apparatus at the end in step S10, the master station apparatus 1 collects the configuration collection frames from the slave station apparatuses 2A to 2D, and generates the collection configuration information as shown in fig. 6 (b). The generated collection configuration information includes "device unique information" and "position information" of the slave devices 2A to 2D, and the collection configuration information is stored in the storage unit 503A.
Then, in step S11, the master station device 1 compares the configuration information collected from the slave station devices 2A to 2D and stored in the storage unit 503A shown in fig. 6(b) with the "device specific information" and the "position information" of the setting information received by the management device 3 and stored in the storage unit 604A shown in fig. 5(b) by the comparison unit 601A.
Fig. 7 and 8 are data configuration diagrams showing a state in which the setting information and the configuration information are compared in embodiment 1, and fig. 7 shows a case where the configuration information stored in the storage unit 503A matches, that is, matches, the setting information received by the management apparatus 3 and stored in the storage unit 604A, and fig. 8 shows a case where the configuration information does not match.
As for the slave station apparatus in which the result of the comparison obtained by the comparison unit 601A in step S11 matches both the "device specific information" and the "position information", the station number setting unit 602A reads out the "station number" corresponding to the "device specific information" and the "position information" of the slave station apparatus from the storage unit 604A, and sets the read-out station number as the station number of the slave station apparatus matching the "device specific information" and the "position information" (step S12). Then, the set station number is transmitted to the corresponding slave station devices 2A to 2D (step S13, step S14).
As shown in fig. 8, when there is no slave device that matches the "device unique information" or the "location information" even if the slave devices 2A to 2D are compared with all the other slave devices, the error notification unit 603A of the master device 1 notifies the management device 3 of an error.
The slave station apparatus which has transmitted the set station number from the master station apparatus 1 stores the transmitted station number in the storage unit 604B, and sets the station number of the own apparatus, which is used for communication with another apparatus in the subsequent operation (step S15, step S16).
The station number is set by the operation of the station number setting device 90 as described above, and after the station number is set, the arithmetic processing unit 70 of the master station device 1 performs processing based on the user program stored in the general-purpose storage unit 80 of the master station device 1 to control the slave station devices via the input/output port 10, thereby controlling the slave station devices 2A to 2D.
According to embodiment 1 as described above, since the station number is set after the set location information is compared with the collected location information, it is possible to set a station number that matches the connection relationship between network devices that the user has assumed with the connection relationship between actual network devices.
Although the station number setting device of the present invention is shown in embodiment 1 as being provided in the master station device 1, the station number setting device of the present invention may be provided in any device such as the management device 3, the master station device 1, and the slave station devices 2A to 2D, or may be connected to the FA network in a separate configuration as long as information can be transmitted and received through the FA network connection, and elements constituting the station number setting device may be present in the management device 3, the master station device 1, and the slave station devices 2A to 2D in a dispersed manner.
In embodiment 1, a case where each part constituting the station number setting device operates on the master device 1 is shown, but in embodiment 2, a case where each part constituting the station number setting device is provided in a distributed manner on the master device 1 and the slave devices 2A to 2D will be described. The configurations of the master station device 1 and the slave station devices 2A to 2D according to embodiment 2 are the same as those of fig. 2 and 3 shown in embodiment 1. However, the storage section 604B provided in the slave devices 2A to 2D is used as the storage section of the station number setting device of the present invention, the configuration collecting section 50 of the master device 1 and the configuration collecting section 50 of the slave device are used as the configuration collecting sections, 601B of the slave devices 2A to 2D is used as the comparison section, and 602B of the slave devices 2A to 2D is used as the station number setting section. In embodiment 2, the station number reference unit 60 and the configuration data generation unit 502A of the master station device 1 do not operate, and may not have a configuration of these units.
In embodiment 2, the master station apparatus 1 transmits setting information including "apparatus unique information" and "location information" of the slave station apparatuses 2A to 2D constituting the network, which setting information is received from the management apparatus 3, and a "station number" corresponding to the "apparatus unique information" and the "location information" to all the slave station apparatuses 2A to 2D by multicast communication. The station number reference unit 60 of the master station apparatus does not perform the processing of the check unit 601A, the station number setting unit 602A, and the error notification unit 603A. The processing related to the comparison is executed by the station number reference unit 60 of the slave station devices 2A to 2D.
When the slave devices 2A to 2D receive the setting information including the "device unique information" and the "location information" and the "station number" corresponding thereto from the master device 1 by multicast communication, the updated configuration collection frame is set by the configuration collection frame transfer setting unit 502B for transfer to an adjacent device, and is output to the data transmission unit 302 of the communication unit 30 via the internal bus 40. When receiving the updated update collection frame from the adjacent device, the configuration data generation unit 503B generates configuration information of the network including "device unique information" and "location information" of the adjacent device. The generated information is temporarily stored in the storage unit 504B.
The station number referencing unit 60 temporarily stores the setting information in the storage unit 604B. The matching unit 601B matches the setting information with the configuration information of the network generated by the configuration data generating unit 503B of the configuration collecting unit 50. If the comparison result is correct, the station number setting unit 602B generates the setting information of the own device and stores the setting information in the general-purpose storage unit 80 via the internal bus 40. The slave station device executes station number setting of the device itself based on the stored information. When the configuration information of the network does not match all the configuration information of the network by comparing the configuration information with the configuration information of the network, the error notification unit 603B generates an error notification frame and outputs the error notification frame to the communication unit 30 via the internal bus 40. The generated error notification frame is transmitted to the management apparatus 3 by unicast communication.
Fig. 9 is a timing chart showing an operation of setting the station number of the slave station by the station number setting device according to embodiment 2. First, the user sets network setting information in the management apparatus 3 (step S17). The management device 3 transmits setting information including "device specific information" and "location information" obtained by the setting of the user and the "station number" corresponding to the "device specific information" and the "location information" to the connected master station device 1 via the network (step S18). The master device 1 transmits the setting information to all the slave devices 2A to 2D existing on the network by multicast communication (step S19). Thereafter, the master device 1 generates a configuration collection frame, and transmits the configuration collection frame to the adjacent device (step S20). The arbitrary slave devices 2A to 2D that have received the configuration collection frame update the content of the frame (steps S21 and S23), and transfer the updated frame to the master device 1 and all the slave devices 2A to 2D by multicast communication (steps S22 and S24). This processing is performed until the processing of all the slave devices 2A to 2D existing on the network is completed. If the slave device stores the updated configuration collection frame and the update processing of all the neighboring devices is completed, the slave devices generate the collection configuration information (S25, S26). The generated configuration information is compared with the "device unique information" and the "position information" of the setting information received from the master station device 1, and when the configuration information matches the "device unique information" and the "position information" of the own device, the station number of the own device is set based on the "station number" information corresponding to the "device unique information" and the "position information" (steps S29 and S30).
According to embodiment 2 as described above, since the station number is set after the set location information is compared with the collected location information as in embodiment 1, it is possible to set a station number that matches the connection relationship between network devices that the user has assumed with the connection relationship between actual network devices. In addition, in embodiment 2, since the master device 1 does not need to transmit station number information to each of all the slave devices 2A to 2D by unicast, and can set the station number in each slave device at the same time, it is possible to shorten the time until the station number setting is completed after the user sets the station number.
In embodiments 1 and 2, the master station apparatus 1 and the slave station apparatuses 2A to 2D are daisy-chained in a network configuration in which the apparatuses are wired in a line type, and data transfer is performed in a bucket relay type, but the present invention is also applicable to an FA system of a network configuration in which a star-type wiring is performed as shown in fig. 10, or an FA system of a network configuration in which a star-type wiring and a line-type wiring are mixed as shown in fig. 11. In fig. 10, 8 is a switch device that forwards data traveling on the network to a transmission destination device. The devices are wired through the switch device 8, and data transfer is performed to the devices through the switch device 8. Fig. 12 is a data configuration diagram showing configuration information transmitted from the slave stations 2A to 2D to the master station apparatus 1 in the FA system having the network configuration shown in fig. 10, fig. 13 is a data configuration diagram showing configuration information transmitted from the management apparatus 3 to the master station apparatus 1, and fig. 14 is a data configuration diagram showing configuration information collected by the master station apparatus 1. The FA system of the star network structure also performs the same operations as those of embodiments 1 and 2.
Industrial applicability
The station number setting device of the network device according to the present invention as described above is useful for an industrial network system, and is particularly suitable for a system in which a large number of slave station devices need to be constructed.
Description of the reference numerals
1 Master station device
2A-2F slave station device
3 management device
4 management device
5 external network
6 management device
7 connecting cable
8 exchanger device
10 input/output port
20 selection part
30 communication unit
40 internal bus
50 structure collecting part
Reference part of 60 station number
70 arithmetic processing unit
80 general storage unit
90 station number setting device
201 input/output port selection unit
202 port information adding part
301 data receiving part
302 data transmitting part
501A structure collection frame generation unit
502A configuration data generating unit
503A storage unit
601A matching part
602A station number setting unit
603A error notification unit
604A storage unit
501B structure collection frame updating unit
502B configuration collection frame transfer setting unit
503B configuration data generating section
504B storage unit
601B matching part
602B station number setting unit
603B error notification unit
604B storage unit
Claims (5)
1. A station number setting device of a network device, comprising:
a storage unit that stores setting information in which device-specific information of a network device connected to a network, connection relationship information indicating a connection position, and a station number are set;
a configuration collecting unit that collects configuration information including device-specific information of each current network device and connection relationship information in the network to which the network device is currently connected, from the network devices via the network;
a matching unit that matches the device specific information stored in the storage unit with the current device specific information collected by the configuration collection unit, and the connection relationship information stored in the storage unit with the current connection relationship information collected by the configuration collection unit; and
and a station number setting unit that sets, in the network device, the station number corresponding to the network device for which the device unique information and the connection relationship information are matched in the matching unit.
2. The station number setting device of a network device according to claim 1,
the connection relation information includes the number of the input/output port to which the network device is connected and the device unique information of the network device connected to the input/output port.
3. The station number setting device of a network device according to claim 1 or 2,
the storage unit stores the setting information notified from a management device via the network.
4. The station number setting device of a network device according to claim 3,
the network device is composed of a management device, a master device, and a slave device controlled by the master device, and the configuration collection unit is provided in the master device.
5. The station number setting device of a network device according to claim 1 or 2,
the device-specific information is model name information or a MAC address of the network device.
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/JP2017/031063 WO2019043811A1 (en) | 2017-08-30 | 2017-08-30 | Local number setting device for network device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111034126A true CN111034126A (en) | 2020-04-17 |
| CN111034126B CN111034126B (en) | 2021-10-22 |
Family
ID=65525216
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201780094242.3A Active CN111034126B (en) | 2017-08-30 | 2017-08-30 | Station number setting device of network device |
Country Status (3)
| Country | Link |
|---|---|
| JP (1) | JP6512377B1 (en) |
| CN (1) | CN111034126B (en) |
| WO (1) | WO2019043811A1 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP7226008B2 (en) | 2019-03-26 | 2023-02-21 | オムロン株式会社 | Management device, support device, management method, management program and recording medium |
| JP7528477B2 (en) * | 2020-03-12 | 2024-08-06 | オムロン株式会社 | Information processing device, information processing system, notification method, and information processing program |
| US11838202B2 (en) * | 2020-03-13 | 2023-12-05 | Mitsubishi Electric Corporation | Master device and communication method |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002084295A (en) * | 2000-09-08 | 2002-03-22 | Omron Corp | Network configuration management tool, computer, and recording medium |
| JP2005260853A (en) * | 2004-03-15 | 2005-09-22 | Omron Corp | Wireless communication device |
| CN103095574A (en) * | 2011-10-27 | 2013-05-08 | 株式会社日立制作所 | Management method for network system, network system, and management server |
| TW201608350A (en) * | 2014-08-26 | 2016-03-01 | Mitsubishi Electric Corp | Equipment management device, equipment management method, and program |
| WO2017068996A1 (en) * | 2015-10-19 | 2017-04-27 | 株式会社ノーリツ | Communication adapter |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5996621U (en) * | 1983-11-24 | 1984-06-30 | 富士電機株式会社 | Connection check device for remote input/output section |
| JPS61141001A (en) * | 1984-12-14 | 1986-06-28 | Fuji Electric Co Ltd | Structure diagnosis system of process control system |
| JP6509477B2 (en) * | 2012-12-14 | 2019-05-08 | オムロン株式会社 | Control device and control program |
-
2017
- 2017-08-30 JP JP2018552023A patent/JP6512377B1/en active Active
- 2017-08-30 CN CN201780094242.3A patent/CN111034126B/en active Active
- 2017-08-30 WO PCT/JP2017/031063 patent/WO2019043811A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002084295A (en) * | 2000-09-08 | 2002-03-22 | Omron Corp | Network configuration management tool, computer, and recording medium |
| JP2005260853A (en) * | 2004-03-15 | 2005-09-22 | Omron Corp | Wireless communication device |
| CN103095574A (en) * | 2011-10-27 | 2013-05-08 | 株式会社日立制作所 | Management method for network system, network system, and management server |
| TW201608350A (en) * | 2014-08-26 | 2016-03-01 | Mitsubishi Electric Corp | Equipment management device, equipment management method, and program |
| WO2017068996A1 (en) * | 2015-10-19 | 2017-04-27 | 株式会社ノーリツ | Communication adapter |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111034126B (en) | 2021-10-22 |
| JPWO2019043811A1 (en) | 2019-11-07 |
| WO2019043811A1 (en) | 2019-03-07 |
| JP6512377B1 (en) | 2019-05-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103532733B (en) | Wireless communication system and information providing method | |
| CN104601695A (en) | Intelligent device control method, device and system | |
| US11477074B2 (en) | Remote line integration | |
| CN103701640A (en) | Method and system of using intelligent management terminal to update ODN (optical distribution network) equipment | |
| CN111034126B (en) | Station number setting device of network device | |
| US20240179137A1 (en) | Control apparatus, in-vehicle communication system, communication control method and program | |
| US20170277172A1 (en) | Sim system, control method therefor and production informatization system | |
| KR101438978B1 (en) | Method and system for reprogramming | |
| CN105138384A (en) | Air conditioner and program upgrading method and device thereof | |
| CN104350704A (en) | Self-configuring transport network | |
| JPH0936858A (en) | Information transfer method and information transfer device | |
| US6883169B1 (en) | Apparatus for managing the installation of software across a network | |
| CN102246469A (en) | Data transfer device | |
| WO2010097674A1 (en) | Wireless network system | |
| CN103096361A (en) | Interactive method and device of performance statistic data in wireless local area network system | |
| CN107819553B (en) | Control instruction feedback method and device | |
| JP2009140110A (en) | Communications system | |
| CN110154345B (en) | Remote debugging method and system applied to injection molding machine driver | |
| CN104916098A (en) | Online enable method of wireless control system | |
| CN106793003A (en) | A kind of interactive configuration method of network entry of smart machine | |
| CN119094268A (en) | A network communication method, system and Modbus master station device | |
| JP2003249891A (en) | Digital broadcast radio system | |
| CN113681556A (en) | Robot teaching method, robot teaching apparatus, and computer-readable storage medium | |
| JP6745935B1 (en) | Slave connection switching device and slave connection switching method | |
| CN116800744B (en) | A smart city intelligent linkage method and system based on edge-cloud collaboration |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |