
7. USER PROGRAMS FOR FACING MENU
SAMPLE PROGRAM B-63423EN/02
-324-
/* red for Path
color red
G242X[115.777-shift_grap_X]Y[40+shift_grap_Y]
G01X[-3.777-shift_grap_X]Y[40+shift_grap_Y]
dot_line
if[#[value 9] eq 1]then
G01X[128-shift_grap_X]Y[72+shift_grap_Y]
solid_line
G01X[-16-shift_grap_X]Y[72+shift_grap_Y]
else
G01X[-16-shift_grap_X]Y[72+shift_grap_Y]
solid_line
G01X[128-shift_grap_X]Y[72+shift_grap_Y]
endif
dot_line
G01X[115.777-shift_grap_X]Y[104+shift_grap_Y]
solid_line
G01X[-3.777-shift_grap_X]Y[104+shift_grap_Y]
if[#[value 9] eq 1]then /* Arrows for Cutting Direction
#1=48-shift_grap_X
#2=40+shift_grap_Y
#3=49-shift_grap_X
#4=#2
#5=1
call fig_line
#1=48-shift_grap_X
#2=72+shift_grap_Y
#3=49-shift_grap_X
#4=#2
#5=1
call fig_line
#1=48-shift_grap_X
#2=104+shift_grap_Y
#3=49-shift_grap_X
#4=#2
#5=1
call fig_line
else
#1=48-shift_grap_X
#2=40+shift_grap_Y
#3=49-shift_grap_X
#4=#2
#5=1
call fig_line
#1=48-shift_grap_X
#2=104+shift_grap_Y
#3=49-shift_grap_X
#4=#2
#5=1
call fig_line
#1=54-shift_grap_X
#2=72+shift_grap_Y
#3=53-shift_grap_X
#4=#2
#5=1
call fig_line
endif
#1=112-shift_grap_X /* (1)
#2=29+shift_grap_Y
#3=122-shift_grap_X
#4=#2
#5=1
call fig_line
#1=112-shift_grap_X /* (2)
#2=115+shift_grap_Y
#3=122-shift_grap_X