
9. USER PROGRAMS FOR POCKETING MENU
SAMPLE PROGRAM B-63423EN/02
-430-
#1=-15-shift_grap_X
#2=133+shift_grap_Y
#3=111-shift_grap_X
#4=#2
#5=2
call fig_line
G242X[105-shift_grap_X]Y[112+shift_grap_Y] /* for V
G01X[136-shift_grap_X]Y[112+shift_grap_Y]
G242X[105-shift_grap_X]Y[32+shift_grap_Y]
G01X[136-shift_grap_X]Y[32+shift_grap_Y]
#1=133-shift_grap_X
#2=111+shift_grap_Y
#3=#1
#4=33+shift_grap_Y
#5=2
call fig_line
G242X[96-shift_grap_X]Y[96+shift_grap_Y] /* for R
G01X[108-shift_grap_X]Y[108+shift_grap_Y]
/* yellow Cross Mark
color yellow
#1=48-shift_grap_X /* (X,Y)
#2=72+shift_grap_Y
call fig_mark
/* Characters
#1=17
call fig_cursor
G243X[45-shift_char_X]Y[11-shift_char_Y](X)
#1=18
call fig_cursor
G243X[47-shift_char_X]Y[11-shift_char_Y](Y)
#1=19
call fig_cursor
G243X[46-shift_char_X]Y[6-shift_char_Y](U)
#1=20
call fig_cursor
G243X[57-shift_char_X]Y[10-shift_char_Y](V)
#1=22
call fig_cursor
G243X[51-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
O6153 ;############################################### Circle
/* blue for Work
color blue
G242X[-23-shift_grap_X]Y[72+shift_grap_Y]
G02X[-23-shift_grap_X]Y[72+shift_grap_Y]I[56-shift_grap_X]J[72+shift_grap_Y]Q4
G242X[-1-shift_grap_X]Y[72+shift_grap_Y]
G02X[-1-shift_grap_X]Y[72+shift_grap_Y]I[56-shift_grap_X]J[72+shift_grap_Y]Q4
G206P0X[56-shift_grap_X]Y[0+shift_grap_Y]
/* green for Tool
color green
if[#[value 1] eq 3 || #[value 1] eq 4]then
G242X[17-shift_grap_X]Y[88+shift_grap_Y] /* Start Tool
G02X[17-shift_grap_X]Y[88+shift_grap_Y]I[24-shift_grap_X]J[88+shift_grap_Y]Q4
G206P0X[24-shift_grap_X]Y[88+shift_grap_Y]
G242X[17-shift_grap_X]Y[56+shift_grap_Y] /* End Tool
G02X[17-shift_grap_X]Y[56+shift_grap_Y]I[24-shift_grap_X]J[56+shift_grap_Y]Q4
G206P0X[24-shift_grap_X]Y[56+shift_grap_Y]