
B-63423EN/02 SAMPLE PROGRAM
9. USER PROGRAMS FOR POCKETING MENU
-425-
/****************************************************************************
/*
/* FIGSUB7.SRC :: Pocket
/*
/***** 6151: Prepare
/***** 6152: Square
/***** 6153: Circle
/***** 6154: Track
/***** 6155: Groove
/***** 6156: Contour Groove
/***** 6157: G81 for Hole
/***** 6158: G83 for Hole
/***** 6159: Tool Small Dia.
/***** 6160: Chamfer Angle
/***** 6161: Tool Out Depth
/***** 6162: Tool Corner R
/****************************************************************************
$INCLUDE SYMBOL.DEF
O6151 ;############################################### Prepare
/* blue for Work
color blue
G242X[-23-shift_grap_X]Y[1+shift_grap_Y]
G01X[111-shift_grap_X]Y[1+shift_grap_Y]
G01X[111-shift_grap_X]Y[111+shift_grap_Y]
if[#[address 0] ne 234 && #[address 0] ne 235]then
G01X[98-shift_grap_X]Y[111+shift_grap_Y]
G01X[89-shift_grap_X]Y[102+shift_grap_Y]
else
G01X[89-shift_grap_X]Y[111+shift_grap_Y]
endif
G01X[89-shift_grap_X]Y[47+shift_grap_Y]
G01X[-1-shift_grap_X]Y[47+shift_grap_Y]
if[#[address 0] ne 234 && #[address 0] ne 235]then
G01X[-1-shift_grap_X]Y[102+shift_grap_Y]
G01X[-10-shift_grap_X]Y[111+shift_grap_Y]
else
G01X[-1-shift_grap_X]Y[111+shift_grap_Y]
endif
G01X[-23-shift_grap_X]Y[111+shift_grap_Y]
G01X[-23-shift_grap_X]Y[1+shift_grap_Y]
#1=50-shift_char_X /* for H
#2=13-shift_char_Y
#3=1
call fig_character
G206P0X[0-shift_grap_X]Y[8+shift_grap_Y]
/* blue green for Finish
color sky_blue
if[#[address 0] ne 234 && #[address 0] ne 235]then
G242X[-9-shift_grap_X]Y[111+shift_grap_Y]
else
G242X[1-shift_grap_X]Y[111+shift_grap_Y]
endif
G01X[1-shift_grap_X]Y[102+shift_grap_Y]
G01X[1-shift_grap_X]Y[49+shift_grap_Y]
G01X[87-shift_grap_X]Y[49+shift_grap_Y]
if[#[address 0] ne 234 && #[address 0] ne 235]then
G01X[87-shift_grap_X]Y[102+shift_grap_Y]
G01X[97-shift_grap_X]Y[111+shift_grap_Y]
else
G01X[87-shift_grap_X]Y[111+shift_grap_Y]
endif
G01X[81-shift_grap_X]Y[111+shift_grap_Y]
G01X[81-shift_grap_X]Y[55+shift_grap_Y]