586,069 active members*
3,356 visitors online*
Register for free
Login
Results 1 to 8 of 8
  1. #1
    Join Date
    Jan 2015
    Posts
    59

    rigid tapping following error

    hi. i have a converted x2 mini mill with linuxcnc and mesa 5i25. i made a 100 slot encoder disk for the spindle which works fine once i set my scale to 400(i now get proper DRO reading for one rev when rigid tapping. )
    my problem is when the spindle reverses i sometimes get a following error on z axis. if i run at super low rpm i get perfect tracking. but if it is faster i have to apply drag to the motor to slow it down fast enough to prevent following error. my z axis max error is now set to 0.1 (was at 0.01 before) and still get error above about 200rpm.

    i think i need to make the machine turn off the spindle before it reaches its target but i dont know how to do this properly.






    another small problem i have is that after i got a touch probe setup, linuxcnc will randomly error saying probe tripped during jog. is there a way to "turn off" the probe when not in use?

  2. #2
    Join Date
    Feb 2008
    Posts
    644

    Re: rigid tapping following error

    If you get following errors during spindle synchronized moves,
    it suggests that your Z acceleration is too low for the spindle reversal rate so you
    either have to increase the Z acceleration or slow the spindle reversal

    For the touch probe you may need to add debounce to the signal in hal

  3. #3
    Join Date
    Jan 2015
    Posts
    59

    Re: rigid tapping following error

    i need to debounce even though it works fine when connected?

  4. #4
    Join Date
    Feb 2008
    Posts
    644

    Re: rigid tapping following error

    If you are getting false triggers this suggests a electrical noise issue, debounce should solve this

    On the spindle, what is your spindle drive? normally you want it to reverse as fast as possible to limit overshoot
    but you typically don't want to use braking or any non-smooth reversal scheme since the Z axis needs to follow
    the spindle motion.


    Also forgot to ask, is Z a step/dir axis or a servo axis with encoder feedback? If its a servo axis, a following error might also indicate a Z axis tuning issue.

  5. #5
    Join Date
    Jan 2015
    Posts
    59

    Re: rigid tapping following error

    im running the stock brushless motor setup which reverses very quickly. it does not have any user adjustable features.

    i have steppers.

  6. #6
    Join Date
    Jan 2015
    Posts
    59

    Re: rigid tapping following error

    the weird thing about it is that most of the errors are when it comes back up to the top at the end of the cycle. is it possible for it to get confused of the encoder does not work quite right? maybe thats what i need to look at.

    if i enter m3s10 (slow enough that the motor does not start) and then enter a g33.1 with a k of at least 1mm, i can rotate the spindle by hand and go all the way down, reverse back up, and at the last few steps, "single stepping" extremely slow watching each encoder step, it will error on the last step after reaching its destination (z0 in my case) at spindle running speeds of about 100 to 200 rpm it wont error half the time with the same K values. (it still throws lots of following errors though).

    even with a lead of only .01mm it will throw a following error on Z once in a while when it comes back up to the top and goes forward again. i cant see how that could be my stepper acceleration limit.

    maybe my motor is blasting out high frequency EMF and giving the PC super fast fake encoder pulses?

  7. #7
    Join Date
    Feb 2008
    Posts
    644

    Re: rigid tapping following error

    whether this is a noise/encoder issue should be relatively easy to determine
    by HAL-Scoping the spindle and Z positions

  8. #8
    Join Date
    Jan 2015
    Posts
    59

    Re: rigid tapping following error

    looking at my HAL scope, i found that the A and B signals are basically 180 degrees out of phase (im using a photosensor which has built in quadrature and obviously my hole spacing does not match the spacing on the detectors inside the chip. even though its closer to 180 than 90, one waveform does lead/lag depending on direction and linuxcnc is able to detect which way its going. ) could it be my problem?

Similar Threads

  1. Replies: 1
    Last Post: 07-06-2014, 04:44 AM
  2. Replies: 24
    Last Post: 05-01-2014, 07:02 AM
  3. HELP - BP VMC1000 Rigid Tapping Cycle Error
    By shaffin in forum Bridgeport / Hardinge Mills
    Replies: 4
    Last Post: 04-06-2013, 05:21 PM
  4. Error #7 rigid tapping
    By dav612 in forum Fadal
    Replies: 2
    Last Post: 01-17-2012, 03:27 AM
  5. Replies: 13
    Last Post: 07-04-2009, 12:43 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
  •