I have a 3 axis router operated by G540 and mach3, I'd like to add limit and home switches (1 switch) for each axis, can someone give me a clue how to connect them ? (I want to connect a mechnical switch not opto)
I'm asking about electrical connections , and i'm going to use a simple N.C microswitch
this manual should show you exactly how to wire it up.
Let me know if that doesn't answer your questions and I'll do what I can to help.
Last edited by Quazar; 01-16-2010 at 04:33 PM. Reason: link
Tnx a lot
this will help, after I'll connect the switches, should i change something in the Mach3 program?
for example in the "ports and pins " etc?
I'd like to the switches to be Limit and Home switches.
G540 product page, there is a link for "G540 XML File" which is a Mach3 setup file for the G540. I'm not sure how if configures the limit switches, but it should do most of the heavy lifting for you.
I'm personally an EMC2 user, so I can't give any specific advice on configuring Mach3.
Just use the NC type switch. Run all the commons to the neg on the PS. Run the pin out from the G540 to each of the switches. Note the PIN out # for each of the ports. Each port on the BOB on the G540 corresponds to a particular pin on the parallel port.
Enter the Pins and Ports conf in Mach 3 and enter the correct PIN assignment for each of the switches. Confirm that you have them hooked up correctly in the diagnosis page in Mach3. Clicking the switch should show the corresponding light. If they are on now you have either wired them to the normally open or you need to reset the low or high pin setting in the pins and ports.
Now that you have confirmed this you can setup the limits. You can use the same switches as limits using the same pins. Normally the home and max “—“ limit switch will be on one end and you will need to add one more in line for the max “++” limit.
I personally do not use the switches to limit and stick with hard stops and software limits.
thanks for your time
Wire all the switches in series to one of the inputs on the G540. In Mach3 ports and pins put each of the home switch pin to the same value (for the pin you've chosen on your G540).
Having got this far, I urge you to watch the tutorial video on homing and limits in Mach3. It explains everything much better than I could.
Last edited by ghostlx; 07-17-2010 at 06:29 PM.
I see you've found the video tutorials.
But for the benefit of other readers of this thread, go to http://www.machsupport.com/videos/ and you'll get a list. I've watched some of them several times - the basic set-up is well explained, and they're very thorough.