Results 1 to 5 of 5

Thread: Using loops in gcode?

  1. #1
    Registered
    Join Date
    Dec 2005
    Location
    US
    Posts
    45
    Downloads
    0
    Uploads
    0

    Using loops in gcode?

    What is the syntax used on the dynatorch for creating loops in gcode?


  2. #2
    Registered
    Join Date
    Dec 2005
    Location
    US
    Posts
    45
    Downloads
    0
    Uploads
    0
    I found it in the manual. G76 is the repeat a section of the code command. I was looking for loop and not finding it. You start it with a loop number (L1 for example) and the at the bottom of your loop you call G76 to close the loop with the loop count and the loop number (example, G76 P5 L1). Simple enough.


  3. #3
    WSS
    WSS is offline
    Registered WSS's Avatar
    Join Date
    Mar 2009
    Location
    U.S.A.
    Posts
    920
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by forhire View Post
    I found it in the manual. G76 is the repeat a section of the code command. I was looking for loop and not finding it. You start it with a loop number (L1 for example) and the at the bottom of your loop you call G76 to close the loop with the loop count and the loop number (example, G76 P5 L1). Simple enough.
    forhire,
    Do you know if that will work in Oxy/fuel mode? I would assume the code to loop would be the same. I am thinking that you mean to go over the same part a specified number of times. I have a "annealing" cycle that I need to work out with a heating tip on the end of a machine torch for softening up some AR plate around some areas that will be machined after being cut.

    Thanks,
    WSS


  4. #4
    Registered
    Join Date
    Dec 2005
    Location
    US
    Posts
    45
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by WSS View Post
    forhire,
    Do you know if that will work in Oxy/fuel mode? I would assume the code to loop would be the same. I am thinking that you mean to go over the same part a specified number of times. I have a "annealing" cycle that I need to work out with a heating tip on the end of a machine torch for softening up some AR plate around some areas that will be machined after being cut.
    I would expect it should work for the annealing cycle. I think that's a brilliant idea. I'm going to file that away in my mind when for when I need it

    I've been thinking of putting a torch setup on my table. Did you purchase the torch kit from dynatorch or roll your own?


  • #5
    WSS
    WSS is offline
    Registered WSS's Avatar
    Join Date
    Mar 2009
    Location
    U.S.A.
    Posts
    920
    Downloads
    0
    Uploads
    0
    forhire,
    I put the oxy stuff together myself before the gantry arrived. I had been using it on other projects but had intended it's home to be on the DT gantry. I will be "retro fitting" it soon with a hi/lo pre-heat and a ease on pierce.

    WSS


  • Similar Threads

    1. G-code loops on profile ?
      By freakolot in forum SolidCam
      Replies: 5
      Last Post: 07-18-2009, 02:07 AM
    2. Setting up loops
      By Zmachine in forum Haas Lathes
      Replies: 6
      Last Post: 03-20-2009, 11:15 AM
    3. Ground Loops and Missed Steps
      By cbcnc in forum General Electronics Discussion
      Replies: 34
      Last Post: 03-16-2008, 03:34 PM
    4. gcode nested loops
      By ldaniels in forum Mach Mill
      Replies: 3
      Last Post: 10-26-2007, 07:21 PM
    5. loops and subs
      By d.dixson in forum Mach Mill
      Replies: 5
      Last Post: 04-07-2007, 06:25 PM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.