585,741 active members*
5,180 visitors online*
Register for free
Login
Results 1 to 6 of 6
  1. #1
    Join Date
    May 2015
    Posts
    13

    Smile Servo as spindle for mini lathe

    Hello, I'm currently retrofitting an old mini lathe to CNC using LinuxCNC as controller.
    My goal is to understand how to setup a servo motor as a spindle and how to synchronize it with the Z carriage in order to do rigid tapping and plain threading (I probably won't ever do rigid tapping on this machine but for future projects it will certain come in handy knowing how to do it).
    As far as I know for plain single point threading only the encoder index signal is needed, instead for tapping the encoder quadrature phase A and B are required too.
    My current hardware is composed of: PCI express parport, a cheap chinese 5 axis breakout board with optoisolated inputs, Leadshine 57bl180d servo motor + ACS806 servo drive, one nema17 stepper for the X axis and one nema23 stepper for the Z axis.
    The servo drive works with pulse/dir signals (I've tried to set it up as the X axis, using stepconf wizard to configure its parameters, and it works fine) and outputs the encoder differential quadrature phase A, B and index Z.
    Unfortunately I've no experience at all with advanced HAL programming other than using the stepconf wizard so any advice and suggestions would be greatly appreciated!!

    Thanks, Matteo

  2. #2
    Join Date
    Dec 2003
    Posts
    24220

    Re: Servo as spindle for mini lathe

    To give you an idea how it is done with more sophisticated systems is with the use of electronic gearing, where the servo axis is geared off of the relatively imprecise spindle encoder/axis.
    AFAIK Linux has the ability to use a motion card, which may make it possible, the Galil cards I use can do it, the other alternative is the relatively imprecise 1pulse/rev method.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

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

  3. #3
    Join Date
    May 2015
    Posts
    13

    Re: Servo as spindle for mini lathe

    Setting the encoder's PPR to around 400 wouldn't allow the parport to handle it? I'd prefer to avoid extra cards if possible.

    Matteo.

    Inviato dal mio ASUS_Z00AD utilizzando Tapatalk

  4. #4
    Join Date
    Feb 2008
    Posts
    644

    Re: Servo as spindle for mini lathe

    Quote Originally Posted by Moriduri View Post
    Setting the encoder's PPR to around 400 wouldn't allow the parport to handle it? I'd prefer to avoid extra cards if possible.

    Matteo.

    Inviato dal mio ASUS_Z00AD utilizzando Tapatalk
    Absolutely, LinuxCNC can do anything a fancy motion card can do with only a (or a couple) parallel port(s),
    if you accept the limits of lower maximum pulse rate and lower encoder resolution

    Since your drive outputs A/B/Index it should be straight forward to configure LinuxCNC for threading and rigid tapping
    (as long as you have direct drive so you get 1 index per turn)

  5. #5
    Join Date
    May 2015
    Posts
    13

    Re: Servo as spindle for mini lathe

    Quote Originally Posted by PCW_MESA View Post
    Absolutely, LinuxCNC can do anything a fancy motion card can do with only a (or a couple) parallel port(s),
    if you accept the limits of lower maximum pulse rate and lower encoder resolution

    Since your drive outputs A/B/Index it should be straight forward to configure LinuxCNC for threading and rigid tapping
    (as long as you have direct drive so you get 1 index per turn)
    I can lower the PPR even more if needed (4000 default divided by 255 max), stepgen limits and therefore lower RPM max isn't that big of a problem cause for now i'm just interested in know how to make it work so that is useable.

    Matteo.

    Inviato dal mio ASUS_Z00AD utilizzando Tapatalk

  6. #6
    Join Date
    May 2015
    Posts
    13

    Re: Servo as spindle for mini lathe

    Any ideas on how to implement those funtions in HAL?

    Matteo.

    Inviato dal mio ASUS_Z00AD utilizzando Tapatalk

Similar Threads

  1. My attempt at a servo spindle for my 7x14 mini lathe
    By Smertrios in forum Maintenance DIY Discussion
    Replies: 0
    Last Post: 03-15-2013, 06:43 AM
  2. Spindle encoder Haas Mini lathe delivery
    By marto74 in forum Haas Mills
    Replies: 3
    Last Post: 05-25-2012, 02:53 PM
  3. Mini lathe and mini mill spindle?
    By ZipSnipe in forum Uncategorised MetalWorking Machines
    Replies: 3
    Last Post: 10-15-2010, 02:13 PM
  4. Mini lathe motor for spindle?
    By Guldberg in forum Mechanical Calculations/Engineering Design
    Replies: 3
    Last Post: 11-08-2006, 09:27 PM
  5. Mini lathe headstock for Spindle
    By rgillam in forum DIY CNC Router Table Machines
    Replies: 0
    Last Post: 05-24-2005, 01:59 AM

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
  •