
B-63423EN/02 SAMPLE PROGRAM
8. USER PROGRAMS FOR SIDE CUTTING MENU
-377-
O6140 ;############################################### Contour : Approach/Escape Type
if[#[address 0] eq 224]then #19=21
else #19=26
/* blue for Work
color blue
#20=144+shift_grap_Y
G242X[-24-shift_grap_X]Y[#20-23]
G01X[-24-shift_grap_X]Y[#20+23]
G02X[-24-shift_grap_X]Y[#20-23]I[-34-shift_grap_X]J#20
G206P0X[-16-shift_grap_X]Y#20
#20=80+shift_grap_Y
G242X[-24-shift_grap_X]Y[#20-23]
G01X[-24-shift_grap_X]Y[#20+23]
G02X[-24-shift_grap_X]Y[#20-23]I[-34-shift_grap_X]J#20
G206P0X[-16-shift_grap_X]Y#20
#20=16+shift_grap_Y
G242X[-24-shift_grap_X]Y[#20-23]
G01X[-24-shift_grap_X]Y[#20+23]
G02X[-24-shift_grap_X]Y[#20-23]I[-34-shift_grap_X]J#20
G206P0X[-16-shift_grap_X]Y#20
/* Edge Line
color sky_blue /* for Work(blue green)
#20=144+shift_grap_Y
G242X[-24-shift_grap_X]Y[#20+24]
G02X[-24-shift_grap_X]Y[#20-24]I[-34-shift_grap_X]J#20
#20=80+shift_grap_Y
G242X[-24-shift_grap_X]Y[#20+24]
G02X[-24-shift_grap_X]Y[#20-24]I[-34-shift_grap_X]J#20
#20=16+shift_grap_Y
G242X[-24-shift_grap_X]Y[#20+24]
G02X[-24-shift_grap_X]Y[#20-24]I[-34-shift_grap_X]J#20
/* red for Path
color red
if[cursor eq #19]then
#1=9-shift_grap_X
#2=160+shift_grap_Y
#3=-7-shift_grap_X
#4=144+shift_grap_Y
else
#1=-7-shift_grap_X
#2=144+shift_grap_Y
#3=9-shift_grap_X
#4=128+shift_grap_Y
endif
#5=9-shift_grap_X
#6=144+shift_grap_Y
#7=0
call fig_ccw
if[cursor eq #19]then
#2=104+shift_grap_Y
#4=80+shift_grap_Y
else
#2=80+shift_grap_Y
#4=56+shift_grap_Y
endif
#1=-7-shift_grap_X
#3=#1
#5=0
call fig_line
#1=17-shift_grap_X
#2=16+shift_grap_Y
#3=-7-shift_grap_X