585,973 active members*
4,130 visitors online*
Register for free
Login

Thread: Mach3 issue

Page 1 of 2 12
Results 1 to 20 of 22
  1. #1
    Join Date
    Apr 2005
    Posts
    11

    Question Mach3 issue

    Hi i have an issue with mach3 as far as i can tell.
    mach3 .62
    Ethernet SmoothStepper
    MB-02-V6 bob from Homandesigns
    gecko g320x

    if i run a simple gcode to go from X0 to X250 to X0
    it will over run X0 IE it will be X-1
    depending on speed at full speed it will be out by about 10mm.
    i have changed the pin on the bob from 2,3 to 8,9 no change.
    if i go to port and pins and change to active high it goes the other way IE x10.
    i was looking at the G320x when it moves and both lights stay on.

    if any one has an idea what this is please let me know.

    Andrew

  2. #2
    Join Date
    Dec 2014
    Posts
    10

    Re: Mach3 issue

    It could be that your steps/mm is off. You can calculate the step/mm and get a very good first number. However, if you want to maximize the accuracy you need to calibrate the value by doing repeated moves (the longer the better), measurements of actual moved distance and then recalculations of the step/mm value.


    I did this video on how I did some while ago:https://www.youtube.com/watch?v=LRagjLewSJg

  3. #3
    Join Date
    Apr 2005
    Posts
    11

    Re: Mach3 issue

    hi Martin

    even if i am out on the steps per mm i am telling it to move the same amount in both directions.
    so it should go back to where it started.

    Andrew

  4. #4
    Join Date
    Mar 2003
    Posts
    35538

    Re: Mach3 issue

    Yes, it should always return to the same place it started.

    With a servo, you're problem likely lies in the encoder signals.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  5. #5
    Join Date
    Feb 2006
    Posts
    210
    You are losing steps somewhere. Either the stepper is overloaded at some point, sounds like going out-not back, or a coupling is slipping.
    Dave
    In the words of the Toolman--If you didn't make it yourself, it's not really yours!
    Remember- done beats perfect every time!!

  6. #6
    Join Date
    Apr 2005
    Posts
    11

    Re: Mach3 issue

    the weird thing if i change mach3 to active high it gains in the other direction.
    i have changed the drive, the pins on bob, the encoder.

    Andrew

  7. #7
    Join Date
    Jan 2007
    Posts
    599

    Re: Mach3 issue

    sound like you have a problem with pulse width setup and or pulsing to fast.

  8. #8
    Join Date
    Jan 2011
    Posts
    188

    Re: Mach3 issue

    have you put alignment marks on every shaft, coupler and pulley to rule out mechanical slippage?
    www.signtorch.com

  9. #9
    Join Date
    Apr 2005
    Posts
    11

    Re: Mach3 issue

    i was thinking the pulse is not right in 1 direction but i don't know how to change it in mach3.


    if it was slipping it would be all over the pace but i can get to do it the same amount each time.

  10. #10
    Join Date
    Apr 2004
    Posts
    733

    Re: Mach3 issue

    What kind of encoder. Some brands have a problem with signal quality. Here is info on it.

    http://www.geckodrive.com/support/ap...-encoders.html

  11. #11
    Join Date
    Apr 2005
    Posts
    11

    Re: Mach3 issue

    i am using an AMT102-V set to 512 steps

  12. #12
    Join Date
    Jan 2011
    Posts
    188

    Re: Mach3 issue

    Quote Originally Posted by Andrew2111111 View Post
    i was thinking the pulse is not right in 1 direction but i don't know how to change it in mach3.


    if it was slipping it would be all over the pace but i can get to do it the same amount each time.

    I guess that's a no - I disagree - good luck....
    www.signtorch.com

  13. #13
    Join Date
    Apr 2004
    Posts
    733

    Re: Mach3 issue

    Quote Originally Posted by Andrew2111111 View Post
    i am using an AMT102-V set to 512 steps
    The encoder wheel has been known to slip. The fix is to put a tiny bit of super glue on the plastic center piece.

    I would contact gecko and see what other issues they have seen with this encoder.

  14. #14
    Join Date
    Apr 2005
    Posts
    11

    Re: Mach3 issue

    i did put super glue on the center piece.
    if i had slippage i would expect it to be all over the place.
    the mill has keyed taper locks on the motor.

  15. #15
    Join Date
    Jan 2011
    Posts
    188

    Re: Mach3 issue

    I would expect electrical problems to vary all over the place and mechanical slippage to be more predictable and constrained like you are describing

    so I wouldn't even suspect or consider or chase electrical problems unless I was 1,000,000% certain that it was not mechanical

    the motor (probably) could not hold position if the encoder signal is failing consistently in one direction

    if the motor holds anywhere near position and doesn't ever fault or run away then that's a strong indicator that the encoder and drive are (probably) working correctly

    the only observable signal difference between going forward and backward is the state of the dir pin - if that's causing a directional problem then it might be a faulty or floating pin but I wouldn't expect that to cause a consistent 1 in 250 error

    you do have a decoupling capacitor on the encoder power pins, right?
    www.signtorch.com

  16. #16
    Join Date
    Apr 2005
    Posts
    11

    Re: Mach3 issue

    Quote Originally Posted by SignTorch View Post
    I would expect electrical problems to vary all over the place and mechanical slippage to be more predictable and constrained like you are describing

    so I wouldn't even suspect or consider or chase electrical problems unless I was 1,000,000% certain that it was not mechanical

    the motor (probably) could not hold position if the encoder signal is failing consistently in one direction

    if the motor holds anywhere near position and doesn't ever fault or run away then that's a strong indicator that the encoder and drive are (probably) working correctly

    the only observable signal difference between going forward and backward is the state of the dir pin - if that's causing a directional problem then it might be a faulty or floating pin but I wouldn't expect that to cause a consistent 1 in 250 error

    you do have a decoupling capacitor on the encoder power pins, right?
    I would expect slipping to be all over the place and not repeatable.
    the mill is a Bridgeport R2E3 and you cannot get to the front of the motor while it is fitted.
    I will pull it off and check that it is tight and has no signs of having slipped.
    I think it is a pulse issue because I can get to do it in both directions by changing the active state in ports and pins.

    also what is a decoupling capacitor ?

    Andrew

  17. #17
    Join Date
    Apr 2004
    Posts
    733

    Re: Mach3 issue

    Does this happen to all three axis servo motors?

    Since you are using a Ethernet Smoothstepper, I can't see it having bad step/direction signal quality unless the board is defective. Seems like you should contact Warp9 to verify the board is working correctly.

  18. #18
    Join Date
    Jan 2011
    Posts
    188

    Re: Mach3 issue

    Quote Originally Posted by Andrew2111111 View Post
    I would expect slipping to be all over the place and not repeatable.
    the mill is a Bridgeport R2E3 and you cannot get to the front of the motor while it is fitted.
    I will pull it off and check that it is tight and has no signs of having slipped.
    I think it is a pulse issue because I can get to do it in both directions by changing the active state in ports and pins.

    also what is a decoupling capacitor ?

    Andrew
    in a move and return motion it could slip 1 unit during the reversal - it would not necessarily be slipping all over the place in a single move with one reversal -

    I don't know how much screw revolution we're talking about to be off by one unit - if it's more than a full turn then yes the slippage would be more random - if it's only a few degrees then a loose set screw on a flat for example can slip a certain amount every time it reverses - I can imagine several causes of small consistent slippage during reversals - including ordinary backlash - I don't know specifically about the Bridgeport design - I could be way off

    if changing active state means changing the direction of the initial move might that explain how slippage could be reversed

    if you go to x 250 then to x 240 and it's off by 1 then all of the position loss occurred near the reversal and it must be slippage

    if you go to x 250 then to x 125 and you lose 1/2 unit - that would mean the error is accumulating evenly and it must be a pulse issue - and it sounds like it might be happening when dir is in one certain state

    sorry - I can't get past thinking it could be slippage

    a decoupling capacitor is a very small capacitor on the encoder power pins to filter out tiny power spikes that might cause the encoder signals to flutter which can cause erratic position errors
    www.signtorch.com

  19. #19
    Join Date
    Apr 2005
    Posts
    11

    Re: Mach3 issue

    i did pull the cover on the lead screw back and mark the nut and lock nut which is all i can see without pulling the motor off and they did not move that i could see.
    i will have to see if i can get a decoupling capacitor localy.
    at the moment i am trying settings in the ess as per info i fond on warp9.
    i am running a test program that pauses at each end that way i am removing the change of direction.

  20. #20
    Join Date
    Apr 2005
    Posts
    11

    Re: Mach3 issue

    I have not tried the other servos yet.
    I had been using the mill and noticed that it was out in x axis.

Page 1 of 2 12

Similar Threads

  1. Mach3 to run G540 issue
    By coffcar in forum Gecko Drives
    Replies: 8
    Last Post: 04-11-2015, 06:37 AM
  2. Mach3 G28.1 issue...
    By davek0974 in forum Mach Software (ArtSoft software)
    Replies: 8
    Last Post: 04-14-2014, 06:44 PM
  3. Mach3/DB25/BoB issue....?
    By gearsoup in forum CNC Machine Related Electronics
    Replies: 8
    Last Post: 10-17-2011, 01:44 AM
  4. Mach3 Backlash Issue
    By strohkirchw in forum Taig Mills / Lathes
    Replies: 5
    Last Post: 12-08-2010, 09:35 PM
  5. Mach3 offset issue
    By u77171 in forum Machines running Mach Software
    Replies: 4
    Last Post: 12-18-2009, 06:50 PM

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
  •