Page 3
CNC 8070 . 0402 XAMPLES MANUAL Unauthorized copying or distributing of this software is prohibited. All rights reserved. No part of this documentation may be transmitted, transcribed, stored in a backup device or translated into another language without Fagor Automation’s consent.
MACHINING CONDITIONS • The machining technical data are based on using construction steel of up to 700 N/mm2. • The feedrate and rpm values obtained will depend on the type of tool used in each example. BASIC CNC OPERATING CONCEPTS...
Page 8
3. Program test without graphic display, but indicating the various functions, cycles and total execution time. 4. Simulation and program test. The screen is split in two with the program on the left and the solid block on the right.
GOALS The goal of the following practical programming examples is to machine stock piece by milling its surface and running a number of cycles using the relevant machining conditions and tools; therefore, we first indicate all the tools, feedrates and rpm for each example.
CONVERSATIONAL PROGRAMMING EXERCISE 1. POCKETS The purpose of the following exercise is to make a cam from a stock whose dimensions are 237 x 160. Making this part requires the following steps: Operations Tools Surface milling Endmill Ø100 T1 D1 Rectangular Boss Endmill Ø20 T2 D1...
SURFACE MILLING CANNED CYCLE GEOMETRY Type of surface milling. Unidirectional surface milling along X Corner where the surface milling begins. Lower left corner. X coordinate of the initial corner Y coordinate of the initial corner Total length in X Total length in Y...
Page 13
REMARKS The surface milling may be executed in several ways. • Unidirectional along X or along Y. • Bidirectional along X or along Y. These options are toggled using the (a) softkey. CNC 8070 XAMPLES MANUAL Conversational programming Exercise 1. Pockets...
RECTANGULAR BOSS CANNED CYCLE. GEOMETRY X, Y Coordinates of the stock's lower left corner -70, -70 Total length in X. Total length in Y. Height coordinate of the surface Safety Z coordinate Total depth Boss inclination angle Excess material Rounding radius...
Page 15
REMARKS This machining data is for using a hard metal endmill without covering and two teeth. CNC 8070 XAMPLES MANUAL Conversational programming Exercise 1. Pockets Chapter 2 Page 9 of 96...
Safety Z coordinate Pocket radius Total pocket depth ROUGHING Roughing pass Pass in Z Penetrating feedrate at each pass in Z mm/min. Penetrating angle. It permits several runs on Z Roughing feedrate in mm/min. 3180 Finishing tool number Tool offset...
Total pocket depth pocket inclination angle Corner blending radius Corner finishing ROUGHING Roughing pass Pass in Z Penetrating feedrate at each pass in Z mm/min. Penetrating angle. Roughing feedrate in mm/min. 3180 Finishing tool number Tool offset Counterclockwise turning direction...
Page 18
FINISHING Finishing pass Finishing stock. Finishing feedrate in mm/min. Number of finishing passes in Z Excess material in Z 3180 Finishing tool number Tool offset Tool penetrating angle when finishing Counterclockwise turning direction Counterclockwise machining direction CNC 8070 XAMPLES MANUAL...
Dwell at the bottom (sec.) Counterclockwise turning direction Once the form is filled out, instead of inserting the cycle in the program, you must locate the center punching positions using the Multiple softkey (F7) that shows the various types of positioning.
Dwell at the bottom (seconds) Counterclockwise turning direction Once the form has been filled out, instead of inserting the cycle into the program, you must locate the drilling positions using the Multiple softkey (F7) that shows the various types of positioning as described for the previous form and make sure that the points coincide with the ones previously programmed in the center punching cycle.
To enter the arc positioning, proceed as in the previous two cycles, press the Multiple softkey and then the [INS] key to accept the data (which will be the same as the ones used for center punching and drilling) and include them in the program.
EXERCISE 2. 2D POCKET The purpose of the following exercise is to make a cam from a stock whose dimensions are 280 x 160. Making this part requires the following steps: Operations Tools Surface milling cycle Endmill Ø100 T1 D4 2D pocket End mill Ø20...
SURFACE MILLING CANNED CYCLE GEOMETRY Type of surface milling. Unidirectional surface milling along X Corner where the surface milling begins. Lower left corner. X coordinate of the initial corner -140 Y coordinate of the initial corner Total length in X...
Page 25
REMARKS The surface milling may be executed in several ways. • Unidirectional along X or along Y. • Bidirectional along X or along Y. These options are toggled using the (a) softkey and pressing ESCAPE. CNC 8070 XAMPLES MANUAL Conversational programming Exercise 2.
Roughing pass. Penetration step in Z. Penetrating feedrate at each pass (mm/min.) Penetrating angle. Machining feedrate in mm/min. 1000 3980 Number of the tool to be used. Tool offset. Counterclockwise turning direction. ROUGHING Finishing pass. Finishing stock. Finishing feedrate in mm/min.
Page 27
REMARKS Once the form has been filled out, before inserting it into the program that you just created with the [INS] key, press the [GENERATE] softkey so the cycle automatically appears in the ISO code. CNC 8070 XAMPLES MANUAL Conversational programming Exercise 2.
2D POCKET CANNED CYCLE. PROFILE EDITOR Once located in the relevant P.XY box to name the profile to be used, press the [RECALL] key to access the profile editor automatically. Start by making a rectangle delimiting the outside contour of the figure that will request the first point of the geometry.
EXERCISE 3. CAM The purpose of the following exercise is to make a cam from a stock whose dimensions are 310 x 160. Making this part requires the following steps: Operations Tools Surface milling Endmill Ø100 T1 D1 2D pocket Endmill Ø20 T2 D1...
SURFACE MILLING CANNED CYCLE GEOMETRY Type of surface milling. Unidirectional surface milling along X Corner where the surface milling begins. Lower left corner. X coordinate of the initial corner -155 Y coordinate of the initial corner Total length in X...
Page 31
REMARKS The surface milling may be executed in several ways. • Unidirectional along X or along Y. • Bidirectional along X or along Y. These options are toggled using the (a) softkey. CNC 8070 XAMPLES MANUAL Conversational programming Exercise 3. Cam...
Roughing pass Penetration step in Z Penetrating feedrate at each pass (mm/min.) Penetrating angle Machining feedrate in mm/min. 1590 Number of the tool to be used Tool offset Counterclockwise turning direction FINISHING Finishing pass Finishing stock. Finishing feedrate in mm/min.
Page 33
REMARKS This machining data is for using a hard metal endmill without covering and two teeth. CNC 8070 XAMPLES MANUAL Conversational programming Exercise 3. Cam Chapter 2 Page 27 of 96...
2D POCKET CANNED CYCLE. PROFILE EDITOR Once located in the relevant P.XY box to name the profile to be used, press the [RECALL] key to access the profile editor automatically. Start by making a rectangle delimiting the outside contour of the figure that will request the first point of the geometry.
Pocket radius 37.5 Total pocket depth ROUGHING Roughing pass Pass in Z Penetrating feedrate at each pass in Z mm/min. Penetrating angle. It permits several runs on Z Roughing feedrate in mm/min. 3180 Finishing tool number Tool offset Counterclockwise turning direction...
Page 36
Then, repeat the circular pocket cycle twice to drill the side holes of the cam. CNC 8070 XAMPLES MANUAL Conversational programming Exercise 3. Cam Chapter 2 Page 30 of 96...
Safety Z coordinate Pocket radius 22.5 Total pocket depth ROUGHING Roughing pass Pass in Z Penetrating feedrate at each pass in Z mm/min. Penetrating angle. It permits several runs on Z Roughing feedrate in mm/min. 1000 3980 Finishing tool number Tool offset...
Safety Z coordinate Pocket radius 22.5 Total pocket depth ROUGHING Roughing pass Pass in Z Penetrating feedrate at each pass in Z mm/min. Penetrating angle. It permits several runs on Z Roughing feedrate in mm/min. 1000 3980 Finishing tool number Tool offset...
2D POCKET CANNED CYCLE Then, use the same cycle as in section 5.2 to remove the excess material in the middle of the part. GEOMETRY P.2D Name of the 2D pocket profile Pocket-2 P.XY Name of the depth profile Profile-2...
Page 40
At the profile editor, draw the geometry to be emptied. Before beginning to define it, bear in mind that you're going to machine; therefore, you will have to use a tool with a certain diameter. Pay attention to the geometry of the drawing so the tool can work inside it since it is an emptying operation.
Page 41
X = 7,639 Y = 65 VALIDATE STRAIGHT X = 55 Y = 65 VALIDATE STRAIGHT X = 139.58 Y = 0 VALIDATE STRAIGHT X = 139.58 Y = -11,563 VALIDATE COUNTERCLOCKWISE ARC X = 88.761 Y = -66.53 Xc = 112.5 Yc = -37.5R = 37.5...
ISO COORDINATE ROTATION Once the form has been inserted into the program, program an ISO command to rotate the coordinate system in order to repeat the machining operation on the other side. The ISO block will be: N1: (First label) #POCKET2D BEGIN (1-3C2D) Canned cycle.
EXERCISE 4. 3D POCKETS The purpose of the following exercise is to make a cam from a stock whose dimensions are 136 x 102. Making this part requires the following steps: Operations Tools Surface milling Endmill Ø100 T1 D1 3D pocket Endmill Ø20 T2 D2...
SURFACE MILLING CANNED CYCLE GEOMETRY Type of surface milling. Unidirectional surface milling along X Corner where the surface milling begins. Lower left corner. X coordinate of the initial corner Y coordinate of the initial corner Total length in X Total length in Y...
Page 45
REMARKS The surface milling may be executed in several ways. • Unidirectional along X or along Y. • Bidirectional along X or along Y. These options are toggled using the (a) softkey and pressing ESCAPE. CNC 8070 XAMPLES MANUAL Conversational programming Exercise 4.
Roughing pass Maximum penetration step. Penetrating feedrate at each pass (mm/min.) Side penetrating angle Finishing feedrate in mm/min. 1590 Number of the tool to be used Tool offset Counterclockwise turning direction SEMIFINISHING Maximum penetration step Finishing feedrate in mm/min. 1590...
Page 47
[ENTER]. The following section describes how to use the profile editor. ** P.Z2, Z3, Z4. Depth profiles allowed, if there is only one or two, the rest will be left blank. REMARKS This machining data is for using a hard metal endmill without covering and two teeth.
3D POCKET CANNED CYCLE. PROFILE EDITOR First make the rectangle defining the outside contour of the figure to be made. Use the "line" command to set the first coordinate of the profile in the center of the figure. Beginning of the profile in the XY plane.
EXERCISE 5. 3D POCKETS WITH ISLANDS The purpose of the following exercise is to make a cam from a stock whose dimensions are 50 x 70. Making this part requires the following steps: Operations Tools Surface milling Endmill Ø100 T1 D1 3D pocket Endmill Ø5 T9 D1...
SURFACE MILLING CANNED CYCLE GEOMETRY Type of surface milling. Unidirectional surface milling along X Corner where the surface milling begins. Lower left corner. X coordinate of the initial corner Y coordinate of the initial corner Total length in X Total length in Y...
Page 51
REMARKS The surface milling may be executed in several ways. • Unidirectional along X or along Y. • Bidirectional along X or along Y. These options are toggled using the (a) softkey and pressing ESCAPE. CNC 8070 XAMPLES MANUAL Conversational programming Exercise 5.
ROUGHING Roughing pass Maximum penetration step Penetrating feedrate at each pass (mm/min.) Side penetrating angle Machining feedrate in mm/min. Number of the tool to be used Tool offset SEMIFINISHING Maximum penetration step Finishing feedrate Finishing tool number Offset for that tool...
Page 53
* Pressing the [RECALL] in this box, the CNC shows the Profile Editor screen where the geometry will have to be drawn. Once the profile is completed, the screen will return to the 3D pocket form and the profile must be confirmed by pressing [ENTER]. The following section describes how to use the profile editor ** P.Z2,Z3,Z4.
3D POCKET CANNED CYCLE. PROFILE EDITOR Start by making the rectangle delimiting the external contour of the figure. Due to the importance of the profile initial point, use the LINE command instead of the rectangle to do the figure. Beginning of the depth profiles in the XZ plane.
Page 55
With what has been previously programmed, the outside contour of the geometry and the island would already be defined. Then, use the P.Z1 and P.Z2 boxes to do the pocket's depth profile. P.Z1 BEGINNING X=-30 VALIDATE STRAIGHT X=-25 Z=-15 VALIDATE SAVE PROFILE P.Z2...
Page 56
CNC 8070 XAMPLES MANUAL Conversational programming Exercise 5. 3D pockets with islands Chapter 2 Page 50 of 96...
Basically, the programs are divided into three parts: 1. Header. 2. Geometry. 3. End. The machining conditions (feedrate and rpm), the tool and the material are the same for all the following examples. CNC 8070 XAMPLES MANUAL...
EXERCISE 1 External contouring (climb cutting) with tangential input and a total depth of 20 mm with 5mm passes. Operations Tools Contouring Endmill Ø15 T10 D1 CNC 8070 XAMPLES MANUAL ISO programming Exercise 1 Chapter 3 Page 52 of 96...
Page 59
Y180 X100 Y100 G38 I10 G40 X30 Y30 Positioning of label Nr 2. #RPT[N1,N2,3] Repetitions. G0 Z100 Return to the safety position and end of program. CNC 8070 XAMPLES MANUAL ISO programming Exercise 1 Chapter 3 Page 53 of 96...
G30. In this exercise, you will do an external contour of the geometry obtaining a total depth of 12 mm. Bear in mind that this geometry contains inside rounding with a radius of 8 mm and a tool with a larger diameter cannot be used.
Page 61
#RPT [N1,N2,5] Repetitions. Remarks ISO programming Exercise done in ISO code, using Polar coordinates for linear moves (G30 I J, G1 R Q) as well as for arcs (G30 I J, G2/3 Q). Exercise 2 Chapter 3 Page 55 of 96...
EXERCISE 8 All circular interpolation exercises are based on the following figure. CNC 8070 XAMPLES MANUAL ISO programming Exercise 8 Chapter 3 Page 66 of 96...
CIRCULAR INTERPOLATION. G2/3 XY IJ Exercise done using the format: G2/3 X_ Y_ I_ J_ End point. They define the arc center in incremental coordinates referred to the arc's starting point. The arc center has been defined by incremental auxiliary coordinates. G0 Z100...
Exercise done using the format: G6 G2/3 X_ Y_ I_ J_ End point. Arc center referred to part zero, only if G6 is at the beginning of the block. The arc center has been defined by absolute auxiliary coordinates. G0 Z100...
CIRCULAR INTERPOLATION. G2/3 Q IJ Exercise done using the format: G2/3 Q_ I_ J_ Angle. Incremental distance from the arc's starting point to the arc center. Using the Polar format with the center in incremental coordinates. G0 Z100 T4D1 S1000 M3...
CIRCULAR INTERPOLATION. G6 G2/3 Q IJ Exercise done using the format: G6 G2/3 Q_ I_ J_ Angle. Arc center referred to part zero, only if G6 is at the beginning of the block. Using Polar format and center definition in absolute coordinates. G0 Z100 T4D1...
G30 I J Definition of the Polar center. G2/3 Q Interpolation with an angle. Absolute arc center coordinates referred to part zero. The Polar center is not affected by the incremental coordinates because the format itself is already absolute. G0 Z100...
CIRCULAR INTERPOLATION. G9 XY IJ Exercise done using the format: G8 X_ Y_ I_ J_ End point. It defines any point of the arc. Using the function for an arc defined by three points. G0 Z100 T4D1 S1000 M3 X-70 Y0...
CIRCULAR INTERPOLATION. G9 RQ IJ Using the function for an arc defined by three points, in Polar. G30 I J Definition of the Polar center. Using absolute auxiliary coordinates. G9 R_ Q_ I_ J_ Arc radius and angle referred to the Polar center.
EXERCISE 13. CANNED CYCLES 2 Any cycle, once defined, may be repeated in several ways using multiple machining. 1. G160 - Multiple positioning in a straight line. 2. G161 - Multiple positioning in a parallelogram pattern. 3. G162 - Multiple positioning in a grid pattern.
X100 Y0 G1 Z0 F175 N1:G91 Z-5 G90G42 X75 Y0 Repetition of down movements. N3:G91 Q60 Polar programming of the first side. #RPT [N3,N4,5] Angular repetition of the sides. G90 G40 X100 Y0 #RPT[N1,N2,4] Repetition of down movements. G0 Z100...
PARAMETRIC PROGRAMMING Parametric programming basically consists in assigning values to certain parameters, identified with the letter "P", to perform the necessary operations in order to different shapes on the same part. A parametric program is basically made up of three parts: 1.
EXERCISE 4. WEDGE Program a wedge by assigning parameters. Then, by using positioning and increments, do a comparison between the initial point and the final point to be reached. CNC 8070 Parametric programming is handy when trying to change the assignment of parameters to obtain the desired dimensions using the same program.
Page 99
G1 XP100 F1000 Initial X position G1 G91 XP102 Z-P103 G90 YP106 G1 Z10 P106=P106+2 $IF P106<P101 $GOTO N1 Comparison. If P106 is smaller than P101, the tool returns to label 1 #RPT[N1,N2] Repetition. Last pass G0 Z100 CNC 8070 XAMPLES MANUAL...