240 basic g codes

11
G CODES 1. Preparatory function 2. Miscellaneous function PREPARATORY FUNCTION (G FUNCTION) G codes are divided into the following two types. Type Meaning One–shot G code The G code is effective only in the block in which it is Modal G code The G code is effective until another G code of the same group is specified.

Upload: franklin-estevez

Post on 08-Sep-2015

5 views

Category:

Documents


1 download

DESCRIPTION

Codigo G Báscos

TRANSCRIPT

  • G CODES1. Preparatory function2. Miscellaneous function

    PREPARATORY FUNCTION (G FUNCTION)G codes are divided into the following two types.Type Meaning

    Oneshot G code The G code is effective only in the block in which it isModal G code The G code is effective until another G code of the same group is specified.

  • List of function

    Group 01 G00 G01 G02 G03 G33Group 02 G17 G18 G19

    Group 03 G90 G91

    Group 05 G94 G95

    Group 06 G20 G21

    Group 07 G40 G41 G42

    Group 08 G43 G44 G49

    Group 09 G73 G74 G76 G80G89

    Group 10 G98 G99

    Group 11 G50 G51

    Group 12 G65 G66 G67

    Group 13 G96 G97

    Group 14 G54G59

    Group 15 G61G64

    Group 16 G68 G69

  • POSITIONING (G00)The G00 command moves a tool to the position in the workpiece systemspecified with an absolute or an incremental command at a rapid traverserate.FORMAT: G00 Xe Ye Ze;

    LINEAR INTERPOLATION (G01)A tools move along a line to the specified position at the feedrate specified in F.FORMAT: G01 G00 Xe Ye Ze F;

  • CIRCULAR INTERPOLATION (G02, G03)The command will move a tool along a circular arc.G02 for ClockwiseG03 for counter clockwise

    The numerical value following I, J, or K, is a vector component in which the arc center is seen fromthe start point

  • Examples

  • DIRECTION OF THE CIRCULAR INTERPOLATION (G17, G18, G19)

    INCH/METRIC CONVERSION (G20, G21)

    G20 ; Inch input

    G21 ; mm input

  • REFERENCE POSITION RETURN (G28)Positioning to the intermediate or reference positions are performed at the rapid traverse rate ofeach axisExampleG28 G91 X0 Y0 Z0 ; Return to the reference position returnCUTTER COMPENSATION (G40, G41, G42)G41 offsets the tool towards the left of the workpiece as you see when you face in the same directionas the movement of the cutting tool.

    TOOL LENGTH OFFSET (G43, G44, G49)This function can be used by setting the difference between the tool length assumed duringprogramming and the actual tool length of the tool used into the offset memory. It is possible tocompensate the difference without changing the program.

  • Specify the direction of offset with G43 or G44.G43 : Positive offset

    G44 : Negative offset

    G49 ; Tool length offset cancel

    Examples

    G43 H01 ; Compensation with diameter value from tool 01

  • CONSTANT SURFACE SPEED CONTROL (G96, G97)Specify the surface speed (relative speed between the tool and workpiece) following S. The spindle isrotated so that the surface speed is constantregardless of the position of the tool.

    G96 S_____ ; Surface speed (m/min or feet/min)G97 S_____ ; Spindle speed (min-1)

  • SUBPROGRAM (M98, M99)If a program contains a fixed sequence or frequently repeated pattern, such a sequence or pattern canbe stored as a subprogram in memory to simplify the program.A subprogram can be called from the main program.A called subprogram can also call another subprogram.

    M98 P 111 OOOO ;111 Number of times the subprogram is called repeatedlyOOOO Subprogram numberWhen no repetition data is specified, the subprogram is called just once.