
5. USER PROGRAMS FOR HOLE MACHINING MENU
SAMPLE PROGRAM B-63423EN/02
-240-
else
color white C blue L0
endif
G243X[38-shift_char_X]Y[12-shift_char_Y](Z)
#1=7
call fig_cursor
G243X[38-shift_char_X]Y[7-shift_char_Y](R)
else
if[cursor eq 6]then
color -white C blue L1
else
color white C blue L0
endif
G243X[54-shift_char_X]Y[16-shift_char_Y](Z)
#1=7
call fig_cursor
G243X[41-shift_char_X]Y[7-shift_char_Y](R)
endif
if[cursor eq 9]then
color -white C blue L1
else
color white C blue L0
endif
G243X[41-shift_char_X]Y[12-shift_char_Y](Q)
color white C blue L0
G243X[41-shift_char_X]Y[9-shift_char_Y](Q)
G243X[41-shift_char_X]Y[15-shift_char_Y](Q)
if[cursor eq 12]then
color -white C blue L1
else
color white C blue L0
endif
G243X[51-shift_char_X]Y[16-shift_char_Y](P)
cursor_off
m99
O6098 ;############################################### G84 Tapping cycle
/* Work
color blue /* blue for Inner
G242X[-31-shift_grap_X]Y[-31+shift_grap_Y]
G01X[151-shift_grap_X]Y[-31+shift_grap_Y]
G01X[151-shift_grap_X]Y[103+shift_grap_Y]
G01X[-31-shift_grap_X]Y[103+shift_grap_Y]
G01X[-31-shift_grap_X]Y[-31+shift_grap_Y]
if[#[value 1] eq 91]then /* for Z
#1=38-shift_char_X
#2=12-shift_char_Y
#3=1
call fig_character
else
#1=54-shift_char_X
#2=16-shift_char_Y
#3=1
call fig_character
endif
#1=41-shift_char_X /* for Q
#2=9-shift_char_Y
#3=1
call fig_character
#2=12-shift_char_Y
call fig_character
#2=15-shift_char_Y
call fig_character
G206P0X[0-shift_grap_X]Y[0+shift_grap_Y]
color sky_blue /* blue green for Edge