A method for adding L-shaped probe automatic calling, activation and calibration to a numerical control device
By programming and adjusting the activation method of the probe receiver, the automatic recall and calibration of the L-type probe were achieved, solving the problems of high cost and long processing time caused by manufacturer intervention, and fulfilling the needs of automated production line construction.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHENYANG LIMING AERO-ENGINE GROUP CORPORATION
- Filing Date
- 2024-11-22
- Publication Date
- 2026-06-16
Smart Images

Figure CN119882596B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of aero-engine technology, and in particular to a method for automatically calling, activating and calibrating an L-shaped probe in a CNC machine. Background Technology
[0002] In the construction of automated production lines, there are situations where CNC equipment needs to be equipped with additional probes, especially L-shaped probes, which are crucial for the automated production of disc and ring-shaped parts. Since the M-commands for probe activation need to be set by the manufacturer, adding probes requires contacting the equipment manufacturer to add the M-commands, increasing both the modification cost and time. This method describes how to add probes on-site, without manufacturer intervention, fabricate composite M-command activated probes, and calibrate L-shaped probes. Summary of the Invention
[0003] The purpose of this invention is to add a probe to CNC equipment and enable the probe to be called, calibrated and activated, avoiding the intervention of the manufacturer, saving time and equipment modification costs, and serving the needs of automated production line construction. Specifically, a method for automatically calling, activating and calibrating an L-shaped probe to CNC equipment is provided.
[0004] This invention provides a method for automatically calling, activating, and calibrating an L-shaped probe in a CNC machine, comprising the following steps:
[0005] 1. Check the manufacturer's probe activation method, which is divided into the following two types.
[0006] 1.1 The method of using the sister blades activates all probes using a unified M command.
[0007] 1.2 Activate using dedicated M commands (requires 4 M commands, but the device only has one M command).
[0008] 2. Program Development
[0009] 2.1. For the situation in 1.1, develop an arbitrary calling program for the Sister Blades.
[0010] 2.1.1. Using $TC_TP2[X] = probe name, read the corresponding tool internal number X for all probes, where X is an integer.
[0011] 2.1.2. How to invoke the Sister Blades:
[0012] via $TC_TP8[X]B_AND'B100'==4
[0013] $TC_TP8[X]=$TC_TP8[X]B_XOR 4
[0014] $TC_TP8[X] = $TC_TP8[X]B_OR 4
[0015] The command grants access to the probes that need to be used and disables access to the probes that do not need to be used, so as to ensure that the probes that should be used can be called up and activated.
[0016] 2.2 For the case in 1.2, develop a compound M instruction.
[0017] 2.2.1 Record the original probe activation M command.
[0018] 2.2.2 Principles for creating composite instructions: Find M instructions in the M instruction table that do not affect the measurement, such as using the bed flushing instruction together with the machine tool's built-in probe activation instruction to create an additional probe activation instruction.
[0019] For example, the probe is open (M74) and closed (M73), the bed flush is open (M46), and the bed flush is closed (M45).
[0020] The method for creating compound instructions is as follows:
[0021] %_N_UNAC_DEF
[0022] DEFINE M741 AS M74
[0023] DEFINE M742 AS M74 M46
[0024] DEFINE M73 AS M73 M45
[0025] M741 is the command to open the first probe, M742 is the command to open the second probe, and M73 is the command to close the probe.
[0026] 3. Additional probe pairing method
[0027] 3.1. Adjust the probe activation mode of the probe receiver RMI_Q to dedicated terminal activation.
[0028] 3.2. Adjust the additional probe to pairing mode: the indicator light will turn blue-blue-red.
[0029] 3.3 Power on RMI_Q and ensure that the input signal at the opening terminal of the additional probe remains at a high level.
[0030] 3.4 The probe indicator light turns blue-blue-blue, indicating that probe pairing is complete.
[0031] 3.5 After pairing, adjust the probe activation mode of the probe receiver RMI_Q to common-side activation.
[0032] 3.6 Connect the second probe activation wire, for example: connect the second probe activation wire in parallel to the bed flushing activation relay.
[0033] 4. Calibration of L-shaped probe
[0034] 4.1 Installation of Probe Calibration Standards
[0035] 4.1.0 Straighten the probe calibration standard 1 so that it is parallel to the X-axis or Y-axis of the machine tool, and make the spindle perpendicular to the surface of the probe calibration standard 1.
[0036] 4.1.1. Use only the straight probe to measure the value of probe calibration standard 1 in the machine tool coordinate system, and record it as W1.
[0037] 4.1.2. Based on the distance between probe calibration standards 1 and 2, inversely calculate the value of probe calibration standard 2 in the machine tool coordinate system, denoted as W2.
[0038] 4.2 Calibrate the L-type probe using the probe calibration standard.
[0039] 4.2.1. Use numerical value W1 to calibrate the blade length position of the L-type probe for applying pressure, as follows: Figure 4 Calibrate the movement direction to the left, and set the probe tool type to 712 or 714.
[0040] 4.2.2. Use numerical value W2 to calibrate the blade length position of the L-shaped probe during the drawing process. Figure 5 Calibration movement direction is to the right, probe tool type is set to 713.
[0041] 4.2.3. Use $TC_DP10 for competition setting. The angle is the spindle angle when the measuring rod is parallel to the Y-axis.
[0042] 4.2.4. Use the CYCLE976 program to calibrate the 713 probe, where the parameter D_DMODE must be set to "0".
[0043] 5. Precautions for using the probe
[0044] 5.1 Each tool edge of the probe must be calibrated before use. Tool edge data cannot be reviewed by copying the tool excitation length, and the CNC system will not recognize it.
[0045] 5.2 The probe calibration start position should be in a reasonable position to prevent system errors -- check the measurement direction.
[0046] 5.3 As an L-shaped probe, due to the existence of center of gravity offset, an enhanced probe is required, and the filter time needs to be set according to the different spindle positioning speeds. The filter time is shorter for faster positioning speeds and longer for slower positioning speeds.
[0047] 5.4 To improve measurement accuracy, dimension L2 needs to be larger than dimension [missing information].
[0048] 5.5 For five-axis machining centers with tilting heads, if the measurement results after using CYCLE800 differ significantly from the theoretical results, it is necessary to calibrate the probe while rotating the workpiece coordinate system using CYCLE800. Figure 6 .
[0049] Compared with the prior art, the advantages of this invention are:
[0050] The method for automatically calling, activating, and calibrating L-shaped probes in CNC equipment described in this invention solves the problem of needing manufacturer intervention when adding probes to imported equipment, saving more than 100,000 yuan in equipment modification costs. The cost savings are also proportional to the time saved. Attached Figure Description
[0051] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments:
[0052] Figure 1 This is a schematic diagram of the probe calibration standard.
[0053] Figure 2 This is a schematic diagram of an L-shaped probe;
[0054] Figure 3 A schematic diagram illustrating the calibration and verification of the A0 probe;
[0055] Figure 4 This is a schematic diagram of the calibration and verification of the A0 probe.
[0056] Figure 5 A schematic diagram illustrating the calibration and verification of the A-90 degree probe.
[0057] Figure 6 This is a schematic diagram of the A-90 degree probe calibration and verification.
[0058] In the figure, 1 is the straightening reference plane, which is perpendicular to the Z-axis and parallel to the X / Y axes; 2 is the L-shaped probe measurement calibration reference plane, and the distance to plane 1 is a known distance; 3 is the standard part fixing base; 4 is the L-shaped probe; 5 is the probe body; and 6 is the L-shaped probe stem. Detailed Implementation
[0059] The present invention will be further explained below with reference to specific implementation schemes, but it is not limited to the present invention. The structures, proportions, sizes, etc. shown in the accompanying drawings are only used to complement the content disclosed in the specification, so as to enable those skilled in the art to understand and read, and are not intended to limit the conditions under which the present invention can be implemented. Therefore, they have no substantial technical significance. Any modification of the structure, change of the proportion relationship or adjustment of the size, without affecting the effect and purpose that the present invention can produce, should still fall within the scope of the technical content disclosed in the present invention.
[0060] 1. Check the manufacturer's probe activation method, which is divided into the following two types.
[0061] 1.1 The method of using the sister blades activates all probes using a unified M command.
[0062] 1.2 Activate using dedicated M commands (requires 4 M commands, but the device only has one M command).
[0063] 2. Program Development
[0064] 2.1. For the situation in 1.1, develop an arbitrary calling program for the Sister Blades.
[0065] 2.1.1. Using $TC_TP2[X] = probe name, read the corresponding tool internal number X for all probes, where X is an integer.
[0066] 2.1.2. How to invoke the Sister Blades:
[0067] via $TC_TP8[X]B_AND'B100'==4
[0068] $TC_TP8[X]=$TC_TP8[X]B_XOR 4
[0069] $TC_TP8[X] = $TC_TP8[X]B_OR 4
[0070] The command grants access to the probes that need to be used and disables access to the probes that do not need to be used, so as to ensure that the probes that should be used can be called up and activated.
[0071] 2.2 For the case in 1.2, develop a compound M instruction.
[0072] 2.2.1 Record the original probe activation M command.
[0073] 2.2.2 Principles for creating composite instructions: Find M instructions in the M instruction table that do not affect the measurement, such as using the bed flushing instruction together with the machine tool's built-in probe activation instruction to create an additional probe activation instruction.
[0074] For example, the probe is open (M74) and closed (M73), the bed flush is open (M46), and the bed flush is closed (M45).
[0075] The method for creating compound instructions is as follows:
[0076] %_N_UNAC_DEF
[0077] DEFINE M741 AS M74
[0078] DEFINE M742 AS M74 M46
[0079] DEFINE M73 AS M73 M45
[0080] M741 is the command to open the first probe, M742 is the command to open the second probe, and M73 is the command to close the probe.
[0081] 3. Additional probe pairing method
[0082] 3.1. Adjust the probe activation mode of the probe receiver RMI_Q to dedicated terminal activation.
[0083] 3.2. Adjust the additional probe to pairing mode: the indicator light will turn blue-blue-red.
[0084] 3.3 Power on RMI_Q and ensure that the input signal at the opening terminal of the additional probe remains at a high level.
[0085] 3.4 The probe indicator light turns blue-blue-blue, indicating that probe pairing is complete.
[0086] 3.5 After pairing, adjust the probe activation mode of the probe receiver RMI_Q to common-side activation.
[0087] 3.6 Connect the second probe activation wire, for example: connect the second probe activation wire in parallel to the bed flushing activation relay.
[0088] 4. Calibration of L-shaped probe
[0089] 4.1 Installation of Probe Calibration Standards
[0090] 4.1.0 Straighten the probe calibration standard 1 so that it is parallel to the X-axis or Y-axis of the machine tool, and make the spindle perpendicular to the surface of the probe calibration standard 1.
[0091] 4.1.1. Use only the straight probe to measure the value of probe calibration standard 1 in the machine tool coordinate system, and record it as W1.
[0092] 4.1.2. Based on the distance between probe calibration standards 1 and 2, inversely calculate the value of probe calibration standard 2 in the machine tool coordinate system, denoted as W2.
[0093] 4.2 Calibrate the L-type probe using the probe calibration standard.
[0094] 4.2.1. Use numerical value W1 to calibrate the blade length position of the L-type probe for applying pressure, as follows: Figure 4 Calibrate the movement direction to the left, and set the probe tool type to 712 or 714.
[0095] 4.2.2. Use numerical value W2 to calibrate the blade length position of the L-shaped probe during the drawing process. Figure 5 Calibration movement direction is to the right, probe tool type is set to 713.
[0096] 4.2.3. Use $TC_DP10 for competition setting. The angle is the spindle angle when the measuring rod is parallel to the Y-axis.
[0097] 4.2.4. Use the CYCLE976 program to calibrate the 713 probe, where the parameter D_DMODE must be set to "0".
[0098] 5. Precautions for using the probe
[0099] 5.1 Each tool edge of the probe must be calibrated before use. Tool edge data cannot be reviewed by copying the tool excitation length, and the CNC system will not recognize it.
[0100] 5.2 The probe calibration start position should be in a reasonable position to prevent system errors -- check the measurement direction.
[0101] 5.3 As an L-shaped probe, due to the existence of center of gravity offset, an enhanced probe is required, and the filter time needs to be set according to the different spindle positioning speeds. The filter time is shorter for faster positioning speeds and longer for slower positioning speeds.
[0102] 5.4 To improve measurement accuracy, dimension L2 needs to be larger than dimension [missing information].
[0103] 5.5 For five-axis machining centers with tilting heads, if the measurement results after using CYCLE800 differ significantly from the theoretical results, it is necessary to calibrate the probe while rotating the workpiece coordinate system using CYCLE800. Figure 6 ;
[0104] A0 probe calibration and verification procedure
[0105]
[0106] CYCLE976(1001000,4,R445-30,,3,0,3,100,100,,1,,0,);D1ENDIF IF$P_TOOL==2
[0107] CYCLE976(1001000,5,R445,,3,1,3,100,100,,1,,0,);D2ENDIF IF$P_TOOL==3
[0108] CYCLE976(1001000,6,R446-30,,3,0,3,100,100,,1,,0,);D3ENDIF IF$P_TOOL==4
[0109] CYCLE976(1001000,7,R446,,3,1,3,100,100,,1,,0,);D4ENDIF IF$P_TOOL==5
[0110] CYCLE976(1004,8,R444,,2,1,200,100,100,,1,,0,);D5ENDIF IF$P_TOOL==6
[0111] CYCLE976(1004,9,R447,,2,0,200,100,100,,1,,0,);D6ENDIF
[0112] ;******************Test**********************
[0113] IF$P_TOOL==1
[0114] CYCLE978(0,,,4,R445 - 30,5,5,3,1,1,"",,0,1,1,-1,,,,,0,1)ENDIF IF$P_TOOL==2
[0115] CYCLE978(0,,,5,R445,5,5,3,2,1,"",,0,1,1,-1,,,,,0,1)ENDIF IF$P_TOOL==3
[0116] CYCLE978(0,,,6,R446 - 30,5,5,3,1,1,"",,0,1,1,-1,,,,,0,1)ENDIF IF$P_TOOL==4
[0117] CYCLE978(0,,,7,R446,5,5,3,2,1,"",,0,1,1,-1,,,,,0,1)
[0118] ENDIF IF$P_TOOL==5
[0119] CYCLE978(0,,,8,R444,5,5,2,2,1,"",,0,1,1,-1,,,,,0,1)
[0120] ENDIF IF$P_TOOL==6
[0121] CYCLE978(0,,,9,R447,5,5,2,1,1,"",,0,1,1,-1,,,,,0,1)
[0122] ENDIF M30
[0123] A-90 degree probe calibration and verification procedure
[0124] N1 CHANGE_CT(2)
[0125] N2 CYCLE800()
[0126] N3 WITHDRAW
[0127] N4 G0 G40 G60 G90 G94 D0;
[0128] N5 TRAFOOF
[0129] N6 STOPRE
[0130] N7 G506
[0131] N8 D2
[0132] N9 G0Z300
[0133] N10 Y1000X0
[0134] N11 G0A-90.0
[0135] N12 CYCLE800(0,"TC2",100000,57,0,0,0,-90,0,0,0,0,0,-1,,0);========D1 D2====
[0136] N13 IF$P_TOOL==1
[0137]
[0138]
[0139]
[0140] Matters not covered in this invention are common knowledge.
[0141] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.
Claims
1. A method for automatically recalling, activating, and calibrating an L-shaped probe in a CNC machine, characterized in that: Includes the following steps: 1) Check the manufacturer's probe activation method, which falls into one of the following two categories: 1.1) Using the sister knife method, all probes are activated by a unified M command; 1.2) Activation is performed using dedicated M commands, which requires four M commands, while the device has only one M command; 2) Program Development: 2.1) For the case in 1.1, develop an arbitrary calling program for the sister knife; 2.1.1) By using $TC_TP2[X] = probe name, read the corresponding tool internal number X for all probes, where X is an integer. 2.1.2) How to invoke the Sister Blades; By $TC_TP8[X] B_AND 'B100'==4 $TC_TP8[X]= $TC_TP8[X] B_XOR 4 $TC_TP8[X] = $TC_TP8[X] B_OR 4 The command grants access to the probes that need to be used and disables access to the probes that do not need to be used, in order to ensure that the probes that need to be used are called up and activated. 2.2) For case 1.2, develop a composite M instruction; 2.2.1) Record the original probe activation M command; 2.2.2) Principles for creating composite instructions: Find M instructions in the M instruction table that have no effect on measurement. The M instructions are bed flushing instructions. The bed flushing instructions are used together with the machine tool's built-in probe activation instructions to create additional probe activation instructions. The activation instructions for the additional probe include M74 for activation, M73 for deactivation, M46 for bed flushing activation, and M45 for bed flushing deactivation. The method for creating compound instructions is as follows: %_N_UNAC_DEF DEFINE M741 AS M74 DEFINE M742 AS M74 M46 DEFINE M73 AS M73 M45 M741 is the first probe activation command, M742 is the second probe activation command, and M73 is the probe deactivation command. 3) Additional probe pairing method: 3.1) Adjust the probe activation mode of the probe receiver RMI_Q to dedicated terminal activation; 3.2) Adjust the additional probe to pairing mode: the indicator light will turn blue-blue-red; 3.3) Power on RMI_Q and ensure that the input signal at the opening terminal of the additional probe remains at a high level; 3.4) The probe indicator light turns blue-blue-blue, indicating that probe pairing is complete; 3.5) After pairing is complete, adjust the probe activation mode of the probe receiver RMI_Q to common terminal activation; 3.6) Connect the second probe opening wire; 4) Calibration of the L-shaped probe: 4.1) Installation of probe calibration standard parts; 4.1.0) Straighten the probe calibration standard 1 so that it is parallel to the X-axis or Y-axis of the machine tool and the spindle is perpendicular to the surface of the probe calibration standard 1; 4.1.1) Use only the straight probe to measure the value of probe calibration standard 1 in the machine tool coordinate system, and record it as W1; 4.1.2) Based on the distance between probe calibration standard 1 and 2, inversely estimate the value of probe calibration standard 2 in the machine tool coordinate system, denoted as W2; 4.2) Calibrate the L-type probe using the probe calibration standard; 4.2.1) Use value W1 to calibrate the blade length position of the L-type probe: the calibration movement direction is to the left, and the probe blade type is set to 712 or 714; 4.2.2) Use numerical value W2 to calibrate the tool length position of the L-type probe pull: the calibration movement direction is to the right, and the probe tool type is set to 713; 4.2.3) Use the $TC_DP10 parameter to set the angle, which is the spindle angle when the measuring rod is parallel to the Y-axis; 4.2.4) Use the CYCLE976 program to calibrate the 713 probe, where the parameter D_DMODE must be set to "0".