585,898 active members*
4,612 visitors online*
Register for free
Login
Results 1 to 8 of 8
  1. #1
    Join Date
    Sep 2011
    Posts
    32

    Referencing axes

    Hi,

    I have built a 3 axis stepper motor router running Mach3 R3.043.022 and 2010 Screenset and so far, everything works great.

    I have just finished setting up a NC physical home switch close to the +ve limit of each axis (there were physical reasons why I had to use the +ve end of the X and Y axes). The home switches are wired to pins 11, 12 and 13 respectively and this is set up in Ports and Pins as Active Low. When the axes are in the middle of the the stroke (ie, well clear of the switches) the diagnostic window in 2010 Screenset show a blank box beside the X Home, Y Home and Z Home input signals. If I trigger each switch manually, the respective box turns green - so I think all my inputs are working. I have Mach3 set up to home in the positive direction and auto zero turned off (although, turning it on does not seem to help).

    When I select the Ref X, Y or Z buttons at the top of the screen, the respective axis moves a short distance in the positive direction, then stops well before it reaches the switch and the axis button turns green, suggesting it thinks it has homed successfully.

    I have the soft limits set to very large (and small) numbers so it doesn't think it is out of limits.

    Any suggestions?

    Thanks!

    Dave.

  2. #2
    Join Date
    Sep 2012
    Posts
    1543
    Interference?

  3. #3
    Join Date
    Sep 2011
    Posts
    32
    Quote Originally Posted by BAMCNC.COM View Post
    Interference?
    I don't think so. I am using physical switches, not proxies, everything is shielded and earthed, and the lights on the diagnostic page are rock stable both on and off.

  4. #4
    Join Date
    Mar 2003
    Posts
    35538
    Noise is triggering your switches.
    As a quick test to be sure, increase the debounce on the General Config page to about 20,000 and see if it works. If it does, then noise is your problem.

    Also, there's a bug in 3.43.022 that will cause Mach3 to lock up if you use my M6 macros.
    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
    Sep 2011
    Posts
    32
    Quote Originally Posted by ger21 View Post
    Noise is triggering your switches.
    As a quick test to be sure, increase the debounce on the General Config page to about 20,000 and see if it works. If it does, then noise is your problem.

    Also, there's a bug in 3.43.022 that will cause Mach3 to lock up if you use my M6 macros.
    Ok, thanks Gerry.

    I just smoked my z-axis motor, and by the smell of it, at least part of my controller, so it is going to be a while until I can test this.

    Dave.

  6. #6
    Join Date
    Sep 2011
    Posts
    32
    My apologies BAMCNC and thanks again Gerry. I set the debounce to 20,000 and it fixed the problem, so I guess you were both correct in suggesting it was noise. I'll be buggered!

    I dropped the debounce until I started having problems again, around 250, and then doubled it to 500 and everything seems to be working well. Thanks again both of you.

    Dave.

  7. #7
    Join Date
    Mar 2003
    Posts
    35538
    A lot of people add capacitors to the input pins to filter out the noise, but if a debounce of 500 works, that's not too bad. A lot of people need to use 2000-3000.
    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)

  8. #8
    Join Date
    Jun 2007
    Posts
    3757
    A 100n (0.1) capacitor across a switch is a good idea. This causes a momentary hig current through the contact and helps keep it clean.
    Unless you have very low current rated switches, often with gold cross points, they will eventually give problems.
    Super X3. 3600rpm. Sheridan 6"x24" Lathe + more. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.

Similar Threads

  1. Issue with referencing the 770
    By concombrefrais in forum Tormach Personal CNC Mill
    Replies: 7
    Last Post: 08-17-2011, 05:09 PM
  2. Deckel FP4 NC 4th axis not referencing HELP!!
    By vsengineering in forum Deckel, Maho, Aciera, Abene Mills
    Replies: 4
    Last Post: 08-04-2010, 04:21 AM
  3. 'Z' Referencing with Plasma THC
    By Normsthename in forum BobCad-Cam
    Replies: 5
    Last Post: 09-01-2009, 09:57 PM
  4. Zero Referencing
    By br1 in forum Mach Mill
    Replies: 0
    Last Post: 03-05-2009, 01:17 AM
  5. Re-referencing a machine with APC
    By sinha_nsit in forum Fanuc
    Replies: 2
    Last Post: 10-08-2008, 06:21 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
  •