586,094 active members*
4,137 visitors online*
Register for free
Login
Results 1 to 9 of 9
  1. #1
    Join Date
    Dec 2007
    Posts
    2

    Limit switch Error

    Hi there.

    I just finished my first cnc mill. I run it an emc2 and ubuntu. The hardware is a 3axis set bought from Probotix. The problem I have is that I keep getting a limit switch error while running the cut. It seems to be random times and axis. I never come close to hitting any switches. Any ideas on what could be wrong.

  2. #2
    Join Date
    May 2006
    Posts
    138
    There's either a lot of vibration causing chatter or a lot of noise in the line. Try using a shielded cable to run the limit switch.

  3. #3
    Join Date
    Jul 2007
    Posts
    165
    Yes you either have a loose connection somewhere (assuming switch is normally closed) or you have noise in the system.

    I had big problems with this. All my electrical lines are close together, so just activating the steppers was enough to trip the swithces, due to the electrical noise going into the parallel port. I know shielding can help in theory, but this didn't work for me.

    I connected everything to the parallel port via opto-isolators in the end, which completely fixed the problem. There are probably other solutions too, but this one was relatively inexpensive and did the job for me.

    Good luck - R

  4. #4
    Join Date
    Mar 2004
    Posts
    1543
    If you want top shelf, move up to Opto isolation. This would be easy with used parts off eBay. Get opto22 input modules that use 5V logic and a board to mount them. Hook your computer inputs to the computer side of this board. Use a higher voltage on the other side of the opto inputs. 24 Volt DC is most common.

    Karl

  5. #5
    Join Date
    Dec 2007
    Posts
    2

    Limit switch error

    Thanks I`ll try isolating the wiring first.

  6. #6
    Join Date
    Aug 2005
    Posts
    578
    Hook your computer inputs to the computer side of this board. Use a higher voltage on the other side of the opto inputs. 24 Volt DC is most common.
    Karl
    Take it a little easy on the newbies..... Could you give a diagram and maybe some part numbers for comparison as an example of your hookup. Most new machine builders dont know what a opto isolated anything is.

    Bob

  7. #7
    Join Date
    Feb 2007
    Posts
    1084
    Wire your limit switches normally closed if you can, problem solved. Worked for me.

  8. #8
    Join Date
    Dec 2006
    Posts
    947
    Are you cutting wood or metal? I have some good cable but it's bunched together, but it's shielded. When I cut wood no problem, when I cut aluminum I have to turn the limits off because, I suspect, of noise.

  9. #9
    Join Date
    May 2006
    Posts
    138
    Are you cutting wood or metal? I have some good cable but it's bunched together, but it's shielded. When I cut wood no problem, when I cut aluminum I have to turn the limits off because, I suspect, of noise.
    Sounds more like a vibration issue. Wiring your switches normally open will fix chatter issues (unless you're getting some really bad vibes), and wiring your switches normally closed will help with noise issues (but might not completely fix them).

Similar Threads

  1. Is it possible to use the home switch as the limit switch as well?
    By Darc in forum Mach Software (ArtSoft software)
    Replies: 4
    Last Post: 11-02-2012, 06:25 PM
  2. limit switch- home switch
    By normd in forum CamSoft Products
    Replies: 1
    Last Post: 05-17-2008, 12:56 AM
  3. limit switch and home switch setup
    By Runner4404spd in forum CNC Machine Related Electronics
    Replies: 0
    Last Post: 12-15-2005, 02:58 PM
  4. Limit Switch / Home Switch in Software
    By Sanghera in forum CNC Machine Related Electronics
    Replies: 6
    Last Post: 11-02-2004, 12:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •