Need Help! G Code to continuous run fourth axis in the back ground


Results 1 to 6 of 6

Thread: G Code to continuous run fourth axis in the back ground

  1. #1
    Member
    Join Date
    Nov 2005
    Location
    Canada
    Posts
    77
    Downloads
    0
    Uploads
    0

    Default G Code to continuous run fourth axis in the back ground



  2. #2
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    34537
    Downloads
    0
    Uploads
    0

    Default Re: G Code to continuous run fourth axis in the back ground

    You could configure it as a spindle, but then you'd need to control your regular spindle manually.

    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  3. #3
    Member
    Join Date
    Nov 2005
    Location
    Canada
    Posts
    77
    Downloads
    0
    Uploads
    0

    Default Re: G Code to continuous run fourth axis in the back ground

    Is that easy to do?



  4. #4
    Member
    Join Date
    Apr 2004
    Location
    Oakland CA USA
    Posts
    4842
    Downloads
    0
    Uploads
    0

    Default Re: G Code to continuous run fourth axis in the back ground

    You might try detaching the 4th axis from your system and powering it separately. Sherline sells an autonomous rotary table that doesn't need a computer to run: https://www.sherline.com/product/870...table-indexer/ I don't think it has a "continuous" mode, but you could, for instance, tell it to go to 360,000 if you wanted it to rotate a thousand times.

    Andrew Werby
    https://computersculpture.com/


  5. #5
    Member
    Join Date
    Nov 2005
    Location
    Canada
    Posts
    77
    Downloads
    0
    Uploads
    0

    Default Re: G Code to continuous run fourth axis in the back ground

    Thanks all I think i got it worked out in the G code. Not quite how i was hoping but it will do.



  6. #6
    Member
    Join Date
    Jun 2010
    Location
    Australia
    Posts
    3886
    Downloads
    4
    Uploads
    0

    Default Re: G Code to continuous run fourth axis in the back ground

    Normally I let Mach3 drive the 4th axis with Step/Dir signals, but sometimes I want the 4th axis to behave like a lathe. So ...

    I use a single Mach3 output pin to switch between the Step/Dir pins and an external free-running oscillator and a direction switch. The latter does not require any effort from Mach3, and can be invoked from within a program. This works fine.

    However, switching back from 'lathe mode' to controlled mode is more difficult if I want to return to the original orientation. I would need to write a macro to keep stepping until the Index pulse was asserted, and to then zero the A axis. (This is possible.) So far I have avoided this need.

    Cheers
    Roger



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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

G Code to continuous run fourth axis in the back ground

G Code to continuous run fourth axis in the back ground

G Code to continuous run fourth axis in the back ground