
6. USER PROGRAMS FOR HOLE PATTERN MENU
SAMPLE PROGRAM B-63423EN/02
-300-
G242X[#21]Y[#22+#20]
G02X[#21]Y[#22+#20]I[#21]J[#22]
#21=60-59.088-shift_grap_X /* Center X
#22=56-10.419+shift_grap_Y /* Center Y
G242X[#21]Y[#22+#20]
G02X[#21]Y[#22+#20]I[#21]J[#22]
G242X[-21-shift_grap_X]Y[-9+shift_grap_Y]
G01X[141-shift_grap_X]Y[-9+shift_grap_Y]
G01X[141-shift_grap_X]Y[153+shift_grap_Y]
G01X[-21-shift_grap_X]Y[153+shift_grap_Y]
G01X[-21-shift_grap_X]Y[-9+shift_grap_Y]
/* green Line
color green
G242X[130-shift_grap_X]Y[56+shift_grap_Y]
G01X[60-shift_grap_X]Y[56+shift_grap_Y]
G01X[60+56.382-shift_grap_X]Y[56+20.521+shift_grap_Y]
G242X[60+10.419-shift_grap_X]Y[56+59.088+shift_grap_Y]
G01X[60-shift_grap_X]Y[56+shift_grap_Y]
G01X[60-20.521-shift_grap_X]Y[56+56.382+shift_grap_Y]
G242X[60-59.088-shift_grap_X]Y[56+10.419+shift_grap_Y]
G01X[60-shift_grap_X]Y[56+shift_grap_Y]
G01X[60-59.088-shift_grap_X]Y[56-10.419+shift_grap_Y]
G242X[90-shift_grap_X]Y[56+shift_grap_Y]
G03X[60-29.544-shift_grap_X]Y[56+5.209+shift_grap_Y]I[60-shift_grap_X]J[56+shift_grap_Y]
G242X[60+56.382-shift_grap_X]Y[56+20.521+shift_grap_Y]
G03X[60-59.088-shift_grap_X]Y[56-10.419+shift_grap_Y]I[60-shift_grap_X]J[56+shift_grap_Y]
/* yellow Cross Mark
color yellow
#1=60-shift_grap_X /* Center
#2=56+shift_grap_Y
call fig_mark
/* Characters
if[cursor eq 2]then
color -white C blue L1
else
color white C blue L0
endif
G243X[46-shift_char_X]Y[12-shift_char_Y](X)
if[cursor eq 3]then
color -white C blue L1
else
color white C blue L0
endif
G243X[48-shift_char_X]Y[12-shift_char_Y](Y)
if[cursor eq 4]then
color -white C blue L1
else
color white C blue L0
endif
G243X[43-shift_char_X]Y[12-shift_char_Y](R)
if[cursor eq 5]then
color -white C blue L1
else
color white C blue L0
endif
G243X[52-shift_char_X]Y[11-shift_char_Y](A)
if[cursor eq 12]then
color -white C blue L1
else
color white C blue L0
endif
G243X[50-shift_char_X]Y[10-shift_char_Y](B)
if[cursor eq 13]then
color -white C blue L1