Okuma Lathe G and M Codes

Complete Okuma Lathe G and M Codes list for cnc machinists who work on Okuma cnc lathe machines.

Okuma CNC Lathe OSP-P200L

Okuma CNC Lathe OSP-P200L

Okuma Lathe G Codes

G CodeDescription
G00Positioning
G01Linear Interpolation
G02Circular Interpolation (CW)
G03Circular Interpolation (CCW)
G04Dwell
G20Home Position Command
G21ATC Home Position Command
G22Torque skip command
G28Torque Limit command cancel
G29Torque Limit command
G30Skip cycle
G31Fixed thread cutting cycle: Longitudinal
G32Fixed thread cutting cycle: End Phase
G33Fixed thread cutting cycle
G34Variable lead thread cutting cycle: Increasing lead
G35Variable lead thread cutting cycle: Decreasing lead
G36Machine spindle-feed rod synchronized feeding (forward)
G37Machine spindle-feed rod synchronized feeding (reverse)
G40Tool Nose Radius Compensation: CANCEL
G41Tool Nose Radius Compensation: LEFT
G42Tool Nose Radius Compensation: RIGHT
G50Zero Offset. Maximum Spindle Speed Designation G62 Mirror image designation
G64Mirror image control OFF
G65Mirror image control ON
G71Compound Fixed Thread Cutting Cycle: Transverse
G72Compound Fixed Thread Cutting Cycle: Longitudinal
G73Longitudinal Grooving Compound Fixed Cycle
G74Transverse Grooving Compound Fixed Cycle
G75Automatic Chamfering
G76Automatic Rounding
G77Tapping compound fixed cycle
G78Tapping cycle reversed thread
G80End of Shape Designation (LAP)
G81Start of Longitudinal Shape Designation (LAP)
G82Start of Transverse Shape designation (LAP)
G83Start of Blank material shape definition (LAP)
G84Change of cutting conditions in bar turning cycle (LAP)
G85Call of Rough Bar Turning Cycle (LAP)
G86Call of Rough copy Turning Cycle (LAP)
G87Call Finish Turning Cycle (LAP)
G88Call of continuous thread cutting cycle (LAP)
G90Absolute Programming
G91Incremental Programming
G94Feed Per Minute Mode (MM.MIN)
G95Feed Per Revolution Mode (MM/REV)
G96Constant Cutting Speed “ON”
G97Constant Cutting Speed “OFF”
G101Linear Interpolation in Contour Generation
G102Circular Interpolation in Contour Generation (FACE) (CW) M
G103Circular Interpolation in Contour Generation (FACE) (CCW)
G110Constant speed cutting on turret A
G112Circular thread cutting CW
G113Circular thread cutting CCW
G132Circular Interpolation in Contour Generation (SIDE) (CW)
G133Circular Interpolation in Contour Generation (SIDE) (CCW)
G136End of Coordinate System Conversion or Y-Axis Mode OFF
G137Start of Coordinate System Conversion or Y-Axis Mode OFF
G140Designation of Machining Mode Using Main Spindle
G141Designation of Machining Mode Using Sub Spindle
G161-G170G-code macro function MODIN
G171G-code macro function CALL
G178Synchronized tapping cycle (forward)
G179Synchronized tapping cycle (reverse)
G180Machine Compound Fixed Cycle: CANCEL
G181Machine Compound Fixed Cycle: DRILLING
G182Machine Compound Fixed Cycle: BORING
G183Machine Compound Fixed Cycle: DEEP HOLE DRILLING
G184Machine Compound Fixed Cycle: TAPPING
G185Machine Compound Fixed Cycle: LONGITUDINAL THREAD CUTTING
G186Machine Compound Fixed Cycle: END FACE THREAD CUTTING
G187Machine Compound Fixed Cycle: LONGITUDINAL STRAIGHT THREAD CUTTING
G188Machine Compound Fixed Cycle: TRANSVERSE STRAIGHT THREAD CUTTING
G189Machine Compound Fixed Cycle: REAMING/BORING
G190Machine Compound Fixed Cycle: KEYWAY CUTTING CYCLE
G191Machine Compound Fixed Cycle: LONGITUDINAL KEYWAY CUTTING CYCLE

Okuma Lathe M Codes

M CodeDescription
M00Program Stop
M01Optional Stop
M02End of Program
M03Spindle CW
M04Spindle CCW
M05Spindle Stop
M06Tool Change
M08Coolant ON
M09Coolant OFF
M12Machine Spindle STOP
M13Machine Spindle CW
M14Machine Spindle CCW
M15C-Axis Positioning
M16C-Axis Positioning (NEG)
M17CEJ MATIC :Request of Data transfer
M18Post-process Gauging RS232C: Request of Data transfer
M19Oriented Spindle Stop
M20Tailstock Barrier OFF or spindle interference monitoring OFF (opposed two-spindle models)
M21Tailstock Barrier ON or spindle interference monitoring ON (opposed two-spindle models)
M22Chamfer OFF
M23Chamfer ON
M24Chuck Barrier OFF, Tool interference OFF
M25Chuck Barrier ON, Tool interference ON
M26Thread Lead Along Z-Axis
M27Thread Lead Along X-Axis
M28Tool Interference Check Function OFF
M29Tool Interference Check Function ON
M30End of Program
M32Straight In-feed along thread face mode (on left face)
M33Zigzag in feed in Thread Cutting
M34Straight In-feed along thread face mode (on right face)
M40Spindle gear Range Neutral
M41Spindle Gear Range 1
M42Spindle Gear Range 2
M48Spindle Speed Override Ignore Cancel
M49Spindle Speed Override Ignore
M55Tailstock Spindle Retract
M56Tailstock Spindle Advanced
M58Chucking Pressure Low
M59Chucking Pressure High
M72ATC Unit Position at Approach Position
M73Thread Cutting Pattern 1
M74Thread Cutting Pattern 2
M75Thread Cutting Pattern 3
M76Parts Catcher Retract
M77Parts Catcher Advanced
M78Steady Rest Unclamp
M79Steady Rest Clamp
M80over cut Advanced
M81over cut Retract
M83Chuck Clamp
M84Chuck Unclamp
M85No Return to the Cutting Starting Point after the completion of rough turning cycle (LAP)
M86Turret Indexing direction: CW (reverse)
M87Cancel of M86
M98Tailstock Spindle Thrust Low
M99Tailstock Spindle Thrust High
M109Cancel of M110
M110C-Axis Joint
M134Z-Axis Thrust Monitoring OFF
M135Z-Axis Thrust Monitoring ON
M136Designation of Multiple fixed cycle configuration
M137Touch setter interlock release ON
M138Touch setter interlock release OFF
M139Lead Machining Function – Learning Operation
M140Tapping Cycle M-Tool Constant Rotation Answer Ignored
M141C-Axis Clamp or not Selection
M142Coolant Pressure Low
M143Coolant Pressure High
M146C-Axis Unclamp
M147C-Axis Clamp
M152M-Tools Spindle Interlock ON
M153M-Tools Spindle Interlock OFF
M161Feedrate Override Fix (100%)
M162Cancel of M163
M163M-Tools Spindle Speed Override Fix (100%)
M168Ignoring M-Tool Spindle Constant Speed Answer
M169C-Axis NoClamp
M191M-Tool Spindle Orientation Direction Specified CW
M192M-Tool Spindle Orientation Direction Specified CCW
M197Thread Cutting Phasing Stroke Clear
M211Keyway Cutting Style: Minus Direction
M212Keyway Cutting Style: Zigzag
M213Keyway Cutting Style: Designated Depth Infeed
M214Keyway Cutting Style: Equal Depth Infeed