List of System Variables

Variable Name Description
   
Lathe Turning cycles or values apply.
Diamult Set to 0 - output normal spindle axis
           1 - output spindle axis as diameter
           (multiply by 2).
Plane Map XYZ geometric axes to :
           1 XYZ (standard mill; same for 0)
           2 ZXY (standard lathe)
           3 YZX
           4 XZY
           5 YXZ
           6 ZYX
Dia_allow Roughing cycles - diameter finish allowance.
Len_allow Roughing cycles - z finish allowance.
Dia_stock Profile cycle - total stock in diameter (ques only).
Len_stock Profile cycle - total stock in z (ques only).
Dia_shift Profile cycle - gets added to all x values
(after div 2).
Len_shift Profile cycle - gets added to all z values.
Dia_tshift Gauge distance shifting for diameter.
Len_tshift Gauge distance shifting for z.
Tshift_off Output dia & len (x&z) without gauge shift.
Shift_off Set to 1 - don't shift geometry for tnose_shift, Dia_shift, or Len_shift.Set back to 0 after one block.
Tnose_rad Tool nose radius (ques only).
Tnose_shift Tells TurboPost amount to shift for the Tnose_rad.
Tnose_quad Tool nose radius quadrant: (tool nose orientation).
Startpt Set to 1 if "Startpt" is picked at tool position before cut question.
Endpt Set to 1 if "Endpt" is picked at tool position after cut question.
Upath The undercut path to cut as numbered from right to left.
Uncut_angle Determines the angle of the undercut departure.
The angle represents the line from the beginning of the undercut to the contour intersection point (i.e. the end of the undercut).
Uncut_delta Delta used to determine an undercut within delta.
Arcl_delta Delta used to determine an arc intersection within the CUTUPATH & CUTFPATH cycles.
Cut_type Used by longitudinal cycle to choose auto or fixed cutting.
Speedcode Spindle speed for ccs (Constant surface speed).
Speedmax Spindle speed for direct rpm (drpm), maximum speed for ccs.
Ipr Mills could indicate ipr feeds so time calculations are correct simply by setting ipr=1.    Lathes can set ipr based off G94-G95 (usually ipr).
Ccs Indicates constant surface programming, mainly used for time calculations.
Tool_num Tool number used by Tool word.
Tool_dia Tool diameter used for plotting canned cycles.
Length_comp Tool length compensation number.
Dia_comp Cutter diameter compensation number.
Feed Feed rate.    Used by Feed word.
Zfeed Feed rate in Z axis only.    Used by Feed word.
Speed Spindle speed.    Used by Speed word.
Path Current path number.    Used in contour cutting macros and in the CUTPATH command.
Surface Current surface cutter path.    Used in the CUTSURF command.
Start_hole
End_hole
Used by canned cycle blocks.    Specifies the starting and ending hole of a sequence of canned cycle operations.
Rap_level
Finish_depth
Used by canned cycle operations if a hole is not created with a diameter and a finish depth, or the variable Geometry_input is zero; then these variables are used to calculate the R and Z word of the canned cycle.    They are also used in the MACROS for cutting contours and round cutting.    If Geometry_input is 1, these are ignored by canned cycles.
Depth_of_cut Unused System Variable.    May be used in MACROS.
Tool_clearance Used for tool clearance above the Rap_level in canned cycles.
Retract_z Unused System Variable.    May be used in MACROS.
Peck Peck distance.    Used in deep hole drilling canned cycles.
Dwell Dwell time.    Used in canned cycles having a dwell time.    Used by the Dwell word.
A,B,C,E,I,J,
K,L,M,O,R.U,
V,W,X,Y,Z
System variables reserved for the word addresses.    The variables associated with the word addresses D,E,G,H,M,N,O,S,T are reserved for integer data only all other word addresses may take either real or integer values.
P0,P1,P2,P3,P4,
P5,P6,P7,P8,P9
System variables reserved for the word addresses of the various additional parameters.    The Variables may be used for either real or integer data.
Xstart
Ystart
Xend
Yend
The functions Pathstartpt,Pathendpt, Holestartpt, Roundstartpt, will assign values to these variables.
Zstart
Zend
Unused System Variables.
Xnormal
Ynormal
Znormal
Xtangent
Ytangent
Ztangent
Unused System Variables.    Will be used in future releases for normal vectors and tangent vectors.
Codes Manual codes inserted at the end of the next nc output block.    Variable is blanked out after first nc block.
Pre_codes Manual codes inserted at the start of the next nc output block.    Variable is blanked out after first nc block.
Levels Used for hole operations.    To only use holes on levels 1,10,and 12 set Levels= ",1,10,12," .
Contours Used for hole operations.    To only use holes on contours 1,10, and 12 set Contours= ",1,10,12," .
Plot_on Turns graphical plotting on while processing nc output file.    Assumes values 0-1.
Print_on Turns nc output list on while processing.    Assumes values 0-1.
Pen Current pen number. Assumes values 1-15.
Rapid_linetype Line type for rapid traverse moves. A line type of zero will turn off the plot for these moves. Assumes values 0-8.
Linetype Line type for all other moves. Assumes values 0-8.
Geometry_input If Geometry_input=1 canned cycles use geometry created in PROMPT for hole diameters and depths. If Geometry_input=0 canned cycles use rap_level and finish_depth variables.
Incremental NC output file is in incremental format. Assumes values 0 or 1. CAUTION: Care must be taken in incremental programming when using templates.

The Following System Variables are Used for Machine Time Calculations:

Rapid_rate Rapid traverse rate for machine tool.
Machine_time Current execution time.
Time_on If Time_on=1 then Time calculations are enabled.    If Time_on=0 Time calculations are disabled.

The Following System Variables are Used for Sequence Numbers on the NC Output File:

Seq_num Starting sequence number.
Seq_incr Sequence number increment.
Curr_seq Current sequence number.    Can be changed in the command file for local renumbering.