The following is a list of the Address Codes used in programming the Haas Mill.
Contents
- AFourth Axis Rotary Motion
- B Fifth Axis Rotary Motion
- C Auxiliary External Rotary Axis
- D Tool Diameter Offset Selection
- E Engraving Feed Rate or Contouring Accuracy
- F Feed Rate
- G Preparatory Functions(G codes)
- H Tool Length Offset Selection
- I Circular Interpolation or Canned Cycle Data
- J Circular Interpolation or Canned Cycle Data
- K Circular Interpolation or Canned Cycle Data
- L Loop Count To Repeat a Command Line
- M M-Code Miscellaneous Functions
- N Number Of Block
- O Program Number (Program name in parenthesis)
- P Delay Of Time or M98 Program Number Call or M97 Sequence Number Call
- Q Canned Cycle Optional Data
- R Circular Interpolation or Canned Cycle Data
- S Spindle Speed Command
- T Tool Selection Code
- U Auxiliary External Linear Axis
- V Auxiliary External Linear Axis
- W Auxiliary External Linear Axis
- X Linear X-axis Motion
- Y Linear Y-axis Motion
- Z Linear Z-axis Motion
AFourth Axis Rotary Motion
(Setting 30, 34, 48, 108)
The A address character is used to specify motion for the optional fourth, A, axis. Itspecifies an angle in degrees for the rotary axis. It is always followed by a signed numberand up to three fractional decimal positions. If no decimal point is entered, the last digit isassumed to be 1/1000 degrees.
B Fifth Axis Rotary Motion
(Setting 78, 79, 80,108)
The B address character is used to specify motion for the optional fifth, B, axis. It specifiesan angle in degrees or the rotary axis. It is always followed by a signed number and up tothree fractional decimal positions. If no decimal point is entered, the last digit is assumedto be 1/1000 degrees.
C Auxiliary External Rotary Axis
(Setting 38)
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 numberand up to three fractional decimal positions. If no decimal point is entered, the last digit isassumed to be 1/1000 degrees.
D Tool Diameter Offset Selection
(Setting 40, 43, 44, 58)
The D address character is used to select the tool diameter or radius used for cuttercompensation. The number following must be between 0 and 200 (100 programs on anolder machine). The Dnn selects that number offset register, that is in the offset display,which contains the tool diameter/radius offset amount when using cutter compensation(G41 G42). D00 will cancel cutter compensation so that the tool size is zero and it willcancel any previously defined Dnn.
E Engraving Feed Rate or Contouring Accuracy
(Setting 85)
The E address character is used, with G187, to select the accuracy required when cuttinga corner during high speed machining operations. The range of values possible is 0.0001to 0.25 for the E code. Refer to the “Contouring Accuracy” section of your machine manualfor more information.
F Feed Rate
(Setting 19, 77)
The F address character is used to select the feed rate applied to any interpolationfunctions, including pocket milling and canned cycles. It is either in inches per minute withfour fractional positions or mm per minute with three fractional positions.
G Preparatory Functions(G codes)
The G address character is used to specify the type of operation to occur in the blockcontaining the G code. The G is followed by a two or three digit number between 0 and 187.Each G code defined in this control is part of a group of G codes. The Group 0 codes arenon-modal; that is, they specify a function applicable to this block only and do not effectother blocks. The other groups are modal and the specification of one code in the groupcancels the previous code applicable from that group. A modal G code applies to allsubsequent blocks so those blocks do not need to re-specify the same G code. More thanone G code can be placed in a block in order to specify all of the setup conditions for an operation.
H Tool Length Offset Selection
(Setting 15)
The H address character is used to select the tool length offset entry from the offsetsmemory. The H is followed by a two digit number between 0 and 200 (100 programs on anolder machine). H0 will clear any tool length offset and Hnn will use the tool length enteredin on n from the Offset display. You must select either G43 or G44 to activate a tool length(H) offsets. The G49 command is the default condition and this command will clear any tool length offsets. A G28, M30 or pressing Reset will also cancel tool length offsets.
I Circular Interpolation or Canned Cycle Data
The I address character is used to specify data for either canned cycles or circularmotions. It is defined in inches with four fractional positions or mm with three fractional positions.
J Circular Interpolation or Canned Cycle Data
The J address character is used to specify data for either canned cycles or circularmotions. It is defined in inches with four fractional positions or mm with three fractional positions.
K Circular Interpolation or Canned Cycle Data
The K address character is used to specify data for either canned cycles or circularmotions. It is defined in inches with four fractional positions or mm with three fractional positions.
L Loop Count To Repeat a Command Line
The L address character is used to specify a repeat count for some canned cycles andauxiliary functions. It is followed by a number between 0 and 32767.
M M-Code Miscellaneous Functions
The M address character is used to specify an M code. These codes are used to controlmiscellaneous machine functions. Note that only one M code is allowed per block in a CNCprogram and all M codes are performed secondary in a block.
N Number Of Block
The N address character is entirely optional. It can be used to identify or number eachblock of a program. It is followed by a number between 0 and 99999. The M97 functionsneeds to reference an N line number.
O Program Number (Program name in parenthesis)
The O address character is used to identify a program. It is followed by a number between0 and 99999. A program saved in memory always has a Onnnnn identification in the firstblock. Altering the Onnnnn in the first block causes the program to be renumbered. If youenter a program name (Program Text Name) between parenthesis in the first three linesof a program, that program name will also be seen in your list of programs. You can haveup to 500 program numbers (200 programs on an older machine) in your List of Programs.You can delete a program number from the LIST PROG display, by cursor selecting theprogram, and pressing the ERASE PROG key. You can also delete a program in theadvanced editor using the menu item DELETE PROGRAM FROM LIST.
P Delay Of Time or M98 Program Number Call or M97 Sequence Number Call
The P address character is used for either a dwell time in seconds with some canned cyclesor in a G04, or P is used as a program number reference for an M98, or a program sequencenumber reference for an M97. The P value is a positive number without decimal point up to99999 when used with an M98 or M97. When used as a dwell time, it may be a positive decimalnumber between 0.001 and 1000.0 in seconds.
Q Canned Cycle Optional Data
The Q address character is used in canned cycles and is always a positive number ininches between 0.001 and 100.0.
R Circular Interpolation or Canned Cycle Data
(Setting 52)
The R address character is used in canned cycles or circular interpolation. It’s either ininches with four fractional positions or mm with three fractional positions. It is followed bynumber in inches or metric. It’s usually used to define the reference plane for canned cycles.
S Spindle Speed Command
(Setting 20)
The S address character is used to specify the spindle speed in conjunction with M41 andM42. The S is followed by an unsigned number between 1 – 99999. The S command doesnot turn the spindle on or off; it only sets the desired speed. If a gear change is requiredin order to set the commanded speed, this command will cause a gear change to occureven if the spindle is stopped. If spindle is running, a gear change operation will occur andthe spindle will start running at the new speed.
T Tool Selection Code
(Setting 15)
The T address character is used to select the tool for the next tool change. The numberfollowing must be a positive number between 1 and (20) the number in Parameter 65. Itdoes not cause the tool change operation to occur. The Tnn may be placed in the sameblock that starts tool change (M06 or M16) or in any previous block.
U Auxiliary External Linear Axis
The U address character is used to specify motion for the optional external linear, U-axis.It specifies a position of motion in inches. It is always followed by a signed number and upto four fractional decimal positions. If no decimal point is entered, the last digit is assumedto be 1/10000 inches. The smallest magnitude is 0.0001 inches, the most negative valueis -8380.0000 inches, and the largest number is 8380.0000 inches.
V Auxiliary External Linear Axis
The V address character is used to specify motion for the optional external linear, V-axis.It specifies a position of motion in inches. It is always followed by a signed number and up to four fractional decimal positions. If no decimal point is entered, the last digit is assumedto be 1/10000 inches.
W Auxiliary External Linear Axis
The W address character is used to specify motion for the optional external linear, W-axis.It specifies a position of motion in inches. It is always followed by a signed number and upto four fractional decimal positions. If no decimal point is entered, the last digit is assumedto be 1/10000 inches.
X Linear X-axis Motion
(Setting 45)
The X address character is used to specify motion for the X-axis. It specifies a positionor distance along the X-axis. It is either in inches with four fractional positions or mm withthree fractional positions. It is followed by a signed number in inches or metric. If nodecimal point is entered, the last digit is assumed to be 1/10000 inches or 1/1000 mm.
Y Linear Y-axis Motion
(Setting 46)
The Y address character is used to specify motion for the Y-axis. It specifies a positionor distance along the Y-axis. It is either in inches with four fractional positions or mm withthree fractional positions. It is followed by a signed number in inches or metric. If nodecimal point is entered, the last digit is assumed to be 1/10000 inches or 1/1000 mm.
Z Linear Z-axis Motion
(Setting 47)
The Z address character is used to specify motion for the Z-axis. It specifies a position ordistance along the Z-axis. It is either in inches with four fractional positions or mm withthree fractional positions. It is followed by a signed number in inches or metric. If nodecimal point is entered, the last digit is assumed to be 1/10000 inches or 1/1000 mm.