File and Program Management
3.5 REDEF Changing the attributes of the NC language elements
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
3-21
Programmable setting data and the writable system variables from the parts program
The following SD can be initialized with the REDEF instruction:
Number Name of identifier GCODE
42000 $SC_THREAD_START_ANGLE SF
42010 $SC_THREAD_RAMP_DISP DITS/DITE
42400 $SA_PUNCH_DWELLTIME PDELAYON
42800 $SA_SPIND_ASSIGN_TAB SETMS
43210 $SA_SPIND_MIN_VELO_G25 G25
43220 $SA_SPIND_MAX_VELO_G26 G26
43230 $SA_SPIND_MAX_VELO_LIMS LIMS
43300 $SA_ASSIGN_FEED_PER_REV_SOURCE FPRAON
43420 $SA_WORKAREA_LIMIT_PLUS G26
43430 $SA_WORKAREA_LIMIT_MINUS G25
43510 $SA_FIXED_STOP_TORQUE FXST
43520 $SA_FIXED_STOP_WINDOW FXSW
43700 $SA_OSCILL_REVERSE_POS1 OSP1
43710 $SA_OSCILL_REVERSE_POS2 OSP2
43720 $SA_OSCILL_DWELL_TIME1 OST1
43730 $SA_OSCILL_DWELL_TIME2 OST2
43740 $SA_OSCILL_VELO FA
43750 $SA_OSCILL_NUM_SPARK_CYCLES OSNSC
43760 $SA_OSCILL_END_POS OSE
43770 $SA_OSCILL_CTRL_MASK OSCTRL
43780 $SA_OSCILL_IS_ACTIVE OS
43790 $SA_OSCILL_START_POS OSB
The PGA1 "List of the system variables" contains the listing of the system variables. All
system variables that are marked W (write) or WS (write with preprocess stop) in column
parts program can be initialized with the RESET instruction.
Example
Reset behavior with GUD:
/_N_DEF_DIR/_N_SGUD_DEF
DEF NCK INT _MYGUD1 ;Definitions
DEF NCK INT _MYGUD2 = 2
DEF NCK INT _MYGUD3 = 3
Initialization on operator panel front reset/end of parts program:
DEF _MYGUD2 INIRE ;Initialization
M17
This sets "_MYGUD2" back to "2" on operator panel front reset / end of parts program
whereas "_MYGUD1" and "_MYGUD3" retain their value.