CN110083141A - PLC main control module test method, device, system and computer equipment - Google Patents

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

Info

Publication number
CN110083141A
CN110083141A CN201910308125.3A CN201910308125A CN110083141A CN 110083141 A CN110083141 A CN 110083141A CN 201910308125 A CN201910308125 A CN 201910308125A CN 110083141 A CN110083141 A CN 110083141A
Authority
CN
China
Prior art keywords
test
measured
main control
control module
plc main
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.)
Granted
Application number
CN201910308125.3A
Other languages
Chinese (zh)
Other versions
CN110083141B (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

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

This application involves a kind of PLC main control module test method, device, system, computer equipment and storage mediums.The described method includes: obtaining test item, and it is based on test item, configuration data packet is sent to PLC main control module group to be measured, for configuration data packet for making PLC main control module group to be measured enter test pattern corresponding with test item, PLC main control module group to be measured includes at least two PLC main control modules to be measured;During test signal is transmitted through PLC main control module group to be measured, test data corresponding with test item is obtained;Based on test data, test result corresponding with test item is determined.PLC main control module can be tested using this method without third party's module, connection line is simple, and can realize primary two module synchronizations test, improves efficiency.

Description

PLC main control module test method, device, system and computer equipment
Technical field
This application involves PLC detection technique fields, more particularly to a kind of PLC main control module test method, device, are System, computer equipment and storage medium.
Background technique
PLC (programmable logic controller (PLC)) is used as a kind of industrial control unit (ICU), has in industrial control field particularly important Status, with the proposition of science and technology maked rapid progress with intelligence manufacture strategy, development trend and application are all the more by people Attention.Diversification and standardization of the demand for development of contemporary PLC to networking, modularization, intelligence, programming language and tool It sets out.PLC due to its with control mode flexibly, programming it is simple, compact-sized it is simple, be easier to apply control, high reliablity, anti- The automation control that the features such as interference performance is strong is largely used in industrial circle, it is desirable that each module of PLC is carried out before producing Detection.
Complete set system is used substantially for the test of PLC main control module at present, main control module access is wherein nested Test, the scheme that individually main control module is not tested.Using holonomic system test scheme need by third party Tool or module are excessive, and connection line is complicated, and test process is cumbersome.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide a kind of PLC main control module test method, device, system, Computer equipment and storage medium.
A kind of PLC main control module test method, which comprises
Test item is obtained, and is based on the test item, sends configuration data packet to PLC main control module group to be measured, it is described to match Data packet is set for making the PLC main control module group to be measured enter test pattern corresponding with the test item;The PLC to be measured Main control module group includes at least two PLC main control modules to be measured;
During test signal is transmitted through the PLC main control module group to be measured, obtain corresponding with the test item Test data;
Based on the test data, test result corresponding with the test item is determined.
A kind of PLC main control module test device, described device include:
Configuration data packet sending module for obtaining test item, and is based on the test item, to PLC main control module to be measured Group sends configuration data packet, and the configuration data packet is for entering the PLC main control module group to be measured and the test item pair The test pattern answered;The PLC main control module group to be measured includes at least two PLC main control modules to be measured;
Test data obtains module, for obtaining during test signal is transmitted through the PLC main control module group to be measured Take test data corresponding with the test item;
Test data analysis module determines test result corresponding with the test item for being based on the test data.
A kind of PLC main control module test macro, the system comprises:
At least two module communication modules to be measured, each module communication module to be measured and PLC main control module to be measured connect It connects;At least one described module communication module to be measured is connect with host computer, and the module communication module to be measured is by the host computer Test item signal be transmitted to the PLC main control module to be measured, the test item signal is for making the PLC main control module to be measured Into test pattern corresponding with the test item;
The test data of the PLC main control module to be measured is uploaded to described upper via the module communication module to be measured Machine;Test data and corresponding relevant test data by the host computer based on the PLC main control module to be measured determine Test result corresponding with the test item;The relevant test data includes the host computer and the PLC master control mould to be measured The serial port communication data of block, or setting data corresponding with the test data of the PLC main control module to be measured.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing Device performs the steps of when executing the computer program
Test item is obtained, and is based on the test item, sends configuration data packet to PLC main control module group to be measured, it is described to match Data packet is set for making the PLC main control module group to be measured enter test pattern corresponding with the test item;The PLC to be measured Main control module group includes at least two PLC main control modules to be measured;
During test signal is transmitted through the PLC main control module group to be measured, obtain corresponding with the test item Test data;
Based on the test data, test result corresponding with the test item is determined.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor It is performed the steps of when row
Test item is obtained, and is based on the test item, sends configuration data packet to PLC main control module group to be measured, it is described to match Data packet is set for making the PLC main control module group to be measured enter test pattern corresponding with the test item;The PLC to be measured Main control module group includes at least two PLC main control modules to be measured;
During test signal is transmitted through the PLC main control module group to be measured, obtain corresponding with the test item Test data;
Based on the test data, test result corresponding with the test item is determined.
Above-mentioned PLC main control module test method, device, system, computer equipment and storage medium, without third party Module can test PLC main control module, and connection line is simple, and can realize primary two module synchronizations test, improve Efficiency.
Detailed description of the invention
Fig. 1 is the structural block diagram of one embodiment PLC main control module test macro;
Fig. 2 is the flow diagram of PLC main control module test method in one embodiment;
Fig. 3 is the flow diagram of the network interface test method of PLC main control module in one embodiment;
Fig. 4 is the flow diagram of the CAN mouth test method of PLC main control module in one embodiment;
Fig. 5 is the flow diagram of the FRAM test method of PLC main control module in one embodiment;
Fig. 6 is the flow diagram of the dial-up test method of PLC main control module in one embodiment;
Fig. 7 is the flow diagram of the serial ports RTC test method of PLC main control module in one embodiment;
Fig. 8 is the structural block diagram of PLC main control module test device in one embodiment;
Fig. 9 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
In one embodiment, a kind of PLC main control module test macro is provided, which includes at least two moulds to be measured Block communication module, each module communication module to be measured are connect with PLC main control module to be measured, at least one module communication module to be measured It is connect with host computer.
The test item signal of host computer is transmitted to PLC main control module to be measured, test item signal by module communication module to be measured For making PLC main control module to be measured enter test pattern corresponding with test item.Specifically, test item include: network interface test, CAN mouthfuls of tests, FRAM test, dial-up test and serial ports RTC test.
The test data of PLC main control module to be measured is uploaded to host computer via module communication module to be measured, by host computer base In the test data and corresponding relevant test data of PLC main control module to be measured, test knot corresponding with test item is determined Fruit;Relevant test data includes the serial port communication data of host computer Yu PLC main control module to be measured, or with PLC master control mould to be measured The corresponding setting data of the test data of block.
In one embodiment, as shown in Figure 1, providing a kind of PLC main control module test macro, which includes two Module communication module to be measured, each module communication module to be measured include floor module 131 interconnected and network electric power module 132.Floor module 131 is connect with PLC main control module 120 to be measured, for providing power link for PLC main control module 120 to be measured And communication link.Network electric power module 132 is connect with floor module 131 and host computer 110 respectively, for being PLC master control to be measured Module 120 provides power supply, and provides the interface communicated with host computer 110 for PLC main control module 120 to be measured.Specifically, two nets Network power module 132 is connect by interchanger 140 with host computer 110 respectively, and interchanger 140 is for providing multiple network insertion ends Mouthful.
The external interface of PLC main control module 120 to be measured includes network interface, CAN mouthfuls and serial ports, in one embodiment, two The network interface of PLC main control module 120 to be measured is mutually butted, and the CAN mouth of two PLC main control modules 120 to be measured is mutually butted.Two to The RS232 serial ports for surveying PLC main control module 120 is communicated to connect with host computer 110 respectively.
PLC main control module test method provided by the present application can be applied to PLC main control module test as shown in Figure 1 In system.In one embodiment, as shown in Fig. 2, providing a kind of PLC main control module test method, it is applied in this way It is illustrated for host computer in Fig. 1, includes the following steps S202 to step S206.
S202 obtains test item, and is based on test item, sends configuration data packet to PLC main control module group to be measured, configures number According to packet for making PLC main control module group to be measured enter test pattern corresponding with test item;PLC main control module group to be measured includes extremely Few two PLC main control modules to be measured.
In one embodiment, PLC main control module group to be measured includes two PLC main control modules to be measured interconnected, is led to Crossing UDP network connection, any one PLC main control module to be measured sends configuration data packet thereto, can make two PLC masters to be measured Control module enters test pattern.It specifically, can be to two PLC masters to be measured when test item is that network interface is tested or CAN is tested Module progress while group are controlled to test.It, can be to two when test item is that FRAM test, dial-up test or serial ports RTC are tested PLC main control module to be measured is carried out while being tested, can also be to one of them PLC master control to be measured of two PLC main control modules to be measured Module is individually tested.
S204 obtains test corresponding with test item during test signal is transmitted through PLC main control module group to be measured Data.
In one embodiment, test item is network interface test, and test data corresponding with test item includes PLC master control to be measured Module network interface sends data and receives data.
In one embodiment, test item is CAN mouthfuls of tests, and test data corresponding with test item includes PLC master to be measured Module CAN mouthfuls of transmission data of control and reception data.
In one embodiment, test item is FRAM test, and test data corresponding with test item includes PLC master control to be measured Read or write speed data of the module to power down storage region.
In one embodiment, test item is dial-up test, and test data corresponding with test item is PLC master control mould to be measured The dial-up data for the dial-up dish that the corresponding interface data in the setting position of block dial-up dish and PLC main control module to be measured are read.
In one embodiment, test item is serial ports RTC test, and test data corresponding with test item is logical by serial ports Believe the first RTC clock information being written in PLC main control module to be measured, and PLC main control module to be measured is read by serial communication The second RTC clock information after setting delay time.
S206 is based on test data, determines test result corresponding with test item.
In one embodiment, it when test item is network interface test or CAN mouthfuls of tests, specifically includes: calculating and send data And receive the test communication error rate and test packet loss between data;Compare test communication error rate and default communication error rate Size relation, and test packet loss and default packet loss size relation, obtain comparison result;According to comparison result, really Determine test result.
In one embodiment, presetting communication error rate is 0.000001, and presetting packet loss is 0.000001.If test is logical Letter error rate tests packet loss less than 0.000001 less than 0.000001, then test data meets test index, determines test It as a result is qualification.If testing communication error rate is greater than or equal to 0.000001, alternatively, test packet loss is greater than or equal to 0.000001, then test data is unsatisfactory for test index, determines that test result is unqualified.
In one embodiment, it is being based on test data, after determining corresponding with test item test result, further includes: Test data and test result are stored, and generates test report corresponding with test item, for inquiry.
In one embodiment, PLC main control module group to be measured includes two PLC main control modules to be measured, two PLC masters to be measured The network interface for controlling module is connected with each other by cable, and test item is network interface test, and survey is grouped to two PLC main control modules to be measured Examination, as shown in figure 3, a kind of network interface test method of PLC main control module is provided, the host computer being applied in Fig. 1 in this way For be illustrated, include the following steps S302 to step S308.
S302, any one PLC main control module to be measured into two PLC main control modules to be measured send network interface test configurations Data packet, so that two PLC main control modules to be measured enter network interface test pattern.
S304, any one PLC main control module to be measured into two PLC main control modules to be measured send starting test data Packet, to indicate that two PLC main control modules to be measured are sent data packets to each other by network interface interconnected.
S306, any one the PLC main control module to be measured obtained in two PLC main control modules to be measured are sending data packets to each other The network interface acquired in the process sends data and network interface receives data.
In one embodiment, using a PLC main control module to be measured in two PLC main control modules to be measured as master to be measured Module, another PLC main control module to be measured do not require to limit, can appoint from module as to be measured for the identification of principal and subordinate's module Meaning assert one of them in two PLC main control modules to be measured for main module to be measured, another automatically becomes to be measured from module.
In one embodiment, it may is that be connected to the network by UDP to main module to be measured and send network interface test configurations data Packet is connected to the network to main module to be measured by UDP and sends starting test data packet, obtains main mould to be measured by UDP network connection The network interface that block acquires during sending data packets to each other sends data and network interface receives data.
S308 sends data based on network interface and network interface receives data, determines network interface test result.
In one embodiment, network interface sends data and is sent to the number to be measured from module by network interface for main module to be measured According to it is that main module to be measured is received from the data to be measured from module by network interface that network interface, which receives data,.
In one embodiment, the communication error rate and packet loss between network interface transmission data and network interface reception data are calculated Rate, if communication error rate, less than 0.000001, and packet loss is less than 0.000001, it is believed that network interface test data meets test and refers to Mark, determine main module to be measured and it is to be measured from the network interface test result of module be qualification.If communication error rate is greater than or equal to 0.000001, alternatively, packet loss is greater than or equal to 0.000001, it is believed that network interface test data is unsatisfactory for test index, determine to Survey main module and it is to be measured from the network interface test result of module be unqualified.
In one embodiment, data and network interface reception data are being sent based on network interface, after determining network interface test result, Further include: storage network interface sends data, network interface receives data and network interface test result, and generates network interface test report, for Inquiry.
In one embodiment, PLC main control module group to be measured includes two PLC main control modules to be measured, two PLC masters to be measured The CAN mouth for controlling module is connected with each other by CAN bus, and test item is CAN mouthfuls of tests, is carried out to two PLC main control modules to be measured Group is to test, as shown in figure 4, providing a kind of CAN mouth test method of PLC main control module, is applied in Fig. 1 in this way It is illustrated for host computer, includes the following steps S402 to step S408.
S402, any one PLC main control module to be measured into two PLC main control modules to be measured send CAN mouthfuls of tests and match Data packet is set, so that two PLC main control modules to be measured enter CAN mouthfuls of test patterns.
S404, any one PLC main control module to be measured into two PLC main control modules to be measured send starting test data Packet is sent data packets to each other with two PLC main control modules to be measured of instruction by CAN mouthfuls interconnected.
S406, any one the PLC main control module to be measured obtained in two PLC main control modules to be measured are sending data packets to each other The CAN mouth acquired in the process sends data and CAN mouthfuls of reception data.
In one embodiment, using a PLC main control module to be measured in two PLC main control modules to be measured as master to be measured Module, another PLC main control module to be measured do not require to limit, can appoint from module as to be measured for the identification of principal and subordinate's module Meaning assert one of them in two PLC main control modules to be measured for main module to be measured, another automatically becomes to be measured from module.
In one embodiment, it may is that be connected to the network by UDP to main module to be measured and send CAN mouthfuls of test configurations numbers It according to packet, is connected to the network by UDP to main module to be measured and sends starting test data packet, master to be measured is obtained by UDP network connection The CAN mouth that module acquires during sending data packets to each other sends data and CAN mouthfuls of reception data.
S408 is based on CAN mouthfuls of transmission data and CAN mouthfuls of reception data, determines CAN mouthfuls of test results.
In one embodiment, CAN mouthfuls of transmission data are sent to the number to be measured from module by CAN mouthfuls for main module to be measured According to CAN mouthfuls of reception data are that main module to be measured is received from the data to be measured from module by CAN mouthfuls.
In one embodiment, CAN mouthfuls are calculated and sends data and the CAN mouthfuls of communication error rates and packet loss received between data Rate, if communication error rate, less than 0.000001, and packet loss is less than 0.000001, it is believed that CAN mouthfuls of test datas meet test and refer to Mark, determine main module to be measured and it is to be measured from the CAN mouth test result of module be qualification.If communication error rate is greater than or equal to 0.000001, alternatively, packet loss is greater than or equal to 0.000001, it is believed that CAN mouthful test datas are unsatisfactory for test index, determination to Survey main module and it is to be measured from the CAN mouth test result of module be unqualified.
In one embodiment, be based on CAN mouthfuls of transmission data and CAN mouthfuls of reception data, determine CAN mouthfuls of test results it Afterwards, further includes: CAN mouthfuls of transmission data of storage, CAN mouthfuls of reception data and CAN mouthfuls of test results, and generate CAN mouthfuls of test reports It accuses, for inquiry.
In one embodiment, PLC main control module group to be measured includes two PLC main control modules to be measured, test item FRAM Test is carried out while being tested to two PLC main control modules to be measured, as shown in figure 5, providing a kind of FRAM of PLC main control module Test method is applied to be illustrated for the host computer in Fig. 1 in this way, includes the following steps S502 to step S508.
S502 sends FRAM test configurations data packet to two PLC main control modules to be measured, so that two PLC to be measured respectively Main control module enters FRAM test pattern.
S504 sends starting test data packet, respectively to two PLC main control modules to be measured to indicate two PLC masters to be measured It controls module and preset times read-write is carried out to respective power down storage region.
S506 is obtained default time that two PLC main control modules to be measured acquire during respective preset times are read and write Number reading speed data and preset times writing speed data.
In one embodiment, it may is that be connected to the network by UDP to two PLC main control modules to be measured and send respectively FRAM test configurations data packet is connected to the network by UDP and sends starting test data respectively to two PLC main control modules to be measured Packet obtains the preset times reading speed data and preset times of two PLC main control modules to be measured by UDP network connection respectively Writing speed data.
S508 is based on preset times reading speed data and preset times writing speed data, determines FRAM test result.
In one embodiment, the maximum reading in the preset times reading speed data of each PLC main control module to be measured is taken The maximum writing speed in speed and preset times writing speed data is taken to survey as the FRAM of the PLC main control module to be measured Test result.
In one embodiment, preset times reading speed data and preset times writing speed data are being based on, determined After FRAM test result, further includes: storage preset times reading speed data, preset times writing speed data and FRAM Test result, and FRAM test report is generated, for inquiry.
In one embodiment, PLC main control module group to be measured includes two PLC main control modules to be measured, and test item is dial-up Test is carried out while being tested to two PLC main control modules to be measured, as shown in fig. 6, providing a kind of dial-up of PLC main control module Test method is applied to be illustrated for the host computer in Fig. 1 in this way, includes the following steps S602 to step S608.
S602 sends dial-up test configurations data packet to two PLC main control modules to be measured, so that two PLC to be measured respectively Main control module enters dial-up test pattern.
S604 sends starting test data packet, respectively to two PLC main control modules to be measured to indicate two PLC masters to be measured Control module reads the dial-up data of respective dial-up dish.
S606, respectively obtain two PLC main control modules to be measured dial-up dish the corresponding interface data in setting position and The dial-up data for the respective dial-up dish that two PLC main control modules to be measured are read.
In one embodiment, it may is that be connected to the network by UDP to two PLC main control modules to be measured and send respectively FRAM test configurations data packet is connected to the network by UDP and sends starting test data respectively to two PLC main control modules to be measured Packet obtains the corresponding interface number in setting position of the dial-up dish of two PLC main control modules to be measured by UDP network connection respectively According to and the dial-up data of respective dial-up dish that read of two PLC main control modules to be measured.
S608 is based on interface data and dial-up data, determines dial-up test result.
In one embodiment, dial-up test judgement standard is whether mapping data are correct, more each PLC master control to be measured The interface data and dial-up data of the dial-up dish of module determine PLC main control module to be measured if dial-up data are consistent with interface data Dial-up test result be meet testing standard, if dial-up data are inconsistent with interface data, determine the PLC main control module to be measured Dial-up test result is to be unsatisfactory for testing standard.
In one embodiment, after being based on interface data and dial-up data, determining dial-up test result, further includes: Interface data, dial-up data and dial-up test result are stored, and generates dial-up test report, for inquiry.
In one embodiment, PLC main control module group to be measured includes two PLC main control modules to be measured, and test item is serial ports RTC test is carried out while being tested to two PLC main control modules to be measured, as shown in fig. 7, providing a kind of dialling for PLC main control module Code test method is applied to be illustrated for the host computer in Fig. 1 in this way, includes the following steps S702 to step S708。
S702 sends serial ports RTC test configurations data packet to two PLC main control modules to be measured, so that two to be measured respectively PLC main control module enters serial ports RTC test pattern.
S704 is respectively written into the first RTC clock information in two PLC main control modules to be measured by serial communication.
S706 reads two PLC main control modules to be measured by serial communication respectively after setting delay time respectively Second RTC clock information.
In one embodiment, it may is that be connected to the network by UDP to two PLC main control modules to be measured and send string respectively Mouth RTC test configurations data packet, is respectively written into the first RTC clock in two PLC main control modules to be measured by RS232 serial communication Information reads second of two PLC main control modules to be measured respectively after setting delay time by RS232 serial communication respectively RTC clock information.
S708 is based on the first RTC clock information and the second RTC clock information, determines serial ports RTC test result.
In one embodiment, the second RTC clock information and the first RTC clock of each PLC main control module to be measured are calculated Time difference between information, calculate the time difference and set delay time between difference, if the difference be less than or equal to 1 second, really The serial ports RTC test result of the fixed PLC main control module to be measured is that RTC clock read-write capability is normal, if the difference is greater than 1 second, really The serial ports RTC test result of the fixed PLC main control module to be measured is that RTC clock read-write capability is abnormal.
In one embodiment, it is being based on the first RTC clock information and the second RTC clock information, is determining that serial ports RTC is tested As a result after, further includes: the first RTC clock information of storage, the second RTC clock information and dial-up test result, and generate string Mouth RTC test report, for inquiry.
Above-mentioned PLC main control module test macro and method can carry out PLC main control module without third party's module Test, connection line is simple, and can realize primary two module synchronizations test, improves efficiency, reduces human intervention process.
It should be understood that although each step in the flow chart of Fig. 2-7 is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-7 Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately It executes.
In one embodiment, as shown in figure 8, providing a kind of PLC main control module test device, comprising: configuration data Packet sending module 810, test data obtain module 820 and test data analysis module 830, in which:
Configuration data packet sending module 810 for obtaining test item, and is based on test item, to PLC main control module group to be measured Configuration data packet is sent, configuration data packet is for making PLC main control module group to be measured enter test pattern corresponding with test item;To Surveying PLC main control module group includes at least two PLC main control modules to be measured.
Test data obtains module 820, for obtaining during test signal is transmitted through PLC main control module group to be measured Take test data corresponding with test item.
Test data analysis module 830 determines test result corresponding with test item for being based on test data.
In one embodiment, configuration data packet sending module 810 include: network interface test configurations data packet sending unit, CAN mouthfuls of test configurations data packet sending units, FRAM test configurations data packet sending unit, dial-up test configurations data packet are sent Unit and serial ports RTC test configurations data packet sending unit.
In one embodiment, it includes: that network interface test data obtains module, CAN mouthfuls of tests that test data, which obtains module 820, Data acquisition module, FRAM test data obtain module, dial-up test data obtains module and serial ports RTC test data obtains Module.
It includes: that starting network interface test data packet transmission unit and network interface test data obtain that network interface test data, which obtains module, Unit.Start network interface test data packet transmission unit for any one PLC master control to be measured into PLC main control module group to be measured Module sends starting network interface test data packet, is passed through with the two PLC main control modules to be measured indicated in PLC main control module group to be measured Network interface sends data packets to each other.Any one of network interface test data acquiring unit for obtaining in PLC main control module group to be measured is to be measured The network interface that PLC main control module acquires during being sent data packets to each other by network interface sends data and network interface receives data.
It includes: CAN mouthfuls of test data packet transmission units of starting and CAN mouthfuls of test datas that CAN mouthfuls of test datas, which obtain module, Acquiring unit.CAN mouthfuls of test data packet transmission units of starting are to be measured for any one into PLC main control module group to be measured PLC main control module sends CAN mouthfuls of test data packets of starting, to indicate two PLC master controls to be measured in PLC main control module group to be measured Module is sent data packets to each other by CAN mouthfuls.CAN mouthfuls of test data acquiring units are used to obtain appointing in PLC main control module group to be measured A PLC main control module to be measured anticipate by the CAN mouthfuls of CAN acquired during sending data packets to each other mouths transmission data and CAN mouthfuls Receive data.
It includes: that starting FRAM test data packet transmission unit and FRAM test data obtain that FRAM test data, which obtains module, Unit.Start FRAM test data packet transmission unit to be used to send starting FRAM test data into PLC main control module group to be measured Packet, to indicate that the PLC main control module to be measured in PLC main control module group to be measured carries out preset times to respective power down storage region Read-write.FRAM test data acquiring unit is used to obtain the PLC main control module to be measured in PLC main control module group to be measured at default time The preset times reading speed data and preset times writing speed data acquired during number read-write.
It includes: that starting dial-up test data packet transmission unit and dial-up test data obtain that dial-up test data, which obtains module, Unit.Start dial-up test data packet transmission unit to be used to send starting dial-up test data packet to PLC main control module group to be measured, To indicate that the PLC main control module to be measured in PLC main control module group to be measured reads the dial-up data of respective dial-up dish.Dial-up tests number It is used to obtain the setting position of the respective dial-up dish of the PLC main control module to be measured in PLC main control module group to be measured according to acquiring unit The dial-up for the respective dial-up dish that PLC main control module to be measured in corresponding interface data and PLC main control module group to be measured is read Data.
It includes: RTC clock information writing unit and RTC clock Information reading unit that serial ports RTC test data, which obtains module,. RTC clock information writing unit is used for the PLC main control module to be measured write-in by serial communication in PLC main control module group to be measured First RTC clock information.RTC clock Information reading unit by serial communication for being read in PLC main control module group to be measured Second RTC clock information of the PLC main control module to be measured after setting delay time.
In one embodiment, test data analysis module 830 includes: network interface test data analysis module, CAN mouthfuls of tests Data analysis module, FRAM test data analysis module, dial-up test data analysis module and serial ports RTC test data analysis Module.
Network interface test data analysis module includes: the first computing unit, the first comparing unit and the first determination unit.First Computing unit is used to calculate communication error rate and packet loss between network interface transmission data and network interface reception data.First is relatively more single The size that member sends communication error rate and default communication error rate between data and network interface reception data for comparing network interface is closed System and network interface send data and network interface receives the size relation of packet loss and default packet loss between data, obtain first Comparison result.First determination unit is for according to the first comparison result, determining network interface test result.
CAN mouthfuls of test data analysis modules include: the second computing unit, the second comparing unit and the second determination unit.The Two computing units are used to calculate CAN mouthfuls and send data and the CAN mouthfuls of communication error rates and packet loss received between data.Second ratio It is used to compare CAN mouthfuls compared with unit and sends data and the CAN mouthfuls of communication error rates received between data and default communication error rate The size relation of size relation and the CAN mouthfuls of packet loss sent between data and CAN mouthfuls of reception data and default packet loss, Obtain the second comparison result.Second determination unit is used to determine CAN mouthfuls of test results according to the second comparison result.
FRAM test data analysis module includes: read or write speed comparing unit and read or write speed determination unit.Read or write speed Comparing unit is used to compare the size and preset times write-in speed of each reading speed in preset times reading speed data The size of each writing speed of the degree in.Read or write speed determination unit is for taking in preset times reading speed data most Maximum writing speed in big reading speed and preset times writing speed data is as FRAM test result.
Dial-up test data analysis module includes: third comparing unit and third determination unit.Third comparing unit is used for It is whether consistent with interface data to compare dial-up data.Third determination unit be used for based on dial-up data compared with interface data knot Fruit determines dial-up test result.
Serial ports RTC test data analysis module include: third computing unit, the 4th computing unit and the 4th comparing unit and 4th determination unit.Third computing unit is used to calculate the time between the second RTC clock information and the first RTC clock information Difference.4th computing unit is used to calculate the time difference and sets the difference between delay time, obtains testing time error amount.4th Comparing unit is used to compare the size relation of testing time error amount Yu preset time error amount.4th determination unit is used for basis The size relation of testing time error amount and preset time error amount determines serial ports RTC test result.
In one embodiment, which further includes data memory module, for storing test data and test result, And generate test report.
Specific restriction about PLC main control module test device may refer to above for PLC main control module test side The restriction of method, details are not described herein.Modules in above-mentioned PLC main control module test device can be fully or partially through soft Part, hardware and combinations thereof are realized.Above-mentioned each module can be embedded in the form of hardware or independently of the processing in computer equipment It in device, can also be stored in a software form in the memory in computer equipment, in order to which processor calls execution above each The corresponding operation of a module.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction Composition can be as shown in Figure 9.The computer equipment include by system bus connect processor, memory, network interface and Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating The database of machine equipment is for storing test data and test result.The network interface of the computer equipment is used for and outside Terminal passes through network connection communication.To realize a kind of PLC main control module test method when the computer program is executed by processor.
It will be understood by those skilled in the art that structure shown in Fig. 9, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, is stored in memory Computer program, the processor perform the steps of when executing computer program
Test item is obtained, and is based on test item, sends configuration data packet, configuration data packet to PLC main control module group to be measured For making PLC main control module group to be measured enter test pattern corresponding with test item;PLC main control module group to be measured includes at least two A PLC main control module to be measured;
During test signal is transmitted through PLC main control module group to be measured, test data corresponding with test item is obtained;
Based on test data, test result corresponding with test item is determined.
In one embodiment, PLC main control module group to be measured includes two PLC main control modules to be measured interconnected, place Reason device also performs the steps of when executing computer program
Any one PLC main control module to be measured into PLC main control module group to be measured sends the first starting test data packet, Two PLC main control modules to be measured that first starting test data packet is used to indicate in PLC main control module group to be measured send data packets to each other;
Any one PLC main control module to be measured in PLC main control module group to be measured is obtained during sending data packets to each other The transmission data and reception data of acquisition.
In one embodiment, calculating is also performed the steps of when processor executes computer program to send data and connect Receive the test communication error rate and test packet loss between data;Compare the big of test communication error rate and default communication error rate Small relationship, and the size relation of test packet loss and default packet loss, obtain comparison result;According to comparison result, determines and survey Test result.
In one embodiment, test item is FRAM test, and configuration data packet is FRAM test configurations data packet, processor It is also performed the steps of when executing computer program
The second starting test data packet is sent to PLC main control module group to be measured, the second starting test data packet is used to indicate PLC main control module to be measured in PLC main control module group to be measured carries out preset times read-write to respective power down storage region;
Obtain what the PLC main control module to be measured in PLC main control module group to be measured acquired during preset times read-write Preset times reading speed data and preset times writing speed data.
In one embodiment, it is also performed the steps of when processor executes computer program and compares preset times reading The size of each reading speed in speed data and each writing speed in preset times writing speed data it is big It is small;Take the most capitalization in the maximum reading speed and preset times writing speed data in preset times reading speed data Enter speed as test result.
In one embodiment, test item is dial-up test, and configuration data packet is dial-up test configurations data packet, processor It is also performed the steps of when executing computer program
Third is sent to PLC main control module group to be measured and starts test data packet, and third starting test data packet is used to indicate PLC main control module to be measured in PLC main control module group to be measured reads the dial-up data of respective dial-up dish;
The corresponding interface data in setting position for obtaining dial-up dish and the PLC master to be measured in PLC main control module group to be measured Control the dial-up data for the dial-up dish that module is read.
In one embodiment, if processor also performs the steps of dial-up data and interface when executing computer program Data are consistent, determine that test result is to meet test index.
In one embodiment, if processor also performs the steps of dial-up data and interface when executing computer program Data are inconsistent, determine that test result is to be unsatisfactory for test index.
In one embodiment, test item is serial ports RTC test, and configuration data packet is serial ports RTC test configurations data packet, Processor also performs the steps of when executing computer program
The first RTC clock letter is written by be measured PLC main control module of the serial communication in PLC main control module group to be measured Breath;
The PLC main control module to be measured in PLC main control module group to be measured is read by setting delay time by serial communication The second RTC clock information afterwards.
In one embodiment, it is also performed the steps of when processor executes computer program and calculates the second RTC clock letter Time difference between breath and the first RTC clock information;It calculates the time difference and sets the difference between delay time, when obtaining test Between error amount;The size relation for comparing testing time error amount Yu preset time error amount determines test knot according to size relation Fruit.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program performs the steps of when being executed by processor
Test item is obtained, and is based on test item, sends configuration data packet, configuration data packet to PLC main control module group to be measured For making PLC main control module group to be measured enter test pattern corresponding with test item;PLC main control module group to be measured includes at least two A PLC main control module to be measured;
During test signal is transmitted through PLC main control module group to be measured, test data corresponding with test item is obtained;
Based on test data, test result corresponding with test item is determined.
In one embodiment, PLC main control module group to be measured includes two PLC main control modules to be measured interconnected, meter Calculation machine program also performs the steps of when being executed by processor
Any one PLC main control module to be measured into PLC main control module group to be measured sends the first starting test data packet, Two PLC main control modules to be measured that first starting test data packet is used to indicate in PLC main control module group to be measured send data packets to each other;
Any one PLC main control module to be measured in PLC main control module group to be measured is obtained during sending data packets to each other The transmission data and reception data of acquisition.
In one embodiment, when computer program is executed by processor also perform the steps of calculating send data and Receive the test communication error rate and test packet loss between data;Compare test communication error rate and default communication error rate Size relation, and the size relation of test packet loss and default packet loss, obtain comparison result;According to comparison result, determine Test result.
In one embodiment, test item is FRAM test, and configuration data packet is FRAM test configurations data packet, computer It is also performed the steps of when program is executed by processor
The second starting test data packet is sent to PLC main control module group to be measured, the second starting test data packet is used to indicate PLC main control module to be measured in PLC main control module group to be measured carries out preset times read-write to respective power down storage region;
Obtain what the PLC main control module to be measured in PLC main control module group to be measured acquired during preset times read-write Preset times reading speed data and preset times writing speed data.
In one embodiment, it is also performed the steps of when computer program is executed by processor and compares preset times reading Take each reading speed in speed data size and each writing speed in preset times writing speed data it is big It is small;Take the most capitalization in the maximum reading speed and preset times writing speed data in preset times reading speed data Enter speed as test result.
In one embodiment, test item is dial-up test, and configuration data packet is dial-up test configurations data packet, computer It is also performed the steps of when program is executed by processor
Third is sent to PLC main control module group to be measured and starts test data packet, and third starting test data packet is used to indicate PLC main control module to be measured in PLC main control module group to be measured reads the dial-up data of respective dial-up dish;
The corresponding interface data in setting position for obtaining dial-up dish and the PLC master to be measured in PLC main control module group to be measured Control the dial-up data for the dial-up dish that module is read.
In one embodiment, if also performing the steps of dial-up data and boundary when computer program is executed by processor Face data is consistent, determines that test result is to meet test index.
In one embodiment, if also performing the steps of dial-up data and boundary when computer program is executed by processor Face data is inconsistent, determines that test result is to be unsatisfactory for test index.
In one embodiment, test item is serial ports RTC test, and configuration data packet is serial ports RTC test configurations data packet, It is also performed the steps of when computer program is executed by processor
The first RTC clock letter is written by be measured PLC main control module of the serial communication in PLC main control module group to be measured Breath;
The PLC main control module to be measured in PLC main control module group to be measured is read by setting delay time by serial communication The second RTC clock information afterwards.
In one embodiment, it is also performed the steps of when computer program is executed by processor and calculates the second RTC clock Time difference between information and the first RTC clock information;It calculates the time difference and sets the difference between delay time, tested Time error value;The size relation for comparing testing time error amount Yu preset time error amount is determined according to size relation and is tested As a result.
It is to be appreciated that term " first ", " second " in above-described embodiment, " third ", " the 4th ", being only used for describing Purpose is not understood to indicate or imply relative importance or implicitly indicates the quantity of indicated technical characteristic.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (15)

1. a kind of PLC main control module test method, which comprises
Test item is obtained, and is based on the test item, sends configuration data packet, the configuration number to PLC main control module group to be measured According to packet for making the PLC main control module group to be measured enter test pattern corresponding with the test item;The PLC master control to be measured Module group includes at least two PLC main control modules to be measured;
During test signal is transmitted through the PLC main control module group to be measured, test corresponding with the test item is obtained Data;
Based on the test data, test result corresponding with the test item is determined.
2. mutually being interconnected the method according to claim 1, wherein the PLC main control module group to be measured includes two The PLC main control module to be measured connect;
During test signal is transmitted through the PLC main control module group to be measured, test corresponding with the test item is obtained Data, comprising:
Any one of PLC main control module to be measured into the PLC main control module group to be measured sends the first starting test number According to packet, the first starting test data packet is used to indicate two PLC masters to be measured in the PLC main control module group to be measured Control module sends data packets to each other;
Any one of PLC main control module to be measured obtained in the PLC main control module group to be measured sends data packets to each other described During the transmission data that acquire and receive data;The test data includes the transmission data and the reception data.
3. according to the method described in claim 2, it is characterised in that it includes in following two at least one of:
The PLC main control module group to be measured includes two by cable PLC main control module to be measured interconnected, the test item For network interface test, the configuration data packet is network interface test configurations data packet, and the first starting test data packet is used to indicate Two PLC main control modules to be measured in the PLC main control module group to be measured are sent data packets to each other by the cable;
The PLC main control module group to be measured includes two by CAN bus PLC main control module to be measured interconnected, the survey Trying item is CAN mouthfuls of tests, and the configuration data packet is CAN mouthfuls of test configurations data packets, and the first starting test data packet is used Two PLC main control modules to be measured in the instruction PLC main control module group to be measured mutually send out data by the CAN line Packet.
4. according to the method described in claim 2, it is characterized in that, being determined and the test item pair based on the test data The test result answered, comprising:
Calculate the transmission data and the test communication error rate received between data and test packet loss;
Compare the size relation for testing communication error rate and default communication error rate and the test packet loss and presets The size relation of packet loss obtains comparison result;
According to the comparison result, the test result is determined.
5. the method according to claim 1, wherein the test item is FRAM test, the configuration data packet For FRAM test configurations data packet;
During test signal is transmitted through the PLC main control module group to be measured, test corresponding with the test item is obtained Data, comprising:
The second starting test data packet is sent to the PLC main control module group to be measured, the second starting test data packet is used for Indicate that the PLC main control module to be measured in the PLC main control module group to be measured presets respective power down storage region Number read-write;
Obtain the process that the PLC main control module to be measured in the PLC main control module group to be measured is read and write in the preset times The preset times reading speed data and preset times writing speed data of middle acquisition;The test data includes described default time Number reading speed data and the preset times writing speed data.
6. according to the method described in claim 5, it is characterized in that, being determined and the test item pair based on the test data The test result answered, comprising:
Compare the size and preset times write-in speed of each reading speed in the preset times reading speed data The size of each writing speed of the degree in;
It takes in the maximum reading speed and the preset times writing speed data in the preset times reading speed data Maximum writing speed as the test result.
7. the method according to claim 1, wherein the test item is dial-up test, the configuration data packet For dial-up test configurations data packet;
During test signal is transmitted through the PLC main control module group to be measured, test corresponding with the test item is obtained Data, comprising:
Third is sent to the PLC main control module group to be measured and starts test data packet, and the third starting test data packet is used for Indicate that the PLC main control module to be measured in the PLC main control module group to be measured reads the dial-up data of respective dial-up dish;
It obtains described in the corresponding interface data in setting position and the PLC main control module group to be measured of the dial-up dish The dial-up data for the dial-up dish that PLC main control module to be measured is read;The test data includes the interface data and described Dial-up data.
8. being determined and the test item pair the method according to the description of claim 7 is characterized in that being based on the test data The test result answered, including at least one in following two:
If the dial-up data are consistent with the interface data, determine that the test result is to meet test index;
If the dial-up data and the interface data are inconsistent, determine that the test result is to be unsatisfactory for test index.
9. the method according to claim 1, wherein the test item is serial ports RTC test, the configuration data Packet is serial ports RTC test configurations data packet;
During test signal is transmitted through the PLC main control module group to be measured, test corresponding with the test item is obtained Data, comprising:
The first RTC clock is written by the to be measured PLC main control module of the serial communication in the PLC main control module group to be measured Information;
The PLC main control module to be measured in the PLC main control module group to be measured is read by setting delay by serial communication The second RTC clock information after time;The test data includes the first RTC clock information and second RTC clock Information.
10. according to the method described in claim 9, it is characterized in that, being determined and the test item pair based on the test data The test result answered, comprising:
Calculate the time difference between the second RTC clock information and the first RTC clock information;
The difference between the time difference and the setting delay time is calculated, testing time error amount is obtained;
The size relation for comparing the testing time error amount and preset time error amount, according to size relation determination Test result.
11. a kind of PLC main control module test device, which is characterized in that described device includes:
Configuration data packet sending module for obtaining test item, and is based on the test item, sends out to PLC main control module group to be measured Data packet is set in delivery, and the configuration data packet is corresponding with the test item for entering the PLC main control module group to be measured Test pattern;The PLC main control module group to be measured includes at least two PLC main control modules to be measured;
Test data obtain module, for test signal transmit through the PLC main control module group to be measured during, obtain and The corresponding test data of the test item;
Test data analysis module determines test result corresponding with the test item for being based on the test data.
12. a kind of PLC main control module test macro, which is characterized in that the system comprises:
At least two module communication modules to be measured, each module communication module to be measured are connect with PLC main control module to be measured;Extremely A few module communication module to be measured is connect with host computer, and the module communication module to be measured is by the test of the host computer Signal is transmitted to the PLC main control module to be measured, the test item signal for make the PLC main control module to be measured enter with The corresponding test pattern of the test item;
The test data of the PLC main control module to be measured is uploaded to the host computer via the module communication module to be measured;By Test data and corresponding relevant test data of the host computer based on the PLC main control module to be measured, it is determining with it is described The corresponding test result of test item;The relevant test data includes the string of the host computer Yu the PLC main control module to be measured Port communications data, or setting data corresponding with the test data of the PLC main control module to be measured.
13. system according to claim 12, which is characterized in that each module communication module to be measured includes: mutual The floor module and network electric power module of connection;
The floor module is connect with the PLC main control module to be measured, for providing power chain for the PLC main control module to be measured Road and communication link;
The network electric power module is connect with the floor module and the host computer respectively, for being the PLC master control to be measured Module provides power supply, and provides the interface communicated with the host computer for the PLC main control module to be measured.
14. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 10 the method when executing the computer program.
15. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claims 1 to 10 is realized when being executed by processor.
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 true CN110083141A (en) 2019-08-02
CN110083141B 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)

Cited By (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
CN114967643A (en) * 2022-05-06 2022-08-30 中国电子信息产业集团有限公司第六研究所 Testing method and device for space launching field control system and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102185738A (en) * 2011-05-13 2011-09-14 迈普通信技术股份有限公司 Communication equipment hardware host testing system and testing method
KR20120089931A (en) * 2010-12-27 2012-08-16 주식회사 포스코아이씨티 Automatic system comprising apparatus for communication interlock
CN103235593A (en) * 2013-04-22 2013-08-07 国电南瑞科技股份有限公司 System and method for automatically testing main control hardware of fan on basis of PLC (Programmable Logic Controller)
CN205301993U (en) * 2015-12-22 2016-06-08 新疆金风科技股份有限公司 Programmable logic controler module testing platform
CN106094804A (en) * 2016-07-18 2016-11-09 中国电子信息产业集团有限公司第六研究所 A kind of cross-platform PLC plate level frock based on QT test system and method for testing thereof
CN106680578A (en) * 2017-02-22 2017-05-17 中国电子信息产业集团有限公司第六研究所 High-precision PLC analog quantity output module tool testing method and system
CN108267674A (en) * 2018-01-04 2018-07-10 广州金升阳科技有限公司 System is tested in a kind of comprehensive automation
CN108693825A (en) * 2018-04-23 2018-10-23 西门子工厂自动化工程有限公司 The detection method and device of PLC input/output modules
CN208044396U (en) * 2018-02-14 2018-11-02 中国人民解放军第四三二八工厂 For the measurement and control system of supply vehicle and including its supply vehicle
CN109582571A (en) * 2018-11-16 2019-04-05 深圳和而泰小家电智能科技有限公司 On-line debugging method, apparatus, debugging slave, debugging host and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120089931A (en) * 2010-12-27 2012-08-16 주식회사 포스코아이씨티 Automatic system comprising apparatus for communication interlock
CN102185738A (en) * 2011-05-13 2011-09-14 迈普通信技术股份有限公司 Communication equipment hardware host testing system and testing method
CN103235593A (en) * 2013-04-22 2013-08-07 国电南瑞科技股份有限公司 System and method for automatically testing main control hardware of fan on basis of PLC (Programmable Logic Controller)
CN205301993U (en) * 2015-12-22 2016-06-08 新疆金风科技股份有限公司 Programmable logic controler module testing platform
CN106094804A (en) * 2016-07-18 2016-11-09 中国电子信息产业集团有限公司第六研究所 A kind of cross-platform PLC plate level frock based on QT test system and method for testing thereof
CN106680578A (en) * 2017-02-22 2017-05-17 中国电子信息产业集团有限公司第六研究所 High-precision PLC analog quantity output module tool testing method and system
CN108267674A (en) * 2018-01-04 2018-07-10 广州金升阳科技有限公司 System is tested in a kind of comprehensive automation
CN208044396U (en) * 2018-02-14 2018-11-02 中国人民解放军第四三二八工厂 For the measurement and control system of supply vehicle and including its supply vehicle
CN108693825A (en) * 2018-04-23 2018-10-23 西门子工厂自动化工程有限公司 The detection method and device of PLC input/output modules
CN109582571A (en) * 2018-11-16 2019-04-05 深圳和而泰小家电智能科技有限公司 On-line debugging method, apparatus, debugging slave, debugging host and system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
戴建利: "《风电场嵌入式PLC系统的自动测试设计与实现》", 《中国优秀硕士学位论文全文数据库工程科技II辑》 *
杨杰君: "《MW级风力发电机组PLC平台可靠性设计》", 《中国优秀硕士学位论文全文数据库工程科技II辑》 *
陈雄姿: "《嵌入式软PLC模块自动测试系统的设计与实现》", 《中国优秀硕士学位论文全文数据库工程科技II辑》 *

Cited By (3)

* 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
CN114967643A (en) * 2022-05-06 2022-08-30 中国电子信息产业集团有限公司第六研究所 Testing method and device for space launching field control system and storage medium
CN114967643B (en) * 2022-05-06 2024-05-14 中国电子信息产业集团有限公司第六研究所 Method and device for testing spaceflight launching field control system and storage medium

Also Published As

Publication number Publication date
CN110083141B (en) 2021-06-08

Similar Documents

Publication Publication Date Title
CN110032134A (en) Plc communication module test method, device, system and computer equipment
CN110083141A (en) PLC main control module test method, device, system and computer equipment
CN109947087A (en) PLC input/output module test method, device, system and computer equipment
JP5243538B2 (en) Method for testing a mobile radio device
CN108848324A (en) The binding method of mosaic screen and video port, device and splicing screen display system
US11693998B2 (en) Method for providing a real-time-capable simulation for control unit development, and simulation device for control unit development
CN109933535A (en) Generation method, device and the server of test case
CN109408370A (en) Interface testing document generating method, device, computer equipment and storage medium
CN106443421A (en) Automatic clock frequency measurement and calibration system and method
CN108279910A (en) Program code programming method, apparatus, computer equipment and storage medium
CN106406266A (en) Method used for simulating device controlled by nuclear power plant DCS system
CN110398375A (en) Monitoring method, device, equipment and the medium of cooling system of vehicle working condition
CN109543073A (en) Enterprise's supply and marketing relation map generation method, device and computer equipment
CN115384017A (en) Injection molding production debugging system and method
CN110430431A (en) Video encoding/decoding method, chip, device, computer equipment and storage medium
CN110365649A (en) Data transmission method, data insertion equipment, data output apparatus and system
CN106951184A (en) A kind of Bluetooth address generation method
CN109376116B (en) The construction method and chip node of the topological structure of chip network
CN116663490A (en) Verification method, platform, device and medium of asynchronous memory chip
CN110334071A (en) Attribute configuration method, device and the computer equipment of log4j log frame
CN110473586A (en) A kind of replacement method that writing failed storage unit, device, equipment and storage medium
CN112926136B (en) Ship body water gauge modeling system and method
US20110252169A1 (en) Method for Data Exchange
CN117632193B (en) Program burning system for processor chip
CN102132528B (en) Communication system and interface device for a communication system

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