pwheeler:
Actually this instance the delay works for me because I don't want anything else going on for the set time period. I set it at 10 seconds for testing purposes. In actual implementation the delay will be extended to 30 seconds, which is more than ample time. I need to keep the drive off, and the changes coming in from the control will be less frequent than that. My issue is it will not run after homing when I have an analog input.
That is not surprising. Because of your 10 second delay() these lines
if (TravelA >= 0 && TravelA <= 146000) {
stepperX.run(); // Move Stepper into position
}
can only be called once every 10 seconds. The function stepperX.run() needs to be called many times per second.
I tried using the milli() as suggested to see if it would change anything but ended up with the same results.
I can't comment on that because you have not posted the program in which you tried it.
...R