When only x-axis or y-axis is mirrored, the cutting sequence (forward milling and reverse milling), cutting direction and arc interpolation direction will be opposite to the actual program. When the x-axis and y-axis are mirrored at the same time, the sequence of tool feeding, the direction of tool compensation and the direction of arc interpolation remain unchanged.
Note: after using the mirror command, you must cancel it with M23 to avoid affecting the following program. In G90 mode, the mirror or cancel command can only be used after returning to the origin of workpiece coordinate system. Otherwise, the CNC system can not calculate the movement track behind, and the phenomenon of random tool walking will appear. At this time, we must implement manual origin reset operation to solve the problem. The spindle steering does not change with the mirror command.
[pause instruction]
G04X(U)_ /P_ It refers to the tool pause time (feed stop, spindle not stop). The value after address P or X is the pause time. The value after X should have a decimal point, otherwise it is calculated as one thousandth of the value in seconds (s), and the value after P cannot have a decimal point (that is, an integer), but in milliseconds (MS). However, in some hole system processing instructions (such as g82, G88 and g89), in order to ensure the roughness of the hole bottom, when the tool is processed to the hole bottom, there is a pause time. At this time, it can only be expressed by the address P. if it is expressed by the address x, the control system thinks that x is the x-axis coordinate value for execution.
[differences and relations among M00, M01, M02 and M03]
M00 is the program unconditional pause instruction. When the program is executed, the feed stops and the spindle stops. To restart the program, you must first return to jog state, press CW (spindle forward) to start the spindle, and then return to auto state, press start key to start the program.
M01 is program selective pause instruction. Before the program is executed, the opstop key on the control panel must be opened. The effect after execution is the same as that of M00. To restart the program, it is the same as above. M00 and M01 are often used for inspection of workpiece size or chip removal during machining. M02 is the main program end instruction. Execute this command, feed stop, spindle stop, coolant off. But the program cursor stops at the end of the program. M30 is the main program end instruction. The function is the same as M02, the difference is that the cursor returns to the program head position, regardless of whether there are other program segments after M30.
[address D and H have the same meaning]
Tool compensation parameters D and H have the same function and can be interchanged at will. They all represent the address name of compensation register in CNC system, but the specific compensation value is determined by the address of compensation number after them. However, in the machining center, in order to prevent errors, it is generally stipulated that h is the tool length compensation address, the compensation number is from 1 to 20, D is the tool radius compensation address, and the compensation number starts from 21 (the magazine of 20 tools).
About the author