
B-63423EN/02 SAMPLE PROGRAM
7. USER PROGRAMS FOR FACING MENU
-317-
G01X[95-shift_grap_X]Y[119+shift_grap_Y]
G01X[9-shift_grap_X]Y[119+shift_grap_Y]
G01X[9-shift_grap_X]Y[25+shift_grap_Y]
#1=44-shift_char_X
#2=11-shift_char_Y
#3=5
call fig_character
G206P0X[50-shift_grap_X]Y[50+shift_grap_Y]
/* green for Tool
color green
G242X[-1-shift_grap_X]Y[104+shift_grap_Y]
G02X[-1-shift_grap_X]Y[104+shift_grap_Y]I[-16-shift_grap_X]J[104+shift_grap_Y]Q4
G206P0X[-16-shift_grap_X]Y[104+shift_grap_Y]
G242X[105-shift_grap_X]Y[40+shift_grap_Y]
G02X[105-shift_grap_X]Y[40+shift_grap_Y]I[120-shift_grap_X]J[40+shift_grap_Y]Q4
G206X[120-shift_grap_X]Y[40+shift_grap_Y]
/* Edge Line
color sky_blue /* for Work(blue green)
G242X[8-shift_grap_X]Y[24+shift_grap_Y]
G01X[96-shift_grap_X]Y[24+shift_grap_Y]
G01X[96-shift_grap_X]Y[120+shift_grap_Y]
G01X[8-shift_grap_X]Y[120+shift_grap_Y]
G01X[8-shift_grap_X]Y[24+shift_grap_Y]
color purple /* for Tools(purple)
G242X[0-shift_grap_X]Y[104+shift_grap_Y]
G02X[0-shift_grap_X]Y[104+shift_grap_Y]I[-16-shift_grap_X]J[104+shift_grap_Y]Q4
G242X[104-shift_grap_X]Y[40+shift_grap_Y]
G02X[104-shift_grap_X]Y[40+shift_grap_Y]I[120-shift_grap_X]J[40+shift_grap_Y]Q4
/* red for Path
color red
G242X[120-shift_grap_X]Y[40+shift_grap_Y]
G01X[-16-shift_grap_X]Y[40+shift_grap_Y]
dot_line
if[#[value 9] eq 1]then
G01X[120-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[120-shift_grap_X]Y[72+shift_grap_Y]
endif
solid_line
G01X[120-shift_grap_X]Y[104+shift_grap_Y]
solid_line
G01X[-16-shift_grap_X]Y[104+shift_grap_Y]
if[#[value 9] eq 1]then ;Direction of Cutting
#1=16-shift_grap_X
#2=40+shift_grap_Y
#3=18-shift_grap_X
#4=40+shift_grap_Y
#5=1
call fig_line
#1=16-shift_grap_X
#2=72+shift_grap_Y
#3=18-shift_grap_X
#4=72+shift_grap_Y
#5=1
call fig_line
#1=16-shift_grap_X
#2=104+shift_grap_Y
#3=18-shift_grap_X
#4=104+shift_grap_Y
#5=1