
5. USER PROGRAMS FOR HOLE MACHINING MENU
SAMPLE PROGRAM B-63423EN/02
-228-
#1=0-shift_grap_X
#2=143+shift_grap_Y
#3=#1
#4=121+shift_grap_Y
#5=2
call fig_line
#1=0-shift_grap_X
#2=119+shift_grap_Y
#3=#1
#4=-23+shift_grap_Y
#5=2
call fig_line
endif
/* Characters
if[#[value 1] eq 91]then
if[cursor eq 6]then
color -white C blue L1
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 8]then
color -white C blue L1
else
color white C blue L0
endif
G243X[51-shift_char_X]Y[16-shift_char_Y](P)
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)
m99
O6094 ;############################################### G76 Fine boring cycle
/* Work
color blue /* blue for Inner
G242X[-23-shift_grap_X]Y[-23+shift_grap_Y]
G01X[143-shift_grap_X]Y[-23+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[-23+shift_grap_Y]
if[#[value 1] eq 91]then /* for Z
#1=43-shift_char_X
#2=12-shift_char_Y
#3=1