WO2019069433A1 - Parameter adjustment system, parameter adjustment method, and input-output device - Google Patents

Parameter adjustment system, parameter adjustment method, and input-output device Download PDF

Info

Publication number
WO2019069433A1
WO2019069433A1 PCT/JP2017/036342 JP2017036342W WO2019069433A1 WO 2019069433 A1 WO2019069433 A1 WO 2019069433A1 JP 2017036342 W JP2017036342 W JP 2017036342W WO 2019069433 A1 WO2019069433 A1 WO 2019069433A1
Authority
WO
WIPO (PCT)
Prior art keywords
parameter
input
output
auto
tuning
Prior art date
Application number
PCT/JP2017/036342
Other languages
French (fr)
Japanese (ja)
Inventor
正弘 内越
Original Assignee
三菱電機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to JP2018537689A priority Critical patent/JPWO2019069433A1/en
Priority to PCT/JP2017/036342 priority patent/WO2019069433A1/en
Publication of WO2019069433A1 publication Critical patent/WO2019069433A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts

Definitions

  • the present invention relates to a parameter adjustment system for adjusting parameters used by an input / output device, a parameter adjustment method, and an input / output device.
  • a programmable logic controller used in the field of FA (Factory Automation) that automates the production process of a factory is a device that controls controlled devices.
  • PLCs are disposed in a network system and connected to input / output devices that input and output signals.
  • a user of an input / output device sets parameter values in the input / output device in consideration of communication time in a network system or processing time of a CPU (Central Processing Unit).
  • the user took much time to set and adjust the parameter value.
  • the user can make adjustment work easier by giving a margin to the parameter value, but if the parameter value has a margin, the response performance is lowered and the performance of the entire system is lowered. On the other hand, if there is no margin in the parameter value, the network system will stop frequently.
  • the programmable controller of Patent Document 1 accesses the storage means when power on is detected, reads communication parameters, and establishes a connection with another terminal based on the read communication parameters.
  • patent document 1 which is the above-mentioned prior art
  • it is necessary to establish a connection based on the parameter values for each device since the network system is composed of a plurality of devices, it is necessary to set parameter values for each device.
  • the parameter values set for each device need to be set for each device while referring to the parameter values of other devices, because the parameter values set for each device are affected by the devices configuring the network system depending on the type of parameter.
  • the setting of the parameter value may be performed again after operation of the network system as well as at the time of power-on as in Patent Document 1. For this reason, when setting the parameter value again, the user needs to adjust the parameter value for each device, and there is a problem that setting of the parameter value becomes complicated.
  • the present invention has been made in view of the above, and it is an object of the present invention to obtain a parameter adjustment system capable of easily setting parameter values in a plurality of devices.
  • the present invention relates to an input / output device for performing input / output of a signal using a parameter according to an instruction from a control device that controls a controlled device in a parameter adjustment system; And a parameter adjustment device that instructs the plurality of input / output devices to adjust the parameters. Further, in the parameter adjustment system of the present invention, the input / output device adjusts the parameters according to the actual environment in accordance with the instruction from the parameter adjustment device.
  • the parameter adjustment system according to the present invention has an effect that parameter values can be easily set in a plurality of devices.
  • the figure which shows the structure of the parameter adjustment apparatus concerning embodiment A diagram showing a configuration of remote I / O (Input / Output) according to the embodiment Diagram for explaining how to set the timeout time according to the embodiment
  • a diagram for explaining the relationship between an output pulse and an input signal according to an embodiment A figure for explaining the 1st example of processing of a dark test process of an output concerning an embodiment
  • a diagram for explaining a first relationship between an output pulse and a detection pulse according to the embodiment A figure for explaining the 2nd processing example of a dark test processing of an output concerning an embodiment.
  • a diagram for explaining a second relationship between an output pulse and a detection pulse according to the embodiment The figure which shows the 1st screen example of the engineering tool concerning embodiment.
  • a diagram showing a second screen example of the engineering tool according to the embodiment Diagram for explaining setting process of tuning range of parameter according to the embodiment
  • Flow chart showing setting processing procedure of auto tuning according to the embodiment A figure showing an example of hardware constitutions of a microcomputer concerning an embodiment
  • FIG. 1 is a diagram showing the configuration of a parameter adjustment system according to an embodiment of the present invention.
  • the parameter adjustment system 100 includes PLCs 6 to 8 as control devices, a remote I / O 20X connected to the PLC 6, and a PC (Personal Computer) 9 connected to the PLC 6.
  • the parameter adjustment system 100 also includes an output device 51X and an input device 52X connected to the remote I / O 20X.
  • the parameter adjustment system 100 further includes an edge computer 2, an upper computer 3, and a server 1, which are upper computers than the PLCs 6 to 8.
  • the remote I / O 20X indicates a plurality of units, and an example of the remote I / O 20X is a remote I / O 20A shown in FIG. 5 described later, or a remote I / O 20B shown in FIG. 7 described later.
  • the edge computer 2, the host computer 3 and the server 1 are connected to a communication network 4 using a communication standard such as Ethernet (registered trademark).
  • the edge computer 2 and the PLCs 6 to 8 are connected to the inter-PLC network 5.
  • the PLCs 6 to 8 are FA controllers that control various devices according to a ladder language specialized for machine control.
  • the PLC 6 here is provided with a control unit 10 such as a CPU unit.
  • the control unit 10 which is the master station, generates an instruction to control the output device 51X and the input device 52X, and transmits the instruction to the remote I / O 20X, which is a remote station.
  • the control unit 10 also receives various information from the remote I / O 20X.
  • the PLC 6 may include units other than the control unit 10.
  • the PLC 6 may include an I / O unit that performs input / output of information or a network unit that communicates with other devices, and the control unit 10 has the function of an I / O unit or a network unit. It is also good. If the PLC 6 comprises a network unit, the network unit is connected to the remote I / O 20X. When the control unit 10 has the function of a network unit, the control unit 10 is connected to the remote I / O 20X.
  • the control unit 10 sends parameter setting instructions to the remote I / O 20X, which is an example of an input / output device.
  • the control unit 10 can send, to the remote I / O 20X, a batch setting instruction which is an instruction to set a plurality of parameters at one time or a specific setting instruction which is an instruction to set a specific parameter.
  • the collective setting instruction is a parameter setting instruction to all of the devices that can cause the control unit 10 to adjust the parameters.
  • the control unit 10 may output a batch setting instruction excluding some of the devices from parameter setting.
  • the specific setting instruction is a parameter setting instruction to a specific device designated by the user among the devices whose control unit 10 can adjust the parameter.
  • the adjustment of the parameter includes setting the value of the unset parameter.
  • a parameter batch setting instruction or a specific setting instruction may be referred to as a parameter setting instruction.
  • the remote I / O 20X performs auto tuning of the parameters.
  • the parameters that the remote I / O 20X performs auto tuning are communication parameters and input / output parameters.
  • the communication parameter is a parameter used when performing communication with the control unit 10
  • the input / output parameter is a parameter used when inputting / outputting a signal between the output device 51X and the input device 52X. It is.
  • the remote I / O 20X autotunes the parameters so that the certainty of communication processing and signal input / output processing can be improved.
  • the remote I / O 20X autotunes the parameters so that the success probability of communication processing and signal input / output processing is higher than a reference value.
  • the remote I / O 20X may auto-tune parameters that are not related to the certainty of communication processing and signal input / output processing.
  • the remote I / O 20X When setting communication parameters, the remote I / O 20X, which is a remote input / output device, cooperates with the PLC 6 to execute automatic tuning of the communication parameters. Further, when setting the input / output parameters, the remote I / O 20X performs the auto tuning of the input / output parameters using the output device 51X or the input device 52X.
  • the input / output parameter according to the embodiment is an input parameter used when the remote I / O 20X inputs a signal from the input device 52X, or an output used when the remote I / O 20X outputs a signal to the output device 51X It is a parameter.
  • the remote I / O 20X communicates with the PLC 6 via the field network 11. At this time, the remote I / O 20X executes communication with the PLC 6 using the communication parameter which is an adjustable parameter value.
  • the remote I / O 20X operates according to the instruction sent from the PLC 6.
  • the remote I / O 20X outputs a signal to the output device 51X according to the instruction from the PLC 6.
  • the remote I / O 20X outputs a signal to the output device 51X using input / output parameters which are adjustable parameter values.
  • the output device 51X is a device for receiving a signal output from the remote I / O 20X, and an example of the output device 51X is a conductor, an electromagnet, a valve or a monitor.
  • the remote I / O 20X receives a signal input by the input device 52X. At this time, the remote I / O 20X receives a signal from the input device 52X using input / output parameters.
  • the input device 52X is a device for inputting a signal to the remote I / O 20X, and an example of the input device 52X is a sensor or a button.
  • a system including the PLC 6, the remote I / O 20X, the output device 51X, and the input device 52X may be referred to as a PLC system.
  • the PC 9 is provided with a parameter adjustment device 30 for performing various settings to the PLC 6.
  • the parameter adjustment device 30 is a device that sends a parameter setting instruction to the remote I / O 20X.
  • the PLC 6 sends the parameter setting instruction to the remote I / O 20X in accordance with the instruction from the parameter adjustment device 30.
  • the parameter adjustment device 30 can send both the batch setting instruction and the specific setting instruction to the PLC 6.
  • the control unit 10 of the PLC 6 sends the batch setting instruction to the remote I / O 20X.
  • the control unit 10 sends the specific setting instruction to the remote I / O 20X.
  • the parameter adjustment device 30 is realized by an engineering tool 90 described later.
  • the PLCs 7 and 8 are devices having the same configuration as the PLC 6. In FIG. 1, the control units included in the PLCs 7 and 8 are not shown. Further, in FIG. 1, illustration of the remote I / O connected to the PLCs 7 and 8 and the output device and input device connected to the remote I / O is omitted.
  • the control unit 10 may send a parameter setting instruction to a device other than the remote I / O 20X.
  • the control unit 10 may send parameter setting instructions to the other PLCs 7 and 8 connected to the inter-PLC network 5 or may send parameter setting instructions to a specific unit connected to the inter-PLC network 5. Further, the control unit 10 may send a setting instruction to set parameters used by the device of the connection destination of the remote I / O 20X to the remote I / O 20X. In other words, the control unit 10 may target any device as a parameter of the device capable of automatic tuning.
  • the target to which the control unit 10 sends the parameter setting instruction may be any of the device connected to the inter-PLC network 5, the remote I / O 20X, and the device connected to the remote I / O 20X.
  • the target to which the parameter adjustment device 30 sends the parameter setting instruction may be any device within the parameter adjustment system 100.
  • the edge computer 2 collects data from the production line in which the PLCs 6 to 8 are arranged.
  • the edge computer 2 collects data from the PLCs 6 to 8 in real time via the inter-PLC network 5. Further, the edge computer 2 manages the production line in which the PLCs 6 to 8 are arranged, using the collected data. Also, the edge computer 2 sends the collected data and the managed data to the upper computer 3 and the server 1 via the communication network 4.
  • the edge computer 2 also receives instruction information and management information for managing a production line from the host computer 3 and the server 1.
  • the edge computer 2 transmits instruction information and management information to the PLCs 6 to 8.
  • the instruction information and the management information that the edge computer 2 transmits to the PLCs 6 to 8 may be generated by the edge computer 2 or may be generated by the host computer 3 or the server 1.
  • the host computer 3 is a computer that manages the edge computer 2.
  • the host computer 3 collects data from one to a plurality of edge computers 2 and manages a production line group in which one to a plurality of edge computers 2 are arranged.
  • the server 1 is a computer that is disposed in a factory having a production line and collects data.
  • the server 1 collects data from one to a plurality of upper computers 3 and manages a factory where the one to a plurality of upper computers 3 are arranged.
  • the host computer 3 or the server 1 may be a SCADA (Supervisory Control And Data Acquisition), or may be a computer applied to Enterprise Resource Planning (ERP) of a core information system.
  • SCADA is an industrial control system, which performs system monitoring and process control by a computer.
  • SCADA is also called data acquisition and supervisory control system.
  • the server 1 may be connected to a host information processing apparatus which is a computer higher than the server 1 via a communication network such as the Internet.
  • the parameter adjustment system 100 in this case manages a production line using a cloud computing system.
  • any device in the parameter adjustment system 100 may send a parameter setting instruction to the PLC 6, or a device other than the parameter adjustment device 30 may send a parameter setting instruction to the PLC 6.
  • the upper information processing apparatus connected to the server 1 may send a parameter setting instruction to the PLC 6.
  • an apparatus for sending parameter setting instructions to the PLC 6 comprises a parameter adjustment apparatus 30 described later There is.
  • the parameter adjustment device 30 is a device that sends parameter setting instructions to the remote I / O 20X and manages parameter adjustment processing by the remote I / O 20X.
  • the apparatus for sending the parameter setting instruction to the PLC 6 is a function of the parameter adjustment apparatus 30 instead of the parameter adjustment apparatus 30. You may use the parameter adjustment program which is a program which implement
  • FIG. 2 is a diagram showing the configuration of the parameter adjustment device according to the embodiment.
  • the parameter adjustment device 30 is disposed in any of the upper information processing device in the parameter adjustment system 100, the upper computer 3, the edge computer 2, the server 1, the PLCs 6 to 8 and the PC 9.
  • the parameter adjustment device 30 includes a parameter management unit 320X that manages a set value described later used when adjusting the parameter, and an adjustment setting unit 330 that sets a tuning range that is an adjustable range of the parameter.
  • the parameter adjustment device 30 further includes an adjustment history storage unit 340 that stores setting data of the parameter for which adjustment has been completed, and an error occurrence prediction unit 350 that predicts the occurrence of an error.
  • the parameter adjustment device 30 further includes an instruction unit 310 that sends an instruction of auto tuning to the control unit 10 based on the information stored in the parameter management unit 320X.
  • the parameter management unit 320X has a storage unit such as a memory, and stores the setting value of the parameter adjustment by this storage unit.
  • the setting values of the parameter adjustment include setting values used when adjusting the parameters and parameter values actually set by the adjustment.
  • Examples of setting values of parameter adjustment managed by the parameter managing unit 320X are an initial value of a parameter, a tuning range of the parameter, and an actually set parameter value.
  • the initial value of the parameter and the tuning range of the parameter are used when the remote I / O 20X auto-tunes the parameter.
  • the remote I / O 20X changes the parameters from the initial values of the parameters to find the appropriate parameter. In this case, the remote I / O 20X finds the appropriate parameter by changing the parameter within the tuning range of the parameter.
  • the parameter is a parameter setting value that the remote I / O 20X has actually set by auto tuning of the parameter.
  • the instruction unit 310 of the parameter adjustment device 30 generates a parameter setting instruction using the initial value of the parameter and the tuning range managed by the parameter management unit 320X, and generates the parameter setting instruction as a remote I. Send to / O 20X.
  • the adjustment setting unit 330 sets a tuning range of parameters in accordance with an instruction from the user.
  • the adjustment setting unit 330 stores the set tuning range in the parameter management unit 320X.
  • the adjustment history storage unit 340 stores the history of the parameter values set by the remote I / O 20X by the automatic tuning of the parameters.
  • the adjustment history storage unit 340 stores the parameter values set so far.
  • the history of the parameter value stored in the adjustment history storage unit 340 may be a history of the setting value itself of the parameter, or may be a history of the correction value used for adjusting the parameter.
  • the error occurrence prediction unit 350 predicts an error that occurs in a target device for auto tuning, such as the remote I / O 20X, based on the parameter values stored in the adjustment history storage unit 340.
  • the error occurrence prediction unit 350 determines the tendency of communication processing, the tendency of chattering of the input signal, the tendency of mismatch of duplicated signals, and the signal used for the input / output processing based on the later-collected information collected so far. Analyze pulse width trends and predict errors.
  • the instructing unit 310 sends an instruction of auto tuning to the control unit 10 based on the information stored in the parameter managing unit 320X.
  • the instruction unit 310 also transmits an instruction to display an error notification to an external device such as a display device based on the prediction result of the error occurrence prediction unit 350.
  • a display device is a programmable display.
  • FIG. 3 is a diagram showing the configuration of the remote I / O according to the embodiment.
  • the remote I / O 20X includes a communication interface (IF: InterFace) 21 that communicates with the control unit 10, and a microcomputer 22 that performs automatic tuning of parameters.
  • the remote I / O 20X also includes an output circuit 23X that outputs a signal to the output device 51X according to an instruction from the microcomputer 22, and an input circuit 25X that receives a signal input by the input device 52X and sends it to the microcomputer 22. ing.
  • the remote I / O 20X also has a pulse detection circuit 24X that detects pulses of the output signal sent from the output circuit 23X and the output device 51X, and a test output circuit 26 that sends out a signal for test and sends it to the input device 52X. And have.
  • the communication IF 21 is connected to the control unit 10 and the microcomputer 22.
  • the communication IF 21 executes communication with the control unit 10 using the communication parameters that the microcomputer 22 has auto-tuned.
  • the communication IF 21 sends an instruction from the control unit 10 to the microcomputer 22 and sends a signal from the microcomputer 22 to the control unit 10.
  • An example of an instruction from the control unit 10 to the remote I / O 20X is a parameter setting instruction.
  • the parameter setting instruction includes the initial value of the parameter and the tuning range of the parameter.
  • the information from the microcomputer 22 to the control unit 10 is the information collected by the microcomputer 22.
  • Examples of the information collected by the microcomputer 22 are information acquired by the input circuit 25X from the input device 52X, or communication parameters and input / output parameters acquired by the microcomputer 22 by auto tuning.
  • the microcomputer 22 executes parameter auto tuning and parameter management based on the parameter setting instruction.
  • the microcomputer 22 includes an auto tuning unit 31Y that performs auto tuning of communication parameters used by the remote I / O 20X, and an auto tuning unit 31X that performs auto tuning of input / output parameters used by the remote I / O 20X.
  • the microcomputer 22 further includes a parameter management unit 32A that manages communication parameters and input / output parameters acquired by the auto-tuning units 31X and 31Y by the auto-tuning.
  • the auto tuning unit 31 Y performs communication with the control unit 10 via the communication IF 21 to perform auto tuning of communication parameters.
  • the auto-tuning unit 31X performs auto-tuning of input / output parameters using the output circuit 23X, the pulse detection circuit 24X, the input circuit 25X, and the test output circuit 26.
  • the auto-tuning unit 31X causes the output circuit 23X to output an output signal when auto-tuning an output parameter of the input and output parameters.
  • the output circuit 23X outputs an output signal to the output device 51X.
  • the auto tuning unit 31X receives an output signal detected by the pulse detection circuit 24X when auto tuning an output parameter, and auto tunes the output parameter based on the output signal and the output signal output to the output circuit 23X. Do.
  • the auto-tuning unit 31X causes the test output circuit 26 to output an output signal when auto-tuning an input parameter of the input and output parameters.
  • the test output circuit 26 outputs an output signal for test to the input device 52X.
  • the auto-tuning unit 31X receives an input signal input to the input circuit 25X, and auto-tunes the input parameter based on the input signal.
  • the parameter management unit 32A has the same function as the parameter management unit 320X of the parameter adjustment device 30.
  • the parameter managing unit 32A stores the initial value of the parameter, the tuning range, and the set parameter value.
  • the microcomputer 22 may perform auto tuning of parameters when the remote I / O 20X is activated, or may perform auto tuning of parameters during operation of the remote I / O 20X.
  • the auto tuning units 31X and 31Y may execute auto tuning based on an instruction from the parameter management unit 32A.
  • the auto-tuning units 31X and 31Y perform auto-tuning using a signal such as an output signal or an input signal sent from the parameter management unit 32A.
  • the auto tuning units 31X and 31Y may execute auto tuning based on an instruction from the parameter adjustment device 30.
  • the auto-tuning units 31X and 31Y perform auto-tuning using a signal such as a tuning range described later that is sent from the parameter adjustment device 30. Further, the auto tuning units 31X and 31Y may auto tune parameter values of items designated by the parameter adjustment device 30.
  • the communication IF 21 executes communication with the control unit 10 using the communication parameter that has been auto-tuned, when executing the normal operation after auto-tuning is completed.
  • the output circuit 23X When executing the normal operation after the completion of the auto tuning, the output circuit 23X outputs a signal to the output device 51X using the auto-tuned input / output parameter.
  • the input / output parameter is a parameter for adjusting the pulse width of the output signal
  • the output circuit 23X adjusts the pulse width of the output signal using the input / output parameter and then outputs the output signal to the output device 51X.
  • the input circuit 25X takes in the signal from the input device 52X using the auto-tuned input / output parameter.
  • the input / output parameter is a filter time
  • the input circuit 25X takes in the input signal after filtering the input signal using the input / output parameter.
  • the control unit 10 includes an auto-tuning unit 31Z that performs auto-tuning of communication parameters used by the control unit 10, and a parameter management unit 32B that manages communication parameters acquired by the auto-tuning unit 31Z by auto-tuning.
  • the auto-tuning unit 31Z sends a tuning start instruction to the remote I / O 20X, and then receives a parameter set by the remote I / O 20X from the remote I / O 20X.
  • the control unit 10 which is a master station and the remote I / O 20X which is a remote station mutually monitor response time.
  • the remote I / O 20X When a failure occurs in any of the control unit 10, the remote I / O 20X, and the field network 11 which is a communication path, the remote I / O 20X initializes the output.
  • An example of the initial state is a state in which the output is off.
  • the remote I / O 20X secures a safe state by stopping the power source upon detecting a failure while operating the power source to be stopped immediately. Therefore, the auto tuning unit 31Y sets a time-out time for monitoring the response time in the communication parameter.
  • the timeout time set by the auto-tuning unit 31Y is a time during which communication processing is monitored in order to realize safety communication that enables desired communication.
  • FIG. 4 is a diagram for explaining a setting method of the timeout time according to the embodiment.
  • the horizontal axis of the graph shown in FIG. 4 is the timeout time, and the vertical axis is the number of error packets.
  • the auto-tuning unit 31Y of the remote I / O 20X transmits and receives packets with the auto-tuning unit 31Z of the control unit 10 when performing auto-tuning of communication parameters.
  • the auto-tuning units 31Y and 31Z may detect an error packet such as packet loss, out-of-order of packet arrival, or packet destruction.
  • the auto-tuning units 31Y and 31Z retransmit and receive packets so that error packets disappear.
  • the relationship between the time-out period until the end of re-transmission / reception at this time and the number of error packets is shown in FIG.
  • the auto-tuning units 31Y and 31Z determine that the communication processing has passed, and set the timeout time T1 at this time as a communication parameter.
  • the auto tuning units 31Y and 31Z determine that the communication processing is acceptable, and set the timeout time at this time to the communication parameter. May be
  • the auto-tuning units 31Y and 31Z auto-tune communication parameters according to the actual environment.
  • the number of error packets varies depending on the number of devices connected to the field network 11. Therefore, the auto-tuning units 31Y and 31Z according to the embodiment determine the timeout time T1 based on the number of error packets, and set the timeout time T1 as a communication parameter.
  • the auto tuning units 31Y and 31Z can perform auto tuning in accordance with the actual environment.
  • the user does not have to set a time-out time such as the time-out time T1 in the communication parameter while referring to the parameter values of other devices connected to the field network 11.
  • the parameter management unit 32A stores the communication parameter auto-tuned by the auto-tuning unit 31Y
  • the parameter management unit 32B stores the communication parameter auto-tuned by the auto-tuning unit 31Z.
  • the parameter managing units 32A and 32B store the relationship between the timeout time and the number of error packets as shown in FIG.
  • the relationship between the timeout time and the number of error packets differs between the relationship acquired by the parameter management unit 32A and the relationship acquired by the parameter management unit 32B. This is because the packet transmission direction differs between the packet sent from the parameter managing unit 32A to the parameter managing unit 32B and the packet sent from the parameter managing unit 32B to the parameter managing unit 32A.
  • the parameter management units 32A and 32B send the collected information collected when auto-tuning communication parameters to the parameter adjustment device 30.
  • An example of the collected information that the parameter management units 32A and 32B send to the parameter adjustment device 30 is the relationship between the timeout time and the number of error packets.
  • the parameter adjustment device 30 is disposed in the PLCs 6 to 8, the PC 9, the remote I / O 20 X, the edge computer 2, the host computer 3 or the server 1.
  • the error occurrence prediction unit 350 of the parameter adjustment device 30 analyzes the tendency of the communication processing between the control unit 10 and the remote I / O 20X based on the collected information. If the collected information has a relationship between the timeout time and the number of error packets, the error occurrence prediction unit 350 predicts the timing at which the response time of the communication between the control unit 10 and the remote I / O 20X exceeds the timeout time T1. Do. At this time, the error occurrence prediction unit 350 predicts the timing of exceeding the timeout time T1 based on various information such as the degree of deterioration of the communication processing up to now, the progress degree of deterioration, and the collected information so far.
  • the instruction unit 310 of the parameter adjustment device 30 notifies the user of the guidance indicating the prediction result.
  • the instruction unit 310 notifies the user of the prediction result by displaying the timing of exceeding the timeout time T1 on a display device such as a liquid crystal monitor.
  • the parameter adjustment device 30 prompts the user to retune the parameter value.
  • the control unit 10 and the remote I / O 20X may execute communication between the field networks 11 using two or more communication parameters. Even in such a case, the auto-tuning units 31Y and 31Z execute auto-tuning of two or more communication parameters by executing communication processing under various conditions.
  • the auto-tuning units 31Y and 31Z determine in which combination each parameter value of the two communication parameters approaches a desired communication process. Do. Then, the auto tuning units 31Y and 31Z cause the parameter management units 32A and 32B to store a combination of communication parameters that can execute desired communication processing.
  • the auto-tuning unit 31X may execute auto-tuning of two or more input / output parameters in the same manner as the auto-tuning units 31Y and 31Z.
  • Examples of input / output parameters to be auto-tuned by the auto-tuning unit 31X are the following (1) to (4).
  • the auto tuning unit 31X performs auto tuning on the filter time of the input signal in which chattering has occurred.
  • the input device 52X is a mechanical contact such as a button
  • the remote I / O 20X receives an input signal in which chattering has occurred.
  • the control unit 10 executes the logic operation using the chattered input signal. In such a case, the PLC system may not operate as intended.
  • the input circuit 25X of the remote I / O 20X executes chattering filter processing, which is processing for filtering the chattering signal, only during the time when the chattering signal is generated.
  • chattering filter processing which is processing for filtering the chattering signal, only during the time when the chattering signal is generated.
  • the remote I / O 20X provides a filter time for filtering the chattering signal, and sets this filter time as an input / output parameter.
  • FIG. 5 is a diagram for explaining chattering filter processing according to the embodiment.
  • FIG. 5 illustrates the remote I / O 20A, which is an example of the remote I / O 20X, and the input device 52A, which is an example of the input device 52X.
  • the remote I / O 20A includes an input circuit 25A, which is an example of the input circuit 25X, and an auto tuning unit 31A, which is an example of the auto tuning unit 31X.
  • FIG. 5 among the components included in the remote I / O 20A, components other than the input circuit 25A and the auto tuning unit 31A are not shown.
  • An example of the input device 52A is a button.
  • the input device 52A is connected to the signal source 71A, and the signal from the signal source 71A is input.
  • the input device 52A connects the signal source 71A and the input circuit 25A, and inputs the input signal 101A from the signal source 71A to the input circuit 25A.
  • the input circuit 25A sends the input signal 101A from the input device 52A to the auto tuning unit 31A. Then, the auto tuning unit 31A detects a chattering time which is a time during which chattering occurs.
  • FIG. 6 is a diagram for explaining the relationship between chattering time and filter time according to the embodiment.
  • the auto-tuning unit 31A detects chattering that occurs in the input signal 101A for a certain period of time after the input of the input signal 101A is started. The time when this chattering is occurring is the chattering time.
  • the auto tuning unit 31A sets a time longer than the chattering time as the filter time. Specifically, the auto-tuning unit 31A sets a filter time that is longer than the chattering time by a specific time.
  • the filter time set by the auto-tuning unit 31A is a time when the input circuit 25A does not receive the input signal 101A.
  • the auto tuning unit 31A sends the set filter time to the input circuit 25A. Then, the input circuit 25A sets the filter time. Accordingly, when the input signal 101A is input from the input device 52A, the input circuit 25A does not receive the input signal 101A for the filter time, and starts receiving the input signal 101A after the filter time has elapsed.
  • the auto-tuning unit 31A sets the filter time of chattering to one of the input and output parameters. Then, the input circuit 25A of the remote I / O 20A filters the input signal 101A for the filter time. A signal obtained by filtering the input signal 101A for a filter time is a filtered signal. In the parameter adjustment system 100, chattering time fluctuates due to aging of the input device 52A or the like. Therefore, the auto-tuning unit 31A determines the filter time based on the chattering time, and sets this filter time as one of the input and output parameters. Thus, the auto tuning unit 31A can perform auto tuning in accordance with the actual environment. As a result, the user does not have to set the filter time for chattering time as an input / output parameter.
  • the auto-tuning unit 31A performs auto-tuning for the filter time of chattering according to the actual environment. Then, the parameter managing unit 32A manages the input / output parameters which are automatically tuned by the auto tuning unit 31A.
  • the parameter managing unit 32A stores the chattering time detected so far and the latest filter time. Then, the parameter management unit 32A sends the chattering time and the filter time stored so far to the parameter adjustment device 30. Thereby, the error occurrence prediction unit 350 of the parameter adjustment device 30 analyzes the tendency of chattering of the input device 52A based on the history of chattering time. Then, the error occurrence prediction unit 350 predicts the transition of the chattering time after this and the time when the chattering time exceeds the filter time. Then, the parameter adjustment device 30 notifies the user of the guidance indicating the prediction result. At this time, the parameter adjustment device 30 notifies the user of the prediction result by displaying transition prediction of chattering time on a display device such as a liquid crystal monitor. Thereby, the parameter adjustment device 30 prompts the user to retune the parameter value.
  • the microcomputer 22 may execute the chattering filter process.
  • the auto-tuning unit 31A sends the auto-tuned filter time to the microcomputer 22, and the microcomputer 22 sets the filter time.
  • the microcomputer 22 filters the input signal 101A during the filter time, and sends the filtered input signal 101A to the control unit 10 via the communication IF 21.
  • the PLC system duplicates the input signal from the input device 52X, and detects a mismatch in the value of the duplicated input signal, thereby detecting a failure of the input wire connected to the input device 52X or the input device 52X.
  • the input device 52X is two sensors that detect the opening and closing of the door
  • the two sensors input an input signal indicating the detection to the input circuit 25X.
  • a difference may occur in the timing at which the two sensors detect the opening and closing of the door.
  • the input circuit 25X receives an input signal from two sensors at different timings.
  • the two input signals may instantaneously have different values due to the operation variation of the input device 52X.
  • the remote I / O 20X detects a mismatch in the duplexing input, the remote I / O 20X erroneously detects that the input device 52X has failed.
  • the input circuit 25X of the remote I / O 20X executes the unmatched signal filtering process which is a process of filtering the input signal only for the time when the duplicated input signal is unmatched.
  • the remote I / O 20X provides a filter time for filtering the mismatched state of the duplexing input, and sets this filter time as an input / output parameter.
  • FIG. 7 is a diagram for explaining the unmatched signal filter process according to the embodiment.
  • FIG. 7 illustrates the remote I / O 20B, which is an example of the remote I / O 20X, and the input device 52B, which is an example of the input device 52X.
  • the remote I / O 20B includes input circuits 25a and 25b which are examples of the input circuit 25X, and an auto tuning unit 31B which is an example of the auto tuning unit 31X.
  • FIG. 7 illustrates the case where the input device 52B is a button, the input device 52B may be any device.
  • the input device 52B is connected to the signal sources 71a and 71b, and receives signals from the signal sources 71a and 71b.
  • the input device 52B connects the signal source 71a and the input circuit 25a, and connects the signal source 71b and the input circuit 25b.
  • the input device 52B inputs the input signal 101a from the signal source 71a to the input circuit 25a, and inputs the input signal 101b from the signal source 71b to the input circuit 25b.
  • the input circuit 25a sends the input signal 101a from the input device 52B to the auto-tuning unit 31B, and the input circuit 25b sends the input signal 101b from the input device 52B to the auto-tuning unit 31B. Then, the auto-tuning unit 31B detects a duplication mismatch time which is a time during which a signal mismatch occurs with the input signals 101a and 101b. The auto-tuning unit 31B sets, in the input circuits 25a and 25b, a filter time for ignoring the input signals 101a and 101b during the duplication mismatch time.
  • the input circuits 25a and 25b automatically adjust the after-filter signal 102, which is a signal ignoring the input signals 101a and 101b, during the filter time. Send to 31B. Then, the auto tuning unit 31B outputs the filtered signal 102.
  • FIG. 8 is a diagram for explaining the relationship between the duplication mismatch time and the filter time according to the embodiment.
  • the auto-tuning unit 31B detects a mismatch between signals generated between the input signals 101a and 101b for a certain period of time after the input of the input signals 101a and 101b is started. The time when this mismatch occurs is the duplication mismatch time.
  • the auto tuning unit 31B sets a time longer than the duplication mismatch time as the filter time. Specifically, the auto-tuning unit 31B sets a filter time that is longer than the duplication mismatch time by a specific time.
  • the filter time set by the auto-tuning unit 31B is a time when the input circuits 25a and 25b do not receive the input signals 101a and 101b.
  • the auto tuning unit 31B sends the set filter time to the input circuits 25a and 25b. Then, the input circuits 25a and 25b set the filter time.
  • Filter time does not accept the input signal 101b. Then, the input circuits 25a and 25b start receiving the input signals 101a and 101b after the filter time has elapsed.
  • the auto tuning unit 31B sets a filter time longer than the duplex mismatch time to one of the input and output parameters. Then, after the input circuits 25a, 25b of the remote I / O 20B start to input the input signals 101a, 101b, the input signals 101a, 101b are filtered for the filter time. Thereby, the input circuits 25a and 25b send the filtered signal 102 obtained by filtering the input signals 101a and 101b to the auto tuning unit 31B, and the auto tuning unit 31B outputs the filtered signal 102.
  • the filtered signal 102 is a signal of the input signals 101a and 101b in which the signal is ignored for the filter time from the start of the input.
  • the auto-tuning unit 31B determines the filter time based on the duplication mismatch time, and sets this filter time as one of the input and output parameters. Thereby, the auto tuning unit 31B can perform auto tuning in accordance with the actual environment. As a result, the user does not have to set the filter time for the duplication mismatch time to the input / output parameter.
  • the auto tuning unit 31 B performs auto tuning on the filter time of the duplexed signal according to the actual environment. Then, the parameter management unit 32A manages the input / output parameters that are automatically tuned by the auto-tuning unit 31B.
  • the parameter managing unit 32A also stores the duplexing mismatch time detected so far and the latest filter time. Then, the parameter management unit 32B sends the duplication mismatch time and the filter time stored so far to the parameter adjustment device 30.
  • the error occurrence prediction unit 350 of the parameter adjustment device 30 analyzes the tendency of the mismatch of the duplexed input signal based on the history of duplexing mismatch time. Then, the error occurrence prediction unit 350 predicts the subsequent transition of the duplication mismatch time and the timing when the duplication mismatch time exceeds the filter time.
  • the parameter adjustment device 30 notifies the user of the guidance indicating the prediction result. At this time, the parameter adjustment device 30 notifies the user of the prediction result by displaying transition prediction of the duplication mismatch time on a display device such as a liquid crystal monitor. Thereby, the parameter adjustment device 30 prompts the user to retune the parameter value.
  • the microcomputer 22 may execute the unmatched signal filtering process.
  • the auto-tuning unit 31B sends the auto-tuned filter time to the microcomputer 22, and the microcomputer 22 sets the filter time.
  • the microcomputer 22 filters the input signals 101a and 101b during the filter time, and sends the filtered input signals 101a and 101b to the control unit 10 via the communication IF 21.
  • the auto tuning unit 31X has a dark test function of executing a dark test process of the input.
  • the input dark test function is a function to detect a failure of the input device 52X or input wiring.
  • the input dark test function is a function that outputs a pulse signal to the input device 52X and tests whether this pulse signal is correctly input from the input device 52X to the remote I / O 20X.
  • the remote I / O 20X When the remote I / O 20X shortens the pulse width of the pulse output to the input device 52X, the waveform of the pulse input to the input device 52X may be degraded due to the electrical characteristics of the input device 52X or the input wiring . In such a case, a pulse may not be input correctly to the input device 52X, and the remote I / O 20X may erroneously detect a failure.
  • the remote I / O 20X lengthens the pulse width of the output pulse, the response time of the PLC system decreases because the time during which the input signal from the input device 52X can not be received increases. Therefore, in the embodiment, the remote I / O 20X adjusts the pulse width of the output pulse used in the dark test function of the input to an appropriate time, and sets the adjusted pulse width to the input / output parameter.
  • FIG. 9 is a diagram for explaining the dark test process of the input according to the embodiment.
  • FIG. 9 illustrates a remote I / O 20C, which is an example of the remote I / O 20X, and an input device 52C, which is an example of the input device 52X.
  • the remote I / O 20C includes an input circuit 25C which is an example of the input circuit 25X, an auto tuning unit 31C which is an example of the auto tuning unit 31X, and a test output circuit 26.
  • FIG. 9 illustrates the case where the input device 52C is a button, the input device 52C may be any device.
  • the test output circuit 26 includes a power supply 73C which is a signal source, and the power supply 73C outputs a test signal 71C.
  • the test output circuit 26 is connected to the auto tuning unit 31C, and outputs the test signal 71C to the input device 52C in accordance with the pulse output from the auto tuning unit 31C.
  • the input device 52C is connected to the test output circuit 26, and receives the test signal 71C from the test output circuit 26.
  • the input device 52C connects the test output circuit 26 and the input circuit 25C, and inputs an input signal 101C, which is a test signal 71C, to the input circuit 25C.
  • the input circuit 25C sends the input signal 101C from the input device 52C to the auto tuning unit 31C.
  • the auto tuning unit 31C detects the input signal 101C.
  • the auto-tuning unit 31C sweeps the pulse width of the pulse output to the test output circuit 26, and records the pulse width at which the pulse is correctly input to the input circuit 25C.
  • the auto-tuning unit 31C sets a pulse having a pulse width that can correctly input a pulse to the input circuit 25C as an output pulse to the test output circuit 26.
  • the input circuit 25C receives the input signal 101C capable of correctly detecting the pulse
  • the input circuit 25C sends the input signal 101C to the auto-tuning unit 31C.
  • the auto tuning unit 31C outputs the input signal 101C.
  • FIG. 10 is a diagram for explaining the relationship between an output pulse and an input signal according to the embodiment.
  • FIG. 10 shows the output pulse output from the auto-tuning unit 31C and the input signal 101C input to the input circuit 25C.
  • the test output circuit 26 turns on the output of the test signal 71C, thereby inputting the test signal 71C to the input device 52C. Then, the test output circuit 26 turns off the test signal 71C only for the time when the output pulse is output from the auto tuning unit 31C. Thus, while the test signal 71C is on, the auto tuning unit 31C detects the on input signal 101C, and detects the off input signal 101C at the timing when the auto tuning unit 31C outputs the output pulse.
  • the auto tuning unit 31C compares the output pulse output to the test output circuit 26 with the off pulse of the input signal 101C input to the input circuit 25C. Specifically, the auto-tuning unit 31C compares the pulse width of the pulse output to the test output circuit 26 with the pulse width of the input signal 101C.
  • the auto tuning unit 31C determines a pulse width at which the pulse width of the input signal 101C is not erroneously detected by the remote I / O 20C. In this case, the auto-tuning unit 31C selects the pulse with the shortest pulse width among the pulses that are not erroneously detected by the remote I / O 20C. The auto tuning unit 31C sets the pulse width of the selected pulse as an input / output parameter. In the parameter adjustment system 100, the pulse width of the test signal 71C in which the remote I / O 20C does not erroneously detect the input signal 101C fluctuates due to the influence of peripheral devices connected to the remote I / O 20C.
  • the auto-tuning unit 31C determines the pulse width of the output pulse used in the dark test function of the input based on the test signal 71C and the input signal 101C, and this pulse width is one of input / output parameters. Set to Thereby, the auto tuning unit 31C can perform auto tuning in accordance with the actual environment. As a result, the user does not have to set the pulse width of the output pulse used in the dark test function of the input to the input / output parameter.
  • the auto-tuning unit 31C performs auto-tuning of the pulse width of the output pulse used in the dark test function of the input according to the actual environment. Then, the parameter management unit 32A manages the input / output parameters that are automatically tuned by the auto-tuning unit 31C.
  • the parameter managing unit 32A stores the pulse width of the output pulse set up to this time in the dark test process of the input. Then, the parameter management unit 32A sends the pulse width stored so far to the parameter adjustment device 30. Thereby, the error occurrence prediction unit 350 of the parameter adjustment device 30 analyzes the tendency of the pulse width of the pulse input from the input device 52C to the remote I / O 20C based on the history of the pulse width. Then, the parameter adjustment device 30 predicts the time when the pulse width of the detection pulse does not satisfy the reference value. Furthermore, the parameter adjustment device 30 notifies the user of the guidance indicating the prediction result. At this time, the parameter adjustment device 30 notifies the user of the prediction result by displaying transition prediction of the pulse width on a display device such as a liquid crystal monitor. Thereby, the parameter adjustment device 30 prompts the user to retune the parameter value.
  • the auto-tuning unit 31 C automatically outputs the output timing of the output pulse used in the dark test function of the input based on the timing difference between the output timing of the pulse output to the test output circuit 26 and the detection timing of the input signal 101 C. It may be tuned.
  • the auto tuning unit 31X has a dark test function of executing a dark test process of the output.
  • the output dark test function is a function to detect a failure of the output device 51X or the output wiring.
  • the output dark test function is a function of outputting a pulse signal to the output device 51X and testing whether the pulse signal is correctly input to a pulse detection circuit 24D described later.
  • the remote I / O 20X When the remote I / O 20X shortens the pulse width of the pulse output to the output device 51X, the waveform of the pulse input to the output device 51X may be degraded due to the electrical characteristics of the output device 51X or the output wiring . In such a case, the pulse detection circuit 24X can not correctly detect a pulse, and the remote I / O 20X may erroneously detect a failure. However, when the remote I / O 20X lengthens the pulse width of the output pulse, the output device 51X may malfunction due to the influence of the pulse. Therefore, in the embodiment, the remote I / O 20X adjusts the pulse width of the output pulse used in the dark test function of the output to an appropriate time, and sets the adjusted pulse width to the input / output parameter.
  • FIG. 11 is a diagram for describing a first processing example of output dark test processing according to the embodiment.
  • FIG. 11 illustrates a remote I / O 20D, which is an example of the remote I / O 20X, and an output device 51D, which is an example of the output device 51X.
  • the remote I / O 20D includes an output circuit 23D which is an example of the output circuit 23X, an auto tuning unit 31D which is an example of the auto tuning unit 31X, and a pulse detection circuit 24D which is an example of the pulse detection circuit 24X.
  • FIG. 11 among the components included in the remote I / O 20D, components other than the pulse detection circuit 24D, the output circuit 23D, and the auto-tuning unit 31D are not shown.
  • the output device 51D When the remote I / O 20D and the output device 51D are connected, the output device 51D does not need to send a signal output from the output device 51D to the pulse detection circuit 24D. Therefore, the wiring on the output side of the output device 51D is not connected to the pulse detection circuit 24D.
  • the output circuit 23D includes a power source 73D which is a signal source, and the power source 73D outputs an output signal 76D.
  • the output circuit 23D is connected to the auto tuning unit 31D, and outputs the output signal 76D to the output device 51D according to the pulse of the output signal 76D output from the auto tuning unit 31D.
  • the auto tuning unit 31D sends the output signal 76D sent from the parameter management unit 32A to the output circuit 23D.
  • the output device 51D has a load 75D.
  • the output device 51D is connected to the output circuit 23D, and the output signal 76D from the output circuit 23D is applied to the load 75D.
  • One of the output devices 51D is connected to the output circuit 23D, and the other is connected to 0V.
  • the output circuit 23D is connected to the pulse detection circuit 24D. With this configuration, the pulse detection circuit 24D detects the output signal 76D if there is no failure between the output circuit 23D and the output device 51D.
  • the pulse detection circuit 24D sends the output signal 76D from the output circuit 23D to the auto tuning unit 31D. Then, the auto tuning unit 31D acquires the output signal 76D. At this time, the auto-tuning unit 31D sweeps the pulse width of the pulse output to the output circuit 23D, and records a pulse width that allows the pulse to be detected correctly by the pulse detection circuit 24D.
  • FIG. 12 is a diagram for describing a first relationship between an output pulse and a detection pulse according to the embodiment.
  • FIG. 12 shows the output pulse output from the auto-tuning unit 31D and the detection pulse detected by the pulse detection circuit 24D.
  • the output circuit 23D turns on the output of the output signal 76D, thereby inputting the output signal 76D to the output device 51D. Then, the output circuit 23D turns off the output signal 76D for the time when the output pulse is output from the auto tuning unit 31D. Thus, while the output signal 76D is on, the pulse detection circuit 24D detects an on signal and detects an off signal at the timing when the auto tuning unit 31D outputs an output pulse.
  • the auto tuning unit 31D compares the output pulse output to the output circuit 23D with the detection pulse detected by the pulse detection circuit 24D. Specifically, the auto-tuning unit 31D compares the pulse width of the output pulse output to the output circuit 23D with the pulse width of the detection pulse of the output signal 76D detected by the pulse detection circuit 24D.
  • the auto-tuning unit 31D determines the pulse width of a pulse that is not erroneously detected by the pulse detection circuit 24D among the pulse widths of the plurality of pulses output to the output circuit 23D. In this case, the auto-tuning unit 31D selects the shortest pulse width from pulse widths that are not erroneously detected by the pulse detection circuit 24D. The auto tuning unit 31D sets the selected pulse width as an input / output parameter. In the parameter adjustment system 100, the pulse width of the output signal 76D from which the remote I / O 20D does not erroneously detect the output signal 76D fluctuates due to the influence of peripheral devices connected to the remote I / O 20D.
  • the auto-tuning unit 31D determines the output dark based on the pulse width of the output pulse output to the output circuit 23D and the pulse width of the detection pulse of the output signal 76D detected by the pulse detection circuit 24D.
  • the pulse width of the output pulse used in the test function is determined, and this pulse width is set to one of the input and output parameters.
  • the auto tuning unit 31D can perform auto tuning in accordance with the actual environment. As a result, the user does not have to set the pulse width of the output pulse used in the output dark test function to the input / output parameter.
  • the auto-tuning unit 31D performs auto-tuning of the pulse width of the output pulse used in the dark test function of the output according to the actual environment. Then, the parameter managing unit 32A manages the input / output parameters that are automatically tuned by the auto tuning unit 31D.
  • the parameter managing unit 32A also stores the pulse width set up to now in the dark test process of the output. Then, the parameter management unit 32A sends the pulse width stored so far to the parameter adjustment device 30. Thereby, the error occurrence prediction unit 350 of the parameter adjustment device 30 analyzes the tendency of the pulse width of the pulse output from the output circuit 23D to the output device 51D based on the history of the pulse width. Then, the parameter adjustment device 30 predicts the time when the pulse width of the detection pulse does not satisfy the reference value. Furthermore, the parameter adjustment device 30 notifies the user of the guidance indicating the prediction result. At this time, the parameter adjustment device 30 notifies the user of the prediction result by displaying transition prediction of the pulse width on a display device such as a liquid crystal monitor. Thereby, the parameter adjustment device 30 prompts the user to retune the parameter value.
  • the auto-tuning unit 31D performs auto-tuning of the output timing of the output pulse used in the dark test function of the output based on the timing shift between the output timing of the pulse output to the output circuit 23D and the detection timing of the detection pulse. May be
  • the output circuit 23X may be disposed on the power supply 73D side, or the output circuit 23X may be disposed on both the power supply 73D side and the 0 V side.
  • the remote I / O 20X when the output circuit 23X is disposed on the power supply 73D side is the remote I / O 20D.
  • the remote I / O 20X in which the output circuit 23X is disposed on both the power supply 73D side and the 0 V side also performs the same auto-tuning as the remote I / O 20D in the case where the output circuit 23X is disposed on the power supply 73D side.
  • FIG. 13 is a diagram for describing a second processing example of the output dark test processing according to the embodiment.
  • FIG. 13 illustrates a remote I / O 20E, which is an example of the remote I / O 20X, and an output device 51E, which is an example of the output device 51X.
  • the remote I / O 20E includes output circuits 23E and 23F which are an example of the output circuit 23X, an auto tuning unit 31E which is an example of the auto tuning unit 31X, and pulse detection circuits 24E and 24F which is an example of the pulse detection circuit 24X.
  • the output circuits 23E and 23F, and the auto-tuning unit 31E are not shown.
  • the output circuit 23E includes a power source 73E which is a signal source, and the power source 73E outputs an output signal 76E.
  • the output circuit 23E is connected to the auto tuning unit 31E, and outputs the output signal 76E to the output device 51E according to the pulse of the output signal 105 output from the auto tuning unit 31E.
  • the auto tuning unit 31E sends the output signal 105 sent from the parameter management unit 32A to the output circuit 23E.
  • the output circuit 23F is connected to 0 V and outputs an output signal of 0 V.
  • the output circuit 23F is connected to the auto tuning unit 31E, and outputs an output signal of 0 V to the output device 51E according to the pulse output from the auto tuning unit 31E.
  • the auto tuning unit 31E sends the output signal 106 sent from the parameter management unit 32A to the output circuit 23F.
  • the output device 51E has a load 75E.
  • the output device 51E is connected to the output circuit 23E, and the output signal 76E from the output circuit 23E is applied to the load 75E.
  • One of the output devices 51E is connected to the output circuit 23E, and the other is connected to the output circuit 23F.
  • the output circuit 23E is connected to the pulse detection circuit 24E. With this configuration, the pulse detection circuit 24E detects the output signal 76E if there is no failure between the output circuit 23E and the output device 51E.
  • the output circuit 23F is connected to the pulse detection circuit 24F. With this configuration, the pulse detection circuit 24F detects a signal of 0 V if there is no failure between the output circuit 23F and the output device 51E.
  • the pulse detection circuit 24E sends the output signal 76E from the output circuit 23E to the auto tuning unit 31E. Then, the auto tuning unit 31E acquires the output signal 76E. At this time, the auto-tuning unit 31E sweeps the pulse width of the pulse to be output to the output circuit 23E, and records the pulse width that can be detected correctly by the pulse detection circuit 24E.
  • the pulse detection circuit 24F sends the 0 V signal from the output circuit 23F to the auto tuning unit 31E. Then, the auto tuning unit 31E acquires a signal of 0 V. At this time, the auto-tuning unit 31E sweeps the pulse width of the pulse output to the output circuit 23F, and records a pulse width that allows the pulse to be detected correctly by the pulse detection circuit 24F.
  • FIG. 14 is a diagram for describing a second relationship between an output pulse and a detection pulse according to the embodiment.
  • FIG. 14 shows the output pulse output from the auto-tuning unit 31E to the output circuit 23E and the detection pulse detected by the pulse detection circuits 24E and 24F.
  • the output circuit 23E in this case turns on the output of the output signal 76E, thereby inputting the output signal 76E to the output device 51E. Furthermore, the output circuit 23F keeps the output signal 76E off. Then, the output circuit 23E turns off the output signal 76E for the time when the output pulse is output from the auto tuning unit 31E. Thus, while the output signal 76E is on, the pulse detection circuits 24E and 24F detect the on signal and detect the off signal at the timing when the auto tuning unit 31E outputs the output pulse.
  • the auto tuning unit 31E compares the output pulse output to the output circuit 23E with the detection pulse detected by the pulse detection circuits 24E and 24F. Specifically, the auto-tuning unit 31E compares the pulse width of the output pulse output to the output circuit 23E with the pulse width of the detection pulse detected by the pulse detection circuits 24E and 24F.
  • the auto-tuning unit 31E determines the pulse widths of the pulses for which the detection pulses are not erroneously detected by the pulse detection circuits 24E and 24F. In this case, the auto-tuning unit 31E selects the shortest pulse width from pulse widths which are not erroneously detected by the pulse detection circuits 24E and 24F. The auto tuning unit 31E sets the selected pulse width as an input / output parameter.
  • the auto tuning unit 31E performs the same auto tuning as the auto tuning unit 31D. Then, the parameter managing unit 32A manages the input / output parameters which are automatically tuned by the auto tuning unit 31E.
  • the parameter managing unit 32A also stores the pulse width set up to now in the dark test process of the output. Then, the parameter management unit 32A sends the pulse width stored so far to the parameter adjustment device 30. Thereby, the parameter adjustment device 30 executes the management of the parameter values described above, the analysis of the tendency of the pulse width, the prediction of the time when the pulse width does not satisfy the reference value, and the notification of the prediction result to the user.
  • the auto-tuning unit 31E performs auto-tuning of the output timing of the output pulse used in the dark test function of the output based on the timing shift between the output timing of the pulse output to the output circuit 23E and the detection timing of the detection pulse. May be
  • the remote I / O 20D having the output circuit 23D on the power supply 73D side can detect the failure of the power supply sticking and the 0V sticking of the output wiring on the power supply 73D side.
  • the remote I / O 20E in which the output circuit 23E is disposed on the power supply 73E side and the output circuit 23F is disposed on the 0V side can detect power supply sticking and 0V sticking on both the power supply 73E side and 0V.
  • the remote I / O 20E can detect a disconnection failure in the output device 51E and a disconnection failure of a wiring connected to the output device 51E.
  • an engineering tool 90 (not shown) having the function of the parameter adjustment device 30 may instruct the above-described remote I / Os 20A to 20E to execute auto tuning via the control unit 10.
  • the control unit 10 instructs the remote I / Os 20A to 20E to execute auto tuning based on an instruction from the engineering tool 90 will be described.
  • FIG. 15 is a diagram illustrating a first screen example of the engineering tool according to the embodiment.
  • the screen 150 on which the engineering tool 90 having the function of the parameter adjustment device 30 displays the device to be the target of the auto-tuning is shown.
  • the screen 150 of the engineering tool 90 is displayed on a display device connected to the PC 9.
  • the engineering tool 90 lists the names of devices that can be targets of auto-tuning in the screen area 94 in the screen 150.
  • the engineering tool 90 displays a button 95 for auto-tuning all the devices listed in the screen area 94 collectively.
  • the engineering tool 90 sends an auto tuning instruction to the listed devices. Since the list display here includes the name of the remote I / O 20X, the engineering tool 90 sends an auto-tuning instruction to the control unit 10 that controls the remote I / O 20X. Thereby, the control unit 10 sends an instruction of auto tuning to the remote I / O 20X, and the remote I / O 20X executes auto tuning.
  • the engineering tool 90 may collectively send an instruction of auto tuning to a device selected by the user from among the devices listed on the screen 150.
  • the engineering tool 90 sends the auto tuning instruction to the selected remote I / O 20X in a batch. .
  • the screen 150 displays device names for each station, such as the control unit 10 and the remote I / O 20X.
  • the engineering tool 90 displays a screen 151 described later.
  • FIG. 16 is a diagram illustrating a second screen example of the engineering tool according to the embodiment.
  • the engineering tool 90 displays the screen 151.
  • the screen 151 is a screen for setting communication parameters and input / output parameters in the remote I / O 20X.
  • the engineering tool 90 displays a list of items that can be automatically tuned to the remote I / O 20X on the screen 151. Further, the engineering tool 90 displays a button 96 for executing auto tuning on the screen 151. In the screen 151, when one or more of the items that can be auto-tuned are selected by the user and then the button 96 is pressed by the user, the engineering tool 90 instructs the auto-tuning of the selected item to be performed. Are output to the control unit 10.
  • FIG. 17 is a diagram for explaining setting processing of a parameter tuning range according to the embodiment.
  • the screen 160 which the parameter adjustment apparatus 30 displays on a display apparatus is shown.
  • the screen 160 is a screen for setting the tuning range of the parameter.
  • the screen 160 displays the parameter name of the parameter to be set and the tuning range.
  • the tuning range is set by user's numerical value input operation.
  • the tuning range is an allowable range of parameters, and is defined by the lower limit value and the upper limit value which allow tuning.
  • the adjustment setting unit 330 sets a tuning range of parameters in accordance with an instruction from the user. Then, the adjustment setting unit 330 causes the parameter management unit 320X to store the set tuning range.
  • the parameter adjustment device 30 may store the tuning range stored in the parameter management unit 320X in the parameter management unit 32B of the control unit 10 or may store the tuning range in the parameter management unit 32A of the remote I / O 20X. In this way, setting the tuning range of the parameters can prevent unexpected settings from being performed by auto tuning.
  • FIG. 18 is a flowchart of an auto-tuning setting process according to the embodiment.
  • the control unit 10 here performs auto tuning while displaying various information on the programmable display.
  • the parameter managing unit 320X of the parameter adjusting device 30 stores setting values used for adjusting the parameters. Examples of this set value are the initial value of the parameter and the tuning range of the parameter. The initial value and tuning range of this parameter may be set from the control unit 10 by the user, or may be set from the parameter adjustment device 30 by the user. In addition, when the tuning range is input by the user, the parameter managing unit 320X receives and stores the tuning range.
  • the instruction unit 310 of the parameter adjustment device 30 sends an instruction of auto tuning to the control unit 10 based on the information stored in the parameter management unit 320X.
  • the instruction that the instruction unit 310 sends to the parameter management unit 320X includes a setting range to be subjected to the auto-tuning.
  • the setting range to be subjected to the auto tuning is information indicating which parameter value of which device is to be subjected to the auto tuning.
  • step S10 the control unit 10 receives a set range to be an object of auto tuning, and inputs the set range to the auto tuning unit 31Z.
  • step S20 the control unit 10 starts auto tuning.
  • step S30 the control unit 10 transmits the setting range data and the tuning start instruction to the auto tuning units 31X and 31Y of the remote I / O 20X.
  • the setting range data is information specifying the type of parameter to be subjected to auto tuning
  • the tuning start instruction is information instructing start of auto tuning.
  • step S40 the auto-tuning units 31X and 31Y of the remote I / O 20X receive the setting range data and the tuning start instruction from the control unit 10. Thereby, in step S50, the auto tuning units 31X and 31Y start auto tuning. Then, in step S60, the auto-tuning units 31X and 31Y perform auto-tuning while sweeping the parameter values.
  • An example of a sweep of parameter values is a sweep of communication time-out time T1 or a sweep of pulse width.
  • step S70 the auto-tuning units 31X and 31Y execute a detection check as to which parameter is used for processing.
  • An example of the detection check performed by the auto-tuning units 31X and 31Y is whether the pulse width of the input signal 101C input to the input circuit 25C is larger than a reference value or detection pulses detected by the pulse detection circuits 24D to 24F. The pulse width of is larger than the reference value.
  • the auto tuning units 31X and 31Y execute the processes of steps S60 and S70.
  • the auto-tuning units 31X and 31Y repeat the processes of steps S60 and S70 until the detection check passes.
  • step S70 If the detection check is passed, that is, if Yes in step S70, the auto tuning units 31X and 31Y transmit the parameter value determined to be passed to the control unit 10 in step S80.
  • step S90 the auto tuning unit 31Z of the control unit 10 receives the parameter values from the auto tuning units 31X and 31Y.
  • step S100 the auto-tuning unit 31Z causes the programmable display to display the parameter value that is the tuning result.
  • the control unit 10 presents the parameter value to the user.
  • the programmable display has an approval button for approving the displayed parameter value.
  • the approval button may be displayed on the touch panel included in the programmable display, or may be disposed at another place.
  • the programmable display transmits information indicating that it has been approved to the control unit 10.
  • the control unit 10 determines that the parameter value is approved, and transmits a parameter value setting command to the remote I / O 20X in step S110.
  • the parameter value setting instruction is an instruction for setting the latest parameter value sent from the remote I / O 20X to the parameter value used by the remote I / O 20X.
  • step S120 the parameter management unit 32A receives a parameter value setting command from the control unit 10. Then, in step S130, the auto-tuning units 31X and 31Y write the parameter value corresponding to the parameter value setting command in the parameter management unit 32A in the remote I / O 20X.
  • the parameter value corresponding to the parameter value setting command is the parameter value transmitted by the remote I / O 20X to the control unit 10 in the process of step S80.
  • the parameter managing unit 32A stores the parameter value corresponding to the parameter value setting instruction in addition to the initial value of the parameter and the tuning range.
  • the parameter value stored by the parameter management unit 32A is a parameter setting value.
  • the auto-tuning units 31X and 31Y may write parameter values corresponding to the parameter value setting instruction into an apparatus other than the remote I / O 20X.
  • step S140 when the setting of the parameter values is completed, the auto-tuning units 31X and 31Y transmit, to the control unit 10, a setting result indicating that the setting has been properly performed. Then, in step S150, the control unit 10 receives the setting result indicating that the setting has been properly performed.
  • the control unit 10 sends the parameter values set by the auto-tuning units 31X and 31Y to the parameter adjustment device 30.
  • the parameter values set by the auto tuning units 31X and 31Y are the parameter values written to the parameter management unit 32A by the auto tuning units 31X and 31Y in the process of step S130.
  • This parameter value is a parameter value received by the control unit 10 in the process of step S90.
  • any one of the auto tuning units 31X and 31Y may perform auto tuning first. Further, the auto tuning units 31X and 31Y may execute auto tuning at the same time.
  • FIG. 19 is a diagram showing an example of a hardware configuration of a microcomputer according to the embodiment.
  • the parameter adjustment device 30 can be realized by the control circuit 300 shown in FIG. 19, that is, the processor 301 and the memory 302.
  • the processor 301 is a CPU (also referred to as a central processing unit, processing unit, arithmetic unit, microprocessor, microcomputer, processor, DSP (Digital Signal Processor)), system LSI (Large Scale Integration), or the like.
  • the memory 302 may be a nonvolatile or volatile semiconductor memory such as a random access memory (RAM) or a read only memory (ROM), or may be a magnetic disk or a flexible disk.
  • RAM random access memory
  • ROM read only memory
  • the parameter adjustment device 30 is realized by the processor 301 reading out and executing a program stored in the memory 302 for operating as the parameter adjustment device 30. Further, it can be said that this program causes a computer to execute the procedure or method of the instruction unit 310, the parameter management unit 320X, the adjustment setting unit 330, the adjustment history storage unit 340, and the error occurrence prediction unit 350.
  • the memory 302 is also used as a temporary memory when the processor 301 executes various processes.
  • the program executed by the processor 301 is a computer-executable computer program product having a computer readable non-transitory recording medium including a plurality of instructions for determining a component temperature. It is.
  • the program executed by the processor 301 causes the computer to execute temperature determinations of a plurality of instructions.
  • the function of the parameter adjustment device 30 may be realized by dedicated hardware.
  • a part of the function of the parameter adjustment device 30 may be realized by dedicated hardware and a part may be realized by software or firmware.
  • the parameter adjustment system 100 increases the load of the control unit 10, the inter-PLC network 5 or the field network 11 by the expansion of the function. In such a case, the PLC system may not be able to execute desired processing with the communication parameters set initially. As a result, the PLC system may be frequently shut down. In the embodiment, since the parameter adjustment device 30 predicts the timing at which the response time of communication exceeds the timeout time T1 and notifies the user, the PLC 6 and the remote I / O 20X communicate parameters before the PLC system stops. It is possible to execute the auto tuning of
  • the parameter adjustment device 30 analyzes and analyzes the tendency of communication processing, the tendency of chattering of an input signal, the tendency of mismatched duplicated signals, and the tendency of pulse widths of signals used for signal input and output. Since the result is notified to the user, the remote I / O 20X can perform auto tuning of input / output parameters before the PLC system stops.
  • the parameter adjustment system 100 can collectively set parameter values in accordance with the actual system, so that shortening of the operation time and prevention of deterioration of the response performance can be realized.
  • the control unit 10 may send an execution instruction of auto tuning to an I / O unit which is an input / output unit included in the PLC 6.
  • the I / O unit is an input / output device, and the I / O unit executes auto tuning by the same processing as the remote I / O 20X.
  • the parameter adjustment device 30 collectively instructs parameter adjustment to a plurality of devices including the remote I / O 20X, and the remote I / O 20X instructs the parameter adjustment device 30 Since parameter adjustment is performed according to the above, parameter values can be easily set in a plurality of devices.
  • the parameter adjustment device 30 is disposed in the PLCs 6 to 8, the PC 9, the remote I / O 20X, the edge computer 2, the host computer 3 or the server 1, it is possible to collectively transmit auto tuning instructions from various positions. it can.
  • the configuration shown in the above embodiment shows an example of the contents of the present invention, and can be combined with another known technique, and one of the configurations is possible within the scope of the present invention. Parts can be omitted or changed.

Abstract

A parameter adjustment system (100) comprises: a remote I/O (20X) that, according to instructions from a control unit (10) for controlling an output device (51X) and an input device (52X) that are devices to be controlled, performs input and output of signals between the output device (51X) and the input device (52X) using parameters; and a parameter adjustment device (30) that instructs adjustment of the parameters to a plurality of the remote I/Os (20X); the remote I/Os (20X) performing adjustment of the parameters in accordance with the actual environment according to the instructions from the parameter adjustment device (30).

Description

パラメータ調整システム、パラメータ調整方法、および入出力装置Parameter adjustment system, parameter adjustment method, and input / output device
 本発明は、入出力装置が用いるパラメータを調整するパラメータ調整システム、パラメータ調整方法、および入出力装置に関する。 The present invention relates to a parameter adjustment system for adjusting parameters used by an input / output device, a parameter adjustment method, and an input / output device.
 工場の生産工程の自動化を図るFA(Factory Automation)の分野で用いられるプログラマブルロジックコントローラ(PLC:Programmable Logic Controller)は、被制御機器の制御を行う装置である。このようなPLCは、ネットワークシステム内に配置されて、信号の入出力を行う入出力装置に接続される。従来、入出力装置のユーザは、ネットワークシステム内の通信時間またはCPU(Central Processing Unit)の処理時間を考慮して、入出力装置にパラメータ値を設定していた。 A programmable logic controller (PLC: Programmable Logic Controller) used in the field of FA (Factory Automation) that automates the production process of a factory is a device that controls controlled devices. Such PLCs are disposed in a network system and connected to input / output devices that input and output signals. Conventionally, a user of an input / output device sets parameter values in the input / output device in consideration of communication time in a network system or processing time of a CPU (Central Processing Unit).
 このため、ユーザは、パラメータ値の設定および調整作業に多くの時間を要していた。ユーザは、パラメータ値に余裕を持たせることで、調整作業を容易にすることができるが、パラメータ値に余裕を持たせた場合、応答性能が低下してシステム全体の性能が低下する。一方、パラメータ値に余裕が無い場合、ネットワークシステムは、頻繁に停止する。 For this reason, the user took much time to set and adjust the parameter value. The user can make adjustment work easier by giving a margin to the parameter value, but if the parameter value has a margin, the response performance is lowered and the performance of the entire system is lowered. On the other hand, if there is no margin in the parameter value, the network system will stop frequently.
 特許文献1のプログラマブルコントローラは、電源投入を検知すると記憶手段にアクセスして通信パラメータを読出し、読出した通信パラメータに基づいて、他端末との間のコネクションを確立している。 The programmable controller of Patent Document 1 accesses the storage means when power on is detected, reads communication parameters, and establishes a connection with another terminal based on the read communication parameters.
特開平6-324720号公報Unexamined-Japanese-Patent No. 6-324720
 しかしながら、上記従来の技術である特許文献1では、パラメータ値を複数の装置に設定する場合には、装置ごとにパラメータ値に基づいたコネクションの確立が必要となる。すなわち、ネットワークシステムは複数の装置から構成されている為、装置毎にパラメータ値の設定が必要となる。そして、装置毎に設定されるパラメータ値は、パラメータの種類によってはネットワークシステムを構成する装置の影響を受ける為、他の装置のパラメータ値を参照しながら装置毎に設定される必要があった。また、パラメータ値の設定は、特許文献1のように電源投入時だけではなく、ネットワークシステムの運用後において再度設定する場合がある。この為、パラメータ値を再度設定する場合、ユーザが装置毎にパラメータ値を調整する必要があり、パラメータ値の設定が煩雑になるという問題があった。 However, in patent document 1 which is the above-mentioned prior art, when setting parameter values to a plurality of devices, it is necessary to establish a connection based on the parameter values for each device. That is, since the network system is composed of a plurality of devices, it is necessary to set parameter values for each device. The parameter values set for each device need to be set for each device while referring to the parameter values of other devices, because the parameter values set for each device are affected by the devices configuring the network system depending on the type of parameter. Further, the setting of the parameter value may be performed again after operation of the network system as well as at the time of power-on as in Patent Document 1. For this reason, when setting the parameter value again, the user needs to adjust the parameter value for each device, and there is a problem that setting of the parameter value becomes complicated.
 本発明は、上記に鑑みてなされたものであって、パラメータ値を複数の装置に容易に設定することができるパラメータ調整システムを得ることを目的とする。 The present invention has been made in view of the above, and it is an object of the present invention to obtain a parameter adjustment system capable of easily setting parameter values in a plurality of devices.
 上述した課題を解決し、目的を達成するために、本発明は、パラメータ調整システムにおいて、被制御機器を制御する制御装置からの指示に従ってパラメータを用いた信号の入出力を行う入出力装置と、複数の入出力装置にパラメータの調整を指示するパラメータ調整装置と、を備える。また、本発明のパラメータ調整システムにおいて、入出力装置は、パラメータ調整装置からの指示に従い、実環境に応じてパラメータの調整を行う。 In order to solve the problems described above and achieve the object, the present invention relates to an input / output device for performing input / output of a signal using a parameter according to an instruction from a control device that controls a controlled device in a parameter adjustment system; And a parameter adjustment device that instructs the plurality of input / output devices to adjust the parameters. Further, in the parameter adjustment system of the present invention, the input / output device adjusts the parameters according to the actual environment in accordance with the instruction from the parameter adjustment device.
 本発明にかかるパラメータ調整システムは、パラメータ値を複数の装置に容易に設定することができるという効果を奏する。 The parameter adjustment system according to the present invention has an effect that parameter values can be easily set in a plurality of devices.
本発明の実施の形態にかかるパラメータ調整システムの構成を示す図The figure which shows the structure of the parameter adjustment system concerning embodiment of this invention. 実施の形態にかかるパラメータ調整装置の構成を示す図The figure which shows the structure of the parameter adjustment apparatus concerning embodiment 実施の形態にかかるリモートI/O(Input/Output)の構成を示す図A diagram showing a configuration of remote I / O (Input / Output) according to the embodiment 実施の形態にかかる、タイムアウト時間の設定方法を説明するための図Diagram for explaining how to set the timeout time according to the embodiment 実施の形態にかかるチャタリングフィルタ処理を説明するための図A figure for explaining chattering filter processing concerning an embodiment 実施の形態にかかる、チャタリング時間とフィルタ時間との関係を説明するための図Diagram for explaining the relationship between chattering time and filter time according to the embodiment 実施の形態にかかる不一致信号フィルタ処理を説明するための図Diagram for explaining unmatched signal filter processing according to the embodiment 実施の形態にかかる、二重化不一致時間とフィルタ時間との関係を説明するための図Diagram for explaining the relationship between duplexing mismatch time and filter time according to the embodiment 実施の形態にかかる入力のダークテスト処理を説明するための図Diagram for explaining dark test processing of input according to the embodiment 実施の形態にかかる、出力パルスと入力信号との関係を説明するための図A diagram for explaining the relationship between an output pulse and an input signal according to an embodiment 実施の形態にかかる出力のダークテスト処理の第1の処理例を説明するための図A figure for explaining the 1st example of processing of a dark test process of an output concerning an embodiment 実施の形態にかかる、出力パルスと検出パルスとの第1の関係を説明するための図A diagram for explaining a first relationship between an output pulse and a detection pulse according to the embodiment 実施の形態にかかる出力のダークテスト処理の第2の処理例を説明するための図A figure for explaining the 2nd processing example of a dark test processing of an output concerning an embodiment. 実施の形態にかかる、出力パルスと検出パルスとの第2の関係を説明するための図A diagram for explaining a second relationship between an output pulse and a detection pulse according to the embodiment 実施の形態にかかるエンジニアリングツールの第1の画面例を示す図The figure which shows the 1st screen example of the engineering tool concerning embodiment. 実施の形態にかかるエンジニアリングツールの第2の画面例を示す図A diagram showing a second screen example of the engineering tool according to the embodiment 実施の形態にかかる、パラメータのチューニング範囲の設定処理を説明するための図Diagram for explaining setting process of tuning range of parameter according to the embodiment 実施の形態にかかるオートチューニングの設定処理手順を示すフローチャートFlow chart showing setting processing procedure of auto tuning according to the embodiment 実施の形態にかかるマイクロコンピュータのハードウェア構成例を示す図A figure showing an example of hardware constitutions of a microcomputer concerning an embodiment
 以下に、本発明の実施の形態にかかるパラメータ調整システム、パラメータ調整方法、および入出力装置を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。 Hereinafter, a parameter adjustment system, a parameter adjustment method, and an input / output device according to an embodiment of the present invention will be described in detail based on the drawings. The present invention is not limited by the embodiment.
実施の形態.
 図1は、本発明の実施の形態にかかるパラメータ調整システムの構成を示す図である。パラメータ調整システム100は、制御装置であるPLC6~8と、PLC6に接続されたリモートI/O20Xと、PLC6に接続されたPC(Personal Computer)9とを備えている。また、パラメータ調整システム100は、リモートI/O20Xに接続された、出力機器51Xおよび入力機器52Xを備えている。また、パラメータ調整システム100は、PLC6~8よりも上位側のコンピュータである、エッジコンピュータ2、上位コンピュータ3およびサーバ1を備えている。なお、リモートI/O20Xは、複数のユニットを示しており、リモートI/O20Xの例は、後述の図5に示すリモートI/O20A、または後述の図7に示すリモートI/O20Bなどである。
Embodiment.
FIG. 1 is a diagram showing the configuration of a parameter adjustment system according to an embodiment of the present invention. The parameter adjustment system 100 includes PLCs 6 to 8 as control devices, a remote I / O 20X connected to the PLC 6, and a PC (Personal Computer) 9 connected to the PLC 6. The parameter adjustment system 100 also includes an output device 51X and an input device 52X connected to the remote I / O 20X. The parameter adjustment system 100 further includes an edge computer 2, an upper computer 3, and a server 1, which are upper computers than the PLCs 6 to 8. The remote I / O 20X indicates a plurality of units, and an example of the remote I / O 20X is a remote I / O 20A shown in FIG. 5 described later, or a remote I / O 20B shown in FIG. 7 described later.
 エッジコンピュータ2、上位コンピュータ3およびサーバ1は、イーサネット(登録商標)といった通信規格を用いた通信網4に接続されている。また、エッジコンピュータ2およびPLC6~8は、PLC間ネットワーク5に接続されている。 The edge computer 2, the host computer 3 and the server 1 are connected to a communication network 4 using a communication standard such as Ethernet (registered trademark). The edge computer 2 and the PLCs 6 to 8 are connected to the inter-PLC network 5.
 PLC6~8は、機械制御に特化したラダー言語によって種々の機器を制御するFA用コントローラである。ここでのPLC6は、CPUユニットといった制御ユニット10を備えている。マスタ局である制御ユニット10は、出力機器51Xおよび入力機器52Xを制御するための指示を生成して、リモート局であるリモートI/O20Xに送信する。また、制御ユニット10は、リモートI/O20Xから種々の情報を受信する。 The PLCs 6 to 8 are FA controllers that control various devices according to a ladder language specialized for machine control. The PLC 6 here is provided with a control unit 10 such as a CPU unit. The control unit 10, which is the master station, generates an instruction to control the output device 51X and the input device 52X, and transmits the instruction to the remote I / O 20X, which is a remote station. The control unit 10 also receives various information from the remote I / O 20X.
 なお、PLC6は、制御ユニット10以外のユニットを備えていてもよい。PLC6は、情報の入出力を実行するI/Oユニットまたは他の装置と通信を行なうネットワークユニットを備えていてもよいし、制御ユニット10がI/Oユニットまたはネットワークユニットの機能を有していてもよい。PLC6がネットワークユニットを備えている場合、ネットワークユニットがリモートI/O20Xに接続される。また、制御ユニット10がネットワークユニットの機能を有している場合、制御ユニット10がリモートI/O20Xに接続される。 The PLC 6 may include units other than the control unit 10. The PLC 6 may include an I / O unit that performs input / output of information or a network unit that communicates with other devices, and the control unit 10 has the function of an I / O unit or a network unit. It is also good. If the PLC 6 comprises a network unit, the network unit is connected to the remote I / O 20X. When the control unit 10 has the function of a network unit, the control unit 10 is connected to the remote I / O 20X.
 制御ユニット10は、入出力装置の一例であるリモートI/O20Xにパラメータの設定指示を送る。実施の形態の制御ユニット10は、複数のパラメータを一括で設定する指示である一括設定指示または特定のパラメータを設定する指示である特定設定指示をリモートI/O20Xに送ることができる。 The control unit 10 sends parameter setting instructions to the remote I / O 20X, which is an example of an input / output device. The control unit 10 according to the embodiment can send, to the remote I / O 20X, a batch setting instruction which is an instruction to set a plurality of parameters at one time or a specific setting instruction which is an instruction to set a specific parameter.
 一括設定指示は、制御ユニット10がパラメータを調整させることが可能な装置の全てへのパラメータ設定指示である。なお、制御ユニット10は、一部装置をパラメータ設定から除外した一括設定指示を出力してもよい。特定設定指示は、制御ユニット10がパラメータを調整させることが可能な装置のうち、ユーザによって指定された特定の装置へのパラメータ設定指示である。なお、パラメータの調整は、設定済みのパラメータの値を変更することに加え、未設定のパラメータの値を設定することも含んでいる。 The collective setting instruction is a parameter setting instruction to all of the devices that can cause the control unit 10 to adjust the parameters. The control unit 10 may output a batch setting instruction excluding some of the devices from parameter setting. The specific setting instruction is a parameter setting instruction to a specific device designated by the user among the devices whose control unit 10 can adjust the parameter. In addition to adjusting the value of the set parameter, the adjustment of the parameter includes setting the value of the unset parameter.
 以下の説明ではパラメータの一括設定指示または特定設定指示を、パラメータ設定指示という場合がある。制御ユニット10が、パラメータ設定指示をリモートI/O20Xに送ると、リモートI/O20Xは、パラメータのオートチューニングを実行する。リモートI/O20Xがオートチューニングするパラメータは、通信パラメータおよび入出力パラメータである。通信パラメータは、制御ユニット10との間で通信を実行する際に用いられるパラメータであり、入出力パラメータは、出力機器51Xおよび入力機器52Xとの間で信号の入出力を行う際に用いられるパラメータである。リモートI/O20Xは、通信処理および信号の入出力処理の確実性を向上させることができるよう、パラメータをオートチューニングする。換言すると、リモートI/O20Xは、通信処理および信号の入出力処理の成功確率が基準値よりも高くなるよう、パラメータをオートチューニングする。なお、リモートI/O20Xは、通信処理および信号の入出力処理の確実性とは関係の無いパラメータをオートチューニングしてもよい。 In the following description, a parameter batch setting instruction or a specific setting instruction may be referred to as a parameter setting instruction. When the control unit 10 sends a parameter setting instruction to the remote I / O 20X, the remote I / O 20X performs auto tuning of the parameters. The parameters that the remote I / O 20X performs auto tuning are communication parameters and input / output parameters. The communication parameter is a parameter used when performing communication with the control unit 10, and the input / output parameter is a parameter used when inputting / outputting a signal between the output device 51X and the input device 52X. It is. The remote I / O 20X autotunes the parameters so that the certainty of communication processing and signal input / output processing can be improved. In other words, the remote I / O 20X autotunes the parameters so that the success probability of communication processing and signal input / output processing is higher than a reference value. The remote I / O 20X may auto-tune parameters that are not related to the certainty of communication processing and signal input / output processing.
 リモート入出力装置であるリモートI/O20Xは、通信パラメータを設定する際には、PLC6と協働して通信パラメータのオートチューニングを実行する。また、リモートI/O20Xは、入出力パラメータを設定する際には、出力機器51Xまたは入力機器52Xを用いて入出力パラメータのオートチューニングを実行する。実施の形態にかかる入出力パラメータは、リモートI/O20Xが、入力機器52Xからの信号を入力する際に用いる入力パラメータ、またはリモートI/O20Xが、出力機器51Xへ信号を出力する際に用いる出力パラメータである。 When setting communication parameters, the remote I / O 20X, which is a remote input / output device, cooperates with the PLC 6 to execute automatic tuning of the communication parameters. Further, when setting the input / output parameters, the remote I / O 20X performs the auto tuning of the input / output parameters using the output device 51X or the input device 52X. The input / output parameter according to the embodiment is an input parameter used when the remote I / O 20X inputs a signal from the input device 52X, or an output used when the remote I / O 20X outputs a signal to the output device 51X It is a parameter.
 リモートI/O20Xは、PLC6との間でフィールドネットワーク11を介して通信を行なう。このとき、リモートI/O20Xは、調整可能なパラメータ値である通信パラメータを用いてPLC6との間の通信を実行する。 The remote I / O 20X communicates with the PLC 6 via the field network 11. At this time, the remote I / O 20X executes communication with the PLC 6 using the communication parameter which is an adjustable parameter value.
 リモートI/O20Xは、PLC6から送られてくる指示に従って動作する。リモートI/O20Xは、PLC6からの指示に従って出力機器51Xに信号を出力する。このとき、リモートI/O20Xは、調整可能なパラメータ値である入出力パラメータを用いて出力機器51Xに信号を出力する。出力機器51Xは、リモートI/O20Xが出力する信号を受付ける装置であり、出力機器51Xの例は、コンダクタ、電磁石、バルブまたはモニタである。 The remote I / O 20X operates according to the instruction sent from the PLC 6. The remote I / O 20X outputs a signal to the output device 51X according to the instruction from the PLC 6. At this time, the remote I / O 20X outputs a signal to the output device 51X using input / output parameters which are adjustable parameter values. The output device 51X is a device for receiving a signal output from the remote I / O 20X, and an example of the output device 51X is a conductor, an electromagnet, a valve or a monitor.
 また、リモートI/O20Xは、入力機器52Xによって入力される信号を受付ける。このとき、リモートI/O20Xは、入出力パラメータを用いて入力機器52Xからの信号を受付ける。入力機器52Xは、リモートI/O20Xに信号を入力する装置であり、入力機器52Xの例は、センサまたはボタンである。なお、以下の説明では、PLC6と、リモートI/O20Xと、出力機器51Xと、入力機器52Xとを含んだシステムをPLCシステムという場合がある。 Also, the remote I / O 20X receives a signal input by the input device 52X. At this time, the remote I / O 20X receives a signal from the input device 52X using input / output parameters. The input device 52X is a device for inputting a signal to the remote I / O 20X, and an example of the input device 52X is a sensor or a button. In the following description, a system including the PLC 6, the remote I / O 20X, the output device 51X, and the input device 52X may be referred to as a PLC system.
 PC9は、PLC6への種々の設定を行うためのパラメータ調整装置30を備えている。パラメータ調整装置30は、パラメータ設定指示をリモートI/O20Xに送る装置である。パラメータ調整装置30がパラメータ設定指示をPLC6に送った場合、PLC6は、パラメータ調整装置30からの指示に従ってリモートI/O20Xにパラメータ設定指示を送る。 The PC 9 is provided with a parameter adjustment device 30 for performing various settings to the PLC 6. The parameter adjustment device 30 is a device that sends a parameter setting instruction to the remote I / O 20X. When the parameter adjustment device 30 sends a parameter setting instruction to the PLC 6, the PLC 6 sends the parameter setting instruction to the remote I / O 20X in accordance with the instruction from the parameter adjustment device 30.
 実施の形態のパラメータ調整装置30は、PLC6に一括設定指示および特定設定指示の何れも送ることができる。PLC6の制御ユニット10は、パラメータ調整装置30から一括設定指示を受信すると、一括設定指示をリモートI/O20Xに送る。また、制御ユニット10は、パラメータ調整装置30から特定設定指示を受信すると、特定設定指示をリモートI/O20Xに送る。パラメータ調整装置30は、後述するエンジニアリングツール90によって実現される。 The parameter adjustment device 30 according to the embodiment can send both the batch setting instruction and the specific setting instruction to the PLC 6. When receiving the batch setting instruction from the parameter adjustment device 30, the control unit 10 of the PLC 6 sends the batch setting instruction to the remote I / O 20X. Also, upon receiving the specific setting instruction from the parameter adjustment device 30, the control unit 10 sends the specific setting instruction to the remote I / O 20X. The parameter adjustment device 30 is realized by an engineering tool 90 described later.
 PLC7,8は、PLC6と同様の構成を有した装置である。図1では、PLC7,8が備える制御ユニットの図示を省略している。また、図1では、PLC7,8に接続されたリモートI/O、このリモートI/Oに接続された出力機器および入力機器の図示を省略している。 The PLCs 7 and 8 are devices having the same configuration as the PLC 6. In FIG. 1, the control units included in the PLCs 7 and 8 are not shown. Further, in FIG. 1, illustration of the remote I / O connected to the PLCs 7 and 8 and the output device and input device connected to the remote I / O is omitted.
 なお、制御ユニット10は、パラメータ設定指示を、リモートI/O20X以外の装置に送ってもよい。制御ユニット10は、PLC間ネットワーク5に接続された他のPLC7,8にパラメータ設定指示を送ってもよいし、PLC間ネットワーク5に接続された特定のユニットにパラメータ設定指示を送ってもよい。また、制御ユニット10は、リモートI/O20Xの接続先の装置が用いるパラメータを設定する設定指示を、リモートI/O20Xに送ってもよい。換言すると、制御ユニット10は、オートチューング可能な装置のパラメータであれば何れの装置をオートチューングの対象にしてもよい。 The control unit 10 may send a parameter setting instruction to a device other than the remote I / O 20X. The control unit 10 may send parameter setting instructions to the other PLCs 7 and 8 connected to the inter-PLC network 5 or may send parameter setting instructions to a specific unit connected to the inter-PLC network 5. Further, the control unit 10 may send a setting instruction to set parameters used by the device of the connection destination of the remote I / O 20X to the remote I / O 20X. In other words, the control unit 10 may target any device as a parameter of the device capable of automatic tuning.
 このように、制御ユニット10がパラメータ設定指示を送る対象は、PLC間ネットワーク5に接続された装置と、リモートI/O20Xと、リモートI/O20Xに接続された装置との何れであってもよい。また、パラメータ調整装置30がパラメータ設定指示を送る対象は、パラメータ調整システム100内の何れの装置であってもよい。 Thus, the target to which the control unit 10 sends the parameter setting instruction may be any of the device connected to the inter-PLC network 5, the remote I / O 20X, and the device connected to the remote I / O 20X. . The target to which the parameter adjustment device 30 sends the parameter setting instruction may be any device within the parameter adjustment system 100.
 エッジコンピュータ2は、PLC6~8が配置された生産ラインからデータの収集を行う。エッジコンピュータ2は、PLC間ネットワーク5を介してPLC6~8からリアルタイムでデータを収集する。また、エッジコンピュータ2は、収集したデータを用いてPLC6~8が配置された生産ラインを管理する。また、エッジコンピュータ2は、収集したデータおよび管理しているデータを、通信網4を介して上位コンピュータ3およびサーバ1に送る。また、エッジコンピュータ2は、上位コンピュータ3およびサーバ1から指示情報および生産ライン管理するための管理情報を受信する。また、エッジコンピュータ2は、PLC6~8に指示情報および管理情報を送信する。エッジコンピュータ2がPLC6~8に送信する指示情報および管理情報は、エッジコンピュータ2が生成したものであってもよいし、上位コンピュータ3またはサーバ1が生成したものであってもよい。 The edge computer 2 collects data from the production line in which the PLCs 6 to 8 are arranged. The edge computer 2 collects data from the PLCs 6 to 8 in real time via the inter-PLC network 5. Further, the edge computer 2 manages the production line in which the PLCs 6 to 8 are arranged, using the collected data. Also, the edge computer 2 sends the collected data and the managed data to the upper computer 3 and the server 1 via the communication network 4. The edge computer 2 also receives instruction information and management information for managing a production line from the host computer 3 and the server 1. In addition, the edge computer 2 transmits instruction information and management information to the PLCs 6 to 8. The instruction information and the management information that the edge computer 2 transmits to the PLCs 6 to 8 may be generated by the edge computer 2 or may be generated by the host computer 3 or the server 1.
 上位コンピュータ3は、エッジコンピュータ2を管理するコンピュータである。上位コンピュータ3は、1から複数のエッジコンピュータ2からデータを収集し、1から複数のエッジコンピュータ2が配置された生産ライン群を管理する。 The host computer 3 is a computer that manages the edge computer 2. The host computer 3 collects data from one to a plurality of edge computers 2 and manages a production line group in which one to a plurality of edge computers 2 are arranged.
 サーバ1は、生産ラインを有した工場内に配置されて、データを収集するコンピュータである。サーバ1は、1から複数の上位コンピュータ3からデータを収集し、1から複数の上位コンピュータ3が配置された工場を管理する。 The server 1 is a computer that is disposed in a factory having a production line and collects data. The server 1 collects data from one to a plurality of upper computers 3 and manages a factory where the one to a plurality of upper computers 3 are arranged.
 上位コンピュータ3またはサーバ1は、スキャダ(SCADA:Supervisory Control And Data Acquisition)であってもよいし、基幹系情報システムのERP(Enterprise Resource Planning)に適用されるコンピュータであってもよい。SCADAは、産業制御システムであり、コンピュータによってシステム監視およびプロセス制御を行う。SCADAは、データ収集および監視制御システムとも呼ばれる。 The host computer 3 or the server 1 may be a SCADA (Supervisory Control And Data Acquisition), or may be a computer applied to Enterprise Resource Planning (ERP) of a core information system. SCADA is an industrial control system, which performs system monitoring and process control by a computer. SCADA is also called data acquisition and supervisory control system.
 なお、サーバ1は、インターネットといった通信ネットワークを介して、サーバ1よりも上位側のコンピュータである上位情報処理装置に接続されてもよい。この場合のパラメータ調整システム100は、クラウドコンピューティングシステムを用いて、生産ラインを管理する。 The server 1 may be connected to a host information processing apparatus which is a computer higher than the server 1 via a communication network such as the Internet. The parameter adjustment system 100 in this case manages a production line using a cloud computing system.
 また、パラメータ調整システム100内の何れかの装置がPLC6にパラメータ設定指示を送ってもよいし、パラメータ調整装置30以外の装置が、PLC6にパラメータ設定指示を送ってもよい。また、サーバ1に接続されている上位情報処理装置がPLC6にパラメータ設定指示を送ってもよい。 Further, any device in the parameter adjustment system 100 may send a parameter setting instruction to the PLC 6, or a device other than the parameter adjustment device 30 may send a parameter setting instruction to the PLC 6. Also, the upper information processing apparatus connected to the server 1 may send a parameter setting instruction to the PLC 6.
 サーバ1に接続されている上位情報処理装置、上位コンピュータ3、エッジコンピュータ2、サーバ1、PLC6~8およびPC9のうち、PLC6にパラメータ設定指示を送る装置が、後述するパラメータ調整装置30を備えている。パラメータ調整装置30は、リモートI/O20Xにパラメータ設定指示を送るとともに、リモートI/O20Xによるパラメータの調整処理を管理する装置である。なお、上位情報処理装置、サーバ1、上位コンピュータ3、エッジコンピュータ2、PLC6~8およびPC9のうち、PLC6にパラメータ設定指示を送る装置が、パラメータ調整装置30の代わりに、パラメータ調整装置30の機能を実現するプログラムであるパラメータ調整プログラムを用いてもよい。 Among the upper information processing apparatus connected to the server 1, the upper computer 3, the edge computer 2, the server 1, the PLCs 6 to 8 and the PC 9, an apparatus for sending parameter setting instructions to the PLC 6 comprises a parameter adjustment apparatus 30 described later There is. The parameter adjustment device 30 is a device that sends parameter setting instructions to the remote I / O 20X and manages parameter adjustment processing by the remote I / O 20X. Among the host information processing apparatus, the server 1, the host computer 3, the edge computer 2, the PLCs 6 to 8 and the PC 9, the apparatus for sending the parameter setting instruction to the PLC 6 is a function of the parameter adjustment apparatus 30 instead of the parameter adjustment apparatus 30. You may use the parameter adjustment program which is a program which implement | achieves.
 図2は、実施の形態にかかるパラメータ調整装置の構成を示す図である。パラメータ調整装置30は、パラメータ調整システム100内の上位情報処理装置、上位コンピュータ3、エッジコンピュータ2、サーバ1、PLC6~8およびPC9の何れかに配置される。パラメータ調整装置30は、パラメータを調整する際に用いられる後述の設定値を管理するパラメータ管理部320Xと、パラメータの調整可能な範囲であるチューニング範囲を設定する調整設定部330とを備えている。また、パラメータ調整装置30は、調整が完了したパラメータの設定データを記憶する調整履歴記憶部340と、エラーの発生を予測するエラー発生予測部350とを備えている。また、パラメータ調整装置30は、パラメータ管理部320Xで記憶している情報に基づいて制御ユニット10にオートチューニングの指示を送る指示部310を備えている。 FIG. 2 is a diagram showing the configuration of the parameter adjustment device according to the embodiment. The parameter adjustment device 30 is disposed in any of the upper information processing device in the parameter adjustment system 100, the upper computer 3, the edge computer 2, the server 1, the PLCs 6 to 8 and the PC 9. The parameter adjustment device 30 includes a parameter management unit 320X that manages a set value described later used when adjusting the parameter, and an adjustment setting unit 330 that sets a tuning range that is an adjustable range of the parameter. The parameter adjustment device 30 further includes an adjustment history storage unit 340 that stores setting data of the parameter for which adjustment has been completed, and an error occurrence prediction unit 350 that predicts the occurrence of an error. The parameter adjustment device 30 further includes an instruction unit 310 that sends an instruction of auto tuning to the control unit 10 based on the information stored in the parameter management unit 320X.
 パラメータ管理部320Xは、メモリといった記憶手段を有しており、この記憶手段によってパラメータ調整の設定値を記憶する。パラメータ調整の設定値は、パラメータを調整する際に用いられる設定値と、調整されることによって実際に設定されたパラメータ値とを含んでいる。パラメータ管理部320Xが管理するパラメータ調整の設定値の例は、パラメータの初期値、パラメータのチューニング範囲、実際に設定されたパラメータ値である。パラメータの初期値およびパラメータのチューニング範囲は、リモートI/O20Xがパラメータをオートチューニングする際に用いられる。リモートI/O20Xは、パラメータをオートチューニングする際に、パラメータの初期値からパラメータを変化させて、適切なパラメータを探し出す。この場合において、リモートI/O20Xは、パラメータのチューニング範囲内でパラメータを変化させることによって、適切なパラメータを探し出す。パラメータは、リモートI/O20Xがパラメータのオートチューニングによって実際に設定したパラメータ設定値である。 The parameter management unit 320X has a storage unit such as a memory, and stores the setting value of the parameter adjustment by this storage unit. The setting values of the parameter adjustment include setting values used when adjusting the parameters and parameter values actually set by the adjustment. Examples of setting values of parameter adjustment managed by the parameter managing unit 320X are an initial value of a parameter, a tuning range of the parameter, and an actually set parameter value. The initial value of the parameter and the tuning range of the parameter are used when the remote I / O 20X auto-tunes the parameter. When auto tuning parameters, the remote I / O 20X changes the parameters from the initial values of the parameters to find the appropriate parameter. In this case, the remote I / O 20X finds the appropriate parameter by changing the parameter within the tuning range of the parameter. The parameter is a parameter setting value that the remote I / O 20X has actually set by auto tuning of the parameter.
 実施の形態では、パラメータ調整装置30の指示部310が、パラメータ管理部320Xによって管理されている、パラメータの初期値およびチューニング範囲を用いてパラメータ設定指示を生成し、生成したパラメータ設定指示をリモートI/O20Xに送る。 In the embodiment, the instruction unit 310 of the parameter adjustment device 30 generates a parameter setting instruction using the initial value of the parameter and the tuning range managed by the parameter management unit 320X, and generates the parameter setting instruction as a remote I. Send to / O 20X.
 調整設定部330は、ユーザからの指示に従って、パラメータのチューニング範囲を設定する。調整設定部330は、設定したチューニング範囲をパラメータ管理部320Xに格納する。 The adjustment setting unit 330 sets a tuning range of parameters in accordance with an instruction from the user. The adjustment setting unit 330 stores the set tuning range in the parameter management unit 320X.
 調整履歴記憶部340は、リモートI/O20Xがパラメータのオートチューニングによって設定したパラメータ値の履歴を記憶する。調整履歴記憶部340は、これまでに設定されたパラメータ値を記憶しておく。調整履歴記憶部340が記憶するパラメータ値の履歴は、パラメータの設定値そのものの履歴であってもよいし、パラメータの調整に用いた補正値の履歴であってもよい。 The adjustment history storage unit 340 stores the history of the parameter values set by the remote I / O 20X by the automatic tuning of the parameters. The adjustment history storage unit 340 stores the parameter values set so far. The history of the parameter value stored in the adjustment history storage unit 340 may be a history of the setting value itself of the parameter, or may be a history of the correction value used for adjusting the parameter.
 エラー発生予測部350は、調整履歴記憶部340が記憶するパラメータ値に基づいて、リモートI/O20Xといったオートチューニングの対象装置で発生するエラーを予測する。エラー発生予測部350は、これまでに収集した後述の収集情報に基づいて、通信処理の傾向、入力信号のチャタリングの傾向、二重化された信号の不一致の傾向、および入出力処理に用いられる信号のパルス幅の傾向を分析し、エラーを予測する。 The error occurrence prediction unit 350 predicts an error that occurs in a target device for auto tuning, such as the remote I / O 20X, based on the parameter values stored in the adjustment history storage unit 340. The error occurrence prediction unit 350 determines the tendency of communication processing, the tendency of chattering of the input signal, the tendency of mismatch of duplicated signals, and the signal used for the input / output processing based on the later-collected information collected so far. Analyze pulse width trends and predict errors.
 指示部310は、パラメータ管理部320Xで記憶している情報に基づいて、制御ユニット10にオートチューニングの指示を送る。また、指示部310は、エラー発生予測部350による予測結果に基づいて、エラー通知の表示指示を表示装置といった外部装置に送信する。表示装置の一例は、プログラマブル表示器である。 The instructing unit 310 sends an instruction of auto tuning to the control unit 10 based on the information stored in the parameter managing unit 320X. The instruction unit 310 also transmits an instruction to display an error notification to an external device such as a display device based on the prediction result of the error occurrence prediction unit 350. One example of a display device is a programmable display.
 つぎに、リモートI/O20Xの構成について説明する。図3は、実施の形態にかかるリモートI/Oの構成を示す図である。リモートI/O20Xは、制御ユニット10と通信を行なう通信インタフェース(IF:InterFace)21と、パラメータのオートチューニングを実行するマイクロコンピュータ22とを備えている。また、リモートI/O20Xは、マイクロコンピュータ22からの指示に従って出力機器51Xに信号を出力する出力回路23Xと、入力機器52Xによって入力される信号を受付けてマイクロコンピュータ22に送る入力回路25Xとを備えている。また、リモートI/O20Xは、出力回路23Xおよび出力機器51Xから送られてくる出力信号のパルスを検出するパルス検出回路24Xと、テスト用の信号を送出して入力機器52Xに送るテスト出力回路26とを備えている。 Next, the configuration of the remote I / O 20X will be described. FIG. 3 is a diagram showing the configuration of the remote I / O according to the embodiment. The remote I / O 20X includes a communication interface (IF: InterFace) 21 that communicates with the control unit 10, and a microcomputer 22 that performs automatic tuning of parameters. The remote I / O 20X also includes an output circuit 23X that outputs a signal to the output device 51X according to an instruction from the microcomputer 22, and an input circuit 25X that receives a signal input by the input device 52X and sends it to the microcomputer 22. ing. The remote I / O 20X also has a pulse detection circuit 24X that detects pulses of the output signal sent from the output circuit 23X and the output device 51X, and a test output circuit 26 that sends out a signal for test and sends it to the input device 52X. And have.
 通信IF21は、制御ユニット10およびマイクロコンピュータ22に接続されている。通信IF21は、マイクロコンピュータ22がオートチューニングした通信パラメータを用いて制御ユニット10との間の通信を実行する。通信IF21は、制御ユニット10からの指示をマイクロコンピュータ22に送り、マイクロコンピュータ22からの信号を制御ユニット10に送る。制御ユニット10からリモートI/O20Xへの指示の例は、パラメータ設定指示である。このパラメータ設定指示は、パラメータの初期値およびパラメータのチューニング範囲を含んでいる。 The communication IF 21 is connected to the control unit 10 and the microcomputer 22. The communication IF 21 executes communication with the control unit 10 using the communication parameters that the microcomputer 22 has auto-tuned. The communication IF 21 sends an instruction from the control unit 10 to the microcomputer 22 and sends a signal from the microcomputer 22 to the control unit 10. An example of an instruction from the control unit 10 to the remote I / O 20X is a parameter setting instruction. The parameter setting instruction includes the initial value of the parameter and the tuning range of the parameter.
 マイクロコンピュータ22から制御ユニット10への情報は、マイクロコンピュータ22が収集した情報である。マイクロコンピュータ22が収集した情報の例は、入力回路25Xが入力機器52Xから取得した情報、またはマイクロコンピュータ22がオートチューニングによって取得した通信パラメータおよび入出力パラメータである。 The information from the microcomputer 22 to the control unit 10 is the information collected by the microcomputer 22. Examples of the information collected by the microcomputer 22 are information acquired by the input circuit 25X from the input device 52X, or communication parameters and input / output parameters acquired by the microcomputer 22 by auto tuning.
 マイクロコンピュータ22は、パラメータ設定指示に基づいて、パラメータのオートチューニングとパラメータの管理とを実行する。マイクロコンピュータ22は、リモートI/O20Xが用いる通信パラメータのオートチューニングを行うオートチューニング部31Yと、リモートI/O20Xが用いる入出力パラメータのオートチューニングを行うオートチューニング部31Xとを備えている。また、マイクロコンピュータ22は、オートチューニング部31X,31Yがオートチューニングによって取得した通信パラメータおよび入出力パラメータを管理するパラメータ管理部32Aを備えている。 The microcomputer 22 executes parameter auto tuning and parameter management based on the parameter setting instruction. The microcomputer 22 includes an auto tuning unit 31Y that performs auto tuning of communication parameters used by the remote I / O 20X, and an auto tuning unit 31X that performs auto tuning of input / output parameters used by the remote I / O 20X. The microcomputer 22 further includes a parameter management unit 32A that manages communication parameters and input / output parameters acquired by the auto-tuning units 31X and 31Y by the auto-tuning.
 オートチューニング部31Yは、通信IF21を介して制御ユニット10との間で通信を行なうことによって通信パラメータのオートチューニングを行う。また、オートチューニング部31Xは、出力回路23X、パルス検出回路24X、入力回路25Xおよびテスト出力回路26を用いて入出力パラメータのオートチューニングを行う。 The auto tuning unit 31 Y performs communication with the control unit 10 via the communication IF 21 to perform auto tuning of communication parameters. The auto-tuning unit 31X performs auto-tuning of input / output parameters using the output circuit 23X, the pulse detection circuit 24X, the input circuit 25X, and the test output circuit 26.
 オートチューニング部31Xは、入出力パラメータのうちの出力パラメータをオートチューニングする際に、出力回路23Xに出力信号を出力させる。これにより、出力回路23Xは出力信号を出力機器51Xに出力する。オートチューニング部31Xは、出力パラメータをオートチューニングする際に、パルス検出回路24Xが検出した出力信号を受け取り、この出力信号と、出力回路23Xに出力させた出力信号とに基づいて出力パラメータをオートチューニングする。 The auto-tuning unit 31X causes the output circuit 23X to output an output signal when auto-tuning an output parameter of the input and output parameters. Thus, the output circuit 23X outputs an output signal to the output device 51X. The auto tuning unit 31X receives an output signal detected by the pulse detection circuit 24X when auto tuning an output parameter, and auto tunes the output parameter based on the output signal and the output signal output to the output circuit 23X. Do.
 また、オートチューニング部31Xは、入出力パラメータのうちの入力パラメータをオートチューニングする際に、テスト出力回路26に出力信号を出力させる。これにより、テスト出力回路26は、テスト用の出力信号を入力機器52Xに出力する。オートチューニング部31Xは、入力パラメータをオートチューニングする際に、入力回路25Xに入力された入力信号を受け取り、この入力信号に基づいて入力パラメータをオートチューニングする。 The auto-tuning unit 31X causes the test output circuit 26 to output an output signal when auto-tuning an input parameter of the input and output parameters. Thus, the test output circuit 26 outputs an output signal for test to the input device 52X. When auto-tuning an input parameter, the auto-tuning unit 31X receives an input signal input to the input circuit 25X, and auto-tunes the input parameter based on the input signal.
 パラメータ管理部32Aは、パラメータ調整装置30のパラメータ管理部320Xと同様の機能を有している。パラメータ管理部32Aは、パラメータの初期値、チューニング範囲、および設定されたパラメータ値を記憶する。 The parameter management unit 32A has the same function as the parameter management unit 320X of the parameter adjustment device 30. The parameter managing unit 32A stores the initial value of the parameter, the tuning range, and the set parameter value.
 マイクロコンピュータ22は、リモートI/O20Xの起動時にパラメータのオートチューニングを実行してもよいし、リモートI/O20Xの動作中にパラメータのオートチューニングを実行してもよい。 The microcomputer 22 may perform auto tuning of parameters when the remote I / O 20X is activated, or may perform auto tuning of parameters during operation of the remote I / O 20X.
 なお、オートチューニング部31X,31Yは、パラメータ管理部32Aからの指示に基づいて、オートチューニングを実行してもよい。この場合、オートチューニング部31X,31Yは、パラメータ管理部32Aから送られてくる出力信号または入力信号といった信号を用いてオートチューニングを実行する。 The auto tuning units 31X and 31Y may execute auto tuning based on an instruction from the parameter management unit 32A. In this case, the auto-tuning units 31X and 31Y perform auto-tuning using a signal such as an output signal or an input signal sent from the parameter management unit 32A.
 また、オートチューニング部31X,31Yは、パラメータ調整装置30からの指示に基づいて、オートチューニングを実行してもよい。この場合、オートチューニング部31X,31Yは、パラメータ調整装置30から送られてくる後述のチューニング範囲といった信号を用いてオートチューニングを実行する。また、オートチューニング部31X,31Yは、パラメータ調整装置30で指定された項目のパラメータ値をオートチューニングしてもよい。 The auto tuning units 31X and 31Y may execute auto tuning based on an instruction from the parameter adjustment device 30. In this case, the auto-tuning units 31X and 31Y perform auto-tuning using a signal such as a tuning range described later that is sent from the parameter adjustment device 30. Further, the auto tuning units 31X and 31Y may auto tune parameter values of items designated by the parameter adjustment device 30.
 通信IF21は、オートチューニングが完了した後に通常動作を実行する際には、オートチューニングされた通信パラメータを用いて制御ユニット10との間で通信を実行する。 The communication IF 21 executes communication with the control unit 10 using the communication parameter that has been auto-tuned, when executing the normal operation after auto-tuning is completed.
 出力回路23Xは、オートチューニングが完了した後に通常動作を実行する際には、オートチューニングされた入出力パラメータを用いて出力機器51Xに信号を出力する。入出力パラメータが出力信号のパルス幅を調整するパラメータである場合、出力回路23Xは、入出力パラメータを用いて、出力信号のパルス幅を調整したうえで出力機器51Xに出力信号を出力する。 When executing the normal operation after the completion of the auto tuning, the output circuit 23X outputs a signal to the output device 51X using the auto-tuned input / output parameter. When the input / output parameter is a parameter for adjusting the pulse width of the output signal, the output circuit 23X adjusts the pulse width of the output signal using the input / output parameter and then outputs the output signal to the output device 51X.
 また、入力回路25Xは、オートチューニングが完了した後の通常動作を実行する際には、オートチューニングされた入出力パラメータを用いて入力機器52Xからの信号を取り込む。入出力パラメータがフィルタ時間である場合、入力回路25Xは、入出力パラメータを用いて入力信号にフィルタをかけたうえで、入力信号を取り込む。 Further, when executing the normal operation after the completion of the auto-tuning, the input circuit 25X takes in the signal from the input device 52X using the auto-tuned input / output parameter. When the input / output parameter is a filter time, the input circuit 25X takes in the input signal after filtering the input signal using the input / output parameter.
 制御ユニット10は、制御ユニット10が用いる通信パラメータのオートチューニングを行うオートチューニング部31Zと、オートチューニング部31Zがオートチューニングによって取得した通信パラメータを管理するパラメータ管理部32Bとを備えている。オートチューニング部31Zは、オートチューニングを行う際には、リモートI/O20Xにチューニングの開始命令を送り、その後、リモートI/O20Xから、リモートI/O20Xが設定したパラメータを受信する。 The control unit 10 includes an auto-tuning unit 31Z that performs auto-tuning of communication parameters used by the control unit 10, and a parameter management unit 32B that manages communication parameters acquired by the auto-tuning unit 31Z by auto-tuning. When performing auto-tuning, the auto-tuning unit 31Z sends a tuning start instruction to the remote I / O 20X, and then receives a parameter set by the remote I / O 20X from the remote I / O 20X.
 つぎに、オートチューニング処理について説明する。まず、通信パラメータのオートチューニング処理について説明し、その後、入出力パラメータのオートチューニング処理について説明する。オートチューニング部31Y,31Zがオートチューニングする通信パラメータの例は、フィールドネットワーク11を介した通信の際のタイムアウト時間である。 Next, the auto tuning process will be described. First, communication parameter auto tuning processing will be described, and then input / output parameter auto tuning processing will be described. An example of communication parameters which the auto tuning units 31Y and 31Z perform auto tuning is a timeout time in communication via the field network 11.
(通信のタイムアウト時間)
 マスタ局である制御ユニット10およびリモート局であるリモートI/O20Xは、お互いに応答時間の監視を実施する。制御ユニット10、リモートI/O20Xおよび通信経路であるフィールドネットワーク11の何れかに故障が発生した場合、リモートI/O20Xは、出力を初期状態にする。初期状態の例は、出力をオフにした状態である。リモートI/O20Xが動作させる動力源の中には、故障が発生した際に、すぐに停止させたい動力源がある。リモートI/O20Xは、すぐに停止させたい動力源を動作させている際に、故障を検出すると、動力源を停止させることによって、安全な状態を確保する。このため、オートチューニング部31Yは、応答時間を監視するためのタイムアウト時間を、通信パラメータに設定する。オートチューニング部31Yが設定するタイムアウト時間は、所望の通信が可能となる安全通信を実現するために、通信処理を監視しておく時間である。
(Communication timeout time)
The control unit 10 which is a master station and the remote I / O 20X which is a remote station mutually monitor response time. When a failure occurs in any of the control unit 10, the remote I / O 20X, and the field network 11 which is a communication path, the remote I / O 20X initializes the output. An example of the initial state is a state in which the output is off. Among the power sources that the remote I / O 20X operates, there is a power source that you want to stop immediately when a failure occurs. The remote I / O 20X secures a safe state by stopping the power source upon detecting a failure while operating the power source to be stopped immediately. Therefore, the auto tuning unit 31Y sets a time-out time for monitoring the response time in the communication parameter. The timeout time set by the auto-tuning unit 31Y is a time during which communication processing is monitored in order to realize safety communication that enables desired communication.
 図4は、実施の形態にかかる、タイムアウト時間の設定方法を説明するための図である。図4に示すグラフの横軸はタイムアウト時間であり、縦軸はエラーパケット数である。リモートI/O20Xのオートチューニング部31Yは、通信パラメータのオートチューニングを行う際に、制御ユニット10のオートチューニング部31Zとの間でパケットの送受信を行う。この場合において、オートチューニング部31Y,31Zは、パケットの抜け、パケット到着の順番のずれ又はパケットの破壊といったエラーパケットを検出する場合がある。このような場合、オートチューニング部31Y,31Zは、エラーパケットがなくなるよう、パケットの再送受信を行う。このときの再送受信を終了させるまでのタイムアウト時間と、エラーパケット数との関係が図4に示されている。 FIG. 4 is a diagram for explaining a setting method of the timeout time according to the embodiment. The horizontal axis of the graph shown in FIG. 4 is the timeout time, and the vertical axis is the number of error packets. The auto-tuning unit 31Y of the remote I / O 20X transmits and receives packets with the auto-tuning unit 31Z of the control unit 10 when performing auto-tuning of communication parameters. In this case, the auto-tuning units 31Y and 31Z may detect an error packet such as packet loss, out-of-order of packet arrival, or packet destruction. In such a case, the auto-tuning units 31Y and 31Z retransmit and receive packets so that error packets disappear. The relationship between the time-out period until the end of re-transmission / reception at this time and the number of error packets is shown in FIG.
 図4に示すように、タイムアウト時間が長く設定されると、送受信の回数が増えるので、エラーパケット数は減少する。オートチューニング部31Y,31Zは、エラーパケット数が、基準数よりも少なくなると通信処理を合格と判定して、この時のタイムアウト時間T1を通信パラメータに設定する。なお、オートチューニング部31Y,31Zは、送信された全パケット数に対するエラーパケット数の割合が、基準値よりも少なくなると通信処理を合格と判定して、この時のタイムアウト時間を通信パラメータに設定してもよい。 As shown in FIG. 4, when the timeout time is set to a long time, the number of transmission / reception increases, so the number of error packets decreases. When the number of error packets becomes smaller than the reference number, the auto-tuning units 31Y and 31Z determine that the communication processing has passed, and set the timeout time T1 at this time as a communication parameter. When the ratio of the number of error packets to the total number of transmitted packets is smaller than the reference value, the auto tuning units 31Y and 31Z determine that the communication processing is acceptable, and set the timeout time at this time to the communication parameter. May be
 このように、オートチューニング部31Y,31Zは、実環境に応じて通信パラメータをオートチューニングする。パラメータ調整システム100では、エラーパケット数は、フィールドネットワーク11に接続される装置の数によって変動する。このため、実施の形態のオートチューニング部31Y,31Zは、エラーパケット数に基づいてタイムアウト時間T1を決定し、このタイムアウト時間T1を通信パラメータに設定する。これにより、オートチューニング部31Y,31Zは、実環境に合わせたオートチューニングが可能となる。この結果、ユーザは、フィールドネットワーク11に接続される他の装置のパラメータ値を参照しながら、タイムアウト時間T1といったタイムアウト時間を通信パラメータに設定する必要がなくなる。パラメータ管理部32Aは、オートチューニング部31Yがオートチューニングした通信パラメータを格納し、パラメータ管理部32Bは、オートチューニング部31Zがオートチューニングした通信パラメータを格納する。 Thus, the auto-tuning units 31Y and 31Z auto-tune communication parameters according to the actual environment. In the parameter adjustment system 100, the number of error packets varies depending on the number of devices connected to the field network 11. Therefore, the auto-tuning units 31Y and 31Z according to the embodiment determine the timeout time T1 based on the number of error packets, and set the timeout time T1 as a communication parameter. As a result, the auto tuning units 31Y and 31Z can perform auto tuning in accordance with the actual environment. As a result, the user does not have to set a time-out time such as the time-out time T1 in the communication parameter while referring to the parameter values of other devices connected to the field network 11. The parameter management unit 32A stores the communication parameter auto-tuned by the auto-tuning unit 31Y, and the parameter management unit 32B stores the communication parameter auto-tuned by the auto-tuning unit 31Z.
 また、パラメータ管理部32A,32Bは、図4に示したような、タイムアウト時間とエラーパケット数との関係を記憶しておく。なお、タイムアウト時間とエラーパケット数との関係は、パラメータ管理部32Aが取得した関係と、パラメータ管理部32Bが取得した関係とで異なる。これは、パラメータ管理部32Aからパラメータ管理部32Bへ送られるパケットと、パラメータ管理部32Bからパラメータ管理部32Aへ送られるパケットと、でパケットの送信方向が異なるからである。 The parameter managing units 32A and 32B store the relationship between the timeout time and the number of error packets as shown in FIG. The relationship between the timeout time and the number of error packets differs between the relationship acquired by the parameter management unit 32A and the relationship acquired by the parameter management unit 32B. This is because the packet transmission direction differs between the packet sent from the parameter managing unit 32A to the parameter managing unit 32B and the packet sent from the parameter managing unit 32B to the parameter managing unit 32A.
 パラメータ管理部32A,32Bは、通信パラメータをオートチューニングする際に収集した収集情報をパラメータ調整装置30に送る。パラメータ管理部32A,32Bがパラメータ調整装置30に送る収集情報の一例は、タイムアウト時間とエラーパケット数との関係である。パラメータ調整装置30は、PLC6~8、PC9、リモートI/O20X、エッジコンピュータ2、上位コンピュータ3またはサーバ1に配置されている。 The parameter management units 32A and 32B send the collected information collected when auto-tuning communication parameters to the parameter adjustment device 30. An example of the collected information that the parameter management units 32A and 32B send to the parameter adjustment device 30 is the relationship between the timeout time and the number of error packets. The parameter adjustment device 30 is disposed in the PLCs 6 to 8, the PC 9, the remote I / O 20 X, the edge computer 2, the host computer 3 or the server 1.
 パラメータ調整装置30のエラー発生予測部350は、収集情報に基づいて、制御ユニット10とリモートI/O20Xとの間の通信処理の傾向を分析する。収集情報がタイムアウト時間とエラーパケット数との関係である場合、エラー発生予測部350は、制御ユニット10とリモートI/O20Xとの間の通信の応答時間がタイムアウト時間T1を超えてしまうタイミングを予測する。このとき、エラー発生予測部350は、これまでの通信処理の劣化具合、劣化の進行度合い、これまでの収集情報といった種々の情報に基づいて、タイムアウト時間T1を超えるタイミングを予測する。そして、パラメータ調整装置30の指示部310は、予測結果を示すガイダンスをユーザに通知する。このとき、指示部310は、液晶モニタといった表示装置に、タイムアウト時間T1を超えるタイミングを表示することによって、予測結果をユーザに通知する。これにより、パラメータ調整装置30は、パラメータ値の再チューニングをユーザに促す。 The error occurrence prediction unit 350 of the parameter adjustment device 30 analyzes the tendency of the communication processing between the control unit 10 and the remote I / O 20X based on the collected information. If the collected information has a relationship between the timeout time and the number of error packets, the error occurrence prediction unit 350 predicts the timing at which the response time of the communication between the control unit 10 and the remote I / O 20X exceeds the timeout time T1. Do. At this time, the error occurrence prediction unit 350 predicts the timing of exceeding the timeout time T1 based on various information such as the degree of deterioration of the communication processing up to now, the progress degree of deterioration, and the collected information so far. Then, the instruction unit 310 of the parameter adjustment device 30 notifies the user of the guidance indicating the prediction result. At this time, the instruction unit 310 notifies the user of the prediction result by displaying the timing of exceeding the timeout time T1 on a display device such as a liquid crystal monitor. Thereby, the parameter adjustment device 30 prompts the user to retune the parameter value.
 なお、制御ユニット10およびリモートI/O20Xは、2つ以上の通信パラメータを用いてフィールドネットワーク11間で通信を実行する場合がある。このような場合であっても、オートチューニング部31Y,31Zは、種々の条件で通信処理を実行することによって2つ以上の通信パラメータのオートチューニングを実行する。 The control unit 10 and the remote I / O 20X may execute communication between the field networks 11 using two or more communication parameters. Even in such a case, the auto-tuning units 31Y and 31Z execute auto-tuning of two or more communication parameters by executing communication processing under various conditions.
 具体的には、オートチューニング部31Y,31Zは、2つの通信パラメータのオートチューニングを実行する場合、2つの通信パラメータの各パラメータ値が何れの組合せの場合に、所望の通信処理に近づくかを判定する。そして、オートチューニング部31Y,31Zは、所望の通信処理を実行することができる通信パラメータの組合せを、パラメータ管理部32A,32Bに記憶させる。なお、オートチューニング部31Xは、オートチューニング部31Y,31Zと同様に、2つ以上の入出力パラメータのオートチューニングを実行してもよい。 Specifically, when performing auto-tuning of two communication parameters, the auto-tuning units 31Y and 31Z determine in which combination each parameter value of the two communication parameters approaches a desired communication process. Do. Then, the auto tuning units 31Y and 31Z cause the parameter management units 32A and 32B to store a combination of communication parameters that can execute desired communication processing. The auto-tuning unit 31X may execute auto-tuning of two or more input / output parameters in the same manner as the auto-tuning units 31Y and 31Z.
 つぎに、入出力パラメータのオートチューニング処理について説明する。オートチューニング部31Xがオートチューニングする入出力パラメータの例は、以下の(1)から(4)である。
(1)入力信号にチャタリングが発生する場合の入力信号へのフィルタ時間
(2)二重化された入力信号が不一致な場合の入力信号へのフィルタ時間
(3)入力のダークテスト機能で用いる出力パルスのパルス幅
(4)出力のダークテスト機能で用いる出力パルスのパルス幅
Next, auto-tuning processing of input / output parameters will be described. Examples of input / output parameters to be auto-tuned by the auto-tuning unit 31X are the following (1) to (4).
(1) Filter time to the input signal when chattering occurs in the input signal (2) Filter time to the input signal when the duplexed input signals do not match (3) Output pulse used in the dark test function of the input Pulse width of output pulse used in dark test function of pulse width (4) output
(入力信号にチャタリングが発生する場合のフィルタ時間)
 まず、オートチューニング部31Xが、チャタリングが発生した入力信号のフィルタ時間をオートチューニングする場合の処理について説明する。入力機器52Xがボタンといった機械接点である場合、リモートI/O20Xは、チャタリングが発生した入力信号を受信する。リモートI/O20Xが、このチャタリングした入力信号を受けて、そのまま入力信号を制御ユニット10へ送信すると、制御ユニット10は、チャタリングした状態の入力信号を用いてロジック演算を実行してしまう。このような場合、PLCシステムが意図した動作とならない場合がある。このため、実施の形態では、リモートI/O20Xの入力回路25Xが、チャタリング信号が発生している時間だけ、チャタリング信号をフィルタリングする処理であるチャタリングフィルタ処理を実行する。換言すると、リモートI/O20Xは、チャタリング信号をフィルタリングするフィルタ時間を設け、このフィルタ時間を入出力パラメータに設定する。
(Filter time when chattering occurs in the input signal)
First, the process in the case where the auto tuning unit 31X performs auto tuning on the filter time of the input signal in which chattering has occurred will be described. When the input device 52X is a mechanical contact such as a button, the remote I / O 20X receives an input signal in which chattering has occurred. When the remote I / O 20X receives this chattered input signal and transmits the input signal as it is to the control unit 10, the control unit 10 executes the logic operation using the chattered input signal. In such a case, the PLC system may not operate as intended. For this reason, in the embodiment, the input circuit 25X of the remote I / O 20X executes chattering filter processing, which is processing for filtering the chattering signal, only during the time when the chattering signal is generated. In other words, the remote I / O 20X provides a filter time for filtering the chattering signal, and sets this filter time as an input / output parameter.
 図5は、実施の形態にかかるチャタリングフィルタ処理を説明するための図である。図5では、リモートI/O20Xの一例であるリモートI/O20Aと、入力機器52Xの一例である入力機器52Aとを図示している。リモートI/O20Aは、入力回路25Xの一例である入力回路25Aと、オートチューニング部31Xの一例であるオートチューニング部31Aとを備えている。なお、図5では、リモートI/O20Aが備える構成要素のうち、入力回路25Aおよびオートチューニング部31A以外の構成要素を図示省略している。 FIG. 5 is a diagram for explaining chattering filter processing according to the embodiment. FIG. 5 illustrates the remote I / O 20A, which is an example of the remote I / O 20X, and the input device 52A, which is an example of the input device 52X. The remote I / O 20A includes an input circuit 25A, which is an example of the input circuit 25X, and an auto tuning unit 31A, which is an example of the auto tuning unit 31X. In FIG. 5, among the components included in the remote I / O 20A, components other than the input circuit 25A and the auto tuning unit 31A are not shown.
 入力機器52Aの例は、ボタンである。入力機器52Aは、信号源71Aに接続されており、信号源71Aからの信号が入力される。入力機器52Aは、ボタンがユーザによって押下されると、信号源71Aと入力回路25Aとを接続し、信号源71Aからの入力信号101Aを入力回路25Aに入力する。 An example of the input device 52A is a button. The input device 52A is connected to the signal source 71A, and the signal from the signal source 71A is input. When the button is pressed by the user, the input device 52A connects the signal source 71A and the input circuit 25A, and inputs the input signal 101A from the signal source 71A to the input circuit 25A.
 これにより、入力回路25Aは、入力機器52Aからの入力信号101Aをオートチューニング部31Aに送る。そして、オートチューニング部31Aは、チャタリングの発生している時間であるチャタリング時間を検出する。 Thereby, the input circuit 25A sends the input signal 101A from the input device 52A to the auto tuning unit 31A. Then, the auto tuning unit 31A detects a chattering time which is a time during which chattering occurs.
 図6は、実施の形態にかかる、チャタリング時間とフィルタ時間との関係を説明するための図である。オートチューニング部31Aは、入力信号101Aの入力が開始されてから一定時間の間、入力信号101Aに発生するチャタリングを検出する。このチャタリングの発生している時間がチャタリング時間である。 FIG. 6 is a diagram for explaining the relationship between chattering time and filter time according to the embodiment. The auto-tuning unit 31A detects chattering that occurs in the input signal 101A for a certain period of time after the input of the input signal 101A is started. The time when this chattering is occurring is the chattering time.
 オートチューニング部31Aは、チャタリング時間よりも長い時間をフィルタ時間に設定する。具体的には、オートチューニング部31Aは、チャタリング時間よりも特定の時間だけ長い時間をフィルタ時間に設定する。 The auto tuning unit 31A sets a time longer than the chattering time as the filter time. Specifically, the auto-tuning unit 31A sets a filter time that is longer than the chattering time by a specific time.
 オートチューニング部31Aが設定するフィルタ時間は、入力回路25Aが入力信号101Aを受付けない時間である。オートチューニング部31Aは、設定したフィルタ時間を入力回路25Aに送る。そして、入力回路25Aがフィルタ時間を設定する。これにより、入力回路25Aは、入力機器52Aから入力信号101Aが入力された場合に、フィルタ時間だけ、入力信号101Aを受付けず、フィルタ時間の経過後に入力信号101Aの受付けを開始する。 The filter time set by the auto-tuning unit 31A is a time when the input circuit 25A does not receive the input signal 101A. The auto tuning unit 31A sends the set filter time to the input circuit 25A. Then, the input circuit 25A sets the filter time. Accordingly, when the input signal 101A is input from the input device 52A, the input circuit 25A does not receive the input signal 101A for the filter time, and starts receiving the input signal 101A after the filter time has elapsed.
 このように、入力信号101Aにチャタリングが発生する場合、オートチューニング部31Aがチャタリングのフィルタ時間を入出力パラメータの1つに設定する。そして、リモートI/O20Aの入力回路25Aが、フィルタ時間だけ入力信号101Aをフィルタリングする。入力信号101Aがフィルタ時間だけフィルタリングされた信号が、フィルタ後信号である。パラメータ調整システム100では、チャタリング時間は、入力機器52Aなどの経年劣化によって変動する。このため、オートチューニング部31Aは、チャタリング時間に基づいてフィルタ時間を決定し、このフィルタ時間を入出力パラメータの1つに設定する。これにより、オートチューニング部31Aは、実環境に合わせたオートチューニングが可能となる。この結果、ユーザは、チャタリング時間に対するフィルタ時間を入出力パラメータに設定する必要がなくなる。 Thus, when chattering occurs in the input signal 101A, the auto-tuning unit 31A sets the filter time of chattering to one of the input and output parameters. Then, the input circuit 25A of the remote I / O 20A filters the input signal 101A for the filter time. A signal obtained by filtering the input signal 101A for a filter time is a filtered signal. In the parameter adjustment system 100, chattering time fluctuates due to aging of the input device 52A or the like. Therefore, the auto-tuning unit 31A determines the filter time based on the chattering time, and sets this filter time as one of the input and output parameters. Thus, the auto tuning unit 31A can perform auto tuning in accordance with the actual environment. As a result, the user does not have to set the filter time for chattering time as an input / output parameter.
 このように、オートチューニング部31Aは、チャタリングのフィルタ時間を実環境に応じてオートチューニングする。そして、パラメータ管理部32Aは、オートチューニング部31Aがオートチューニングした入出力パラメータを管理する。 As described above, the auto-tuning unit 31A performs auto-tuning for the filter time of chattering according to the actual environment. Then, the parameter managing unit 32A manages the input / output parameters which are automatically tuned by the auto tuning unit 31A.
 パラメータ管理部32Aは、これまでに検出されたチャタリング時間と、最新のフィルタ時間とを記憶しておく。そして、パラメータ管理部32Aは、これまでに記憶しておいたチャタリング時間およびフィルタ時間をパラメータ調整装置30に送る。これにより、パラメータ調整装置30のエラー発生予測部350は、チャタリング時間の履歴に基づいて、入力機器52Aのチャタリングの傾向を分析する。そして、エラー発生予測部350は、この後のチャタリング時間の推移と、チャタリング時間がフィルタ時間を超えてしまう時期とを予測する。そして、パラメータ調整装置30は、予測結果を示すガイダンスをユーザに通知する。このとき、パラメータ調整装置30は、液晶モニタといった表示装置に、チャタリング時間の推移予測を表示することによって、予測結果をユーザに通知する。これにより、パラメータ調整装置30は、パラメータ値の再チューニングをユーザに促す。 The parameter managing unit 32A stores the chattering time detected so far and the latest filter time. Then, the parameter management unit 32A sends the chattering time and the filter time stored so far to the parameter adjustment device 30. Thereby, the error occurrence prediction unit 350 of the parameter adjustment device 30 analyzes the tendency of chattering of the input device 52A based on the history of chattering time. Then, the error occurrence prediction unit 350 predicts the transition of the chattering time after this and the time when the chattering time exceeds the filter time. Then, the parameter adjustment device 30 notifies the user of the guidance indicating the prediction result. At this time, the parameter adjustment device 30 notifies the user of the prediction result by displaying transition prediction of chattering time on a display device such as a liquid crystal monitor. Thereby, the parameter adjustment device 30 prompts the user to retune the parameter value.
 なお、マイクロコンピュータ22が、チャタリングフィルタ処理を実行してもよい。この場合、オートチューニング部31Aは、オートチューニングしたフィルタ時間をマイクロコンピュータ22に送り、マイクロコンピュータ22がフィルタ時間を設定する。マイクロコンピュータ22は、フィルタ時間の間、入力信号101Aをフィルタリングし、フィルタリングした入力信号101Aを通信IF21を介して制御ユニット10に送る。 The microcomputer 22 may execute the chattering filter process. In this case, the auto-tuning unit 31A sends the auto-tuned filter time to the microcomputer 22, and the microcomputer 22 sets the filter time. The microcomputer 22 filters the input signal 101A during the filter time, and sends the filtered input signal 101A to the control unit 10 via the communication IF 21.
(二重化された入力信号が不一致な場合のフィルタ時間)
 つぎに、オートチューニング部31Xが、不一致な2つの入力信号をフィルタリングするためのフィルタ時間をオートチューニングする場合の処理について説明する。PLCシステムは、入力機器52Xからの入力信号を二重化し、二重化された入力信号の値の不一致を検出することで、入力機器52Xまたは入力機器52Xに接続された入力配線の故障を検出する。
(Filter time when duplicate input signals do not match)
Next, processing in the case where the auto tuning unit 31X performs auto tuning on the filter time for filtering two unmatched input signals will be described. The PLC system duplicates the input signal from the input device 52X, and detects a mismatch in the value of the duplicated input signal, thereby detecting a failure of the input wire connected to the input device 52X or the input device 52X.
 入力機器52Xが、ドアの開閉を検出する2つのセンサである場合、2つのセンサは、ドアの開閉を検出すると、検出したことを示す入力信号を入力回路25Xに入力する。このようなドアが、経年劣化によって歪みを生じると、2つのセンサがドアの開閉を検出するタイミングにずれが生じる場合がある。このような場合、入力回路25Xは、2つのセンサから異なるタイミングで入力信号を受信することとなる。 When the input device 52X is two sensors that detect the opening and closing of the door, when the two sensors detect the opening and closing of the door, the two sensors input an input signal indicating the detection to the input circuit 25X. When such a door is distorted due to aging, a difference may occur in the timing at which the two sensors detect the opening and closing of the door. In such a case, the input circuit 25X receives an input signal from two sensors at different timings.
 また、二重化された入力信号が変化する際には、入力機器52Xが正常な状態であっても、入力機器52Xの動作ばらつきによって瞬間的に2つの入力信号が異なる値となる場合がある。このとき、リモートI/O20Xが、二重化入力の不一致を検出してしまうと、リモートI/O20Xは入力機器52Xが故障したと誤検出してしまう。 In addition, when the duplicated input signal changes, even if the input device 52X is in a normal state, the two input signals may instantaneously have different values due to the operation variation of the input device 52X. At this time, if the remote I / O 20X detects a mismatch in the duplexing input, the remote I / O 20X erroneously detects that the input device 52X has failed.
 このため、実施の形態では、リモートI/O20Xの入力回路25Xが、二重化された入力信号が不一致な時間だけ入力信号をフィルタリングする処理である不一致信号フィルタ処理を実行する。換言すると、リモートI/O20Xは、二重化入力の不一致状態をフィルタするフィルタ時間を設け、このフィルタ時間を入出力パラメータに設定する。 Therefore, in the embodiment, the input circuit 25X of the remote I / O 20X executes the unmatched signal filtering process which is a process of filtering the input signal only for the time when the duplicated input signal is unmatched. In other words, the remote I / O 20X provides a filter time for filtering the mismatched state of the duplexing input, and sets this filter time as an input / output parameter.
 図7は、実施の形態にかかる不一致信号フィルタ処理を説明するための図である。図7では、リモートI/O20Xの一例であるリモートI/O20Bと、入力機器52Xの一例である入力機器52Bとを図示している。リモートI/O20Bは、入力回路25Xの例である入力回路25a,25bと、オートチューニング部31Xの一例であるオートチューニング部31Bと、を備えている。なお、図7では、リモートI/O20Bが備える構成要素のうち、入力回路25a,25bおよびオートチューニング部31B以外の構成要素を図示省略している。また、図7では、入力機器52Bがボタンである場合を図示しているが、入力機器52Bは、何れの機器であってもよい。 FIG. 7 is a diagram for explaining the unmatched signal filter process according to the embodiment. FIG. 7 illustrates the remote I / O 20B, which is an example of the remote I / O 20X, and the input device 52B, which is an example of the input device 52X. The remote I / O 20B includes input circuits 25a and 25b which are examples of the input circuit 25X, and an auto tuning unit 31B which is an example of the auto tuning unit 31X. In FIG. 7, among the components included in the remote I / O 20B, components other than the input circuits 25a and 25b and the auto tuning unit 31B are not shown. Although FIG. 7 illustrates the case where the input device 52B is a button, the input device 52B may be any device.
 入力機器52Bは、信号源71a,71bに接続されており、信号源71a,71bからの信号が入力される。入力機器52Bは、ボタンがユーザによって押下されると、信号源71aと入力回路25aとを接続し、信号源71bと入力回路25bとを接続する。これにより、入力機器52Bは、信号源71aからの入力信号101aを入力回路25aに入力し、信号源71bからの入力信号101bを入力回路25bに入力する。 The input device 52B is connected to the signal sources 71a and 71b, and receives signals from the signal sources 71a and 71b. When the button is pressed by the user, the input device 52B connects the signal source 71a and the input circuit 25a, and connects the signal source 71b and the input circuit 25b. Thereby, the input device 52B inputs the input signal 101a from the signal source 71a to the input circuit 25a, and inputs the input signal 101b from the signal source 71b to the input circuit 25b.
 入力回路25aは、入力機器52Bからの入力信号101aをオートチューニング部31Bに送り、入力回路25bは、入力機器52Bからの入力信号101bをオートチューニング部31Bに送る。そして、オートチューニング部31Bは、入力信号101a,101bとで信号の不一致が生じている時間である二重化不一致時間を検出する。オートチューニング部31Bは、二重化不一致時間の間、入力信号101a,101bを無視させるためのフィルタ時間を入力回路25a,25bに設定する。この後、入力回路25a,25bは、入力機器52Bから入力回路25a,25bが送られてくると、フィルタ時間の間、入力信号101a,101bを無視した信号であるフィルタ後信号102をオートチューニング部31Bに送る。そして、オートチューニング部31Bは、フィルタ後信号102を出力する。 The input circuit 25a sends the input signal 101a from the input device 52B to the auto-tuning unit 31B, and the input circuit 25b sends the input signal 101b from the input device 52B to the auto-tuning unit 31B. Then, the auto-tuning unit 31B detects a duplication mismatch time which is a time during which a signal mismatch occurs with the input signals 101a and 101b. The auto-tuning unit 31B sets, in the input circuits 25a and 25b, a filter time for ignoring the input signals 101a and 101b during the duplication mismatch time. After that, when the input circuits 25a and 25b are sent from the input device 52B, the input circuits 25a and 25b automatically adjust the after-filter signal 102, which is a signal ignoring the input signals 101a and 101b, during the filter time. Send to 31B. Then, the auto tuning unit 31B outputs the filtered signal 102.
 図8は、実施の形態にかかる、二重化不一致時間とフィルタ時間との関係を説明するための図である。オートチューニング部31Bは、入力信号101a,101bの入力が開始されてから一定時間の間、入力信号101a,101bの間に発生する信号の不一致を検出する。この不一致の発生している時間が二重化不一致時間である。 FIG. 8 is a diagram for explaining the relationship between the duplication mismatch time and the filter time according to the embodiment. The auto-tuning unit 31B detects a mismatch between signals generated between the input signals 101a and 101b for a certain period of time after the input of the input signals 101a and 101b is started. The time when this mismatch occurs is the duplication mismatch time.
 オートチューニング部31Bは、二重化不一致時間よりも長い時間をフィルタ時間に設定する。具体的には、オートチューニング部31Bは、二重化不一致時間よりも特定の時間だけ長い時間をフィルタ時間に設定する。 The auto tuning unit 31B sets a time longer than the duplication mismatch time as the filter time. Specifically, the auto-tuning unit 31B sets a filter time that is longer than the duplication mismatch time by a specific time.
 オートチューニング部31Bが設定するフィルタ時間は、入力回路25a,25bが入力信号101a,101bを受付けない時間である。オートチューニング部31Bは、設定したフィルタ時間を入力回路25a,25bに送る。そして、入力回路25a,25bがフィルタ時間を設定する。これにより、入力回路25aは、入力機器52Bから入力信号101aが入力された場合に、フィルタ時間だけ入力信号101aを受付けず、入力回路25bは、入力機器52Bから入力信号101bが入力された場合に、フィルタ時間だけ入力信号101bを受付けない。そして、入力回路25a,25bは、フィルタ時間の経過後に入力信号101a,101bの受付けを開始する。 The filter time set by the auto-tuning unit 31B is a time when the input circuits 25a and 25b do not receive the input signals 101a and 101b. The auto tuning unit 31B sends the set filter time to the input circuits 25a and 25b. Then, the input circuits 25a and 25b set the filter time. Thus, when the input signal 101a is input from the input device 52B, the input circuit 25a does not receive the input signal 101a for the filter time, and the input circuit 25b receives the input signal 101b from the input device 52B. , Filter time does not accept the input signal 101b. Then, the input circuits 25a and 25b start receiving the input signals 101a and 101b after the filter time has elapsed.
 このように、入力信号101a,101bに不一致が発生する場合、オートチューニング部31Bが二重化不一致時間よりも長いフィルタ時間を入出力パラメータの1つに設定する。そして、リモートI/O20Bの入力回路25a,25bが、入力信号101a,101bの入力を開始した後、フィルタ時間だけ入力信号101a,101bをフィルタリングする。これにより、入力回路25a,25bは、入力信号101a,101bをフィルタリングしたフィルタ後信号102を、オートチューニング部31Bに送り、オートチューニング部31Bがフィルタ後信号102を出力する。フィルタ後信号102は、入力信号101a,101bのうち、入力開始からフィルタ時間だけ信号が無視された信号である。パラメータ調整システム100では、二重化不一致時間は、入力機器52Bなどの経年劣化によって変動する。このため、オートチューニング部31Bは、二重化不一致時間に基づいてフィルタ時間を決定し、このフィルタ時間を入出力パラメータの1つに設定する。これにより、オートチューニング部31Bは、実環境に合わせたオートチューニングが可能となる。この結果、ユーザは、二重化不一致時間に対するフィルタ時間を入出力パラメータに設定する必要がなくなる。 As described above, when a mismatch occurs in the input signals 101a and 101b, the auto tuning unit 31B sets a filter time longer than the duplex mismatch time to one of the input and output parameters. Then, after the input circuits 25a, 25b of the remote I / O 20B start to input the input signals 101a, 101b, the input signals 101a, 101b are filtered for the filter time. Thereby, the input circuits 25a and 25b send the filtered signal 102 obtained by filtering the input signals 101a and 101b to the auto tuning unit 31B, and the auto tuning unit 31B outputs the filtered signal 102. The filtered signal 102 is a signal of the input signals 101a and 101b in which the signal is ignored for the filter time from the start of the input. In the parameter adjustment system 100, the duplication mismatch time changes due to aging of the input device 52B and the like. Therefore, the auto-tuning unit 31B determines the filter time based on the duplication mismatch time, and sets this filter time as one of the input and output parameters. Thereby, the auto tuning unit 31B can perform auto tuning in accordance with the actual environment. As a result, the user does not have to set the filter time for the duplication mismatch time to the input / output parameter.
 このように、オートチューニング部31Bは、二重化された信号のフィルタ時間を実環境に応じてオートチューニングする。そして、パラメータ管理部32Aは、オートチューニング部31Bがオートチューニングした入出力パラメータを管理する。 Thus, the auto tuning unit 31 B performs auto tuning on the filter time of the duplexed signal according to the actual environment. Then, the parameter management unit 32A manages the input / output parameters that are automatically tuned by the auto-tuning unit 31B.
 また、パラメータ管理部32Aは、これまでに検出された二重化不一致時間と、最新のフィルタ時間とを記憶しておく。そして、パラメータ管理部32Bは、これまでに記憶しておいた二重化不一致時間およびフィルタ時間をパラメータ調整装置30に送る。これにより、パラメータ調整装置30のエラー発生予測部350は、二重化不一致時間の履歴に基づいて、二重化された入力信号の不一致の傾向を分析する。そして、エラー発生予測部350は、この後の二重化不一致時間の推移と、二重化不一致時間がフィルタ時間を超えてしまう時期とを予測する。そして、パラメータ調整装置30は、予測結果を示すガイダンスをユーザに通知する。このとき、パラメータ調整装置30は、液晶モニタといった表示装置に、二重化不一致時間の推移予測を表示することによって、予測結果をユーザに通知する。これにより、パラメータ調整装置30は、パラメータ値の再チューニングをユーザに促す。 The parameter managing unit 32A also stores the duplexing mismatch time detected so far and the latest filter time. Then, the parameter management unit 32B sends the duplication mismatch time and the filter time stored so far to the parameter adjustment device 30. Thereby, the error occurrence prediction unit 350 of the parameter adjustment device 30 analyzes the tendency of the mismatch of the duplexed input signal based on the history of duplexing mismatch time. Then, the error occurrence prediction unit 350 predicts the subsequent transition of the duplication mismatch time and the timing when the duplication mismatch time exceeds the filter time. Then, the parameter adjustment device 30 notifies the user of the guidance indicating the prediction result. At this time, the parameter adjustment device 30 notifies the user of the prediction result by displaying transition prediction of the duplication mismatch time on a display device such as a liquid crystal monitor. Thereby, the parameter adjustment device 30 prompts the user to retune the parameter value.
 なお、マイクロコンピュータ22が、不一致信号フィルタ処理を実行してもよい。この場合、オートチューニング部31Bは、オートチューニングしたフィルタ時間をマイクロコンピュータ22に送り、マイクロコンピュータ22がフィルタ時間を設定する。マイクロコンピュータ22は、フィルタ時間の間、入力信号101a,101bをフィルタリングし、フィルタリングした入力信号101a,101bを通信IF21を介して制御ユニット10に送る。 The microcomputer 22 may execute the unmatched signal filtering process. In this case, the auto-tuning unit 31B sends the auto-tuned filter time to the microcomputer 22, and the microcomputer 22 sets the filter time. The microcomputer 22 filters the input signals 101a and 101b during the filter time, and sends the filtered input signals 101a and 101b to the control unit 10 via the communication IF 21.
(入力のダークテスト機能で用いる出力パルスのパルス幅)
 つぎに、オートチューニング部31Xが、入力のダークテスト機能で用いる出力パルスのパルス幅をオートチューニングする処理について説明する。オートチューニング部31Xは、入力のダークテスト処理を実行するダークテスト機能を有している。入力のダークテスト機能は、入力機器52Xまたは入力配線の故障を検出する機能である。入力のダークテスト機能は、入力機器52Xへパルス信号を出力し、このパルス信号が入力機器52Xから正しくリモートI/O20Xに入力されるか否かをテストする機能である。
(Pulse width of output pulse used in dark test function of input)
Next, a process of auto-tuning the pulse width of the output pulse used by the dark test function of the input will be described. The auto tuning unit 31X has a dark test function of executing a dark test process of the input. The input dark test function is a function to detect a failure of the input device 52X or input wiring. The input dark test function is a function that outputs a pulse signal to the input device 52X and tests whether this pulse signal is correctly input from the input device 52X to the remote I / O 20X.
 リモートI/O20Xが、入力機器52Xに出力するパルスのパルス幅を短くすると、入力機器52Xまたは入力配線の電気的特性が原因で、入力機器52Xに入力されるパルスの波形が劣化する場合がある。このような場合、入力機器52Xにパルスが正しく入力されず、リモートI/O20Xが故障を誤検出する可能性がある。しかし、リモートI/O20Xは、出力するパルスのパルス幅を長くすると、入力機器52Xからの入力信号を受けられない時間が長くなるので、PLCシステムの応答速度が低下する。このため、実施の形態では、リモートI/O20Xが、入力のダークテスト機能で用いる出力パルスのパルス幅を適切な時間に調整し、この調整後のパルス幅を入出力パラメータに設定する。 When the remote I / O 20X shortens the pulse width of the pulse output to the input device 52X, the waveform of the pulse input to the input device 52X may be degraded due to the electrical characteristics of the input device 52X or the input wiring . In such a case, a pulse may not be input correctly to the input device 52X, and the remote I / O 20X may erroneously detect a failure. However, when the remote I / O 20X lengthens the pulse width of the output pulse, the response time of the PLC system decreases because the time during which the input signal from the input device 52X can not be received increases. Therefore, in the embodiment, the remote I / O 20X adjusts the pulse width of the output pulse used in the dark test function of the input to an appropriate time, and sets the adjusted pulse width to the input / output parameter.
 図9は、実施の形態にかかる入力のダークテスト処理を説明するための図である。図9では、リモートI/O20Xの一例であるリモートI/O20Cと、入力機器52Xの一例である入力機器52Cとを図示している。リモートI/O20Cは、入力回路25Xの一例である入力回路25Cと、オートチューニング部31Xの一例であるオートチューニング部31Cと、テスト出力回路26とを備えている。なお、図9では、リモートI/O20Cが備える構成要素のうち、入力回路25C、テスト出力回路26およびオートチューニング部31C以外の構成要素を図示省略している。また、図9では、入力機器52Cがボタンである場合を図示しているが、入力機器52Cは、何れの機器であってもよい。 FIG. 9 is a diagram for explaining the dark test process of the input according to the embodiment. FIG. 9 illustrates a remote I / O 20C, which is an example of the remote I / O 20X, and an input device 52C, which is an example of the input device 52X. The remote I / O 20C includes an input circuit 25C which is an example of the input circuit 25X, an auto tuning unit 31C which is an example of the auto tuning unit 31X, and a test output circuit 26. In FIG. 9, among the components included in the remote I / O 20C, components other than the input circuit 25C, the test output circuit 26, and the auto tuning unit 31C are not shown. Although FIG. 9 illustrates the case where the input device 52C is a button, the input device 52C may be any device.
 テスト出力回路26は、信号源である電源73Cを備えており、電源73Cがテスト信号71Cを出力する。テスト出力回路26は、オートチューニング部31Cに接続されており、オートチューニング部31Cから出力されるパルスに従って、入力機器52Cにテスト信号71Cを出力する。 The test output circuit 26 includes a power supply 73C which is a signal source, and the power supply 73C outputs a test signal 71C. The test output circuit 26 is connected to the auto tuning unit 31C, and outputs the test signal 71C to the input device 52C in accordance with the pulse output from the auto tuning unit 31C.
 入力機器52Cは、テスト出力回路26に接続されており、テスト出力回路26からのテスト信号71Cが入力される。入力機器52Cは、ボタンがユーザによって押下されると、テスト出力回路26と入力回路25Cとを接続し、テスト信号71Cである入力信号101Cを入力回路25Cに入力する。 The input device 52C is connected to the test output circuit 26, and receives the test signal 71C from the test output circuit 26. When the button is pressed by the user, the input device 52C connects the test output circuit 26 and the input circuit 25C, and inputs an input signal 101C, which is a test signal 71C, to the input circuit 25C.
 これにより、入力回路25Cは、入力機器52Cからの入力信号101Cをオートチューニング部31Cに送る。そして、オートチューニング部31Cは、入力信号101Cを検出する。このとき、オートチューニング部31Cは、テスト出力回路26に出力するパルスのパルス幅を掃引し、パルスが正しく入力回路25Cに入力されるパルス幅を記録する。オートチューニング部31Cは、パルスを正しく入力回路25Cに入力することができるパルス幅のパルスをテスト出力回路26への出力パルスに設定する。この後、入力回路25Cは、パルスを正しく検出することができる入力信号101Cを受信すると、この入力信号101Cをオートチューニング部31Cに送る。そして、オートチューニング部31Cは、入力信号101Cを出力する。 Thereby, the input circuit 25C sends the input signal 101C from the input device 52C to the auto tuning unit 31C. Then, the auto tuning unit 31C detects the input signal 101C. At this time, the auto-tuning unit 31C sweeps the pulse width of the pulse output to the test output circuit 26, and records the pulse width at which the pulse is correctly input to the input circuit 25C. The auto-tuning unit 31C sets a pulse having a pulse width that can correctly input a pulse to the input circuit 25C as an output pulse to the test output circuit 26. Thereafter, when the input circuit 25C receives the input signal 101C capable of correctly detecting the pulse, the input circuit 25C sends the input signal 101C to the auto-tuning unit 31C. Then, the auto tuning unit 31C outputs the input signal 101C.
 図10は、実施の形態にかかる、出力パルスと入力信号との関係を説明するための図である。図10では、オートチューニング部31Cが出力した出力パルスと、入力回路25Cに入力された入力信号101Cとを示している。 FIG. 10 is a diagram for explaining the relationship between an output pulse and an input signal according to the embodiment. FIG. 10 shows the output pulse output from the auto-tuning unit 31C and the input signal 101C input to the input circuit 25C.
 テスト出力回路26は、テスト信号71Cの出力をオンにしておき、これにより、入力機器52Cにテスト信号71Cを入力する。そして、テスト出力回路26は、オートチューニング部31Cから出力パルスが出力された時間だけテスト信号71Cをオフにする。これにより、オートチューニング部31Cは、テスト信号71Cがオンの間は、オンの入力信号101Cを検出し、オートチューニング部31Cが出力パルスを出力したタイミングでオフの入力信号101Cを検出する。 The test output circuit 26 turns on the output of the test signal 71C, thereby inputting the test signal 71C to the input device 52C. Then, the test output circuit 26 turns off the test signal 71C only for the time when the output pulse is output from the auto tuning unit 31C. Thus, while the test signal 71C is on, the auto tuning unit 31C detects the on input signal 101C, and detects the off input signal 101C at the timing when the auto tuning unit 31C outputs the output pulse.
 オートチューニング部31Cは、テスト出力回路26に出力した出力パルスと、入力回路25Cに入力された入力信号101Cのオフのパルスとを比較する。具体的には、オートチューニング部31Cは、テスト出力回路26に出力したパルスのパルス幅と、入力信号101Cのパルス幅とを比較する。 The auto tuning unit 31C compares the output pulse output to the test output circuit 26 with the off pulse of the input signal 101C input to the input circuit 25C. Specifically, the auto-tuning unit 31C compares the pulse width of the pulse output to the test output circuit 26 with the pulse width of the input signal 101C.
 そして、オートチューニング部31Cは、テスト出力回路26に出力した複数のパルスのパルス幅の中から、入力信号101Cのパルス幅がリモートI/O20Cで誤検出されないパルス幅を決定する。この場合において、オートチューニング部31Cは、リモートI/O20Cで誤検出されないパルスの中から最も短いパルス幅のパルスを選択する。オートチューニング部31Cは、選択したパルスのパルス幅を入出力パラメータに設定する。パラメータ調整システム100では、リモートI/O20Cが入力信号101Cを誤検出しないテスト信号71Cのパルス幅は、リモートI/O20Cに接続される周辺機器の影響などで変動する。このため、実施の形態のオートチューニング部31Cは、テスト信号71Cおよび入力信号101Cに基づいて、入力のダークテスト機能で用いる出力パルスのパルス幅を決定し、このパルス幅を入出力パラメータの1つに設定する。これにより、オートチューニング部31Cは、実環境に合わせたオートチューニングが可能となる。この結果、ユーザは、入力のダークテスト機能で用いる出力パルスのパルス幅を入出力パラメータに設定する必要がなくなる。 Then, among the pulse widths of the plurality of pulses output to the test output circuit 26, the auto tuning unit 31C determines a pulse width at which the pulse width of the input signal 101C is not erroneously detected by the remote I / O 20C. In this case, the auto-tuning unit 31C selects the pulse with the shortest pulse width among the pulses that are not erroneously detected by the remote I / O 20C. The auto tuning unit 31C sets the pulse width of the selected pulse as an input / output parameter. In the parameter adjustment system 100, the pulse width of the test signal 71C in which the remote I / O 20C does not erroneously detect the input signal 101C fluctuates due to the influence of peripheral devices connected to the remote I / O 20C. Therefore, the auto-tuning unit 31C according to the embodiment determines the pulse width of the output pulse used in the dark test function of the input based on the test signal 71C and the input signal 101C, and this pulse width is one of input / output parameters. Set to Thereby, the auto tuning unit 31C can perform auto tuning in accordance with the actual environment. As a result, the user does not have to set the pulse width of the output pulse used in the dark test function of the input to the input / output parameter.
 このように、オートチューニング部31Cは、入力のダークテスト機能で用いる出力パルスのパルス幅を実環境に応じてオートチューニングする。そして、パラメータ管理部32Aは、オートチューニング部31Cがオートチューニングした入出力パラメータを管理する。 As described above, the auto-tuning unit 31C performs auto-tuning of the pulse width of the output pulse used in the dark test function of the input according to the actual environment. Then, the parameter management unit 32A manages the input / output parameters that are automatically tuned by the auto-tuning unit 31C.
 また、パラメータ管理部32Aは、入力のダークテスト処理で、これまでに設定した出力パルスのパルス幅を記憶しておく。そして、パラメータ管理部32Aは、これまでに記憶しておいたパルス幅をパラメータ調整装置30に送る。これにより、パラメータ調整装置30のエラー発生予測部350は、パルス幅の履歴に基づいて、入力機器52CからリモートI/O20Cに入力されるパルスのパルス幅の傾向を分析する。そして、パラメータ調整装置30は、この後、検出パルスのパルス幅が基準値を満たさなくなる時期を予測する。さらに、パラメータ調整装置30は、予測結果を示すガイダンスをユーザに通知する。このとき、パラメータ調整装置30は、液晶モニタといった表示装置に、パルス幅の推移予測を表示することによって、予測結果をユーザに通知する。これにより、パラメータ調整装置30は、パラメータ値の再チューニングをユーザに促す。 The parameter managing unit 32A stores the pulse width of the output pulse set up to this time in the dark test process of the input. Then, the parameter management unit 32A sends the pulse width stored so far to the parameter adjustment device 30. Thereby, the error occurrence prediction unit 350 of the parameter adjustment device 30 analyzes the tendency of the pulse width of the pulse input from the input device 52C to the remote I / O 20C based on the history of the pulse width. Then, the parameter adjustment device 30 predicts the time when the pulse width of the detection pulse does not satisfy the reference value. Furthermore, the parameter adjustment device 30 notifies the user of the guidance indicating the prediction result. At this time, the parameter adjustment device 30 notifies the user of the prediction result by displaying transition prediction of the pulse width on a display device such as a liquid crystal monitor. Thereby, the parameter adjustment device 30 prompts the user to retune the parameter value.
 なお、オートチューニング部31Cは、テスト出力回路26に出力したパルスの出力タイミングと、入力信号101Cの検出タイミングとのタイミングのずれに基づいて、入力のダークテスト機能で用いる出力パルスの出力タイミングをオートチューニングしてもよい。 The auto-tuning unit 31 C automatically outputs the output timing of the output pulse used in the dark test function of the input based on the timing difference between the output timing of the pulse output to the test output circuit 26 and the detection timing of the input signal 101 C. It may be tuned.
(出力のダークテスト機能で用いる出力パルスのパルス幅)
 つぎに、オートチューニング部31Xが、出力のダークテスト機能で用いる出力パルスのパルス幅をオートチューニングする処理について説明する。オートチューニング部31Xは、出力のダークテスト処理を実行するダークテスト機能を有している。出力のダークテスト機能は、出力機器51Xまたは出力配線の故障を検出する機能である。出力のダークテスト機能は、出力機器51Xへパルス信号を出力し、このパルス信号が後述のパルス検出回路24Dに正しく入力されるか否かをテストする機能である。
(Pulse width of output pulse used in dark test function of output)
Next, a process of auto-tuning the pulse width of the output pulse used by the dark test function of the output will be described. The auto tuning unit 31X has a dark test function of executing a dark test process of the output. The output dark test function is a function to detect a failure of the output device 51X or the output wiring. The output dark test function is a function of outputting a pulse signal to the output device 51X and testing whether the pulse signal is correctly input to a pulse detection circuit 24D described later.
 リモートI/O20Xが、出力機器51Xに出力するパルスのパルス幅を短くすると、出力機器51Xまたは出力配線の電気的特性が原因で、出力機器51Xに入力されるパルスの波形が劣化する場合がある。このような場合、パルス検出回路24Xがパルスを正しく検出できず、リモートI/O20Xが故障を誤検出する可能性がある。しかし、リモートI/O20Xは、出力するパルスのパルス幅を長くすると、出力機器51Xがパルスの影響を受けて誤作動する場合がある。このため、実施の形態では、リモートI/O20Xが、出力のダークテスト機能で用いる出力パルスのパルス幅を適切な時間に調整し、この調整後のパルス幅を入出力パラメータに設定する。 When the remote I / O 20X shortens the pulse width of the pulse output to the output device 51X, the waveform of the pulse input to the output device 51X may be degraded due to the electrical characteristics of the output device 51X or the output wiring . In such a case, the pulse detection circuit 24X can not correctly detect a pulse, and the remote I / O 20X may erroneously detect a failure. However, when the remote I / O 20X lengthens the pulse width of the output pulse, the output device 51X may malfunction due to the influence of the pulse. Therefore, in the embodiment, the remote I / O 20X adjusts the pulse width of the output pulse used in the dark test function of the output to an appropriate time, and sets the adjusted pulse width to the input / output parameter.
 図11は、実施の形態にかかる出力のダークテスト処理の第1の処理例を説明するための図である。図11では、リモートI/O20Xの一例であるリモートI/O20Dと、出力機器51Xの一例である出力機器51Dとを図示している。リモートI/O20Dは、出力回路23Xの一例である出力回路23Dと、オートチューニング部31Xの一例であるオートチューニング部31Dと、パルス検出回路24Xの一例であるパルス検出回路24Dとを備えている。なお、図11では、リモートI/O20Dが備える構成要素のうち、パルス検出回路24D、出力回路23Dおよびオートチューニング部31D以外の構成要素を図示省略している。 FIG. 11 is a diagram for describing a first processing example of output dark test processing according to the embodiment. FIG. 11 illustrates a remote I / O 20D, which is an example of the remote I / O 20X, and an output device 51D, which is an example of the output device 51X. The remote I / O 20D includes an output circuit 23D which is an example of the output circuit 23X, an auto tuning unit 31D which is an example of the auto tuning unit 31X, and a pulse detection circuit 24D which is an example of the pulse detection circuit 24X. In FIG. 11, among the components included in the remote I / O 20D, components other than the pulse detection circuit 24D, the output circuit 23D, and the auto-tuning unit 31D are not shown.
 リモートI/O20Dと出力機器51Dとが接続される場合、出力機器51Dは、出力機器51Dが出力する信号をパルス検出回路24Dに送る必要がない。このため、出力機器51Dの出力側の配線は、パルス検出回路24Dに接続しない。 When the remote I / O 20D and the output device 51D are connected, the output device 51D does not need to send a signal output from the output device 51D to the pulse detection circuit 24D. Therefore, the wiring on the output side of the output device 51D is not connected to the pulse detection circuit 24D.
 出力回路23Dは、信号源である電源73Dを備えており、電源73Dが出力信号76Dを出力する。出力回路23Dは、オートチューニング部31Dに接続されており、オートチューニング部31Dから出力される出力信号76Dのパルスに従って、出力機器51Dに出力信号76Dを出力する。このとき、オートチューニング部31Dは、パラメータ管理部32Aから送られてくる出力信号76Dを、出力回路23Dに送る。 The output circuit 23D includes a power source 73D which is a signal source, and the power source 73D outputs an output signal 76D. The output circuit 23D is connected to the auto tuning unit 31D, and outputs the output signal 76D to the output device 51D according to the pulse of the output signal 76D output from the auto tuning unit 31D. At this time, the auto tuning unit 31D sends the output signal 76D sent from the parameter management unit 32A to the output circuit 23D.
 出力機器51Dは、負荷75Dを有している。出力機器51Dは、出力回路23Dに接続されており、出力回路23Dからの出力信号76Dが負荷75Dに印加される。出力機器51Dは、一方が出力回路23Dに接続され、他方が0Vに接続されている。また、出力回路23Dは、パルス検出回路24Dに接続されている。この構成により、パルス検出回路24Dは、出力回路23Dと出力機器51Dとの間に不具合がなければ、出力信号76Dを検出する。 The output device 51D has a load 75D. The output device 51D is connected to the output circuit 23D, and the output signal 76D from the output circuit 23D is applied to the load 75D. One of the output devices 51D is connected to the output circuit 23D, and the other is connected to 0V. The output circuit 23D is connected to the pulse detection circuit 24D. With this configuration, the pulse detection circuit 24D detects the output signal 76D if there is no failure between the output circuit 23D and the output device 51D.
 パルス検出回路24Dは、出力回路23Dからの出力信号76Dをオートチューニング部31Dに送る。そして、オートチューニング部31Dは、出力信号76Dを取得する。このとき、オートチューニング部31Dは、出力回路23Dに出力するパルスのパルス幅を掃引し、パルスがパルス検出回路24Dで正しく検出できるパルス幅を記録する。 The pulse detection circuit 24D sends the output signal 76D from the output circuit 23D to the auto tuning unit 31D. Then, the auto tuning unit 31D acquires the output signal 76D. At this time, the auto-tuning unit 31D sweeps the pulse width of the pulse output to the output circuit 23D, and records a pulse width that allows the pulse to be detected correctly by the pulse detection circuit 24D.
 図12は、実施の形態にかかる、出力パルスと検出パルスとの第1の関係を説明するための図である。図12では、オートチューニング部31Dが出力した出力パルスと、パルス検出回路24Dが検出した検出パルスとを示している。 FIG. 12 is a diagram for describing a first relationship between an output pulse and a detection pulse according to the embodiment. FIG. 12 shows the output pulse output from the auto-tuning unit 31D and the detection pulse detected by the pulse detection circuit 24D.
 出力回路23Dは、出力信号76Dの出力をオンにしておき、これにより、出力機器51Dに出力信号76Dを入力する。そして、出力回路23Dは、オートチューニング部31Dから出力パルスが出力された時間だけ出力信号76Dをオフにする。これにより、パルス検出回路24Dは、出力信号76Dがオンの間は、オンの信号を検出し、オートチューニング部31Dが出力パルスを出力したタイミングでオフの信号を検出する。 The output circuit 23D turns on the output of the output signal 76D, thereby inputting the output signal 76D to the output device 51D. Then, the output circuit 23D turns off the output signal 76D for the time when the output pulse is output from the auto tuning unit 31D. Thus, while the output signal 76D is on, the pulse detection circuit 24D detects an on signal and detects an off signal at the timing when the auto tuning unit 31D outputs an output pulse.
 オートチューニング部31Dは、出力回路23Dに出力した出力パルスと、パルス検出回路24Dで検出された検出パルスとを比較する。具体的には、オートチューニング部31Dは、出力回路23Dに出力した出力パルスのパルス幅と、パルス検出回路24Dで検出された出力信号76Dの検出パルスのパルス幅とを比較する。 The auto tuning unit 31D compares the output pulse output to the output circuit 23D with the detection pulse detected by the pulse detection circuit 24D. Specifically, the auto-tuning unit 31D compares the pulse width of the output pulse output to the output circuit 23D with the pulse width of the detection pulse of the output signal 76D detected by the pulse detection circuit 24D.
 そして、オートチューニング部31Dは、出力回路23Dに出力した複数のパルスのパルス幅の中から、パルス検出回路24Dで検出パルスが誤検出されないパルスのパルス幅を決定する。この場合において、オートチューニング部31Dは、パルス検出回路24Dで誤検出されないパルス幅の中から最も短いパルス幅を選択する。オートチューニング部31Dは、選択したパルス幅を入出力パラメータに設定する。パラメータ調整システム100では、リモートI/O20Dが出力信号76Dを誤検出しない出力信号76Dのパルス幅は、リモートI/O20Dに接続される周辺機器の影響などで変動する。このため、実施の形態のオートチューニング部31Dは、出力回路23Dに出力した出力パルスのパルス幅、およびパルス検出回路24Dで検出された出力信号76Dの検出パルスのパルス幅に基づいて、出力のダークテスト機能で用いる出力パルスのパルス幅を決定し、このパルス幅を入出力パラメータの1つに設定する。これにより、オートチューニング部31Dは、実環境に合わせたオートチューニングが可能となる。この結果、ユーザは、出力のダークテスト機能で用いる出力パルスのパルス幅を入出力パラメータに設定する必要がなくなる。 Then, the auto-tuning unit 31D determines the pulse width of a pulse that is not erroneously detected by the pulse detection circuit 24D among the pulse widths of the plurality of pulses output to the output circuit 23D. In this case, the auto-tuning unit 31D selects the shortest pulse width from pulse widths that are not erroneously detected by the pulse detection circuit 24D. The auto tuning unit 31D sets the selected pulse width as an input / output parameter. In the parameter adjustment system 100, the pulse width of the output signal 76D from which the remote I / O 20D does not erroneously detect the output signal 76D fluctuates due to the influence of peripheral devices connected to the remote I / O 20D. Therefore, the auto-tuning unit 31D according to the embodiment determines the output dark based on the pulse width of the output pulse output to the output circuit 23D and the pulse width of the detection pulse of the output signal 76D detected by the pulse detection circuit 24D. The pulse width of the output pulse used in the test function is determined, and this pulse width is set to one of the input and output parameters. Thus, the auto tuning unit 31D can perform auto tuning in accordance with the actual environment. As a result, the user does not have to set the pulse width of the output pulse used in the output dark test function to the input / output parameter.
 このように、オートチューニング部31Dは、出力のダークテスト機能で用いる出力パルスのパルス幅を実環境に応じてオートチューニングする。そして、パラメータ管理部32Aは、オートチューニング部31Dがオートチューニングした入出力パラメータを管理する。 Thus, the auto-tuning unit 31D performs auto-tuning of the pulse width of the output pulse used in the dark test function of the output according to the actual environment. Then, the parameter managing unit 32A manages the input / output parameters that are automatically tuned by the auto tuning unit 31D.
 また、パラメータ管理部32Aは、出力のダークテスト処理でこれまでに設定したパルス幅を記憶しておく。そして、パラメータ管理部32Aは、これまでに記憶しておいたパルス幅をパラメータ調整装置30に送る。これにより、パラメータ調整装置30のエラー発生予測部350は、パルス幅の履歴に基づいて、出力回路23Dから出力機器51Dに出力されるパルスのパルス幅の傾向を分析する。そして、パラメータ調整装置30は、この後、検出パルスのパルス幅が基準値を満たさなくなる時期を予測する。さらに、パラメータ調整装置30は、予測結果を示すガイダンスをユーザに通知する。このとき、パラメータ調整装置30は、液晶モニタといった表示装置に、パルス幅の推移予測を表示することによって、予測結果をユーザに通知する。これにより、パラメータ調整装置30は、パラメータ値の再チューニングをユーザに促す。 The parameter managing unit 32A also stores the pulse width set up to now in the dark test process of the output. Then, the parameter management unit 32A sends the pulse width stored so far to the parameter adjustment device 30. Thereby, the error occurrence prediction unit 350 of the parameter adjustment device 30 analyzes the tendency of the pulse width of the pulse output from the output circuit 23D to the output device 51D based on the history of the pulse width. Then, the parameter adjustment device 30 predicts the time when the pulse width of the detection pulse does not satisfy the reference value. Furthermore, the parameter adjustment device 30 notifies the user of the guidance indicating the prediction result. At this time, the parameter adjustment device 30 notifies the user of the prediction result by displaying transition prediction of the pulse width on a display device such as a liquid crystal monitor. Thereby, the parameter adjustment device 30 prompts the user to retune the parameter value.
 なお、オートチューニング部31Dは、出力回路23Dに出力したパルスの出力タイミングと、検出パルスの検出タイミングとのタイミングのずれに基づいて、出力のダークテスト機能で用いる出力パルスの出力タイミングをオートチューニングしてもよい。 The auto-tuning unit 31D performs auto-tuning of the output timing of the output pulse used in the dark test function of the output based on the timing shift between the output timing of the pulse output to the output circuit 23D and the detection timing of the detection pulse. May be
 リモートI/O20Xに適用される出力回路には種々のタイプがある。リモートI/O20Xは、電源73D側に出力回路23Xが配置されてもよいし、電源73D側と0V側との両方に出力回路23Xが配置されてもよい。電源73D側に出力回路23Xが配置される場合のリモートI/O20Xが、リモートI/O20Dである。電源73D側と0V側との両方に出力回路23Xが配置されたリモートI/O20Xも、電源73D側に出力回路23Xが配置される場合のリモートI/O20Dと同様のオートチューニングを実行する。 There are various types of output circuits applied to the remote I / O 20X. In the remote I / O 20X, the output circuit 23X may be disposed on the power supply 73D side, or the output circuit 23X may be disposed on both the power supply 73D side and the 0 V side. The remote I / O 20X when the output circuit 23X is disposed on the power supply 73D side is the remote I / O 20D. The remote I / O 20X in which the output circuit 23X is disposed on both the power supply 73D side and the 0 V side also performs the same auto-tuning as the remote I / O 20D in the case where the output circuit 23X is disposed on the power supply 73D side.
 図13は、実施の形態にかかる出力のダークテスト処理の第2の処理例を説明するための図である。図13では、リモートI/O20Xの一例であるリモートI/O20Eと、出力機器51Xの一例である出力機器51Eとを図示している。リモートI/O20Eは、出力回路23Xの一例である出力回路23E,23Fと、オートチューニング部31Xの一例であるオートチューニング部31Eと、パルス検出回路24Xの一例であるパルス検出回路24E,24Fとを備えている。なお、図13では、リモートI/O20Eが備える構成要素のうち、パルス検出回路24E,24F、出力回路23E,23Fおよびオートチューニング部31E以外の構成要素を図示省略している。 FIG. 13 is a diagram for describing a second processing example of the output dark test processing according to the embodiment. FIG. 13 illustrates a remote I / O 20E, which is an example of the remote I / O 20X, and an output device 51E, which is an example of the output device 51X. The remote I / O 20E includes output circuits 23E and 23F which are an example of the output circuit 23X, an auto tuning unit 31E which is an example of the auto tuning unit 31X, and pulse detection circuits 24E and 24F which is an example of the pulse detection circuit 24X. Have. In FIG. 13, among the components included in the remote I / O 20E, components other than the pulse detection circuits 24E and 24F, the output circuits 23E and 23F, and the auto-tuning unit 31E are not shown.
 出力回路23Eは、信号源である電源73Eを備えており、電源73Eが出力信号76Eを出力する。出力回路23Eは、オートチューニング部31Eに接続されており、オートチューニング部31Eから出力される出力信号105のパルスに従って、出力機器51Eに出力信号76Eを出力する。このとき、オートチューニング部31Eは、パラメータ管理部32Aから送られてくる出力信号105を、出力回路23Eに送る。 The output circuit 23E includes a power source 73E which is a signal source, and the power source 73E outputs an output signal 76E. The output circuit 23E is connected to the auto tuning unit 31E, and outputs the output signal 76E to the output device 51E according to the pulse of the output signal 105 output from the auto tuning unit 31E. At this time, the auto tuning unit 31E sends the output signal 105 sent from the parameter management unit 32A to the output circuit 23E.
 出力回路23Fは、0Vに接続されており、0Vの出力信号を出力する。出力回路23Fは、オートチューニング部31Eに接続されており、オートチューニング部31Eから出力されるパルスに従って、出力機器51Eに0Vの出力信号を出力する。このとき、オートチューニング部31Eは、パラメータ管理部32Aから送られてくる出力信号106を、出力回路23Fに送る。 The output circuit 23F is connected to 0 V and outputs an output signal of 0 V. The output circuit 23F is connected to the auto tuning unit 31E, and outputs an output signal of 0 V to the output device 51E according to the pulse output from the auto tuning unit 31E. At this time, the auto tuning unit 31E sends the output signal 106 sent from the parameter management unit 32A to the output circuit 23F.
 出力機器51Eは、負荷75Eを有している。出力機器51Eは、出力回路23Eに接続されており、出力回路23Eからの出力信号76Eが負荷75Eに印加される。出力機器51Eは、一方が出力回路23Eに接続され、他方が出力回路23Fに接続されている。 The output device 51E has a load 75E. The output device 51E is connected to the output circuit 23E, and the output signal 76E from the output circuit 23E is applied to the load 75E. One of the output devices 51E is connected to the output circuit 23E, and the other is connected to the output circuit 23F.
 また、出力回路23Eは、パルス検出回路24Eに接続されている。この構成により、パルス検出回路24Eは、出力回路23Eと出力機器51Eとの間に不具合がなければ、出力信号76Eを検出する。 The output circuit 23E is connected to the pulse detection circuit 24E. With this configuration, the pulse detection circuit 24E detects the output signal 76E if there is no failure between the output circuit 23E and the output device 51E.
 また、出力回路23Fは、パルス検出回路24Fに接続されている。この構成により、パルス検出回路24Fは、出力回路23Fと出力機器51Eとの間に不具合がなければ、0Vの信号を検出する。 The output circuit 23F is connected to the pulse detection circuit 24F. With this configuration, the pulse detection circuit 24F detects a signal of 0 V if there is no failure between the output circuit 23F and the output device 51E.
 パルス検出回路24Eは、出力回路23Eからの出力信号76Eをオートチューニング部31Eに送る。そして、オートチューニング部31Eは、出力信号76Eを取得する。このとき、オートチューニング部31Eは、出力回路23Eに出力するパルスのパルス幅を掃引し、パルスがパルス検出回路24Eで正しく検出できるパルス幅を記録する。 The pulse detection circuit 24E sends the output signal 76E from the output circuit 23E to the auto tuning unit 31E. Then, the auto tuning unit 31E acquires the output signal 76E. At this time, the auto-tuning unit 31E sweeps the pulse width of the pulse to be output to the output circuit 23E, and records the pulse width that can be detected correctly by the pulse detection circuit 24E.
 また、パルス検出回路24Fは、出力回路23Fからの0Vの信号をオートチューニング部31Eに送る。そして、オートチューニング部31Eは、0Vの信号を取得する。このとき、オートチューニング部31Eは、出力回路23Fに出力するパルスのパルス幅を掃引し、パルスがパルス検出回路24Fで正しく検出できるパルス幅を記録する。 Also, the pulse detection circuit 24F sends the 0 V signal from the output circuit 23F to the auto tuning unit 31E. Then, the auto tuning unit 31E acquires a signal of 0 V. At this time, the auto-tuning unit 31E sweeps the pulse width of the pulse output to the output circuit 23F, and records a pulse width that allows the pulse to be detected correctly by the pulse detection circuit 24F.
 図14は、実施の形態にかかる、出力パルスと検出パルスとの第2の関係を説明するための図である。図14では、オートチューニング部31Eが出力回路23Eに出力した出力パルスと、パルス検出回路24E,24Fが検出した検出パルスとを示している。 FIG. 14 is a diagram for describing a second relationship between an output pulse and a detection pulse according to the embodiment. FIG. 14 shows the output pulse output from the auto-tuning unit 31E to the output circuit 23E and the detection pulse detected by the pulse detection circuits 24E and 24F.
 ここでの出力回路23Eは、出力信号76Eの出力をオンにしておき、これにより、出力機器51Eに出力信号76Eを入力する。さらに、出力回路23Fは、出力信号76Eをオフにしておく。そして、出力回路23Eは、オートチューニング部31Eから出力パルスが出力された時間だけ出力信号76Eをオフにする。これにより、パルス検出回路24E,24Fは、出力信号76Eがオンの間は、オンの信号を検出し、オートチューニング部31Eが出力パルスを出力したタイミングでオフの信号を検出する。 The output circuit 23E in this case turns on the output of the output signal 76E, thereby inputting the output signal 76E to the output device 51E. Furthermore, the output circuit 23F keeps the output signal 76E off. Then, the output circuit 23E turns off the output signal 76E for the time when the output pulse is output from the auto tuning unit 31E. Thus, while the output signal 76E is on, the pulse detection circuits 24E and 24F detect the on signal and detect the off signal at the timing when the auto tuning unit 31E outputs the output pulse.
 オートチューニング部31Eは、出力回路23Eに出力した出力パルスと、パルス検出回路24E,24Fで検出された検出パルスとを比較する。具体的には、オートチューニング部31Eは、出力回路23Eに出力した出力パルスのパルス幅と、パルス検出回路24E,24Fで検出された検出パルスのパルス幅とを比較する。 The auto tuning unit 31E compares the output pulse output to the output circuit 23E with the detection pulse detected by the pulse detection circuits 24E and 24F. Specifically, the auto-tuning unit 31E compares the pulse width of the output pulse output to the output circuit 23E with the pulse width of the detection pulse detected by the pulse detection circuits 24E and 24F.
 そして、オートチューニング部31Eは、出力回路23Eに出力した複数のパルスのパルス幅の中から、パルス検出回路24E,24Fで検出パルスが誤検出されないパルスのパルス幅を決定する。この場合において、オートチューニング部31Eは、パルス検出回路24E,24Fで誤検出されないパルス幅の中から最も短いパルス幅を選択する。オートチューニング部31Eは、選択したパルス幅を入出力パラメータに設定する。 Then, among the pulse widths of the plurality of pulses output to the output circuit 23E, the auto-tuning unit 31E determines the pulse widths of the pulses for which the detection pulses are not erroneously detected by the pulse detection circuits 24E and 24F. In this case, the auto-tuning unit 31E selects the shortest pulse width from pulse widths which are not erroneously detected by the pulse detection circuits 24E and 24F. The auto tuning unit 31E sets the selected pulse width as an input / output parameter.
 このように、オートチューニング部31Eは、オートチューニング部31Dと同様のオートチューニングを実行する。そして、パラメータ管理部32Aは、オートチューニング部31Eがオートチューニングした入出力パラメータを管理する。 Thus, the auto tuning unit 31E performs the same auto tuning as the auto tuning unit 31D. Then, the parameter managing unit 32A manages the input / output parameters which are automatically tuned by the auto tuning unit 31E.
 また、パラメータ管理部32Aは、出力のダークテスト処理でこれまでに設定したパルス幅を記憶しておく。そして、パラメータ管理部32Aは、これまでに記憶しておいたパルス幅をパラメータ調整装置30に送る。これにより、パラメータ調整装置30は、上述したパラメータ値の管理と、パルス幅の傾向の分析と、パルス幅が基準値を満たさなくなる時期の予測と、ユーザへの予測結果の通知とを実行する。 The parameter managing unit 32A also stores the pulse width set up to now in the dark test process of the output. Then, the parameter management unit 32A sends the pulse width stored so far to the parameter adjustment device 30. Thereby, the parameter adjustment device 30 executes the management of the parameter values described above, the analysis of the tendency of the pulse width, the prediction of the time when the pulse width does not satisfy the reference value, and the notification of the prediction result to the user.
 なお、オートチューニング部31Eは、出力回路23Eに出力したパルスの出力タイミングと、検出パルスの検出タイミングとのタイミングのずれに基づいて、出力のダークテスト機能で用いる出力パルスの出力タイミングをオートチューニングしてもよい。 The auto-tuning unit 31E performs auto-tuning of the output timing of the output pulse used in the dark test function of the output based on the timing shift between the output timing of the pulse output to the output circuit 23E and the detection timing of the detection pulse. May be
 電源73D側に出力回路23DがあるリモートI/O20Dは、電源73D側の出力配線の、電源固着および0V固着の故障を検出できる。一方、電源73E側に出力回路23Eが配置され、0V側に出力回路23Fが配置されているリモートI/O20Eは、電源73E側と0V側の両方の、電源固着および0V固着を検出できる。また、リモートI/O20Eは、出力機器51E内の断線故障、および出力機器51Eに接続された配線の断線故障を検出できる。 The remote I / O 20D having the output circuit 23D on the power supply 73D side can detect the failure of the power supply sticking and the 0V sticking of the output wiring on the power supply 73D side. On the other hand, the remote I / O 20E in which the output circuit 23E is disposed on the power supply 73E side and the output circuit 23F is disposed on the 0V side can detect power supply sticking and 0V sticking on both the power supply 73E side and 0V. Further, the remote I / O 20E can detect a disconnection failure in the output device 51E and a disconnection failure of a wiring connected to the output device 51E.
 パラメータ調整システム100は、パラメータ調整装置30の機能を有した、図示しないエンジニアリングツール90が制御ユニット10を介して、上述したリモートI/O20A~20Eに、オートチューニングの実行を指示してもよい。ここで、制御ユニット10が、エンジニアリングツール90からの指示に基づいて、オートチューニングの実行をリモートI/O20A~20Eに指示する場合の処理について説明する。 In the parameter adjustment system 100, an engineering tool 90 (not shown) having the function of the parameter adjustment device 30 may instruct the above-described remote I / Os 20A to 20E to execute auto tuning via the control unit 10. Here, processing in the case where the control unit 10 instructs the remote I / Os 20A to 20E to execute auto tuning based on an instruction from the engineering tool 90 will be described.
 図15は、実施の形態にかかるエンジニアリングツールの第1の画面例を示す図である。ここでは、パラメータ調整装置30の機能を有したエンジニアリングツール90がオートチューニングの対象となる装置を表示した画面150を示している。 FIG. 15 is a diagram illustrating a first screen example of the engineering tool according to the embodiment. Here, the screen 150 on which the engineering tool 90 having the function of the parameter adjustment device 30 displays the device to be the target of the auto-tuning is shown.
 エンジニアリングツール90の画面150は、PC9に接続された表示装置に表示される。エンジニアリングツール90は、オートチューニングの対象にすることができる装置の名称を、画面150内の画面領域94に一覧表示する。また、エンジニアリングツール90は、画面領域94に一覧表示された装置を、一括してオートチューニングするためのボタン95を表示する。このボタン95が、ユーザによって選択されると、エンジニアリングツール90は、一覧表示された装置にオートチューニングの指示を送る。ここでの一覧表示には、リモートI/O20Xの名称が含まれているので、エンジニアリングツール90は、リモートI/O20Xを制御する制御ユニット10にオートチューニングの指示を送る。これにより、制御ユニット10がリモートI/O20Xにオートチューニングの指示を送り、リモートI/O20Xがオートチューニングを実行する。 The screen 150 of the engineering tool 90 is displayed on a display device connected to the PC 9. The engineering tool 90 lists the names of devices that can be targets of auto-tuning in the screen area 94 in the screen 150. In addition, the engineering tool 90 displays a button 95 for auto-tuning all the devices listed in the screen area 94 collectively. When this button 95 is selected by the user, the engineering tool 90 sends an auto tuning instruction to the listed devices. Since the list display here includes the name of the remote I / O 20X, the engineering tool 90 sends an auto-tuning instruction to the control unit 10 that controls the remote I / O 20X. Thereby, the control unit 10 sends an instruction of auto tuning to the remote I / O 20X, and the remote I / O 20X executes auto tuning.
 なお、エンジニアリングツール90は、画面150に一覧表示された装置の中からユーザによって選択された装置にオートチューニングの指示を一括で送ってもよい。画面150に複数のリモートI/O20Xが表示され、ユーザによって複数のリモートI/O20Xが選択された場合には、エンジニアリングツール90は、選択されたリモートI/O20Xにオートチューニングの指示を一括で送る。 The engineering tool 90 may collectively send an instruction of auto tuning to a device selected by the user from among the devices listed on the screen 150. When a plurality of remote I / Os 20X are displayed on the screen 150 and the plurality of remote I / Os 20X are selected by the user, the engineering tool 90 sends the auto tuning instruction to the selected remote I / O 20X in a batch. .
 また、画面150は、制御ユニット10、リモートI/O20Xといった局ごとの装置名を表示している。この装置名の何れかがユーザによって選択されると、エンジニアリングツール90は、後述の画面151を表示する。 Further, the screen 150 displays device names for each station, such as the control unit 10 and the remote I / O 20X. When one of the device names is selected by the user, the engineering tool 90 displays a screen 151 described later.
 図16は、実施の形態にかかるエンジニアリングツールの第2の画面例を示す図である。画面150において、リモートI/O20Xがユーザによって選択されると、エンジニアリングツール90は、画面151を表示する。画面151は、リモートI/O20Xに通信パラメータおよび入出力パラメータを設定するための画面である。 FIG. 16 is a diagram illustrating a second screen example of the engineering tool according to the embodiment. When the remote I / O 20X is selected by the user on the screen 150, the engineering tool 90 displays the screen 151. The screen 151 is a screen for setting communication parameters and input / output parameters in the remote I / O 20X.
 エンジニアリングツール90は、リモートI/O20Xにオートチューニングさせることができる項目の一覧を画面151に表示する。また、エンジニアリングツール90は、オートチューニングを実行させるためのボタン96を画面151に表示する。画面151において、オートチューニングさせることができる項目の1から複数がユーザによって選択されたうえで、ボタン96がユーザによって押下されると、エンジニアリングツール90は、選択された項目のオートチューニングを実行させる指示を制御ユニット10に出力する。 The engineering tool 90 displays a list of items that can be automatically tuned to the remote I / O 20X on the screen 151. Further, the engineering tool 90 displays a button 96 for executing auto tuning on the screen 151. In the screen 151, when one or more of the items that can be auto-tuned are selected by the user and then the button 96 is pressed by the user, the engineering tool 90 instructs the auto-tuning of the selected item to be performed. Are output to the control unit 10.
 ここで、パラメータのチューニング範囲の設定処理について説明する。図17は、実施の形態にかかる、パラメータのチューニング範囲の設定処理を説明するための図である。図17では、パラメータ調整装置30が表示装置に表示する画面160を示している。画面160は、パラメータのチューニング範囲を設定するための画面である。画面160は、設定対象とするパラメータのパラメータ名と、チューニング範囲とを表示する。チューニング範囲は、ユーザによる数値入力操作によって設定されるものである。チューニング範囲は、パラメータの許容範囲であり、チューニングを許可する下限値と上限値とによって規定される。 Here, setting processing of the tuning range of the parameter will be described. FIG. 17 is a diagram for explaining setting processing of a parameter tuning range according to the embodiment. In FIG. 17, the screen 160 which the parameter adjustment apparatus 30 displays on a display apparatus is shown. The screen 160 is a screen for setting the tuning range of the parameter. The screen 160 displays the parameter name of the parameter to be set and the tuning range. The tuning range is set by user's numerical value input operation. The tuning range is an allowable range of parameters, and is defined by the lower limit value and the upper limit value which allow tuning.
 調整設定部330は、ユーザからの指示に従って、パラメータのチューニング範囲を設定する。そして、調整設定部330は、設定したチューニング範囲をパラメータ管理部320Xに格納させる。パラメータ調整装置30は、パラメータ管理部320Xに格納したチューニング範囲を制御ユニット10のパラメータ管理部32Bに格納させてもよいし、リモートI/O20Xのパラメータ管理部32Aに格納させてもよい。このように、パラメータのチューニング範囲が設定されることによって、オートチューングによって予期せぬ設定がされることを防止することができる。 The adjustment setting unit 330 sets a tuning range of parameters in accordance with an instruction from the user. Then, the adjustment setting unit 330 causes the parameter management unit 320X to store the set tuning range. The parameter adjustment device 30 may store the tuning range stored in the parameter management unit 320X in the parameter management unit 32B of the control unit 10 or may store the tuning range in the parameter management unit 32A of the remote I / O 20X. In this way, setting the tuning range of the parameters can prevent unexpected settings from being performed by auto tuning.
 つぎに、オートチューニングの設定処理手順について説明する。図18は、実施の形態にかかるオートチューニングの設定処理手順を示すフローチャートである。ここでは、パラメータ調整装置30からの指示に従って、制御ユニット10とリモートI/O20Xとがオートチューニングを実行する場合について説明する。ここでの制御ユニット10は、種々の情報をプログラマブル表示器に表示させながら、オートチューニングを実行する。 Next, the setting process procedure of the auto tuning will be described. FIG. 18 is a flowchart of an auto-tuning setting process according to the embodiment. Here, the case where the control unit 10 and the remote I / O 20X execute auto tuning in accordance with an instruction from the parameter adjustment device 30 will be described. The control unit 10 here performs auto tuning while displaying various information on the programmable display.
 パラメータ調整装置30のパラメータ管理部320Xは、パラメータの調整に用いられる設定値を格納しておく。この設定値の例は、パラメータの初期値およびパラメータのチューニング範囲である。このパラメータの初期値およびチューニング範囲は、ユーザによって制御ユニット10から設定されてもよいし、ユーザによってパラメータ調整装置30から設定されてもよい。また、パラメータ管理部320Xは、チューニング範囲がユーザによって入力されると、このチューニング範囲を受け付けて格納する。パラメータ調整装置30の指示部310は、パラメータ管理部320Xで記憶している情報に基づいて、制御ユニット10にオートチューニングの指示を送る。指示部310がパラメータ管理部320Xに送る指示には、オートチューニングの対象となる設定範囲が含まれている。オートチューニングの対象となる設定範囲は、何れの装置の何れのパラメータ値をオートチューニングの対象とするかを示す情報である。 The parameter managing unit 320X of the parameter adjusting device 30 stores setting values used for adjusting the parameters. Examples of this set value are the initial value of the parameter and the tuning range of the parameter. The initial value and tuning range of this parameter may be set from the control unit 10 by the user, or may be set from the parameter adjustment device 30 by the user. In addition, when the tuning range is input by the user, the parameter managing unit 320X receives and stores the tuning range. The instruction unit 310 of the parameter adjustment device 30 sends an instruction of auto tuning to the control unit 10 based on the information stored in the parameter management unit 320X. The instruction that the instruction unit 310 sends to the parameter management unit 320X includes a setting range to be subjected to the auto-tuning. The setting range to be subjected to the auto tuning is information indicating which parameter value of which device is to be subjected to the auto tuning.
 ステップS10において、制御ユニット10は、オートチューニングの対象となる設定範囲を受付けて、オートチューニング部31Zに入力する。ステップS20において、制御ユニット10は、オートチューニングを開始する。そして、ステップS30において、制御ユニット10は、設定範囲データおよびチューニング開始命令を、リモートI/O20Xのオートチューニング部31X,31Yに送信する。設定範囲データは、オートチューニングの対象となるパラメータの種類を指定した情報であり、チューニング開始命令は、オートチューニングの開始を指示する情報である。 In step S10, the control unit 10 receives a set range to be an object of auto tuning, and inputs the set range to the auto tuning unit 31Z. In step S20, the control unit 10 starts auto tuning. Then, in step S30, the control unit 10 transmits the setting range data and the tuning start instruction to the auto tuning units 31X and 31Y of the remote I / O 20X. The setting range data is information specifying the type of parameter to be subjected to auto tuning, and the tuning start instruction is information instructing start of auto tuning.
 ステップS40において、リモートI/O20Xのオートチューニング部31X,31Yは、制御ユニット10からの設定範囲データおよびチューニング開始命令を受信する。これにより、ステップS50において、オートチューニング部31X,31Yは、オートチューニングを開始する。そして、ステップS60において、オートチューニング部31X,31Yは、パラメータ値を掃引しながらオートチューニングを実行する。パラメータ値の掃引の例は、通信のタイムアウト時間T1の掃引、またはパルス幅の掃引である。 In step S40, the auto-tuning units 31X and 31Y of the remote I / O 20X receive the setting range data and the tuning start instruction from the control unit 10. Thereby, in step S50, the auto tuning units 31X and 31Y start auto tuning. Then, in step S60, the auto-tuning units 31X and 31Y perform auto-tuning while sweeping the parameter values. An example of a sweep of parameter values is a sweep of communication time-out time T1 or a sweep of pulse width.
 ステップS70において、オートチューニング部31X,31Yは、何れのパラメータを用いた処理が合格であるかの検出チェックを実行する。オートチューニング部31X,31Yが実行する検出チェックの例は、入力回路25Cに入力される入力信号101Cのパルス幅が基準値よりも大きいか否か、またはパルス検出回路24D~24Fが検出する検出パルスのパルス幅が基準値よりも大きいか否かである。 In step S70, the auto-tuning units 31X and 31Y execute a detection check as to which parameter is used for processing. An example of the detection check performed by the auto-tuning units 31X and 31Y is whether the pulse width of the input signal 101C input to the input circuit 25C is larger than a reference value or detection pulses detected by the pulse detection circuits 24D to 24F. The pulse width of is larger than the reference value.
 検出チェックが不合格である場合、すなわち、ステップS70においてNoの場合、オートチューニング部31X,31Yは、ステップS60,S70の処理を実行する。オートチューニング部31X,31Yは、検出チェックが合格となるまで、ステップS60,S70の処理を繰り返す。 If the detection check fails, that is, No in step S70, the auto tuning units 31X and 31Y execute the processes of steps S60 and S70. The auto-tuning units 31X and 31Y repeat the processes of steps S60 and S70 until the detection check passes.
 検出チェックが合格である場合、すなわち、ステップS70においてYesの場合、オートチューニング部31X,31Yは、ステップS80において、合格と判定したパラメータ値を制御ユニット10に送信する。 If the detection check is passed, that is, if Yes in step S70, the auto tuning units 31X and 31Y transmit the parameter value determined to be passed to the control unit 10 in step S80.
 ステップS90において、制御ユニット10のオートチューニング部31Zは、オートチューニング部31X,31Yからのパラメータ値を受信する。ステップS100において、オートチューニング部31Zは、チューニング結果であるパラメータ値をプログラマブル表示器に表示させる。これにより、制御ユニット10は、ユーザにパラメータ値を提示する。プログラマブル表示器は、表示しているパラメータ値を承認するための承認ボタンを有している。この承認ボタンは、プログラマブル表示器が備えるタッチパネルに表示されてもよいし、他の箇所に配置されてもよい。承認ボタンがユーザによって押下されると、プログラマブル表示器は、承認されたことを示す情報を制御ユニット10に送信する。これにより、制御ユニット10は、パラメータ値が承認されたと判断し、ステップS110において、リモートI/O20Xにパラメータ値設定命令を送信する。パラメータ値設定命令は、リモートI/O20Xから送られてきた最新のパラメータ値を、リモートI/O20Xが用いるパラメータ値に設定させるための命令である。 In step S90, the auto tuning unit 31Z of the control unit 10 receives the parameter values from the auto tuning units 31X and 31Y. In step S100, the auto-tuning unit 31Z causes the programmable display to display the parameter value that is the tuning result. Thus, the control unit 10 presents the parameter value to the user. The programmable display has an approval button for approving the displayed parameter value. The approval button may be displayed on the touch panel included in the programmable display, or may be disposed at another place. When the approval button is pressed by the user, the programmable display transmits information indicating that it has been approved to the control unit 10. Accordingly, the control unit 10 determines that the parameter value is approved, and transmits a parameter value setting command to the remote I / O 20X in step S110. The parameter value setting instruction is an instruction for setting the latest parameter value sent from the remote I / O 20X to the parameter value used by the remote I / O 20X.
 ステップS120において、パラメータ管理部32Aは、制御ユニット10からのパラメータ値設定命令を受信する。そして、ステップS130において、オートチューニング部31X,31Yは、パラメータ値設定命令に対応するパラメータ値をリモートI/O20X内のパラメータ管理部32Aに書き込む。パラメータ値設定命令に対応するパラメータ値は、ステップS80の処理でリモートI/O20Xが制御ユニット10に送信したパラメータ値である。 In step S120, the parameter management unit 32A receives a parameter value setting command from the control unit 10. Then, in step S130, the auto-tuning units 31X and 31Y write the parameter value corresponding to the parameter value setting command in the parameter management unit 32A in the remote I / O 20X. The parameter value corresponding to the parameter value setting command is the parameter value transmitted by the remote I / O 20X to the control unit 10 in the process of step S80.
 これにより、パラメータ管理部32Aは、パラメータの初期値およびチューニング範囲に加えて、パラメータ値設定命令に対応するパラメータ値を記憶する。パラメータ管理部32Aが記憶するパラメータ値がパラメータ設定値である。なお、オートチューニング部31X,31Yは、パラメータ値設定命令に対応するパラメータ値をリモートI/O20X以外の装置内に書き込んでもよい。 Thereby, the parameter managing unit 32A stores the parameter value corresponding to the parameter value setting instruction in addition to the initial value of the parameter and the tuning range. The parameter value stored by the parameter management unit 32A is a parameter setting value. The auto-tuning units 31X and 31Y may write parameter values corresponding to the parameter value setting instruction into an apparatus other than the remote I / O 20X.
 ステップS140において、オートチューニング部31X,31Yは、パラメータ値の設定が完了すると、設定が正常に行われたことを示す設定結果を制御ユニット10に送信する。そして、ステップS150において、制御ユニット10は、設定が正常に行われたことを示す設定結果を受信する。 In step S140, when the setting of the parameter values is completed, the auto-tuning units 31X and 31Y transmit, to the control unit 10, a setting result indicating that the setting has been properly performed. Then, in step S150, the control unit 10 receives the setting result indicating that the setting has been properly performed.
 制御ユニット10は、オートチューニング部31X,31Yが設定したパラメータ値をパラメータ調整装置30に送る。オートチューニング部31X,31Yが設定したパラメータ値は、ステップS130の処理でオートチューニング部31X,31Yがパラメータ管理部32Aに書き込んだパラメータ値である。このパラメータ値は、ステップS90の処理で制御ユニット10が受信したパラメータ値である。 The control unit 10 sends the parameter values set by the auto-tuning units 31X and 31Y to the parameter adjustment device 30. The parameter values set by the auto tuning units 31X and 31Y are the parameter values written to the parameter management unit 32A by the auto tuning units 31X and 31Y in the process of step S130. This parameter value is a parameter value received by the control unit 10 in the process of step S90.
 なお、オートチューニング部31X,31Yは、何れが先にオートチューニングを実行してもよい。また、オートチューニング部31X,31Yは、同時にオートチューニングを実行してもよい。 Any one of the auto tuning units 31X and 31Y may perform auto tuning first. Further, the auto tuning units 31X and 31Y may execute auto tuning at the same time.
 ここで、実施の形態で説明したパラメータ調整装置30のハードウェア構成について説明する。図19は、実施の形態にかかるマイクロコンピュータのハードウェア構成例を示す図である。パラメータ調整装置30は、図19に示した制御回路300、すなわちプロセッサ301およびメモリ302により実現することができる。プロセッサ301は、CPU(中央処理装置、処理装置、演算装置、マイクロプロセッサ、マイクロコンピュータ、プロセッサ、DSP(Digital Signal Processor)ともいう)、システムLSI(Large Scale Integration)などである。メモリ302は、RAM(Random Access Memory)、ROM(Read Only Memory)といった不揮発性または揮発性の半導体メモリであってもよいし、磁気ディスクまたはフレキシブルディスクであってもよい。 Here, the hardware configuration of the parameter adjustment device 30 described in the embodiment will be described. FIG. 19 is a diagram showing an example of a hardware configuration of a microcomputer according to the embodiment. The parameter adjustment device 30 can be realized by the control circuit 300 shown in FIG. 19, that is, the processor 301 and the memory 302. The processor 301 is a CPU (also referred to as a central processing unit, processing unit, arithmetic unit, microprocessor, microcomputer, processor, DSP (Digital Signal Processor)), system LSI (Large Scale Integration), or the like. The memory 302 may be a nonvolatile or volatile semiconductor memory such as a random access memory (RAM) or a read only memory (ROM), or may be a magnetic disk or a flexible disk.
 パラメータ調整装置30は、プロセッサ301が、メモリ302で記憶されている、パラメータ調整装置30として動作するためのプログラムを読み出して実行することにより実現される。また、このプログラムは、指示部310、パラメータ管理部320X、調整設定部330、調整履歴記憶部340およびエラー発生予測部350の手順または方法をコンピュータに実行させるものであるともいえる。メモリ302は、プロセッサ301が各種処理を実行する際の一時メモリとしても使用される。 The parameter adjustment device 30 is realized by the processor 301 reading out and executing a program stored in the memory 302 for operating as the parameter adjustment device 30. Further, it can be said that this program causes a computer to execute the procedure or method of the instruction unit 310, the parameter management unit 320X, the adjustment setting unit 330, the adjustment history storage unit 340, and the error occurrence prediction unit 350. The memory 302 is also used as a temporary memory when the processor 301 executes various processes.
 このように、プロセッサ301が実行するプログラムは、コンピュータで実行可能な、部品温度を判定するための複数の命令を含むコンピュータ読取り可能かつ非遷移的な(non-transitory)記録媒体を有するコンピュータプログラムプロダクトである。プロセッサ301が実行するプログラムは、複数の命令が温度判定を行うことをコンピュータに実行させる。 Thus, the program executed by the processor 301 is a computer-executable computer program product having a computer readable non-transitory recording medium including a plurality of instructions for determining a component temperature. It is. The program executed by the processor 301 causes the computer to execute temperature determinations of a plurality of instructions.
 なお、パラメータ調整装置30の機能を専用のハードウェアで実現してもよい。また、パラメータ調整装置30の機能について、一部を専用のハードウェアで実現し、一部をソフトウェアまたはファームウェアで実現するようにしてもよい。 The function of the parameter adjustment device 30 may be realized by dedicated hardware. In addition, a part of the function of the parameter adjustment device 30 may be realized by dedicated hardware and a part may be realized by software or firmware.
 パラメータ調整システム100は、機能の拡張によって、制御ユニット10、PLC間ネットワーク5またはフィールドネットワーク11の負荷が増大する。このような場合、PLCシステムは、初期に設定した通信パラメータでは所望の処理を実行できなくなる場合がある。この結果、PLCシステムの停止が頻繁に発生することがあった。実施の形態では、パラメータ調整装置30が、通信の応答時間がタイムアウト時間T1を超えるタイミングを予測してユーザに通知するので、PLC6およびリモートI/O20Xは、PLCシステムが停止する前に、通信パラメータのオートチューニングを実行することが可能となる。 The parameter adjustment system 100 increases the load of the control unit 10, the inter-PLC network 5 or the field network 11 by the expansion of the function. In such a case, the PLC system may not be able to execute desired processing with the communication parameters set initially. As a result, the PLC system may be frequently shut down. In the embodiment, since the parameter adjustment device 30 predicts the timing at which the response time of communication exceeds the timeout time T1 and notifies the user, the PLC 6 and the remote I / O 20X communicate parameters before the PLC system stops. It is possible to execute the auto tuning of
 また、パラメータ調整システム100は、入力機器52Xまたは出力機器51Xの機械的な経年劣化が発生すると、入力信号の時間的ばらつき又は信号波形の劣化が起こる。このような場合、PLCシステムは、初期に設定した入出力パラメータでは所望の処理を実行できなくなる場合がある。この結果、PLCシステムの停止が頻繁に発生することがあった。実施の形態では、パラメータ調整装置30が、通信処理の傾向、入力信号のチャタリングの傾向、二重化された信号の不一致の傾向および信号の入出力に用いられる信号のパルス幅の傾向を分析して分析結果をユーザに通知するので、リモートI/O20Xは、PLCシステムが停止する前に、入出力パラメータのオートチューニングを実行することが可能となる。 In the parameter adjustment system 100, when mechanical aging of the input device 52X or the output device 51X occurs, temporal variations in input signals or deterioration of signal waveforms occur. In such a case, the PLC system may not be able to execute desired processing with the input / output parameters set initially. As a result, the PLC system may be frequently shut down. In the embodiment, the parameter adjustment device 30 analyzes and analyzes the tendency of communication processing, the tendency of chattering of an input signal, the tendency of mismatched duplicated signals, and the tendency of pulse widths of signals used for signal input and output. Since the result is notified to the user, the remote I / O 20X can perform auto tuning of input / output parameters before the PLC system stops.
 このように、パラメータ調整システム100は、実システムに合わせたパラメータ値を一括で設定することができるので、作業時間の短縮と、応答性能の低下防止を実現することができる。 As described above, the parameter adjustment system 100 can collectively set parameter values in accordance with the actual system, so that shortening of the operation time and prevention of deterioration of the response performance can be realized.
 なお、制御ユニット10は、PLC6が備える入出力ユニットであるI/Oユニットにオートチューニングの実行指示を送ってもよい。この場合、I/Oユニットが入出力装置であり、I/Oユニットは、リモートI/O20Xと同様の処理によってオートチューニングを実行する。 The control unit 10 may send an execution instruction of auto tuning to an I / O unit which is an input / output unit included in the PLC 6. In this case, the I / O unit is an input / output device, and the I / O unit executes auto tuning by the same processing as the remote I / O 20X.
 このように、実施の形態によれば、パラメータ調整装置30が、リモートI/O20Xを含む複数の装置にパラメータの調整を一括して指示し、リモートI/O20Xが、パラメータ調整装置30からの指示に従ってパラメータの調整を行うので、パラメータ値を複数の装置に容易に設定することが可能となる。 As described above, according to the embodiment, the parameter adjustment device 30 collectively instructs parameter adjustment to a plurality of devices including the remote I / O 20X, and the remote I / O 20X instructs the parameter adjustment device 30 Since parameter adjustment is performed according to the above, parameter values can be easily set in a plurality of devices.
 また、パラメータ調整装置30は、PLC6~8、PC9、リモートI/O20X、エッジコンピュータ2、上位コンピュータ3またはサーバ1に配置されているので、種々の位置からオートチューニングの指示を一括で送ることができる。 In addition, since the parameter adjustment device 30 is disposed in the PLCs 6 to 8, the PC 9, the remote I / O 20X, the edge computer 2, the host computer 3 or the server 1, it is possible to collectively transmit auto tuning instructions from various positions. it can.
 以上の実施の形態に示した構成は、本発明の内容の一例を示すものであり、別の公知の技術と組み合わせることも可能であるし、本発明の要旨を逸脱しない範囲で、構成の一部を省略、変更することも可能である。 The configuration shown in the above embodiment shows an example of the contents of the present invention, and can be combined with another known technique, and one of the configurations is possible within the scope of the present invention. Parts can be omitted or changed.
 1 サーバ、2 エッジコンピュータ、3 上位コンピュータ、6~8 PLC、9 PC、10 制御ユニット、20A~20E,20X リモートI/O、22 マイクロコンピュータ、23D~23F,23X 出力回路、24D~24F,24X パルス検出回路、25A,25C,25X,25a,25b 入力回路、26 テスト出力回路、30 パラメータ調整装置、31A~31E,31X~31Z オートチューニング部、32A,32B,320X パラメータ管理部、51D,51E,51X 出力機器、52A~52C,52X 入力機器、100 パラメータ調整システム、310 指示部、330 調整設定部、340 調整履歴記憶部、350 エラー発生予測部。 Reference Signs List 1 server, 2 edge computer, 3 host computer, 6 to 8 PLC, 9 PC, 10 control unit, 20A to 20E, 20X remote I / O, 22 microcomputer, 23D to 23F, 23X output circuit, 24D to 24F, 24X Pulse detection circuit, 25A, 25C, 25X, 25a, 25b input circuit, 26 test output circuit, 30 parameter adjustment device, 31A to 31E, 31X to 31Z auto tuning unit, 32A, 32B, 320X parameter management unit, 51D, 51E, 51X output device, 52A to 52C, 52X input device, 100 parameter adjustment system, 310 instruction unit, 330 adjustment setting unit, 340 adjustment history storage unit, 350 error occurrence prediction unit.

Claims (10)

  1.  被制御機器を制御する制御装置からの指示に従ってパラメータを用いた信号の入出力を行う入出力装置と、
     複数の前記入出力装置に前記パラメータの調整を指示するパラメータ調整装置と、
     を備え、
     前記入出力装置は、前記パラメータ調整装置からの指示に従い、実環境に応じて前記パラメータの調整を行うことを特徴とするパラメータ調整システム。
    An input / output device that inputs / outputs a signal using a parameter in accordance with an instruction from a control device that controls the controlled device;
    A parameter adjustment device that instructs the plurality of input / output devices to adjust the parameters;
    Equipped with
    The parameter adjustment system, wherein the input / output device adjusts the parameter according to an actual environment according to an instruction from the parameter adjustment device.
  2.  前記パラメータ調整装置は、複数の前記入出力装置に前記パラメータの調整を一括して指示する、
     ことを特徴とする請求項1に記載のパラメータ調整システム。
    The parameter adjustment device collectively instructs adjustment of the parameters to a plurality of the input / output devices.
    The parameter adjustment system according to claim 1, characterized in that:
  3.  前記パラメータ調整装置は、前記制御装置内、前記入出力装置内、前記制御装置よりも上位側に接続されたエッジコンピュータ内またはエンジニアリングツール内に設けられる、
     ことを特徴とする請求項1または2に記載のパラメータ調整システム。
    The parameter adjustment device is provided in the control device, in the input / output device, in an edge computer connected above the control device, or in an engineering tool.
    The parameter adjustment system according to claim 1 or 2, characterized in that:
  4.  前記パラメータは、通信パラメータおよび入出力パラメータを含み、
     前記入出力装置は、前記パラメータ調整装置からの指示に従って前記通信パラメータおよび前記入出力パラメータの調整を行う、
     ことを特徴とする請求項1から3のいずれか1つに記載のパラメータ調整システム。
    The parameters include communication parameters and input / output parameters
    The input / output device adjusts the communication parameter and the input / output parameter in accordance with an instruction from the parameter adjustment device.
    The parameter adjustment system according to any one of claims 1 to 3, characterized in that:
  5.  前記パラメータ調整装置は、
     前記パラメータの調整に用いられる設定値を管理するパラメータ管理部と、
     前記設定値を前記入出力装置に送信する指示部と、
     を有し、
     前記入出力装置は、前記設定値に基づいて、前記パラメータの調整を行う、
     ことを特徴とする請求項1から4のいずれか1つに記載のパラメータ調整システム。
    The parameter adjustment device
    A parameter management unit that manages setting values used to adjust the parameters;
    An instruction unit that transmits the setting value to the input / output device;
    Have
    The input / output device adjusts the parameter based on the setting value.
    The parameter adjustment system according to any one of claims 1 to 4, characterized in that:
  6.  前記パラメータ調整装置は、
     ユーザからの指示に基づいて、前記パラメータの許容範囲を設定する調整設定部と、
     前記パラメータの調整に用いられる設定値を前記入出力装置に送信する指示部と、
     を有し、
     前記入出力装置は、前記許容範囲に基づいて、前記パラメータの調整を行う、
     ことを特徴とする請求項1から4のいずれか1つに記載のパラメータ調整システム。
    The parameter adjustment device
    An adjustment setting unit configured to set an allowable range of the parameter based on an instruction from a user;
    An instruction unit that transmits a setting value used to adjust the parameter to the input / output device;
    Have
    The input / output device adjusts the parameter based on the allowable range.
    The parameter adjustment system according to any one of claims 1 to 4, characterized in that:
  7.  前記パラメータ調整装置は、
     調整された後のパラメータであるパラメータ設定値の履歴または、前記パラメータの調整に用いた補正値の履歴を記憶する調整履歴記憶部と、
     前記パラメータ設定値の履歴または前記補正値の履歴に基づいて、前記入出力装置で発生するエラーを予測するエラー発生予測部と、
     を有する、
     ことを特徴とする請求項1から6のいずれか1つに記載のパラメータ調整システム。
    The parameter adjustment device
    An adjustment history storage unit that stores a history of parameter setting values that are parameters after adjustment or a history of correction values used for adjustment of the parameters;
    An error occurrence prediction unit that predicts an error occurring in the input / output device based on a history of the parameter setting value or a history of the correction value;
    Have
    The parameter adjustment system according to any one of claims 1 to 6, characterized in that:
  8.  前記制御装置は、プログラマブルロジックコントローラ内に配置された制御ユニットであり、
     前記入出力装置は、前記被制御機器に前記信号の入出力を行うリモート入出力装置である、
     ことを特徴とする請求項1から7のいずれか1つに記載のパラメータ調整システム。
    The controller is a control unit disposed in a programmable logic controller,
    The input / output device is a remote input / output device that inputs / outputs the signal to / from the controlled device,
    The parameter adjustment system according to any one of claims 1 to 7, characterized in that:
  9.  入出力装置が、被制御機器を制御する制御装置からの指示に従ってパラメータを用いた信号の入出力を行う入出力ステップと、
     パラメータ調整装置が、複数の前記入出力装置に前記パラメータの調整を一括して指示する指示ステップと、
     前記入出力装置が、前記パラメータ調整装置からの指示に従って前記パラメータの調整を行う調整ステップと、
     を含む、
     ことを特徴とするパラメータ調整方法。
    An input / output step of inputting / outputting a signal using a parameter in accordance with an instruction from a control device that controls the controlled device;
    An instruction step of the parameter adjustment device instructing the plurality of input / output devices to adjust the parameters collectively;
    An adjusting step in which the input / output device adjusts the parameter in accordance with an instruction from the parameter adjusting device;
    including,
    Parameter adjustment method characterized in that.
  10.  被制御機器を制御する制御装置からの指示に従ってパラメータを用いた信号の入出力を行う入出力装置であって、
     前記入出力装置および他の入出力装置に前記パラメータの調整を指示するパラメータ調整装置からの指示に従い、実環境に応じて前記パラメータの調整を行うオートチューニング部を備えることを特徴とする入出力装置。
    An input / output device that inputs / outputs a signal using a parameter according to an instruction from a control device that controls a controlled device,
    An input / output device comprising an auto-tuning unit that adjusts the parameter according to the actual environment according to an instruction from the parameter adjustment device that instructs the input / output device and the other input / output device to adjust the parameter .
PCT/JP2017/036342 2017-10-05 2017-10-05 Parameter adjustment system, parameter adjustment method, and input-output device WO2019069433A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2018537689A JPWO2019069433A1 (en) 2017-10-05 2017-10-05 Parameter adjustment system and parameter adjustment method
PCT/JP2017/036342 WO2019069433A1 (en) 2017-10-05 2017-10-05 Parameter adjustment system, parameter adjustment method, and input-output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2017/036342 WO2019069433A1 (en) 2017-10-05 2017-10-05 Parameter adjustment system, parameter adjustment method, and input-output device

Publications (1)

Publication Number Publication Date
WO2019069433A1 true WO2019069433A1 (en) 2019-04-11

Family

ID=65995349

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2017/036342 WO2019069433A1 (en) 2017-10-05 2017-10-05 Parameter adjustment system, parameter adjustment method, and input-output device

Country Status (2)

Country Link
JP (1) JPWO2019069433A1 (en)
WO (1) WO2019069433A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110703679A (en) * 2019-10-14 2020-01-17 明阳智慧能源集团股份公司 Industrial controller of wind generating set
JP6735953B1 (en) * 2019-07-11 2020-08-05 三菱電機株式会社 Test pulse width calculation device, control device, test pulse width calculation method and program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002215230A (en) * 2001-01-19 2002-07-31 Nec Corp Management system, its management method and management program
JP2004320195A (en) * 2003-04-14 2004-11-11 Toshiba Corp Remote i/o system in monitoring control system
JP2006252487A (en) * 2005-03-14 2006-09-21 Omron Corp Programmable controller system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08221108A (en) * 1994-12-12 1996-08-30 Omron Corp Remote i/o system of plc
JP2013207348A (en) * 2012-03-27 2013-10-07 Fujitsu Ltd Information processing device, test method, and test program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002215230A (en) * 2001-01-19 2002-07-31 Nec Corp Management system, its management method and management program
JP2004320195A (en) * 2003-04-14 2004-11-11 Toshiba Corp Remote i/o system in monitoring control system
JP2006252487A (en) * 2005-03-14 2006-09-21 Omron Corp Programmable controller system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6735953B1 (en) * 2019-07-11 2020-08-05 三菱電機株式会社 Test pulse width calculation device, control device, test pulse width calculation method and program
WO2021005785A1 (en) * 2019-07-11 2021-01-14 三菱電機株式会社 Test pulse width calculation device, control device, test pulse width calculation method, and program
CN114127648A (en) * 2019-07-11 2022-03-01 三菱电机株式会社 Test pulse width calculation device, control device, test pulse width calculation method, and program
CN114127648B (en) * 2019-07-11 2023-09-29 三菱电机株式会社 Test pulse width calculation device, control device and test pulse width calculation method
CN110703679A (en) * 2019-10-14 2020-01-17 明阳智慧能源集团股份公司 Industrial controller of wind generating set

Also Published As

Publication number Publication date
JPWO2019069433A1 (en) 2019-11-14

Similar Documents

Publication Publication Date Title
US10997383B2 (en) Smart driver
US20090077270A1 (en) I/O module expansion unit and distributed automation system
GB2403826A (en) Voltage margin testing system for computer systems
GB2404046A (en) Margin testing in an electronic system, e.g. a computer system
JP6638489B2 (en) Relay device, control method of relay device, control program, and recording medium
GB2404047A (en) System for frequency margin testing of a computer.
WO2019069433A1 (en) Parameter adjustment system, parameter adjustment method, and input-output device
EP3472675B1 (en) Hardware assist mechanisms for alive detection of redundant devices
CN111077763A (en) Vehicle-mounted display device redundancy control method and device
US20170337066A1 (en) Computer and controlling method thereof
CN107450786B (en) Touch controller, touch panel comprising same and method for detecting circuit fault
JP4147430B2 (en) Programmable controller system
US7266462B2 (en) System, method and computer program product for configuring power supply apparatus
JP2023181157A (en) Apparatuses and methods for non-disruptive replacement of simplex i/o components
EP4152013A1 (en) Input/output (io) module power supply with online load test capability
JP2021139820A (en) Cable abnormality determination system, sleeve device, and method for determining cable abnormality
US20100268356A1 (en) Method for Checking Suitability of a Data Processing Device for Performing Failsafe Automation Processes
WO2022168334A1 (en) Control apparatus, information terminal, control program, and control method
KR101021981B1 (en) Apparatus for processing alarm in semiconductor manufacturing equipments and method for setting alarm
US20230359776A1 (en) Level sensor for activating and deactivating a safe operating state
WO2023166720A1 (en) Input/output device, pulse width display system, and pulse width display method
JP7035792B2 (en) Lighting control system
JP5939878B2 (en) Display control apparatus and display control method
KR100292880B1 (en) Method for confirming processing state of control command
JP2023179361A (en) Information processing device, information processing method and information processing program

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2018537689

Country of ref document: JP

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17927992

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17927992

Country of ref document: EP

Kind code of ref document: A1