Follow us :

Processing and application of NC machine tool for milling machine(2)

2. machining center and CNC milling machine tool compensation
The tool compensation function includes tool radius compensation, angle compensation and length compensation and other tool compensation functions.
(1) the radius compensation of tool radius compensation (G41, G42, G40) is stored in the memory hxx in advance, and XX is the memory number. After the tool radius compensation is executed, the numerical control system is automatically calculated and the tool is automatically compensated according to the calculation results. The cutter radius compensation (G41) refers to the left tool programming bias of machining locus motion direction of the cutter radius compensation right (G42) refers to the programming tool of machining locus motion direction of the bias on the right. The cancellation of tool radius compensation is G40, and the cancellation of tool radius compensation can also be used by h00.
Attention is needed in the application: when establishing or canceling tool compensation, it is necessary to use G00 or G01 instructions to use G41, G42 and G40 instructions, and not to use G02 or G03. When the tool radius compensation takes negative value, G41 and G42 function interchangeably.
The tool radius compensation has two kinds of compensation forms: B function and C function. The B function tool radius compensation only according to this section of the program of cutter compensation calculation, can not solve the transition problem between program segments, demand will deal with the contour of workpiece into fillet corner process so that the workpiece is not good, C cutter radius compensation function can automatically handle two segment cutter center track of transfer, can be programmed completely according to the contour of workpiece, so the modern CNC machine tool CNC almost all of the C function tool radius compensation. At this time, the following two program segments that require the establishment of tool radius compensation program segment must have the displacement instruction (G00, G01, G02, G03, etc.) of the specified compensation plane, otherwise, the correct tool compensation can not be established.
(2) the angle compensation (g39) two plane is intersected as the angle, which may lead to overovercutting, which leads to the machining error, and can be solved by the angle compensation (g39). When we use the angle compensation (g39) instruction, we should note that this instruction is modeless, which is valid only in the instruction segment. It can only be used after G41 and G42 instructions.
(3) tool length offset (G43, g44, G49), using tool length offset (G43, g44) instruction, can compensate for the change of tool length without changing the program, and the compensation amount is stored in the H code instruction memory. G43 indicates that the amount of compensation in the memory is added to the terminal coordinates of the program instruction, and the g44 represents the subtraction, and the G49 instruction or the H00 instruction can be used to cancel the tool length bias. The program section n80g43z56h05 and in, if the value of the 05 memory is 16, then the end point coordinate value is 72mm.
The amount of compensation in memory can be stored in advance by MDI or DPL, or by program segment g10p05r16.0. The amount of compensation in memory 05 is 16mm..
If there is no tool compensation instruction, the economic NC machine tool system can only calculate the locus size of the tool locus, then press it to program or do partial compensation processing.