
B-63423EN/02 SAMPLE PROGRAM
3. USER PROGRAMS FOR G-CODE MENU
-153-
G242X[80-shift_grap_X]Y[135+shift_grap_Y] /* G42
G02X[80-shift_grap_X]Y[135+shift_grap_Y]I[80-shift_grap_X]J[120+shift_grap_Y]Q4
/* Line
color red
#1=-16-shift_grap_X
#2=136+shift_grap_Y
#3=128-shift_grap_X
#4=#2
#5=0
call fig_line
/* Characters
cursor_off
G243X[40-shift_char_X]Y[5-shift_char_Y](G40)
G243X[53-shift_char_X]Y[5-shift_char_Y](G41)
G243X[53-shift_char_X]Y[8-shift_char_Y](G42)
/*** Length Offset
/* Tool
color green
G242X[25-shift_grap_X]Y[57+shift_grap_Y]
G01X[87-shift_grap_X]Y[57+shift_grap_Y]
G01X[87-shift_grap_X]Y[87+shift_grap_Y]
G01X[25-shift_grap_X]Y[87+shift_grap_Y]
G01X[25-shift_grap_X]Y[57+shift_grap_Y]
#1=45-shift_char_X
#2=11-shift_char_Y
#3=3
call fig_character
G206P0X[80-shift_grap_X]Y[75+shift_grap_Y]
color blue
G242X[41-shift_grap_X]Y[1+shift_grap_Y]
G01X[71-shift_grap_X]Y[1+shift_grap_Y]
G01X[71-shift_grap_X]Y[55+shift_grap_Y]
G01X[41-shift_grap_X]Y[55+shift_grap_Y]
G01X[41-shift_grap_X]Y[1+shift_grap_Y]
G206P0X[50-shift_grap_X]Y[30+shift_grap_Y]
color purple
G242X[24-shift_grap_X]Y[56+shift_grap_Y]
G01X[88-shift_grap_X]Y[56+shift_grap_Y]
G01X[88-shift_grap_X]Y[88+shift_grap_Y]
G01X[24-shift_grap_X]Y[88+shift_grap_Y]
G01X[24-shift_grap_X]Y[56+shift_grap_Y]
G242X[40-shift_grap_X]Y[55+shift_grap_Y]
G01X[40-shift_grap_X]Y[0+shift_grap_Y]
G01X[72-shift_grap_X]Y[0+shift_grap_Y]
G01X[72-shift_grap_X]Y[55+shift_grap_Y]
/* Line
color green
G242X[73-shift_grap_X]Y[0+shift_grap_Y]
G01X[104-shift_grap_X]Y[0+shift_grap_Y]
color red
#1=88-shift_grap_X /* for G43
#2=1+shift_grap_Y
#3=#1
#4=32+shift_grap_Y
#5=0
call fig_line
#1=88-shift_grap_X /* for G44
#2=-1+shift_grap_Y
#3=#1
#4=-32+shift_grap_Y
#5=0
call fig_line
color yellow /* for G49