585,894 active members*
5,043 visitors online*
Register for free
Login
Results 1 to 9 of 9
  1. #1
    Join Date
    Jan 2006
    Posts
    38

    VSD-A Spindle control in MACH3?

    Hi.
    How VSD-A should be configured in Mach when it's used at spindle control? It's probably controlled with step/dir(?) but I haven't got this working yet

  2. #2
    Join Date
    Nov 2003
    Posts
    126
    I too would like to know... I assume one just drives the spindle with S/D just like a big, fast rotary axis.. but setup as the spindle in Mach.

    I also have a question regarding using a large Fanuc AC servo +VSD-A for the spindle drive on a 5C collet size lathe (to allow A-axis positioning). Fanuc is a 10s/3000 rated 145V, 15A (stall) 12nm torque (stall). Will trying to drive it like a "ridged" axis make it error out all the time when taking cuts? I assume I would make the fault range (step +/- range) about as large as possible, to allow the spindle/drive time to correct before faulting when taking cuts??

  3. #3
    Join Date
    Sep 2004
    Posts
    1207
    One may use position mode for spindle but there is also a velocity mode which works also thru step/dir. Velocity mode is much like position mode with following differences:
    • Following error fault limit is defined as velocity error, not position error
    • Velocity mode allows position "slipping" if motor is overloaded. It doesn't wind-up to catch the position. That's actually what velocity mode means, it just tries to keep velocity controlled, not position.

  4. #4
    Join Date
    Nov 2003
    Posts
    126
    Xerxes-
    Thank you for the distinction between s/d and velocity modes.
    My next two questions are:
    1) I assume velocity mode is the desired mode for a lathe spindle control, but what about cutting threads? There will be a 500-1000 count encoder on the spindle motor, but if velocity mode allows slipping, and the software is out of the control loop, how is thread accuracy held?
    2) When I want to use the spindle as a rotary axis, I assume I need to use s/d mode again for position accuracy, correct? Can the VSD-A change between velocity and s/d modes on the fly?

    Thanks for the information. The spindle control is still the hazy part of the project for me, especially since I am needing C-axis positioning on the spindle. I am open to any comments and suggestions.

    mkuivamaki- have you made any progress on setting up Mach for your spindle?

  5. #5
    Join Date
    Sep 2004
    Posts
    1207
    Sounds like you would need to use the position mode to get guaranteed spindle orientation. Mode can be changed on fly but only via SPI bus, so with Mach you need to use single mode.

  6. #6
    Join Date
    Jan 2006
    Posts
    38
    Yes I got it working. I configured spindle to position mode. Spindle is controlled with step/dir. I have still one problem, with another computer (I made vsd-a configuration with this computer) command M5 in Mach stops spindle rotation smoothly as it should be. But when I tested spindle with my cnc control PC spindle stops immediately (in rough way). With high rpm's vsd-a goes over current error when spindle stops. All parameters should be same in both Machs. Spindle acceleration/deceleration curves aren't sharp. Acceleration works as it should be.

  7. #7
    Join Date
    Sep 2004
    Posts
    1207
    Overcurrent fault is symptom from incorrect tuning, that should never happen if tuning is good. Overcurrent fault means that measured motor current got higher than commanded (above the overcurrent fault leven you set in GDtool). Adjusting overcurrent limit and/or torque controller PI gains will fix this.

    To Mach problem I don't know an answer. Perhaps there is acceleration/deceleration setting somewhere?

  8. #8
    Join Date
    Jan 2006
    Posts
    38
    The error is this: "Other fault, get details via SPI bus.
    Possibly over current fault." So it might be something else than over current? Acceleration and deceleration time are set to 2sec. There is still that problem when servo stops on high speeds.

  9. #9
    Join Date
    Sep 2004
    Posts
    1207
    Are you sure it's not fault #10 which has quite similar LED pattern? That would be overvoltage (regenerative) which is typical problem in deceleration. Try measuring HV bus voltage after fault.

Similar Threads

  1. Setting up Spindle Control in mach3
    By UKRobotics in forum Mach Mill
    Replies: 2
    Last Post: 10-18-2009, 10:34 PM
  2. Mach3 spindle control of Boxford 260 VMC
    By jwhitley in forum Benchtop Machines
    Replies: 1
    Last Post: 09-09-2008, 06:21 PM
  3. Spindle Speed Control for X3 with C11G BOB & Mach3
    By MRM RCModels in forum Benchtop Machines
    Replies: 24
    Last Post: 07-26-2008, 06:39 PM
  4. MACH3 to control spindle speed of Wabeco F1210E
    By pdyer in forum Benchtop Machines
    Replies: 0
    Last Post: 07-23-2008, 06:34 AM
  5. SX3 spindle speed control with Mach3
    By bbox in forum Benchtop Machines
    Replies: 47
    Last Post: 07-05-2008, 11:15 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •