Lathe Okuma G Code
G All G code is F3.0 in both inch and metric.MODAL |
G00PositioningM |
G01Linear InterpolationM |
G02Circular Interpolation (CW)M |
G03Circular Interpolation (CCW)M |
G04DwellX |
G20Home Position CommandX |
G21ATC Home Position CommandX |
G22Torque skip commandX |
G28Torque Limit command cancelX |
G29Torque Limit commandX |
G30Skip cycleX |
G31Fixed thread cutting cycle: LongitudinalX |
G32Fixed thread cutting cycle: End PhaseX |
G33Fixed thread cutting cycleX |
G34Variable lead thread cutting cycle: Increasing leadX |
G35Variable lead thread cutting cycle: Decreasing leadX |
G36M-tool spindle-feed rod synchronized feeding (forward)X |
G37M-tool spindle-feed rod synchronized feeding (reverse)X |
G40Tool Nose Radius Compensation: CANCELM |
G41Tool Nose Radius Compensation: LEFTM |
G42Tool Nose Radius Compensation: RIGHTM |
G50Zero Offset. Maximum Spindle Speed DesignationM |
G62Mirror image designationX |
G64Mirror image control OFFX |
G65Mirror image control ONX |
G72Compound Fixed Thread Cutting Cycle: LongitudinalM |
G71Compound Fixed Thread Cutting Cycle: TransverseM |
G73Longitudinal Grooving Compound Fixed CycleM |
G74Transverse Grooving Compound Fixed CycleM |
G75Automatic ChamferingM |
G76Automatic RoundingM |
G77Tapping compound fixed cycleM |
G78Tapping cycle reversed threadM |
G80End of Shape Designation (LAP)M |
G81Start of Longitudinal Shape Designation (LAP)M |
G82Start of Transverse Shape designation (LAP)M |
G83Start of Blank material shape definition (LAP)M |
G84Change of cutting conditions in bar turning cycle (LAP)M |
G85Call of Rough Bar Turning Cycle (LAP)M |
G86Call of Rough copy Turning Cycle (LAP)M |
G87Call Finish Turning Cycle (LAP)M |
G88Call of continuous thread cutting cycle (LAP)M |
G90Absolute ProgrammingM |
G91Incremental ProgrammingM |
G94Feed Per Minute Mode (MM.MIN)M |
G95Feed Per Minute Mode (MM/REV)M |
G96Constant Cutting Speed "ONM |
G97Constant Cutting Speed "OFFM |
G101Linear Interpolation in Contour GenerationM |
G102Circular Interpolation in Contour Generation (FACE) (CW)M |
G103Circular Interpolation in Contour Generation (FACE) (CCW)M |
G110Constant speed cutting on turret AM |
G112Circular thread cutting CWM |
G113Circular thread cutting CCWM |
G132Circular Interpolation in Contour Generation (SIDE) (CW)M |
G133Circular Interpolation in Contour Generation (SIDE) (CCW)M |
G136End of Coordinate System Conversion or Y-Axis Mode OFFM |
G137Start of Coordinate System Conversion or Y-Axis Mode OFFM |
G140Designation of Machining Mode Using Main SpindleM |
G141Designation of Machining Mode Using Sub SpindleM |
G161G-code macro function MODINM |
G162G-code macro function MODINM |
G163G-code macro function MODINM |
G164G-code macro function MODINM |
G165G-code macro function MODINM |
G166G-code macro function MODINM |
G167G-code macro function MODINM |
G168G-code macro function MODINM |
G169G-code macro function MODINM |
G170G-code macro function MODINM |
G171G-code macro function CALLM |
G178Synchronized tapping cycle (forward)M |
G179Synchronized tapping cycle (reverse)M |
G180M-Tool Compound Fixed Cycle: CANCELM |
G181M-tool Compound Fixed Cycle: DRILLINGM |
G182M-tool Compound Fixed Cycle: BORINGM |
G183M-tool Compound Fixed Cycle: DEEP HOLE DRILLINGM |
G184M-tool Compound Fixed Cycle: TAPPINGM |
G185M-Tool Compound Fixed Cycle: LONGITUDINAL THREAD CUTTINGM |
G186M-Tool Compound Fixed Cycle: END FACE THREAD CUTTINGM |
G187M-Tool Compound Fixed Cycle: LONGITUDINAL STRAIGHT THREAD CUTTINGM |
G188M-Tool Compound Fixed Cycle: TRANSVERSE STRAIGHT THREAD CUTTINGM |
G189M-Tool Compound Fixed Cycle: REAMING/BORINGM |
G190M-Tool Compound Fixed Cycle: KEYWAY CUTTING CYCLEM |
G191M-Tool Compound Fixed Cycle: LONGITUDINAL KEYWAY CUTTING CYCLEM |
M All M code is F3.0 in both inch and metric.MODAL |
M00Program Stop X |
M01Optional Stop X |
M02End of Program X |
M03Spindle CW M |
M04Spindle CCW M |
M05Spindle Stop M |
M06Tool Change M |
M08Coolant ON M |
M09Coolant OFF M |
M12M-Tool Spindle STOP M |
M13M-Tool Spindle CW M |
M14M-Tool Spindle CCW M |
M15C-Axis Positioning M |
M16C-Axis Positioning (NEG) M |
M17CEJ MATIC :Request of Data transfer M |
M18Post-process Gauging RS232C: Request of Data transfer M |
M19Oriented Spindle Stop M |
M20Tailstock Barrier OFF or spindle interference monitoring OFF (opposed |
two-spindle models) M |
M21Tailstock Barrier ON or spindle interference monitoring ON (opposed |
two-spindle models) M |
M22Chamfer OFF M |
M23Chamfer ON M |
M24Chuck Barrier OFF, Tool interference OFF M |
M25Chuck Barrier ON, Tool interference ON M |
M26Thread Lead Along Z-Axis M |
M27Thread Lead Along X-Axis M |
M28Tool Interference Check Function OFF M |
M29Tool Interference Check Function ON M |
M30End of Program M |
M32Straight In-feed along thread face mode (on left face) M |
M33Zig-Zag Infeed in Thread Cutting M |
M34Straight In-feed along thread face mode (on right face) M |
M40Spindle gear Range Neutral M |
M41Spindle Gear Range 1 M |
M42Spindle Gear Range 2 M |
M48Spindle Speed Override Ignore Cancel M |
M49Spindle Speed Override Ignore M |
M55Tailstock Spindle Retract M |
M56Tailstock Spindle Advanced M |
M58Chucking Pressure Low M |
M59Chucking Pressure High M |
M72ATC Unit Position at Approach Position M |
M73Thread Cutting Pattern 1 M |
M74Thread Cutting Pattern 2 M |
M75Thread Cutting Pattern 3 M |
M76Parts Catcher Retract M |
M77Parts Catcher Advanced M |
M78Steady Rest Unclamp M |
M79Steady Rest Clamp M |
M80Overcut Advanced M |
M81Overcut Retract M |
M83Chuck Clamp M |
M84Chuck Unclamp M |
M85No Return to the Cutting Starting Point after the completion of rough |
turning cycle (LAP) M |
M86Turret Indexing direction: CW (reverse) M |
M87Cancel of M86 M |
M98Tailstock Spindle Thrust Low M |
M99Tailstock Spindle Thrust High M |
M109Cancel of M110 M |
M110C-Axis Joint M |
M134Z-Axis Thrust Monitoring OFF M |
M135Z-Axis Thrust Monitoring ON M |
M136Designation of Multiple fixed cycle configuration M |
M137Touch setter interlock release ON M |
M138Touch setter interlock release OFF M |
M139Lead Machining Function - Learning Operation M |
M140Tapping Cycle M-Tool Constant Rotation Answer Ignored M |
M141C-Axis Clamp or not Selection M |
M142Coolant Pressure Low M |
M143Coolant Pressure High M |
M146C-Axis Unclamp M |
M147C-Axis Clamp M |
M152M-Tools Spindle Interlock ON M |
M153M-Tools Spindle Interlock OFF M |
M161Feedrate Override Fix (100%) M |
M162Cancel of M163 M |
M163M-Tools Spindle Speed Override Fix (100%) M |
M168Ignoring M-Tool Spindle Constant Speed Answer M |
M169C-Axis NoClamp M |
M191M-Tool Spindle Orientation Direction Specified CW M |
M192M-Tool Spindle Orientation Direction Specified CCW M |
M197Thread Cutting Phasing Stroke Clear M |
M211Keyway Cutting Style: Minus Direction M |
M212Keyway Cutting Style: ZigZag M |
M213Keyway Cutting Style: Designated Depth Infeed M |
M214Keyway Cutting Style: Equal Depth Infeed M |