Robin2:
That information makes things very much clearer. if you are asking a future question be sure to provide that level of info at the start.Things are very simple if the motors do not need to stop at the same time.
Thank you very much and, i will not redo this mistake.
Last question :
I want to know how to set Vref of my motor (17HS4401) that have 1.7A as rated current , as shown in the table

I have DRV8825 driver
1-Method
1.7A / 2 = 0.85v (vref)
2-Method
The motor use the full step mode so the current will be 0.7 times (70%) the current limit :
current limit = 1.7A / 0.7 = 2.43A
Vref = current limite / 2 ==> 2.43/2 2.43 = 1.21V
3-Method
vref = Inom * 5 * Rsense *0.7 so Vref = 1.7 * 5 * 0.1 * 0.7 = 0.6V
what do you think?