Variables
In many of the sample sequences, variables must be used to indicate numerical values for the post to insert into the NC program. These variables can be used in the same way the Feed, Rapid, Cw, and Ccw lines are described above.
A variable is a word or letter that takes the place of a number. These variables indicate information that is pertinent to machine motion. An X value on a mill generally indicates a horizontal position so we simply abbreviate it as the letter h. The letter h is the variable that indicates horizontal position. The code X[h] indicates that you want the X to appear followed by the value of the current horizontal position.
The following is a list of the variable names, and the values to which they refer, that can be used instead of numbers when describing the sequences. Remember to enclose any values or variables between square bracket symbols, for example R[arcrad]. These symbols act as delimiters and are not output in the NC code.
Global Variables
|
|
Prompted Variables
Tool Comment Variables