Complete beginner trying to make my stepper motor work......power troubles

bellows:
if there is a way to make it just keep going back and forward on a loop till it is disconnected from power

I basically want to plug it in and leave it going up and down till i unplug it again . Is this possible ?

Yes that is doable. Just get the code to keep issuing step pulses at the required interval.

...R