CN110083141B - PLC master control module test method, device and system and computer equipment - Google Patents

PLC master control module test method, device and system and computer equipment Download PDF

Info

Publication number
CN110083141B
CN110083141B CN201910308125.3A CN201910308125A CN110083141B CN 110083141 B CN110083141 B CN 110083141B CN 201910308125 A CN201910308125 A CN 201910308125A CN 110083141 B CN110083141 B CN 110083141B
Authority
CN
China
Prior art keywords
test
tested
master control
control module
plc master
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910308125.3A
Other languages
Chinese (zh)
Other versions
CN110083141A (en
Inventor
王铁
申超
郭金泉
胡茜茜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hunan Youlitaike Automatic System Co ltd
Original Assignee
Hunan Youlitaike Automatic System Co ltd
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 Hunan Youlitaike Automatic System Co ltd filed Critical Hunan Youlitaike Automatic System Co ltd
Priority to CN201910308125.3A priority Critical patent/CN110083141B/en
Publication of CN110083141A publication Critical patent/CN110083141A/en
Application granted granted Critical
Publication of CN110083141B publication Critical patent/CN110083141B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0256Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults injecting test signals and analyzing monitored process response, e.g. injecting the test signal while interrupting the normal operation of the monitored system; superimposing the test signal onto a control signal during normal operation of the monitored system

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Programmable Controllers (AREA)

Abstract

The application relates to a PLC master control module testing method, a device, a system, computer equipment and a storage medium. The method comprises the following steps: the method comprises the steps of obtaining a test item, and sending a configuration data packet to a PLC master control module group to be tested based on the test item, wherein the configuration data packet is used for enabling the PLC master control module group to be tested to enter a test mode corresponding to the test item, and the PLC master control module group to be tested comprises at least two PLC master control modules to be tested; acquiring test data corresponding to the test items in the process of transmitting the test signals through the PLC main control module group to be tested; based on the test data, a test result corresponding to the test item is determined. By adopting the method, the PLC main control module can be tested without a third-party module, the connection circuit is simple, the synchronous testing of two modules at a time can be realized, and the efficiency is improved.

Description

PLC master control module test method, device and system and computer equipment
Technical Field
The present disclosure relates to the field of PLC detection technologies, and in particular, to a PLC master control module testing method, apparatus, system, computer device, and storage medium.
Background
As an industrial controller, a PLC (programmable logic controller) plays an extremely important role in the field of industrial control, and with the increasing change of science and technology and the introduction of an intelligent manufacturing strategy, the development trend and application of the PLC are receiving more and more attention. The development of contemporary PLCs requires a move to networking, modularity, intelligence, diversification and standardization of programming languages and tools. The PLC is widely used for automation control in the industrial field due to the characteristics of flexible control mode, simple programming, compact and simple structure, easy control application, high reliability, strong anti-interference capability and the like, and all modules of the PLC are required to be detected before production.
At present, a complete system is basically adopted for testing the PLC master control module, the master control module is connected into the complete system for nested testing, and a scheme for independently testing the master control module is absent. The scheme of adopting the complete system test needs too many third-party tools or modules, the connecting circuit is complex, and the test process is tedious.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a PLC master control module testing method, apparatus, system, computer device and storage medium.
A PLC master control module testing method, the method comprising:
acquiring a test item, and sending a configuration data packet to a PLC master control module group to be tested based on the test item, wherein the configuration data packet is used for enabling the PLC master control module group to be tested to enter a test mode corresponding to the test item; the PLC master control module group to be tested comprises at least two PLC master control modules to be tested;
acquiring test data corresponding to the test items in the process that the test signals are transmitted by the PLC master control module group to be tested;
determining a test result corresponding to the test item based on the test data.
A PLC master control module testing apparatus, the apparatus comprising:
the system comprises a configuration data packet sending module, a test item obtaining module and a configuration data packet sending module, wherein the configuration data packet sending module is used for obtaining a test item and sending a configuration data packet to a PLC main control module group to be tested based on the test item, and the configuration data packet is used for enabling the PLC main control module group to be tested to enter a test mode corresponding to the test item; the PLC master control module group to be tested comprises at least two PLC master control modules to be tested;
the test data acquisition module is used for acquiring test data corresponding to the test items in the process of transmitting the test signals through the PLC main control module group to be tested;
and the test data analysis module is used for determining a test result corresponding to the test item based on the test data.
A PLC master control module test system, the system comprising:
each communication module of the module to be tested is connected with the PLC master control module to be tested; the at least one to-be-tested module communication module is connected with an upper computer, the to-be-tested module communication module transmits a test item signal of the upper computer to the to-be-tested PLC main control module, and the test item signal is used for enabling the to-be-tested PLC main control module to enter a test mode corresponding to the test item;
the test data of the PLC master control module to be tested are uploaded to the upper computer through the module communication module to be tested; determining a test result corresponding to the test item by the upper computer based on the test data of the PLC master control module to be tested and the corresponding related test data; the related test data comprises serial port communication data of the upper computer and the PLC master control module to be tested, or set data corresponding to the test data of the PLC master control module to be tested.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
acquiring a test item, and sending a configuration data packet to a PLC master control module group to be tested based on the test item, wherein the configuration data packet is used for enabling the PLC master control module group to be tested to enter a test mode corresponding to the test item; the PLC master control module group to be tested comprises at least two PLC master control modules to be tested;
acquiring test data corresponding to the test items in the process that the test signals are transmitted by the PLC master control module group to be tested;
determining a test result corresponding to the test item based on the test data.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring a test item, and sending a configuration data packet to a PLC master control module group to be tested based on the test item, wherein the configuration data packet is used for enabling the PLC master control module group to be tested to enter a test mode corresponding to the test item; the PLC master control module group to be tested comprises at least two PLC master control modules to be tested;
acquiring test data corresponding to the test items in the process that the test signals are transmitted by the PLC master control module group to be tested;
determining a test result corresponding to the test item based on the test data.
According to the PLC master control module testing method, the device, the system, the computer equipment and the storage medium, the PLC master control module can be tested without the help of a third-party module, the connection circuit is simple, synchronous testing of two modules at a time can be realized, and the efficiency is improved.
Drawings
FIG. 1 is a block diagram of an embodiment of a PLC master control module test system;
FIG. 2 is a schematic flow chart illustrating a method for testing a PLC master control module according to an embodiment;
fig. 3 is a schematic flowchart of a method for testing an internet access of a PLC master control module according to an embodiment;
FIG. 4 is a schematic flowchart illustrating a method for testing a CAN interface of a PLC master control module according to an embodiment;
fig. 5 is a schematic flow chart of a FRAM testing method of a PLC master control module in one embodiment;
fig. 6 is a schematic flowchart of a dial-up testing method of a PLC master control module in one embodiment;
fig. 7 is a schematic flowchart of a serial port RTC testing method of a PLC main control module in an embodiment;
FIG. 8 is a block diagram showing the structure of a PLC master control module testing apparatus according to an embodiment;
FIG. 9 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In one embodiment, a PLC master control module testing system is provided, which includes at least two module-under-test communication modules, each module-under-test communication module being connected to a PLC master control module under test, and at least one module-under-test communication module being connected to an upper computer.
The communication module of the module to be tested transmits a test item signal of the upper computer to the PLC master control module to be tested, and the test item signal is used for enabling the PLC master control module to be tested to enter a test mode corresponding to a test item. Specifically, the test items include: the method comprises the following steps of network port testing, CAN port testing, FRAM testing, dial testing and serial RTC testing.
Uploading test data of the PLC master control module to be tested to an upper computer through a communication module of the PLC master control module to be tested, and determining a test result corresponding to a test item by the upper computer based on the test data of the PLC master control module to be tested and corresponding related test data; the related test data comprises serial port communication data of the upper computer and the PLC master control module to be tested or set data corresponding to the test data of the PLC master control module to be tested.
In one embodiment, as shown in fig. 1, a PLC master control module test system is provided, which includes two module-under-test communication modules, each of which includes a backplane module 131 and a network power supply module 132 connected to each other. The bottom board module 131 is connected to the PLC master control module 120 to be tested, and is configured to provide a power link and a communication link for the PLC master control module 120 to be tested. The network power supply module 132 is connected to the bottom board module 131 and the upper computer 110, and is configured to provide a power supply for the PLC master control module 120 to be tested, and provide an interface for the PLC master control module 120 to be tested to communicate with the upper computer 110. Specifically, the two network power modules 132 are respectively connected to the upper computer 110 through the switch 140, and the switch 140 is configured to provide a plurality of network access ports.
The external interface of the PLC master control module 120 to be tested includes a network port, a CAN port and a serial port, in one embodiment, the network ports of the two PLC master control modules 120 to be tested are in butt joint with each other, and the CAN ports of the two PLC master control modules 120 to be tested are in butt joint with each other. And RS232 serial ports of the two PLC main control modules 120 to be tested are respectively in communication connection with the upper computer 110.
The PLC master control module testing method provided by the application can be applied to a PLC master control module testing system shown in figure 1. In an embodiment, as shown in fig. 2, a PLC main control module testing method is provided, which is described by taking the method as an example of being applied to the upper computer in fig. 1, and includes the following steps S202 to S206.
S202, acquiring a test item, and sending a configuration data packet to the PLC master control module group to be tested based on the test item, wherein the configuration data packet is used for enabling the PLC master control module group to be tested to enter a test mode corresponding to the test item; the PLC master control module group to be tested comprises at least two PLC master control modules to be tested.
In one embodiment, the set of PLC master control modules to be tested includes two interconnected PLC master control modules to be tested, and the configuration data packet is sent to any one of the two PLC master control modules to be tested through UDP network connection, so that both the two PLC master control modules to be tested can enter the test mode. Specifically, when the test item is an internet access test or a CAN test, the two PLC master control modules to be tested CAN be subjected to a simultaneous group pairing test. When the test item is an FRAM test, a dial-up test or a serial RTC test, the two PLC main control modules to be tested can be tested simultaneously, and one of the two PLC main control modules to be tested can also be tested independently.
And S204, acquiring test data corresponding to the test items in the process of transmitting the test signals through the PLC main control module group to be tested.
In one embodiment, the test item is an internet access test, and the test data corresponding to the test item includes data sent and received by the internet access of the PLC main control module to be tested.
In one embodiment, the test item is a CAN port test, and the test data corresponding to the test item includes data sent and received by a CAN port of the PLC master control module to be tested.
In one embodiment, the test item is an FRAM test, and the test data corresponding to the test item includes read-write speed data of the PLC main control module to be tested to the power-down storage area.
In one embodiment, the test item is a dial test, and the test data corresponding to the test item is interface data corresponding to a set position of a dial of the PLC master control module to be tested and dial data of the dial read by the PLC master control module to be tested.
In one embodiment, the test item is a serial RTC test, and the test data corresponding to the test item is first RTC clock information written in the PLC main control module to be tested through serial communication, and second RTC clock information of the PLC main control module to be tested after a set delay time is read through serial communication.
S206, determining the test result corresponding to the test item based on the test data.
In one embodiment, when the test item is an internet access test or a CAN access test, the method specifically includes: calculating a test communication error rate and a test packet loss rate between the sending data and the receiving data; comparing the relation between the test communication error rate and the preset communication error rate and the relation between the test packet loss rate and the preset packet loss rate to obtain a comparison result; and determining a test result according to the comparison result.
In one embodiment, the predetermined communication error rate is 0.000001, and the predetermined packet loss rate is 0.000001. If the test communication error rate is less than 0.000001 and the test packet loss rate is less than 0.000001, the test data meets the test index, and the test result is determined to be qualified. And if the test communication error rate is greater than or equal to 0.000001 or the test packet loss rate is greater than or equal to 0.000001, the test data does not meet the test index, and the test result is determined to be unqualified.
In one embodiment, after determining the test result corresponding to the test item based on the test data, the method further comprises: and storing the test data and the test result, and generating a test report corresponding to the test item for query.
In an embodiment, the set of PLC master control modules to be tested includes two PLC master control modules to be tested, the network ports of the two PLC master control modules to be tested are connected with each other through a network cable, the test item is a network port test, and the two PLC master control modules to be tested are subjected to a group-to-group test, as shown in fig. 3, a network port test method of the PLC master control modules is provided, which is described by taking an example that the method is applied to an upper computer in fig. 1, and includes the following steps S302 to S308.
And S302, sending a network port test configuration data packet to any one of the two PLC master control modules to be tested so that the two PLC master control modules to be tested both enter a network port test mode.
And S304, sending a starting test data packet to any one of the two PLC master control modules to be tested so as to indicate the two PLC master control modules to be tested to send data packets to each other through the network ports which are connected with each other.
And S306, acquiring network port sending data and network port receiving data which are acquired by any one of the two PLC master control modules to be tested in the process of sending data packets to each other.
In one embodiment, one of the two to-be-tested PLC master control modules is used as a master module to be tested, the other to-be-tested PLC master control module is used as a slave module to be tested, there is no requirement for the identification of the master module and the slave module, one of the two to-be-tested PLC master control modules can be arbitrarily identified as the master module to be tested, and the other one automatically becomes the slave module to be tested.
In one embodiment, this may be: the network port test configuration data packet is sent to the main module to be tested through UDP network connection, the start test data packet is sent to the main module to be tested through UDP network connection, and network port sending data and network port receiving data collected in the process of mutually sending the data packet by the main module to be tested are obtained through UDP network connection.
S308, determining the network port test result based on the network port sending data and the network port receiving data.
In one embodiment, the data sent by the network interface is data sent by the master module to be tested to the slave module to be tested through the network interface, and the data received by the network interface is data received by the master module to be tested through the network interface.
In one embodiment, a communication error rate and a packet loss rate between data sent by the network port and data received by the network port are calculated, and if the communication error rate is less than 0.000001 and the packet loss rate is less than 0.000001, the network port test data is considered to meet the test index, and it is determined that the network port test results of the master module to be tested and the slave module to be tested are both qualified. And if the communication error rate is greater than or equal to 0.000001 or the packet loss rate is greater than or equal to 0.000001, determining that the network port test data does not meet the test index, and determining that the network port test results of the master module to be tested and the slave module to be tested are both unqualified.
In one embodiment, after determining the result of the network port test based on the data sent by the network port and the data received by the network port, the method further comprises: and storing the data sent by the network port, the data received by the network port and the network port test result, and generating a network port test report for query.
In an embodiment, the set of PLC master control modules to be tested includes two PLC master control modules to be tested, the CAN ports of the two PLC master control modules to be tested are connected with each other through a CAN bus, the test item is a CAN port test, and the two PLC master control modules to be tested are subjected to a group-up test, as shown in fig. 4, a method for testing the CAN ports of the PLC master control modules is provided, which is described by taking the method as an example applied to the upper computer in fig. 1, and includes the following steps S402 to S408.
S402, sending a CAN port test configuration data packet to any one of the two PLC master control modules to be tested so that the two PLC master control modules to be tested both enter a CAN port test mode.
And S404, sending a starting test data packet to any one of the two PLC master control modules to be tested so as to indicate the two PLC master control modules to be tested to send data packets to each other through the mutually connected CAN ports.
And S406, acquiring CAN port sending data and CAN port receiving data which are acquired by any one of the two PLC master control modules to be tested in the process of sending data packets to each other.
In one embodiment, one of the two to-be-tested PLC master control modules is used as a master module to be tested, the other to-be-tested PLC master control module is used as a slave module to be tested, there is no requirement for the identification of the master module and the slave module, one of the two to-be-tested PLC master control modules can be arbitrarily identified as the master module to be tested, and the other one automatically becomes the slave module to be tested.
In one embodiment, this may be: the CAN port test configuration data packet is sent to the main module to be tested through UDP network connection, the start test data packet is sent to the main module to be tested through UDP network connection, and CAN port sending data and CAN port receiving data collected in the process of sending data packets to each other by the main module to be tested are obtained through UDP network connection.
And S408, determining a CAN port test result based on the CAN port sending data and the CAN port receiving data.
In one embodiment, the data sent by the CAN port is data sent by the master module to be tested to the slave module to be tested through the CAN port, and the data received by the CAN port is data received by the master module to be tested from the slave module to be tested through the CAN port.
In one embodiment, the communication error rate and the packet loss rate between the data sent by the CAN port and the data received by the CAN port are calculated, and if the communication error rate is less than 0.000001 and the packet loss rate is less than 0.000001, the test data of the CAN port is considered to meet the test index, and the test results of the CAN ports of the master module to be tested and the slave module to be tested are determined to be qualified. And if the communication error rate is greater than or equal to 0.000001 or the packet loss rate is greater than or equal to 0.000001, determining that the CAN port test data does not meet the test index, and determining that the CAN port test results of the master module to be tested and the slave module to be tested are both unqualified.
In one embodiment, after determining the test result of the CAN port based on the CAN port transmission data and the CAN port reception data, the method further includes: and storing CAN port sending data, CAN port receiving data and CAN port test results, and generating a CAN port test report for inquiry.
In an embodiment, the PLC master control module group to be tested includes two PLC master control modules to be tested, the test item is an FRAM test, and the two PLC master control modules to be tested are simultaneously tested, as shown in fig. 5, a FRAM test method of the PLC master control modules is provided, which is described by taking an example that the method is applied to the upper computer in fig. 1, and includes the following steps S502 to S508.
And S502, sending FRAM test configuration data packets to the two PLC main control modules to be tested respectively so that the two PLC main control modules to be tested enter an FRAM test mode.
And S504, respectively sending a starting test data packet to the two PLC master control modules to be tested so as to instruct the two PLC master control modules to be tested to read and write the respective power-down storage areas for preset times.
And S506, acquiring preset times of reading speed data and preset times of writing speed data which are acquired by the two PLC master control modules to be tested in the respective preset times of reading and writing processes.
In one embodiment, this may be: sending FRAM test configuration data packets to the two PLC main control modules to be tested through UDP network connection respectively, sending start test data packets to the two PLC main control modules to be tested through UDP network connection respectively, and obtaining preset times of reading speed data and preset times of writing speed data of the two PLC main control modules to be tested through UDP network connection respectively.
And S508, determining the FRAM test result based on the preset times of reading speed data and the preset times of writing speed data.
In one embodiment, the maximum reading speed in the preset times of reading speed data and the maximum writing speed in the preset times of writing speed data of each PLC master control module to be tested are taken as FRAM test results of the PLC master control module to be tested.
In one embodiment, after determining the FRAM test result based on the preset number of times of reading the speed data and the preset number of times of writing the speed data, further comprising: and storing the preset times of reading speed data, the preset times of writing speed data and the FRAM test result, and generating a FRAM test report for inquiry.
In an embodiment, the set of PLC master control modules to be tested includes two PLC master control modules to be tested, the test item is a dial test, and the two PLC master control modules to be tested are simultaneously tested, as shown in fig. 6, a dial test method of the PLC master control modules is provided, which is exemplified by applying the method to the upper computer in fig. 1, and includes the following steps S602 to S608.
And S602, respectively sending dial-up test configuration data packets to the two PLC master control modules to be tested so that the two PLC master control modules to be tested both enter a dial-up test mode.
And S604, respectively sending a starting test data packet to the two PLC main control modules to be tested so as to instruct the two PLC main control modules to be tested to read dial data of respective dial plates.
And S606, respectively acquiring interface data corresponding to the set positions of the dial plates of the two PLC main control modules to be tested and dial data of the dial plates read by the two PLC main control modules to be tested.
In one embodiment, this may be: the method comprises the steps of respectively sending FRAM test configuration data packets to two PLC main control modules to be tested through UDP network connection, respectively sending start test data packets to the two PLC main control modules to be tested through UDP network connection, and respectively acquiring interface data corresponding to set positions of dial plates of the two PLC main control modules to be tested and dial data of the dial plates read by the two PLC main control modules to be tested through UDP network connection.
S608, determining dial testing results based on the interface data and the dial data.
In one embodiment, the dial-up test determination criterion is whether the mapping data is correct, the interface data and the dial-up data of the dial plate of each to-be-tested PLC main control module are compared, if the dial-up data is consistent with the interface data, the dial-up test result of the to-be-tested PLC main control module is determined to meet the test criterion, and if the dial-up data is inconsistent with the interface data, the dial-up test result of the to-be-tested PLC main control module is determined to not meet the test criterion.
In one embodiment, after determining the dial test result based on the interface data and the dial data, the method further comprises: and storing the interface data, the dial data and the dial test result, and generating a dial test report for query.
In an embodiment, the set of PLC master control modules to be tested includes two PLC master control modules to be tested, the test item is a serial port RTC test, and the two PLC master control modules to be tested are simultaneously tested, as shown in fig. 7, a dial-up test method of the PLC master control modules is provided, which is described by taking the method as an example applied to the upper computer in fig. 1, and includes the following steps S702 to S708.
And S702, respectively sending serial RTC test configuration data packets to the two PLC main control modules to be tested so that the two PLC main control modules to be tested enter a serial RTC test mode.
And S704, respectively writing first RTC clock information into the two PLC master control modules to be tested through serial port communication.
And S706, respectively reading second RTC clock information of the two PLC main control modules to be tested after the set delay time respectively through serial port communication.
In one embodiment, this may be: serial RTC test configuration data packets are respectively sent to the two PLC main control modules to be tested through UDP network connection, first RTC clock information is respectively written in the two PLC main control modules to be tested through RS232 serial port communication, and second RTC clock information of the two PLC main control modules to be tested after respective set delay time is respectively read through RS232 serial port communication.
And S708, determining a serial RTC test result based on the first RTC clock information and the second RTC clock information.
In one embodiment, a time difference between the second RTC clock information and the first RTC clock information of each PLC master module to be tested is calculated, a difference between the time difference and a set delay time is calculated, if the difference is less than or equal to 1 second, it is determined that the serial RTC test result of the PLC master module to be tested is that the RTC clock read-write function is normal, and if the difference is greater than 1 second, it is determined that the serial RTC test result of the PLC master module to be tested is that the RTC clock read-write function is abnormal.
In one embodiment, after determining the serial RTC test result based on the first RTC clock information and the second RTC clock information, the method further includes: and storing the first RTC clock information, the second RTC clock information and the dial test result, and generating a serial RTC test report for inquiry.
According to the PLC master control module testing system and method, the PLC master control module can be tested without the help of a third-party module, the connecting circuit is simple, synchronous testing of two modules at a time can be realized, the efficiency is improved, and the manual intervention process is reduced.
It should be understood that although the various steps in the flow charts of fig. 2-7 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-7 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 8, there is provided a PLC main control module testing apparatus including: a configuration data packet sending module 810, a test data obtaining module 820 and a test data analyzing module 830, wherein:
the configuration data packet sending module 810 is configured to obtain a test item and send a configuration data packet to the PLC master control module group to be tested based on the test item, where the configuration data packet is used to enable the PLC master control module group to be tested to enter a test mode corresponding to the test item; the PLC master control module group to be tested comprises at least two PLC master control modules to be tested.
And the test data acquisition module 820 is used for acquiring test data corresponding to the test item in the process that the test signal is transmitted by the to-be-tested PLC main control module group.
And the test data analysis module 830 is configured to determine a test result corresponding to the test item based on the test data.
In one embodiment, the configuration packet sending module 810 includes: the device comprises a network port test configuration data packet sending unit, a CAN port test configuration data packet sending unit, a FRAM test configuration data packet sending unit, a dial-up test configuration data packet sending unit and a serial RTC test configuration data packet sending unit.
In one embodiment, the test data acquisition module 820 includes: the device comprises a network port test data acquisition module, a CAN port test data acquisition module, a FRAM test data acquisition module, a dial-up test data acquisition module and a serial RTC test data acquisition module.
The network port test data acquisition module comprises: and starting the network port test data packet sending unit and the network port test data acquisition unit. The starting network port test data packet sending unit is used for sending a starting network port test data packet to any one PLC master control module to be tested in the PLC master control module group to be tested so as to indicate that two PLC master control modules to be tested in the PLC master control module group to be tested send data packets to each other through the network port. The network port test data acquisition unit is used for acquiring network port sending data and network port receiving data which are acquired by any one PLC master control module to be tested in the process of sending data packets to each other through the network port.
The CAN port test data acquisition module comprises: and starting the CAN port test data packet sending unit and the CAN port test data acquisition unit. The starting CAN port test data packet sending unit is used for sending a starting CAN port test data packet to any one PLC master control module to be tested in the PLC master control module group to be tested so as to indicate that two PLC master control modules to be tested in the PLC master control module group to be tested send data packets to each other through a CAN port. The CAN port test data acquisition unit is used for acquiring CAN port transmission data and CAN port receiving data which are acquired by any one PLC master control module to be tested in the process of transmitting data packets to each other through the CAN port.
The FRAM test data acquisition module includes: and starting the FRAM test data packet sending unit and the FRAM test data acquisition unit. The startup FRAM test data packet sending unit is used for sending startup FRAM test data packets to the PLC master control module group to be tested so as to indicate the PLC master control modules to be tested in the PLC master control module group to be tested to read and write the respective power-down storage areas for preset times. The FRAM test data acquisition unit is used for acquiring preset times of reading speed data and preset times of writing speed data which are acquired in the process of reading and writing preset times of the PLC master control module to be tested in the PLC master control module group to be tested.
The dial-up test data acquisition module comprises: and starting a dial-up test data packet sending unit and a dial-up test data acquisition unit. The start dial-up test data packet sending unit is used for sending a start dial-up test data packet to the PLC master control module group to be tested so as to instruct the PLC master control modules to be tested in the PLC master control module group to be tested to read dial-up data of respective dial-up discs. The dial test data acquisition unit is used for acquiring interface data corresponding to the set positions of respective dials of the PLC master control module to be tested in the PLC master control module group to be tested and dial data of the respective dials read by the PLC master control module to be tested in the PLC master control module group to be tested.
The serial ports RTC test data acquisition module includes: an RTC clock information writing unit and an RTC clock information reading unit. The RTC clock information writing unit is used for writing first RTC clock information into the PLC master control module to be tested in the PLC master control module group to be tested through serial port communication. The RTC clock information reading unit is used for reading second RTC clock information of the PLC master control module to be tested after the set delay time in the PLC master control module group to be tested through serial port communication.
In one embodiment, the test data analysis module 830 includes: the device comprises a network port test data analysis module, a CAN port test data analysis module, a FRAM test data analysis module, a dial-up test data analysis module and a serial RTC test data analysis module.
The network port test data analysis module comprises: the device comprises a first calculating unit, a first comparing unit and a first determining unit. The first calculating unit is used for calculating a communication error rate and a packet loss rate between the network port sending data and the network port receiving data. The first comparing unit is used for comparing the size relationship between the communication error rate between the network port sending data and the network port receiving data and the preset communication error rate, and the size relationship between the packet loss rate between the network port sending data and the network port receiving data and the preset packet loss rate, so as to obtain a first comparing result. The first determining unit is used for determining a network port test result according to the first comparison result.
The CAN port test data analysis module comprises: the device comprises a second calculating unit, a second comparing unit and a second determining unit. The second calculating unit is used for calculating the communication error rate and the packet loss rate between the data sent by the CAN interface and the data received by the CAN interface. The second comparison unit is used for comparing the size relationship between the communication error rate between the CAN port transmitting data and the CAN port receiving data and the preset communication error rate, and the size relationship between the packet loss rate between the CAN port transmitting data and the CAN port receiving data and the preset packet loss rate, and obtaining a second comparison result. And the second determining unit is used for determining the test result of the CAN port according to the second comparison result.
The FRAM test data analysis module includes: a read-write speed comparing unit and a read-write speed determining unit. The reading and writing speed comparison unit is used for comparing the magnitude of each reading speed in the preset times of reading speed data and the magnitude of each writing speed in the preset times of writing speed data. The reading and writing speed determining unit is used for taking the maximum reading speed in the preset times of reading speed data and the maximum writing speed in the preset times of writing speed data as the FRAM test result.
The dial-up test data analysis module comprises: a third comparing unit and a third determining unit. And the third comparison unit is used for comparing whether the dial-up data is consistent with the interface data. The third determining unit is used for determining a dial test result based on a comparison result of the dial data and the interface data.
The serial ports RTC test data analysis module includes: a third calculation unit, a fourth comparison unit, and a fourth determination unit. The third calculating unit is used for calculating the time difference between the second RTC clock information and the first RTC clock information. The fourth calculating unit is used for calculating the difference between the time difference and the set delay time to obtain the error value of the test time. The fourth comparing unit is used for comparing the magnitude relation between the testing time error value and the preset time error value. The fourth determining unit is used for determining a serial RTC test result according to the magnitude relation between the test time error value and the preset time error value.
In one embodiment, the apparatus further comprises a data storage module for storing the test data and the test results and generating the test report.
For specific limitations of the PLC master control module testing apparatus, reference may be made to the above limitations on the PLC master control module testing method, which is not described herein again. All modules in the PLC main control module testing device can be completely or partially realized through software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 9. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing test data and test results. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a PLC master control module testing method.
Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
acquiring a test item, and sending a configuration data packet to the PLC master control module group to be tested based on the test item, wherein the configuration data packet is used for enabling the PLC master control module group to be tested to enter a test mode corresponding to the test item; the PLC master control module group to be tested comprises at least two PLC master control modules to be tested;
acquiring test data corresponding to the test items in the process of transmitting the test signals through the PLC main control module group to be tested;
based on the test data, a test result corresponding to the test item is determined.
In one embodiment, the set of PLC master control modules under test includes two interconnected PLC master control modules under test, and the processor executes the computer program to further implement the following steps:
sending a first starting test data packet to any one PLC master control module to be tested in the PLC master control module group to be tested, wherein the first starting test data packet is used for indicating two PLC master control modules to be tested in the PLC master control module group to be tested to send data packets to each other;
acquiring sending data and receiving data acquired by any PLC master control module to be tested in the process of sending data packets to each other in the PLC master control module group to be tested.
In one embodiment, the processor, when executing the computer program, further performs the steps of: calculating a test communication error rate and a test packet loss rate between the sending data and the receiving data; comparing the relation between the test communication error rate and the preset communication error rate and the relation between the test packet loss rate and the preset packet loss rate to obtain a comparison result; and determining a test result according to the comparison result.
In one embodiment, the test item is a FRAM test, the configuration data packet is a FRAM test configuration data packet, and the processor when executing the computer program further performs the steps of:
sending a second starting test data packet to the PLC master control module group to be tested, wherein the second starting test data packet is used for indicating the PLC master control modules to be tested in the PLC master control module group to be tested to read and write the power failure storage areas of the PLC master control modules to be tested for preset times;
acquiring preset times of reading speed data and preset times of writing speed data acquired by a PLC master control module to be tested in the preset times of reading and writing process in the PLC master control module group to be tested.
In one embodiment, the processor, when executing the computer program, further performs the steps of: comparing the magnitude of each reading speed in the preset times of reading speed data with the magnitude of each writing speed in the preset times of writing speed data; and taking the maximum reading speed in the preset times of reading speed data and the maximum writing speed in the preset times of writing speed data as test results.
In one embodiment, the test item is a dial-up test, the configuration data packet is a dial-up test configuration data packet, and the processor executes the computer program to further implement the following steps:
sending a third starting test data packet to the PLC master control module group to be tested, wherein the third starting test data packet is used for indicating the PLC master control modules to be tested in the PLC master control module group to be tested to read dial data of respective dial;
acquiring interface data corresponding to the set position of the dial and dial data of the dial read by a PLC master control module to be tested in the PLC master control module group to be tested.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and if the dial-up data is consistent with the interface data, determining that the test result meets the test index.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and if the dial-up data is inconsistent with the interface data, determining that the test result does not meet the test index.
In one embodiment, the test item is a serial RTC test, the configuration data packet is a serial RTC test configuration data packet, and the processor executes the computer program to further implement the following steps:
writing first RTC clock information into a PLC master control module to be tested in the PLC master control module group to be tested through serial port communication;
and reading second RTC clock information of the PLC master control module to be tested in the PLC master control module group to be tested after the set delay time through serial port communication.
In one embodiment, the processor, when executing the computer program, further performs the steps of: calculating the time difference between the second RTC clock information and the first RTC clock information; calculating the difference between the time difference and the set delay time to obtain a test time error value; and comparing the magnitude relation between the test time error value and the preset time error value, and determining a test result according to the magnitude relation.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring a test item, and sending a configuration data packet to the PLC master control module group to be tested based on the test item, wherein the configuration data packet is used for enabling the PLC master control module group to be tested to enter a test mode corresponding to the test item; the PLC master control module group to be tested comprises at least two PLC master control modules to be tested;
acquiring test data corresponding to the test items in the process of transmitting the test signals through the PLC main control module group to be tested;
based on the test data, a test result corresponding to the test item is determined.
In one embodiment, the set of PLC master control modules under test includes two interconnected PLC master control modules under test, and the computer program when executed by the processor further implements the following steps:
sending a first starting test data packet to any one PLC master control module to be tested in the PLC master control module group to be tested, wherein the first starting test data packet is used for indicating two PLC master control modules to be tested in the PLC master control module group to be tested to send data packets to each other;
acquiring sending data and receiving data acquired by any PLC master control module to be tested in the process of sending data packets to each other in the PLC master control module group to be tested.
In one embodiment, the computer program when executed by the processor further performs the steps of: calculating a test communication error rate and a test packet loss rate between the sending data and the receiving data; comparing the relation between the test communication error rate and the preset communication error rate and the relation between the test packet loss rate and the preset packet loss rate to obtain a comparison result; and determining a test result according to the comparison result.
In one embodiment, the test item is a FRAM test, the configuration data package is a FRAM test configuration data package, and the computer program when executed by the processor further performs the steps of:
sending a second starting test data packet to the PLC master control module group to be tested, wherein the second starting test data packet is used for indicating the PLC master control modules to be tested in the PLC master control module group to be tested to read and write the power failure storage areas of the PLC master control modules to be tested for preset times;
acquiring preset times of reading speed data and preset times of writing speed data acquired by a PLC master control module to be tested in the preset times of reading and writing process in the PLC master control module group to be tested.
In one embodiment, the computer program when executed by the processor further performs the steps of: comparing the magnitude of each reading speed in the preset times of reading speed data with the magnitude of each writing speed in the preset times of writing speed data; and taking the maximum reading speed in the preset times of reading speed data and the maximum writing speed in the preset times of writing speed data as test results.
In one embodiment, the test item is a dial-up test, the configuration data packet is a dial-up test configuration data packet, and the computer program when executed by the processor further performs the steps of:
sending a third starting test data packet to the PLC master control module group to be tested, wherein the third starting test data packet is used for indicating the PLC master control modules to be tested in the PLC master control module group to be tested to read dial data of respective dial;
acquiring interface data corresponding to the set position of the dial and dial data of the dial read by a PLC master control module to be tested in the PLC master control module group to be tested.
In one embodiment, the computer program when executed by the processor further performs the steps of: and if the dial-up data is consistent with the interface data, determining that the test result meets the test index.
In one embodiment, the computer program when executed by the processor further performs the steps of: and if the dial-up data is inconsistent with the interface data, determining that the test result does not meet the test index.
In one embodiment, the test item is a serial RTC test, the configuration data packet is a serial RTC test configuration data packet, and the computer program further implements the following steps when executed by the processor:
writing first RTC clock information into a PLC master control module to be tested in the PLC master control module group to be tested through serial port communication;
and reading second RTC clock information of the PLC master control module to be tested in the PLC master control module group to be tested after the set delay time through serial port communication.
In one embodiment, the computer program when executed by the processor further performs the steps of: calculating the time difference between the second RTC clock information and the first RTC clock information; calculating the difference between the time difference and the set delay time to obtain a test time error value; and comparing the magnitude relation between the test time error value and the preset time error value, and determining a test result according to the magnitude relation.
It should be understood that the terms "first", "second", "third", "fourth" in the above-described embodiments are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A PLC master control module testing method, the method comprising:
acquiring a test item, and sending a configuration data packet to a PLC master control module group to be tested based on the test item, wherein the configuration data packet is used for enabling the PLC master control module group to be tested to enter a test mode corresponding to the test item; the PLC master control module group to be tested comprises at least two PLC master control modules to be tested;
acquiring test data corresponding to the test items in the process that the test signals are transmitted by the PLC master control module group to be tested;
determining a test result corresponding to the test item based on the test data;
when the test item is a network port test or a CAN port test, the PLC master control module group to be tested comprises two mutually connected PLC master control modules to be tested; in the process that the test signal is transmitted by the PLC master control module group to be tested, obtaining test data corresponding to the test item, comprising the following steps:
sending a first starting test data packet to any one PLC master control module to be tested in the PLC master control module group to be tested, wherein the first starting test data packet is used for indicating two PLC master control modules to be tested in the PLC master control module group to be tested to send data packets to each other;
acquiring sending data and receiving data acquired by any one PLC master control module to be tested in the process of sending data packets to each other in the PLC master control module group to be tested; the test data includes the transmission data and the reception data.
2. The method of claim 1, comprising at least one of:
when the test item is the internet access test, the to-be-tested PLC master control module group comprises two to-be-tested PLC master control modules which are connected with each other through a network cable, the configuration data packet is an internet access test configuration data packet, and the first starting test data packet is used for indicating the two to-be-tested PLC master control modules in the to-be-tested PLC master control module group to send data packets to each other through the network cable;
when the test item is the CAN port test, the PLC master control module group to be tested comprises two PLC master control modules to be tested which are connected with each other through a CAN bus, the configuration data packet is a CAN port test configuration data packet, and the first start test data packet is used for indicating two of the PLC master control module group to be tested, the PLC master control modules to be tested pass through the CAN bus and send data packets to each other.
3. The method of claim 1, wherein determining a test result corresponding to the test item based on the test data comprises:
calculating a test communication error rate and a test packet loss rate between the sending data and the receiving data;
comparing the magnitude relation between the test communication error rate and a preset communication error rate and the magnitude relation between the test packet loss rate and a preset packet loss rate to obtain a comparison result;
and determining the test result according to the comparison result.
4. The method of claim 3, wherein determining the test result based on the comparison comprises any one of:
if the test communication error rate is smaller than the preset communication error rate and the test packet loss rate is smaller than the preset packet loss rate, determining that the test result is qualified;
and if the test communication error rate is greater than or equal to the preset communication error rate, or the test packet loss rate is greater than or equal to the preset packet loss rate, determining that the test result is unqualified.
5. The method of claim 1, after determining a test result corresponding to the test item based on the test data, further comprising: and storing the test data and the test result corresponding to the test item, and generating a test report corresponding to the test item.
6. The utility model provides a PLC master control module testing arrangement which characterized in that, the device includes:
the system comprises a configuration data packet sending module, a test item obtaining module and a configuration data packet sending module, wherein the configuration data packet sending module is used for obtaining a test item and sending a configuration data packet to a PLC main control module group to be tested based on the test item, and the configuration data packet is used for enabling the PLC main control module group to be tested to enter a test mode corresponding to the test item; the PLC master control module group to be tested comprises at least two PLC master control modules to be tested;
the test data acquisition module is used for acquiring test data corresponding to the test items in the process of transmitting the test signals through the PLC main control module group to be tested;
the test data analysis module is used for determining a test result corresponding to the test item based on the test data;
when the test item is the network port test or the CAN port test, the PLC master control module group to be tested comprises two mutually connected PLC master control modules to be tested; in the process that the test signal is transmitted by the PLC master control module group to be tested, obtaining test data corresponding to the test item, comprising the following steps:
sending a first starting test data packet to any one PLC master control module to be tested in the PLC master control module group to be tested, wherein the first starting test data packet is used for indicating two PLC master control modules to be tested in the PLC master control module group to be tested to send data packets to each other;
acquiring sending data and receiving data acquired by any one PLC master control module to be tested in the process of sending data packets to each other in the PLC master control module group to be tested; the test data includes the transmission data and the reception data.
7. A PLC master control module test system, the system comprising:
each communication module of the module to be tested is connected with the PLC master control module to be tested; the at least one to-be-tested module communication module is connected with an upper computer, the to-be-tested module communication module transmits a test item signal of the upper computer to the to-be-tested PLC main control module, and the test item signal is used for enabling the to-be-tested PLC main control module to enter a test mode corresponding to the test item, so that the two to-be-tested PLC main control modules send data packets to each other; the test items include: network port test or CAN port test;
the test data of the PLC master control module to be tested are uploaded to the upper computer through the module communication module to be tested; and determining a test result corresponding to the test item by the upper computer based on the test data of the PLC master control module to be tested.
8. The system of claim 7, wherein each of the module under test communication modules comprises: the system comprises a bottom plate module and a network power supply module which are connected with each other;
the bottom plate module is connected with the PLC master control module to be tested and is used for providing a power supply link and a communication link for the PLC master control module to be tested;
the network power supply module is respectively connected with the bottom plate module and the upper computer and used for providing power for the PLC master control module to be tested and providing an interface for the PLC master control module to be tested to communicate with the upper computer.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
CN201910308125.3A 2019-04-17 2019-04-17 PLC master control module test method, device and system and computer equipment Active CN110083141B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910308125.3A CN110083141B (en) 2019-04-17 2019-04-17 PLC master control module test method, device and system and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910308125.3A CN110083141B (en) 2019-04-17 2019-04-17 PLC master control module test method, device and system and computer equipment

Publications (2)

Publication Number Publication Date
CN110083141A CN110083141A (en) 2019-08-02
CN110083141B true CN110083141B (en) 2021-06-08

Family

ID=67415298

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910308125.3A Active CN110083141B (en) 2019-04-17 2019-04-17 PLC master control module test method, device and system and computer equipment

Country Status (1)

Country Link
CN (1) CN110083141B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114115196A (en) * 2021-11-24 2022-03-01 国汽智控(北京)科技有限公司 Method, device, equipment and storage medium for detecting equipment reliability
CN114967643B (en) * 2022-05-06 2024-05-14 中国电子信息产业集团有限公司第六研究所 Method and device for testing spaceflight launching field control system and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN208044396U (en) * 2018-02-14 2018-11-02 中国人民解放军第四三二八工厂 For the measurement and control system of supply vehicle and including its supply vehicle

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101214280B1 (en) * 2010-12-27 2012-12-24 주식회사 포스코아이씨티 Automatic System Comprising Apparatus for Communication Interlock
CN102185738B (en) * 2011-05-13 2014-05-14 迈普通信技术股份有限公司 Communication equipment hardware host testing system and testing method
CN103235593B (en) * 2013-04-22 2016-05-25 国电南瑞科技股份有限公司 A kind of blower fan master control hardware Auto-Test System and method of testing based on PLC
CN205301993U (en) * 2015-12-22 2016-06-08 新疆金风科技股份有限公司 Programmable logic controler module testing platform
CN106094804B (en) * 2016-07-18 2020-01-14 中电智能科技有限公司 QT-based cross-platform PLC board-level tool testing system and testing method thereof
CN106680578A (en) * 2017-02-22 2017-05-17 中国电子信息产业集团有限公司第六研究所 High-precision PLC analog quantity output module tool testing method and system
CN108267674B (en) * 2018-01-04 2020-06-16 广州金升阳科技有限公司 Comprehensive automatic test system
CN108693825B (en) * 2018-04-23 2020-04-17 西门子工厂自动化工程有限公司 Detection method and device for PLC input/output module
CN109582571B (en) * 2018-11-16 2022-05-24 深圳和而泰小家电智能科技有限公司 Online debugging method and device, debugging slave computer, debugging host computer and system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN208044396U (en) * 2018-02-14 2018-11-02 中国人民解放军第四三二八工厂 For the measurement and control system of supply vehicle and including its supply vehicle

Also Published As

Publication number Publication date
CN110083141A (en) 2019-08-02

Similar Documents

Publication Publication Date Title
CN110083141B (en) PLC master control module test method, device and system and computer equipment
CN109947087A (en) PLC input/output module test method, device, system and computer equipment
CN101751035A (en) Methods and systems to verify a communication path between a field device and a process controller in a process control system
CN109407541A (en) The control method and device of smart home device
CN113778055B (en) TBOX detection method and detection system
US20130159447A1 (en) System, gateway, and method for automatic setting configuration by learning commands
CN110632498A (en) Test method and system
CN108363368A (en) Run method and automated system, the field device and controller of automated system
CN103761198B (en) Memory chip and data protection method
CN110032134A (en) Plc communication module test method, device, system and computer equipment
CN112910086B (en) Intelligent substation data verification method and system
CN111028881B (en) Open Block testing device, method and system
CN112015813A (en) Data sharing method, system and device of power distribution network and computer equipment
US8554966B2 (en) Method for data exchange
CN110473586A (en) A kind of replacement method that writing failed storage unit, device, equipment and storage medium
CN115470108A (en) Gateway route testing method and device for vehicle, electronic equipment and storage medium
CN105677555A (en) Active type equipment automation program simulation test method and system
CN112948291B (en) Data transmission method, electronic device, and readable storage medium
CN112530615B (en) Variable forcing method and system suitable for nuclear power station equipment
CN213580087U (en) Sliding bearing on-line monitoring system
CN115766541B (en) Device testing method, device, computer equipment and storage medium
CN115665021A (en) Communication verification system, method, device, equipment and storage medium
CN109491845B (en) Test method and system for storage product controller
CN117834407A (en) Automatic configuration method of I/O equipment, APP, cloud server and system
CN118132380A (en) System problem positioning method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant