
5. USER PROGRAMS FOR HOLE MACHINING MENU
SAMPLE PROGRAM B-63423EN/02
-214-
5.3 GUIDANCE DRAWING FIGURE
/****************************************************************************
/*
/* FIG3.SRC :: Canned Cycle
/*
/***** 8632: G81/G82/G83/G73
/* G81 Drilling cycle, spot drilling cycle
/* G82 Drilling cycle, counter boring cycle
/* G83 Peck drilling cycle
/* G73 High-speed peck drilling cycle
/***** 8633: G85/G86/G88/G89/G87/G76
/* G85 Boring cycle
/* G86 Boring cycle
/* G88 Boring cycle
/* G89 Boring cycle
/* G76 Fine boring cycle
/* G87 Back boring cycle
/***** 8634: G84/G74
/* G84 Tapping cycle
/* G74 Left-hand tapping cycle
/***** 8634: G76 Fine boring cycle
/***** 8640: G85 Boring cycle
/***** 8641: G86 Boring cycle
/***** 8642: G87 Back boring cycle
/***** 8643: G88 Boring cycle
/***** 8644: G89 Boring cycle
/****************************************************************************
$INCLUDE SYMBOL.DEF
O8632 ;############################################### G81/G82/G83/G73
/*** Guide Picture Setting ***/
if[guide_frequency ne secont_tine]goto 90
if[cursor eq 1]then
call fig_clear
call 6055
endif
if[cursor eq 2]then
call fig_clear
call 6091
endif
if[cursor eq 3]then
call fig_clear
call fig_language
cursor_off
G243X[36-shift_char_X]Y[5-shift_char_Y]P[#1+101]
G243X[36-shift_char_X]Y[6-shift_char_Y]P[#1+102]
G243X[36-shift_char_X]Y[7-shift_char_Y]P[#1+103]
G243X[36-shift_char_X]Y[8-shift_char_Y]P[#1+104]
endif
if[#[value 3] eq 81]then
if[cursor eq 6 || cursor eq 7 || cursor eq 10]then
if[previous_cursor ne 6 && previous_cursor ne 7]then
call fig_clear
endif
call 6095
endif
endif
if[#[value 3] eq 82]then
if[cursor ge 6 && cursor le 8]then
if[previous_cursor lt 6 || previous_cursor gt 8]then
call fig_clear
endif