
3. USER PROGRAMS FOR G-CODE MENU
SAMPLE PROGRAM B-63423EN/02
-158-
#1=3
call fig_cursor
if[#[address 0] eq 2]then
G243X[52-shift_char_X]Y[12-shift_char_Y](X)
else
G243X[40-shift_char_X]Y[ 7-shift_char_Y](X)
endif
#1=4
call fig_cursor
if[#[address 0] eq 2]then
G243X[54-shift_char_X]Y[12-shift_char_Y](Y)
else
G243X[42-shift_char_X]Y[ 7-shift_char_Y](Y)
endif
#1=7
call fig_cursor
if[#[address 0] eq 2]then
G243X[45-shift_char_X]Y[11-shift_char_Y](I)
else
G243X[45-shift_char_X]Y[12-shift_char_Y](I)
endif
#1=8
call fig_cursor
if[#[address 0] eq 2]then
G243X[48-shift_char_X]Y[10-shift_char_Y](J)
else
G243X[48-shift_char_X]Y[11-shift_char_Y](J)
endif
endif
if[#[value 2] eq 18]then
#1=3
call fig_cursor
if[#[address 0] eq 2]then
G243X[52-shift_char_X]Y[12-shift_char_Y](X)
else
G243X[40-shift_char_X]Y[ 7-shift_char_Y](X)
endif
#1=5
call fig_cursor
if[#[address 0] eq 2]then
G243X[54-shift_char_X]Y[12-shift_char_Y](Z)
else
G243X[42-shift_char_X]Y[ 7-shift_char_Y](Z)
endif
#1=7
call fig_cursor
if[#[address 0] eq 2]then
G243X[45-shift_char_X]Y[11-shift_char_Y](I)
else
G243X[45-shift_char_X]Y[12-shift_char_Y](I)
endif
#1=9
call fig_cursor
if[#[address 0] eq 2]then
G243X[48-shift_char_X]Y[10-shift_char_Y](K)
else
G243X[48-shift_char_X]Y[11-shift_char_Y](K)
endif
endif
if[#[value 2] eq 19]then
#1=4
call fig_cursor
if[#[address 0] eq 2]then
G243X[52-shift_char_X]Y[12-shift_char_Y](Y)
else
G243X[40-shift_char_X]Y[ 7-shift_char_Y](Y)
endif