CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > WoodWorking Machines > DIY-CNC Router Table Machines


DIY-CNC Router Table Machines Discuss the building of home-made CNC Router tables here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 11-04-2010, 05:25 AM
 
Join Date: Oct 2006
Location: uk
Posts: 96
dougie329 is on a distinguished road
Stepper driver, breakout board problems

Hi everyone

I purchased some nema 34 stepper motors, drivers and breakout boards for use on a 4x4 cnc router from a chinese company. I have some serious problems in the setup if anybody can possibly help. Support is now non existent from them and im stuck!

2 main problems, we cant get the e-stop and any limits to work,and the Z axis loses steps no matter what pulse setting I seem to try. Have got 2 identical breakout boards and they both act the same so maybe its something i have overlooked.

The motors say 3.5amp on them but the motor drawing says 5.6A/phase? The drivers they say were matched and are model SD-2H086MB.

Power supply is 48v, 10.4amp. The 2 Y axis motors are geared 1.5:1 and the Z axis motor is 1:1. The ballscrews are all 5mm pitch.

All technical docs are attached. Would greatly appreciate some guidance to maybe sort one problem at a time. Possibly discover why no limits etc are working. Maybe someone has had this board.

Thanks, Dougie
Attached Thumbnails
Click image for larger version

Name:	wantai 002.jpg‎
Views:	186
Size:	126.7 KB
ID:	118348   Click image for larger version

Name:	wantai 003.jpg‎
Views:	175
Size:	157.8 KB
ID:	118349   Click image for larger version

Name:	wantai 006.jpg‎
Views:	186
Size:	119.6 KB
ID:	118350   Click image for larger version

Name:	wantai 007.jpg‎
Views:	127
Size:	240.7 KB
ID:	118351  

Click image for larger version

Name:	85BYGH450B-004.jpg‎
Views:	158
Size:	90.2 KB
ID:	118352  
Reply With Quote

  #2   Ban this user!
Old 11-04-2010, 08:12 AM
 
Join Date: Mar 2010
Location: US
Posts: 363
brtech is on a distinguished road

What software are you using this with? If it's Mach or EMC, perhaps we can help. If it's something else, it will be harder.
Reply With Quote

  #3   Ban this user!
Old 11-04-2010, 08:52 AM
 
Join Date: Oct 2006
Location: uk
Posts: 96
dougie329 is on a distinguished road

Using mach3 software, set up according to their instructions. I am wondering if perhaps its wired incorectly or needs something to bring the limits on
Reply With Quote

  #4   Ban this user!
Old 11-04-2010, 11:16 AM
 
Join Date: Mar 2010
Location: US
Posts: 363
brtech is on a distinguished road

Okay, we can help with Mach.

Does ANYTHING appear to work with the board? Trying to figure out if Mach is able to see the LPT port the board is on.

If it doesn't, then you have an addressing problem = the board's address is not what Mach thinks it is.

If something appears to work, then we need to figure out what is in your config that is wrong. You might go into the diagnostics panel. In the center right, you will see LEDs that show the state of the pins. Try hitting some of your limit/estop switches and see if any of the lights change. If they do, we can figure out what is happening.

I assume that one side of the switch is connected to power supply ground. The other side would be connected to the BOB. Measure the voltage with a switch in both states, and tell us what the voltages are. One them should be zero volts.
Reply With Quote

  #5   Ban this user!
Old 11-04-2010, 12:44 PM
 
Join Date: Oct 2006
Location: uk
Posts: 96
dougie329 is on a distinguished road

Yes I have the 4 motors working although Z stalls no matter what pulse setting I seem to use. The motor settings in mach all give the correct distance moves.

When I press a limit switch if I put them on pins 10,11,12,13 it lights up an LED on the board to indicate it gets a signal but when I autodetect on mach it picks nothing up. However pin 10 works.

Yes one side of the switches are to ground. If I put the e-stop in pin 10 it works 3.85v when pressed. If I put the limits in pins 11,12,13 I measure 0v normally and when pressed 2.6v, 3.7v and 3.5v but the status pins in mach dont change to indicate a response. I have tried a different cable and the other board but nothing.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 11-04-2010, 12:57 PM
audioandy1762's Avatar  
Join Date: Jun 2005
Location: UK
Age: 50
Posts: 177
audioandy1762 is on a distinguished road

Dougie

Looking at your photo's it looks like you have some "Daisy Chaining"
of the cables going on can you confirm which wires are coming from what and going to
where.

Andy

PS where abouts in the UK are you?
Reply With Quote

  #7   Ban this user!
Old 11-04-2010, 02:05 PM
 
Join Date: Mar 2010
Location: US
Posts: 363
brtech is on a distinguished road

Good.

Let's make ONE thing work, and then go on to the next. How about E-Stop?
You said pin 10 works. Make pin 10 E-Stop. Don't use autoscan, manually configure pin 10 to be E-Stop in pins and ports. Use the same port as the motors.

You said you measure 3.84V when pressed. That sounds good. It means that the switch is normally low, and goes high to activate. It should measure close to zero when at rest.

You should be able to get E-Stop to work with pin 10, and the right active setting. You can confirm it works easily enough, right?
Reply With Quote

  #8   Ban this user!
Old 11-04-2010, 06:30 PM
johnmac's Avatar  
Join Date: May 2007
Location: USA
Posts: 376
johnmac is on a distinguished road

I just went through some of these problems. Even though I used shielded cables with proper grounding, I have a lot of electrical noise. I ended up with a .01 mfd capacitor (its all that I had) across the limit switch terminals on the breakout board. I also had to set the "debounce" value to around 7000, in the general config screen.

John
Reply With Quote

  #9   Ban this user!
Old 11-05-2010, 04:20 AM
 
Join Date: Oct 2006
Location: uk
Posts: 96
dougie329 is on a distinguished road

Hi Guys

The daisy chaining is the pulse and enable (+5v) between the drives which I assumed would be ok to do. I am in Lancashire UK, near Burnley.

Brtech the E-stop on pin 10 works and if I put a limit switch on pin 10 it works but no other input pins work. Not sure what those little toggle switches on the breakout board do.

Johnmac did the capacitor and debounce sort your problems? I am not sure its that as the limits do give a good reading when they change state, just nothing is being outputted through the 25 pin port.

Its impossible to trace them.
Reply With Quote

  #10   Ban this user!
Old 11-05-2010, 06:39 AM
audioandy1762's Avatar  
Join Date: Jun 2005
Location: UK
Age: 50
Posts: 177
audioandy1762 is on a distinguished road

Douigie

I would avoid any daisy chaining, not sure what you mean by the pulse being daisy chained.

Andy
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 11-05-2010, 06:45 AM
johnmac's Avatar  
Join Date: May 2007
Location: USA
Posts: 376
johnmac is on a distinguished road

Yes, for me that combination fixed my problem. When I first started troubleshooting this problem, neither the limit or E-stop would reset.

Even if you discover you have other problems, don't forget about the debounce setting.

John
Reply With Quote

  #12   Ban this user!
Old 11-05-2010, 09:35 AM
 
Join Date: Mar 2010
Location: US
Posts: 363
brtech is on a distinguished road

Okay, so E-stop works on pin 10.

Great.

Put a limit switch on Pin 11. Manually configure it for the right axis in config.
It should be provisioned identically to the E-Stop except for the pin number, assuming that for the limits the switch reads about 0 when at rest and +3. something when activated.

I believe you said you could see the LEDs changing on the diagnostic screen when you activated the limit switch. If that is still working, then the configuration should work to detect the limit.

Just get one to work first. If that works, try another.

The capacitors aren't needed yet. You need them if your limit seems to be activated when it shouldn't be (like in the middle of a good move).

Debounce may need to be set to something, but just to get the limit to activate it shouldn't matter. Debounce is needed because a mechanical switch may not cleanly go from off to on. It may bounce between off and on a bit (milliseconds) before settling down. Most microswitches, if that is what you are using, have very little bounce, but you may get some. For a limit switch, bounce doesn't matter, but the way the debounce function works, it also acts as a noise filter, and you may get noise. The capacitor is also a noise filter and you should not need both.

If you can see the LEDs changing on the diagnostic screen when you activate a limit switch, then the BOB, the wiring and the limit switch is working: configuration is all that is needed. If you can't see the LEDs change, then we have an electrical problem of some sort.
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help!- Driver and Breakout board troubleshooting vmipacman Automation Technology Products 4 07-06-2009 05:22 PM
Breakout Board, Driver and Power for nema23 - UK supplier? mnbylcr2 Benchtop Machines 4 05-21-2009 11:47 AM
Need Help!- does this driver need breakout board? dreamci General Electronics Discussion 2 09-30-2008 04:49 PM
Problem- PROBOTIX PBX-RF Breakout Board problems artwood_decor Stepper Motors and Drives 7 04-15-2008 03:47 PM
Stepper Driver, Controller, Breakout board, Home switch, ????? perolalars General Electronics Discussion 4 10-28-2007 09:35 AM




All times are GMT -5. The time now is 06:43 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361