List of System Variables

Variable Name   Description
     
Alast
Blast
Clast
 
Last rotary A, B, or C position respectively.
Astart
Bstart
Cstart
 
The current rotary A, B, or C position respectively.
Codes Manual codes inserted at the end of the next NC output block.    Variable is blanked out after first NC block.
Comp_dir Comp direction.    Gets set from Cutterpath.
Feed Feed rate.    Used by Feed word.
Finish_depth
Rap_level
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.
Fixture Fixture offset position.    Set when workzone is defined.
Length_comp Tool length compensation number.
Pick_dist 3D variable.    If this distance is greater than the distance between cuts, do not retract between cuts.
Plot_on Turns graphical plotting on while processing nc output file.    Assumes values 0-1.
Pre_codes Manual codes inserted at the start of the next NC output block.    Variable is blanked out after first NC block.
Print_on Turns nc output list on while processing.    Assumes values 0-1.
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.
Retract_z Unused System Variable.    May be used in MACROS.
Speed Spindle speed.    Used by Speed word.
Tape_on If Tape_on=1 then create a tapefile.    If Tape_on=2 then do not put anything in the tapefile.
Time_on If Time_on=1 then Time calculations are enabled.    If Time_on=0 Time calculations are disabled.
Tool_dia Tool diameter used for plotting canned cycles.
Tool_num Tool number used by Tool word.
Zfeed Feed rate in Z axis only.    Used by Feed word.
Zone_num Workzone number.    Gets set when workzone is defined.
Batch Used in NC documents for cost analysis.
Clearance Clearance distance for approach to cut circle.
Curr_seq Current sequence number.    Can be changed in the command file for local renumbering.
Current_hole Current_hole is set every time Holestartpt is called. sequence number.    It will retain this value until Holestartpt is called again.
Cutter_offset Cutter offset.
Cw_ccw Direction of cut for round cut.    Assumes values "CW" or "CCW".
Data_type Variable to hold the tool type to determine canned cycle.
Date_str Will output the date in the program.    User configurable format.
Depth_of_cut Unused System Variable.    May be used in MACROS.
Dia_comp Cutter diameter compensation number.
Dia_comp_mode Switch to turn on cutter compensation.
Diameter Diameter of hole to be round cut.
Dist_3d The distance between 3D cuts.
Dwell Dwell time.    Used in canned cycles having a dwell time.    Used by the Dwell word.
End_hole
Start_hole
Used by canned cycle blocks. Specifies the starting and ending hole of a sequence of canned cycle operations.
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.
Glue_name Variable for Wire EDM.    The variable Glue_name will register the name of the point group to TurboPost.
Glue_stop Variable for Wire EDM.    The user variable Glue_stop specifies the string output at the glue stop.
Helical_type Used for helical milling.
Helix_up Used for helical cycle:
1=bottom to top
0=top to bottom
Inside Inside or outside circle to be cut.    Assumes values "I" or "O".    Used for Roundmill and Helical milling cycles.
Interpolate Wire EDM enhancement.    If the user variable Interpolate is set to 1 this will force linear interpolation for all ruled surfaces.
Linetype Line type for all other moves.    Assumes values 0-8.
Machine_cost Used in NC docs for cost analysis.
Machine_time    Current execution time.
Material Material used.
Max_speed Maximum speed if machine uses speed codes.
Min_speed Minimum speed if machine uses speed codes.
Path Current path number.    Used in contour cutting macros and in the CUTPATH command.
Peck Peck distance.    Used in deep hole drilling canned cycles.
Piece_time Used for cost analysis.
Plot_pen Current pen number.    Assumes values 1-15.
Price Used for cost analysis.
Rapid_linetype Line type for rapid traverse moves.    A linetype of zero will turn off the plot for these moves.    Assumes values 0-8.
Rapid_rate Rapid traverse rate for machine tool.
Rot_in_plane This variable has the value 0 or 1.    Rot_in_plane is used in rotary motion output for holes.    If the Rotary axis and the Tool axis are parallel normally no rotation will take place.    If Rot_in_plane equals 1 then the TurboPost will generate a rotary motion to bring the hole to the direction specified by the Rotary Orient Vector.
Seq_incr Sequence number increment.
Seq_num Starting sequence number.
Setup_time Used for cost analysis.
Starting_angle Angular orientation of entry moves to the circle to be cut.
Tool_clearance Used for tool clearance above the Rap_level in canned cycles.
Tool_desc Description of tool from tool file.
Tool_on Tool_on is assigned a boolean value of 0 or 1 to turn tool symbols ON or OFF. 0=OFF; 1=ON.
Tool_subtype The value of the subtype that gets pulled from the tool.
Xorgshift
Yorgshift
Zorgshift
Shifts the X,Y, or Z origin respectively when using workzones.
Xshift
Yshift
Zshift
User variables that may be used to shift the coordinate output by the specified amounts assigned to the variables.
Xstart
Ystart
Xend
Yend
The functions Pathstartpt, Pathendpt, Holestartpt, Roundstartpt, will assign values to these variables.
Zstart The Rap_level of a hole.
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.
Hole_depth Specifies the depth of a hole.
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.
Zend Unused System variable.
Xnormal Normal vectors in the X axis.
Ynormal Normal vectors in the Y axis.
Znormal Normal vectors in the Z axis.
Xtangent Tangent vectors in the X axis.
Ytangent Tangent vectors in the Y axis.
Ztangent Tangent vectors in the Z axis.
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," .
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 COST ANALYSIS:

Batch Used in NC documents for cost analysis.
Machine_cost Used in NC docs for cost analysis.
Piece_time Used for cost analysis.
Price Used for cost analysis.
Setup_time Used for cost analysis.

THE FOLLOWING SYSTEM VARIABLES ARE USED FOR MACHINE TIME CALCULATIONS:

Machine_time    Current execution time.
Rapid_rate Rapid traverse rate for machine tool.
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 BY THE ROUND CUTTING CYCLE:

Clearance Clearance distance for approach to cut circle.
Cw_ccw Direction of cut for round cut.    Assumes values "CW" or "CCW".
Cutter_offset Cutter offset.
Diameter Diameter of hole to be round cut.
Inside Inside or outside circle to be cut.    Assumes values "I" or "O".
Starting_angle    Angular orientation of entry moves to the circle to be cut.

THE FOLLOWING SYSTEM VARIABLES ARE USED FOR SEQUENCE NUMBERS ON THE NC OUTPUT FILE:

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