Ok so I am confused, what is the form of signal that is send from Mach3 for the steps??
Does mach3 sends HIGH signal to the LPT pin (ex pin2) for every single step?
I want to use PIC to make driver board now I don't understand should I wait in the main loop for pin HIGH and when that happens I make 1 step?
This doesn't make sense to me.
CNC, Mechatronics Integration and Custom Machine Design (Skype Avail).
“Logic will get you from A to B. Imagination will take you everywhere.”
Very nice website, thank you.
Last edited by DigiSoft; 02-21-2012 at 02:40 PM.
Mach 3 can send the step pulse active high or active low. You set that up in the configuration of the LPT port.
Also note that some LPT ports give a lower output of say 3V pulse while others may give a 5V pulse. Then you have the rise/fall time of the LPT output pulse. Some LPT ports don't provide much current drive so you need to be sure that your circuit doesn't load down the LPT outputs.
An oscilloscope will be a good instrument to check what you actually get out of the LPT port for STEP/DIR pulses for your computer.