Copyright Goodheart-Willcox Co., Inc. Chapter 9 CNC Mill Programming 185 Goodheart-Willcox Publisher Figure 9-4. A standard address code list. Address Codes Address Code Function A Angular dimension around X axis. B Angular dimension around Y axis. C Angular dimension around Z axis. D Cutter compensation register number. E Angular dimension for special axis. F Feed rate. H Height offset register number. I Alternate X axis used for canned cycles or circular motions. J Alternate Y axis used for canned cycles or circular motions. K Alternate Z axis used for canned cycles or circular motions. L Loop count repeat for canned cycles. N Block number. O Program number. P Dwell time. Q Canned cycle repeat dimension. R Arc radius or Z axis retract distance. S Spindle speed. T Tool selection number. U Alternate X axis used to specify motion. V Alternate Y axis used to specify motion. W Alternate Z axis used to specify motion. X X-axis motion. Y Y-axis motion. Z Z-axis motion. Figure 9-5. A commonly used G code table. Some machine-specific G codes are not listed. Commonly Used G Codes G Code Function G00 Move in a straight line at rapid speed. G01 Move in a straight line at a feed rate. G02 Clockwise arc at feed rate. G03 Counterclockwise arc at feed rate. G04 Dwell stop for a specifi ed time. G17 Arc in X-Y plane. G18 Arc in X-Z plane. G19 Arc in Y-Z plane. G20 Program coordinates are inches. G21 Program coordinates are millimeters. G28 Return to home position. G40 Tool cutter compensation off. G41 Tool cutter compensation left. (continued)
Previous Page Next Page