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! > Machine Controllers Software and Solutions > General CNC (Mill and Lathe) Control Software (NC)


General CNC (Mill and Lathe) Control Software (NC) General Discussion of CNC (Mill and Lathe) control software here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 04-22-2006, 01:21 AM
 
Join Date: Jan 2006
Location: USA
Posts: 42
bigvinney is on a distinguished road
Unhappy Cant get steppers to turn

I have mach3 (demo) running three gecko 202 drivers powering 2 640oz and 1 1200oz steppers. Mach3 is loaded onto a new dell running a celeron D processor. I have a belkin data cable running from the comp to the control box breakout board (from cnc4pc).

In my control box I have a 60v power supply for the drivers and a seperate 5v power supply for the common on the geckos and the breakout board.

On the breakout board I have stepX on pin2, dirX on pin 3, stepY on pin 4, dirY on pin 5, stepZ on pin 6, and dirZ on pin 7. All of those wires lead to their corresponding positions on the geckos.

In the mach software I have the pins and ports correct. I have the x and y steppers on active low and the z on active high just to see if I can get it to run any motor. Mach seems to work great on my computer and I did the driver test and it had no spikes in the line at all.

I have tried playing with every setting I possible can and I can not get these motors to spin? Is there a way to tell if the geckos are working properly? I have double checked the wiring about 100x and I cant see what the problem is but I cant get the motors working? Is there and tricks I can try to even make sure the motors work?

Thanks any help would be greatly appreciated, Vince
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 04-22-2006, 12:13 PM
 
Join Date: Jan 2006
Location: USA
Posts: 42
bigvinney is on a distinguished road

On my 5v power supply I have a +5v and ground going to the breakout board to power it up. I then have 3 +5v wires going to the commons on my geckos. The step and direction pins have +5v comming out of them with the computer off (due to the board power line I guess) so would it be possible that the common on the geckos should go to ground and not +5v? (the board ground is connected to the computer ground via parallel port cable.)

Also if this is the case, is there some sort of setting in mach I would need to change? I never did play with the jumpers on the geckos, would you think the setting was off?
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 04-23-2006, 10:38 AM
dkowalcz's Avatar  
Join Date: Apr 2003
Location: USA
Posts: 118
dkowalcz is on a distinguished road

See if you can ever see the direction lines go to 0V when you tell it to go back and forth.

From your description, it could be that the 5V power supply ground is not connected to the computer power supply ground (pins 18-25 on the parallel port). I would think that a decent breakout board should take care of this though... Ring it out and see.
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 04-23-2006, 12:25 PM
 
Join Date: Jan 2006
Location: USA
Posts: 42
bigvinney is on a distinguished road

I checked the voltages on the direction pins on the breakout board and at the plug entering the breakout board. The plug itself would go from 0-3.4 which confirmed to me that mach3 is setup correctly and communicating with the parallel port. The voltages on the breakout board direction pins varies from 4.7-4.8. If that is supposed to go from 0-5v than that must be my problem than.
Tweet this Post!Share on Facebook
Reply With Quote

  #5  
Old 04-23-2006, 12:39 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 19,558
ger21 is on a distinguished road
Buy me a Beer?

I think the 5V to the Gecko common needs to come from the PC, not a seperate supply
__________________
Gerry

Mach3 2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 04-23-2006, 02:19 PM
 
Join Date: Jan 2006
Location: USA
Posts: 42
bigvinney is on a distinguished road

Ive heard different opinions on this but since it is an optoisolated circuit and the ground of the 5v PS is connected to the ground of the PC PS and the motors are set to active low it should work.

Even if that is the case the parallel port plug goes from 0v-3.4v when I change directions and the pins on the breakout board go from 4.7v-4.8v and those should go from 0v-5v, so there seems to be a problem there. Ill buy another breakoutboard because it is only $25, so it cant hurt. If that doesnt work I will try to tap a 5v line from the computer and see if that works.

Any opinions are appreciated

Thanks Vince
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 04-23-2006, 03:37 PM
 
Join Date: Apr 2003
Location: Canada
Posts: 154
jimini is on a distinguished road

I have a seperate 5v supply biult into my power supply case (seperate grounds from the main ps) and I have no trouble at all, running either TCNC or Mach3....Jim

Last edited by jimini; 04-24-2006 at 01:28 AM.
Tweet this Post!Share on Facebook
Reply With Quote

  #8  
Old 04-23-2006, 04:45 PM
Moderator
 
Join Date: Feb 2005
Location: USA
Age: 52
Posts: 672
Halfnutz is on a distinguished road

I have the same situation, although my set up works fine with TurboCNC. I'm using IMS drivers and they require an opto 5V supply, definately not the 5V off the parallel port, but what about the ground? Whatever I have is working fine with TurboCNC, what would be different with Mach3? I geusse I need to start poking around with a meter and make sure Mach is driving the parallel port.

Update:Mach3 is up and running fine, I had neglected to set the port number for my motor outputs. Go figure, huh?
__________________
Halfnutz

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

Last edited by Halfnutz; 04-24-2006 at 09:48 PM.
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 04-23-2006, 04:45 PM
 
Join Date: Jan 2006
Location: USA
Posts: 42
bigvinney is on a distinguished road

Jimini- do you have a powered breakout board in your system? Whats the voltage change on the direction pin when you jog around? Also how is yours wired?

I have my main 65v PS which powers the geckos. I then have a 5v PS which powers the breakout board and the geckos. I have the ground wire going to the breakout board (pin 18-25 are connected together) and the +5v wires going to the common on geckos and the breakout board. (the grounds are seperate from the 65v PS as well)
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 04-24-2006, 01:27 AM
 
Join Date: Apr 2003
Location: Canada
Posts: 154
jimini is on a distinguished road

Mine is wired the same as yours.
I have a homemade bob. Do you have the gnd from the 5v supply going to the geckos?
I'll check the voltage swings tomorrow.Lots of luck....

EDIT...I just noticed you said 5v AND ground, I missed it.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 04-24-2006, 09:22 AM
 
Join Date: Jan 2006
Location: USA
Posts: 42
bigvinney is on a distinguished road

I dont have the 5v PS ground connected directly to the geckos, it is connected to the ground on the breakout board which is pins 18-25. The only dedicated ground wire attached to the geckos is from the 65v PS.
Tweet this Post!Share on Facebook
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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -5. The time now is 04:36 PM.





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