Milling Programming

221 downloads 93698 Views 2MB Size Report
G17-G19: G-code priority plane selection. G02 X_ Y_ I_ J_ F_ : Axis-address priority plane selection. ▫ It is not a modal command and thus effective for only one ...
Milling Programming … Basic programming commands … Compensation and offset … Fixed cycles … Macro and subroutine programming

Tool motion commands

Rapid traverse G00 X_ Y_ Z_

Linear Interpolation (G01) G01 X_ Y_ Z_ F_ Example G90 G00 X1.0 Y1.0 G01 Y5.0 F7.5 X7.0 X1.0 Y1.0

Circular Interpolation (G02, G03) G02 clockwise G03 counterclockwise

Plane selection (G17, G18, G19) G17-G19: G-code priority plane selection G02 X_ Y_ I_ J_ F_ : Axis-address priority plane selection ƒ It is not a modal command and thus effective for

only one block. Example G18 G03 X_ Z_ J_ F_ arc interpolation in ZXplane G17 G03 X_ Y_ Z_ R_ F_ Helical cutting with circular motion in the XY-plane and linear motion in Z axis.

Arc programming Command format with IJK method (G17) G02 X_ Y_ I_ J_ F_ X_, Y_: end point of arc (Ii = Xc - Xs, Jj = Yc – Ys)

G90 G00 X-1.0 Y-1.0 (S) G01 X0 Y0 F7.5 (A) Y2.314 (B) G03 X0.5 Y3.0 I-0.5 J0.866 (C) X0. Y3.866 I-1. J0 (D) G01 Y5.5 (E) G02 X0.5 Y6.0 I0.5 J0 (F) G01 X4.5 (G) G02 X6.0 Y4.5 I0 J-1.5 (H) G01 Y0 (I) X0 (A) G00 X-1.0 Y-1.0 (S)

Example

Arc programming Command format with R method (G19) G03 Y_ Z_ R_ F_

Example G90 G00 X-2.0 Y-1.0 (S) G01 X0 Y0 F8.0 (A) Y4.0 (B) G02 X2.0 Y6.0 R2.0 (C) G01 X8.0 (D) G02 X9.0 Y2.268 R2.0 (E) G01 X0 Y0 (A) G00 X-2.0 Y-1.0 (S)

Position Systems (G90, G91) G90: Absolute system G91: Incremental system Input Unit Selection (G70 G20, G71 G21) G70 G20: inch system G71 G21: metric system Absolute Zero Setting (G92) G92 X_ Y_ Z_ (X, Y, Z) is the current tool position in the defined coordinate system

Example

Example

G28: Automatic Reference Point Return G28 X_ Y_ Z_ G28 X_Y_ G28 Z_

three axes two axes one axis

G29: Return from Reference Point G29 X_ Y_ Z_

commanded end position

G30: Second Reference Point Return G30 P_ X_ Y_ Z_ (P_: the number of reference point) (X_ Y_ Z_ : intermediate point)

Example

Example

Home Work