
8. USER PROGRAMS FOR SIDE CUTTING MENU
SAMPLE PROGRAM B-63423EN/02
-364-
O6134 ;############################################### Square Inner
/* blue for Work
color blue
G242X[-31-shift_grap_X]Y[17+shift_grap_Y]
G01X[135-shift_grap_X]Y[17+shift_grap_Y]
G01X[135-shift_grap_X]Y[127+shift_grap_Y]
G01X[-31-shift_grap_X]Y[127+shift_grap_Y]
G01X[-31-shift_grap_X]Y[17+shift_grap_Y]
G242X[-8-shift_grap_X]Y[31+shift_grap_Y]
G01X[112-shift_grap_X]Y[31+shift_grap_Y]
G03X[121-shift_grap_X]Y[40+shift_grap_Y]I[112-shift_grap_X]J[40+shift_grap_Y]
G01X[121-shift_grap_X]Y[104+shift_grap_Y]
G03X[112-shift_grap_X]Y[113+shift_grap_Y]I[112-shift_grap_X]J[104+shift_grap_Y]
G01X[-8-shift_grap_X]Y[113+shift_grap_Y]
G03X[-17-shift_grap_X]Y[104+shift_grap_Y]I[-8-shift_grap_X]J[104+shift_grap_Y]
G01X[-17-shift_grap_X]Y[40+shift_grap_Y]
G03X[-8-shift_grap_X]Y[31+shift_grap_Y]I[-8-shift_grap_X]J[40+shift_grap_Y]
G206P0X[0-shift_grap_X]Y[24+shift_grap_Y]
/* green for Tool
color green
if[#[value 1] eq 3 || #[value 1] eq 4]then
G242X[1-shift_grap_X]Y[88+shift_grap_Y] /* Start Tool
G02X[1-shift_grap_X]Y[88+shift_grap_Y]I[8-shift_grap_X]J[88+shift_grap_Y]Q4
G206P0X[8-shift_grap_X]Y[88+shift_grap_Y]
G242X[1-shift_grap_X]Y[56+shift_grap_Y] /* End Tool
G02X[1-shift_grap_X]Y[56+shift_grap_Y]I[8-shift_grap_X]J[56+shift_grap_Y]Q4
G206P0X[8-shift_grap_X]Y[56+shift_grap_Y]
else
G242X[1-shift_grap_X]Y[72+shift_grap_Y]
G02X[1-shift_grap_X]Y[72+shift_grap_Y]I[8-shift_grap_X]J[72+shift_grap_Y]Q4
G206P0X[8-shift_grap_X]Y[72+shift_grap_Y]
endif
/* Edge Line
color sky_blue /* for Work(blue green)
G242X[-32-shift_grap_X]Y[16+shift_grap_Y]
G01X[136-shift_grap_X]Y[16+shift_grap_Y]
G01X[136-shift_grap_X]Y[128+shift_grap_Y]
G01X[-32-shift_grap_X]Y[128+shift_grap_Y]
G01X[-32-shift_grap_X]Y[16+shift_grap_Y]
G242X[-8-shift_grap_X]Y[32+shift_grap_Y]
G01X[112-shift_grap_X]Y[32+shift_grap_Y]
G03X[120-shift_grap_X]Y[40+shift_grap_Y]I[112-shift_grap_X]J[40+shift_grap_Y]
G01X[120-shift_grap_X]Y[104+shift_grap_Y]
G03X[112-shift_grap_X]Y[112+shift_grap_Y]I[112-shift_grap_X]J[104+shift_grap_Y]
G01X[-8-shift_grap_X]Y[112+shift_grap_Y]
G03X[-16-shift_grap_X]Y[104+shift_grap_Y]I[-8-shift_grap_X]J[104+shift_grap_Y]
G01X[-16-shift_grap_X]Y[40+shift_grap_Y]
G03X[-8-shift_grap_X]Y[32+shift_grap_Y]I[-8-shift_grap_X]J[40+shift_grap_Y]
color purple /* for Tools(purple)
if[#[value 1] eq 3 || #[value 1] eq 4]then
G242X[0-shift_grap_X]Y[88+shift_grap_Y] /* for Start Tool
G02X[0-shift_grap_X]Y[88+shift_grap_Y]I[8-shift_grap_X]J[88+shift_grap_Y]Q4
G242X[0-shift_grap_X]Y[56+shift_grap_Y] /* for End Tool
G02X[0-shift_grap_X]Y[56+shift_grap_Y]I[8-shift_grap_X]J[56+shift_grap_Y]Q4
else
G242X[0-shift_grap_X]Y[72+shift_grap_Y]
G02X[0-shift_grap_X]Y[72+shift_grap_Y]I[8-shift_grap_X]J[72+shift_grap_Y]Q4
endif
/* red for Path
color red
G242X[0-shift_grap_X]Y[40+shift_grap_Y]
G01X[104-shift_grap_X]Y[40+shift_grap_Y]