251
General Mach Discussion / Re: Newbie Needs Help!!!
« on: July 24, 2006, 04:35:33 PM »
Aggie,
The enable loop in Mach is just a switch. It is designed to provide a signal via one of the pins on the DB25 parralell port connector which in turn will either open or close a circuit. Definition Active High = when the swich is closed the enable circuit is active (this is the way a switch and a lightbulb in your house works- turn the switch to the ON position and the light turns on. Active Low = when the switch is open the enable circuit is active- this is the oposite of the previous example- when the switch is in the OFF position, the Lightbulb is lit/On.
Mach is just telling the switch to turn on or turn off- it's up to you to then do with that control circuit whatever it is you need to do to enable your drives.
In MY case I need a 5V signal runing to my Driver board to enable my drives/motors. I have 5V entering a normall open relay and when I click the reset button on Mach, it sends a signal via the parallel port pin to the relay, closes the relay and allows that 5V to go to the Driver board. When the Driver board sees the 5V it will then energize and accept commands from the M3 program and start turning the motors. In YOUR case it sounds like you need a GROUND to enable your drives. Hopefully from this description you can figure out how to do the wiring so by clciking the reset button it will close a switch (relay) which will then pass the ground through to your driver/interface board.
I hope that makes sense- it is hard to talk about wiring with words-
Sid
The enable loop in Mach is just a switch. It is designed to provide a signal via one of the pins on the DB25 parralell port connector which in turn will either open or close a circuit. Definition Active High = when the swich is closed the enable circuit is active (this is the way a switch and a lightbulb in your house works- turn the switch to the ON position and the light turns on. Active Low = when the switch is open the enable circuit is active- this is the oposite of the previous example- when the switch is in the OFF position, the Lightbulb is lit/On.
Mach is just telling the switch to turn on or turn off- it's up to you to then do with that control circuit whatever it is you need to do to enable your drives.
In MY case I need a 5V signal runing to my Driver board to enable my drives/motors. I have 5V entering a normall open relay and when I click the reset button on Mach, it sends a signal via the parallel port pin to the relay, closes the relay and allows that 5V to go to the Driver board. When the Driver board sees the 5V it will then energize and accept commands from the M3 program and start turning the motors. In YOUR case it sounds like you need a GROUND to enable your drives. Hopefully from this description you can figure out how to do the wiring so by clciking the reset button it will close a switch (relay) which will then pass the ground through to your driver/interface board.
I hope that makes sense- it is hard to talk about wiring with words-
Sid