
3. USER PROGRAMS FOR G-CODE MENU
SAMPLE PROGRAM B-63423EN/02
-148-
#4=#2
#5=0
call fig_line
#1=72-shift_grap_X
#2=40+shift_grap_Y
#3=#1
#4=120+shift_grap_Y
#5=0
call fig_line
G242X[36-shift_grap_X]Y[95+shift_grap_Y] /* for ABS
G01X[36-shift_grap_X]Y[41+shift_grap_Y]
G242X[35-shift_grap_X]Y[96+shift_grap_Y]
G01X[-15-shift_grap_X]Y[96+shift_grap_Y]
G242X[81-shift_grap_X]Y[56+shift_grap_Y] /* for INC
G01X[124-shift_grap_X]Y[56+shift_grap_Y]
G01X[124-shift_grap_X]Y[95+shift_grap_Y]
/* Characters
cursor_off
G243X[44-shift_char_X]Y[13-shift_char_Y](X)
G243X[37-shift_char_X]Y[9 -shift_char_Y](Y)
G243X[52-shift_char_X]Y[12-shift_char_Y](X)
G243X[56-shift_char_X]Y[10-shift_char_Y](Y)
G243X[40-shift_char_X]Y[14-shift_char_Y](G90)
G243X[51-shift_char_X]Y[14-shift_char_Y](G91)
m99
O6056 ;############################################### Plane Selection
color sky_blue
#20 = -32-shift_grap_X
#1=#20
#2=56+shift_grap_Y
#3=#20+48
#4=56+shift_grap_Y
#5=0
call fig_line
#20 = -32-shift_grap_X
#1=#20
#2=56+shift_grap_Y
#3=#20
#4=104+shift_grap_Y
#5=0
call fig_line
#20 = 32-shift_grap_X
#1=#20
#2=56+shift_grap_Y
#3=#20+48
#4=56+shift_grap_Y
#5=0
call fig_line
#20 = 32-shift_grap_X
#1=#20
#2=56+shift_grap_Y
#3=#20
#4=104+shift_grap_Y
#5=0
call fig_line
#20 = 96-shift_grap_X
#1=#20
#2=56+shift_grap_Y
#3=#20+48
#4=56+shift_grap_Y
#5=0
call fig_line
#20 = 96-shift_grap_X