600,772 active members*
2,519 visitors online*
Register for free
Login
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2004
    Posts
    169

    Help with Gcode

    Hi all
    Can someone have a look at the attached photos of gcode and let me know what I'm doing wrong.
    I running it on an old okuma Lb15 with OSP5000L and trying to lathe some threads ...
    It stops at the G33 command
    Tried lots of different things and stops at the threading code ....
    Any ideas ????
    Thanks for looking
    Attached Thumbnails Attached Thumbnails 20250413_103351.jpg   20250413_103329.jpg   20250413_103309.jpg  

  2. #2
    Join Date
    Mar 2022
    Posts
    61

    Re: Help with Gcode

    7-2-1. Fixed Thread Cutting Cycle: Longitudinal (G33, G31)
    [Command format]
    G33 X__ Z__ { } (E__) F__ (K__)(L__)(J__)(C__)

    A thread cutting cycle can be programmed in the same manner with G31 as with G33.
    G33 : Fixed thread cutting cycle (longitudinal) command
    G31 : Fixed thread cutting cycle command
    X : Thread diameter for each thread cutting cycle
    Z : Z coordinate of end point of thread
    F : Thread lead (F/J if a J word is provided.)
    I : Difference in radius between start and end of taper
    A : Taper angle (Taper is specified by either an I or A word.)
    E : Lead variation rate per lead for variable lead thread
    K : Z-axis shift amount of thread cutting starting point (When no K word is specified, the
    control assumes K=0.)
    L : Chamfering distance (When no L word is specified, the control assumes L=one lead at
    thread cutting start)
    L word is effective in the thread chamfering ON (M23) mode.
    J : Number of threads within a distance specified by the F word (When no J word is
    specified, the control assumes J=1.)
    C : Phase difference for multi-thread thread cutting (C=0 if omitted.)

  3. #3
    Join Date
    Mar 2004
    Posts
    169

    Re: Help with Gcode

    Thanks for your reply, much appreciated.

    This is the code im using , according to the okuma LB15 manual it should work



    %
    (Thread.MIN)
    N10 G0 X800 Z205 M42 S300 T101010
    N15 X120 M8 M3
    N20 G33 X89 Z160 F1.5
    N22 X88.5
    N24 X88.3
    N26 X88.1
    N28 X88
    N30 G0 X800 Z205 M9 M5
    N22 M2
    %



    I have tried G31 as well but it stops at the thread Gcode ??
    This is a screen shot of thread cutting gcode.
    Attached Thumbnails Attached Thumbnails thread cutting.JPG  

Similar Threads

  1. Gcode
    By frankg521 in forum Uncategorised CAM Discussion
    Replies: 24
    Last Post: 08-01-2007, 06:02 PM
  2. Help with Gcode
    By xairflyer in forum G-Code Programing
    Replies: 2
    Last Post: 04-11-2005, 02:10 AM
  3. Replies: 0
    Last Post: 03-10-2005, 07:46 PM
  4. Gcode help
    By ynneb in forum G-Code Programing
    Replies: 8
    Last Post: 01-30-2005, 06:13 AM
  5. gcode to gcode converter
    By july_favre in forum Uncategorised CAM Discussion
    Replies: 4
    Last Post: 05-25-2004, 12:51 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •