New Arduino User trying to hook up Arduino Uno to a DM542 2H microstep driver

Hi Everyone!

I'm trying to hook up my Arduino Uno to the DM542 and unfortunately i'm complete confused as to how to do this properly. After looking at the schematics I have set up a NEMA 23 6 wire stepper motor into a Bipolar wiring and connected it to the DM542.

Below is the link for the DM542:
http://www.act-motor.com/product/en_dm542.html

I am currently stuck at this point. I'm not sure as to how I should set up the wiring for the PUL,DIR,ENBL (+5,-5) wiring to the breadboard then to the Arduino Uno.

I have been looking at some of the codes for running the motor however I can not figure out which pin corresponds to which wire.

Please assist!

The inputs are opto-isolated so you treat them as a 5V LED: Connect all the - sides to Ground and connect the + side to pins of your choice.

The Enable pin turns the driver on and off. When the drier is off you can turn the motor manually.

The Direction pin determines which direction the motor will step. HIGH is one direction. LOW is the other.

The Pulse pin will make the motor move one step when you raise and lower it.