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! > Electronics > General Electronics Discussion


General Electronics Discussion Discuss basic electronics, power supplies and anything else electronic related here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 12-12-2009, 08:23 AM
 
Join Date: Jun 2005
Location: Australia
Age: 79
Posts: 197
wjfiles is on a distinguished road
Mach3,Geckos,DC Servo & Stepper Problem

Hi All,
Can anyone help.
I don't know if this is the right forum. I am rewiring a gantry router and have a multitude of problems.
Originally the router was wired using 2 Gecko 320 on 2 DC servos and one gecko 201 for a stepper on the Z. Mach 2 was upgraded to Mach 3 and some errattic things happened ocasionally with limits and homing. Advice was to use a breakout, so I purchased a CNC4PC C11G multi function board.
Taking a step at a time. I installed the recommended XML for the board.
I then passed the Parallel port outputs thru the board and to the Geckos step and direction connections,powered the board with the recommended 5 volts. jumpered the 5v to the EN. Turned off the Charge pump on the board and in Mach3. I adjusted Mach3 settings for the correct motor outputs.
Nothing else was changed.
Results. Not all the port LEDs light up on the BB.
The stepper moves but only in one direction regardless of which key (up or down) is pressed.
The servos do Nothing. The dro's in mach work OK.
I am by no means an expert, this is my first encounter with a BoB.
I have built from scratch my own router using steppers and Hobby CNC and mach and have had no problems for 18 months. I thought I knew what I was doing??

Know what I am doing, What I don't Know is what I am not doing ????

Thanks in advance
WJF
__________________
The More I Learn The Less I Seem To Know
Reply With Quote

  #2   Ban this user!
Old 12-12-2009, 07:23 PM
 
Join Date: Jun 2005
Location: Australia
Age: 79
Posts: 197
wjfiles is on a distinguished road
Rephrase the question(s)

Originally Posted by wjfiles View Post
Hi All,
Can anyone help.
I don't know if this is the right forum. I am rewiring a gantry router and have a multitude of problems.
Originally the router was wired using 2 Gecko 320 on 2 DC servos and one gecko 201 for a stepper on the Z. Mach 2 was upgraded to Mach 3 and some errattic things happened ocasionally with limits and homing. Advice was to use a breakout, so I purchased a CNC4PC C11G multi function board.
Taking a step at a time. I installed the recommended XML for the board.
I then passed the Parallel port outputs thru the board and to the Geckos step and direction connections,powered the board with the recommended 5 volts. jumpered the 5v to the EN. Turned off the Charge pump on the board and in Mach3. I adjusted Mach3 settings for the correct motor outputs.
Nothing else was changed.
Results. Not all the port LEDs light up on the BB.
The stepper moves but only in one direction regardless of which key (up or down) is pressed.
The servos do Nothing. The dro's in mach work OK.
I am by no means an expert, this is my first encounter with a BoB.
I have built from scratch my own router using steppers and Hobby CNC and mach and have had no problems for 18 months. I thought I knew what I was doing??

Know what I am doing, What I don't Know is what I am not doing ????

Thanks in advance
WJF
There are 4 elements involved, Mach3,Geckos, CNC4PC c11G BoB & Me
Where do I start looking. Anyone have problems with the c11g BoB configuration.
wjf
__________________
The More I Learn The Less I Seem To Know
Reply With Quote

  #3   Ban this user!
Old 12-12-2009, 10:57 PM
 
Join Date: May 2006
Location: Australia
Age: 40
Posts: 2,205
epineh is on a distinguished road
Buy me a Beer?

Hi WJ, I haven't used any of the hardware or software you are using, but one thing to check, if you have upgraded Mach, check that the outputs are set to active low, this is straight from the Geckodrive FAQ :

Q.) What should my settings be in Mach3?

With all drives except for the G203V, set the “Ports and Pins” setting to “Active Low”. If it is a
G203V, set it to “Active High”. On all drives, set the step pulse width to 2μS.

Also I would imagine there is some way of setting active low on your breakout board, sorry I cannot pinpoint it for you but that is where I would be looking.

Cheers.

Russell.
Reply With Quote

  #4   Ban this user!
Old 12-13-2009, 09:11 PM
 
Join Date: Jun 2005
Location: Australia
Age: 79
Posts: 197
wjfiles is on a distinguished road
Angry

Hi Again,
Thanks Epineh for your input.
It was a help. It did not solve the problem.
What happens now is that all the output LEDs light up on the Bob but allgo out when Mach is started.
The Z Stepper only runs in one direction and the 2 Servos are still dead.
I have checked the P/port and it is fine
I have checked the Geck0s and the have no blown chips.
I am reasonably sure that the problem maybe the BoB .
Why would a stepper only run in one direction.

wjf
__________________
The More I Learn The Less I Seem To Know
Reply With Quote

  #5   Ban this user!
Old 12-13-2009, 11:24 PM
 
Join Date: Jan 2006
Location: USA
Age: 45
Posts: 605
stevespo is on a distinguished road

wjf, I don't have any experience with the G201 or G320, but I do use the G203V. I have looked through the manuals, so I'm not completely unfamiliar with the devices, just no direct experience.

If the stepper is only running in one direction, I would assume that the DIR signal is being held high or low, regardless of what you're doing with the controller. I'd go through the manuals one more time, double check your Mach settings. Make sure you've got +5VDC connected to pin 10 (common) on the G201.

It might be useful to take voltage readings on the parallel port pins and see if you're getting signals when/where you expect. My (old) Mach3 computer developed problems with the parallel port where voltages were often inconsistent, and this manifested itself in flaky behavior. A different computer solved the problem.

Let us know if you make any progress, or what you've discovered.

Steve

Last edited by stevespo; 12-13-2009 at 11:45 PM.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 12-13-2009, 11:57 PM
 
Join Date: Jun 2005
Location: Australia
Age: 79
Posts: 197
wjfiles is on a distinguished road

Originally Posted by stevespo View Post
wjf, I don't have any experience with the G201 or G320, but I do use the G203V. I have looked through the manuals, so I'm not completely unfamiliar with the devices, just no direct experience.

If the stepper is only running in one direction, I would assume that the DIR signal is being held high or low, regardless of what you're doing with the controller. I'd go through the manuals one more time, double check your Mach settings. Make sure you've got +5VDC connected to pin 10 (common) on the G201.

It might be useful to take voltage readings on the parallel port pins and see if you're getting signals when/where you expect. My (old) Mach3 computer developed problems with the parallel port where voltages were often inconsistent, and this manifested itself in flaky behavior. A different computer solved the problem.



Let us know if you make any progress, or what you've discovered.

Steve
Hi Steve, I have 5v+ to pin 10 and the 5v- is to one of the common grounds, where would you suggest for the 5v-.
The whole system worked before the introduction of the BOB.
Voltages measure OK and when the computer is connected to the BoB without Mach running all the inputs LEDs on the BoB indicate all channels are working.
RGDS
WJF
__________________
The More I Learn The Less I Seem To Know
Reply With Quote

  #7   Ban this user!
Old 12-14-2009, 12:08 AM
 
Join Date: Jan 2006
Location: USA
Age: 45
Posts: 605
stevespo is on a distinguished road

Hmmn. I'm not sure what the -5VDC is being used for. Was it connected to something in the old setup? I don't see any references to this in any of the manuals. The G201 has DC power ground (black) to terminal pin 1, DC power +18 to +80VDC (red) to terminal pin 2, and +5VDC to pin 10. That's all I see for the G201.

Also from the G11 manual, this may be relevant. Again, I'm no expert here but just trying to suggest some things to double check.

"The common terminal to pins 2-9
can be ground or +5vdc. Forget
about grounding problems. Easily
connect your pin by using your close
by ground connection. No need to be
an electronics expert to ground all
your stuff. The board has a jumper
that allows you to select if the
common terminal to pins 2-9 will
carry a ground or +5vdc. So if you
are connecting encoders or proximity
switches, you can select it to ground.
If you are connecting Geckodrives or
limit switches, you can set It to be
+5VDC."

Steve
Reply With Quote

  #8   Ban this user!
Old 12-15-2009, 12:04 AM
 
Join Date: Jun 2005
Location: Australia
Age: 79
Posts: 197
wjfiles is on a distinguished road
Thanks for replies

Hi All,
Thanks for the replies.
The problem is fixed, On reading the responses I decided to pull all the wiring out and sequentially rewire the circuits ( FOLLOWING THE INSTRUCTIONS), Bingo I must have put them in the right places. I still do not know what was wrong.
Something I did or something I did not do. Who cares now.
Thanks All
WJF
__________________
The More I Learn The Less I Seem To Know
Reply With Quote

  #9   Ban this user!
Old 12-15-2009, 12:41 AM
 
Join Date: May 2006
Location: Australia
Age: 40
Posts: 2,205
epineh is on a distinguished road
Buy me a Beer?

Good to hear you got it running !

Russell.
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help!- Setting up Mitsubishi Amp & servo with Mach3 thunderbite Machines running Mach Software 14 05-29-2012 08:45 AM
Newbie- Controlling a servo motor with mach3 runiko Servo Motors and Drives 6 11-15-2009 01:13 PM
geckos servo or stepper mjs79 Gecko Drives 3 10-29-2007 10:08 AM
4th axis solution to solve gantry skewing, geckos and servo, and axxus questions CuttersCov General CNC (Mill and Lathe) Control Software (NC) 1 02-20-2006 04:10 PM
problem with geckos cowanrg Gecko Drives 10 02-07-2006 08:47 PM




All times are GMT -5. The time now is 09:40 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 354 355 356 357 358 359 360 361