
8. USER PROGRAMS FOR SIDE CUTTING MENU
SAMPLE PROGRAM B-63423EN/02
-370-
else
G242X[137-shift_grap_X]Y[72+shift_grap_Y]
G02X[137-shift_grap_X]Y[72+shift_grap_Y]I[144-shift_grap_X]J[72+shift_grap_Y]Q4
G206P0X[144-shift_grap_X]Y[72+shift_grap_Y]
endif
/* Edge Line
color sky_blue /* for Work(blue green)
G242X[8-shift_grap_X]Y[40+shift_grap_Y]
G01X[88-shift_grap_X]Y[40+shift_grap_Y]
G03X[88-shift_grap_X]Y[104+shift_grap_Y]I[88-shift_grap_X]J[72+shift_grap_Y]
G01X[8-shift_grap_X]Y[104+shift_grap_Y]
G03X[8-shift_grap_X]Y[40+shift_grap_Y]I[8-shift_grap_X]J[72+shift_grap_Y]
color purple /* for Tools(purple)
if[#[value 1] eq 3 || #[value 1] eq 4]then
G242X[136-shift_grap_X]Y[88+shift_grap_Y] /* for Start Tool
G02X[136-shift_grap_X]Y[88+shift_grap_Y]I[144-shift_grap_X]J[88+shift_grap_Y]Q4
G242X[136-shift_grap_X]Y[56+shift_grap_Y] /* for End Tool
G02X[136-shift_grap_X]Y[56+shift_grap_Y]I[144-shift_grap_X]J[56+shift_grap_Y]Q4
else
G242X[136-shift_grap_X]Y[72+shift_grap_Y]
G02X[136-shift_grap_X]Y[72+shift_grap_Y]I[144-shift_grap_X]J[72+shift_grap_Y]Q4
endif
/* red for Path
color red
G242X[8-shift_grap_X]Y[32+shift_grap_Y]
G01X[88-shift_grap_X]Y[32+shift_grap_Y]
G03X[88-shift_grap_X]Y[112+shift_grap_Y]I[88-shift_grap_X]J[72+shift_grap_Y]
G01X[8-shift_grap_X]Y[112+shift_grap_Y]
G03X[8-shift_grap_X]Y[32+shift_grap_Y]I[8-shift_grap_X]J[72+shift_grap_Y]
#1=40-shift_grap_X
#2=32+shift_grap_Y
#3=41-shift_grap_X
#4=#2
#5=1
call fig_line
#1=46-shift_grap_X
#2=112+shift_grap_Y
#3=45-shift_grap_X
#4=#2
#5=1
call fig_line
if[#[value 1] eq 3 || #[value 1] eq 4]then
#1=144-shift_grap_X
#2=88+shift_grap_Y
#3=144-shift_grap_X
#4=56+shift_grap_Y
#5=144-shift_grap_X
#6=72+shift_grap_Y
#7=0
call fig_ccw
else
G242X[144-shift_grap_X]Y[72+shift_grap_Y]
G01X[129-shift_grap_X]Y[72+shift_grap_Y]
endif
/* green Line
color green
#1=9-shift_grap_X /* for U
#2=72+shift_grap_Y
#3=87-shift_grap_X
#4=#2
#5=2
call fig_line
#1=88-shift_grap_X /* for R
#2=72+shift_grap_Y