
3. USER PROGRAMS FOR G-CODE MENU
SAMPLE PROGRAM B-63423EN/02
-138-
3.3 GUIDANCE DRAWING FIGURE
/****************************************************************************
/*
/* FIG1.SRC :: System Menue
/*
/***** 8602: Initial Set
/***** 8603: Tool Def
/***** 8604: MSB Code
/***** 8605: Compensation
/***** 8606: Line
/***** 8607: CW Circle
/***** 8608: CCW Circle
/****************************************************************************
$INCLUDE SYMBOL.DEF
O8602 ;############################################### Initial Set
/*** Guide Picture Setting ***/
if[guide_frequency eq secont_tine]then
if[cursor eq 1]then ; Work Coorinate
call fig_clear
call 6051
endif
if[cursor eq 2]then ; Work Size P
call fig_clear
call 6052
endif
if[cursor GE 3 && cursor le 8]then ; Work Size
if[previous_cursor lt 3 || previous_cursor gt 8]then
call fig_clear
endif
if[#[value 2] eq 1]then ;Rectangular
call 6053
else ; Cylinder
call 6054
endif
endif
if[cursor eq 9]then ; ABS/INC
call fig_clear
call 6055
endif
if[cursor eq 10]then ; Plane Selection
call fig_clear
call 6056
endif
if[cursor eq 11]then ; Origin Point
call fig_clear
call 6057
endif
previous_cursor = cursor
endif
/*** Attribution Setting ***/
if[#[value 2] eq 3 ]then
#[attribute 3] = att_not_use
#[attribute 4] = att_not_use
#[attribute 5] = att_not_use
#[attribute 6] = att_not_use
#[attribute 7] = att_not_use
#[attribute 8] = att_not_use
else
#[attribute 3] = att_decimal
#[attribute 4] = att_decimal
#[attribute 5] = att_decimal