Wire Stepper Motors to DIV268 Drivers

Connecting Stepper Motors to the DIV268N-5A Drivers.

The stepper motor is one of the core devices in your CNC project and is the driving force behind all linear movement. Your kit will contain between 3 and 5  Stepper Motors depending on the kit. The Stepper Motors will need to be coupled to a Driver that provides the physical electrical current to make them move. Your kit will also contain between 3 and 5  DIV268N-5A Stepper Drivers depending on the kit. These instructions will cover how to connect your Stepper Motors to the DIV268N-5A Stepper Drivers.


AC Mains Power can kill or seriously injure

DO NOT plug in your equipment while you are working on it

Never make changes to your Driver’s jumper switches while it is powered up as it may permanently damage it

Do not leave drives powered on for any longer than 60 seconds, the DIV268 drive is “auto enabled” which means it is on and sending full current to the motor which will heat up quickly and damage both the motor and driver. Remember to turn it off when you are finished. Turning your machine on and homing it will rectify this situation.

Parts Required

Supplied Parts

1 (to 5) x Mounted and Wired DIV268N-5A Driver(s)

1 (to 5) x Mounted Stepper Motors

2 x 12 terminal rail connectors (optional)

1 x Ancillary Wiring set (optional)

6 x Appropriate M3 screws for the material your motor mount is made of and to pass through 5mm of rail terminal.


Parts to be sourced

Qty x Sufficient 4 core wire suitable for your power supplies votage (24v, 36v, 48v DC) at a load of 5 amp to run from your electronics enclosure to all stepper motors. It is not recommended that you use 6 core (or more) cable with the intention of using the additional wires to run limit or home switches or other sensors. This is not recommended as the higher current from the stepper motor wires may cause noise in the limit circuit generating false limit/home triggers. It is fine to run additional core wiring for the purpose of powering pumps, fans, lighting, etc..   

1 (to 5) x Wire hold downs or clips to hold the 4 core wire in place at the enclosure end of the cable.

Recommended tools

Wire stripper

Wire cutter

Crimping tool

Philips head screwdriver

Flat head screwdriver (small)

Soldering iron (optional)

Craft knife

Parts Overview

DIV268N-5A Driver

  1. Terminal 1 DC+ In
  2. Terminal 2 DC- In
  3. Terminal 3 Stepper Motor B- Out
  4. Terminal 4 Stepper Motor B+ Out
  5. Terminal 5 Stepper Motor A- Out
  6. Terminal 6 Stepper Motor A+ Out
  7. Terminal 7 Enable Signal DC+ in
  8. Terminal 8 Enable Signal DC- in
  9. Terminal 9 Pulse (Step) Signal DC+ in
  10. Terminal 10 Pulse (step) Signal DC- in
  11. Terminal 11 Direction Signal DC+ in
  12. Terminal 12 Direction Signal DC- in
  13. Dip Switch Block for current and resolutionSW1 Current Setting
    SW2 Current Setting
    SW3 Current Setting
    SW4 Resolution Setting
    SW5 Resolution Setting
    SW6 Resolution Setting
  14. Power LED
  15. Activity/Error LED
  16. Mounting Plate
  17. Mounting Points
  18. Electronics cover
  19. Heat sink

Stepper Motor

  1. M5 Mounting points
  2. Mounting flange
  3. Mounting plate
  4. Output shaft
  5. Wiring loom
  6. Front bearing
  7. Coil housing
  8. Rear plate/cover
  9. Rear bearing

Stepper motor wire colour codes

Depending on the version of your kit you will have either the 19.5kg,  21Kg, 28.5kg or 30kg NEMA23 motors.
They can be told apart by the colouring of the wires or their physical size:

30.0kg Stepper Motor wire coding

Black wire       A+

Green wire      A-

Red wire         B+

Blue wire         B-

28.5kg Stepper Motor wire coding

Black wire       A+

Green wire      A-

Red wire         B+

Blue wire         B-

21kg Stepper Motor wire coding

Red wire         A+

Green wire      A-

Yellow wire     B+

Blue wire         B-

19kg Stepper Motor wire coding

Black wire       A+

Green wire      A-

Red wire         B+

Blue wire         B-

Required/Recommend Steps Before these instructions

Mounting Stepper motors

Connecting DIV268N Drivers to Power Supply

Assembly/Installation process

These instructions will cover wiring the DIV268N-5A Stepper Driver to the Stepper Motors. Positions of parts and lengths of wires  used are for instruction only and may vary from your actual setup and you will have to interpret/vary these instructions to meet your own needs. All parts and wiring from previous instructions have been omitted in an effort not to over complicate the images.

Setting Jumper Switches on DIV268N-5A

Prior to wiring your stepper motors you’ll need to set the DIV268N-5A driver to the correct current settings for your Stepper Motor and the desired step angle subdivision. These settings are controlled by the 6 dipswitches on each driver (item 13 in the driver overview).

The table below shows two sets of information, the first set is the switch settings to control output electrical current/amperage, and, the second controls the subdivision of steps (resolution). Please note the table printed on the driver or the information in the documentation on the CD from the manufacturer can be icorrect for older versions of this driver.


                                    (The table above was correct as at 20/10/14)

If you are not using stepper motors provided by Hobby CNC Australia you’ll need to contact your supply and find out what is the correct current setting for your stepper motors. All motors supplied by Hobby CNC Australia are 3 amp. Using the table above and looking at switches SW1, SW2 and SW3 we can see our motor amperage falls between 2 settings (2.5 and 3.3). We will use the 3.3 amp settings, this will provide 10% more current than is recommended but should not have a noticeable negative affect on the motor. With a small screwdriver flip SW1 up, SW2 down and SW1 up. The down position (towards the heatsink) will be “ON”, the up position is “OFF”. If you do find you motors are becoming hot after continual use please lower the amperage to 2.5 amp.

3.3 Amp

2.5 Amp

The step subdivision changes the amount of steps per revolution the motor will take. All Hobby CNC Australia supplied motors have a 1.8 degree step angle and require 200 steps to make a complete 360 degree revolution. By using the step subdivision you can increase the number of steps per revolution, this has the net effect of increasing the resolution. The 1/2 subdivision will double the steps making the motor take 400 steps per revolution, 1/4 is 800, 1/8 is 1600 and finaly1/16 will take 3200 steps per revolution. A recommended subdivision to start with is 1/2, with a small screwdriver flip SW4 down (on), SW5 up (off) and SW6 down (on). Once you get your machine running you can change the subdivision if you require finer (smaller) movements of your router. (Always have your equipment off when changing switches).

Wiring at the Stepper Motor End

The rail connectors that have been supplied with your kit are 12 terminal, these will need to be halved to give you two 6 terminal units (if you intend to run the limit switches to the same point) or cut into thirds giving you three 4 terminal units if you are only going to wire the stepper motors. These can be used at either end of your cable but in the following examples it will be used at the motor end. You also have the option of not using them and join your stepper motor wires directly to your 4/6 core wire.

Count across 6 terminals (this should be the centre) and cut through the mounting hole with your craft knife. This will divide the rail connector in 2 and give you 2 x 6 terminal rail connectors. Repeat this with second Rail connector, for the installation you will need 3 of these 6 terminal connectors. If you are only connecting steppers, one rail will cut into three 4 terminal units.

Select a position on the axis next to the Stepper motors mount or near the stepper motor appropriate for rail connector to be mounted keeping in mind you will need to access both sides of it. Use the Rail connector as a template and drill appropriate 3mm holes and then screw in the screws you have sourced. The terminal block should be held down firmly.

With a small Philips head screwdriver loosen off the first 4 screws in the terminal block. Run the wires From the
Stepper motor in order (A+ A- B+ B-) to the rail terminal (using the correct order will assist in avoiding confusion
latter on). As in previous steps you can trim the wires at the rail terminal (allowing 10mm extra) and strip back
the shielding 5mm-6mm. Insert the wires in order and tighten the screws in the terminal block.

The next step is to create your cable run from the stepper motor back to your enclosure. Using your 4/6 core cable
strip the protective cover back approximately 30mm and the strip each wire around 5mm – 6mm and give each wire
a twist to bind all of the strands together.

Loosen off the 4 screws on the opposite side of the rail connector that you just attached your stepper motor wires to. Insert the stripped wires of your cable in to the rail terminal. Where possible use a corresponding colour of wire, if this is not possible, note down the colour wire you used to connect to the corresponding wire on the stepper motor (you’ll need to know this when wiring at the DIV268N end). Tighten the screws on the rail connector.

Run your 4/6 core wire back through your machine and to the Stepper Driver in your enclosure.

Wiring at the Stepper Driver End

The cable should run to the front of output pins 3, 4, 5 and 6 on the DIV268N Driver. Using the method explained in previous steps allow approximately 20mm extra cable and cut. Keep the remaining cable for the Y and Z axis runs.

With this end of your 4/6 core cable strip the protective cover back approximately 30mm and the strip each wire around 5mm – 6mm and give each wire a twist to bind all of the strands together.

The next step is to connect the stripped wires to the 4 wire Terminal block on the Stepper Driver. Use a small flat head screwdriver to loosen the 4 screws on terminals 3, 4, 5, and 6 on the DIV268N Driver. As you loosen the screws you might notice the terminals inside are not opening. This is because they are spring loaded, push down with screwdriver and you should see them open.  If your 4/6 core cable did not have corresponding colours please use your notes to make sure the wires are connected correctly. Incorrect wiring can/will damage the DIV268N Driver.
Insert the A+ wire from the Stepper Motor in to terminal 6 (A+) on the DIV268N.
Now insert the A- wire to terminal 5, (A-) on the DIV268N.

The B+ wire to terminal 4 – (B+), and

The last wire, the B- to terminal 3 (B-).

Tighten all the screw.

Add a cable clip where the wire leaves the enclosure, this is an optional step but is recommended to avoid the wire being pulled from its connector through the stresses/forces of the axis moving. 

Wiring Multiple Stepper Motors

Repeat the previous steps to wire the remaining Stepper Motors to the other Stepper Drivers


At this point your kit is not wired sufficiently to test the movement of the Stepper Motors but you can “Pop” test to see that nothing has shorted out. Connect the power supply to power and test the Stepper Motors while not under load. Make sure the Power switch on the Power chassis is in the “Off” position. Insert the power lead into the chassis. Turn off your wall socket and plug the power lead in. Turn on the wall socket and turn on your power switch. The green LED on Power supply should be on and the Power LEDs on each of the DIV268N Drives should be glowing. The Activity/Error LEDs may also be illuminated (on full) this is a normal condition as there are no control signals being received and the drives are interpreting this to be an error. The Stepper Motors should now be powered, when powered you should not be able to turn the motors with your fingers this is the holding torque which is holding the motor in place.

Do not leave drives powered on for any longer than 60 seconds, the DIV268 drive is “auto enabled” which means it is on and sending full current to the motor which will heat up quickly and damage both the motor and driver. Remember to turn it off when you are finished. Turning your machine on and homing it will rectify this situation.

Observe the unit for a minute to make sure nothing is wrong. Turn it off at the switch then the power point and unplug it from the wall. Always unplug your power supply when not in use. After turning off your power supply, please wait at least 60 seconds before turning it back on.

Supplementary Images

Power Supply powered on and power to the DIV268N Drives

Next Step

Connecting JK02 Breakout board to DIV268N Stepper Driver