. .
Page 1 of 2 12 LastLast

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    This is my first forum post so first of all, hello everyone! I am at the stage of building the first cnc plotter, quite large and heavy as for the first machine (about 1.8m x 0.8m) and I would be very grateful if you could help me with electronics. Quite a long time ago I was able to buy second-hand electronics, theoretically complete set, after amateur coversion of a mini milling machine, although I have problems with it and I hope that this is my lack of knowledge. I would love to use as many components already bought as possible. As a bonus for purchase, I was given a Sieg X1 mini mill and an old computer that turned out to include Mach3 with the license of the previous owner so as a whole, probably a nice purchase despite everything is dusty and generally messy inside .. but to the point:

    Breakout board - CNC4PC model C1
    Drivers - MSD542 x4
    Motors - FL60STH86-3008 BF x1 + two similar, unfortunately without any stickers so I will buy 3 more similar to FL.
    Transformer and the rest in the attached diagram that I re-drawn from what I got, this is not my project and will be redone.

    1. The motors do not spin despite the fact that Mach software shows movement using the arrows on the keyboard. The motor is locked, it cannot be turned. There are diodes on the breakout board, it seems to me dedicated to outputs, not activated, only the 'outputs status' diode is on, what should I check step by step to verify if the board is ok?

    2. How to check if the drivers are ok? The voltage is fine, 42V on each of them. The voltage between A + and A- and B + and B- in the case of one motor connected is 1.7V, in the other 1.4V. Where there is no motor connected, 42V between A + and A-. Is this correct?

    I would have more questions, but for now, the most important is to verify whether the board and drivers are in full working order and configured with Mach3. The attached photos show Mach3 settings, previously configured with current set up. Thanks in advance for your help, I will post a full 3D project and a schematic after completing the project here. I’ll post more details about my design soon.

    Regards!
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	1.jpg 
Views:	171 
Size:	625.0 KB 
ID:	27845   Click image for larger version. 

Name:	2.jpg 
Views:	159 
Size:	449.1 KB 
ID:	27846   Click image for larger version. 

Name:	3.jpg 
Views:	176 
Size:	563.7 KB 
ID:	27847   Click image for larger version. 

Name:	CNC-page-001.jpg 
Views:	166 
Size:	109.7 KB 
ID:	27848  

  2. #2
    It's been a while since I used one of these but I seem to remember they needed a 5v supply for the charge pump or a jumper setting on the board to disable it. So check the board and there will be 3pins together if I remember correctly with 5V and EN and Gnd. Put a jumper across 5V & EN pins if there isn't one there already and it will disable the charge pump.
    If the board doesn't see 5V across these pins it will disable the outputs which is probably why it's not moving.

    Or you can just put 5v+ on the EN pin and it keeps the charge pump in place then if you lose 5v the outputs get shutdown. Your choice.
    Last edited by JAZZCNC; 16-04-2020 at 11:27 PM.

  3. #3
    Quote Originally Posted by borntofight00 View Post

    1. The motors do not spin despite the fact that Mach software shows movement using the arrows on the keyboard. The motor is locked, it cannot be turned. There are diodes on the breakout board, it seems to me dedicated to outputs, not activated, only the 'outputs status' diode is on, what should I check step by step to verify if the board is ok?
    Mach 3 doesn't get any feed back from the motors so it just assumes they are moving that's why the Dro's show movement. The BOB as probably disabled the outputs as per my other post.

    Quote Originally Posted by borntofight00 View Post
    2. How to check if the drivers are ok? The voltage is fine, 42V on each of them. The voltage between A + and A- and B + and B- in the case of one motor connected is 1.7V, in the other 1.4V. Where there is no motor connected, 42V between A + and A-. Is this correct?
    Be very carefull when you are sticking probes into this area you can very easily fry those drives and what ever you do, DO NOT disconnect the motor connections from the drives while powered up or you will 99% destroy them. It's perfectly fine to power the drives without the motors attached but never remove the motor wires while drives are powered up.

  4. #4
    Simplest test first is as Jazz says - check the BOB EN pin and that your e-stop isn't activated. Been there... worn the tee-shirt.

    To test the drivers, disconnect the PUL+ wire from the break-out board to each of the drivers one at a time, and with a bit of wire in the PUL+ input to the driver strike that against the +5V supply. Each connection (and each break/make as you make the connection) should turn the respective motor by one step (or microstep). You might get more joy just listening if the drivers are configured with a large number of micro steps. That will give you a basic level of confidence that the drivers and motors are okay. It's hard to predict the terminal voltage of the drivers - depending upon the motor position you're going to see an instantaneous (static) description somewhere along the waveform of a sine-wave across A-/+ and B-/+ each 90 degrees out of phase (so when A is +Big Volts, B would be tending to Little Volts.... but all depends on where the driver thinks it is along it's rotation.

    You could also strike +5/0V across the EN+/EN- of each driver. That should free the motor on that axis. Not very useful, but again some confidence in the operation of the driver.

    If you get that far then your issues lie either in the break-out board, or your Mach3 installation.

    It worries me that you say that none of the LED outputs are illuminated - if you jog one axis in one direction, then the other, at least one of the LEDs for the DIR outputs to the drivers should be illuminated in one jog direction. Failure of this would be an indication that there's a problem or misconfiguration of the BoB. Or the EN input. Or the connection to the PC.
    Last edited by Doddy; 17-04-2020 at 06:24 AM.

  5. #5
    Thanks very much for the instructions, as you pointed, motor rotates at each 5V strike, in addition, 5V connected to EN + free the motor so that’s the good news I believe.

    This is my first contact with stepper motors so please be patient  When striking 5V, sometimes the motor's rotation is ‘uneven’, i.e. it’s jumping one step but sometimes it feels like it’s jumping a few steps and sometimes one step in opposite direction. I guess, this is due to not precise pulsing by using simple push button? I’ve connected n/o push button between 5V source and PUL+ btw..

    Also, with e-stop off:

    I can measure 5V between 5V & GND and between EN & GND terminals. LED called 'output status' is illuminated.

    With e-stop on however:

    5V between 5V & EN and 5V & GND terminals. 'Output status' LED is not illuminated.

    What do you guys think?

  6. #6
    The semi-random effect is as I'd expect. Even using a N/O push button rather than just a bit of wire you're going to get something called "contact bounce" where pressing the button generates a whole bunch of On/Off transitions as the button contacts literally bounce against each other. This usually dissipates within a few milliseconds, but you can certainly get more than one "contact" per press and with a fast stepper setup (usually rated into the hundreds of kilohertz - sub 10 microsecond territory) you might expect a fairly random number of pulses / rotational steps. But, they should be in one direction only.

    I'm going to largely ignore your voltage measurements - because I don't understand quite what you've written. I *think* you're saying with E-Stop off you confirm you have 5V (all measurements taken with the meter's black lead connected to 0v) supply to the BOB, and 5V on the EN enable pin, and the LED 'output status' is illuminated, and with the E-Stop on you confirm the EN enable pin falls to 0V and the 'output status' is not illuminated? That's what I'd expect to happen and is again a good thing. It indicates that you have power to the board and your e-stop circuit is operable.

    My concern now lies with no sign of life from the LED indicators on the outputs from the BoB. With the-estop OFF : Using the cursor keys to pseudo-move the X-axis in one direction or another you will be changing the X-DIR signal between 0v and 5V (can't tell you which way around) - which should illuminate/extinguish the LED on output pin (3) on the BoB. I'd use that as your primary sign-of-life from now on.

    So, your stepper drivers are showing signs of life, together with your motors, so I think it's time to concentrate on the board and the Mach 3 interface to this.

    1) My first question is - has you witnessed the actual computer that you're using with Mach3 successfully drive this board?, I think from your description - no? The problem here is chasing a potential ghost - if the PC is not set-up correctly then you can probe the board all you like and there'll still be no life.

    2) Are you using a full 25w wired parallel cable between the computer and the BoB?, have you tried a quick continuity check to make sure pin-1 goes to pin-1 etc through pin-25? (if you found a random 25w cable it *could* be a serial cable with only a small number of wires connected, and some of those possibly swapped). Check the basics.

    3) Of interest - on the BoB - there's a 3-pin jumper header labelled "JP1" - there should be a shorting pin connecting two of the pins together - which two?

    4) Would you be confident to ***CAREFULLY*** measure the voltage on pin-1 of the 25-W D-type that the computer plugs into, with the system powered. I'm talking about connecting the meter black lead to 0V and carefully probing the PCB where the pin-3 is, and measuring the voltage with the X-Axis moved in one direction, then again with the X-Axis moved in the opposite direction. In one direction you're expecting a voltage less than perhaps 0.8V and in the other direction greater than perhaps 2.5V.

    5) Much easier - could you do this again on the PC. insert a couple of pins or bits of stripped solid strand wire (paperclip?) into pin 3 and pin 25 of the PC parallel port and measure for each direction of X-axis travel. If you can provide a photo of this for our amusement (and validation) - this is getting to the point where we should be able to understand the PC->BoB communication - I think the BoB's basically functional, so this is important to understand why the BoB is not seeing the commands from the PC.

  7. The Following User Says Thank You to Doddy For This Useful Post:


  8. #7
    So far so good!

    Quote Originally Posted by Doddy View Post
    I'm going to largely ignore your voltage measurements - because I don't understand quite what you've written...
    Bad wording, sorry. Anyway, you are correct.

    Quote Originally Posted by Doddy View Post
    1) My first question is - has you witnessed the actual computer that you're using with Mach3 successfully drive this board? ..
    No, unfortunately I wasn't able to see everything working. I was given two PC's during system collection with the information that one of them was used with this equipment and should still be ok.

    Quote Originally Posted by Doddy View Post
    2) Are you using a full 25w wired parallel cable between the computer and the BoB?..
    I'm using brand new 25w parallel cable and I tested each pin for continuity, all fine.

    Quote Originally Posted by Doddy View Post
    3) Of interest - on the BoB - there's a 3-pin jumper header labelled "JP1" - there should be a shorting pin connecting two of the pins together - which two?
    This shorting pin is connecting pins 2 & 3 (COM=GND)

    Quote Originally Posted by Doddy View Post
    4) Would you be confident to ***CAREFULLY*** measure the voltage on pin-1 of the 25-W D-type that the computer plugs into, with the system powered. I'm talking about connecting the meter black lead to 0V and carefully probing the PCB where the pin-3 is, and measuring the voltage with the X-Axis moved in one direction, then again with the X-Axis moved in the opposite direction. In one direction you're expecting a voltage less than perhaps 0.8V and in the other direction greater than perhaps 2.5V.
    I managed to measure a voltage for X, Y and Z axis (just in case) and I was getting just a little bit above 2.5V and 0.07V (not too low?)

    Quote Originally Posted by Doddy View Post
    5) Much easier - could you do this again on the PC. insert a couple of pins or bits of stripped solid strand wire (paperclip?) into pin 3 and pin 25 of the PC parallel port and measure for each direction of X-axis travel. If you can provide a photo of this for our amusement (and validation) - this is getting to the point where we should be able to understand the PC->BoB communication - I think the BoB's basically functional, so this is important to understand why the BoB is not seeing the commands from the PC.
    Take a look at the pictures attached, for your amusement :) I’m measuring 3.35V & 0.036V, almost identical on pins 3 to 9.

    From what I understand, there is a communication between PC and BOB, but there is no signal to the outputs .. as you can see at the picture, BOB is a little bit messy so would it be a good idea to give it a good clean with isopropanol for example?

    Another thing that I have spotted is LED next to PC power terminals which was illuminating for some time while PC was running but the rest of the system wasn’t powered. At some point, it disappeared .. is it normal?

    I really appreciate the time you spend pointing me in the right direction.

    Click image for larger version. 

Name:	4.jpg 
Views:	163 
Size:	188.6 KB 
ID:	27904Click image for larger version. 

Name:	5.jpg 
Views:	161 
Size:	184.9 KB 
ID:	27905Click image for larger version. 

Name:	7.jpg 
Views:	179 
Size:	389.5 KB 
ID:	27906
    Last edited by borntofight00; 20-04-2020 at 10:20 PM.

  9. #8
    on the photo of the breakout board. If you look at the 8 pin chip to the right of the 25 pin connector in the bottom left corner. It doesn't look to be seated in its socket correctly. Should just push in to seat fully. Quite common for chips to work out of sockets over a period of time.

  10. #9
    Hi and big apologies for not coming back earlier, however I had to do urgent house maintenance job which took me the last few days!

    Quote Originally Posted by mnewsholme View Post
    on the photo of the breakout board. If you look at the 8 pin chip to the right of the 25 pin connector in the bottom left corner. It doesn't look to be seated in its socket correctly. Should just push in to seat fully. Quite common for chips to work out of sockets over a period of time.
    I’ve spotted this straight after my first post and pushed in back into its place, thanks!

    Quote Originally Posted by Doddy View Post
    So, you wired the supply and the outputs pulsed and the output LEDs blinked?
    Well, I should explain a little bit better .. they are blinking when touching +5V terminal as same as previously supplying 5V to stepper motors. Once hardwired, all output LEDs are off.

    Quote Originally Posted by Doddy View Post
    My instinct is that the board is at some level functional - I'll offer to test the board for you to a level that I can diagnose the behaviour of each major functional block - but I don't know how that sits with your time-frame - it might be quicker just to get a BoB ordered in the post).
    Doddy, if you have some spare time and willingness to help, I would appreciate! I don’t really have any deadlines, just trying to make some regular progress but please if at any point you will think that something is not right with Bob, let me know and I’ll get a new one as instead of wasting your time on this, I could ask some other questions. Is it worth investing in this type BoB or are there better options in let’s say £100 budget?

    In a meantime I’ve sent an email to CNC4PC asking them for some more information about wiring and below is what I received:

    ‘this is an isolated board, so it has two power terminals. Make sure you are using both. The side that interacts with the PC can be powered with a USB cable. Make sure you put a jumper across the EN and the +5vdc next to it.’

    Still don’t explain why all the outputs are inhibited when 5V is wired to PC power terminals. What do you think??

  11. #10
    Quote Originally Posted by borntofight00 View Post
    Hi and big apologies for not coming back earlier, however I had to do urgent house maintenance job which took me the last few days!

    I’ve spotted this straight after my first post and pushed in back into its place, thanks!

    Well, I should explain a little bit better .. they are blinking when touching +5V terminal as same as previously supplying 5V to stepper motors. Once hardwired, all output LEDs are off.

    Doddy, if you have some spare time and willingness to help, I would appreciate! I don’t really have any deadlines, just trying to make some regular progress but please if at any point you will think that something is not right with Bob, let me know and I’ll get a new one as instead of wasting your time on this, I could ask some other questions. Is it worth investing in this type BoB or are there better options in let’s say £100 budget?

    In a meantime I’ve sent an email to CNC4PC asking them for some more information about wiring and below is what I received:

    ‘this is an isolated board, so it has two power terminals. Make sure you are using both. The side that interacts with the PC can be powered with a USB cable. Make sure you put a jumper across the EN and the +5vdc next to it.’

    Still don’t explain why all the outputs are inhibited when 5V is wired to PC power terminals. What do you think??
    Happily take a look for you - will PM address - if you find a solution in the meantime that's good.

    The response from CNC4PC corroborates the info offered earlier - that all makes sense. Their suggestion of using the PC USB is notionally to maintain the isolation on the BoB - that requires that the PC supply is isolated from the CNC Supply - by no means guaranteed. But doesn't affect the price of fish for this exercise.

    The inhibited outputs when wired to the PC power terminals - that's the bit I don't understand and prime for investigation - at this point you've done all according to the book.

    Question of BoBs - I like the look of this one - it's a well thought out design, however, I tend to go cheap (£5 BoBs) - if I can understand the interfacing to it (e.g. hooking onto an UC300ETH then I have NO qualms of a £5 BoB.).. whereas parallel connection to a PC I can appreciate the rugged nature of this BoB. Everyone else here will have their own opinion.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. New CNC build gantry questions
    By Capsuna in forum Gantry/Router Machines & Building
    Replies: 8
    Last Post: 04-12-2019, 12:59 AM
  2. BUILD LOG: 1800 x 1500 x 500 work area CNC build log
    By marbles in forum DIY Router Build Logs
    Replies: 9
    Last Post: 17-10-2018, 01:53 PM
  3. Beginner MYCNCDIY Mill Build questions
    By suraj1793 in forum Gantry/Router Machines & Building
    Replies: 35
    Last Post: 15-11-2014, 06:28 PM
  4. A few questions before I start my build
    By eclassic in forum General Discussion
    Replies: 0
    Last Post: 11-07-2011, 10:54 PM
  5. NEW MEMBER: Hi from rainy York - build plans/questions
    By bikepete in forum New Member Introductions
    Replies: 13
    Last Post: 11-10-2009, 07:43 AM

Bookmarks

Posting Permissions

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