Hi MarunovV,
Use Google to see if you can find a manual that matches your drives.
Then connect the Step/Dir outputs from JP5 to the drive. Probably to the + inputs. Then connect the - inputs to a KFLOP GND. Select TTL output mode to source current to the Drive's input (OutputChan0=12).
HTH
Regards
TK