
B-63423EN/02 SAMPLE PROGRAM
11. USER PROGRAMS FOR MEASURING CYCLE MENU
-497-
11.3 GUIDANCE DRAWING FIGURE
/****************************************************************************
/*
/* FIG9.SRC :: Measuring Cycles
/*
/***** 6561: Measurement of X/Y/Z Single Surface (G180)
/***** 6562: Measurement of Web Width (G181)
/***** 6563: Measurement of Groove Width (G182)
/***** 6564: Measurement of Outside Circle (G183)
/***** 6565: Measurement of Inside Circle (G184)
/***** 6566: Measurement of Outside Rectangular (G185)
/***** 6567: Measurement of Inside Rectangular (G186)
/***** 6568: Measurement of Outside Corner (G187)
/***** 6569: Measurement of Inside Corner (G188)
/***** 6570: Measurement of Bolt-Hole-Circle (G189)
/***** 6571: Measurement of 4 Holes Center(G190)
/***** 6572: Measurement of Work Piece Angle (G191)
/***** 6573: Measurement of 2 Holes Angle (G192)
/****************************************************************************
$INCLUDE SYMBOL.DEF
O6561 ;############################################### Measurement of X/Y/Z Single Surface (G180)
/*** Guide Picture Setting ***/
if[guide_frequency eq second_time]then
if[cursor lt 5]then
if[previous_cursor gt 4]then
call fig_clear
guidance_write_flag = flag_on
endif
call 6175
guidance_write_flag = flag_off
else
if[previous_cursor lt 5]then
call fig_clear
guidance_write_flag = flag_on
endif
call 6176
guidance_write_flag = flag_off
endif
previous_cursor = cursor
endif
/*** Attribution Setting ***/
if[op9943bit7 eq bit7_on]then
#[attribute 5] = att_not_use
#[attribute 6] = att_character
else
#[attribute 5] = att_character
#[attribute 6] = att_not_use
endif
m99
O6562 ;############################################### Measurement of Web Width (G181)
/*** Guide Picture Setting ***/
if[guide_frequency eq second_time]then
if[cursor eq 1]then
call fig_clear
guidance_write_flag = flag_on
call 6177
guidance_write_flag = flag_off
endif
if[cursor eq 2]then
call fig_clear