Cycle between High and LOW signal every milliseconds for 6 seconds

These links may help
Stepper Motor Basics
Simple Stepper Code

...R