CN116296326A - Key function detection system and method for numerical control system - Google Patents

Key function detection system and method for numerical control system Download PDF

Info

Publication number
CN116296326A
CN116296326A CN202310177123.1A CN202310177123A CN116296326A CN 116296326 A CN116296326 A CN 116296326A CN 202310177123 A CN202310177123 A CN 202310177123A CN 116296326 A CN116296326 A CN 116296326A
Authority
CN
China
Prior art keywords
control system
numerical control
detection
detected
key
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.)
Pending
Application number
CN202310177123.1A
Other languages
Chinese (zh)
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.)
Tengzhou Huashu Intelligent Manufacturing Research Institute
Shandong Huashu Intelligent Technology Co ltd
Original Assignee
Tengzhou Huashu Intelligent Manufacturing Research Institute
Shandong Huashu Intelligent Technology 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 Tengzhou Huashu Intelligent Manufacturing Research Institute, Shandong Huashu Intelligent Technology Co ltd filed Critical Tengzhou Huashu Intelligent Manufacturing Research Institute
Priority to CN202310177123.1A priority Critical patent/CN116296326A/en
Publication of CN116296326A publication Critical patent/CN116296326A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M13/00Testing of machine parts
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/327Testing of circuit interrupters, switches or circuit-breakers
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention provides a key function detection system of a numerical control system, which comprises: the system comprises a master control unit, a numerical control system to be tested, an operation unit and a detection unit, wherein the operation unit and the detection unit are used for fixing the numerical control system to be tested, the master control unit is respectively in communication connection with the numerical control system to be tested and the detection unit, and is used for acquiring model information of the numerical control system to be tested, generating a corresponding detection control instruction according to the model information of the numerical control system to be tested, and sending the generated detection control instruction to the detection unit; the invention further provides a method for detecting the key function of the numerical control system, which effectively solves the problems of low detection efficiency and low reliability of the key function of the numerical control system caused by the prior art, and effectively improves the detection efficiency and the reliability of the key function of the numerical control system.

Description

Key function detection system and method for numerical control system
Technical Field
The invention relates to the fields of numerical control system data acquisition automation and robot control application, in particular to a numerical control system key function detection system and method.
Background
More and more manufacturing enterprises put higher demands on the quality of products of a digital control system, wherein the stability and reliability of the quality of system keys are an important part of the manufacturing enterprises.
In the traditional key function detection, manual key test is usually carried out manually, whether the system interface has a reaction or not is observed to judge whether the key function is normal or not, the process means a great deal of boring repetition for detection personnel, fatigue is easy to generate, and the omission of individual keys of a product is easy to occur, so that the unpredictable risk of the whole quality of the product is caused; even in individual automatic detection, corresponding detection cannot be performed according to different numerical control system product models, so that the detection efficiency and reliability of the numerical control system key function are low.
Disclosure of Invention
In order to solve the problems in the prior art, the invention innovatively provides a system and a method for detecting the key functions of a numerical control system, which effectively solve the problems of low detection efficiency and low reliability of the key functions of the numerical control system caused by the prior art, and effectively improve the detection efficiency and the reliability of the key functions of the numerical control system.
The first aspect of the present invention provides a key function detection system of a numerical control system, comprising: the master control unit is respectively in communication connection with the numerical control system to be detected and the detection unit, and is used for acquiring model information of the numerical control system to be detected, generating a corresponding detection control instruction according to the model information of the numerical control system to be detected, sending the generated detection control instruction to the detection unit, and acquiring key value data of keys of the numerical control system to be detected in real time according to the detection unit to generate a detection result; the detection unit selects corresponding key detection track actions according to the type information of the to-be-detected system contained in the detection control instruction after receiving the detection control instruction, clicks keys of the to-be-detected numerical control system one by one after selecting the key detection track actions corresponding to the type information of the to-be-detected system, acquires key value data of the to-be-detected numerical control system in real time, and sends the key value data of the to-be-detected numerical control system acquired in real time to the master control unit.
Optionally, the master control unit comprises a control module and an industrial switch, and the control module is respectively in communication connection with the numerical control system to be tested and the detection unit through the industrial switch.
Further, the master control unit further comprises a power supply module, and the power supply output end of the power supply module is connected with the power supply input ends of the control module, the industrial switch and the detection unit respectively.
Optionally, the operation unit includes operation platform, locating plate, the protection casing that is used for placing the numerical control system that awaits measuring, place the locating plate that corresponds with the numerical control system model that awaits measuring on the operation platform, the locating plate includes the locating hole, the protection casing passes through locating pin card fixed connection in the locating hole of locating plate for the screen area of the numerical control system that awaits measuring is protected in the testing process.
Further, the operation platform further comprises an indicator light module and an external control button module, wherein the indicator light module is arranged on one side, close to the robot, of the operation platform and is in communication connection with a signal output end of the robot, and is used for carrying out feedback display on the detection condition of a numerical control system product to be detected; the external control button module comprises a detection starting button and an external scram button, wherein the detection starting button is used for clicking the detection starting button after the main control unit confirms the model information of the numerical control system to be detected, and the detection unit starts to detect the numerical control system to be detected; and the external scram button is used for timely operating the detection unit to stop the detection of the numerical control system to be detected after the detection unit is abnormal.
Optionally, the detection unit includes a robot, the robot is used for executing the pressing action of the key of the numerical control system to be detected, after receiving the model information of the system to be detected included in the detection control instruction sent by the master control unit, selecting a corresponding detection track action of the key of the robot according to the model information of the system to be detected included in the detection control instruction, after selecting the detection track action of the key of the robot corresponding to the model information of the system to be detected, waiting for a start detection button signal of the operation platform, after receiving the start detection button signal of the operation platform, the robot clicks the keys of the numerical control system to be detected one by one, and the master control unit acquires key value data of the key of the numerical control system to be detected according to the robot in real time to generate a detection result.
Further, the general control unit acquires key value data of keys of the numerical control system to be detected in real time according to the robot to generate a detection result specifically as follows:
the master control unit compares and analyzes the key value data to be detected of the numerical control system to be detected, which is acquired by the robot in real time, with the template data of the key value to be detected, which corresponds to the model of the numerical control system to be detected, and if the key value data to be detected is completely consistent with the template data of the key value to be detected, the key function of the numerical control system to be detected is qualified; if the key values are not completely consistent, the numerical control system to be tested is not qualified, the missing key values or inconsistent key values are marked, and the key values are automatically recorded into a corresponding key function detection result database of the numerical control system to be tested.
Optionally, the detection unit further comprises a bar code scanning gun, and the bar code scanning gun is in communication connection with the master control unit and is used for acquiring model information of the numerical control system to be detected by scanning a bar code of the numerical control system to be detected in a radio frequency mode.
Optionally, the system further comprises a storage unit, wherein the storage unit comprises an undetected numerical control system placing area and a detected numerical control system placing area.
The second aspect of the present invention provides a method for detecting a key function of a numerical control system, which is implemented on the basis of the key function detection system of the first aspect of the present invention, and includes:
the general control unit acquires model information of the numerical control system to be detected, and generates a corresponding detection control instruction according to the model information of the numerical control system to be detected;
the detection unit selects corresponding key detection track actions according to the type information of the system to be detected contained in the received detection control instruction and the type information of the system to be detected contained in the detection control instruction, waits for start detection button signals of the operation platform after selecting the key detection track actions corresponding to the type information of the system to be detected, clicks keys of the numerical control system to be detected one by one after receiving the start detection button signals of the operation platform, acquires key value data of the keys of the numerical control system to be detected in real time, and sends the key value data of the keys of the numerical control system to be detected acquired in real time to the master control unit;
And the master control unit acquires key value data of the key of the numerical control system to be detected in real time according to the robot to generate a detection result.
The technical scheme adopted by the invention comprises the following technical effects:
1. the general control unit acquires model information of the numerical control system to be detected, generates a corresponding detection control instruction according to the model information of the numerical control system to be detected, and sends the generated detection control instruction to the detection unit; the detection unit detects the numerical control system to be detected according to the received detection control instruction, so that the problems that the key function detection efficiency and the reliability of the numerical control system are low due to the prior art are effectively solved, and the key function detection efficiency and the reliability of the numerical control system are effectively improved.
2. According to the technical scheme, the robot selects the corresponding robot key detection track action according to the type information of the to-be-detected system contained in the detection control instruction, after the robot key detection track action corresponding to the type information of the to-be-detected system is selected, the robot clicks the to-be-detected numerical control system keys one by one, key value data of the to-be-detected numerical control system are collected in real time, a detection result is generated according to the key value data of the to-be-detected numerical control system collected in real time, the key motion track during robot detection corresponds to the type of the to-be-detected numerical control system one by one, and the detection reliability is improved.
3. According to the technical scheme, the robot compares and analyzes key value data to be detected of the numerical control system to be detected, which are acquired in real time, with key value template data to be detected, which correspond to the model of the numerical control system to be detected, and if the key value template data to be detected are completely consistent with the model of the numerical control system to be detected, the key functions of the numerical control system to be detected are qualified; if the key function detection data are not completely consistent, the numerical control system to be detected is unqualified, missing or inconsistent key values are marked, the key function detection data are automatically recorded into a corresponding key function detection result database of the numerical control system to be detected, the authenticity and traceability of the key function detection data of each numerical control system to be detected are ensured, the risk that the missing of the manual key function detection is likely to occur is effectively avoided, and the working intensity of detection personnel is also reduced.
4. The operation unit comprises an operation platform for placing the numerical control system to be tested, a positioning plate and a protective cover, wherein the operation platform is provided with the positioning plate corresponding to the type of the numerical control system to be tested, the positioning plate comprises a positioning hole, the protective cover is fixedly connected in the positioning hole of the positioning plate through a positioning pin and is used for protecting a screen area of the numerical control system to be tested in the detection process, the customized positioning mode enables the operation platform to be flexibly suitable for detection of the numerical control system of various types in hardware, and the matched protective cover ensures the safety of the screen in the detection process.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention as claimed.
Drawings
For a clearer description of embodiments of the invention or of the solutions of the prior art, reference will be made to the accompanying drawings, which are used in the description of the embodiments or of the prior art, and it will be obvious to those skilled in the art that other drawings can be obtained from these without inventive labour.
FIG. 1 is a diagram showing the distribution of units in a system overall structure according to an embodiment of the present invention;
FIG. 2 is a front view showing the overall structure of a system according to an embodiment of the present invention;
FIG. 3 is a top view of the overall structure of a system according to an embodiment of the present invention;
FIG. 4 is a right side view of the overall structure of a system according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a system according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a key function test tool software interface of the present invention;
fig. 7 is a schematic flow chart of a second method in the embodiment of the invention.
Detailed Description
In order to clearly illustrate the technical features of the present solution, the present invention will be described in detail below with reference to the following detailed description and the accompanying drawings. The following disclosure provides many different embodiments, or examples, for implementing different structures of the invention. In order to simplify the present disclosure, components and arrangements of specific examples are described below. Furthermore, the present invention may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. It should be noted that the components illustrated in the figures are not necessarily drawn to scale. Descriptions of well-known components and processing techniques and processes are omitted so as to not unnecessarily obscure the present invention.
Example 1
As shown in fig. 1 to 6, the present invention provides a system for detecting key functions of a numerical control system, including: the system comprises a main control unit 1, a numerical control system to be tested (not shown in the figure), a working unit 2 for fixing the numerical control system to be tested, a detection unit 3 and a storage unit (shown in the figure), wherein the storage unit comprises an undetected numerical control system placement area 5 and a detected numerical control system placement area 4, the main control unit 1 is respectively in communication connection with the numerical control system to be tested and the detection unit 3, is used for acquiring model information of the numerical control system to be tested, generating a corresponding detection control instruction according to the model information of the numerical control system to be tested, transmitting the generated detection control instruction to the detection unit 3, and acquiring key value data of the numerical control system to be tested in real time according to the detection unit 3 to generate a detection result; the detection unit 3 selects corresponding key detection track actions according to the type information of the to-be-detected system contained in the detection control instruction after receiving the detection control instruction, clicks keys of the to-be-detected numerical control system one by one after selecting the key detection track actions corresponding to the type information of the to-be-detected system, acquires key value data of the to-be-detected numerical control system in real time, and sends the key value data of the to-be-detected numerical control system acquired in real time to the master control unit 1.
The master control unit 1 includes a control module 6 (a conventional computer configuration 6, preloaded with a Windows10 operating system, deployed with a key function testing tool software), and an industrial switch (not shown in the figure, the number of LAN ports is not less than 4), where the control module 6 is respectively in communication connection with the numerical control system to be tested and the detection unit 3 through the industrial switch. Further, the master control unit 1 further comprises a set of desk and chair 7, a bull socket (not shown in the figure), etc. The control module 6, the industrial switch and the detection unit 3 are powered by commercial power of AC220V connected with a bull socket. The industrial switch is used for carrying out network communication connection among a tested numerical control system (a numerical control system to be tested), a computer host (namely a control module 6) deployed with key function testing tool software and the detection unit 3, and the key function testing tool software and a matched database are deployed on the computer to carry out interaction of data of the numerical control system to be tested and data in the detection unit.
The operation unit 2 comprises an operation platform 8, a positioning plate (positioned right below a numerical control system to be tested) 9, a protective cover 10, a power socket 17, a network port socket 16, an indication module 11 and an external control button module 12; the detection unit 3 comprises a robot base 13, a robot 14 and a bar code scanning gun 15. The operation platform 8 is provided with a locating plate 9 corresponding to the model of the numerical control system to be detected, the locating plate comprises a locating hole (not shown in the figure), and the protective cover is fixedly connected in the locating hole of the locating plate through a locating pin and is used for protecting the screen area of the numerical control system to be detected in the detection process.
Further, the operation platform 8 further comprises an indicator light module 11 and an external control button module 12, wherein the indicator light module 11 is arranged on one side of the operation platform 8 close to the robot 14, is in communication connection with a signal output end of the robot 14, and is used for carrying out feedback display on the detection condition of a numerical control system product to be detected; the external control button module 12 comprises a detection start button and an external scram button, wherein the detection start button is used for clicking the detection start button after the main control unit 1 confirms the model information of the numerical control system to be detected, and the detection unit 3 starts to detect the numerical control system to be detected; the external emergency stop button is used for timely operating the detection unit 3 to stop the detection of the numerical control system to be detected after the detection unit 3 is abnormal.
In this embodiment, the power strip (i.e. the power module in the master control unit) may be directly connected to AC220V mains supply, and power may be supplied to the power socket 17 on the operation unit 2 through the power strip. The industrial exchanger of the master control unit 1 is respectively connected with a network port of a control module deployed with key function testing tool software, a network port socket 16 of the operation unit 2, a LAN port of a robot IPC controller in the detection unit 3 and the other end of a network butt joint connected with a robot demonstrator butt joint network port through a network cable, and a USB port of the control module (a computer host) is connected with a bar code scanning gun 15 through a data cable; the robot electric control cabinet IO module of the detection unit 3 is in signal connection with the detection start button and the external emergency stop button on the indicator lamp module 11 and the external control button module 12; the operation unit 2 is fixed after being replaced by a custom positioning plate 9 for detecting the numerical control system and is ready for a corresponding matched protective cover 10 so as to prepare hardware before detection.
Wherein, work platform 8 is a fixed position and places the platform of awaiting measuring numerical control system, put on the platform bracket and put locating plate 9 (stainless steel material, upper surface cladding antistatic rubber pad) according to the customization of system model, on the numerical control system placed locating plate 9 and right side up in the testing process, use the protection casing 10 that forms a complete set with locating plate 9 to protect the screen part region of numerical control system, and leave an opening and let button part leak out in the guard area (open-ended size needs to consult the size of robot press the size of tool to design), this protection casing 10 passes through the locating pin card in the locating hole of locating plate 9, fix self position. After the position is fixed, the system power supply is connected and the industrial switch of the master control unit 1 is connected through a network cable, the numerical control system is electrified and is in communication connection with the control module, and then the preparation work of the operation unit 2 before the start is finished. The indicator light module 11 can be a three-color light, is arranged on one side of the operation platform 8 close to the robot 14, is in communication connection with the information output end of the robot 14, and can be turned on to give an alarm when the numerical control product to be detected is unqualified or the equipment is in error; the detection start button and the external scram button on the external control button module 12 are arranged on one side of the operation platform 8 close to a person, and after the model of the numerical control system to be detected is confirmed and is ready on the key function testing tool software on the control module, the detection start button is clicked, and the robot 14 starts a detection process; the external emergency stop button is convenient for a person to operate and stop the movement of the robot 14 in time after the abnormality of the robot 14 occurs.
The detection unit 3 is 1 robot, can carry out the demarcation of instrument coordinate system, and the terminal tool of pressing of robot is made for polyurethane youli gum cowhells stick customization, and when the action of pressing is carried out to robot 14, this tool of pressing is perpendicular to button contact surface and is slowed down when pressing, and the speed is exited after accomplishing the action of pressing. The keys of the numerical control system to be tested are protected by optimizing the end pressing jig and track actions of the robot 14. After the robot 14 receives the key function test tool software on the control module to send the model of the tested system and detect the signal of the start button, the signal lamp of the start button is controlled to be on, after the robot 14 is started, the green lamp of the three-color lamp is controlled to be on, after the detection action is completed and the code of the completion is sent to the key function test tool software on the control module, the signal lamp of the start button is controlled to be off, the yellow lamp in the three-color lamp is controlled to be on, the rest lamps are turned off, after the unqualified or scram button is received, the signal lamp of the start button is controlled to be off, the red lamp in the three-color lamp is controlled to be on, and the rest lamps are controlled to be off.
The relative positions and relative distances of the working unit 2 and the detecting unit 3 need to be maintained (the relative distances need to be customized and adjusted according to the travel range of the selected robot model).
Specifically, the detection unit 3 includes a robot 14 disposed on a robot base 13, the robot 13 is configured to perform a pressing action of a key of the to-be-detected numerical control system, and after receiving the to-be-detected system model information included in the detection control instruction sent by the master control unit 1, select a corresponding robot key detection track action according to the to-be-detected system model information included in the detection control instruction, wait for a start detection button signal of the operation platform 8 after selecting the robot key detection track action corresponding to the to-be-detected system model information, after receiving the start detection button signal of the operation platform 8, the robot will click on a measured numerical control system key one by one, collect key value data of the to-be-detected numerical control system key in real time, and send the collected key value data of the to-be-detected numerical control system key to the master control unit 1, and the master control unit 1 generates a detection result according to the real-time collected key value data of the key value of the to-be-detected numerical control system key by the robot. The method for acquiring the key value data of the key of the numerical control system to be detected in real time specifically comprises the following steps: the robot 14 jumps to a corresponding robot subroutine according to a first R register value corresponding to the model of the tested numerical control system and a second R register value represented by a confirmation signal of the model of the tested numerical control system, which are sent by the key function testing tool software, the robot key detection track action corresponding to the subroutine is a subroutine of programming and teaching the type numerical control system in advance, the robot sends the robot after executing the action of the subroutine to a third R register value corresponding to the key function testing tool software 1, the third R register value represents a fixed meaning, that is, all track detection actions of the tested numerical control system are completed by the robot 14 (the third R register values sent by the robot subroutines corresponding to the other models of numerical control systems are consistent), and after the third R register value signal is detected by the key function detection tool, the robot 14 is controlled to acquire all triggered system key values in the time from the start to the third R register value signal trigger.
Specifically, the general control unit 1 collects key value data of the key of the numerical control system to be tested in real time according to the robot 14 to generate a detection result specifically as follows:
the master control unit 1 compares and analyzes the key value data to be tested of the numerical control system to be tested, which is acquired by the robot 14 in real time, with the key value template data to be tested, which is corresponding to the model of the numerical control system to be tested and is preset (a database stored in a computer host), and if the key value template data to be tested is completely consistent, the key function of the numerical control system to be tested is qualified; if the key values are not completely consistent, the numerical control system to be tested is not qualified, the missing key values or inconsistent key values are marked, and the key values are automatically recorded into a corresponding key function detection result database of the numerical control system to be tested.
Specifically, the robot 14 collects all the triggered key values of the system in the time from the start to the triggering of the third R register value signal in real time, compares the key values with all the original key values of the model number numerical control system in the key function detection tool database, if all the key values are consistent, identifies qualified in the system detection result, if the key values are different, selects all the key values with missing keys in the database corresponding to the original key values of the model number numerical control system, and displays the key names and detection time corresponding to the missing key values in an abnormal result area, wherein the detection results are distributed to a corresponding log storage database (a computer host).
Specifically, before detecting the detected numerical control system, the selection mode of the model of the numerical control system to be detected needs to be confirmed on the key function testing tool software on the control module, if the detection is spot check or individual detection, the selection mode is clicked, a drop-down frame behind the model of the detection system is clicked, the model of the numerical control system to be detected is selected, single start is clicked, and at the moment, the key function testing tool sends the model of the detected system of the robot 14 and a detection start confirmation signal; if the detection is continuous in batches, clicking continuous start, then scanning the factory number bar code of the tested numerical control system by using a bar code scanning gun 15, automatically brushing the tested numerical control system model after detecting the tested numerical control system model to determine the model of the tested numerical control system, and sending a key function testing tool software to the robot 14 to test the tested numerical control system model and a detection start confirmation signal (after the second time, the detected system does not need clicking continuous start any more, and the corresponding signal data can be sent to the robot 14 after sweeping the key function testing tool software by using the bar code scanning gun 15).
And taking out the to-be-detected numerical control system in the non-detection numerical control system placement area 5, connecting the to-be-detected numerical control system by using a power line and a network cable, placing the to-be-detected numerical control system on the operation platform 8 to finish positioning and protecting the protective cover 10, and respectively inserting the power line and the network cable connected with the to-be-detected numerical control system into a power socket 17 and a network port socket 16 of the operation unit 2. Setting a local IP address of a computer host (control module), an IP address of a robot controller and an IP address of a robot demonstrator in a master control unit 1, enabling the computer host, a tested numerical control system and the IP address of the robot controller to be in the same network segment, respectively filling target IPs and ports of the tested numerical control system and the robot controller in key function test tool software communication parameters, clicking connection, turning green a connection button to indicate that communication is connected, automatically connecting after removing a network cable, clicking a disconnection button if automatic connection is not required, and displaying red to indicate that communication is kept disconnected. And then confirming a storage path of the log according to the self requirement, storing all detection results in the storage content range after the storage content range is selected for storage, and finally, knowing the quality detection conditions of all products only by searching data through folders in the log storage path.
If the detection is the first detection, the robot 14 can be started, an automatic gear is selected first, then a main program for detecting the numerical control system to be detected is loaded, and finally the enabling is started and the robot program is started. The direction of the protective cover 10 is adjusted, the protective cover 10 is placed according to the position of the positioning pin hole of the positioning plate 9 on the operation unit 2, and finally the protective cover 10 is confirmed to be placed in place.
Clicking a detection start button on the external control button module 12, after receiving an IO input signal of the detection start button, the robot 14 sends a first R register value corresponding to the model of the tested numerical control system to the robot 14 according to the key function test tool software in a main program, judges the first R register value and a second R register value represented by a model confirmation signal of the tested numerical control system, jumps to a corresponding robot subprogram according to the judging result, the robot detection track action corresponding to the subprogram is a subprogram for programming and teaching the type numerical control system in advance, the robot sends the robot after executing the action of the subprogram to a third R register value corresponding to the key function test tool 1, the third R register value represents a fixed meaning, namely the robot completes all track detection actions of the tested numerical control system (the third R register value corresponding to the rest models of the numerical control system is consistent), the key function test tool after detecting the third R register value signal, the robot can trigger all key function test tool values in a time period from starting to the third R register value signal, the key function test tool value is compared with a database when the key is detected, the key database is in a corresponding to the database, and the corresponding to the model is displayed when the key database is in a corresponding to the database is in a poor, and the result is displayed when the key is detected. Meanwhile, a fourth R register value with abnormal detection results is sent to the robot 14, the robot 14 controls the three-color lamp to turn on the red light after receiving the fourth R register value with abnormal results, the reset button on the button function testing tool software is clicked after the display of the problem button in the abnormal result area is confirmed manually, the button function testing tool clears the display of the abnormal result area and sends a reset fifth R register value to the robot, the robot controls the three-color lamp to turn on the yellow light after receiving the reset fifth R register value (in the process, the robot calls a subroutine by a RUN instruction, and the subroutine is only used for logic judgment to control the change of the three-color lamp according to the judgment on the R register value sent by the button function testing tool), and the judgment and the control are performed in real time. After the detection process is finished, the robot controls the detection start button lamp to be closed, then the system protective cover 10 is manually taken out, the power line and the network line of the tested numerical control system are disconnected, the system is taken out, and the detected system is put into the storage unit detection system placement area 4, so that the full process detection of the system keys is finished.
Preferably, the detecting unit 3 further comprises a bar code scanning gun 15, and the bar code scanning gun 15 is in communication connection with the master control unit 1 and is used for acquiring model information of the numerical control system to be detected by scanning a bar code of the numerical control system to be detected in a radio frequency mode. Specifically, the bar code scanning gun 15 is connected to the USB port of the control module in the master control unit 1, and in the radio frequency mode, the model of the detected numerical control system in the key function testing tool software on the control module can be refreshed by scanning the bar code of the numerical control system.
The general control unit acquires model information of the numerical control system to be detected, generates a corresponding detection control instruction according to the model information of the numerical control system to be detected, and sends the generated detection control instruction to the detection unit; the detection unit detects the numerical control system to be detected according to the received detection control instruction, so that the problems that the key function detection efficiency and the reliability of the numerical control system are low due to the prior art are effectively solved, and the key function detection efficiency and the reliability of the numerical control system are effectively improved.
According to the technical scheme, the robot selects the corresponding robot key detection track action according to the type information of the to-be-detected system contained in the detection control instruction, after the robot key detection track action corresponding to the type information of the to-be-detected system is selected, the robot clicks the to-be-detected numerical control system keys one by one, key value data of the to-be-detected numerical control system are collected in real time, a detection result is generated according to the key value data of the to-be-detected numerical control system collected in real time, the key motion track during robot detection corresponds to the type of the to-be-detected numerical control system one by one, and the detection reliability is improved.
According to the technical scheme, the robot compares and analyzes key value data to be detected of the numerical control system to be detected, which are acquired in real time, with key value template data to be detected, which correspond to the model of the numerical control system to be detected, and if the key value template data to be detected are completely consistent with the model of the numerical control system to be detected, the key functions of the numerical control system to be detected are qualified; if the key function detection data are not completely consistent, the numerical control system to be detected is unqualified, missing or inconsistent key values are marked, the key function detection data are automatically recorded into a corresponding key function detection result database of the numerical control system to be detected, the authenticity and traceability of the key function detection data of each numerical control system to be detected are ensured, the risk that the missing of the manual key function detection is likely to occur is effectively avoided, and the working intensity of detection personnel is also reduced.
The operation unit comprises an operation platform for placing the numerical control system to be tested, a positioning plate and a protective cover, wherein the operation platform is provided with the positioning plate corresponding to the type of the numerical control system to be tested, the positioning plate comprises a positioning hole, the protective cover is fixedly connected in the positioning hole of the positioning plate through a positioning pin and is used for protecting a screen area of the numerical control system to be tested in the detection process, the customized positioning mode enables the operation platform to be flexibly suitable for detection of the numerical control system of various types in hardware, and the matched protective cover ensures the safety of the screen in the detection process.
Example two
As shown in fig. 7, the technical scheme of the present invention further provides a method for detecting a key function of a numerical control system, which is implemented based on the key function detection system of the numerical control system in the first embodiment, and includes:
s1, a master control unit acquires model information of a numerical control system to be detected, and generates a corresponding detection control instruction according to the model information of the numerical control system to be detected;
s2, after the detection unit selects corresponding key detection track actions according to the type information of the system to be detected contained in the received detection control instruction and the type information of the system to be detected contained in the detection control instruction, after the key detection track actions corresponding to the type information of the system to be detected are selected, a start detection button signal of an operation platform is waited, after the start detection button signal of the operation platform is received, keys of the numerical control system to be detected are clicked one by one, key value data of the keys of the numerical control system to be detected are collected in real time, and the key value data of the keys of the numerical control system to be detected, which are collected in real time, are sent to a master control unit;
and S3, the master control unit acquires key value data of keys of the numerical control system to be detected in real time according to the robot to generate a detection result.
In step S1, the master control unit obtains model information of the to-be-measured numerical control system, and generates a corresponding detection control instruction according to the model information of the to-be-measured numerical control system.
In step S2, the robot in the detection unit is configured to perform a pressing action of a key of the to-be-detected numerical control system, and after receiving the model information of the to-be-detected system included in the detection control instruction sent by the master control unit, select a corresponding detection track action of the robot key according to the model information of the to-be-detected system included in the detection control instruction, and after selecting the detection track action of the robot key corresponding to the model information of the to-be-detected system, wait for a start detection button signal of the operation platform, after receiving the start detection button signal of the operation platform, the robot will click the keys of the to-be-detected numerical control system one by one, collect key value data of the keys of the to-be-detected numerical control system in real time, and send the key value data of the keys of the to-be-detected numerical control system to the master control unit in real time, where the key value data of the keys of the to-be-detected numerical control system is collected in real time specifically: the robot jumps to a corresponding robot subprogram according to a first R register value corresponding to the model of the tested numerical control system and a second R register value represented by a model confirmation signal of the tested numerical control system, wherein the action of a key detection track of the robot corresponding to the subprogram is a subprogram for programming and teaching the numerical control system in advance, the robot sends the robot to a third R register value corresponding to the key function testing tool software 1 after the action of the subprogram is executed, the third R register value represents a fixed meaning, namely, the robot completes all track detection actions of the tested numerical control system (the third R register values sent to key function detection tools by the subprograms of the robots corresponding to the other models of the numerical control system are consistent), and after the key function detection tool detects the third R register value signal, the robot is controlled to acquire all triggered system key values in real time within the time from the starting to the third R register value signal triggering.
In step S3, the master control unit collects key value data of the keys of the numerical control system to be tested in real time according to the robot to generate a detection result. Specifically, the general control unit collects key value data of keys of the numerical control system to be detected in real time according to the robot to generate a detection result specifically as follows:
the master control unit compares and analyzes the key value data to be detected of the numerical control system to be detected, which is acquired by the robot in real time, with the key value template data to be detected, which is corresponding to the model of the numerical control system to be detected and is preset (a database stored in a computer host), and if the key value template data to be detected is completely consistent with the model of the numerical control system to be detected, the key function of the numerical control system to be detected is qualified; if the key values are not completely consistent, the numerical control system to be tested is not qualified, the missing key values or inconsistent key values are marked, and the key values are automatically recorded into a corresponding key function detection result database of the numerical control system to be tested.
Specifically, the robot acquires all triggered key values of the system in the time from the start to the triggering of the third R register value signal in real time, compares the key values with all key values of the original numerical control system of the model in the key function detection tool database, identifies qualified in the system detection result if all the key values are consistent, selects all the key values of the database which are corresponding to the original key values of the model numerical control system and have missing if the key values have missing, and displays key names and detection time corresponding to the key values of the missing key values in an abnormal result area, wherein the detection results are distributed to a corresponding log storage database (a computer host).
Further, before step S1, that is, before the detected numerical control system is detected, the selection mode of the model of the numerical control system to be detected needs to be confirmed on the key function testing tool software on the control module, if the detection is spot check or individual detection, the selection mode is clicked, the drop-down frame behind the model of the detection system is clicked, the model of the numerical control system to be detected is selected, and single start is clicked, at this time, the key function detecting tool sends the model of the detected system of the robot and a detection start confirmation signal; if the detection is continuous in batches, clicking continuous start, then scanning a factory number bar code of the tested numerical control system by using a bar code scanning gun, automatically brushing out the model of the tested numerical control system after detecting the model of the tested numerical control system to determine the model of the tested numerical control system, and sending a key function testing tool software to the model of the tested numerical control system of the robot and a detection start confirmation signal (after the second time, the detected system does not need clicking continuous start any more, and corresponding signal data can be sent to the robot after sweeping the key function testing tool software by using the bar code scanning gun).
And taking out the to-be-detected numerical control system in the non-detection numerical control system placement area, connecting the to-be-detected numerical control system by using a power line and a network cable, and respectively inserting the power line and the network cable connected with the to-be-detected numerical control system into a power socket and a network port socket of an operation unit after the to-be-detected numerical control system is placed on the operation platform to complete positioning and protection of a protective cover. Setting a local IP address of a computer host (control module) in a master control unit, an IP address of a robot controller and an IP address of a robot demonstrator, enabling the computer host, a tested numerical control system and the IP address of the robot controller to be in the same network segment, respectively filling in target IPs and ports of the tested numerical control system and the robot controller in communication parameters of key function testing tool software, clicking connection, turning green a connection button to indicate that communication is connected, automatically connecting after a network cable is unplugged, clicking a disconnection button if automatic connection is not needed, and displaying red to indicate that communication is kept disconnected. And then confirming a storage path of the log according to the self requirement, storing all detection results in the storage content range after the storage content range is selected for storage, and finally, knowing the quality detection conditions of all products only by searching data through folders in the log storage path.
If the detection is the first detection, the robot can be started, an automatic gear is selected firstly, then a main program for detecting the numerical control system to be detected is loaded, and finally the enabling is started and the robot program is started. And adjusting the direction of the protective cover, placing according to the position of the positioning pin hole of the positioning plate on the operation unit, finally confirming that the protective cover is placed in place, detecting and preparing for debugging, and starting to detect (executing step S1).
In the detection process in step S2, a detection start button on an external control button module is clicked, after receiving an IO input signal of the detection start button, the robot sends a first R register value corresponding to a model of a tested numerical control system to the robot according to a key function testing tool software in a main program, and a second R register value represented by a model confirmation signal of the tested numerical control system, the detection track action of the robot corresponding to the subroutine is a subroutine of programming and teaching the type numerical control system in advance, the robot sends a third R register value corresponding to the key function testing tool 1 after executing the subroutine, the third R register value represents a fixed meaning, that is, all track detection actions of the tested numerical control system are completed by the robot (the third R register values sent to the key function testing tools of the robot corresponding to the other models of numerical control systems are consistent), and the key function testing tool controls the robot to trigger all key values of a key trigger time period from starting to the third R register after detecting the third R register value signal.
In step S3, the master control unit compares all the triggered system key values in the time from the start to the triggering of the third R register value signal acquired by the robot in real time with all the original key values of the model numerical control system in the key function detection tool database, if all the key values are consistent, the system key values are identified to be qualified in the system detection result, if the key values are different, all the key values with missing keys corresponding to the original model numerical control system in the database are selected, the key names and the detection time corresponding to the missing key values are displayed in an abnormal result area, and the detection results are distributed to the corresponding log storage database. Meanwhile, a fourth R register value with abnormal detection results is sent to the robot, the robot controls the three-color lamp to turn on a red lamp after receiving the fourth R register value with abnormal results, the button function detection tool clicks a reset button on the button function detection tool software after manually confirming the display of the problem button of the abnormal result area, the button function detection tool can empty the display of the abnormal result area and send a reset fifth R register value to the robot, the robot controls the three-color lamp to turn on a yellow lamp after receiving the reset fifth R register value (in the process, the robot calls a subprogram with RUN instructions only for logic judgment, and the subprogram is used for controlling the change of the three-color lamp according to the judgment of the R register value sent by the button function detection tool), and the judgment and the control are performed in real time). After the detection process is finished, the robot controls the detection start button lamp to be closed, then the system protective cover is manually taken out, the power line and the network line of the tested numerical control system are disconnected, the system is taken out, and the detected system is put into the storage unit detection system placement area, so that the whole process detection of the system keys is finished.
The general control unit acquires model information of the numerical control system to be detected, generates a corresponding detection control instruction according to the model information of the numerical control system to be detected, and sends the generated detection control instruction to the detection unit; the detection unit detects the numerical control system to be detected according to the received detection control instruction, so that the problems that the key function detection efficiency and the reliability of the numerical control system are low due to the prior art are effectively solved, and the key function detection efficiency and the reliability of the numerical control system are effectively improved.
According to the technical scheme, the robot selects the corresponding robot key detection track action according to the type information of the to-be-detected system contained in the detection control instruction, after the robot key detection track action corresponding to the type information of the to-be-detected system is selected, the robot clicks the to-be-detected numerical control system keys one by one, key value data of the to-be-detected numerical control system are collected in real time, a detection result is generated according to the key value data of the to-be-detected numerical control system collected in real time, the key motion track during robot detection corresponds to the type of the to-be-detected numerical control system one by one, and the detection reliability is improved.
According to the technical scheme, the robot compares and analyzes key value data to be detected of the numerical control system to be detected, which are acquired in real time, with key value template data to be detected, which correspond to the model of the numerical control system to be detected, and if the key value template data to be detected are completely consistent with the model of the numerical control system to be detected, the key functions of the numerical control system to be detected are qualified; if the key function detection data are not completely consistent, the numerical control system to be detected is unqualified, missing or inconsistent key values are marked, the key function detection data are automatically recorded into a corresponding key function detection result database of the numerical control system to be detected, the authenticity and traceability of the key function detection data of each numerical control system to be detected are ensured, the risk that the missing of the manual key function detection is likely to occur is effectively avoided, and the working intensity of detection personnel is also reduced.
The operation unit comprises an operation platform for placing the numerical control system to be tested, a positioning plate and a protective cover, wherein the operation platform is provided with the positioning plate corresponding to the type of the numerical control system to be tested, the positioning plate comprises a positioning hole, the protective cover is fixedly connected in the positioning hole of the positioning plate through a positioning pin and is used for protecting a screen area of the numerical control system to be tested in the detection process, the customized positioning mode enables the operation platform to be flexibly suitable for detection of the numerical control system of various types in hardware, and the matched protective cover ensures the safety of the screen in the detection process.
While the foregoing description of the embodiments of the present invention has been presented in conjunction with the drawings, it should be understood that it is not intended to limit the scope of the invention, but rather, it is intended to cover all modifications or variations within the scope of the invention as defined by the claims of the present invention.

Claims (10)

1. A key function detection system of a numerical control system is characterized by comprising: the system comprises a master control unit, a numerical control system to be detected, an operation unit and a detection unit, wherein the operation unit and the detection unit are used for fixing the numerical control system to be detected, the master control unit is respectively in communication connection with the numerical control system to be detected and the detection unit, and is used for acquiring model information of the numerical control system to be detected, generating a corresponding detection control instruction according to the model information of the numerical control system to be detected, sending the generated detection control instruction to the detection unit, and acquiring key value data of the numerical control system to be detected in real time according to the detection unit to generate a detection result; the detection unit selects corresponding key detection track actions according to the type information of the to-be-detected system contained in the detection control instruction after receiving the detection control instruction, clicks keys of the to-be-detected numerical control system one by one after selecting the key detection track actions corresponding to the type information of the to-be-detected system, acquires key value data of the to-be-detected numerical control system in real time, and sends the key value data of the to-be-detected numerical control system acquired in real time to the master control unit.
2. The key function detection system of the numerical control system according to claim 1, wherein the master control unit comprises a control module and an industrial switch, and the control module is respectively in communication connection with the numerical control system to be detected and the detection unit through the industrial switch.
3. The numerical control system key function detection system according to claim 2, wherein the master control unit further comprises a power module, and a power output end of the power module is connected with a power input end of the control module, the industrial switch and the detection unit respectively.
4. The numerical control system key function detection system according to claim 1, wherein the operation unit comprises an operation platform for placing the numerical control system to be detected, a positioning plate and a protective cover, the operation platform is placed with the positioning plate corresponding to the model of the numerical control system to be detected, the positioning plate comprises a positioning hole, and the protective cover is fixedly connected in the positioning hole of the positioning plate through a positioning pin and is used for protecting a screen area of the numerical control system to be detected in the detection process.
5. The numerical control system key function detection system according to claim 4, wherein the operation platform further comprises an indicator light module and an external control button module, the indicator module is arranged on one side of the operation platform close to the robot and is in communication connection with a signal output end of the robot, and is used for carrying out feedback display on detection conditions of a numerical control system product to be detected; the external control button module comprises a detection starting button and an external scram button, wherein the detection starting button is used for clicking the detection starting button after the main control unit confirms the model information of the numerical control system to be detected, and the detection unit starts to detect the numerical control system to be detected; and the external scram button is used for timely operating the detection unit to stop the detection of the numerical control system to be detected after the detection unit is abnormal.
6. The system for detecting key functions of a numerical control system according to claim 1, wherein the detecting unit comprises a robot, the robot is used for executing the pressing action of the key of the numerical control system to be detected, selecting the corresponding detection track action of the key of the robot according to the model information of the system to be detected contained in the detection control instruction after receiving the model information of the system to be detected contained in the detection control instruction sent by the master control unit, waiting for a start detection button signal of the operation platform after selecting the detection track action of the key of the robot corresponding to the model information of the system to be detected, clicking the key of the numerical control system to be detected one by the robot after receiving the start detection button signal of the operation platform, and sending the real-time acquisition key value data of the key of the numerical control system to be detected to the master control unit, and the master control unit generates a detection result according to the real-time acquisition key value data of the key value of the key of the numerical control system to be detected by the robot.
7. The system for detecting key functions of a numerical control system according to claim 6, wherein the general control unit collects key value data of a key of the numerical control system to be detected in real time according to a robot to generate a detection result specifically as follows:
the master control unit compares and analyzes the key value data to be detected of the numerical control system to be detected, which is acquired by the robot in real time, with the template data of the key value to be detected, which corresponds to the model of the numerical control system to be detected, and if the key value data to be detected is completely consistent with the template data of the key value to be detected, the key function of the numerical control system to be detected is qualified; if the key values are not completely consistent, the numerical control system to be tested is not qualified, the missing key values or inconsistent key values are marked, and the key values are automatically recorded into a corresponding key function detection result database of the numerical control system to be tested.
8. The system of claim 6, wherein the detecting unit further comprises a bar code scanning gun, and the bar code scanning gun is in communication connection with the master control unit, and is configured to obtain model information of the to-be-detected numerical control system by scanning a bar code of the to-be-detected numerical control system in a radio frequency mode.
9. The system of claim 1, further comprising a warehouse unit, wherein the warehouse unit includes an undetected numerical control system placement area and a detected numerical control system placement area.
10. A method for detecting a key function of a numerical control system, which is realized based on the key function detection system of a numerical control system according to any one of claims 1 to 9, comprising:
the general control unit acquires model information of the numerical control system to be detected, and generates a corresponding detection control instruction according to the model information of the numerical control system to be detected;
the detection unit selects corresponding key detection track actions according to the type information of the system to be detected contained in the received detection control instruction and the type information of the system to be detected contained in the detection control instruction, waits for start detection button signals of the operation platform after selecting the key detection track actions corresponding to the type information of the system to be detected, clicks keys of the numerical control system to be detected one by one after receiving the start detection button signals of the operation platform, acquires key value data of the keys of the numerical control system to be detected in real time, and sends the key value data of the keys of the numerical control system to be detected acquired in real time to the master control unit;
And the master control unit acquires key value data of the key of the numerical control system to be detected in real time according to the robot to generate a detection result.
CN202310177123.1A 2023-02-28 2023-02-28 Key function detection system and method for numerical control system Pending CN116296326A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310177123.1A CN116296326A (en) 2023-02-28 2023-02-28 Key function detection system and method for numerical control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310177123.1A CN116296326A (en) 2023-02-28 2023-02-28 Key function detection system and method for numerical control system

Publications (1)

Publication Number Publication Date
CN116296326A true CN116296326A (en) 2023-06-23

Family

ID=86831758

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310177123.1A Pending CN116296326A (en) 2023-02-28 2023-02-28 Key function detection system and method for numerical control system

Country Status (1)

Country Link
CN (1) CN116296326A (en)

Similar Documents

Publication Publication Date Title
CN109088804B (en) Household appliance maintenance misoperation early warning system associated with Bluetooth APP
CN112828423A (en) Intelligent welding real-time sensing and quality monitoring system based on 5G
CN110083102A (en) A kind of high-performance low-voltage power distribution cabinet is long-range and site monitoring system
CN112903120B (en) Detection system and detection method for detecting infrared temperature sensors in batches
CN112728423A (en) Remote heat supply pipeline fault monitoring system
CN211402669U (en) Low-voltage distribution network leakage current monitoring device
CN112485750B (en) Communication module interface testing method and system for intelligent electric meter
CN116296326A (en) Key function detection system and method for numerical control system
CN114162692A (en) Online automatic detection system of elevator light curtain
CN110531713B (en) Automatic production test method and system for train control single board based on industrial robot
CN108910642A (en) Elevator debugging information processing method, system, readable storage medium storing program for executing and commissioning device
CN116652461A (en) Welding equipment fault detection device and method based on digital mirror image technology
CN116208537A (en) Portable general finger detector
CN115827358A (en) Automatic test system, method and device for PFR function and storage medium
CN116087867A (en) Method for testing operation reliability of intelligent electric energy meter
CN210377147U (en) Production test tool for solar street lamp controller
CN211279780U (en) Hot melt welding equipment test device
CN114239869A (en) Intelligent self-learning verification system and method for electric energy meter
CN209795860U (en) Automatic test system for steering engine of certain unmanned aerial vehicle
CN115290252A (en) Electronic sphygmomanometer service life testing method and device thereof
CN110895976A (en) Dynamic card detection device and method
CN106372687A (en) Distribution network automatic detection method and system
CN113640026B (en) Industrial equipment testing method, device and system
CN210864022U (en) Automatic testing arrangement of acquisition terminal
CN214201621U (en) New energy automobile fills function check out test set that charges fast and slowly

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