
B-63423EN/02 SAMPLE PROGRAM
8. USER PROGRAMS FOR SIDE CUTTING MENU
-365-
G03X[112-shift_grap_X]Y[48+shift_grap_Y]I[104-shift_grap_X]J[48+shift_grap_Y]
G01X[112-shift_grap_X]Y[96+shift_grap_Y]
G03X[104-shift_grap_X]Y[104+shift_grap_Y]I[104-shift_grap_X]J[96+shift_grap_Y]
G01X[0-shift_grap_X]Y[104+shift_grap_Y]
G03X[-8-shift_grap_X]Y[96+shift_grap_Y]I[0-shift_grap_X]J[96+shift_grap_Y]
G01X[-8-shift_grap_X]Y[48+shift_grap_Y]
G03X[0-shift_grap_X]Y[40+shift_grap_Y]I[0-shift_grap_X]J[48+shift_grap_Y]
#1=48-shift_grap_X
#2=104+shift_grap_Y
#3=49-shift_grap_X
#4=#2
#5=1
call fig_line
if[#[value 1] eq 3 || #[value 1] eq 4]then
#1=8-shift_grap_X
#2=88+shift_grap_Y
#3=8-shift_grap_X
#4=56+shift_grap_Y
#5=8-shift_grap_X
#6=72+shift_grap_Y
#7=0
call fig_ccw
else
G242X[8-shift_grap_X]Y[72+shift_grap_Y]
G01X[-7-shift_grap_X]Y[72+shift_grap_Y]
endif
/* green Line
color green
G242X[-16-shift_grap_X]Y[107+shift_grap_Y] /* for U
G01X[-16-shift_grap_X]Y[136+shift_grap_Y]
G242X[120-shift_grap_X]Y[107+shift_grap_Y]
G01X[120-shift_grap_X]Y[136+shift_grap_Y]
#1=-15-shift_grap_X
#2=134+shift_grap_Y
#3=119-shift_grap_X
#4=#2
#5=2
call fig_line
G242X[115-shift_grap_X]Y[112+shift_grap_Y] /* for V
G01X[144-shift_grap_X]Y[112+shift_grap_Y]
G242X[115-shift_grap_X]Y[32+shift_grap_Y]
G01X[144-shift_grap_X]Y[32+shift_grap_Y]
#1=141-shift_grap_X
#2=111+shift_grap_Y
#3=#1
#4=33+shift_grap_Y
#5=2
call fig_line
#1=104-shift_grap_X /* for R
#2=96+shift_grap_Y
#3=116-shift_grap_X
#4=108+shift_grap_Y
#5=0
call fig_line
/* yellow Cross Mark
color yellow
#1=52-shift_grap_X /* Center
#2=72+shift_grap_Y
call fig_mark
/* Characters
#1=21
call fig_cursor
G243X[45-shift_char_X]Y[11-shift_char_Y](X)
#1=22