
9. USER PROGRAMS FOR POCKETING MENU
SAMPLE PROGRAM B-63423EN/02
-444-
G01X[#20+1]Y[#21-48]
G01X[#20+1]Y[#21-1]
#1=47-shift_char_X /* for J
#2=9-shift_char_Y
#3=1
call fig_character
G206P0X[#20+10]Y[#21-10]
color purple /* for Tool Edge
#20 =16-shift_grap_X /* Left Up Point X
#21 =136+shift_grap_Y /* Left Up Point Y
G242X[#20]Y[#21]
G01X[#20+88]Y[#21]
G01X[#20+88]Y[#21-48]
G01X[#20+56]Y[#21-80]
G01X[#20+32]Y[#21-80]
G01X[#20]Y[#21-48]
G01X[#20]Y[#21]
/* Glue Line
color blue
#1=32-shift_grap_X
#2=72+shift_grap_Y
#3=88-shift_grap_X
#4=72+shift_grap_Y
#5=60-shift_grap_X
#6=44+shift_grap_Y
#7=2
call fig_cw
/* Characters
color -white C green L1
G243X[47-shift_char_X]Y[9-shift_char_Y](J)
cursor_off
m99
O6161 ;############################################### Tool Out Depth
/* green for Tool
color green
#20 =-8-shift_grap_X /* Left Up Point X
#21 =136+shift_grap_Y /* Left Up Point Y
G242X[#20+1]Y[#21-1]
G01X[#20+88-1]Y[#21-1]
G01X[#20+88-1]Y[#21-48]
G01X[#20+56]Y[#21-80+1]
G01X[#20+32]Y[#21-80+1]
G01X[#20+1]Y[#21-48]
G01X[#20+1]Y[#21-1]
G206P0X[#20+10]Y[#21-10]
color purple /* for Tool Edge
G242X[#20]Y[#21]
G01X[#20+88]Y[#21]
G01X[#20+88]Y[#21-48]
G01X[#20+56]Y[#21-80]
G01X[#20+32]Y[#21-80]
G01X[#20]Y[#21-48]
G01X[#20]Y[#21]
/* blue for Work
color blue
G242X[57-shift_grap_X]Y[-24+shift_grap_Y]
G01X[152-shift_grap_X]Y[-24+shift_grap_Y]
G01X[152-shift_grap_X]Y[79+shift_grap_Y]
G01X[72-shift_grap_X]Y[79+shift_grap_Y]
G01X[57-shift_grap_X]Y[64+shift_grap_Y]
G01X[57-shift_grap_X]Y[-24+shift_grap_Y]