
B-63423EN/02 SAMPLE PROGRAM
5. USER PROGRAMS FOR HOLE MACHINING MENU
-219-
/****************************************************************************
/*
/* FIGSUB3.SRC :: Canned Cycle
/*
/***** 6091: Return point level
/***** 6092: G73 High-speed peck drilling cycle
/***** 6093: G74 Left-hand tapping cycle
/***** 6094: G76 Fine boring cycle
/***** 6095: G81 Drilling cycle, spot drilling cycle
/***** 6096: G82 Drilling cycle, counter boring cycle
/***** 6097: G83 Peck drilling cycle
/***** 6098: G84 Tapping cycle
/***** 6099: G85 Boring cycle
/***** 6100: G86 Boring cycle
/***** 6101: G87 Back boring cycle
/***** 6102: G88 Boring cycle
/***** 6103: G89 Boring cycle
/****************************************************************************
$INCLUDE SYMBOL.DEF
O6091 ;############################################### Return point level
/* Work
color blue /* for Inner
G242X[-31-shift_grap_X]Y[9+shift_grap_Y] /* Left Work
G01X[55-shift_grap_X]Y[9+shift_grap_Y]
G01X[55-shift_grap_X]Y[71+shift_grap_Y]
G01X[-31-shift_grap_X]Y[71+shift_grap_Y]
G01X[-31-shift_grap_X]Y[9+shift_grap_Y]
G206P0X[0-shift_grap_X]Y[40+shift_grap_Y]
G242X[65-shift_grap_X]Y[9+shift_grap_Y] /* Right Work
G01X[151-shift_grap_X]Y[9+shift_grap_Y]
G01X[151-shift_grap_X]Y[71+shift_grap_Y]
G01X[65-shift_grap_X]Y[71+shift_grap_Y]
G01X[65-shift_grap_X]Y[9+shift_grap_Y]
G206P0X[100-shift_grap_X]Y[40+shift_grap_Y]
color sky_blue /* for Edge
G242X[-32-shift_grap_X]Y[8+shift_grap_Y] /* Left Work
G01X[56-shift_grap_X]Y[8+shift_grap_Y]
G01X[56-shift_grap_X]Y[72+shift_grap_Y]
G01X[-32-shift_grap_X]Y[72+shift_grap_Y]
G01X[-32-shift_grap_X]Y[8+shift_grap_Y]
G242X[64-shift_grap_X]Y[8+shift_grap_Y] /* Right Work
G01X[152-shift_grap_X]Y[8+shift_grap_Y]
G01X[152-shift_grap_X]Y[72+shift_grap_Y]
G01X[64-shift_grap_X]Y[72+shift_grap_Y]
G01X[64-shift_grap_X]Y[8+shift_grap_Y]
/* Tool
#20=-8-shift_grap_X /* X coordinate of Top of Tool
#21=139+shift_grap_Y /* Y coordinate of Top of Tool
color green /* green for Inner
G242X[#20]Y[#21+1]
G01X[#20-7]Y[#21+5]
G01X[#20-7]Y[#21+20]
G01X[#20+7]Y[#21+20]
G01X[#20+7]Y[#21+5]
G01X[#20]Y[#21+1]
G206P0X[#20]Y[#21+5]
color purple /* purple for Edge
G242X[#20]Y[#21]
G01X[#20-8]Y[#21+5]
G01X[#20-8]Y[#21+21]
G01X[#20+8]Y[#21+21]
G01X[#20+8]Y[#21+5]
G01X[#20]Y[#21]
#20=88-shift_grap_X /* X coordinate of Top of Tool