I want one motor to work in reverse.
as i know reverse mode is that pins.
(i tested on my board what pins are this on arduino and it is . pin 2 and pin 5)
when i am shorting these pins. The motor reversed but it`s working in only one direction .
But what is needed is a link to the board and its data sheet.
And since you have one motor running, could you please post the code in code-tags, per forum guidelines?
Typically, a stepper motor speed and direction are controlled in software.
If you want to use those 8 pins for something other than Step and Direction pins, this is a good place to connect to them. Just leave out the stepper driver for that axis (for example 'A') and connect wires to those two pins that now don't go to any hardware.