TurboPost Features and Definitions

Variables

Variables are defined in the "user_variables" ASCII file:


/usr/weber/post_formats/post_name/user_variables


The total number of variables allowed in any post format is configurable in the sizes file:


/usr/weber/post_formats/post_name/sizes


The syntax for Variables is: first letter capitalized and the rest lower case.    For example, "Myvariable" is correct; "myvariable" is not correct.

Variables can be either System Variables or User Variables.

System Variables are those variables reserved for specific functions in the system.

For example, the variable "Speed" is reserved for spindle speed, the variables X, Y, Z are reserved for the current x,y,z coordinates.

A complete list of System Variables is given below (see "List of System Variables").

User Variables are variables that the user defines as needed.    User Variables must be specified by including them in the "user_variables" file in the post format.

Variables may either be real numbers or string (character) data.    Every variable must be defined with a default value before it can be used.

Here is a brief sample of a "user_variable" definition file:


    Rap_level= 0;
    Finish_depth= .5;
I    Tool_clearance= 0.100;
    Depth_of_cut= .5;
    Feed= 8.75;
    ZFeed= 2.35;
    Speed= 1175;
    Tool_num= 1;
    Length_comp= Tool_num;
    Dia_comp= 50+Tool_num;
I    X_g92= 0;
I    Y_g92= 0;
I    Z_g92= 0;
I    Coolant= "M8";
I    Coolant_off= "M9";
I    Pallet= "M85";
I    Spindle_hilow= "M41";
I    Spindle= "M3";
I    Spindle_off= "M5";
I    Opt_stop= "M01";


Some of these variables are System Variables, others are user-defined (User Variables).

The "I" in front means that the variable is invisible on the variables menu.    Invisible variables may be used in macros and templates but cannot be changed from the variables menu.    The I must be the first character in the line.

Variables may be defined with calculations using other variables.

NOTE: THE SEMICOLON (;) at the END is REQUIRED.    STRING VARIABLES REQUIRE QUOTES.