
8. USER PROGRAMS FOR SIDE CUTTING MENU
SAMPLE PROGRAM B-63423EN/02
-366-
call fig_cursor
G243X[47-shift_char_X]Y[11-shift_char_Y](Y)
#1=23
call fig_cursor
G243X[46-shift_char_X]Y[6-shift_char_Y](U)
#1=24
call fig_cursor
G243X[58-shift_char_X]Y[10-shift_char_Y](V)
#1=27
call fig_cursor
G243X[52-shift_char_X]Y[9-shift_char_Y](R)
cursor_off
G243X[44-shift_char_X]Y[11-shift_char_Y]('(')
G243X[46-shift_char_X]Y[11-shift_char_Y](',')
G243X[48-shift_char_X]Y[11-shift_char_Y](')')
m99
O6135 ;############################################### Circle Outer
/* blue for Work
color blue
G242X[95-shift_grap_X]Y[72+shift_grap_Y]
G02X[95-shift_grap_X]Y[72+shift_grap_Y]I[48-shift_grap_X]J[72+shift_grap_Y]Q4
#1=43-shift_char_X /* for (X,Y)
#2=11-shift_char_Y
#3=5
call fig_character
#1=47-shift_char_X /* for R
#2=9-shift_char_Y
#3=1
call fig_character
G206P0X[48-shift_grap_X]Y[40+shift_grap_Y]
/* green for Tool
color green
if[#[value 1] eq 3 || #[value 1] eq 4]then
G242X[113-shift_grap_X]Y[88+shift_grap_Y] /* Start Tool
G02X[113-shift_grap_X]Y[88+shift_grap_Y]I[120-shift_grap_X]J[88+shift_grap_Y]Q4
G206P0X[120-shift_grap_X]Y[88+shift_grap_Y]
G242X[113-shift_grap_X]Y[56+shift_grap_Y] /* End Tool
G02X[113-shift_grap_X]Y[56+shift_grap_Y]I[120-shift_grap_X]J[56+shift_grap_Y]Q4
G206P0X[120-shift_grap_X]Y[56+shift_grap_Y]
else
G242X[113-shift_grap_X]Y[72+shift_grap_Y]
G02X[113-shift_grap_X]Y[72+shift_grap_Y]I[120-shift_grap_X]J[72+shift_grap_Y]Q4
G206P0X[120-shift_grap_X]Y[72+shift_grap_Y]
endif
/* Edge Line
color sky_blue /* for Work(blue green)
G242X[96-shift_grap_X]Y[72+shift_grap_Y]
G02X[96-shift_grap_X]Y[72+shift_grap_Y]I[48-shift_grap_X]J[72+shift_grap_Y]Q4
color purple /* for Tools(purple)
if[#[value 1] eq 3 || #[value 1] eq 4]then
G242X[112-shift_grap_X]Y[88+shift_grap_Y] /* for Start Tool
G02X[112-shift_grap_X]Y[88+shift_grap_Y]I[120-shift_grap_X]J[88+shift_grap_Y]Q4
G242X[112-shift_grap_X]Y[56+shift_grap_Y] /* for End Tool
G02X[112-shift_grap_X]Y[56+shift_grap_Y]I[120-shift_grap_X]J[56+shift_grap_Y]Q4
else
G242X[112-shift_grap_X]Y[72+shift_grap_Y]
G02X[112-shift_grap_X]Y[72+shift_grap_Y]I[120-shift_grap_X]J[72+shift_grap_Y]Q4
endif
/* red for Path
color red
G242X[104-shift_grap_X]Y[72+shift_grap_Y]