Programming stepper motors to move until limit switches

What sort of issues?

What does adding a delay accomplish?

How are they wired?