11
General Mach Discussion / Re: Home switches
« on: March 23, 2008, 04:56:12 AM »
@wil tower,
Take your multimeter and confirm that all switches are connected in Normally Closed position. The most limit switches have 3 connections, one common, 1 normally open and one normally closed. so confirm you have used the right pins on the limit switch. When you have connected the 3 limit switches in series check again on the 2 wires at the ends if they are normally closed. If you are sure about that connect everything to the parallel port.
In mach config/ports and pins you have to configure this:
Lets assume that your limit switches are mounted in the most positive side of each axis.....
x++....enabled..... port1......pin12.....active low(red cross).....emulated(red cross)
XHome...enabled...port1....pin12....active low(redcross)...emulated(redcross)
X--...enabled...port1...Pin12(doesnt matter what you put in here).....activelow(redcross..also doesnt matter)....emulated(GREEN CHECK)
The configuration as shown above you are using 1 switch for each axis, the switch is used for both homing and X++. the X-- switch is emulated, this way you can configure mach with software limits so you dont have to use 3 other switches for the lowest limit.
In the configuration shown above you have the option to wire a external e-stop button through to the limit switches.
If you use normally open switches you would have to need 3 inputs instead of one. most commenli used system in limit switches is the normally closed system.
If you are using a Breakout board with resistors on each input and with a voltage on one of the input pins you can hook up the stuff directly. If you want to connect it DIRECTLY to the parallel port try using 5V from your USB, hook up the Minus from the usb to gnd, connect the plus from the usb to first wire of your limit switches, the second wire of your limit switches to pin 12 through a 10Kohm resistor.
Good luck!
Take your multimeter and confirm that all switches are connected in Normally Closed position. The most limit switches have 3 connections, one common, 1 normally open and one normally closed. so confirm you have used the right pins on the limit switch. When you have connected the 3 limit switches in series check again on the 2 wires at the ends if they are normally closed. If you are sure about that connect everything to the parallel port.
In mach config/ports and pins you have to configure this:
Lets assume that your limit switches are mounted in the most positive side of each axis.....
x++....enabled..... port1......pin12.....active low(red cross).....emulated(red cross)
XHome...enabled...port1....pin12....active low(redcross)...emulated(redcross)
X--...enabled...port1...Pin12(doesnt matter what you put in here).....activelow(redcross..also doesnt matter)....emulated(GREEN CHECK)
The configuration as shown above you are using 1 switch for each axis, the switch is used for both homing and X++. the X-- switch is emulated, this way you can configure mach with software limits so you dont have to use 3 other switches for the lowest limit.
In the configuration shown above you have the option to wire a external e-stop button through to the limit switches.
If you use normally open switches you would have to need 3 inputs instead of one. most commenli used system in limit switches is the normally closed system.
If you are using a Breakout board with resistors on each input and with a voltage on one of the input pins you can hook up the stuff directly. If you want to connect it DIRECTLY to the parallel port try using 5V from your USB, hook up the Minus from the usb to gnd, connect the plus from the usb to first wire of your limit switches, the second wire of your limit switches to pin 12 through a 10Kohm resistor.
Good luck!