Results 1 to 9 of 9

Thread: VSD-A Spindle control in MACH3?

  1. #1
    Registered
    Join Date
    Jan 2006
    Location
    Finland
    Posts
    17
    Downloads
    0
    Uploads
    0

    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
    Registered
    Join Date
    Nov 2003
    Location
    Texas
    Posts
    125
    Downloads
    0
    Uploads
    0
    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
    Registered Xerxes's Avatar
    Join Date
    Sep 2004
    Location
    Finland
    Posts
    1201
    Downloads
    0
    Uploads
    0
    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
    Registered
    Join Date
    Nov 2003
    Location
    Texas
    Posts
    125
    Downloads
    0
    Uploads
    0
    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
    Registered Xerxes's Avatar
    Join Date
    Sep 2004
    Location
    Finland
    Posts
    1201
    Downloads
    0
    Uploads
    0
    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
    Registered
    Join Date
    Jan 2006
    Location
    Finland
    Posts
    17
    Downloads
    0
    Uploads
    0
    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
    Registered Xerxes's Avatar
    Join Date
    Sep 2004
    Location
    Finland
    Posts
    1201
    Downloads
    0
    Uploads
    0
    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
    Registered
    Join Date
    Jan 2006
    Location
    Finland
    Posts
    17
    Downloads
    0
    Uploads
    0
    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
    Registered Xerxes's Avatar
    Join Date
    Sep 2004
    Location
    Finland
    Posts
    1201
    Downloads
    0
    Uploads
    0
    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, 05:34 PM
    2. Mach3 spindle control of Boxford 260 VMC
      By jwhitley in forum Benchtop Machines
      Replies: 1
      Last Post: 09-09-2008, 01: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, 01:39 PM
    4. MACH3 to control spindle speed of Wabeco F1210E
      By pdyer in forum Benchtop Machines
      Replies: 0
      Last Post: 07-23-2008, 01:34 AM
    5. SX3 spindle speed control with Mach3
      By bbox in forum Benchtop Machines
      Replies: 47
      Last Post: 07-05-2008, 06:15 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.