Input / output device, pulse width display system and pulse width display method
By detecting and sending the pulse width information in the fault diagnosis test in the input and output devices, the problem of users having difficulty in confirming the test pulse width status is solved, and the cause of the fault is quickly analyzed and the system stability is guaranteed.
Patent Information
- Application Number
- CN202280085880.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-04
- Publication Date
- 2024-10-01
AI Technical Summary
During the fault diagnosis test, it is difficult for the user to confirm the status of the test pulse width, which may cause system performance degradation or frequent stops. It is also difficult to determine whether the cause of the diagnostic error is caused by noise or hardware failure.
An input and output device is designed, including a processor, output circuit and input circuit. It performs diagnosis by outputting and inputting test pulses, detects pulse width and sends diagnosis results and pulse width information. Users can view the diagnosis results and pulse width information in real time through the computer monitoring screen. Pulse width changes to determine the cause of the fault.
Users can easily analyze the causes of diagnostic errors in fault diagnosis tests, ensure system stability and facilitate pulse width resetting, avoiding system shutdowns caused by noise or hardware failures.
Smart Images

Figure CN118742864A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to an input-output device, a pulse width display system and a pulse width display method. Background Art
[0002] As a control device for a system that automates equipment in a factory, a PLC (Programmable Logic Controller) is used. Such a PLC controls the equipment by sending and receiving signals with the equipment via an input-output device. In order to prevent accidents, the input-output device is required to have high reliability. Therefore, it is necessary to ensure high reliability by implementing a fault diagnosis test during the operation of the system. For example, in order to ensure high reliability, an input-output device is known that has a dark test function that uses a test pulse to diagnose whether the input-output function of the input-output device is normal.
[0003] In order to perform the above-mentioned fault diagnosis test using a test pulse with high accuracy, the user needs to set the pulse width of the test pulse to an appropriate value via the setting tool of the terminal connected to the PLC. However, since the user cannot confirm the state of the test pulse, it takes time to set the pulse width. If the user uniformly sets the value of the pulse width of the test pulse to a sufficiently long value, the setting operation can be facilitated, but if the pulse width is set too long, there is a concern that the overall performance of the system will be reduced due to the reduced response performance of the input and output devices. On the other hand, if the pulse width of the test pulse is set too short, there is a concern that the test pulse is easily affected by noise, and the system will frequently stop even if no fault occurs.
[0004] In recent years, technologies for automating the setting of such pulse widths have also been known. For example, Patent Document 1 describes an input / output device having an automatic tuning unit that adjusts parameters including pulse widths in accordance with actual conditions. Patent Document 2 describes a method for calculating a reference noise width to avoid the influence of noise, and setting a test pulse width greater than the calculated reference noise width as a test pulse.
[0005] Patent Document 1: International Publication No. 2019 / 069433
[0006] Patent Document 2: Japanese Patent No. 6735953 Summary of the invention
[0007] If the techniques disclosed in Patent Documents 1 and 2 are used, the pulse width of the test pulse can be appropriately set to some extent. However, even if the techniques disclosed in Patent Documents 1 and 2 are used, the user cannot confirm the state of the test pulse in the fault diagnosis test, and therefore, the overall performance of the system may be reduced or the system may frequently stop due to the error in setting the pulse width.
[0008] In addition, when a diagnostic error occurs during the fault diagnosis test and the system stops, the user needs to investigate the cause and reset the pulse width. However, in this case, the user cannot confirm the state of the test pulse in the fault diagnosis test. Therefore, it is difficult for the user to judge whether the diagnostic error is caused by a temporary cause caused by noise or a normal cause caused by hardware failure, aging, etc.
[0009] The present invention is proposed in view of the above-mentioned actual situation, and its purpose is to provide an input-output device, a pulse width display system and a pulse width display method that enable a user to easily analyze the cause of a diagnostic error generated in a fault diagnosis test.
[0010] In order to achieve the above-mentioned object, the input-output device according to the present invention comprises a processor, an output circuit for outputting signals to an output device, and an input circuit for receiving signals from an input device, wherein:
[0011] The processor has:
[0012] a diagnostic unit that performs the following as a fault diagnosis test, i.e., diagnoses the presence or absence of an abnormality in the input circuit or the output circuit based on a test pulse output from the output circuit to the output device or a test pulse, i.e., a diagnostic pulse, input from the input device to the input circuit, and transmits diagnostic result information indicating the diagnostic result to a control device; and
[0013] A pulse width transmitting unit detects the pulse width of the diagnostic pulse and transmits pulse width information indicating the detected pulse width to the control device.
[0014] Effects of the Invention
[0015] According to the present invention, a user can easily analyze the cause of a diagnosis error generated during a fault diagnosis test. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 This is a block diagram of a control system in which the input / output device according to Embodiment 1 of the present invention is incorporated.
[0017] Figure 2This is a functional block diagram of a processor of the input / output device according to the first embodiment of the present invention.
[0018] Figure 3 This is a diagram showing an example of a waveform of a diagnostic pulse according to Embodiment 1 of the present invention.
[0019] Figure 4A This is a diagram (part 1) showing a diagnosis result monitoring screen displayed on a display device of a computer according to Embodiment 1 of the present invention.
[0020] Figure 4B This is a diagram (part 2) showing a diagnosis result monitoring screen displayed on the display device of a computer according to the first embodiment of the present invention.
[0021] Figure 4C This is a diagram (part 3) showing a diagnosis result monitoring screen displayed on the display device of the computer according to the first embodiment of the present invention.
[0022] Figure 5 This is a functional block diagram of a processor of an input / output device according to Embodiment 2 of the present invention. DETAILED DESCRIPTION
[0023] (Implementation Method 1)
[0024] Hereinafter, an input / output device 10 according to Embodiment 1 of the present invention will be described with reference to the drawings.
[0025] Figure 1 1 is a diagram showing the structure of a control system 1, in which an input-output device 10 according to the present embodiment is assembled. The control system 1 is a system for controlling the operation of an output device 40 and an input device 50 in a factory. The input device 50 is a device for inputting a signal to the control system 1, such as various sensors, microphones, etc. The output device 40 is a device for outputting a signal from the control system 1, such as a display device, a speaker, etc. The control system 1 has a computer 30 used by a user for monitoring, instructions, etc., a PLC 20 as a control device, and an input-output device 10 for relaying signals sent and received between the PLC 20 and the input device 50 and the output device 40. The computer 30 and the PLC 20 are communicatively connected via a LAN (Local Area Network) 2. The PLC 20 and the input-output device 10 are communicatively connected via a field network 3. The control system 1 is an example of a test pulse width display system of the present invention.
[0026] The computer 30 receives the user's operation, creates a ladder program, or obtains various information from the PLC 20 and displays it. The ladder program specifies the processing content for the PLC 20 to control the input device 50 and the output device 40. The computer 30 is connected to the PLC 20 so as to be communicable, and sends the generated ladder program to the PLC 20.
[0027] The computer 30 is a terminal having the following components, namely, a processor 31 for executing various processes, a memory 32 for storing various information, a network card 33 for sending and receiving information, a display device 34 for displaying information, an input device 35 such as a keyboard and mouse for receiving operations, and a hard disk drive 36 for storing various information.
[0028] The processor 31 reads the engineering design tool stored in the hard disk drive 36 to the memory 32 and executes the tool, thereby executing processing such as generation of a ladder program and display of the pulse width of a diagnostic pulse described later.
[0029] The PLC 20 is a control device that controls the input device 50 and the output device 40. The PLC 20 includes a processor 210 that executes various processes, a memory 220 that stores various data, a communication circuit 230 that controls communication with the input / output device 10, and a communication circuit 240 that controls communication with the computer 30.
[0030] The input-output device 10 includes a processor 110 that executes various processes, a memory 120 that stores various data, and a communication circuit 130 that controls communication with the PLC 20. In addition, the input-output device 10 includes an output circuit 140 that outputs a signal to the output device 40 according to an instruction from the processor 110, and an input circuit 150 that receives a signal input from the input device 50 and sends it to the processor 110. In addition, the input-output device 10 includes a readback circuit 160 that detects a signal output from the output circuit 140 to the output device 40 and outputs it to the processor 110, and a test pulse output circuit 170 that issues a test pulse and sends it to the input device 50.
[0031] The processor 110 is a computing device that executes various processes. The processor 110 is communicatively connected to the memory 120, the communication circuit 130, the output circuit 140, the input circuit 150, the readback circuit 160, and the test pulse output circuit 170. The specific contents of the various processes executed by the processor 110 will be described later.
[0032] The memory 120 is a main storage device that stores various data. The memory 120 functions as a work area of the processor 110 and stores various data. The memory 120 stores setting values that the processor 110 refers to in the processing described below.
[0033] The communication circuit 130 is an electronic circuit that controls communication with the PLC 20 via the field network 3 .
[0034] The output circuit 140 is an electronic circuit that converts digital signals such as signals output from the processor 110 for controlling the output device 40 and test pulses used in a fault diagnosis test into analog signals and outputs the analog signals to the output device 40 and the readback circuit 160 .
[0035] The readback circuit 160 is an electronic circuit that converts the analog signal output from the output circuit 140 into a digital signal and outputs the digital signal to the processor 110 .
[0036] The input circuit 150 is an electronic circuit that converts a signal input from the input device 50 into a digital signal and transmits the digital signal to the processor 110 .
[0037] The test pulse output circuit 170 is an electronic circuit that converts a test pulse output from the processor 110 into an analog signal and outputs the analog signal to the input device 50 .
[0038] Next, refer to Figure 2 The following describes the processing executed by the processor 110 of the input / output device 10. The processor 110 has an output control unit 111, an output diagnosis unit 112, an input control unit 113, a test pulse output unit 114, an input diagnosis unit 115, and a pulse width transmission unit 116 as a functional structure.
[0039] The output control unit 111 controls the output of the output circuit 140. Specifically, the output control unit 111 sends various signals to the output circuit 140. The output circuit 140 converts the signal received from the output control unit 111 into an analog signal and outputs it to the output device 40 and the readback circuit 160. In addition, during the output fault diagnosis test described later, the output control unit 111 sends a test pulse to the output device 40. Here, the sent test pulse is set to an OFF signal.
[0040] The output diagnosis unit 112 performs an output fault diagnosis test for diagnosing the presence or absence of a fault in the output circuit 140. Specifically, as an output fault diagnosis test, the output diagnosis unit 112 diagnoses the presence or absence of a fault in the output circuit 140 based on the output diagnosis pulse, which is a signal obtained after the test pulse sent from the output control unit 111 passes through the output circuit 140 and the readback circuit 160. In addition, the output diagnosis unit 112 periodically sends output diagnosis result information indicating the diagnosis result of the output fault diagnosis test to the PLC 20 via the communication circuit 130 and the field network 3. In this embodiment, the test pulse is set as an OFF signal, and the output diagnosis unit 112 compares the pulse width of the received output diagnosis pulse with the pulse width of the OFF signal, and based on the consistency between the two, the diagnosis result of the output fault diagnosis test is indicated by four levels of "◎", "○", "△", and "×". For example, "◎" indicates that the pulse width of the received output diagnosis pulse is roughly consistent with the pulse width of the OFF signal, and the output circuit 140 is normal. “×” indicates that the pulse width of the received output diagnosis pulse and the pulse width of the OFF signal are greatly different, and there is a high possibility that a failure has occurred in the output circuit 140. The process executed by the output diagnosis unit 112 is an example of the diagnosis procedure of the present invention.
[0041] The input control unit 113 performs control based on the signal input from the input circuit 150. Specifically, the input control unit 113 transmits the signal input from the input circuit 150 to the PLC 20 via the communication circuit 130. The PLC 20 performs processing according to the received signal.
[0042] When performing the input fault diagnosis test described later, the test pulse output unit 114 sends the test pulse to the input diagnosis unit 115 and the test pulse output circuit 170. The test pulse output circuit 170 sends the test pulse received from the test pulse output unit 114 to the input device 50, and the input device 50 sends a signal corresponding to the received test pulse to the input circuit 150.
[0043] The input diagnosis unit 115 performs an input fault diagnosis test for diagnosing the presence or absence of a fault in the input circuit 150. Specifically, as an input fault diagnosis test, the input diagnosis unit 115 diagnoses the presence or absence of a fault in the input circuit 150 based on the test pulse sent from the test pulse output unit 114, which is a signal after passing through the test pulse output circuit 170, the input device 50, and the input circuit 150, that is, the input diagnosis pulse. In addition, the input diagnosis unit 115 periodically sends input diagnosis result information indicating the diagnosis result of the input fault diagnosis test to the PLC 20 via the communication circuit 130 and the field network 3. In this embodiment, the test pulse is set to an OFF signal, and the input diagnosis unit 115 compares the pulse width of the received input diagnosis pulse with the pulse width of the OFF signal, and based on the consistency between the two, the diagnosis result of the output fault diagnosis test is indicated by four levels of "◎", "○", "△", and "×". The processing performed by the input diagnosis unit 115 is an example of the diagnostic step of the present invention.
[0044] In addition, in the following description, when the output fault diagnosis test executed by the output diagnosis unit 112 and the input fault diagnosis test executed by the input diagnosis unit 115 are not distinguished, they are also described as fault diagnosis tests. Similarly, in the following description, when the output diagnosis pulse and the input diagnosis pulse are not distinguished, they are also described as diagnosis pulses, and when the output diagnosis result information and the input diagnosis result information are not distinguished, they are also described as diagnosis result information.
[0045] The pulse width transmitting unit 116 detects the pulse width of the diagnostic pulse during the execution of the fault diagnostic test. That is, the pulse width transmitting unit 116 detects the pulse width of the output diagnostic pulse received from the readback circuit 160 during the execution of the output fault diagnostic test. In addition, the pulse width transmitting unit 116 detects the pulse width of the input diagnostic pulse received from the input circuit 150 during the execution of the input fault diagnostic test. The processing performed by the pulse width transmitting unit 116 is an example of the pulse width detection step of the present invention.
[0046] here, Figure 3 An example of a waveform of a diagnostic pulse is shown. In this figure, (a) is a waveform of a diagnostic pulse in a normal state. The output diagnostic pulse in a normal state shows a waveform having a pulse width of a constant value P1. In this case, the pulse width transmitter 116 continuously detects the value P1 of the pulse width.
[0047] (b) is a waveform of a diagnostic pulse when temporary noise is applied during normal operation. The application of noise temporarily generates a pulse width of value P2 shorter than value P1 of the pulse width during normal operation. In this case, the pulse width transmitter 116 temporarily detects value P2 of the pulse width, and otherwise continuously detects value P1 of the pulse width.
[0048] (c) is a waveform of a diagnostic pulse when a failure occurs in the output circuit 140 or the input circuit 150 due to aging. Since the failure is caused by aging, the waveform becomes a constant waveform having a pulse width of value P3 shorter than the normal pulse width value P1. In this case, the pulse width transmitter 116 continuously detects the pulse width P3.
[0049] (d) is a waveform of a diagnostic pulse when a fault occurs in the output circuit 140 or the input circuit 150 due to a capacitive load. Since the fault is caused by a capacitive load, a constant waveform having a pulse width of value P4 shorter than the normal pulse width value P1 is formed. In this case, the pulse width transmitter 116 continuously detects the pulse width P4.
[0050] return Figure 2 The pulse width transmitting unit 116 controls the communication circuit 130 to periodically transmit pulse width information indicating the detected pulse width to the PLC 20 via the communication circuit 130 and the field network 3. In addition, the pulse width information also includes date and time information when the pulse width is detected.
[0051] Therefore, during the execution of the fault diagnosis test, the pulse width information of the diagnostic pulse is periodically sent from the pulse width transmission unit 116 of the input / output device 10 to the PLC 20 via the communication circuit 130 and the field network 3, and the diagnostic result information of the fault diagnosis test is periodically sent from the output diagnosis unit 112 or the input diagnosis unit 115 to the PLC 20 via the communication circuit 130 and the field network 3. The processor 210 of the PLC 20 transmits the information received from the input / output device 10 to the computer 30 each time. The processor 31 of the computer 30 uses the information received from the PLC 20 to generate a signal. Figures 4A to 4C The diagnostic test monitoring screen shown is displayed on the display device 34. The diagnostic test monitoring screen has a diagnostic test result display area E1 that displays the latest fault diagnostic test result in real time based on the received diagnostic result information, and a pulse width display area E2 that displays the latest change of the pulse width in real time in the form of a timing chart based on the received pulse width information. The processing of the processor 31 of the computer 30 to display the diagnostic test monitoring screen on the display device 34 is an example of the pulse width display step of the present invention.
[0052] In the diagnostic test result display area E1 of the monitoring screen, the latest diagnostic result is displayed in four levels of "◎", "○", "△", and "×" for each type of fault diagnostic test. In addition, a check button for selecting a diagnostic pulse to be displayed in the pulse width display area E2 is provided in the diagnostic test result display area E1. The user can specify the diagnostic pulse (input diagnostic pulse or output diagnostic pulse) to be displayed in the pulse width display area E2 by operating the input device 35 of the computer to select the check button.
[0053] The pulse width display area E2 of the monitoring screen displays a timing chart showing the recent changes in the pulse width of the diagnostic pulse corresponding to the type of fault diagnostic test specified in the diagnostic test result display area E1. Figure 4A The pulse width display area E2 of the diagnostic test monitoring screen shown in FIG. 1 shows the latest timing diagram of the pulse width of the input diagnostic pulse. Figure 3 The waveform of the diagnostic pulse shown in (a) corresponds to the timing diagram. The user can instantly understand from the monitoring screen that the result of the input fault diagnosis test is "◎", there is no abnormality, the pulse width of the input diagnostic pulse is also the normal value P1, which is constant, and the input circuit 150 is normal.
[0054] On the other hand, Figure 4B In the diagnostic test monitoring screen shown in FIG. 1 , the pulse width display area E2 displays the latest timing diagram of the pulse width of the output diagnostic pulse. Figure 3 The waveform of the diagnostic pulse shown in (b) corresponds to the timing diagram. In this monitoring screen, the result of the output fault diagnosis test is "△". However, it is observed that the pulse width of the output diagnostic pulse at this time is a value P2 that is smaller than the normal value P1, but this is temporary, and it is the normal value P1 otherwise. Therefore, the user can infer that: although the result of the output diagnostic test is "△", this is because the diagnostic pulse is temporarily affected by noise, and therefore, the output circuit 140 is normal.
[0055] In addition, Figure 4C In the diagnostic test monitoring screen shown in FIG. 1 , the pulse width display area E2 displays the latest timing diagram of the pulse width of the input diagnostic pulse. Figure 3 The waveform of the diagnostic pulse shown in (c) corresponds to the timing diagram. In this monitoring screen, the result of the input fault diagnosis test is "△". Moreover, the pulse width of the input diagnostic pulse at this time stably becomes a value P3 which is smaller than the normal value P1. Therefore, the user can easily infer that the input circuit 150 may have a fault.
[0056] Thus, according to the input-output device 10 involved in the present embodiment, in the fault diagnosis test, the pulse width of the test pulse output from the output circuit 140 to the output device 40 or the test pulse input from the input device 50 to the input circuit 150, i.e., the diagnosis pulse, is detected, and its pulse width information is sent to the PLC 20 together with the diagnosis result information indicating the result of the fault diagnosis test. Then, via the PLC 20, the diagnosis result information and the pulse width information are displayed in time sequence on the display device 34 of the computer 30. Thus, the user can easily confirm the actual pulse width of the test pulse after passing through the input circuit 150 or the output circuit 140 in the fault diagnosis test together with the result of the fault diagnosis test. Therefore, the user can easily grasp the cause of the diagnosis error in the fault diagnosis test, or the user can easily reset the pulse width after the system stops. That is, according to the input-output device 10 involved in the present embodiment, the user can easily analyze the cause of the diagnosis error in the fault diagnosis test.
[0057] (Second embodiment)
[0058] Figure 5 The functional block diagram of the processor 110 of the input / output device 11 according to the second embodiment is shown. In this embodiment, the processor 110 has substantially the same structure as the processor 110 of the input / output device 10 according to the first embodiment, except that the abnormality cause estimation unit 117 is newly provided. In addition, the memory 120 stores pattern data 121 that specifies the pattern between the typical pulse width of the diagnostic pulse when an abnormality occurs and the cause of the abnormality at the pulse width. In addition, the pattern data 121 may be updated by machine learning using the correspondence between the actual pulse width and the cause of the abnormality at that time as training data.
[0059] When the abnormality cause estimation unit 117 diagnoses that the output diagnosis unit 112 or the input diagnosis unit 115 has an abnormality (for example, the diagnosis result is "×", "△"), it obtains the pulse width information of the diagnostic pulse at this time from the pulse width sending unit 116, compares it with the pattern data 121, thereby estimating the cause of the abnormality, and sends the estimation result information indicating the estimation result to the PLC 20 via the communication circuit 130 and the field network 3.
[0060] As described above, in this embodiment, the operation of estimating the cause of abnormality based on the timing chart of the pulse width, which was originally performed by the user, can be automatically performed on the input / output device 11 side.
[0061] (Variation Example)
[0062] The present invention is not limited to the above-described embodiment, and various other modifications are possible.
[0063] For example, the pulse width transmitting unit 116 may average a plurality of pulse width information and transmit the averaged pulse width information to the PLC 20. In this way, the amount of data transmitted to the PLC 20 can be reduced, thereby reducing the load on the field network 3. In addition, if the average is performed in this way, it is impossible to detect a temporary abnormality of the pulse width caused by noise, and therefore, it is preferable to set a structure in which the user can operate the input device 35 of the computer 30 to set whether to perform such an average.
[0064] like Figure 1 As shown, the input-output device 10 is described in which both the output device 40 and the input device 50 are connected to the input-output device 10, but it can also be an input-output device connected to only the output device 40 or only the input device 50, or it can be an input-output device connected to multiple output devices 40 and multiple input devices 50.
[0065] In the above embodiment, an example in which the test pulse is an OFF signal is shown. In particular, the OFF signal is greatly affected by noise, so it is necessary to appropriately set the test pulse width. However, the test pulse may also be an ON signal.
[0066] In the above embodiment, the timing diagram of the pulse width information of the diagnostic pulse corresponding to the type of diagnostic test selected from the diagnostic test result display area E1 of the diagnostic test monitoring screen is displayed in the pulse width display area E2. However, the timing diagram of the pulse width of the input diagnostic pulse and the timing diagram of the pulse width of the output diagnostic pulse may be displayed simultaneously in the pulse width display area E2. In this case, there is no need to set a check button for displaying pulse selection in the diagnostic test result display area E1.
[0067] The processor 31 of the computer 30, the processor 210 of the PLC 20, and the processor 110 of the input-output device 10 involved in the above-mentioned embodiment are, for example, a CPU (Central Processing Unit), a microprocessor, a DSP (Digital Signal Processor), etc. In addition, the memory 32 of the computer 30, the memory 220 of the PLC 20, and the memory 120 of the input-output device 10 include volatile or non-volatile memories, such as RAM (Random Access Memory), ROM (Read Only Memory), flash memory, EPROM (Erasable Programmable Read Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), etc.
[0068] In addition, the present invention can realize various embodiments and variations without departing from the broad spirit and scope of the present invention. In addition, the above-mentioned embodiments are used to illustrate the present invention and do not limit the scope of the present invention. That is, the scope of the present invention is not shown by the embodiments but by the claims. Moreover, various variations implemented within the scope of the claims and within the scope of the meaning of the invention equivalent thereto are deemed to be within the scope of the present invention.
[0069] Description of the label
[0070] 1 control system, 10 input / output circuit, 110 processor, 111 output control unit, 112 output diagnosis unit, 113 input control unit, 114 test pulse output unit, 115 input diagnosis unit, 116 pulse width transmission unit, 117 abnormality cause estimation unit, 120 memory, 121 pattern data, 130 communication circuit, 140 output circuit, 150 input circuit, 160 readback circuit, 170 test pulse output circuit, 20 PLC, 210 processor, 220 memory, 230, 240 communication circuit, 30 computer, 31 processor, 32 memory, 33 network card, 34 display device, 35 input device, 36 hard disk drive, 40 output device, 50 input device
Claims
1. An input-output device comprising a processor, an output circuit for outputting a signal to an output device, and an input circuit for receiving a signal from an input device, wherein: The processor has: a diagnostic unit that performs the following as a fault diagnosis test, namely, diagnoses the presence or absence of an abnormality in the input circuit or the output circuit based on a test pulse output from the output circuit to the output device or a test pulse, i.e., a diagnostic pulse, input from the input device to the input circuit, and transmits diagnostic result information indicating the diagnostic result to a control device; as well as A pulse width transmitting unit detects the pulse width of the diagnostic pulse and transmits pulse width information indicating the detected pulse width to the control device.
2. The input-output device according to claim 1, wherein: An abnormality cause estimating unit is provided for estimating a cause of the abnormality diagnosed by the diagnosing unit based on pattern data of a pulse width of a diagnostic pulse at the time of the abnormality.
3. The input-output device according to claim 2, wherein: The pattern data is updated through machine learning.
4. The input / output device according to any one of claims 1 to 3, wherein: The pulse width sending unit can average a plurality of pulse width information and send the averaged pulse width information to the control device. Whether the pulse width transmitting unit averages the pulse width information can be set by a user.
5. A pulse width display system, comprising the input-output device according to any one of claims 1 to 4, the control device and a terminal, wherein: The control device sends the diagnosis result information and the pulse width information to the terminal, The terminal displays the diagnosis result information received from the control device in association with the pulse width information.
6. A pulse width display method, comprising the following steps: a diagnostic step of diagnosing the presence or absence of an abnormality in the input circuit or the output circuit based on a test pulse output from the output circuit to the output device or a test pulse, i.e., a diagnostic pulse, input from the input device to the input circuit; A pulse width detection step, detecting the pulse width of the diagnostic pulse; as well as The pulse width display step displays the diagnosis result obtained in the diagnosis step and the pulse width detected in the pulse width detection step in association with each other.
