
B-63423EN/02 SAMPLE PROGRAM
8. USER PROGRAMS FOR SIDE CUTTING MENU
-367-
G02X[104-shift_grap_X]Y[72+shift_grap_Y]I[48-shift_grap_X]J[72+shift_grap_Y]Q4
#1=48-shift_grap_X
#2=128+shift_grap_Y
#3=47-shift_grap_X
#4=#2
#5=1
call fig_line
if[#[value 1] eq 3 || #[value 1] eq 4]then
#1=120-shift_grap_X
#2=88+shift_grap_Y
#3=120-shift_grap_X
#4=56+shift_grap_Y
#5=120-shift_grap_X
#6=72+shift_grap_Y
#7=0
call fig_ccw
else
G242X[120-shift_grap_X]Y[72+shift_grap_Y]
G01X[105-shift_grap_X]Y[72+shift_grap_Y]
endif
/* green Line
color green
#1=49-shift_grap_X /* for R
#2=73+shift_grap_Y
#3=81.9411-shift_grap_X
#4=105.9411+shift_grap_Y
#5=0
call fig_line
/* yellow Cross Mark
color yellow
#1=48-shift_grap_X /* Center
#2=72+shift_grap_Y
call fig_mark
/* Characters
if[cursor eq 21]then
color -white C blue L1
else
color white C blue L0
endif
G243X[44-shift_char_X]Y[11-shift_char_Y](X)
if[cursor eq 22]then
color -white C blue L1
else
color white C blue L0
endif
G243X[46-shift_char_X]Y[11-shift_char_Y](Y)
if[cursor eq 23]then
color -white C blue L1
else
color white C blue L0
endif
G243X[47-shift_char_X]Y[9-shift_char_Y](R)
color white C blue L0
G243X[43-shift_char_X]Y[11-shift_char_Y]('(')
G243X[45-shift_char_X]Y[11-shift_char_Y](',')
G243X[47-shift_char_X]Y[11-shift_char_Y](')')
cursor_off
m99
O6136 ;############################################### Circle Inner
/* blue for Work