0 BEGIN PGM 5105_EN MM 1 ;NC program for milling a keyway into a shaft 2 ;and subsequently deburring this slot at the 3 ;upper edge with a forming tool. 4 ;A standard cycle is programmed for milling this 5 ;slot. For calculating the tool path for 6 ;deburring, an NC program is defined as cycle. 7 ; 8 BLK FORM CYLINDER Y D80 L200 DIST+0 9 ; 10 ;Tool call for milling the slot 11 TOOL CALL "MILL_D6_ROUGH" Z S555 12 ; 13 ;Cycle definition for milling the slot. The shaft 14 ;radius must be defined as coordinate surface. 15 CYCL DEF 253 SLOT MILLING ~ Q215=+0 ;MACHINING OPERATION ~ Q218=+63 ;SLOT LENGTH ~ Q219=+22 ;SLOT WIDTH ~ Q368=+0.1 ;ALLOWANCE FOR SIDE ~ Q374=+90 ;ANGLE OF ROTATION ~ Q367=+0 ;SLOT POSITION ~ Q207=+500 ;FEED RATE MILLING ~ Q351=+1 ;CLIMB OR UP-CUT ~ Q201=-9 ;DEPTH ~ Q202=+5 ;PLUNGING DEPTH ~ Q369=+0 ;ALLOWANCE FOR FLOOR ~ Q206=+150 ;FEED RATE FOR PLNGNG ~ Q338=+0 ;INFEED FOR FINISHING ~ Q200=+2 ;SET-UP CLEARANCE ~ Q203=+40 ;SURFACE COORDINATE ~ Q204=+50 ;2ND SET-UP CLEARANCE ~ Q366=+2 ;PLUNGE ~ Q385=+500 ;FINISHING FEED RATE ~ Q439=+3 ;FEED RATE REFERENCE 16 ; 17 L X+0 Y-50 Z+50 R0 FMAX M3 M99 ;Positioning and cycle call 18 ; 19 ;Tool call for deburring 20 ;With the values DL and DR, define the cutting point 21 ;of the tool tooth 22 TOOL CALL "NC_DEBURRING_D8" Z S555 DL-1 DR-3 23 ; 24 ;Definition of the NC program 51051_en.h as cycle 25 SEL CYCLE "51051_en.h" 26 ; 27 ;Parameter input for deburring 28 Q201 = - 1 ;DEPTH 29 Q222 = 80 ;SHAFT DIAMETER 30 Q200 = 2 ;SET-UP CLEARANCE 31 Q204 = 50 ;SECOND SET-UP CLEARANCE 32 Q207 = 300 ;FEED RATE FOR MILLING 33 ; 34 ;You must define the following parameters only 35 ;if further cycles are run between milling the 36 ;slot and deburring. 37 ;Q218 = 63 ;SLOT LENGTH 38 ;Q219 = 22 ;SLOT WIDTH 39 ;Q374 = 90 ;ANGLE OF ROTATION 40 ;Q367 = 0 ;SLOT POSITION 41 ;Q203 = 40 ;COORDINATE SURFACE 42 ;End of parameter input 43 ; 44 L X+0 Y-50 Z+50 R0 FMAX M99 ;Positioning and cycle call 45 ; 46 M140 MB MAX F9999 ;Retract 47 M30 ;End of program 48 ; 49 END PGM 5105_EN MM