Page 1 of 2 12 LastLast
  1. #1
    Hi all, I bought a Spindle2 board that i want to use to control my cnc minilathe spindle. Im useing Mach3 and was hopeing some of you might know what paramiters to set in Mach to get this board to work. Im not sure if i should be useing PWM or step/direction to feed into the board or mabe it doesnt matter wich i use? I did a few google searches on this board but couldnt realy find any setup info on it, hopefuly im not the only one useing the spindle2:confused:

    any advice on this would be realy app


  2. #2
    Hi Simon

    Just had a look on DIYCNC site, you need to use step and direction. The step rate controls the 0 to 10 volts the direction FWD and REV.
    Im not at home at the moment so when I get back I will have a look at some info I have, as I had a board that worked the same but just changed it for a board that uses PWM.


  3. #3
    Andy, thats awesome thanx! il start by setting it to step/dir then. i looked at the DIYcnc site and saw it said step/dir but alot of ppl talk about PWM for spindle control so i wasnt sure wich to use.

    Wich PWM board are you useing? does it work better than the step/dir boards?


  4. #4

    start by going to Config Ports & Pins Motor Outputs go down the list on the left until you get to the Spindle tab then Enable the Spindle with a green tick.

    Fill in the pin numbers you have used for the Step and Direction pins and the port number (usually Port 1 for both Step and Direction) click Apply and the OK.

    Go to Config again select Ports and Pins then the Spindle Setup Tab.

    In the Motor Control Box tick the box at the side of Spindle Motor Output and also the box at the side of Step/Direction Motor click Apply then Ok.

    Again go to Config Motor Tuning select the Spindle Tab.

    Set the Steps Per to 1000 Velocity to Max start low on the Acceleration, set the Step Pulse to 3 to start with, this will affect the analog output voltage so you can come back to this when you do your final tweaking. Click on Save Axis then Ok.

    From here on in you will have to read the info that came with your board, you might have a trim pot that you can adjust to give you your max output voltage to your motor control unit.

    What sould happen now (do not connect your spindle to your board yet) when you give an M3 command in Mach you should get a voltage output from the analog pins on your spindle board.
    Lets say your Max speed is 12000 RPM if you type the command S12000 then press enter in the MDI screen in Mach followed by a M3 command you should get the max voltage output, if you then type in S6000 you should get half your max voltage. If the voltage is lower then this is where you can tweak the step pulse width and the trim pot (if you have one) to calibrate the output voltage.

    Hope this helps



    PS the board I am using at the moment is the PMDX 126 BOB with the PMDX 107 speed control. This is a PWM system you don't need any relays to switch the spindle on it uses the PWM signal to switch on the spindle as well as set the speed and it works very well.

  5. #5
    Andy thx for the long and detailed post.

    I set up mach acording to those settings but im not getting any voltage out from the board, well atchualy im geting 0.02vdc wether the spindle is on or off but i guess that could be considerd 0v, if i shut down all power to the BOB and spindle board and unplug the P port it does go to exactly 0v so i know its not my meter thats faulty.

    coupple of quick questions: 1 In the outputs tab do i need to set an output to the same pin (2) as i set in motor outputs spindle box, or is just seting the motoroutputs spindle box enough to get it to give a signal to the spindle board?

    2 In the spindle set up tab under ports and pins theres 2 boxes marked "PWM Base freq" and "Minimum PWM" do i need to type anything in thease boxes or do they have no affect when its set to step/dir?

    thinking about it i guess i should double check that i have it phisicaly wired to pin 2 and not another pin!


  6. #6
    i2i's Avatar
    Lives in Cardiff, United Kingdom. Last Activity: 1 Day Ago Has been a member for 7-8 years. Has a total post count of 692. Received thanks 29 times, giving thanks to others 0 times.
    if you have everything setup correctly and you still don't get any output from the board, go into the computers bios settings and change the parallel port to EPP.

  7. #7

    Do you have a seperate 12v supply for your spindle board or did you buy the one with the 12v DC to DC converter?

    The PWM boxes have nothing to do with your step/direction board so no need to enter anything there.

    So long as you have set up the the correct pin numbers for the step and direction on the motor output tab there should be no need to enter anything to the same pin number for it to work.

    Don't forget if you cannot get it to work you could have a faulty board.


  8. #8
    I have a seprate 12v supply, i got one from mapplins, 12v and 300ma. I been playing around with it all day and just cant get any voltage out of it, iv checked all the wireing for correct pins and stuff but still no luck. Andy did you get your PMDX boards from somewere in uk? think i might just go ahead and buy one.


  9. #9
    i2i's Avatar
    Lives in Cardiff, United Kingdom. Last Activity: 1 Day Ago Has been a member for 7-8 years. Has a total post count of 692. Received thanks 29 times, giving thanks to others 0 times.
    have you checked the parallel port is set to epp.

  10. #10
    i2i, Im not sure what epp is or how to check it:confused: is it easy to check?


Page 1 of 2 12 LastLast

Similar Threads

  1. DIY 3020 CNC I/O Board
    By Pointy in forum Electronic Project Building
    Replies: 10
    Last Post: 27-07-2015, 09:48 PM
  2. eBay: Denford Novamill SmartStep Control Board + Spindle Board
    By danielbriggs in forum Items On eBay UK
    Replies: 0
    Last Post: 30-05-2013, 05:52 AM
  3. eBay: UIM2901-5A Mach3 breakout board with spindle speed control
    By Fivetide in forum Items On eBay UK
    Replies: 0
    Last Post: 05-02-2013, 06:25 PM
  4. What board should i get ?
    By Stephen-Niall in forum Motor Drivers & Controllers
    Replies: 4
    Last Post: 22-04-2012, 08:37 PM
  5. Replies: 12
    Last Post: 29-11-2010, 03:24 AM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts