Ditto.
BTW, there is no need for this procedure (limit switch than back to predetermined position).
If stepper motor is de-energised from full step mode, it will stay there (if not moved by external force).
Your software just have to remember the last position (phase) it was in before power down. and it has to restore it before moving to a new position.
|