585,894 active members*
5,270 visitors online*
Register for free
Login
Results 1 to 7 of 7
  1. #1
    Join Date
    Nov 2005
    Posts
    77

    G Code to continuous run fourth axis in the back ground

    Can anyone give me an idea how i program a fourth axis to run continuously in the back ground as my g code runs

  2. #2
    Join Date
    Mar 2003
    Posts
    35538

    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
    Join Date
    Nov 2005
    Posts
    77

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

    Is that easy to do?

  4. #4
    Join Date
    Apr 2004
    Posts
    5737

    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
    Website

  5. #5
    Join Date
    Nov 2005
    Posts
    77

    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
    Join Date
    Jun 2010
    Posts
    4256

    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

  7. #7
    Join Date
    Aug 2019
    Posts
    2
    Re: G Code to continuous run fourth axis in the back ground

Similar Threads

  1. DXF to g-code generator with continuous cutting?
    By riahc3 in forum Waterjet General Topics
    Replies: 0
    Last Post: 11-05-2015, 07:30 PM
  2. C axis normalcy? Fagor Gcode sample- for continuous path jig grinding? How to code?
    By nate in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 0
    Last Post: 10-17-2014, 07:09 PM
  3. Replies: 7
    Last Post: 12-20-2011, 07:53 PM
  4. how to get rid of the back ground code?
    By dingo0722 in forum Haas Mills
    Replies: 15
    Last Post: 10-19-2011, 04:04 PM
  5. back ground color
    By 1234567 in forum BobCad-Cam
    Replies: 0
    Last Post: 12-22-2009, 04:00 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
  •