Figure 1 processing map Analysis: The outer contour cuts into p1→p2 along the tangent direction of the arc, and cuts out along the tangential direction p2→p3. According to the judgment, the left tool radius compensation is used. When the inner contour is processed, p4→p5 is the cut-in section, and p6→p4 is the cut-out section, so the right tool radius compensation is used. After the machining of the outer contour is completed, the left tool radius compensation is canceled. When the tool is moved to point p4, the right tool radius compensation is established. For processing, square blanks with a height of 14 mm and a side length of 240 mm should be used. The procedure is as follows: program Comments O0100 Program number N010 G90 G92 X0. Y0. Z100. ; Absolute value input to establish the workpiece coordinate system N020 G00 Z2. S150 M03 ; Z axis moves to Z=2, spindle rotates forward, speed is 150r/min N030 X20. Y-44. ; Fast feed to X=20,Y-=-44 N040 G01 Z-4. F100; Z axis feed to Z=-4, feed speed 100mm/s N050 G41 X0. Y-40. H01; Linear interpolation to X=0, y=-40, tool radius left compensation H01=4mm N060 G02 X0. Y-40. I0. J40. ; Round interpolation to X=0, Y=-40 N070 G40 X-20. Y-44. ; Linear interpolation to X=-20, Y=-44, cancel tool radius compensation N080 G00 Z2. ; Z axis to Z=2 N090 X0. Y15. ; Fast feed to X=0, Y=15 N100 G01 Z-4. ; Z axis feed to Z=-4 N110 G42 X0. Y0. H01 ; Linear interpolation to X=0, Y=0, tool radius right compensation H01=4mm N120 G02 X-30. Y0. I-15. J0. ; Round interpolation to X=-30, Y=0 N130 X30. Y0. I30. J0. ; Round interpolation to X=30, Y=0 N140 X0. Y0. I-15. J0. Round interpolation to X=0, Y=0 N150 G40 G01 X0. Y15. ; Linear interpolation to X=0, Y=15, cancel tool radius compensation N160 G00 Z100. ; Z axis moves to Z=100 N170 X0. Y0. M05; Rapid feed to X=0, Y=0, spindle stop N180 M30 ; The end of the main program Figure 2 Sample processing results As shown in Figure 3, click on the menu "Machine/Select Machine...". In the Select Machine dialog box, the control system selects FANUC, the machine type selects the vertical milling machine and presses the OK button. The interface is shown in Figure 4. Figure 3 "Machine" menu and selecting machine dialog Figure 4 "Numerical Control Simulation System" Software Interface Figure 5 MODE knob on the operation panel Figure 6 Indicators on the CRT interface and operation panel Figure 7 Milling position Figure 8 Define Blank dialog box Figure 9 Select Fixture Dialog Figure 10 Select Part dialog Figure 11 Moving parts panel and parts on the machine Figure 12 "Select Platen" Dialog Box and Parts After Installing Platen Figure 13 Open File Dialog Box Figure 14 "Numerical Control Simulation System" interface Figure 15 CRT interface before and after entering NC program Fig. 16 MODE knob and running track of operation panel Figure 17 Benchmark tool Figure 18 on the benchmark Figure 19 feeler check Figure 20 Select tool Figure 21 Z axis direction knife Figure 22 MODE knob Figure 23 CRT Figure 24 CRT panel Figure 25 MODE knob Your Power, We Can! , https://www.aerobspower.com
The inner and outer contours shown in Figure 1 are machined and programmed with the tool radius compensation command. The tool diameter is 8mm.