
B-63423EN/02 SAMPLE PROGRAM
11. USER PROGRAMS FOR MEASURING CYCLE MENU
-503-
O6571 ;############################################### Measurement of 4 Holes Center(G190)
/*** Guide Picture Setting ***/
if[guide_frequency eq second_time]then
if[cursor eq 1]then
call fig_clear
guidance_write_flag = flag_on
call 6193
guidance_write_flag = flag_off
endif
if[cursor ge 2 && cursor le 10]then
if[previous_cursor lt 2 || previous_cursor gt 10]then
call fig_clear
guidance_write_flag = flag_on
endif
call 6194
guidance_write_flag = flag_off
endif
if[cursor eq 11]then
call fig_clear
guidance_write_flag = flag_on
call 6186
guidance_write_flag = flag_off
endif
if[cursor eq 12 || cursor eq 13]then
call fig_clear
guidance_write_flag = flag_on
call 6176
guidance_write_flag = flag_off
endif
previous_cursor = cursor
endif
/*** Attribution Setting ***/
if[op9943bit7 eq bit7_on]then
#[attribute 12] = att_not_use
#[attribute 13] = att_character
else
#[attribute 12] = att_character
#[attribute 13] = att_not_use
endif
m99
O6572 ;############################################### Measurement of Work Piece Angle (G191)
/*** Guide Picture Setting ***/
if[guide_frequency eq second_time]then
call 6195
guidance_write_flag = flag_off
endif
/*** Attribution Setting ***/
m99
O6573 ;############################################### Measurement of 2 Holes Angle (G192)
/*** Guide Picture Setting ***/
if[guide_frequency eq second_time]then
if[cursor eq 1]then
call fig_clear
guidance_write_flag = flag_on
call 6193
guidance_write_flag = flag_off
endif
if[cursor ge 2 && cursor le 6]then
if[previous_cursor lt 2 || previous_cursor gt 6]then
call fig_clear
guidance_write_flag = flag_on
endif