First off. I will apologize for my total ignorance on the subject, i am in way over my head. 
What i am doing. I have a small CNC machine from the 90's i am attempting to control from the LPT port of my laptop running WIN XP.
Everything thus far is working, but i am down to my last nit picky item. Which has me stumped.
Once the computer is booted into anything, everything is fine. If it is booted into windows, you are good to go. Everything works as it should.
If you hit F2 during startup, and boot into the BIOS screen, once again. Everything is good.
However, the issue arises while the computer is booting up, before and during the post screen, when the windows loading screen pops up everything goes normal, and then briefly between the windows load screen and the desktop popping up the machine axes "blip"
What it boils down to, is all the LPT port pins go HIGH during certain times of boot up etc. For all the steppers, this isn't a big deal. Everything moves one step. However, the machine spindle during this time turns itself on. And thats pretty scary.
What i have tried to do.
i built a simple single channel opto isolator circuit to turn the machine spindle on and off.
At first test, when you booted into windows but didn't have the mach3 cnc program open. all the LPT pins would go HIGH, and the spindle would run uncontrolled. Once you opened the software it took control of the LPT port and the spindle stopped.
Using PARMON i noticed pin 17 is the only output pin that stays low once windows boots. So using that pin to drive my opto isolator circuit everything works in windows as it should. When the laptop is booted into windows, the cnc machine sits idle. Once i go into the software i can turn the spindle on and off as i want by toggling pin 17 high to low.
I cannot find a way to make pin stay low during those mentioned boot up times.
For example. With the CNC powered on, and the laptop powered off.
I push the power button on the laptop, the spindle on the CNC machine starts running.
The spindle continues running through the bios screens.
Window loading screen with the progress bar pops up, spindle stops. Once this screen disappears and the desktop is loading the spindle will briefly run again.
I have tried pull down resistors of every value i have on pin 17 to try and force it low during start up. If i use a low enough resistance to cure the start up problem, their isn't enough left to trigger the opto isolator when i command the port to go high.
for pull downs i have tried 1k {pulls to low, computer cannot command high} 2k2 {computer can command high and low, however spindle still runs during boot} I started with 1m ohm pulldown and worked my way down.
I feel like the computer is commanding pin 17 to go high during these boot times. Maybe in the bios somewhere? I feel no amount of tinkering with my simple circuit will make it work . But maybe i am missing something here.
Is there some way to edit whatever is forcing pin 17 to go high during these "black screen" times during computer booting?
I HATE the idea of the windows computer crashing or locking up, and the result is the cnc machine turns itself ON.
Help!? lol
Thanks!
{did any of this make sense?}
What i am doing. I have a small CNC machine from the 90's i am attempting to control from the LPT port of my laptop running WIN XP.
Everything thus far is working, but i am down to my last nit picky item. Which has me stumped.
Once the computer is booted into anything, everything is fine. If it is booted into windows, you are good to go. Everything works as it should.
If you hit F2 during startup, and boot into the BIOS screen, once again. Everything is good.
However, the issue arises while the computer is booting up, before and during the post screen, when the windows loading screen pops up everything goes normal, and then briefly between the windows load screen and the desktop popping up the machine axes "blip"
What it boils down to, is all the LPT port pins go HIGH during certain times of boot up etc. For all the steppers, this isn't a big deal. Everything moves one step. However, the machine spindle during this time turns itself on. And thats pretty scary.
What i have tried to do.
i built a simple single channel opto isolator circuit to turn the machine spindle on and off.
At first test, when you booted into windows but didn't have the mach3 cnc program open. all the LPT pins would go HIGH, and the spindle would run uncontrolled. Once you opened the software it took control of the LPT port and the spindle stopped.
Using PARMON i noticed pin 17 is the only output pin that stays low once windows boots. So using that pin to drive my opto isolator circuit everything works in windows as it should. When the laptop is booted into windows, the cnc machine sits idle. Once i go into the software i can turn the spindle on and off as i want by toggling pin 17 high to low.
I cannot find a way to make pin stay low during those mentioned boot up times.
For example. With the CNC powered on, and the laptop powered off.
I push the power button on the laptop, the spindle on the CNC machine starts running.
The spindle continues running through the bios screens.
Window loading screen with the progress bar pops up, spindle stops. Once this screen disappears and the desktop is loading the spindle will briefly run again.
I have tried pull down resistors of every value i have on pin 17 to try and force it low during start up. If i use a low enough resistance to cure the start up problem, their isn't enough left to trigger the opto isolator when i command the port to go high.
for pull downs i have tried 1k {pulls to low, computer cannot command high} 2k2 {computer can command high and low, however spindle still runs during boot} I started with 1m ohm pulldown and worked my way down.
I feel like the computer is commanding pin 17 to go high during these boot times. Maybe in the bios somewhere? I feel no amount of tinkering with my simple circuit will make it work . But maybe i am missing something here.
Is there some way to edit whatever is forcing pin 17 to go high during these "black screen" times during computer booting?
I HATE the idea of the windows computer crashing or locking up, and the result is the cnc machine turns itself ON.
Help!? lol
Thanks!
{did any of this make sense?}