MIDI to Stepper motors

when I try to send the first midi message, the MOTOR 1 start to move slowly in one direction and never stops.

Have you tried sending a note off message, that is the same as note on but with a zero velocity?