Results 1 to 4 of 4

Thread: Possible to program spindle as A axis and use as lathe?

  1. #1
    Registered
    Join Date
    Jan 2012
    Location
    c
    Posts
    173
    Downloads
    0
    Uploads
    0

    Possible to program spindle as A axis and use as lathe?

    I havent gotten a lathe CAM yet so I am unfamiliar with how it works.

    If I want to create threads, can turning lathe CAM output gcode in terms of controlling a stepper based spindle? Or do they operate on RPM in order to time the threading cuts correctly?


  2. #2
    Registered doorknob's Avatar
    Join Date
    Jan 2010
    Location
    USA
    Posts
    1,738
    Downloads
    0
    Uploads
    0
    I have not done it, but my understanding is that typically a slotted disk connected to the spindle (or similar method) is used with an opto-interrupter to generate an index pulse (one pulse per revolution of the spindle) which is fed back into the controller software, which uses that pulse to determine spindle motion and rpm for synchronization.

    See http://www.machsupport.com/docs/Mach3_Threading.pdf for more details.

    That said, I believe that some CNC lathe setups use a servo motor to drive the spindle (for precise control of spindle positioning), and so with such a setup the spindle could be treated as another axis, using signals from the encoder to synchronize the threading operation. Conceptually, you could use a stepper motor for the spindle, but stepper torque falls off as speed is increased, and so whether or not that would work for you would depend on whether you could obtain adequate performance from the stepper.


  3. #3
    Registered
    Join Date
    Jan 2012
    Location
    c
    Posts
    173
    Downloads
    0
    Uploads
    0
    So does the gcode tell the lathe to wait for the trigger signal to move always? So the CAM side has to know to do this already?

    So does the CAM have another style of output for threading where it is based on spindle rotational position instead? Or is lathe thread gcode generally the same, except that the spindle rotational position if it was a servo or stepper, is just offloaded to the CNC motion control software side to automatically know when the trigger is?

    I cant fit an encoder because I cant add connections to my parport since its a commercial driver, and I dont have a breakoutboard to utilize unused pins.


  4. #4
    Community Moderator Al_The_Man's Avatar
    Join Date
    Dec 2003
    Location
    Canada
    Posts
    18,954
    Downloads
    0
    Uploads
    0
    In a commercial system there is no need to make the spindle an axis, just an encoder on the spindle and the Z axis gears itself off the spindle encoder, so if the spindle speed varies slightly the Z changes accordingly.
    With Mach and systems that do not close the loop in the control, gearing is not usually possible so what is done is a one-per-rev pulse on the spindle indicates the rpm and the Z axis moves according to this one/rev pulse.
    The CAM system usually just calls a Threading routine and does not know the method used.
    BTW, and encoder on the spindle makes it a C axis rather than A.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design (Skype Avail).

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.


Similar Threads

  1. 4th axis - spindle or lathe head?
    By erikjgreen in forum General Metal Working Machines
    Replies: 5
    Last Post: 10-02-2010, 10:36 PM
  2. Need Help!- lathe spindle drive / x axis quirk
    By davesnd in forum CamSoft Products
    Replies: 11
    Last Post: 08-31-2010, 07:45 AM
  3. Help with multi-axis/sub spindle lathe
    By bob1112 in forum Post Processors for MC
    Replies: 3
    Last Post: 12-11-2008, 05:06 PM
  4. Replies: 2
    Last Post: 12-10-2008, 01:39 PM
  5. 3 axis lathe spindle brake
    By atmosports in forum General Metal Working Machines
    Replies: 1
    Last Post: 07-28-2004, 03:30 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.