
B-63423EN/02 SAMPLE PROGRAM
5. USER PROGRAMS FOR HOLE MACHINING MENU
-249-
else
color white C blue L0
endif
G243X[43-shift_char_X]Y[12-shift_char_Y](Z)
#1=7
call fig_cursor
G243X[43-shift_char_X]Y[9-shift_char_Y](R)
if[cursor eq 10]then
if[previous_cursor ne 3]then
cursor_off
G243X[43-shift_char_X]Y[9-shift_char_Y](R)
endif
endif
else
if[cursor eq 6]then
color -white C blue L1
else
color white C blue L0
endif
G243X[50-shift_char_X]Y[14-shift_char_Y](Z)
#1=7
call fig_cursor
G243X[45-shift_char_X]Y[9-shift_char_Y](R)
if[cursor eq 10]then
if[previous_cursor ne 3]then
cursor_off
G243X[45-shift_char_X]Y[9-shift_char_Y](R)
endif
endif
endif
cursor_off
m99
O6101 ;############################################### G87 Back boring cycle
/* Work
color blue /* blue for Inner
G242X[-23-shift_grap_X]Y[9+shift_grap_Y]
G01X[143-shift_grap_X]Y[9+shift_grap_Y]
G01X[143-shift_grap_X]Y[71+shift_grap_Y]
G01X[-23-shift_grap_X]Y[71+shift_grap_Y]
G01X[-23-shift_grap_X]Y[9+shift_grap_Y]
if[#[value 1] eq 91]then /* for Z,R
#1=43-shift_char_X
#2=13-shift_char_Y
#3=1
call fig_character
#1=41-shift_char_X
#2=11-shift_char_Y
#3=1
call fig_character
else
#1=44-shift_char_X
#2=12-shift_char_Y
#3=1
call fig_character
endif
#1=45-shift_char_X /* for P
#2=11-shift_char_Y
#3=1
call fig_character
G206P0X[0-shift_grap_X]Y[24+shift_grap_Y]
color sky_blue /* blue green for Edge
G242X[-24-shift_grap_X]Y[8+shift_grap_Y]
G01X[144-shift_grap_X]Y[8+shift_grap_Y]
G01X[144-shift_grap_X]Y[72+shift_grap_Y]