Industrial wireless system and secondary wireless node

The industrial wireless system addresses IP address overlaps and communication issues by using a primary and secondary wireless nodes with setting and communication management units, facilitating a functional and efficient wireless network construction.

JP2025121593APending Publication Date: 2025-08-20KEYENCE CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2024017126
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-02-07
Publication Date
2025-08-20

AI Technical Summary

Technical Problem

Existing industrial wireless systems face challenges in constructing wireless networks due to IP address overlaps and communication settings issues, which can lead to equipment malfunction and production line stops.

Method used

An industrial wireless system with a primary wireless node and secondary wireless nodes that manage network connections, utilizing a setting management unit to associate identification information across different networks and a communication control unit to control communication based on set transfer rules, converting some connections into wireless networks.

Benefits of technology

Enables the suitable construction of a wireless network in industrial systems, preventing equipment malfunctions and ensuring seamless communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025121593000001_ABST
    Figure 2025121593000001_ABST
Patent Text Reader

Abstract

To smoothly display data on a mobile device while suppressing a delay in data transfer, etc.SOLUTION: There is provided an industrial wireless system 200 including: a primary wireless node 202a that manages a wireless network and that is connected by wire to a first industrial device PLC1 of a control panel 208; and one or more secondary wireless nodes 202b-f that are wirelessly connected to the primary wireless node and that are connected by wire to a second industrial device. The secondary nodes each include: a setting management section that receives setting information generated by the primary wireless node, and sets a transfer rule associating first specific information, which specifies the second industrial device corresponding to a first network, with second specific information, which specifies the second industrial device corresponding to a second network; and a communication control section that specifies the second industrial device by the first specific information or the second specific information based on the transfer rule that has been set by the setting management section, and controls the communication between a first wireless communication interface and a wired communication interface.SELECTED DRAWING: Figure 14
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates to an industrial wireless system and a secondary wireless node. [Background technology]

[0002] A factory is equipped with multiple pieces of industrial equipment, such as machine tools, which are controlled by programmable logic controllers (PLCs). By connecting multiple pieces of industrial equipment or multiple PLCs via a wireless mesh network, it becomes possible to maintain the industrial network within the factory even if the layout of the industrial equipment within the factory is changed. A wireless mesh network ensures good communication quality by selecting an appropriate single-hop or multi-hop communication route, taking into account the radio wave conditions between the multiple nodes that make up the network (Patent Document 1). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Application Laid-Open No. 2014-22981 Summary of the Invention [Problem to be solved by the invention]

[0004] Incidentally, PLCs can acquire various data from other PLCs and other devices and facilities, and display various information on display devices. Also, since building a wired network to connect devices is difficult in terms of cost and installation space, it is desirable to build an IoT network using wireless devices.

[0005] However, when building a wireless network, IP addresses of devices and equipment may overlap and be set to different devices, which may cause the equipment to not function properly and may even cause the entire line to stop.In addition, IP addresses affect the communication settings of other devices, and are often not easy to change.

[0006] SUMMARY OF THE INVENTION It is therefore an object of the present invention to suitably construct a wireless network in an industrial wireless system. [Means for solving the problem]

[0007] The present invention provides a secondary wireless node of an industrial wireless system including, for example, a plurality of wireless nodes that convert some of connections between a plurality of communicable industrial devices into connections via a wireless network, the plurality of wireless nodes including a primary wireless node that manages the wireless network and is wired to a first industrial device among the plurality of industrial devices, and one or more secondary wireless nodes that are wirelessly connected to the primary wireless node and wired to a second industrial device among the plurality of industrial devices, the secondary wireless node comprising a first wireless communication interface that wirelessly communicates with the primary wireless node via a first network including the wireless network, and the first network including the first wireless communication interface. The wireless communication device includes a wired communication interface that communicates by wire with the second industrial equipment that is wired connected via a different second network; a setting management unit that receives setting information generated by the primary wireless node and sets a transfer rule that associates first identification information that identifies the second industrial equipment corresponding to the first network with second identification information that identifies the second industrial equipment corresponding to the second network in accordance with the setting information; and a communication control unit that identifies the second industrial equipment by the first identification information or the second identification information and controls the communication between the first wireless communication interface and the wired communication interface based on the transfer rule set by the setting management unit.

[0008] The present invention also provides an industrial wireless system including at least a plurality of wireless nodes that convert, for example, a portion of connections between a plurality of communicable industrial devices into connections via a wireless network, the plurality of wireless nodes including a primary wireless node that manages the wireless network and is wired to a first industrial device among the plurality of industrial devices, and one or more secondary wireless nodes that are wirelessly connected to the primary wireless node and wired to a second industrial device among the plurality of industrial devices, the one or more secondary wireless nodes having a first wireless communication interface that wirelessly communicates with the primary wireless node via a first network including the wireless network, and a second industrial device that is wired to the second industrial device via a second network different from the first network. a setting management unit that receives setting information generated by the primary wireless node and sets a transfer rule that associates first identification information that identifies the second industrial equipment corresponding to the first network with second identification information that identifies the second industrial equipment corresponding to the second network according to the setting information; and a communication control unit that identifies the second industrial equipment by the first identification information or the second identification information and controls communication between the first wireless communication interface and the wired communication interface based on the transfer rule set by the setting management unit, and the primary wireless node includes a generation unit that generates setting information for each secondary wireless node to associate the first identification information with the second identification information. [Effects of the Invention]

[0009] According to the present invention, a wireless network can be suitably constructed in an industrial wireless system. [Brief explanation of the drawings]

[0010] [Figure 1] Diagram explaining a PLC system [Figure 2] Diagram explaining PC hardware [Figure 3] Diagram explaining PLC hardware [Figure 4] A diagram explaining the functions realized by a PC's CPU [Figure 5] Diagram explaining the functions realized by the PLC CPU [Figure 6] Diagram explaining the user interface [Figure 7] Diagram explaining the user interface [Figure 8] Diagram explaining the notification dialog [Figure 9] Diagram explaining the analysis report [Figure 10] Diagram explaining the analysis report [Figure 11] Diagram explaining the user interface [Figure 12] Diagram explaining the analysis report [Figure 13] Diagram explaining the connection position of the master unit in an industrial wireless system [Figure 14] Diagram illustrating industrial wireless systems [Figure 15] Diagram explaining the parent unit's hardware [Figure 16] Diagram explaining the functions of the parent unit [Figure 17] Diagram explaining the slave unit hardware [Figure 18] Diagram explaining the functions of the handset [Figure 19] Diagram explaining the IP address conversion procedure [Figure 20] Flowchart explaining the processing procedure of the parent device [Figure 21] Flowchart explaining the processing procedure of the slave unit [Figure 22] Figure showing the IP address conversion mode selection screen [Figure 23] Figure showing the IP address conversion function guide screen [Figure 24] Figure showing the basic setting screen 1 for IP address conversion [Figure 25] Figure showing the individual setting screen for each IP address conversion unit [Figure 26] Figure showing the basic setting screen 2 for IP address conversion [Figure 27] Figure showing IP address conversion setting navigation screen 1 [Figure 28] Figure showing IP address conversion setting navigation screen 2 [Figure 29] Figure showing IP address conversion setting navigation screen 3 [Figure 30] Figure showing the basic setting screen 3 for IP address conversion [Figure 31] Figure showing the unit selection screen for IP address conversion configuration deployment [Figure 32] Figure showing the multiple unit selection screen for IP address conversion configuration deployment [Figure 33] Figure showing a modified example of the basic settings screen for IP address conversion [Figure 34] Figure showing the screen for adding IP address conversion settings [Figure 35] Figure showing the screen for adding IP address conversion settings DETAILED DESCRIPTION OF THE INVENTION

[0011] Hereinafter, the embodiments will be described in detail with reference to the accompanying drawings. Note that the following embodiments do not limit the scope of the invention as claimed, and not all combinations of features described in the embodiments are necessarily essential to the invention. Two or more of the features described in the embodiments may be arbitrarily combined. Furthermore, the same reference numerals are used for the same or similar components, and redundant explanations will be omitted.

[0012] A programmable logic controller (PLC) is a controller used in factory automation to control industrial machinery such as manufacturing equipment, conveying equipment, and inspection equipment. PLCs control various expansion units and controlled devices by executing user programs, such as ladder programs created by programmers. To monitor the operation of a PLC, it has been proposed to collect data held by the PLC and monitor the data on a computer (PC) or HMI (human interface: display device) connected externally to the PLC (Japanese Patent Application Laid-Open No. 2019-016325).

[0013] A user creates a user program using a programming support device and transfers it to a PLC. The PLC then executes the user program to manufacture various products. A rare event that was not anticipated when the user program was created can cause the production line to stop. An event that does not cause the production line to stop but requires attention can also occur. When a specific event occurs, the PLC reads and records device values collected around the time of the event from a buffer. This may be called an operation record (operation log). A data utilization unit may analyze this record, create an analysis report, and provide it to a web browser external to the PLC. If the operation log could be played back along with the analysis report, users would not only be able to understand the contents of the analysis report but also be able to identify the cause of the specific event. Therefore, the analysis report and the operation log must be linked. If the analysis report and the operation log were not linked, it would be difficult for users to identify the operation log corresponding to the analysis report. Therefore, some of the following embodiments aim to appropriately maintain the relationship between the operation record and the analysis results in the PLC.

[0014] <System configuration> FIG. 1 is a conceptual diagram showing an example of the configuration of a PLC system (industrial equipment) according to an embodiment of the present invention. As shown in FIG. 1, the PLC system includes a PC 2 for editing user programs such as ladder programs, and a PLC 1 for comprehensively controlling various industrial machines installed in a factory or the like. PC is an abbreviation for personal computer. User programs may be created using a graphical programming language such as a ladder language or a flowchart-style motion program such as SFC (Sequential Function Chart), or may be created using a high-level programming language such as C. For ease of explanation, the user program executed by the basic unit 3 is assumed to be a ladder program. The PLC 1 includes a basic unit 3 with a built-in CPU and one or more expansion units 4. One or more expansion units 4 are detachable from the basic unit 3.

[0015] The base unit 3 is equipped with a display unit 5 and an operation unit 6. The display unit 5 can display the operating status of the base unit 3 or the expansion unit 4 attached to the base unit 3. The display unit 5 switches the display content depending on the operation performed by the user on the operation unit 6. The display unit 5 typically displays the current values (device values) stored in devices within the PLC 1 and error information that has occurred within the PLC 1. A device is a name (symbol) that refers to a storage area in memory provided for storing device values (device data), and may also be called device memory. A device value is information that indicates the input status from input devices, the output status to output devices, and the status of internal relays (auxiliary relays), timers, counters, data memory, etc. set in a user program. Device values are classified into bit and word types. A bit device stores a 1-bit device value. A word device stores a 1-word device value.

[0016] The expansion unit 4 is provided to expand the functions of the PLC 1. Field devices (controlled devices) 10 corresponding to the functions of the expansion unit 4 may be connected to the expansion unit 4, and each field device 10 is thereby connected to the basic unit 3 via the expansion unit 4. The field device 10 may be an input device such as a sensor or a camera, or an output device such as an actuator. Furthermore, multiple field devices may be connected to one expansion unit 4.

[0017] For example, the expansion unit 4b may be a positioning unit that drives a motor (field device 10) to position a workpiece, or may be a counter unit that counts signals from an encoder (field device 10) such as a manual pulser.

[0018] The expansion unit 4a collects symbol values from symbols (devices, variables, etc.) in the basic unit 3, analyzes the symbol values, and creates an analysis report including the analysis results. The expansion unit 4a may have a web server that provides the analysis report to an external PC 2. The basic unit 3 is sometimes called a CPU unit. In this embodiment, an example is described in which the expansion unit (analysis unit) 4a has a collection unit that collects symbol values. However, the collection unit may be provided in the basic unit 3 or in another expansion unit. The expansion unit 4a may also function as an analysis device that analyzes the collected data in accordance with instructions from the basic unit 3 or at a predetermined timing. In this embodiment, an example is described in which the expansion unit 4a functions as an analysis device. However, this is not intended to limit the present invention. The basic unit 3 may function as the analysis device, or an external device such as PC 2 may function as the analysis device. A system including the PLC 1 and PC 2 may be called a programmable logic controller system.

[0019] The PC2 is a computer operated primarily by a programmer. The PC2 may also be called a program creation support device (monitoring device). The PC2 is, for example, a portable notebook or tablet personal computer or a smartphone, and is an external computer equipped with a display unit 7 and an operation unit 8. The external computer is a computer external to the PLC1. A ladder program, which is an example of a user program for controlling the PLC1, is created using the PC2. The created ladder program is converted into mnemonic code within the PC2. The PC2 is connected to the basic unit 3 of the PLC1 via a communication cable 9a, such as a USB (Universal Serial Bus) cable. However, the communication cable 9a may also be a network cable similar to the communication cable 9b. The PC2 may also be a programmable display whose screen can be configured by the user. In this case, the screen displaying the analysis results, etc., may be configured by the user. The programmable display may be equipped with a web browser function, and the analysis results, etc. may be displayed via the web browser function.

[0020] Although not shown in FIG. 1, the operation unit 8 of the PC 2 may include a pointing device such as a mouse connected to the PC 2. Furthermore, the PC 2 may be detachably connected to the base unit 3 or the expansion unit 4a of the PLC 1 via a communication cable 9b other than a USB cable. The communication cable 9b may be a so-called LAN cable. The PC 2 may also be connected to the base unit 3 of the PLC 1 via wireless communication without using the communication cables 9a and 9b.

[0021] <Programming support device> FIG. 2 is a block diagram for explaining the electrical configuration of PC 2. As shown in FIG. 2, PC 2 includes a CPU 11, a display unit 7, an operation unit 8, a storage device 12, and communication units 13a and 13b. The display unit 7, operation unit 8, storage device 12, and communication units 13a and 13b are each electrically connected to CPU 11. Storage device 12 includes RAM, ROM, HDD, and SSD, and may further include a removable memory card. CPU is an abbreviation for central processing unit. ROM is an abbreviation for read-only memory. RAM is an abbreviation for random access memory. HDD is an abbreviation for hard disk drive. SSD is an abbreviation for solid state drive.

[0022] A user of the PC 2 edits project data through the operation unit 8 by causing the CPU 11 to execute the project editing program 14a stored in the storage device 12. In other words, the PC 2 is an engineering tool and also functions as a program creation support device. The project data includes one or more user programs (e.g., a ladder program) and configuration information for the base unit 3 and the expansion units 4. The configuration information includes information indicating the connection positions of the expansion units 4 relative to the base unit 3, information indicating the functions of the base unit 3 (e.g., communication function and positioning function), information indicating the functions of the expansion units 4 (e.g., photography function), and device allocation information. Here, editing of project data includes creating and changing (re-editing) project data. The user reads project data stored in the storage device 12 as needed and changes the project data using the project editing program 14a. The communication unit 13a communicates with the base unit 3 via the communication cable 9a. The CPU 11 transfers project data to the base unit 3 via the communication unit 13a. The communication unit 13a includes a communication circuit capable of performing communication compliant with the USB standard. The communication unit 13b communicates with the expansion unit 4a via a communication cable 9b. The communication unit 13b includes a network communication circuit. The Web server program 14c is implemented as part of the project editing program 14a. The Web browser program 14d receives an analysis report written in Web format from the expansion unit 4a via the communication unit 13a and displays it on the display unit 7. The Web browser program 14d may request the Web server program 14c to provide the analysis report. The Web server program 14c may access the expansion unit 4a via the communication unit 13a and the basic unit 3, obtain the analysis report, and transfer it to the Web browser program 14d.

[0023] <plc> FIG. 3 is a block diagram illustrating the electrical configuration of the PLC 1. As shown in FIG. 3, the basic unit 3 includes a CPU 31, a display unit 5, an operation unit 6, a storage device 32, and a communication unit 33. The display unit 5, the operation unit 6, the storage device 32, and the communication unit 33 are each electrically connected to the CPU 31. The storage device 32 may include RAM, ROM, a memory card, etc. The storage device 32 has multiple storage areas, such as a device unit 34, a project storage unit 35, a ring buffer 36, and an operation record storage unit 37. The device unit 34 includes bit devices and word devices, and each device stores a device value. The project storage unit 35 stores project data transferred from the PC 2. The ring buffer 36 periodically collects and stores device values from the device unit 34. When a specific event occurs, the operation record storage unit 37 stores an event record including device values collected around the time of the occurrence (before, after, or around the time of the occurrence) and the time of collection. An event refers to, for example, the satisfaction of an alarm or caution condition set for each device. An alarm condition refers, for example, to a condition that requires the PLC 1 to stop controlling the production line. An caution condition refers, for example, to a device value condition that requires the administrator to pay attention to the PLC 1's control of the production line. The CPU 41 sends an event record to the PC 2 in response to a request from the PC 2. The CPU 31 may also provide device values to the PC 2 in real time. The storage device 32 also stores a control program executed by the CPU 31 of the basic unit 3. As shown in FIG. 3, the basic unit 3 and the expansion unit 4 are connected via a unit internal bus 90, which is a type of expansion bus. Note that the communication function related to the unit internal bus 90 is implemented in the CPU 31, but may also be implemented as part of the communication unit 33. The communication unit 33 may have a serial communication circuit compliant with the USB standard or the like. The CPU 31 receives project data from the PC 2 via the communication unit 33. Note that the ring buffer 36 and operation record storage unit 37 described above may be provided in the expansion unit 4a or 4b.In this case, the CPU 31 of the basic unit 3 may read out the device values periodically updated by the device section 34 and transfer them to a ring buffer provided in the expansion unit 4a or 4b. Also, if the expansion unit 4a or 4b is provided with an operation record storage section, the CPU 31 may transfer the device values collected in the ring buffer to the expansion unit 4a or 4b and store them when a predetermined event occurs. In this way, some or all of the functions of the CPU 31 may be performed by the CPU 41a or CPU 41b.

[0024] Here, we will provide additional information about the unit internal bus 90. This unit internal bus 90 is a communication bus used for input / output refresh. Input / output refresh is a process for updating device values between the basic unit 3 and the expansion unit 4. Input / output refresh is performed each time a ladder program is executed (i.e., each scan).

[0025] The operation record (e.g., device values and their collection times) stored in the operation record storage unit 37 may record the operating status of the PLC 1 at the scan time level. For example, the operation record may record the symbol values and collection times of all symbols related to the operation of the PLC 1 in chronological order for each scan. All symbols related to the operation may be all symbols used in a user program, such as a ladder program, or all symbols included in a program or unit selected by the user. In this case, the symbols to be recorded may be selected collectively in meaningful units, such as a program or unit. Symbols to be recorded may also be added or deleted individually. For example, when a problem occurs, an operation record may be generated in which the symbol values and collection times of all symbols related to the operation of the PLC 1 around the time of the problem are recorded in chronological order for each scan. Based on the operation record, the user may be able to accurately determine what happened at the time of the problem, even later. The operation record may contain a large amount of information required to reconstruct the situation at the time. If there is a lot of information, the data volume of the driving record will become large, making it difficult to handle the driving record (data processing, etc.) and putting a burden on collecting the driving record.For this reason, the symbols to be collected can be selected by the user on a program or unit basis.

[0026] In addition to symbols, operation records may also include a time series of camera images along with the time of capture. This allows users to accurately understand what happened around the time of a problem, for example, by looking back at the time of the problem. In particular, including camera images showing changes in the appearance of the equipment in operation records will be useful for understanding the situation. For this reason, camera images may be recorded in conjunction with the time series of user program execution. Write histories from external devices such as HMIs (human-machine interfaces) and PCs, and write histories from PLCs may also be included in operation records as change-point events. This allows users to check, for example, what change-point events occurred before and after a problem occurred in chronological order.

[0027] From another perspective, the operation record may be referred to as a collective term for data per scan time, such as devices, the buffer memory of the expansion unit 4, variables, etc., that is saved in response to the satisfaction of the save trigger conditions. The operation record may also include video data acquired by the expansion unit (camera unit) for each frame, which is saved in response to the satisfaction of the save trigger conditions. The operation record may also include an event history, such as errors and device value changes, which is saved in response to the satisfaction of the save trigger conditions. Furthermore, the operation record may also include the ladder program (project data) that was being executed when the save trigger conditions were met. By including the project data at the time the operation record was generated in the operation record, even if multiple versions of the project data exist, the situation can be reproduced using the project data that was actually used when the operation record was generated. The operation record may also include an analysis report.

[0028] The expansion unit 4 includes a CPU 41 and a memory 42. The CPU 41b of the expansion unit 4b controls the field device 10 in accordance with instructions (device values) from the basic unit 3 stored in the device. The CPU 41b also stores the control results of the field device 10 in a device called a buffer memory. The control results stored in the device are transferred to the basic unit 3 by input / output refresh. The control results stored in the device may also be transferred to the basic unit 3 in accordance with a read command from the basic unit 3, even at a timing different from the input / output refresh. The memory 42 includes RAM, ROM, etc. In particular, the RAM has a storage area reserved for use as a buffer memory. The memory 42 may also have a buffer that temporarily stores data (e.g., still image data or video data) acquired by the field device 10.

[0029] The CPU 41a of the expansion unit 4a, which functions as a data utilization unit (analysis unit), communicates with the PC 2 via the communication unit 43 and the communication cable 9b. The communication unit 43 includes a communication circuit that performs network communication. The CPU 41a executes a data utilization program stored in the memory 42a and analyzes device values collected by the basic unit 3 to create an analysis report including the analysis results. When a driving record analysis application is set as the data utilization application, the CPU 41a analyzes device values collected by the basic unit 3 to create an analysis report including the analysis results. For example, the CPU 41a analyzes symbol values included in the driving record data to identify abnormal symbols and the time when the symbols became abnormal, and creates an analysis report including analysis results that associate the abnormal symbols with the time when the symbols became abnormal. The driving record data includes information for recreating the situation around the time when a driving record storage event occurred. Therefore, the driving record data may be managed in association with an analysis report. Furthermore, the driving record data includes symbol values of many symbols for recreating the situation around the time when a driving record storage event occurred. Therefore, the data size of driving record data tends to be large. For example, the CPU 41a may read data necessary for an analysis report from the driving record data and add it to the driving record data as data for the analysis report. Here, "additional saving" refers to, for example, reading and copying the data necessary for the analysis report from the driving record data, tagging the copied data, and then adding the data for the analysis report to the driving record data. Applying data processing such as tagging the data in this way makes it easier to create an analysis report.

[0030] The driving record data may include camera images. In this case, by playing back the camera images, the user can understand in more detail the circumstances surrounding the time when a driving record storage event occurred. The analysis report may also include a UI (user interface) for playing back camera images. Camera images have a large data size. Therefore, only necessary camera image data may be partially downloaded when, for example, a click or scroll operation is received in the UI for playing back camera images. For example, when creating an analysis report, the CPU 41a may process the camera images according to the display order in the analysis report, or generate index information indicating the correspondence between the time and the storage location of the camera images. In this way, the CPU 41a may quickly and partially download camera images corresponding to the display time (the time of the internal clock for playback).

[0031] In a narrow sense, an analysis report refers to the analysis results themselves, but in a broad sense, it can refer to a web application or its user interface that displays the analysis results. The CPU 41a determines, for example, whether a device value is within a normal range or whether the timing at which the device value changes is within a normal range. Whether the timing at which a device value changes is within a normal range may be determined, for example, by determining whether the length of time during which the device value is "1" (ON) is within a normal range. It may also be determined whether the number of times the device value changes in a certain process or cycle is within a normal range. If the device values collected from a device do not satisfy the normal conditions, the device may be deemed to be behaving abnormally and may be called an abnormal device. The CPU 41a may create a web-based analysis report and provide it to the web browser of the PC 2 via the communication unit 43 and the communication cable 9b. If the CPU 31 has a protocol conversion function, the CPU 41a may transmit the analysis report to the PC 2 via the unit internal bus 90, the CPU 31, the communication unit 33, and the communication cable 9a. The analysis report may include graph display components, numerical display components, and the like. These display components are realized by markup data (e.g., HTML data) that describes the front-end structure, style data (e.g., CSS data) that describes decoration, and code (e.g., JavaScript (registered trademark) code) that describes dynamic processing. HTML is an abbreviation for HyperText Markup Language. CSS is an abbreviation for Cascading Style Sheets.

[0032] FIG. 4 is a diagram illustrating functions implemented by the CPU 11 of the PC 2. The project editing unit 50 is a function realized by the CPU 11 executing the project editing program 14a. The project editing unit 50 creates project data including a user program according to user instructions input through the operation unit 8. The web server 51 communicates with the web browser 60 according to HTTP (Hypertext Transfer Protocol) and provides display components to the web browser 60. The protocol conversion unit 52 converts HTTP into a predetermined communication protocol. The predetermined communication protocol is the communication protocol used for communication between the communication unit 13a and the communication unit 33. For example, when the web browser 60 requests an analysis report via an HTTP request, the web server 51 passes the HTTP request to the protocol conversion unit 52. The HTTP request is executed by the CPU 41a and includes the URL (Uniform Resource Locator) of the extension unit 4a (web server) that provides the analysis report. The protocol conversion unit 52 encapsulates the HTTP request and converts it into a request signal (command) that can be transmitted using the predetermined communication protocol. This request signal is passed to CPU 31 of basic unit 3, and further to CPU 41a of extension unit 4a. CPU 41a returns an analysis report to CPU 11 via CPU 31. Web server 51 of CPU 11 passes the analysis report to Web browser 60. As a result, Web browser 60 displays the analysis report on display unit 7.

[0033] The download unit 53 downloads operation records and other data from the basic unit 3 and stores them in the storage device 12. The debug unit 54 debugs the user program and displays the debug results on the display unit 7. The ladder monitor unit 56 obtains values stored in symbols described in the user program from the operation records and highlights the values for the symbols in the user program. For example, device values obtained from the operation records may be displayed in association with devices depicted in the ladder diagram of the ladder program. The relationship map unit 55 creates a relationship map indicating devices related to abnormal devices displayed in the analysis report and displays it on the display unit 7. An abnormal device is a device whose device value does not satisfy the normal condition or whose device value change timing does not satisfy the normal condition. The relationship map is, for example, a UI that visually shows the relationship between devices (input devices) that affect the abnormal device and the abnormal device. The relationship map may also display the relationship between devices (output devices) affected by the abnormal device and the abnormal device. The debug unit 54 obtains abnormal devices and their associated devices by analyzing the ladder program and creates a relationship map.

[0034] The reception unit 57 receives editing operations for the user program and operations for debugging processing. The notification processing unit 58 obtains, by polling, whether a notification has been issued in the PLC 1 and displays the obtained notification on the display unit 7. An example of a notification is that an analysis report has been created. The playback unit 59 causes the download unit 53 to download the driving record and store it in the storage device 12 in response to a playback request input from the reception unit 57 or the linking unit 64. The playback request may include, for example, identification information capable of identifying the driving record (e.g., unique identification information or a storage path name in the PLC 1). The playback unit 59 plays back the driving record stored in the storage device 12 and displays it on the display unit 7. The playback unit 59 may have a ladder monitor unit 56 instead of the debugging unit 54. Alternatively, the playback unit 59 may be included in the debugging unit 54. The playback unit 59 may display time-series device values acquired in real time from the PLC 1 as waveforms, or may display time-series device values included in the driving record as waveforms.

[0035] The Web browser 60 may execute a Web application 61 to display the analysis report on the display unit 7. The Web application 61 may be configured, for example, with HTML data, CSS data, and Java® script. The Web application 61 may be provided by the expansion unit 4a. The communication processing unit 62 processes communication with the Web server 51. The data acquisition unit 63 acquires the driving records to be displayed in the analysis report from the project editing unit 50. It is assumed that the driving records have already been saved in the storage device 12 by the download unit 53. The linking unit 64 passes designation information indicating devices designated or selected by the user in the analysis report to the debugging unit 54. This enables the debugging unit 54 to display a relationship map of the abnormal device designated in the analysis report or to display the portion of the ladder program where the abnormal device is described. The user can easily edit the ladder program regarding the abnormal device. The drawing unit 65 displays the analysis report on the display unit 7. The linking unit 64 also performs time management so that the playback time (selection time) in the analysis report and the playback time of the driving record in the project editing unit 50 are synchronized.

[0036] FIG. 5 illustrates functions realized by the CPU 31 and CPU 41a executing a control program in the PLC 1. In the CPU 31, the command processing unit 71 interprets commands received from the PC 2 and executes processing corresponding to the interpretation result. For example, when a request signal created by encapsulating an HTTP request is received, the command processing unit 71 transfers the request signal to the CPU 41a. When a response signal to the request signal is received from the CPU 41a, the command processing unit 71 transfers the response signal to the PC 2. The collection unit 72 collects symbol values (device values and values stored in variables) from the basic unit 3 and the expansion unit 4b and stores them in the ring buffer 36. The logging unit 73 determines whether any error or trouble (abnormal event) has occurred in the PLC 1 based on the collected symbol values. For example, the logging unit 73 may determine whether the collected symbol values satisfy the recording conditions. If the collected symbol values satisfy the recording conditions, the logging unit 73 saves the symbol values as an operation log 76 in the operation record 74. For example, the logging unit 73 creates a folder for storing the driving record 74 and saves the operation log 76 therein. The logging unit 73 reads out, from the project storage unit 35, the project data 75 that was being executed when the driving record was created, and saves it in the driving record 74. Furthermore, the logging unit 73 notifies the analysis unit 83 that the driving record 74 has been created.

[0037] The CPU 31 or 41a may have a setting unit for setting a control cycle used for generating a learning model (described later) and for generating analysis and analysis reports, according to operator input. The control cycle is set by specifying the reference timing of the cycle. The control cycle setting may be referred to as a cycle setting. For example, the cycle setting may include a symbol name that specifies the start timing of the cycle and rising / falling edge information of the symbol value. The cycle setting may include setting information for the start timing of the cycle using a symbol name that specifies the start timing of the cycle and rising / falling edge information of the symbol value, and setting information for the end timing of the cycle using a symbol name that specifies the end timing of the cycle and rising / falling edge information of the symbol value. The control cycle setting by the setting unit may be provided to the PLC 1 in a file format such as CSV, and the setting unit may set the control cycle by reading the CSV file. For example, the control cycle set by the setting unit may be used to classify devices synchronized with the cycle and add the classification information to a model as attribute information, narrow down devices to be analyzed by the control cycle, or generate an analysis report displayed in synchronization with the control cycle. A plurality of control cycles may be set. Also, the control cycle does not necessarily have to be set. For example, if possible values of a symbol value in a normal state are predetermined, whether or not the symbol value is an abnormal symbol may be determined by determining whether or not the symbol value is one of the predetermined possible values.

[0038] In the CPU 41a, the protocol conversion unit 81 converts the protocol of an HTTP request encapsulated and transferred from the PC 2 via the CPU 31 and extracts it from the request signal. The protocol conversion unit 81 encapsulates response information sent from the web server 82 in response to the HTTP request and passes it to the CPU 31. Hereinafter, the web browser 60 of the PC 2 and the web server 82 of the expansion unit 4a can also communicate indirectly via the web server 51, protocol conversion units 52 and 81, command processing unit 71, etc., within the PC 2. The protocol conversion units 52 and 81 may provide a transparent tunnel (e.g., a TCP tunnel). The web server 82 provides the PC 2 with an analysis report created by the analysis unit 83. The analysis unit 83 analyzes the operation log 76 in the driving record 74, creates an analysis result 77, and passes it to the logging unit 73. When the analysis unit 83 creates the analysis result 77, the logging unit 73 adds it to the driving record 74, including the analysis result 77, in addition to the project data 75 and the operation log 76. The driving record 74 is stored in the driving record storage unit 37. In this way, the operation record 74 stores the project data 75, operation log 76, and analysis result 77 associated with each other when an abnormal event occurs in PLC1, making it easier to accurately reproduce the state of PLC1 when the abnormal event occurred. For example, visually reproducing changes in device values on a ladder diagram may make it easier for users to debug ladder programs. In particular, using project data stored in PC2 can make it difficult to accurately reproduce the state of PLC1 when an abnormal event occurred. This is because the project data stored in PC2 may not match the project data 75 executed by PLC1 when the abnormal event occurred. Therefore, the project data 75 executed by PLC1 when the abnormal event occurred is stored in the operation record 74. When the analysis result 77 is issued, the notification issuing unit 84 issues a notification. This notification is sent to the CPU 11.

[0039] <User Interface (UI)> 6 and 7 show the UI 100 of the project editing program 14a displayed on the display unit 7 (the UI 100 is displayed on the display unit 7 by executing the project editing program 14a). The mode selection menu 101 displays multiple modes provided by the project editing program 14a in a selectable manner. The multiple modes include edit mode, monitor mode, replay mode (debug mode), etc. The edit mode shown in FIG. 6 is a mode for editing a ladder program displayed in the program display area 104. The project display area 102 displays information constituting the project. This information includes specification information and setting information for the basic unit 3 and expansion unit 4 constituting the PLC 1, device assignment information, operation record setting information, and the ladder program. In the edit mode, the program display area 104 displays the ladder program specified in the project display area 102 in an editable manner. In FIG. 6, a ladder program having program modules named input section, output section, and machining section state is displayed. In particular, multiple program modules can be selected using tabs 107. In FIG. 6, the tab 107 corresponding to the input section is selected.

[0040] The monitor mode is a mode that waits for a notification issued by the PLC 1. When the extension unit 4a issues a notification indicating that it has created an analysis result, the CPU 11 displays a dialog box or the like for displaying the notification on the display unit 7. The user interface in the monitor mode is basically the same as that in the edit mode.

[0041] 8 shows the notification dialog 108. The notification dialog 108 displays the name of the application or function that issued the notification, the content of the notification, the number of notifications that occurred, the date and time the notification occurred, etc. The notification information for displaying the notification dialog 108 includes the URL of the analysis report. When the display button 109 is pressed, the CPU 11 passes the URL of the analysis report to the web browser 60. As a result, the web browser 60 accesses the web server specified by the URL, obtains the display data (web application 61) of the analysis report, and displays the analysis report.

[0042] 7, the replay mode is a mode in which the operation record is reproduced on a ladder program and the operation record is displayed as a waveform. The pointer 103 moves in conjunction with a user operation on the operation unit 8, and is used to press a button or select an object. For example, when an analysis report displayed in the project display area 102 is double-clicked with the pointer 103, the CPU 11 causes the analysis report to be displayed on the web browser 60.

[0043] In replay mode, the device values included in the operation record are displayed on the ladder program in the program display area 104. In the case of a relay device (bit device), the device value is displayed so that it is visually distinguishable whether it is 0 or 1. Visually distinguishable includes displaying it in a different color or a different icon. In the case of a word device, for example, the device value may be displayed after being decimalized. Alternatively, other numeric display formats may be adopted, such as device values after being decimalized.

[0044] Because device values are time-series data that can change over time, each device value is linked to time information that indicates the time at which it was collected. The seek bar 105a indicates the playback time of the device value, and may be operated with the pointer 103 to specify the playback time. While the driving record is being played back, the seek bar 105a moves from left to right in conjunction with the passage of playback time. The time designation unit 106a is a control object for instructing to advance or rewind the playback time, to start automatic playback, or to stop playback.

[0045] [Analysis Report] 9 shows an analysis report 110 displayed on the display unit 7 by the web browser 60 executing the web application 61. The analysis report 110 is displayed on the display unit 7 together with the UI 100 of the project editing program 14a. In other words, the UI 100 and the analysis report 110 are displayed in separate windows. However, the UI 100 and the analysis report 110 may be displayed in a single window. The analysis report 110 may be displayed on the display unit 7 or on another display device such as a programmable display, a tablet, or a smartphone.

[0046] The detection map 111 displays the start and end timings for each of the multiple processes executed by the PLC 1. Generally, the period from the start timing to the end timing is called a cycle. In FIG. 9, a horizontally extending rectangle indicates the period (cycle) during which the process is being executed. The left rectangle indicates the oldest data, and the right rectangle indicates the newest data. The time bar 112a indicates the timing when a drive record data save trigger occurred. As described above, the drive record data contains data collected before the save trigger occurred and data collected after the trigger. Therefore, data is displayed before and after the time bar 112a. Meanwhile, the time bar 112e indicates the currently selected time and can be moved (left or right) to the desired time by the user's drag operation or drag-and-drop operation. Instead of drag-and-drop, the time bar 112e may jump to the desired position when the user clicks on the detection map. In this way, the user can update the display of the analysis results by operating the time bar 112e. In accordance with the operation of the time bar 112e, at least one or all of the detection list 114, the image display area 113, and the analysis comment 116, which will be described later, may be updated in conjunction with each other (time synchronized), and the corresponding analysis results may be displayed. The time bars 112a and 112e may be drawn in different colors, or may be drawn using solid and dashed lines. This improves the distinguishability of the time bars 112a and 112e.

[0047] Here, two circles are shown in step 1 of the detection map 111, which indicate the timing when the detection target devices became in an unusual state. The circle on the left indicates the timing when devices R001 and MR001 became in an unusual state (both at 14:50:45). The circle on the right indicates the timing when device R004 became in an unusual state (14:59:01). Figure 9 shows a state in which the user has selected the device column for R004 in the detection list 114, and the time bar 112e of the detection map 111 is displayed in a position overlapping with the circle on the right.

[0048] The display position of the time bar 112e on the detection map 111 is linked to the user's device selection in the detection list 114. When the device field for MR001 is selected (clicked) in the state shown in Fig. 9, MR001 is highlighted and the time bar 112e on the detection map 111 moves to a position where it overlaps with the leftmost circle of the two circles, as shown in Fig. 10 (the same applies when the device field for R001 is selected). Furthermore, in response to the movement of the time bar 112e, the time bar 112f on the detection list also moves up by one position (linked).

[0049] An abnormal state is, for example, when a device value deviates from its normal range, or when the timing or frequency of device value changes deviates from the normal range. In a manufacturing factory, the same products are mass-produced every day. In other words, the same process is repeated over and over again. Therefore, detecting and displaying abnormal states is extremely useful for improving ladder programs and reviewing production equipment. The normal range (normal condition) that defines the normal state (normal state) may be defined by master data or by the learning results of device values. In the detection map 111, the rectangles representing processes move from right to left as time passes (as mentioned above, the left represents the older time and the right represents the newer time).

[0050] The image display area 113 displays camera images acquired by the PLC 1. The camera images may also be included in the driving record. In FIG. 9, the camera images of the master data and the current camera images are displayed for comparison. Because the camera images are also time-series data, the seek bar 105b indicates the playback time of the camera images and moves from left to right as the playback time elapses. The time bar 112b indicates the selected time. In FIG. 9, it indicates the time when the detection target device R004 entered an unusual state. The time designation unit 106b is a control object for instructing the user to advance or rewind the playback time of the camera images, start playback, or stop playback. The link unit 64 and the playback unit 59 manage the playback time of the detection map 111, the playback time of the camera images, and the playback time on the UI 100 so that they are synchronized. This ensures that the playback time on the UI 100 matches the playback time on the analysis report 110.

[0051] The detection list 114 indicates devices that have entered an abnormal state and the time at which that state occurred (the time at which the device value was collected). When the CPU 11 detects a click on a device displayed in the detection list 114, the CPU 11 may switch the operation mode of the project editing unit 50 to replay mode. The CPU 11 passes the identification information of the clicked device, playback time information (the time at which the device value was collected), and information identifying the driving record to be analyzed (such as a storage path) to the debugging unit 54. This causes the system to transition to replay mode using the driving record to be analyzed, and at this time, the playback time of the analysis report 110 and the playback time information of the project editing unit 50 are synchronized. As a result, as shown in FIG. 7, the driving record 74 is played back in association with the ladder program. Note that FIG. 7 corresponds to the display screen when the replay mode of the UI 100 is activated with device R004 selected in the detection list 114 of FIG. 9. The seek bar 105a in FIG. 7 indicates the time (14:59:01) at which device R004 entered an abnormal state. Furthermore, the program display area 104 displays the status of each device at this time (14:59:01) in a visually distinguishable manner. Note that the project editing unit 50 may already be operating in replay mode before the analysis report 110 is displayed. In this case, when an abnormal device is selected in the analysis report 110, the CPU 11 passes the time at which the abnormal state (an event that is different from usual) occurred to the project editing unit 50, and the project editing unit 50 may read out the device value synchronized with that time from the storage device 12 and display the device value on the ladder program.

[0052] 9, the time bar 112c indicates the timing (14:59:06) when the drive record data save trigger occurred. As described above, the time bar 112f is linked to the time indicated by the time bar 112e in the detection map 111. For example, if the time bar 112e is moved to the left of the circle on the left, the time bar 112f in the detection list 114 will move to a position where it overlaps with the top line of the device column for R001.

[0053] 10 and 11 are explanatory diagrams for explaining how the analysis report 110 (FIG. 9) and the UI 100 (FIG. 7) of the project editing program 14a are linked together. As described above, FIG. 7 corresponds to the display screen when the replay mode of the UI 100 is activated with the device R004 selected in the detection list 114 of FIG. 9.

[0054] 10, when the user selects (clicks) MR001 in the detection list 114, the time bar 112e moves accordingly in the detection map 111. As the time bar 112e moves, the time bar 112f also moves up one space. As the time bar 112e moves, the time bar 112b in the image display area 113 also moves to the left (linked display). Furthermore, the display of the analysis comment 116, which will be described later, also changes in response to the selection of MR001. Details will be provided later.

[0055] 11, the seek bar 105a moves slightly to the left (earlier in time) than in FIG. 7. At this time, the seek bar 105a indicates the time (14:50:45) when the device MR001 entered an unusual state. In this way, the linking unit 64 synchronizes and displays the time specified by the time bars 112e and 112f of the analysis report 110 with the playback time of the driving record (the time specified by the seek bar 105a).

[0056] Note that Figures 10 and 11 explain the linked display when the UI100 of the project editing program 14a has been launched in advance. However, for example, if the device column for MR001 is selected in the detection list 114 of the analysis report 110 and then the UI100 is launched, the UI100 will be launched in the changed state shown in Figures 10 and 11.

[0057] 10, the user selects one device from the detection list 114, but multiple devices may be selected. In this case, the same processing is performed as when the top-level device (the oldest device in terms of time) is selected. That is, for example, if the replay mode of the UI 100 is activated with both MR001 and R004 selected, the UI 100 is activated in the changed state shown in FIG. 11. The concept of time-synchronized playback in this specification includes synchronized playback of the time index specified by the time bar 112f and the playback time index of the driving record. In other words, it is also possible to synchronize playback of indexes representing time, rather than the time itself.

[0058] 12, the CPU 11 may read the name of the abnormal device and its device comment 115 from the project data and display them in the detection list 114. The device comment 115 indicates the use of the device, etc. Therefore, the user will be able to easily understand the use of the abnormal device, etc.

[0059] The analysis comment 116 displays comments included in the analysis results, master data, and time-series data of the current device value for the device selected in the detection list 114. The data displayed in the analysis comment 116 is data for one control cycle. The time bar 112d indicates the timing when an unusual state occurred.

[0060] 9 and 12 show data for one control cycle in which an unusual state occurred for device R004. More specifically, in the master data, two changes, OFF → ON and ON → OFF, occur in one control cycle, whereas in the current data, no changes occur at all. Therefore, the time bar 112d is displayed at the time when the unusual state occurred, i.e., when the device changed from OFF to ON.

[0061] 9 and 12, when the user selects (clicks) MR001 in the detection list 114, the display switches to that shown in Fig. 10. Fig. 10 shows that an unusual state has occurred in the device of MR001. Note that in this embodiment, the time bars 112e, 112b, and 112f all indicate the same timing.

[0062] <Industrial wireless system> An industrial wireless system according to an embodiment of the present invention will be described below. In the above embodiment, data is collected from field devices 10 connected to a PLC 1 and analyzed. However, this is merely an example. The PLC 1 may also collect and analyze data from other PLCs, field devices, etc. connected via a network. To do this, the PLC 1 (first industrial device) must be able to communicate with devices (hereinafter referred to as target devices (second industrial devices)) from which data is to be collected, such as other PLCs 1, via an industrial network.

[0063] 13 shows network devices required to connect the PLC 1 to an industrial wireless network. The industrial wireless system 200 includes, for example, the PLC 1, a master unit 201, and an industrial wireless network 204 (FIG. 14).

[0064] The master device 201 is an example of a primary wireless node, and is a management device that manages the settings of a plurality of wireless slave devices, etc. The master device 201 has a WAN port (LAN port 38d) and LAN ports 38e to 38h.

[0065] The LAN port 38d is an Ethernet port for connecting to a higher-level network such as the Internet or an intranet. The LAN ports 38e to 38h are Ethernet ports for connecting to at least one of the wireless slave devices that form the industrial network. In this example, the LAN port 38e is connected to the LAN port 38a of the basic unit 3.

[0066] The expansion unit 4c is an expansion unit for increasing the number of network devices that can be connected to the basic unit 3. The expansion unit 4c has multiple LAN ports 38b, 38c, and is sometimes called an Ethernet (registered trademark) unit. As a result, the basic unit 3 has three LAN ports 38a, 38b, and 38c. The LAN ports 38b and 38c may be connected to the parent device 201, for example, or to a backbone server (e.g., a relational database server, a Web server, or an FTP server) or a display (a monitor device that displays device values of PLC1).

[0067] 14 shows an industrial wireless network 204 connected to a master unit 201. The PLC 1 and master unit 201 are housed in a control panel 208, which is a shielded case.

[0068] The slave devices 202 (slave devices 202a to 202f) are an example of a wireless slave device. The slave devices 202a to 202f are each the same network device, but their roles in the industrial wireless network 204 may differ depending on their connection positions in the network topology and the settings made by the master device 201. The slave devices 202a to 202f may also be called wireless nodes. Here, the slave device 202a is connected to the master device 201 by wire and is therefore an example of a primary wireless node. On the other hand, the slave devices 202b to 202f are connected wirelessly to the slave device 202a and are therefore examples of secondary wireless nodes.

[0069] The slave device 202a is wiredly connected to the LAN port 38e of the master device 201 via a network cable, which is a wired communication interface. By being wiredly connected to the master device 201, which is a controller, the slave device 202a operates as a wireless module of a primary wireless node. The slave device 202a can also be disconnected from the master device 201 via a wired connection, in which case it operates as a secondary wireless node. The slave device 202a is connected to a target device 203a (e.g., another PLC1, a field device, etc.) via a network cable and transfers operation data of the target device 203a to the PLC1. The target device 203a may be, for example, a power meter for measuring the power of a device (such as a flow meter or a processing device) used in an FA site. In this case, the operation data transferred from the power meter to the PLC1 may include, for example, data such as integrated active power, current, voltage, power factor, frequency, and integrated reactive power. Furthermore, an Ethernet-compatible communication unit may be provided as part of the PLC 1, and various operational data may be transferred from a power meter wired to any of the slave devices 202a to 202f to the Ethernet-compatible communication unit via the industrial wireless network 204. It is not essential that the target device 203a be connected to the slave device 202a. Furthermore, the slave device 202a can wirelessly communicate with one or more of the other slave devices 202b and 202d via the first wireless communication interface. When the slave device 202a receives a request (including a transfer request) from the PLC 1 via the master device 201, the slave device 202a operates in accordance with the request, transfers the request to the other slave devices 202b to 202f, and transfers responses from the other slave devices 202b to 202f to the PLC 1 via the master device 201.

[0070] The slave device 202b is a network device that performs wireless communication with the slave devices 202a and 202c and wired communication with the target device 203b. The target device 203b does not need to be connected. The slave device 202b relays communication signals between the slave devices 202a and 202c and transfers operation data of the target device 203b to PLC1 via the slave device 202a and the master device 201. When the slave device 202b receives a request from PLC1 via the master device 201, it operates according to the request, transfers the request to another slave device 202c, and transfers a response from the other slave device 202c to PLC1 via the master device 201.

[0071] The slave device 202c is a network device that performs wireless communication with the slave device 202b and wired communication with the target device 203c. The target device 203c does not need to be connected. The slave device 202c transfers operation data of the target device 203c to the PLC 1 via the slave devices 202b, 202a, and the master device 201. When the slave device 202c receives a request from the PLC 1 via the master device 201 and the slave devices 202a and 202b, it operates in accordance with the request, creates a response to the request, and transfers it to the PLC 1 via the slave devices 202a, 202b, and the master device 201.

[0072] The slave device 202d is a network device that performs wireless communication with the slave devices 202a, 202e, and 202f. A target device may also be connected to the slave device 202d. The slave device 202d relays communication signals between the slave devices 202a and 202e, and between the slave devices 202a and 202f. When the slave device 202d receives a request from the PLC 1 via the master device 201 and the slave device 202a, the slave device 202d operates according to the request, forwards the request to the other slave devices 202e and 202f, and forwards responses from the other slave devices 202e and 202f to the PLC 1 via the master device 201.

[0073] The slave device 202e is a network device that performs wireless communication with the slave device 202d and wired communication with the target device 203e. The target device 203e does not need to be connected. The slave device 202e transfers operation data of the target device 203e to the PLC 1 via the slave device 202d, the slave device 202a, and the master device 201. When the slave device 202e receives a request from the PLC 1 via the master device 201 and the slave devices 202a and 202d, it operates in accordance with the request, creates a response to the request, and transfers the response to the request to the PLC 1 via the slave devices 202a, 202d, and the master device 201.

[0074] The slave device 202f is a network device that performs wireless communication with the slave device 202d and wired communication with the target device 203f. The target device 203f does not need to be connected. The slave device 202f transfers operation data of the target device 203f to PLC1 via the slave device 202d, the slave device 202a, and the master device 201. When the slave device 202f receives a request from PLC1 via the master device 201 and the slave devices 202a and 202d, it operates according to the request, creates a response to the request, and transfers it to PLC1 via the slave devices 202a, 202d, and the master device 201.

[0075] In this way, by constructing the industrial wireless network 204, the PLC1 can not only collect operation data from the expansion units 4 and field devices 10 connected to it, but also collect operation data from target devices including other PLC1s connected via the industrial wireless network 204.

[0076] Each of the slave devices 202a-202f may be connected to another PC2 and relay communication between the other PC2 and the PLC1. The other PC2 may function as a simple display (simple monitor) that displays operational data of the PLC1. Here, the industrial wireless network 204 may be a wireless mesh network. Generally, a wireless mesh network is a network in which multiple slave devices 202a-202f are connected to each other via wireless communication and transmit packets via multi-hop communication. In other words, a mesh-like topology is formed throughout the network by wirelessly connecting adjacent slave devices that can communicate with each other, and packets are transmitted between one or more slave devices in a bucket brigade-like fashion. A wireless mesh network is characterized by its robustness against communication failures compared to other wireless networks, since it can switch to an alternative route if communication becomes unavailable along a specific route. The following provides additional information using FIG. 14.

[0077] 14, the slave devices 202a to 202f may store, for example, a "destination table" and a "next hop table." The "destination table" is a table in which destination terminals such as the parent device 201 and the target devices 203a to 203f (their MAC addresses) are associated with wireless nodes (slave devices 202a to 202f) connected by wire. When constructing a wireless mesh network, the parent device 201, for example, by transmitting a broadcast packet, identifies the existence (MAC addresses, etc.) of all the target devices 203a to 203f included in the wireless mesh network, and distributes information on the wireless nodes connected by wire to the target devices 203a to 203f to the slave devices 202a to 202f. The "destination table" may be updated by transmitting a broadcast packet when communicating with a specific target device for the first time.

[0078] The "next hop table" is a table stored individually in each of the slave devices 202a to 202f, and determines to which nearby slave device a packet should be forwarded next (i.e., the next forwarding destination of the packet). When constructing the industrial wireless network 204, the master device 201 determines a packet forwarding path (e.g., a tree shape) and a next hop table that assumes that path, and also determines next hop tables for the slave devices 202a to 202f and distributes them to each slave device. For example, the next hop table stored in the slave device 202e contains information that the next forwarding destination of a packet whose destination node is set to "slave device 202a" is "slave device 202d."

[0079] In this embodiment, the parent device 201 is provided with the function of determining the packet forwarding path and the next hop table, but for example, the function may be provided in the child device 202a connected to the parent device 201 by wire. In other words, when the child device 202a is not connected to the parent device 201 by wire, it has the same functions as the other child devices 202b to 202f, but when it is connected to the parent device 201 by wire, it may perform a function different from that of the other child devices 202b to 202f (for example, the function of determining the packet forwarding path and the next hop table described above). For example, a specific program may be executed only in the child device 202a connected to the parent device 201 by wire in order to perform the function of determining the packet forwarding path and the next hop table described above.

[0080] An example of packet forwarding will be described. Considering packet forwarding from target device 203e to parent device 201, target device 203e first forwards the packet to child device 202e, which is connected to it by wire. Child device 202e references the destination table and recognizes that the packet should be delivered to child device 202a, which is connected to parent device 201 by wire. Next, child device 202e references the next hop table and recognizes that in order to deliver the packet to child device 202a, it should send the packet to child device 202d as the next forwarding destination. Child device 202e then forwards the packet to child device 202d, which is the next packet forwarding destination. Thereafter, the same process is repeated at child device 202d, and the packet arrives at child device 202a. Child device 202a references the destination table and recognizes that a packet addressed to parent device 201 has arrived at itself, and forwards the packet to parent device 201, which is connected to it by wire. In this way, packets are transferred in a bucket brigade fashion.

[0081] Another example of packet forwarding will be described. Considering packet forwarding from target device 203e to target device 203f, first, target device 203e forwards the packet to slave device 202e, which is connected to target device 203f by wire. Slave device 202e references the destination table and recognizes that the packet should be delivered to slave device 202f, which is connected to target device 203f by wire. Next, slave device 202e references the next hop table and recognizes that, in order to deliver the packet to slave device 202f, it should send the packet to slave device 202d as the next forwarding destination. Slave device 202e then forwards the packet to slave device 202d, which is the next packet forwarding destination. Slave device 202d repeats the same process, and the packet arrives at slave device 202f. Slave device 202f references the destination table and recognizes that a packet addressed to target device 203f has arrived at itself, and forwards the packet to target device 203f, which is connected to it by wire. In this way, by using the "next hop table", it is possible to perform wireless communication without going through the slave device 202a connected to the master device 201.

[0082] The master device 201 (or slave device 202a), which is a primary wireless node, may periodically monitor the communication status (e.g., packet delay time, number of hops, radio wave congestion, radio wave strength, etc.) between slave devices in the industrial wireless network 204, thereby dynamically optimizing the network configuration of the industrial wireless network 204. In other words, the master device 201 (or slave device 202a) may dynamically generate and update the next hop table. For example, if deterioration of the communication status between slave device 202d and slave device 202e is recognized for some reason (such as the placement of an object that causes radio wave interference or radio wave disturbance), slave device 202e searches for other slave devices with which wireless communication is possible. For example, when slave device 202b is found, a route that passes through slave device 202b is determined and updated as the packet transfer route from slave device 202e to slave device 202a. Then, the parent device 201 (or the child device 202a) determines and updates a next hop table that assumes the updated packet forwarding route, and also determines and updates next hop tables for the child devices 202a to 202f, and distributes the updated next hop tables to each child device.

[0083] Note that the function of periodically monitoring the communication status between slave devices, as well as the function of determining the packet forwarding path and the next hop table, may be provided not in master device 201 but in slave device 202a connected to master device 201 by wire. In the above example, packet forwarding using both the "destination table" and the "next hop table" has been described, but this is merely an example.

[0084] The slave devices 202a to 202f also have a NAT (Network Address Translation) function. The NAT function converts source or destination IP addresses on a network path, for example, at the boundary between different networks. By using the NAT function, it is possible to achieve a favorable network configuration while avoiding IP address duplication without converting the IP addresses of existing equipment in a factory or the like. These NAT functions can be enabled or disabled in each slave device. When the NAT function is disabled, the slave devices 202a to 202f operate in a mode without an IP address (operating with an IPv6 address and therefore not consuming an IPv4 address). On the other hand, when the NAT function is enabled, the slave devices 202a to 202f operate in a mode with an IP address (consuming an IPv4 address). According to this embodiment, the NAT function is disabled in the slave device 202a connected to the master device 201 by wire, and is enabled in the other slave devices 202b to 202f. Since the slave device 202a operates as a primary wireless node, it is desirable to restrict the setting to enable the NAT function.

[0085] <Reducing congestion on the industrial wireless network 204> As shown in FIG. 14, when a large number of slave devices 202 join the industrial wireless network 204, the industrial wireless network 204 becomes congested, causing delays in communication packets sent and received between PLC1 and multiple target devices 203 and resulting in packet loss. For example, if some of the time-series device values set to be collected at regular update intervals are lost, gaps in the time-series data occur in PC2, which is a programmable display device, and PLC1, which is a data utilization unit. This may make accurate display and analysis impossible. Furthermore, when PC2 joins the industrial wireless network 204, the congestion of the industrial wireless network 204 may become even more serious. On the other hand, the slave device 202 has an access point function. For example, WLAN module 223a may connect to the industrial wireless network 204, and WLAN module 223c may operate as an access point.

[0086] Therefore, in this embodiment, the industrial wireless network 204 that transfers data between the PLC1 and the target device 203 is separated from the wireless network accessed by the PC2, thereby suppressing congestion on the industrial wireless network 204. This suppresses delays in data transfer in the industrial wireless system, making it possible to smoothly display data on mobile devices such as the PC2.

[0087] FIG. 35 is a diagram showing an example of building two types of wireless networks. Here, PLC1 including a data utilization unit is denoted as PLC1a. PLC1a is wired to a master unit 201. Master unit 201 is wired to slave unit 202a via a network cable 600. Slave units 202a, 202b, and 202c build an industrial wireless network 204, which is a wireless mesh network. PLC1a collects various data (e.g., device values) required for analysis from PLC1b via master unit 201 and industrial wireless network 204, analyzes the collected data, and stores the analysis results.

[0088] Furthermore, slave device 202a, slave device 202b, and slave device 202c respectively construct wireless LAN networks 901a, 901b, and 901c. PC 2 connects to any of wireless LAN networks 901a, 901b, and 901c, accesses PLC 1a, obtains analysis results, and displays them on display unit 7.

[0089] Alternatively, PC2 may connect to any one of wireless LAN networks 901a, 901b, and 901c, access PLC 1b, acquire real-time data, and display it on display unit 7. PC2 may connect to any one of wireless LAN networks 901a, 901b, and 901c, access PLC 1b, read and edit the ladder program, and then transfer and write the ladder program back to PLC 1b. Furthermore, PC2 may connect to any one of wireless LAN networks 901a, 901b, and 901c, access PLC 1b, send a test run command to PLC 1b, and debug the ladder program.

[0090] Here, the network identification information (SSID) of the wireless LAN networks 901a, 901b, and 901c may be the same or different. When it is desired to allow a specific PC2 to access a specific slave device 202 (e.g., slave device 202a), only a specific SSID is set for the specific PC2 and the specific slave device 202 (e.g., slave device 202a). This allows the specific PC2 to access only the specific slave device 202.

[0091] (1) Structure of the base unit FIG. 15 shows the electrical structure of the parent device 201. The CPU 210 controls the LAN module 212 in accordance with a program stored in the storage device 211. The LAN module 212 is a wired communication circuit (network communication circuit) that performs wired communication with other network devices connected to the multiple LAN ports 38d to 38h. The CPU 210 has at least one processor core (processing circuit). The storage device 211 has a read-only memory (ROM) and a random access memory (RAM). The ROM is an example of non-volatile memory. The RAM is an example of volatile memory.

[0092] 16 shows the functions of the CPU 210. The CPU 210 realizes various functions in accordance with a program 250 stored in a storage device 211. All or part of these various functions may be implemented by a separate logic circuit (ASIC, FPGA) different from the CPU 210. ASIC is an abbreviation for application-specific integrated circuit. FPGA is an abbreviation for field-programmable gate array.

[0093] The memory management unit 230 reads predetermined data from the memory device 211 and writes predetermined data to the memory device 221 .

[0094] The slave unit management unit 231 manages the slave units 202a to 202f connected to the industrial wireless network 204. In particular, the request transmission unit 232 may request a specific slave unit 202 to turn on its indicator light or change the lighting state of its indicator light. The slave unit search unit 233 searches for a slave unit 202a that is directly connected to the master unit 201 via a network cable. Such a slave unit 202a may be called a direct node or a root node. The slave unit registration unit 234 registers slave unit specific information (e.g., product serial number, MAC address) of a slave unit that is newly added to the industrial wireless network 204 in the slave unit list 253 via the memory management unit 230.

[0095] The memory allocation unit 248 reserves a memory area or a memory variable based on the memory map and stores predetermined information therein. The memory map is setting information that maintains the relationship between the memory area or memory variable (e.g., device memory (sometimes simply called a device)) reserved in the storage device 211 and the information (e.g., device value) stored therein, and is set in advance via the PC 2. For example, a device memory named DM11200 stores information indicating the operating status (e.g., normal, warning, abnormal) of the slave device 202a. A device memory named DM11201 stores the reception strength of radio waves from the slave device 202a. A device memory named DM11300 stores information indicating the operating status (e.g., normal, warning, abnormal) of the slave device 202b. A device memory named DM11301 stores the reception strength of radio waves from the slave device 202b. The device memory named DM11400 stores information indicating the operating status (e.g., normal, warning, abnormal) of the slave device 202c. The device memory named DM11401 stores the reception strength of radio waves from the slave device 202c. The same applies to the slave devices 202d to 202f. In this example, the status information group 255 indicates the individual status information of the slave devices 202a to 202f stored in the device memory allocated based on the memory map.

[0096] The communication management unit 235 is an instance of a program module for the parent device 201 to communicate with the child device 202. The communication management unit 235 processes communication packets between the parent device 201 and the child device 202 in accordance with a predetermined communication protocol. The child device management unit 231 described above communicates with the child device 202 through the parent device / child device communication unit 236 of the communication management unit 235. The NAT unit 237 is an address conversion module that converts the addresses of communication packets. For example, the NAT unit 237 converts the network addresses and port numbers of packets transmitted and received between the LAN port 38d, which is a port for the WAN, and the LAN ports 38e to 38h, which are ports for the LAN. The communication management unit 235 may generate an IPv6 address based on its own MAC address.

[0097] The setting screen management unit 238 provides various setting screens to the PC 2 connected to the LAN ports 38e to 38h or the PC 2 connected to the slave device 202. The setting screens may be realized by a Web user interface. Examples of setting screens include a setting screen for setting the industrial wireless network 204 and a setting screen for setting the indicator light of the slave device 202. The user input accepting unit 239 accepts user input from the PC 2 connected to the LAN ports 38e to 38h or the PC 2 connected to the slave device 202. The screen providing unit 240 provides a setting screen (e.g., a Web page) to the PC 2 connected to the LAN ports 38e to 38h or the PC 2 connected to the slave device 202. The screen providing unit 240 may be, for example, a Web server.

[0098] The setting management unit 241 includes a setting storage unit 242 and a setting reflection unit 243 for each unit. The setting storage unit 241 stores setting contents input by the user. The setting contents here include, for example, contents related to IP address conversion. The setting reflection unit 243 distributes the setting contents stored in the setting storage unit 241 to each of the slave devices 202a to 202f and reflects them. When reflecting the setting, the setting reflection unit 243 transmits a request to each of the slave devices 202a to 202f to restart, and when communication is established after the restart, distributes the setting to each of the slave devices 202a to 202f.

[0099] The storage device 211 stores not only the program 250 but also various other information. The master device specific information 251 is network identification information (e.g., MAC address) or a serial number assigned to the master device 201. The mesh network identifier 252 is a network identifier of the industrial wireless network 204 constructed as a wireless mesh network. The slave device list 253 is a list of slave device specific information of the slave devices 202 that are permitted by the master device 201 to participate in the industrial wireless network 204. The setting information 254 includes the wireless frequency band, wireless channel, IP address, etc. used in the industrial wireless network 204. The mesh network identifier 252 may be included in the setting information 254.

[0100] The status collection unit 245 collects individual status information indicating the operating status of the slave units 202a to 202f registered in the slave unit list 253, creates status information group 255, and stores it in the storage device 211. As described above, the status collection unit 245 may store the individual status information collected from the slave units 202 in device memory allocated by the memory map. Here, the status collection unit 245 may collect individual status information in parallel from multiple slave units 202 and store it in the device memory. As a result, multiple pieces of individual status information collected from multiple slave units 202 may be substantially time-synchronized.

[0101] The device memory is substantially directly accessed by the PLC 1. Therefore, the collection unit 72 can collect the state information group 255 stored in the device memory of the master device 201.

[0102] The status information group 255 held in the master unit 201 may be collected by the collection unit 72 of the basic unit 3 and recorded by the logging unit 73 as part of the operation record 74. The collection unit 72 collects the device values in the PLC 1 and the status information group 255 from the master unit 201 in parallel. Therefore, the collection time of the device values in the PLC 1 and the collection time of the status information group 255 are substantially synchronized in time.

[0103] The analysis unit 83 may analyze the individual status information of the slave units 202a to 202f included in the status information group 255 and store the results in the analysis result 77. The Web server 82 may provide the PC 2 with the individual status information of the slave units 202a to 202f along with graphs created from time-series data of the device values to display the graphs. The Web server 82 may provide the PC 2 or the programmable display with display data (e.g., HTML files, CSS files, image data, scripts, etc. for displaying graphs) of the device values collected in the PLC 1 by the collection unit 72 in real time and the status information group 255 collected from the master unit 201 by the collection unit 72 in real time. The Web server 82 may provide the PC 2 or the programmable display with display data (e.g., HTML files, CSS files, image data, scripts, etc. for displaying graphs) of the analysis results (analysis report) of the device values collected in the PLC 1 by the collection unit 72 and the status information group 255 collected from the master unit 201 by the collection unit 72.

[0104] (2) Structure of the handset FIG. 17 shows the electrical structure of the slave device 202. The CPU 220 controls the WLAN modules 223a to 223c and the LAN module 222 according to a program stored in the storage device 221. The CPU 220 has at least one processor core (processing circuit). The WLAN modules 223a to 223c are wireless communication circuits (wireless network communication circuits) that perform wireless communication with other wireless network devices. The WLAN modules 223a to 223c may each be an independent wireless communication circuit, or may be a wireless communication circuit virtually implemented by the SDR 226. In the case of a virtually implemented wireless communication circuit, the antennas 225a, 225b, and 225c may be shared. SDR is an abbreviation for software defined radio. The SDR 226 implements various wireless communication circuits by rewriting the contents of the software. The WLAN modules 223a to 223c communicate with other slave devices 202 and the PC 2 via antennas 225a, 225b, and 225c, respectively. In this example, the WLAN modules 223a-223c are connected to the antennas 225a, 225b, and 225c in a one-to-one relationship, but this is merely an example. For example, by using a multiplexer, the WLAN modules 223a-223c and the antenna 225a may share an antenna provided for each wireless band (e.g., 2.4 GHz, 5 GHz). Amplifiers, filters, frequency conversion circuits, etc. are arranged between the SDR 226 and the antennas 225a, 225b, and 225c, but these are not shown here. The LAN module 222 is a wired communication circuit (network communication circuit) that performs wired communication with other network devices (e.g., the parent device 201, industrial equipment) connected to the LAN port 38i. The indicator light 224 includes one or more light-emitting elements (e.g., light-emitting diodes, organic EL) that indicate the status of the child device 202 and a lighting control circuit. The memory device 221 has ROM and RAM.

[0105] The CPU 220 also has the above-mentioned NAT function. The CPU 220 is provided between the WLAN modules 223a to 223c (wireless connections) and the LAN module 222, and converts addresses to different networks using the NAT function in accordance with specified rules, enabling mutual communication between the networks.

[0106] The WLAN module 223a is, for example, a wireless local area network module for backhaul communication between the slave devices 202. The network identifier (e.g., SSID) of the WLAN module 223a is the mesh network identifier 281 of the industrial wireless network 204. The WLAN module 223a operates as an access point (AP) and also as a station (STA).

[0107] The WLAN module 223b is, for example, a module for wirelessly communicating with other slave devices 202 to execute communication for adding the other slave devices 202 to the industrial wireless network 204. Alternatively, the WLAN module 223b is, for example, a module for wirelessly communicating with other slave devices 202 to execute communication for adding the other slave devices 202 to the industrial wireless network 204 in which the other slave devices 202 are participating. In this case, an initial mesh network identifier 282 (dedicated to the addition process) is set in the WLAN module 223b. If the slave device 202 has already participated in the industrial wireless network 204, the WLAN module 223b of the slave device 202 may function as a second access point and provide a second wireless communication interface. If the slave device 202 is about to participate in the industrial wireless network 204, the WLAN module 223b of the slave device 202 functions as a second station. 17, WLAN module 223b and other WLAN modules 223a and 223c appear to be physically separate modules, but this is merely an example. The present invention is not limited to this, and these modules may be physically configured within a single module (e.g., an integrated circuit) but may be logically separate modules. In other words, they may be physically configured as a single module by using virtual AP technology or the like.

[0108] The WLAN module 223c is a module used to connect, for example, an external terminal (e.g., a notebook PC2, a tablet terminal, or a smartphone) to the industrial wireless network 204. The WLAN module 223c may function as, for example, a third access point. Note that the WLAN modules to be connected to the networks can be freely combined.

[0109] FIG. 18 shows the functions of the CPU 220. The CPU 220 realizes various functions in accordance with the program 280 stored in the storage device 221. The storage management unit 260 reads predetermined data from the storage device 221 and writes predetermined data to the storage device 221. When updating the program 280, an update file may be wirelessly transferred from the parent device 201 to the child device 202. Specifically, the user may issue an instruction to update the program of the child device 202 via a Web screen provided by the parent device 201, for example, the screen of the PC2. The parent device 201 may store the program 280 (system program) of the child device 202, and may update the program by transferring the program 280 stored in the parent device 201 to the child device 202 upon receiving a user instruction (instruction signal) from the PC2.

[0110] The slave unit management unit 261 manages various functions of the slave unit 202. The indicator light operation unit 262 controls the display color and lighting mode (blinking, continuous lighting, etc.) of the indicator light 224. The additional slave unit connection unit 263 is a module that establishes a communication link with other slave units 202 that wish to be added to the industrial wireless network 204. The additional slave unit connection unit 263 assigns an initial mesh network identifier 282 (dedicated to addition processing) to the WLAN module 223b and connects the other slave units 202 to a network dedicated to adding slave units. Note that the mesh network identifier 282 is a mesh network identifier dedicated to addition processing that is known to all slave units 202. The additional slave unit connection unit 263 may operate only when the master unit 201 permits or instructs it to add a slave unit 202. The request reception unit 264 receives a request from the master unit 201 via the master / slave communication unit 266 of the communication management unit 265 and the WLAN module 223a. These requests include a request to transition from normal mode to sub-unit addition mode, an acquisition request to acquire the unique information 283 from the sub-unit 202 to be added, a request for settings related to IP address conversion, a request to restart the sub-unit, and a request to highlight the indicator light 224 of the sub-unit 202 to be added.

[0111] The memory allocation unit 278 reserves a memory area or a memory variable based on the memory map and stores predetermined information therein. The memory map is setting information that maintains the relationship between the memory area or memory variable (e.g., device) reserved in the storage device 221 and the information (e.g., device value) stored therein, and is set in advance by the PC 2 via the parent device 201. For example, in the storage device 221 of the child device 202a, a device named DM11200 stores information indicating the operating status of the child device 202a (e.g., normal, warning, abnormal). In the storage device 221 of the child device 202a, a device named DM11201 stores the reception strength of radio waves from the child device 202a. In the storage device 221 of the child device 202b, a device named DM11300 stores information indicating the operating status of the child device 202b (e.g., normal, warning, abnormal). In the device named DM11301, the reception strength of radio waves from the child device 202b is stored. In the storage device 221 of the slave device 202c, a device named DM11400 stores information indicating the operating status of the slave device 202c (e.g., normal, warning, abnormal). A device named DM11401 stores the reception strength of radio waves from the slave device 202c. The same applies to the slave devices 202d to 202f. In this example, the individual status information 256 indicates the individual status information of the slave device 202 stored in a device assigned based on the memory map. For example, the individual status information 256 stored in the storage device 221 of the slave device 202a includes the status information of the slave device 202a. The individual status information 256 stored in the storage device 221 of the slave device 202b includes the status information of the slave device 202b.

[0112] The communication management unit 265 manages and controls communication via the WLAN modules 223a to 223c and the LAN module 222. The parent device / child device communication unit 266 is an instance of a program module that enables the child device 202 to communicate with the parent device 201 in accordance with a predetermined communication protocol. The existing child device / additional child device communication unit 267 is an instance of a program module that controls the WLAN module 223b in accordance with a predetermined communication protocol and executes communication between the existing child device and the additional child device. The communication management unit 265 generates an IPv6 address based on its own MAC address and sets it in the network management unit 268.

[0113] The measurement unit 270 measures the operating status of the slave device 202. For example, the measurement unit 270 may measure the reception strength of radio waves transmitted from other slave devices 202, measure the communication speed, measure the signal-to-interference-plus-noise ratio (SINR), or measure the temperature of the slave device 202. The measurement unit 270 creates individual status information 256 indicating the measurement results and stores it in the storage device 221. For example, the measurement unit 270 saves the measurement results for devices allocated in the storage device 221 based on a memory map. Therefore, the individual status information 256 may be understood as a collection of measurement results respectively held in multiple devices. When the master device 201 requests the individual status information 256, the slave device management unit 261 transmits the individual status information 256 to the master device 201 via the master device / slave device communication unit 266.

[0114] The network management unit 268 manages the industrial wireless network 204. The network construction unit 269 constructs the industrial wireless network 204 as a wireless mesh network. For example, the network construction unit 269 sets the mesh network identifier 281 and setting information 254 set by the parent device 201 in the WLAN module 223a, and constructs the industrial wireless network 204. The setting information 254 includes the wireless frequency band, wireless channel, IP address, etc. used in the industrial wireless network 204.

[0115] The communication control unit 271 controls communication with external devices such as other communicatively connected slave devices 202, target devices, and the master device 201. The communication control unit 271 includes an IP address allocation unit 272, an IP address conversion unit 273, and a filter unit 274. The IP address allocation unit 272 allocates an IP address for the slave device 202. When the NAT function is enabled, the IP address conversion unit 273 converts the source or destination IP address in accordance with the NAT transfer rule 258. Note that, according to this embodiment, the IP address conversion unit 273 converts the source IP address when receiving a communication packet from the LAN module 222, which is a wired connection. On the other hand, the IP address conversion unit 273 converts the source and destination IP addresses when receiving a communication packet from the WLAN modules 223a to 223c, which are wirelessly connected. The filter unit 274 determines whether or not the IP address of the transmission destination or destination of a received communication packet needs to be converted in accordance with the NAT transfer rules 258, and if conversion is necessary, notifies the IP address conversion unit 273 of the received communication packet. Specifically, the filter unit 274 makes the above determination based on whether or not the communication packet has an IP address set according to the NAT transfer rules 258.

[0116] The setting management unit 275 manages various settings including settings related to IP address conversion. The setting management unit 275 includes a setting reception unit 276, a setting storage unit 277, and a setting reflection unit 279. The setting reception unit 276 receives settings related to IP address conversion via various setting screens (described later) in addition to requests from the parent device 201. The setting storage unit 277 stores the setting contents received by the setting reception unit 276 in the storage device 221. The setting reflection unit 278 reflects the setting contents received from the parent device 201 or via the setting screens in the child device 202.

[0117] The memory device 221 stores the unique information 283 of the slave unit. The unique information 283 is the network identifier (e.g., MAC address) assigned to the WLAN modules 223a to 223c and the LAN module 222. Hereinafter, the unique information 283 will be described as the network identifier assigned to the WLAN module 223a. When a new slave unit 202 is added, the unique information 283 of that slave unit 202 is transmitted to the master unit 201 via the industrial wireless network 204. The master unit 201 determines whether to permit the addition of the slave unit 202 based on the unique information 283 of that slave unit 202.

[0118] Furthermore, the memory device 221 stores the enable / disable flag 257 of the NAT function mode and the NAT transfer rule 258. The enable / disable flag 257 of the NAT function mode is information indicating whether the NAT mode of the slave unit 202 is set to be enabled or disabled. The NAT transfer rule 258 defines a rule for transferring the destination or source IP address of the received communication packet when the NAT function is set to be enabled. By distributing the NAT transfer rule 258 from the master unit 201 to each slave unit 202, the transfer rules of the NAT function can be set collectively.

[0119] <Overview of IP Address Conversion> FIG. 19 shows the IP address conversion procedure in the slave unit 202. The conversion procedure described below is a process that can be performed on the slave units 202a to 202f. In the present embodiment, the NAT function is disabled in the slave unit 202a, and the NAT function is enabled in the slave units 202b to 202f.

[0120] 19(a) shows the IP address conversion procedure when a packet is received from a wired device. A communication packet is received from the wired target device 203 via the LAN port 38i and the LAN module 222. For example, the source IP address of the communication packet is set to "192.168.0.10" and the destination IP address is set to "192.168.1.101." When the communication packet is received, the filter unit 274 first determines whether the source and destination IP addresses need to be converted based on the NAT transfer rule 258 and the information in the setting storage unit 277. If the filter unit 274 determines that IP address conversion is required, the packet is passed to the IP address conversion unit 273, and at least one of the source and destination IP addresses is converted based on the NAT transfer rule 258 and the information in the setting storage unit 277. Here, as shown in the figure, the source IP address is converted from "192.168.0.10" to "192.168.1.1." Thereafter, the communication packet with the converted source IP address is transferred to the destination IP address via the WLAN module 223.

[0121] FIG. 19(b) shows the IP address conversion procedure when receiving a packet from a wirelessly connected device. A communication packet is received from another slave device 202 wirelessly connected via the WLAN module 223. For example, the source IP address in the communication packet is set to "192.168.1.100" and the destination IP address is set to "192.168.1.1". When receiving the communication packet, first, the filter unit 274 determines whether the source and destination IP addresses are IP addresses that need to be converted based on the information in the NAT transfer rule 258 and the setting storage unit 277. When the filter unit 274 determines that IP address conversion is necessary, it is passed to the IP address conversion unit 273, and at least one of the source and destination IP addresses is converted based on the information in the NAT transfer rule 258 and the setting storage unit 277. Here, as shown in the figure, the source IP address is converted from "192.168.1.100" to "192.168.0.254", and further, the destination IP address is converted from "192.168.1.1" to "192.168.0.10". Then, the communication packet with the converted source and destination IP addresses is transferred to the destination IP address via the LAN module 222 and the LAN port 38i.

[0122] As described above, according to this embodiment, in the direction of transferring a communication packet from the first wireless communication interface to the wired communication interface and in the direction of transferring a communication packet from the wired communication interface to the first wireless communication interface, the IP addresses to be converted are different. Specifically, when transferring a communication packet from the first wireless communication interface to the wired communication interface, both the source IP address and the destination IP address of the communication packet are converted according to the transfer rule. On the other hand, when transferring a communication packet from the wired communication interface to the first wireless communication interface, only the source IP address of the communication packet is converted according to the transfer rule.

[0123] <IP address conversion processing procedure> 20 is a flowchart showing the processing procedure for IP address conversion in the parent device 201. The processing described below is realized, for example, by the CPU 210 of the parent device 201 executing a program stored in the storage device 211. Here, an example will be described in which settings for IP address conversion are made in the parent device 201, but this is not intended to limit the present invention, and the settings may be made in, for example, the child devices 202a to 202f. Note that communication between the parent device 201 and the child device 202 and the user is performed via a PC (for example, PC2) connected to the parent device 201 or the child device 202. Therefore, the setting screens and the like described below will be described as being displayed on the display unit 7 of the PC2.

[0124] In S1, the CPU 210 causes the screen providing unit 240 of the setting screen management unit 238 to display a setting screen (described later) on the display unit 7. The user can make various settings for IP address conversion via the setting screen. In S2, the CPU 210 causes the user input receiving unit 239 of the setting screen management unit 238 to receive user input via the setting screen, and determines whether a request has been made to reflect the setting in each child device 202. In order to reflect the setting, each child device 202 must be restarted, and the setting must be reflected in the initialization process of each child device 202. Therefore, in this case, the request to reflect the setting corresponds to a request to restart each child device 202. If a restart request is received, the process proceeds to S3.

[0125] In S3, the CPU 210 acquires the current settings made via the setting screen, and in S4, the setting storage unit 242 of the setting management unit 241 updates the settings to the setting information 254 of the storage device 221. The CPU 210 here is an example of a generating unit that generates setting information for a secondary wireless node that corresponds a connection IP address for identifying a second industrial device such as a target device (described later) with a device IP address. Thereafter, in S5, the CPU 210 issues a restart request to all the slave devices 202a to 202f via the request transmission unit 232 of the slave device management unit 231. The restart request is notified to the slave device 202a via the LAN module 212 and LAN port 38h. Thereafter, the slave device 202a transmits the restart request to each of the slave devices 202b to 202f via the WLAN module 223.

[0126] In S6, the CPU 210 checks the activation and reconnection of each child device 202 using the parent device / child device communication unit 236 of the communication management unit 235. After checking all child devices 202, the process proceeds to S7, where the CPU 210 distributes the setting information stored as setting information 254 to each child device 202 using the setting reflection unit 243 for each unit of the setting management unit 241, and ends the processing of this flowchart.

[0127] 21 is a flowchart showing the processing procedure for IP address conversion of the slave device 202. The processing described below is realized by, for example, the CPU 220 of each slave device 202 executing a program stored in the storage device 221.

[0128] In S11, the CPU 220 determines whether or not a restart request has been received from the parent device 201 via the request reception unit 264 of the child device management unit 261. If a restart request has been received, the process proceeds to S12, where the CPU 220 restarts the child device 202. After the restart, in S13, the setting reception unit 276 of the setting management unit 275 receives the setting from the parent device 201, and the setting storage unit 277 updates the setting information 254 and the NAT transfer rule 258 of the storage device 221.

[0129] Next, in S14, the CPU 220 assigns an IP address to the client device 202 using the IP address assignment unit 272 of the communication control unit 271. Thereafter, in S15, when the CPU 220 receives a communication packet, the filter unit 274 of the communication control unit 271 determines, based on the NAT transfer rule 258, whether the communication packet is a communication packet specified in the transfer rule. Specifically, the CPU 220 determines whether at least one of the source and destination IP addresses of the received communication packet is listed in the NAT transfer rule 258. If the received communication packet includes an IP address listed in the NAT transfer rule 258, the process proceeds to S16, and if not, the process proceeds to S17.

[0130] In S16, the CPU 220 converts at least one of the source and destination IP addresses of the communication packet using the IP address conversion unit 273 of the communication control unit 271, based on the setting information 254 and the NAT transfer rule 258. Thereafter, in S17, the CPU 220 transfers the converted communication packet, and ends the processing of this flowchart.

[0131] <Settings GUI> The various setting GUIs (setting screens) described below will be described as being displayed on the display unit 7 of the PC 2 connected to the parent device 201, for example. However, the PC 2 can also be connected to the child device 202, and in that case, various setting screens described below are displayed on the display unit 7 of the PC 2 in accordance with instructions from the child device 202. That is, in this embodiment, the setting screens can be displayed on the display unit of a PC connected to either the parent device 201 or the child device 202. Furthermore, these setting screens may be generated by either the parent device 201 or the child device 202 to which the PC is connected, or may be generated collectively by the parent device 201 and provided to the child device 202. In either case, when screen information for the setting screen is generated, the parent device 201 and the child device 202 are examples of screen generation units.

[0132] FIG. 22 shows a selection screen for the IP address conversion mode. Screen 2200 is displayed as part of the basic screen. On this basic screen, various screens can be selected using tabs at the top, and for example, a system monitor screen, a connected device search screen, an event log screen, and a settings screen can be displayed. Screen 2200 shows an example in which a settings screen is displayed. Furthermore, screen 2200 displays a settings screen related to IP address conversion, among various settings. As described above, pointer 103 moves in conjunction with user operations on operation unit 8, and is used to press buttons and the like or to select objects.

[0133] On screen 2200, basic settings regarding IP addresses can be made for the controller and unit. Item 2201 allows the IP address and subnet mask for the Ethernet port to be set. By selecting the input area for the IP address or subnet mask with pointer 103, input to each item can be made via operation unit 8. Also, by operating the box displaying advanced settings in item 2203 with pointer 103 or the like, a more advanced settings screen (not shown) is displayed.

[0134] In item 2202, IP address conversion can be enabled or disabled by setting the corresponding check box 2205. When enabled, the NAT function is enabled and the screen transitions to a more detailed setting screen (FIG. 24). Note that, because the IP address conversion function and settings are complex, an operation object 2204 for displaying a function guide relating to these is displayed in an operable manner. When operation object 2204 is operated, the screen transitions to screen 2300, which will be described later.

[0135] 23 shows a function guide screen for IP address conversion. The function guide screen displays a guide for IP address conversion. Screen 2300 shows an example of a function guide, and its contents do not limit the present invention.

[0136] Area 2301 displays a function guide related to IP address conversion. Here, an example is shown in which the guide is displayed graphically, but a written explanation may be displayed instead or in addition. Operating OK button 2302 returns to the original screen. If the function guide spans multiple pages, a Next button (not shown) is displayed so that it can be operated, and operating this button displays the function guide for the next page.

[0137] 24 shows the basic setting screen 1 for IP address conversion. Screen 2400 is displayed when IP address conversion is changed from disabled to enabled in checkbox 2205 on screen 2200. Screen 2400 displays a setting area 2401 and a save button 2407 for instructing the user to save the settings made in setting area 2401.

[0138] In setting area 2401, it is possible to specify the child device 202 to be set in IP address conversion mode. Message 2406 explains that the child device 202 specified in IP address conversion mode will only communicate using the conversion rule set thereafter. The child device 202 can be specified by operating buttons 2402 and 2404. Area 2403 displays the set child device (unit). In the state of FIG. 24, no set child device 202 exists, so it is not displayed. 2405 is a checkbox for collectively operating all child devices 202 in IP address conversion mode. Individual units can be selected by unchecking checkbox 2405. When checkbox 2405 is unchecked, unit selection button 2408 becomes selectable, and selecting this button transitions to screen 2500 shown in FIG. 25.

[0139] 25 shows an individual setting screen for each unit of IP address conversion. Screen 2500 includes a display area 2501 of an equipment layout diagram within a factory and a setting area 2502 for each slave device. Here, display area 2501 is an example of a map display that selectably displays one or more secondary wireless nodes. Setting area 2502 is an example of a list display that selectably displays one or more secondary wireless nodes. In display area 2501, the location of each slave device 202 arranged within the facility is displayed using a selectable predetermined icon. In addition, the network connection status of each slave device 202 is indicated by a line object connecting the icons.

[0140] In the setting area 2502, a check box is displayed for each slave unit 202 in an operable manner, and by checking the check box, the IP address conversion mode can be specified. In this way, the user can make settings while checking the location of each slave unit within the facility in the display area 2501. When the confirm button 2503 is operated, the current setting status is saved and the screen returns to the transition source screen 2400. On the other hand, when the cancel button 2504 is operated, the current setting status is discarded and the screen returns to the transition source screen 2400.

[0141] 26 shows the basic setting screen 2 after the IP address conversion rule for IP address conversion has been set. In screen 2600, the same components as those in screen 2400 of FIG. 24 are assigned the same reference numerals, and the description thereof will be omitted. When the IP address conversion rule is set for one of the slave units 202 by pressing button 2402 "Set in navigation format," screen 2600 displays button 2601 for deploying the set content to other selected slave units 202. Operating button 2601 deploys the set content to the selected slave units 202.

[0142] 27 shows the setting navigation screen 1. Screen 2700 is the setting navigation screen 1 that is displayed when the "Set in navigation format" button 2402 is selected. 2701 shows the setting navigation area. The setting navigation area includes a navigation image 2702, a display object 2703 that shows the progress of the setting, and a slave unit selection area 2704.

[0143] Display object 2703 indicates that the navigation setting screen is in the unit selection step. The icon "1" indicating the step is highlighted. There is no particular limitation on the form of the highlighting, and in addition to displaying it as a double circle as shown in the figure, any form can be applied, such as displaying it in a color different from the other number objects or flashing. Navigation image 2702 displays the target device currently being set up, the communication partner device, and their IP addresses. Navigation image 2702 displays the unit selected in child device selection area 2704. Operating Next button 2706 after selecting a unit transitions to a screen for entering the device IP address. On the other hand, operating Cancel button 2705 returns to the screen from which the transition originated.

[0144] 28 shows the setting navigation screen 2. Screen 2800 is the setting navigation screen 2 that is displayed when the Next button 2706 on screen 2700 is operated. Reference numeral 2801 denotes a setting navigation area. The setting navigation area includes a navigation image 2802, a display object 2803 that indicates the progress of the setting, and an input area 2804 for the device IP address.

[0145] Display object 2803 indicates that the navigation setting screen is a procedure for inputting a device IP address. The icon "2" indicating the procedure is highlighted. The device IP address is an example of second identification information, and is information for identifying a target device, which is a second industrial device. Note that, although the present embodiment uses an IP address as an example of identification information, this is not intended to limit the present invention, and information for identifying a device, such as a port number used to connect to the device, may also be used.

[0146] Navigation image 2802 displays the target device currently being set, the communication partner device, and their IP addresses. Navigation image 2802 also displays the IP address entered in device IP address input field 2804. Operating next button 2806 after entering the IP address transitions to a screen for entering an IP address for connection. On the other hand, operating back button 2805 returns to screen 2700, the transition source.

[0147] FIG. 29 shows the setting navigation screen 3. Screen 2900 is the setting navigation screen 3 that is displayed when the Next button 2806 on screen 2800 is operated. 2901 shows the setting navigation area. Also, on screen 2900, the connection IP address is set. The connection IP address is an example of first identification information, and is an IP address in the same segment as port B of parent device 201 (controller), and therefore is highly related to the setting of the IP address of port B (predetermined port) of the controller. The setting navigation area includes a navigation image 2902, a display object 2903 showing the progress of the setting, a controller setting area 2904, and a connection IP address setting area 2805. Display object 2903 indicates that the navigation setting screen is a procedure for inputting the connection IP address. The icon "3" indicating the procedure is highlighted.

[0148] The navigation image 2902 displays the target device currently being configured, the communication partner device, and their IP addresses. The navigation image 2902 also displays the IP addresses entered in the controller setting area 2904 and the connection IP address setting area 2805. In the controller setting area 2904, a checkbox allows the user to select whether or not to change the controller's B port. Selecting "Change" allows the user to enter the IP address and subnet mask. The user can also select "Automatically change DHCP server settings" using a checkbox. In the connection IP address setting area 2805, the IP address can be set automatically or manually. Operating the Confirm button 2906 after entering the IP address saves the settings and returns the user to the original screen 2400 or screen 2600. Operating the Back button 2908 returns the user to screen 2800. Operating the Cancel button 2907 discards the settings made on screen 2900 and returns the user to the original screen 2400 or screen 2600.

[0149] FIG. 30 shows the basic setting screen 3 after the IP address conversion rule has been set. In screen 3000, the same components as those in screen 2400 of FIG. 24 and screen 2600 of FIG. 26 are designated by the same reference numerals, and their description will be omitted. Screen 3000 is a basic setting screen that is displayed when confirm button 2906 on screen 2900 is operated. 3001 indicates the setting contents added via screens 2700, 2800, and 2900, for example. Here, the setting contents of the unit name, connection IP address, and device IP address are shown. When button 2601 is operated here, the setting is expanded to other child devices 202.

[0150] FIG. 31 shows a unit selection screen for deploying IP address conversion settings. Screen 3100 is displayed when button 2601 is pressed on screen 3000. Screen 3100 is used to configure the deployment of settings for a specific slave device 202, for which IP address conversion rules have been set, to other slave devices 202. Screen 3100 includes a selection area 3101 for selecting a slave device from which the settings will be deployed, a selection area 3102 for selecting a slave device to which the settings will be deployed, and a setting area 3103 for automatically or manually setting a connection IP address. Selection areas 3101 and 3102 are each pull-down selection areas, allowing one or more selectable slave devices to be displayed and selected. Furthermore, operating “Advanced Selection” 3106 transitions to screen 3200, described below, where multiple slave devices can be selected. In setting area 3103, a connection IP address can be automatically or manually set. After configuring various settings, operating confirm button 3104 saves the settings and returns to screen 3000, the original screen. On the other hand, when the cancel button 3105 is operated, the contents set on the screen 3100 are discarded and the screen returns to the screen 3000 from which the transition originated.

[0151] 32 shows a multiple unit selection screen for IP address conversion setting deployment. Screen 3200 includes a display area 3201 for a diagram of the equipment layout within the factory and a setting area 3202 for each slave unit. In display area 3201, the location of each slave unit 202 within the equipment is displayed using a predetermined icon. The network connection status of each slave unit 202 is also displayed using line objects connecting the icons. Furthermore, as shown in 3205, the selected icon is highlighted, for example, by being displayed in a different color from the other icons.

[0152] In the setting area 3202, a check box is displayed for each slave device 202 in an operable manner, and by checking the box, the slave device can be designated as the target for deploying the IP address translation rule. In this way, the user can select the slave device to which the IP address translation rule is to be deployed while checking the location of each slave device within the facility in the display area 3201. When the confirm button 3203 is operated, the current setting status is saved and the screen returns to the screen 3000. On the other hand, when the cancel button 3204 is operated, the current setting status is discarded and the screen returns to the transition source screen 3100.

[0153] FIG. 33 shows a modified example of the basic setting screen for setting IP address conversion rules. Screen 3300 shows a screen used by a user familiar with setting IP address conversion rules. Screen 3300 includes a setting list 3301 and buttons 3302 to 3307. Setting list 3301 displays a list of set child devices. For example, setting list 3301 displays the unit name, connection IP address, device IP address, and device comment for each set unit. Although setting items for unit 02 are displayed in FIG. 23, setting contents for multiple other units may also be displayed. Operating add button 3302 transitions to a setting addition screen, which will be described later.

[0154] When button 3303 is operated with at least one of the units displayed in setting list 3300 selected, the setting is deleted. When button 3304 is operated with at least one of the units displayed in setting list 3300 selected, the setting of the selected unit is expanded to another unit, and the screen transitions to a screen for selecting the other unit. The transition destination screen transitions to a unit selection screen for expanding settings, such as screen 3100. When button 3305 is operated with at least one of the units displayed in setting list 3300 selected, the screen transitions to a screen for changing the IP address, etc., of the selected unit. When confirm button 3306 is operated, the current setting status is saved and the screen returns to the original screen. On the other hand, when cancel button 3307 is operated, the current setting status is discarded and the screen returns to the original screen.

[0155] FIG. 34 shows a screen for adding settings related to IP address conversion rules. Screen 3400 allows users to add various settings to a unit for which IP address conversion rules have been configured. Screen 3400 includes a unit selection area 3401, a wired LAN IP address input area 3402, a subnet mask input area 3403, a device setting input area 3404, and a connection IP address setting area 3405. Unit selection area 3401 is a pull-down setting area that allows users to select a unit. The input areas 3402 and 3403 display default settings, but users can change the information by checking the "Change" checkbox. The input area 3404 allows users to enter a device IP address and a comment for the device. The setting area 3405 allows users to set the connection IP address by selecting automatic or manual. Pressing the Confirm button 3406 saves the current settings and returns the user to the original screen. Pressing the Cancel button 3407 discards the current settings and returns the user to the original screen.

[0156] Settings related to IP address conversion can be made via the setting screen described above. After making these settings, when connecting to the access point using PC2 or the like to access a device, an IP address (connection IP address) corresponding to each device on the upper side of the unit exists, so that IP address can be set and accessed. By applying the present invention, for example, when accessing the IP address "192.168.1.12," it is converted to "192.168.0.1" according to the transfer rule, allowing access to the desired device.

[0157] Furthermore, when communicating between devices, set the upper IP address (connection IP address) of the unit corresponding to the destination device, and set the unit's IP address (gateway IP address) as the default gateway. For example, if you want to access a device at "192.168.0.10" from a device at "192.168.0.2," set the destination IP address in the settings for the device at "192.168.0.2" to "192.168.1.4" and the default gateway to "192.168.0.100." This allows communication between the desired devices.

[0158] <Technical ideas derived from examples> [Aspect 1] A secondary wireless node of an industrial wireless system including at least a plurality of wireless nodes that convert some of the connections between a plurality of communicable industrial devices into connections via a wireless network, the plurality of wireless nodes including a primary wireless node (e.g., slave device 202a and master device 201) that manages the wireless network and is wired to a first industrial device (e.g., PLC1, 1a) among the plurality of industrial devices, and one or more secondary wireless nodes (e.g., slave devices 202b to 202f) that are wirelessly connected to the primary wireless node and wired to a second industrial device (e.g., target devices 203b to 203f, PLC1b) among the plurality of industrial devices, the secondary wireless node of the industrial wireless system including at least a plurality of wireless nodes that convert some of the connections between a plurality of communicable industrial devices into connections via a wireless network, the plurality of wireless nodes including a primary wireless node (e.g., slave device 202a and master device 201) that manages the wireless network and is wired to a first industrial device (e.g., PLC1, 1a) among the plurality of industrial devices, and one or more secondary wireless nodes (e.g., slave devices 202b to 202f) that are wirelessly connected to the primary wireless node and are wired to a second industrial device (e.g., target devices 203b to 203f, PLC1b) among the plurality of industrial devices, the secondary wireless node the first wireless communication interface for wireless communication with a wired node; the wired communication interface for wired communication with a second industrial device that is wired via a second network different from the first network; a setting management unit that receives setting information generated by the primary wireless node and sets a transfer rule that associates first identification information that identifies the second industrial device corresponding to the first network with second identification information that identifies the second industrial device corresponding to the second network according to the setting information; and a communication control unit that controls communication between the first wireless communication interface and the wired communication interface by identifying the second industrial device with the first identification information or the second identification information based on the transfer rule set by the setting management unit.

[0159] When it is possible to build an environment that combines wired and wireless networks, it is beneficial to use wireless networks to the extent possible in terms of the area and cost required to lay wired LAN cables. On the other hand, when building a wireless network, IP addresses of devices and equipment may overlap and be assigned to different devices. However, according to the above-described embodiment, the specific information (IP address and port number) of the destination and source of communication packets can be controlled according to transfer rules even between different networks, making it possible to preferably build a wireless network in an industrial wireless system. While the above-described embodiment has been described using an IP address as an example of specific information, this is not intended to limit the scope of the present invention. Transfer rules may also be built using information that can identify devices, such as port numbers.

[0160] [Aspect 2] The setting management unit may handle, as the first identification information, a connection IP address that identifies a second industrial device corresponding to the first network, and may handle, as the second identification information, an equipment IP address that identifies a second industrial device corresponding to the second network.

[0161] [Aspect 3] The secondary wireless node may be assigned a connection IP address and a gateway IP address corresponding to the gateway of the second network.

[0162] [Aspect 4] When a plurality of second industrial devices connected to the secondary wireless node are subject to the NAT (Network Address Translation) function, a corresponding connection IP address may be assigned to each of the plurality of second industrial devices.

[0163] [Aspect 5] When the second industrial device is wired to the wired communication interface of the secondary wireless node via the first network and the NAT function is disabled, the communication control unit may communicate between the wireless networks using an IPv6 address, and may control communication between the first wireless communication interface and the wired communication interface as communication on the same network using an IPv4 address.

[0164] [Aspect 6] The communication control unit may convert at least one of the source and destination IP addresses of a communication packet in accordance with a transfer rule, depending on the direction of communication between the first wireless communication interface and the wired communication interface.

[0165] [Viewpoint 7] In the case of communication from the first wireless communication interface to the wired communication interface, the communication control unit may convert the source and destination IP addresses of the communication packet in accordance with the forwarding rules, and in the case of communication from the wired communication interface to the first wireless communication interface, may convert the source IP address of the communication packet in accordance with the forwarding rules.

[0166] [Aspect 8] The setting management unit may handle, as the first identification information, an IP address and a port number that identify a second industrial device corresponding to the first network, and may handle, as the second identification information, an IP address and a port number that identify a second industrial device corresponding to the second network.

[0167] [Aspect 9] The secondary wireless node may further include a second wireless communication interface for wirelessly communicating with the wireless network in a different frequency band.

[0168] [Point 10] The first wireless communication interface may support 6 GHz and neither 5 GHz nor 2.4 GHz, and the second wireless communication interface may support at least one of 5 GHz and 2.4 GHz.

[0169] [Aspect 11] An industrial wireless system including at least a plurality of wireless nodes that convert some of the connections between a plurality of communicable industrial devices into connections via a wireless network, the plurality of wireless nodes including a primary wireless node that manages the wireless network and is wired to a first industrial device among the plurality of industrial devices, and one or more secondary wireless nodes that are wirelessly connected to the primary wireless node and wired to a second industrial device among the plurality of industrial devices, the one or more secondary wireless nodes including a first wireless communication interface that wirelessly communicates with the primary wireless node via a first network including the wireless network, and a second industrial device that is wired to the second industrial device via a second network different from the first network. a setting management unit that receives setting information generated by the primary wireless node and sets a transfer rule that associates first identification information that identifies a second industrial device corresponding to the first network with second identification information that identifies a second industrial device corresponding to the second network according to the setting information; and a communication control unit that controls communication between the first wireless communication interface and the wired communication interface by identifying the second industrial device with the first identification information or the second identification information based on the transfer rule set by the setting management unit, and the primary wireless node includes a generation unit that generates setting information for each secondary wireless node to associate the first identification information with the second identification information.

[0170] [Aspect 12] The primary wireless node has a wireless module and a controller (parent device 201), and the wireless module may operate as a primary wireless node by operating in connection with the controller, or as a secondary wireless node by operating without connecting with the controller.

[0171] [Aspect 13] The controller may include the generation unit.

[0172] [Aspect 14] The generation unit may restrict the setting for enabling the NAT function of the wireless module operating as the primary wireless node.

[0173] [Aspect 15] The primary wireless node may further have a screen generation unit that provides a GUI for generating configuration information, and the GUI may include a configuration screen for setting an IP address of a specified port of the primary wireless node and a connection IP address that identifies a second industrial device corresponding to the first network and an equipment IP address that identifies the second industrial device corresponding to the second network for each of one or more secondary wireless nodes that are subject to the NAT function.

[0174] [Aspect 16] The primary wireless node may further have a screen generation unit that provides a GUI for generating configuration information, and the GUI may include a screen that lists one or more secondary wireless nodes and maps the primary wireless node and one or more secondary wireless nodes.

[0175] [Aspect 17] The GUI may be capable of accepting selection of a secondary wireless node to be subject to the NAT function from at least one of a list display and a map display.

[0176] [Aspect 18] The primary wireless node may further have a screen generation unit that provides a GUI for generating configuration information, and the GUI may include a screen for reflecting the configuration information of a specified secondary wireless node to other secondary wireless nodes.

[0177] [Aspect 19] The primary wireless node may further include a web server, and the GUI screen generated by the screen generation unit may be provided via the web server.< / plc>

Claims

1. a secondary wireless node of an industrial wireless system including at least a plurality of wireless nodes that convert some of connections between a plurality of communicable industrial devices into connections via a wireless network, the plurality of wireless nodes including a primary wireless node that manages the wireless network and is wired to a first industrial device among the plurality of industrial devices, and one or more secondary wireless nodes that are wirelessly connected to the primary wireless node and wired to a second industrial device among the plurality of industrial devices, a first wireless communication interface for wirelessly communicating with the primary wireless node via a first network including the wireless network; a wired communication interface that communicates by wire with the second industrial device that is wired via a second network different from the first network; a setting management unit that receives setting information generated by the primary wireless node and sets a transfer rule that associates first identification information that identifies the second industrial device corresponding to the first network with second identification information that identifies the second industrial device corresponding to the second network according to the setting information; a communication control unit that controls communication between the first wireless communication interface and the wired communication interface by identifying the second industrial device using the first identification information or the second identification information based on the transfer rule set by the setting management unit; A secondary wireless node comprising:

2. The setting management unit a connection IP address that identifies the second industrial device corresponding to the first network is handled as the first identification information; The secondary wireless node according to claim 1 , wherein the second identification information is a device IP address that identifies the second industrial device corresponding to the second network.

3. 3. The secondary wireless node according to claim 2, wherein the secondary wireless node is assigned the connection IP address and a gateway IP address corresponding to a gateway of the second network.

4. A secondary wireless node as described in claim 3, characterized in that when the multiple second industrial devices connected to the secondary wireless node are subject to a NAT (Network Address Translation) function, the connection IP address corresponding to each of the multiple second industrial devices is assigned.

5. 3. The secondary wireless node according to claim 2, wherein when the second industrial device is wired connected to the wired communication interface via the first network and the NAT function is disabled, the communication control unit communicates between the wireless networks using an IPv6 address, and controls communication between the first wireless communication interface and the wired communication interface as communication on the same network using an IPv4 address.

6. The communication control unit 3. The secondary wireless node according to claim 2, wherein at least one of a source and destination IP address of a communication packet is converted in accordance with the transfer rule depending on the direction of communication between the first wireless communication interface and the wired communication interface.

7. The communication control unit In the case of communication from the first wireless communication interface to the wired communication interface, converting the IP addresses of the source and destination of the communication packet in accordance with the transfer rule; 7. The secondary wireless node according to claim 6, wherein in the case of communication from said wired communication interface to said first wireless communication interface, an IP address of a source of a communication packet is converted in accordance with said transfer rule.

8. The setting management unit The first identification information is an IP address and a port number that identify the second industrial device corresponding to the first network, The secondary wireless node according to claim 1 , wherein the second identification information is an IP address and a port number that identify the second industrial device corresponding to the second network.

9. The secondary wireless node according to claim 1 , further comprising a second wireless communication interface for wirelessly communicating with the wireless network in a different frequency band.

10. the first wireless communication interface supports 6 GHz and does not support either 5 GHz or 2.4 GHz; The secondary wireless node according to claim 9 , wherein the second wireless communication interface supports at least one of 5 GHz and 2.4 GHz.

11. An industrial wireless system including at least a plurality of wireless nodes that convert some of connections between a plurality of communicable industrial devices into connections via a wireless network, the plurality of wireless nodes including a primary wireless node that manages the wireless network and is wired to a first industrial device among the plurality of industrial devices, and one or more secondary wireless nodes that are wirelessly connected to the primary wireless node and wired to a second industrial device among the plurality of industrial devices, The one or more secondary wireless nodes: a first wireless communication interface for wirelessly communicating with the primary wireless node via a first network including the wireless network; a wired communication interface that communicates by wire with the second industrial device that is wired via a second network different from the first network; a setting management unit that receives setting information generated by the primary wireless node and sets a transfer rule that associates first identification information that identifies the second industrial device corresponding to the first network with second identification information that identifies the second industrial device corresponding to the second network according to the setting information; a communication control unit that controls communication between the first wireless communication interface and the wired communication interface by identifying the second industrial device using the first identification information or the second identification information based on the transfer rule set by the setting management unit, The primary wireless node: An industrial wireless system including a generation unit that generates, for each secondary wireless node, setting information for the secondary wireless node to associate the first identification information with the second identification information.

12. the primary wireless node includes a wireless module and a controller; 12. The industrial wireless system of claim 11, wherein the wireless module operates as the primary wireless node by operating in connection with the controller, and operates as the secondary wireless node by operating without connection with the controller.

13. The industrial wireless system of claim 12 , wherein the controller comprises the generator.

14. The industrial wireless system of claim 12 , wherein the generation unit restricts a setting that enables a NAT function of the wireless module operating as the primary wireless node.

15. the primary wireless node further includes a screen generation unit that provides a GUI for generating setting information; 12. The industrial wireless system according to claim 11, wherein the GUI includes a setting screen for setting, in an IP address of a predetermined port of the primary wireless node and in each of the one or more secondary wireless nodes that are targets of a NAT function, a connection IP address that identifies the second industrial equipment corresponding to the first network and a device IP address that identifies the second industrial equipment corresponding to the second network.

16. the primary wireless node further includes a screen generation unit that provides a GUI for generating setting information; 12. The industrial wireless system of claim 11, wherein the GUI includes a screen that lists the one or more secondary wireless nodes and displays a map of the primary wireless node and the one or more secondary wireless nodes.

17. 17. The industrial wireless system of claim 16, wherein the GUI is capable of accepting selection of the secondary wireless node to be subject to a NAT function from at least one of the list display and the map display.

18. the primary wireless node further includes a screen generation unit that provides a GUI for generating setting information; The industrial wireless system according to claim 11 , wherein the GUI includes a screen for reflecting setting information of a given secondary wireless node to other secondary wireless nodes.

19. the primary wireless node further comprises a web server; 19. The industrial wireless system according to claim 15, wherein the GUI screen generated by the screen generator is provided via the web server.

Citation Information

Patent Citations

  • Radio mesh network system and state display method for the same

    JP2014022981A