
B-63423EN/02 SAMPLE PROGRAM
8. USER PROGRAMS FOR SIDE CUTTING MENU
-357-
#[attribute 8] = att_not_use
#[attribute 18] = att_not_use
endif
if[#[value 21] eq 1]then
#[attribute 22] = att_decimal + att_detail
#[attribute 23] = att_decimal + att_detail
#[attribute 24] = att_not_use
else
#[attribute 22] = att_not_use
#[attribute 23] = att_not_use
#[attribute 24] = att_decimal + att_detail
endif
if[#[value 25] eq 1]then
#[attribute 26] = att_decimal + att_detail
#[attribute 27] = att_decimal + att_detail
#[attribute 28] = att_not_use
else
#[attribute 26] = att_not_use
#[attribute 27] = att_not_use
#[attribute 28] = att_decimal + att_detail
endif
m99
/****************************************************************************
/*
/* FIGSUB6.SRC :: Side
/*
/***** 6131: Prepare
/***** 6132: Taper Angle
/***** 6133: Square Outer
/***** 6134: Square Inner
/***** 6135: Circle Outer
/***** 6136: Circle Inner
/***** 6137: Track Outer
/***** 6138: Track Inner
/***** 6139: One Side
/***** 6140: Contour : Approach/Escape Type
/***** 6141: Contour : Approach/Escape Circle
/***** 6142: Contour : Approach/Escape Tangent
/***** 6143: Contour : Approach/Escape Vertical
/***** 6144: Contour : Compensation Direction
/****************************************************************************
$INCLUDE SYMBOL.DEF
O6131 ;############################################### Prepare
/* blue for Work
color blue
G242X[-15-shift_grap_X]Y[17+shift_grap_Y]
G01X[103-shift_grap_X]Y[17+shift_grap_Y]
G01X[103-shift_grap_X]Y[143+shift_grap_Y]
if[#[address 0] ne 224]then
G01X[64-shift_grap_X]Y[143+shift_grap_Y]
G01X[49-shift_grap_X]Y[128+shift_grap_Y]
else
G01X[49-shift_grap_X]Y[143+shift_grap_Y]
endif
G01X[49-shift_grap_X]Y[47+shift_grap_Y]
G01X[-15-shift_grap_X]Y[47+shift_grap_Y]
G01X[-15-shift_grap_X]Y[17+shift_grap_Y]
G206P0X[0-shift_grap_X]Y[30+shift_grap_Y]
/* blue green for Finish
color sky_blue
G242X[-15-shift_grap_X]Y[49+shift_grap_Y]