
B-63423EN/02 SAMPLE PROGRAM
5. USER PROGRAMS FOR HOLE MACHINING MENU
-217-
color white C blue L0
G243X[46-shift_char_X]Y[15-shift_char_Y](P)
endif
endif
endif
if[#[value 3] eq 89]then
if[cursor eq 6 || cursor eq 7 || cursor eq 9]then
if[previous_cursor ne 6 && previous_cursor ne 7 && previous_cursor ne 9]then
call fig_clear
endif
call 6103
endif
if[cursor eq 10]then
if[previous_cursor ne 3]then
color white C blue L0
G243X[46-shift_char_X]Y[15-shift_char_Y](P)
endif
endif
endif
if[#[value 3] eq 76]then
if[cursor ge 6 && cursor le 9]then
if[previous_cursor lt 6 || previous_cursor gt 9]then
call fig_clear
endif
call 6094
endif
if[cursor eq 10]then
if[previous_cursor ne 3]then
color white C blue L0
G243X[46-shift_char_X]Y[15-shift_char_Y](P)
endif
endif
endif
if[#[value 3] eq 87]then
if[cursor ge 6 && cursor le 9]then
if[previous_cursor lt 6 || previous_cursor gt 9]then
call fig_clear
endif
call 6101
endif
if[cursor eq 10]then
if[previous_cursor ne 3]then
color white C blue L0
G243X[45-shift_char_X]Y[11-shift_char_Y](P)
endif
endif
endif
previous_cursor = cursor
n90
/*** Attribution Setting ***/
if[#[value 1] eq 3]then #[attribute 1] = att_character + att_detail + att_not_output
else #[attribute 1] = att_character + att_detail
if[#[value 2] eq 3]then #[attribute 2] = att_character + att_detail + att_not_output
else #[attribute 2] = att_character + att_detail
if[#[value 3] eq 85]then
#[attribute 8] = att_not_use
#[attribute 9] = att_not_use
endif
if[#[value 3] eq 86]then
#[attribute 8] = att_not_use
#[attribute 9] = att_not_use
endif
if[#[value 3] eq 88]then
#[attribute 8] = att_not_use
#[attribute 9] = att_integer
endif