Results 1 to 12 of 12

Thread: Limit switch ???

  1. #1
    Registered
    Join Date
    Jun 2003
    Posts
    2099
    Downloads
    0
    Uploads
    0

    Default Limit switch ???

    I have a limit switch that persistently trips during a program and requires me to stop the program, re-reference etc. I need some help in trouble shooting this thing. Following info might help:

    Mach for the controller

    Micro switches for the limits and home combined. A total of three dual purpose switches.

    Mach does not indicate which switch is tripping.

    Switch wires are shielded and grounded with the only bare area just before the screw terminals.

    X and Y switchs are mounted upside down with the plunger hanging down.

    Z switch is mounted with the plunger horziontal.

    Wired for nc.

    Due to Mach allowing it, Z and Y are using the same pins but when referencing the axis reference at different times.

    Limit are set so any switch will Estop the machine.


    Any help would be appreciated. I am at a loss and this is costing me precious time.

    Mike



    General Purpose Snap Action Switch, Actuator Roller Plunger, Panel Mount, Maximum Operating Force 8.8 to 12.3 Ounces, Maximum Pre Travel 0.016 Inch

    Similar Threads:
    No greater love can a man have than this, that he give his life for a friend.


  2. #2
    Registered
    Join Date
    Dec 2003
    Location
    UK
    Posts
    218
    Downloads
    0
    Uploads
    0

    Default

    Not wanting to hijack your thread or anything but I have a mach/limit question which you might be able to advise me on....

    Is it possible to use a single input for both x+ x- and x home ?

    Dom
    http://www.ukrobotics.com/projects


  3. #3
    Registered pminmo's Avatar
    Join Date
    Jun 2003
    Location
    St. Peters, Mo USA
    Posts
    3309
    Downloads
    0
    Uploads
    0

    Default

    A couple of points. How much current do you have flowing throught the limit switches? S/B 5ma or more. Do you have a value in mach for debounce?

    Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
    Vist my websites - http://pminmo.com & http://millpcbs.com


  4. #4
    Registered
    Join Date
    Jun 2003
    Posts
    2099
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by UKRobotics View Post
    Not wanting to hijack your thread or anything but I have a mach/limit question which you might be able to advise me on....

    Is it possible to use a single input for both x+ x- and x home ?

    Uk I am not concerned with thread content if someone needs help!

    How well do I know the feeling of needing help.

    With Mach software you can use both the +- on one switch and in fact I have my y +- and my z+ all on the same input.

    Mike

    No greater love can a man have than this, that he give his life for a friend.


  5. #5
    Registered
    Join Date
    Jun 2003
    Posts
    2099
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by pminmo View Post
    A couple of points. How much current do you have flowing throught the limit switches? S/B 5ma or more. Do you have a value in mach for debounce?
    Hi Phil,

    I had 5vdc running through the switches with a 2000 debounce set it Mach.

    I posted this over on both the Mach forums and Mariss had mentioned using a .1uf cap across the switch in an earlier thread and someone brought that to my attention. So......I installed the caps and haven't had an interrupt since, including when I should have!

    I have the money coming tomorrow to buy top notch switches and will be replacing them as quickly as possible.

    Mike

    No greater love can a man have than this, that he give his life for a friend.


  6. #6
    Registered pminmo's Avatar
    Join Date
    Jun 2003
    Location
    St. Peters, Mo USA
    Posts
    3309
    Downloads
    0
    Uploads
    0

    Default

    I was going to suggest a cap, but if you didn't have any debounce set, that would be the first option. Regarding 5V on the switches, there is a resistor some where in the circuit to limit current. It needs to be 1K or less.

    Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
    Vist my websites - http://pminmo.com & http://millpcbs.com


  7. #7
    Registered
    Join Date
    May 2006
    Location
    saskatoon
    Posts
    14
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by turmite View Post
    I have a limit switch that persistently trips during a program and requires me to stop the program, re-reference etc. I need some help in trouble shooting this thing. Following info might help:

    Mach for the controller

    Micro switches for the limits and home combined. A total of three dual purpose switches.

    Mach does not indicate which switch is tripping.

    Switch wires are shielded and grounded with the only bare area just before the screw terminals.

    X and Y switchs are mounted upside down with the plunger hanging down.

    Z switch is mounted with the plunger horziontal.

    Wired for nc.

    Due to Mach allowing it, Z and Y are using the same pins but when referencing the axis reference at different times.

    Limit are set so any switch will Estop the machine.


    Any help would be appreciated. I am at a loss and this is costing me precious time.

    Mike



    General Purpose Snap Action Switch, Actuator Roller Plunger, Panel Mount, Maximum Operating Force 8.8 to 12.3 Ounces, Maximum Pre Travel 0.016 Inch
    I just changed my drivers to full step and moved my speed up 50%. Now miine is doing the same almost like when it should loose a step it trips the limits .Running steppers? I change the speed back it runs a full program.



  8. #8
    Registered
    Join Date
    Jun 2003
    Posts
    2099
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by pminmo View Post
    I was going to suggest a cap, but if you didn't have any debounce set, that would be the first option. Regarding 5V on the switches, there is a resistor some where in the circuit to limit current. It needs to be 1K or less.
    Yep Phil I got the 1k resistor in too. I plan on installing either optical, inductive or capacitive. I have to get some advice first. The optical worries me a little due to this being a wood and foam machine that does create a lot of dust and very floaty shavings with the foam.

    Any advice?

    Mike

    No greater love can a man have than this, that he give his life for a friend.


  9. #9
    Registered
    Join Date
    Jun 2003
    Posts
    2099
    Downloads
    0
    Uploads
    0

    Default

    Hi something2do,

    yep I'm running steppers. Running at X10 micro steps. After installing the capicators I can't get the thing to trip other than touching a switch! Right now my switches are not repeatable enought for me. Back when I used full step I could literally touch off the home switches and go anywhere on my 5ft by 9ft table and many times and I wanted to repeat the process and it would always be the same. Since I have gone with Mach and Gecko using the micro steps I can't do that. Then on the other hand I had to change my switches too and I'm sure that is what the problem is.

    Mike

    No greater love can a man have than this, that he give his life for a friend.


  10. #10
    Registered pminmo's Avatar
    Join Date
    Jun 2003
    Location
    St. Peters, Mo USA
    Posts
    3309
    Downloads
    0
    Uploads
    0

    Default

    What size cap did you use? Do you have a drawing of how your switches are wired, resistor, LPT ?

    Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
    Vist my websites - http://pminmo.com & http://millpcbs.com


  11. #11
    Registered
    Join Date
    Jun 2003
    Posts
    2099
    Downloads
    0
    Uploads
    0

    Default

    Phil no drawings. The caps were .1uf 50 or .50 something or other. I have the extras at the shop and don't have access to them at the moment.

    Mike
    ps the caps were the only .1uf that Radio Shack had in stock.

    No greater love can a man have than this, that he give his life for a friend.


  12. #12
    Registered pminmo's Avatar
    Join Date
    Jun 2003
    Location
    St. Peters, Mo USA
    Posts
    3309
    Downloads
    0
    Uploads
    0

    Default

    With the caps installed you may want to really reduce the debounce time in mach. With a 1K resistor and a .1uf you should be less than a couple of hundred us respose to an open switch. I wouldn't think that would give you such bad results with a switch opening.

    Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
    Vist my websites - http://pminmo.com & http://millpcbs.com


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
  •  


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