PROGRAMMING
96-8000
142
June 1999
Please note that each tool has some slight variations. This is done to show the flexibility of the control. For
example, to change tools, all that is needed is an M06 even without a G28 in the previous line. Also, a G28 can
be specified as G28 X0 Y0 Z0 or simply as G28. A T command can be put in with the M06 or it can be
specified earlier in the program. This gives the maximum compatibility with other controls.
More than one program can be stored in the memory of the CNC. Every program stored has an Onnnnn
address code to define the number of that program. Those numbers are used to identify the program for
selection as the main program being run or as a subprogram called from a main program.
4.3 ALPHABETICAL ADDRESS CODES
The following is a list of the Address Codes used in programming the CNC.
A Fourth axis rotary motion
The A address character is used to specify motion for the optional fourth, A, axis. It specifies an angle in
degrees for the rotary axis. It is always followed by a signed number and up to three fractional decimal posi-
tions. If no decimal point is entered, the last digit is assumed to be 1/1000 degrees. The smallest magnitude is
0.001 degrees, the most negative value is -99999.000 degrees, and the largest number is 99999.000 degrees.
B Fifth axis rotary motion
The B address character is used to specify motion for the optional fifth, B, axis. It specifies an angle in degrees
for the rotary axis. It is always followed by a signed number and up to three fractional decimal positions. If no
decimal point is entered, the last digit is assumed to be 1/1000 degrees. The smallest magnitude is 0.001
degrees, the most negative value is -8380.000 degrees, and the largest number is 8380.000 degrees.
C Auxiliary external rotary axis
The C address character is used to specify motion for the optional external sixth, C, axis. It specifies an angle
in degrees for the rotary axis. It is always followed by a signed number and up to three fractional decimal
positions. If no decimal point is entered, the last digit is assumed to be 1/1000 degrees. The smallest magni-
tude is 0.001 degrees, the most negative value is -8380.000 degrees, and the largest number is 8380.000
degrees.
D Tool diameter selection
The D address character is used to select the tool diameter or radius used for cutter compensation. The
number following must be between 0 and 100. D0 specifies that the tool size is zero and serves to cancel a
previous Dn. Any other value of D selects the numbered entry from the tool diameter/radius list under the
Offsets display.
E Contouring accuracy
The E address character is used, with G187, to select the accuracy required when cutting a corner during high
speed machining operations. The range of values possible for the E code is 0.0001 to 0.25. Refer to the
"Contouring Accuracy" section for more information.
F Feed rate
The F address character is used to select the feed rate applied to any interpolation functions, including pocket
milling and canned cycles. It is either in inches per minute with four fractional positions or mm per minute with
three fractional positions. When G93 (Inverse Time) is programmed, F is in blocks per minute, up to a maxi-
mum of 15400.0000 inches per minute (39300.000 millimeters per minute).