586,077 active members*
3,736 visitors online*
Register for free
Login
Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2021
    Posts
    13

    Question CNC lathe threading cycle G76

    Hi, I've noticed the G76 threading cycle command is no longer supported on the TNGv2 software. That's actually a very convenient feature built into the software so that I don't have to use CAM to output thread gcode every time. Are there any workaround for that? I noticed TNGv2 supports more API and python interface. Has anyone created any customized threading feature interface?

  2. #2
    Join Date
    Mar 2017
    Posts
    1312

    Re: CNC lathe threading cycle G76

    G76 is supported in TNG.

    Here is example g-code:
    Code:
    (dlgname,Thread)
    (dlg,Position Z, dec=3, def=0, min=-10000, max=10000, setunits, store, param=posz)
    (dlg,Position X, dec=3, def=0, min=-10000, max=10000, setunits, store, param=posx)
    (dlg,Length, dec=3, def='setunit(-20,-1);', min=-1000, max=1000, setunits, store, param=length)
    (dlg,Pitch, dec=2, def='setunit(2.5,0.1);', min='setunit(0.25,0.01);', max='setunit(6,0.25);', setunits, store, param=pitch)
    (dlg,Cut Depth, dec=3, def='setunit(0.1,0.005);', min=0, max=1000, setunits, store, param=cutdepth)
    (dlgshow)
             
    #<depth>              = [0.614 * #<pitch>]
    #<offset>             = 0
    #<degression>         = 1
    #<compoundslideangle> = 29.5
    #<springpasses>       = 1 ;Number of finishing passes
    #<taper>              = 2 ;0=None, 1=Entry, 2=Exit, 3=Entry+Exit
    #<taperangle>         = 45
    #<taperdistance>      = [TAN[#<taperangle>] * #<depth>]
    
    
    (print,Length: #<length>)
    (print,Pitch: #<pitch>)
    (print,Depth: #<depth>)
    (print,Offset: #<offset>)
    (print,CutDepth: #<cutdepth>)
    (print,Degression: #<degression>)
    (print,CompoundSlideAngle: #<compoundslideangle>)
    (print,SpringPasses: #<springpasses>)
    (print,Taper: #<taper>)
    (print,TaperAngle: #<taperangle>)
    (print,TaperDistance: #<taperdistance>)
        
    M73
    G21
    M3
    G00 Z#<posz> X#<posx>
    G76 Z#<length> P#<pitch> I#<offset> J#<cutdepth> K#<depth> R#<degression> Q#<compoundslideangle> H#<springpasses> E#<taperdistance> L#<taper>
    M5
    M2

  3. #3
    Join Date
    Apr 2021
    Posts
    13

    Re: CNC lathe threading cycle G76

    Yes, I saw this in the generate-thread tab. However, when I try to use it, it shows this error message.
    Attached Thumbnails Attached Thumbnails error.JPG  

  4. #4
    Join Date
    Mar 2017
    Posts
    1312

    Re: CNC lathe threading cycle G76

    Do you have old software version?

  5. #5
    Join Date
    Apr 2021
    Posts
    13

    Re: CNC lathe threading cycle G76

    No, currently I'm using the TNGv2 on the planetcnc website. If you have older version that works, please let me know the download link and I can have a try. Thanks.

  6. #6
    Join Date
    Mar 2017
    Posts
    1312

    Re: CNC lathe threading cycle G76

    Export your profile and send me .zip file. Also send me g-code that you use.

Similar Threads

  1. Threading Cycle G76 and G92
    By crandalljclj in forum G-Code Programing
    Replies: 0
    Last Post: 10-25-2014, 04:37 PM
  2. g76 threading cycle
    By Readme00 in forum Mastercam
    Replies: 3
    Last Post: 06-17-2014, 07:59 PM
  3. Programming lathe threading cycle G76 on a mill.
    By zaebis in forum G-Code Programing
    Replies: 7
    Last Post: 08-26-2012, 12:29 AM
  4. 1/4 NPT threading cycle (G76)
    By cncwhiz in forum G-Code Programing
    Replies: 21
    Last Post: 02-02-2012, 01:45 PM
  5. G76 Threading cycle
    By noshibby in forum Fanuc
    Replies: 5
    Last Post: 07-19-2011, 08:55 PM

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
  •