
6. USER PROGRAMS FOR HOLE PATTERN MENU
SAMPLE PROGRAM B-63423EN/02
-294-
G02X[#21]Y[#22+#20]I[#21]J[#22]
G206P0X#21Y#22
/* purple line
color purple
#20=5 /* Radius
#21=60+45.254-shift_grap_X /* Center X
#22=72+45.254+shift_grap_Y /* Center Y
G242X[#21]Y[#22+#20]
G02X[#21]Y[#22+#20]I[#21]J[#22]
#21=60-16.564-shift_grap_X /* Center X
#22=72+61.819+shift_grap_Y /* Center Y
G242X[#21]Y[#22+#20]
G02X[#21]Y[#22+#20]I[#21]J[#22]
#21=60-61.819-shift_grap_X /* Center X
#22=72+16.564+shift_grap_Y /* Center Y
G242X[#21]Y[#22+#20]
G02X[#21]Y[#22+#20]I[#21]J[#22]
#21=60-45.254-shift_grap_X /* Center X
#22=72-45.254+shift_grap_Y /* Center Y
G242X[#21]Y[#22+#20]
G02X[#21]Y[#22+#20]I[#21]J[#22]
#21=60+16.564-shift_grap_X /* Center X
#22=72-61.819+shift_grap_Y /* Center Y
G242X[#21]Y[#22+#20]
G02X[#21]Y[#22+#20]I[#21]J[#22]
#21=60+61.819-shift_grap_X /* Center X
#22=72-16.564+shift_grap_Y /* Center Y
G242X[#21]Y[#22+#20]
G02X[#21]Y[#22+#20]I[#21]J[#22]
G242X[-17-shift_grap_X]Y[-9+shift_grap_Y]
G01X[137-shift_grap_X]Y[-9+shift_grap_Y]
G01X[137-shift_grap_X]Y[153+shift_grap_Y]
G01X[-17-shift_grap_X]Y[153+shift_grap_Y]
G01X[-17-shift_grap_X]Y[-9+shift_grap_Y]
/* green Line
color green
G242X[124-shift_grap_X]Y[72+shift_grap_Y]
G02X[124-shift_grap_X]Y[72+shift_grap_Y]I[60-shift_grap_X]J[72+shift_grap_Y]Q4
G242X[124-shift_grap_X]Y[72+shift_grap_Y]
G01X[60-shift_grap_X]Y[72+shift_grap_Y]
G01X[60+45.254-shift_grap_X]Y[72+45.254+shift_grap_Y]
#1=60-shift_grap_X
#2=72+shift_grap_Y
#3=60-45.254-shift_grap_X
#4=72+45.254+shift_grap_Y
#5=2
call fig_line
#1=88-shift_grap_X
#2=72+shift_grap_Y
#3=60+19.8-shift_grap_X
#4=72+19.8+shift_grap_Y
#5=60-shift_grap_X
#6=72+shift_grap_Y
#7=2
call fig_ccw
/* yellow Cross Mark
color yellow
#1=60-shift_grap_X /* Center
#2=72+shift_grap_Y
call fig_mark
/* Characters
if[cursor eq 1]then
color -white C blue L1