
9. USER PROGRAMS FOR POCKETING MENU
SAMPLE PROGRAM B-63423EN/02
-440-
/* red for Path
color red
dot_line
#1=27-shift_grap_X
#2=120+shift_grap_Y
#3=53-shift_grap_X
#4=#2
#5=0
call fig_line
#1=56-shift_grap_X
#2=117+shift_grap_Y
#3=#1
#4=91+shift_grap_Y
#5=0
call fig_line
solid_line
#1=56-shift_grap_X
#2=85+shift_grap_Y
#3=#1
#4=11+shift_grap_Y
#5=0
call fig_line
dot_line
#1=72-shift_grap_X
#2=11+shift_grap_Y
#3=#1
#4=85+shift_grap_Y
#5=0
call fig_line
solid_line
m99
O6158 ;############################################### G83 for Hole
/* 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]
#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
G242X[-32-shift_grap_X]Y[-32+shift_grap_Y]
G01X[152-shift_grap_X]Y[-32+shift_grap_Y]
G01X[152-shift_grap_X]Y[104+shift_grap_Y]
G01X[-32-shift_grap_X]Y[104+shift_grap_Y]
G01X[-32-shift_grap_X]Y[-32+shift_grap_Y]
/* Tool
#20=16-shift_grap_X /* X coordinate of Top of Tool
#21=147+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]