CONTROLLER, SETTING DEVICE, CONTROL METHOD, AND PROGRAM
The controller automatically calculates cable length and sets propagation delay time using SQI values, addressing the inefficiencies of manual settings, thereby optimizing processing time in field networks.
Patent Information
- Application Number
- JP2021002385
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-01-08
- Publication Date
- 2025-01-15
- Estimated Expiration
- 2041-01-08
AI Technical Summary
Existing methods require manual user effort to set accurate signal propagation delay times in field networks, which are often set longer than necessary, squeezing the time available for actual processing and are difficult to adjust accurately.
A controller that calculates cable length and sets propagation delay time based on Signal Quality Indicator (SQI) values, automatically or upon user instruction, to accurately determine the propagation delay time without manual effort.
Accurately calculates total cable length and sets propagation delay time, increasing the time available for processing within the control period and allowing for automatic adjustments as needed.
Smart Images

Figure 0007613110000001 
Figure 0007613110000002 
Figure 0007613110000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a controller, a setting device, a control method, and a program for setting a propagation delay time of a signal in a field network. [Background technology]
[0002] In the field of factory automation (FA), various types of devices that share the work process are controlled. In order to link various controllers, remote I / O, and manufacturing devices used for work in a certain area such as a factory facility, industrial networks, also called field networks, that connect these devices are constructed. In a field network, the devices that make up the system are connected by cables. A propagation delay occurs in the signals transmitted between the devices, which is roughly proportional to the length of the cables. Meanwhile, among the processes that each device must execute, there are fixed-period tasks that must be completed within a given control period. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2013-137251 A [Patent Document 2] JP 2018-19454 A [Patent Document 3] JP 2017-102900 A [Patent Document 4] Japanese Patent Application Publication No. 8-202759 Summary of the Invention [Problem to be solved by the invention]
[0004] Conventionally, a generous cable length (e.g., 1,000 meters) was assumed as a default, and control was performed so that periodic tasks were completed within a control cycle, taking into account the propagation delay time corresponding to the assumed cable length. This resulted in the propagation delay time being set longer than necessary, which put a strain on the time available for actual processing of periodic tasks within a control cycle. To solve this problem, users would manually set the propagation delay time based on the length of the cable actually being used. However, this was time-consuming for users, and it was also difficult to set the propagation delay time to an accurate value. Although the above-mentioned patent documents disclose techniques for measuring cable length, they do not disclose any consideration of propagation delay time.
[0005] In view of the above, an object of the present invention is to provide a technique for setting an appropriate propagation delay time accurately in a field network without requiring the user to do anything. [Means for solving the problem]
[0006] In order to solve the above problems, a controller according to one embodiment of the present invention is a controller connected to a field network that connects multiple slave devices with cables, and includes an SQI value acquisition unit that acquires an SQI (signal quality indicator) value measured in a physical layer communication circuit of each slave device, a total cable length calculation unit that calculates the cable length between each slave device based on the SQI value acquired by the SQI value acquisition unit and calculates a total cable length in the field network, and a propagation delay time setting unit that sets a propagation delay time of a signal in the field network based on the total cable length.
[0007] According to the above configuration, the total cable length can be calculated accurately without any effort on the part of the user, and the signal propagation delay time can be calculated accurately from the calculated total cable length. This makes it possible to set an appropriate propagation delay time, thereby increasing the time available for actual processing of periodic tasks within a control period.
[0008] In addition, the controller according to the above aspect may further include a scheduling unit that instructs the SQI value acquisition process in the SQI value acquisition unit, the total cable length calculation process in the total cable length calculation unit, and the propagation delay time setting process in the propagation delay time setting unit to be executed at predetermined timings.
[0009] According to the above configuration, the controller sets the propagation delay time at a predetermined timing even without a trigger, so that the propagation delay time can be set at an appropriate timing without imposing a burden on the user.
[0010] In addition, the controller according to the above aspect may further include an execution instruction unit that instructs the SQI value acquisition process in the SQI value acquisition unit, the total cable length calculation process in the total cable length calculation unit, and the propagation delay time setting process in the propagation delay time setting unit to be executed in response to an instruction input from outside.
[0011] According to the above configuration, the user can reset the propagation delay time when necessary, for example, when starting up the system or replacing a cable.
[0012] In the controller according to the above aspect, the SQI value acquisition unit may acquire the SQI value from each of the slave devices a plurality of times, and the total cable length calculation unit may calculate the cable length between the slave devices based on an average value of the SQI values acquired a plurality of times.
[0013] According to the above configuration, the SQI value may temporarily become large due to the influence of noise or the like. However, by calculating the cable length based on the average value of values acquired multiple times as described above, the propagation delay time can be set more accurately.
[0014] In order to solve the above problems, a setting device according to one embodiment of the present invention may be a setting device that is communicatively connected to a controller, and may include an execution instruction sending unit that sends instructions to the execution instruction unit to execute an SQI value acquisition process in the SQI value acquisition unit, a total cable length calculation process in the total cable length calculation unit, and a propagation delay time setting process in the propagation delay time setting unit in response to an instruction from a user.
[0015] According to the above configuration, the user can reset the propagation delay time when necessary, for example, when starting up the system or replacing a cable.
[0016] In addition, the setting device according to the above aspect may further include a setting information transmission unit that acquires the propagation delay time set by the propagation delay time setting unit and transmits the propagation delay time to the controller together with setting information for the controller.
[0017] According to the above configuration, the user can transmit the propagation delay time to the controller together with the setting information of the controller.
[0018] In order to solve the above problems, a control method according to one embodiment of the present invention is a control method for a controller connected to a field network connecting a plurality of slave devices with cables, and includes an SQI value acquisition step of acquiring an SQI (signal quality indicator) value measured in a physical layer communication circuit of each of the slave devices, a total cable length calculation step of calculating a cable length between each of the slave devices based on the SQI value acquired by the SQI value acquisition step and calculating a total cable length in the field network, and a propagation delay time setting step of setting a propagation delay time of a signal in the field network based on the total cable length.
[0019] According to the above configuration, it is possible to achieve the same effects as the above controller.
[0020] In order to solve the above problem, a controller program according to one aspect of the present invention may be a controller program for causing a computer to function as the controller, and may be a program for causing a computer to function as each of the above parts. According to the above configuration, it is possible to achieve the same effects as the above controller.
[0021] In order to solve the above problems, a control program according to one aspect of the present invention may be a setting program for causing a computer to function, and may be a setting program for causing a computer to function as each of the above-mentioned parts.
[0022] According to the above configuration, it is possible to achieve the same effects as the setting device. Effect of the Invention
[0023] According to one aspect of the present invention, in a field network, the total cable length can be accurately calculated without the user having to take the time and effort, and an appropriate propagation delay time can be set from the total cable length, thereby increasing the time during which a user program can be executed within a control period. [Brief description of the drawings]
[0024] [Figure 1] 1 is a diagram showing a configuration of a group of devices belonging to a field network to which a controller according to an embodiment of the present invention is connected; [Diagram 2] 2 is a block diagram showing the functional configuration of a controller and an installation device included in FIG. 1. [Diagram 3] 2 is a graph showing the relationship between the SQI value and the cable length in the slave device included in FIG. 1. [Figure 4] 5 is a flowchart showing a flow of a propagation delay time setting process executed in the controller and the setting device according to the embodiment of the present invention. [Diagram 5] 2 is a diagram showing an example of a setting screen in the setting device included in FIG. 1. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0025] Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
[0026] §1 Examples of application <System configuration> 1 is a configuration diagram showing a system 100 including a controller according to this embodiment and connected via a field network. The configuration of the system 100 will be described below with reference to FIG.
[0027] As shown in Fig. 1, the system 100 includes a plurality of devices connected by a field network. More specifically, the system 100 includes a controller (e.g., a programmable logic controller (PLC)) 101, a plurality of slave devices 102a to 102f, a setting device 105, an HMI (Human Machine Interface) 104, and a hub device 103. The plurality of slave devices 102a to 102f are also collectively referred to as slave devices 102. The controller 101 and the plurality of slave devices 102a to 102f are connected by a communication network such as EtherNET (registered trademark) / IP or EtherCAT (registered trademark) via the hub device 103, and cooperate with each other to realize factory automation (FA). The type of communication network is not limited to the above-mentioned.
[0028] The controller 101 controls the operations of a plurality of slave devices 102a to 102f included in the entire system 100. The HMI 104 is an interface that displays the operating state of the controller 101 and accepts various operational instructions given to the controller 101 by a user. The setting device 105 is configured with a notebook PC or the like, and is connected to the controller 101 via a USB (Universal Serial Bus). The setting device 105 stores configuration information of the system 100, and sets various setting information and programs used for control in the controller 101 in response to user instructions.
[0029] Some of the programs executed by the devices included in the system 100 need to be executed at a certain control period. Meanwhile, signals transmitted and received through cables between the devices are subject to a propagation delay according to the length of the cable. Therefore, it is necessary to control the timing so that the execution of the program is completed within the time obtained by subtracting the propagation delay time from the control period. In this embodiment, the controller 101 calculates the cable length connecting each device from the SQI value measured by each slave device 102a to 102f. Next, the controller 101 calculates the total cable length of the entire system 100 by adding up these cable lengths based on the configuration information of the system 100, and accurately calculates the propagation delay time from the total cable length. The controller 101 schedules control so that each device operates within the control period based on the calculated propagation delay time.
[0030] §2 Configuration example The functional configuration of the controller 101 and the setting device 105 will be described below with reference to FIG.
[0031] <Functional configuration of the controller and setting device> Fig. 2 is a block diagram showing the functional configuration of the controller 101 and the setting device 105. As shown in Fig. 2, the controller 101 includes an SQI value acquisition unit 1011, a total cable length calculation unit 1012, a propagation delay time setting unit 1013, a scheduling unit 1014, and an execution instruction unit 1015. The SQI value acquisition unit 1011, the total cable length calculation unit 1012, and the propagation delay time setting unit 1013 are also collectively referred to as an execution unit 1010.
[0032] The execution unit 1010 of the controller 101 performs a process of setting the propagation delay time. The scheduling unit 1014 and the execution instruction unit 1015 instruct the timing at which the execution unit 1010 starts the process of setting the propagation delay time. Note that the controller 101 may include at least one of the scheduling unit 1014 and the execution instruction unit 1015.
[0033] The SQI value acquisition unit 1011 acquires an SQI (signal quality indicator) value measured in a physical layer communication circuit of each slave device 102. The total cable length calculation unit 1012 calculates the cable length between each slave device 102 based on the SQI value acquired by the SQI value acquisition unit 1011, and calculates the total cable length in the field network. The propagation delay time setting unit 1013 sets a propagation delay time of a signal in the field network based on the total cable length. The controller 101 controls the operation timing of each device within a control period based on the set propagation delay time.
[0034] The scheduling unit 1014 instructs the SQI value acquisition unit 1011 to perform an SQI value acquisition process, the total cable length calculation unit 1012 to perform a total cable length calculation process, and the propagation delay time setting unit 1013 to perform a propagation delay time setting process at a predetermined timing. For example, the scheduling unit 1014 may instruct the execution unit 1010 to start the above propagation delay time setting process at a certain cycle (for example, at a fixed time every day, every predetermined number of days, or at a predetermined date and time every month). Alternatively, the scheduling unit 1014 may detect the start-up of the controller 101, the replacement of the cable, or the like, and instruct the execution unit 1010 to start the above propagation delay time setting process at that timing. That is, the controller 101 automatically performs the calculation of the total cable length and the setting process of the propagation delay time at a set timing even without an external trigger. According to the above configuration, even when the cable is replaced or the configuration of the system 100 is changed, the propagation delay time optimal for the configuration can be automatically set. In addition, it is also possible to deal with deterioration of the cable over time.
[0035] Alternatively, the execution instruction unit 1015 may instruct the SQI value acquisition unit 1011 to perform the SQI value acquisition process, the total cable length calculation unit 1012 to perform the total cable length calculation process, and the propagation delay time setting unit 1013 to perform the propagation delay time setting process in response to an instruction input from outside. For example, the user may send a predetermined message from the setting device 105 to the controller 101 to instruct the controller 101 to start the propagation delay time setting process. The execution unit 1010 of the controller 101 may start the propagation delay time setting process when triggered by receiving the message.
[0036] When the user sends a trigger to start processing to the controller 101, for example, when starting up the system 100 or replacing a cable, the user may use the setting device 105 to send a specified message to the controller 101, and the controller 101 may use this as a trigger to start executing the propagation delay time calculation process.
[0037] The setting device 105 may include an execution instruction sending unit 1051 that sends instructions to the execution instruction unit 1015 of the controller 101 to execute the SQI value acquisition process in the SQI value acquisition unit 1011 of the controller 101, the total cable length calculation process in the total cable length calculation unit 1012, and the propagation delay time setting process in the propagation delay time setting unit 1013 in response to an instruction from the user. As described above, the execution unit 1010 of the controller 101 may start the propagation delay time setting process using an instruction from the user as a trigger. With the above configuration, the user can instruct the controller 101 to execute the propagation delay time setting process when necessary, such as when replacing a cable.
[0038] The setting device 105 may further include a setting information transmitting unit 1052 that acquires the propagation delay time set by the propagation delay time setting unit 1013 of the controller 101 and transmits the propagation delay time to the controller 101 together with various setting information for the controller 101. The controller 101 executes control of each device based on the acquired propagation delay time and setting information.
[0039] The following describes in sequence the calculation of the SQI value, the calculation of the cable length, the calculation of the total cable extension, and the setting of the propagation delay time performed by the execution unit 1010 of the controller 101.
[0040] <Calculation of SQI value> The SQI value acquisition unit 1011 of the controller 101 acquires the SQI value. The SQI value is measured in the physical layer communication circuit of the slave device 102. Note that the SQI value may be measured in the physical layer communication circuit of the controller 101. In each slave device 102, the measurement result of the SQI (signal quality indicator) value in the signal communication with the device directly connected by the cable is stored. The SQI value is a numerical value indicating the signal quality and is calculated from the ratio of noise to a normal signal. The SQI value can be measured constantly without stopping the communication between devices. Here, it is only necessary to provide the SQI value measurement function to the physical layer communication circuit of either of the two devices connected by the cable. However, it is more desirable to provide this function to the controller 101 connected to more devices.
[0041] <Calculation of cable length> The cable total extension calculation unit 1012 of the controller 101 calculates the cable length between each slave device 102 based on the SQI value acquired by the SQI value acquisition unit 1011. The SQI value is related to the cable length. In the data sheet stored in the PHY communication circuit of each device, a table showing the relationship between the SQI value and the cable length is stored for standard cables. For example, the table in the data sheet shows a relationship such that when the SQI value is 2.0 - 2.5, the cable length corresponds to 50 m, and when the SQI value is 3.0 - 3.5, the cable length corresponds to 100 m. The cable total extension calculation unit 1012 of the controller 101 receives the SQI value from each device and calculates the cable length.
[0042] The longer the cable length, the higher the SQI value increases almost linearly. The SQI value acquisition unit 1011 may acquire the SQI value from each slave device 102 multiple times, and the total cable length calculation unit may calculate the cable length between each slave device 102 based on the average value of the SQI values acquired multiple times. Since the SQI value varies due to the influence of noise during measurement, etc., when calculating the cable length, accuracy can be improved by averaging tens of thousands of SQI value data.
[0043] Furthermore, when the total cable length calculation unit 1012 calculates the cable length from the SQI value, a graph showing the relationship between the SQI value and the cable length may be used. Fig. 3 shows an example. In the graph of Fig. 3, the horizontal axis represents the cable length, and the vertical axis represents the SQI value. It can be seen from Fig. 3 that the SQI value increases almost linearly as the cable length increases. The following formula may be derived in advance by performing a regression analysis on the relationship between the cable length and the SQI value based on the actual measured values of a cable of a specified standard. Cable length = (SQI value - a) / b In the above conversion formula, the values of a and b vary depending on the type of cable. For a cable of standard specifications, a = 1.1216 and b = 0.0109, respectively. When using a cable of non-standard specifications, the above conversion formula may be calculated in advance for each type of cable in order to set a more accurate propagation delay time.
[0044] The total cable length calculation unit 1012 of the controller 101 calculates the total cable length in the field network. That is, the controller 101 acquires the SQI value from each slave device 102, calculates the length of each cable based on the above table, graph, or conversion formula, and calculates the total cable length by adding up these cable lengths.
[0045] <Calculation of propagation delay time> The propagation delay time setting unit 1013 of the controller 101 sets the propagation delay time of the signal in the field network based on the calculated total cable length. The propagation delay time increases approximately in proportion to the total cable length.
[0046] As an example, the propagation delay time is set by default with the total cable length set to 1000 m in the setting device 105. If the setting is changed using a value calculated based on the measurement result from the SQI value, an appropriate propagation delay time can be set.
[0047] <Explanation of the process flow> 4 is a flowchart showing a process flow for setting a propagation delay time in an embodiment of the present invention. The process flow for setting a propagation delay time will be described below with reference to FIG.
[0048] (Step S110) First, the total cable length calculation unit 1012 of the controller 101 sets (calculates) the total cable length in the field network. If the user manually instructs the start of the total cable length calculation process, the process proceeds to step S120, and if the controller 101 automatically starts the total cable length calculation process, the process proceeds to step S220. Steps S120 to S170 below show the flow when the user manually instructs the start of the above processing.
[0049] (Step S120) An instruction from the user to execute the above process is transmitted from the execution instruction transmission unit 1051 of the setting device 105 to the execution instruction unit 1015 of the controller 101. For example, the user may transmit a predetermined message from the execution instruction transmission unit 1051 of the setting device 105 to the execution instruction unit 1015 of the controller 101. The execution instruction unit 1015 of the controller 101 uses this as a trigger to issue an instruction to start the propagation delay time setting process.
[0050] (Step S130) The execution instruction unit 1015 of the controller 101 issues an instruction to the execution unit 1010 (SQI value acquisition unit 1011) to measure the cable length (issues an instruction to measure the SQI value).
[0051] (Step S140) The SQI value acquisition unit 1011 that receives the instruction acquires the SQI value measured by the function of the PHY communication circuit from each slave device 102. That is, each device returns the measured SQI value to the SQI value acquisition unit 1011 of the controller 101. As described above, since SQI values vary, accuracy can be improved by averaging tens of thousands of pieces of data.
[0052] (Step S150) The total cable length calculation unit 1012 of the controller 101 calculates the cable length based on the SQI value received from the SQI value acquisition unit 1011. The total cable length calculation unit 1012 further calculates the total cable length in the system 100 by adding up each cable length.
[0053] (Step S160) The controller 101 transmits the calculated total cable length to the setting device 105. The setting device 105 stores the calculated total cable length in the [total cable length] field. Fig. 5 shows an example of a display / input screen of the setting device 105 for setting information for the controller 101. In this example, a default value of 1000m is set for the total cable length, but this value is rewritten to the total cable length value calculated by the controller 101.
[0054] (Step S170) Based on a user's instruction, the setting device 105 transmits the set value of the total cable length together with setting information for the controller 101 to the controller 101. The propagation delay time setting unit 1013 of the controller 101 sets the propagation delay time of the signal in the field network based on the calculated total cable length. Note that in the controller 101, the calculation result of the total cable length by the total cable length calculation unit 1012 may be sent directly to the propagation delay time setting unit 1013 to set the propagation delay time.
[0055] When the user replaces a cable, modifies the system, or otherwise needs to do so, the setting device sends a triggering instruction in step S120 above, and the controller 101 (execution unit 1010) executes the processes from S130 to S170 to reset the propagation delay time.
[0056] Next, the process (steps S220 to S270) in the case where the controller 101 automatically calculates the propagation delay time will be described.
[0057] (Step S220) The scheduling unit 1014 of the controller 101 instructs the execution unit 1010 of the controller 101 to execute at a predetermined timing. That is, the calculation process of the total cable length is executed (started) inside the controller 101. Unlike the case of the manual process (step S120) described above, the controller 101 starts the setting process without a trigger.
[0058] (Steps S230 to S250) The processes from steps S230 to S250 are the same as those from steps S130 to S150 described above, and therefore will not be described repeatedly here.
[0059] (Step S260) The propagation delay time setting unit 1013 of the controller 101 sets the propagation delay time based on the calculated total cable length. The controller 101 schedules control based on the set propagation delay time.
[0060] (Step S270) According to the preset timer, the controller 101 returns to step S220 and repeats a series of propagation delay time setting processes.
[0061] According to the above-described configuration, it is possible to reset the propagation delay time to an appropriate value at a predetermined timing without the user transmitting a trigger to the controller 101. The timing may be a fixed cycle or may be irregular.
[0062] <Calibration> The above describes an example of the propagation delay time setting process in a field network using a cable of a standard specification. However, the present invention is not limited to the above example, and can also be applied to a case where a propagation delay time is set in a field network using a cable of a non-standard specification. In this case, a more appropriate propagation delay time can be calculated by performing calibration according to the cable of the non-standard specification.
[0063] First, measure the SQI value for cables of non-standard specifications and obtain the relationship between the measured SQI value and each cable length. Next, confirm the relationship between the total cable length calculated from the cable length and the propagation delay time through an experiment. Regarding the relationship between the SQI value and cable length, a graph such as that shown in Figure 3 may be created, or a conversion formula or table showing the relationship between the SQI value and cable length may be created. As described above, the total cable length can be calculated from the SQI value, and an appropriate propagation delay time can be set from the total cable length.
[0064] [Software implementation example] The control blocks of the controller 101 and the setting device 105 (particularly the SQI value acquisition unit 1011, the total cable length calculation unit 1012, the propagation delay time setting unit 1013, the scheduling unit 1014, the execution instruction unit 1015, the execution instruction transmission unit 1051, and the setting information transmission unit 1052) may be realized by a logic circuit (hardware) formed in an integrated circuit (IC chip) or the like, or may be realized by software.
[0065] In the latter case, the controller 101 and the setting device 105 are provided with a computer that executes instructions of a program, which is software that realizes each function. This computer is provided with, for example, one or more processors, and also with a computer-readable recording medium that stores the program. In the computer, the processor reads the program from the recording medium and executes it, thereby achieving the object of the present invention. The processor may be, for example, a CPU (Central Processing Unit). The recording medium may be a "non-transient tangible medium", such as a ROM (Read Only Memory), as well as a tape, a disk, a card, a semiconductor memory, a programmable logic circuit, or the like. The computer may further include a RAM (Random Access Memory) that expands the program. The program may be supplied to the computer via any transmission medium (such as a communication network or a broadcast wave) that can transmit the program. Note that one aspect of the present invention may also be realized in the form of a data signal embedded in a carrier wave, in which the program is embodied by electronic transmission.
[0066] The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope of the claims. Embodiments obtained by appropriately combining the technical means disclosed in different embodiments are also included in the technical scope of the present invention. [Explanation of symbols]
[0067] 100 Systems 101 Controller 102 Slave device 103 Hub Device 104 HMI 105 Setting device 1010 Executive Department 1011 SQI value acquisition section 1012 Cable total length calculation section 1013 Propagation delay time setting section 1014 Scheduling Department 1015 Execution instruction section 1051 Execution instruction transmission unit 1052 Setting information transmission unit
Claims
1. A controller connected to a field network that connects a plurality of slave devices with cables, an SQI value acquisition unit that acquires an SQI (signal quality indicator) value measured in a physical layer communication circuit of each of the slave devices; a total cable length calculation unit that calculates a cable length between each of the slave devices based on the SQI value acquired by the SQI value acquisition unit, and calculates a total cable length in the field network; a propagation delay time setting unit that sets a propagation delay time of a signal in the field network based on the total cable length; A controller comprising:
2. 2. The controller according to claim 1, further comprising a scheduling unit that instructs the SQI value acquisition unit to execute an SQI value acquisition process, the cable total length calculation unit to execute a cable total length calculation process, and the propagation delay time setting unit to execute a propagation delay time setting process at a predetermined timing.
3. 3. The controller according to claim 1, further comprising an execution instruction unit that instructs the SQI value acquisition unit to execute an SQI value acquisition process, the cable total length calculation unit to execute a cable total length calculation process, and the propagation delay time setting unit to execute a propagation delay time setting process in response to an instruction input from an external device.
4. The SQI value acquisition unit acquires the SQI value from each of the slave devices a plurality of times, 4. The controller according to claim 1, wherein the total cable length calculation unit calculates the cable length between each of the slave devices based on an average value of the SQI values obtained multiple times.
5. A setting device communicatively connected to the controller according to claim 3, A setting device comprising: an execution instruction transmission unit that transmits instructions to the execution instruction unit to execute an SQI value acquisition process in the SQI value acquisition unit, a total cable length calculation process in the total cable length calculation unit, and a propagation delay time setting process in the propagation delay time setting unit in response to an instruction from a user.
6. 6. The setting device according to claim 5, further comprising a setting information transmitting unit that acquires the propagation delay time set by said propagation delay time setting unit and transmits said propagation delay time to said controller together with setting information for said controller.
7. A method for controlling a controller connected to a field network that connects a plurality of slave devices with cables, comprising the steps of: an SQI value acquisition step of acquiring an SQI (signal quality indicator) value measured in a physical layer communication circuit of each of the slave devices; a total cable length calculation step of calculating a cable length between each of the slave devices based on the SQI value acquired in the SQI value acquisition step, and calculating a total cable length in the field network; a propagation delay time setting step of setting a propagation delay time of a signal in the field network based on the total cable length; A control method comprising:
8. A controller program for causing a computer to function as the controller according to any one of claims 1 to 4, the controller program causing the computer to function as each of the above-mentioned units.
9. 7. A setting program for causing a computer to function as the setting device according to claim 5 or 6, the setting program causing the computer to function as each of the above-mentioned units.
Citation Information
Patent Citations
Method and device for searching communication network cable path
JP1996202759A
Transmission system, cable length calculation method, transmission device, and program
JP2013046195A
Cable length measurement device, communication system and cable length measurement method
JP2013137251A
Power-over-ethernet method and device
JP2017102900A
Cable searching method and cable laying estimation device
JP2018019454A