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 > Gecko Drives


Gecko Drives Discuss all Gecko drives here and get direct support!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 01-03-2010, 03:17 PM
 
Join Date: Sep 2009
Location: USA
Posts: 160
zeeway is on a distinguished road
Charge pump - do I need this on?

Trying to figure out the charge pump signal on Gecko 540 with Mach 3. My understanding is that the charge pump signal from Mach 3 to Gecko, tells the Gecko that the computer is alive. And apparently this is very important on metal cutting machines that typically have a coolant pump...am I close?

So my machine is a headed to becoming a wood/MDF cutting router - no coolant pumps anywhere. And my Gecko 540 has the little external switch that allows me to turn off the charge pump.

So, can I just turn off the charge pump switch on the Gecko and forget about the XML files and setting pin 16 in Mach 3 and all the rest of that jazz?

Is there any reason for me to have the charge pump signal active? I think if my computer dies, it will be pretty dang obvious.

Would one of you electronic guys enlighten me? Thank you kindly.
Reply With Quote

  #2  
Old 01-03-2010, 03:48 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,540
Al_The_Man is on a distinguished road
Buy me a Beer?

Historically processor controlled systems, which includes PC based systems, have used something called a watchdog timer, this essentially is used to produce the same result as a charge pump, it is just another method of using the 12.5khz signal.
I believe the original intention of Mach was to indicate when the system was either booting up or closing down and motion can be inhibited during this period.
My experience has always been to use any watchdog timer/charge pump signal output in the E-STOP string, this inhibits or shuts off any power devices, motors, drives etc.
This allows for the eventuality of a PC crash or shut down and when powering up/down to disable the rest of the system.
Obviously there is no point in drives obliviously controlling motors when the brain (PC) is dead.
Especially in such systems as Mach where the controll loop is either open (steppers) or not closed back to the servo controller.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #3  
Old 01-03-2010, 03:54 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,455
ger21 is on a distinguished road
Buy me a Beer?

The charge pump in Mach3 was created to keep relays from turning on and off, and the machine from moving, when Mach3 was not running.
__________________
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)
Reply With Quote

  #4   Ban this user!
Old 01-03-2010, 06:46 PM
 
Join Date: Sep 2009
Location: USA
Posts: 160
zeeway is on a distinguished road

So, if i understand this correctly, the watch dog/charge pump function acts as a safety device to keep the muscles (drive/motors) from doing something bad when the brain (PC) suddenly dies? Okay, sounds like I need it to be active. Thanks, guys.
Reply With Quote

  #5  
Old 01-03-2010, 07:18 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,455
ger21 is on a distinguished road
Buy me a Beer?

You shouldn't rely on the Charge Pump alone for safety.

If you only turn your drives on and off while Mach3 is running, then the charge pump won't really do anything for you, unless Mach3 crashes, or you lose power.
__________________
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)
Reply With Quote

Sponsored Links
  #6  
Old 01-03-2010, 07:52 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,540
Al_The_Man is on a distinguished road
Buy me a Beer?

A hardware E-stop string can be wired to take care of all eventualities, so if the W.D./C.P signal is part of it, then you do not have to worry about using it in individual cases.
There is a snag, as if you monitor the E-stop by input to Mach to indicate an external E-stop has taken place, Mach turns off the 12.5khz signal on E_stop, so it becomes a catch 22.
The answer would be to use the E-stop reset P.B. to momentarily turn off the E-stop enable input.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #7   Ban this user!
Old 01-03-2010, 09:12 PM
 
Join Date: Sep 2009
Location: USA
Posts: 160
zeeway is on a distinguished road

Sorry to be so dense...but I am getting confused. I thought the drive could not send a pulse to the motor unless Mach told it to. Hence in my understanding, the drive cannot give a move signal unless Mach is on...unless we are talking about the nanosecond where Mach has told the drive to pulse the motor...and the drive is executing that..and Mach crashes in the meanwhile...?

Hope I am not coming across as a smart aXXX, but I truly do not understand this stuff.
Reply With Quote

  #8   Ban this user!
Old 01-03-2010, 09:43 PM
 
Join Date: Feb 2007
Location: canada
Posts: 619
Larken is on a distinguished road

When a PC is booting up the steppers could jump around when windows is doing Plug and Play. (if the controller was on)
But the most serious thing would be if the spindle turned on randomly (and some one was changing a tool).

Like AL says, If Mach drops the CP signal when you hit the Estop, its good and bad. Its possible to loose machine steps when you enable/disable the Step/Dir driver.

Its a wasted line when you use the CP signal, but its your call.

Larry K
__________________
Manufacturer of CNC routers and Viper Servo Drives
www.LarkenCNC.com and www.Viperservo.com
Reply With Quote

  #9   Ban this user!
Old 01-04-2010, 01:49 AM
phomann's Avatar  
Join Date: Aug 2005
Location: Australia
Posts: 450
phomann is on a distinguished road

Originally Posted by zeeway View Post
So, if i understand this correctly, the watch dog/charge pump function acts as a safety device to keep the muscles (drive/motors) from doing something bad when the brain (PC) suddenly dies? Okay, sounds like I need it to be active. Thanks, guys.
No. This is completely wrong. The original purpose of the Chargepump enable was to overcome the problem of PC's twiddling some of the parallel port output pins when the PC boots.

Depending on what is connected to these pins, you may end up with a spindle temporary turning on and/or spurious step signals being send to you drives. This means that the machine is no longer is the same position that it was when powered down.

The 12.5KHz signal was chosen as at the time Mach1 had a kernel speed of 25KHz, so the 12.5KHz was very easy to generate. The signal was generated whenever mach3 is running.

Later on some people wanted it tied to the Mach3 'Reset' State. In this case, the chargepump enable is now only generated when Mach3 is not in a 'Reset' state. Some people then assumed that this was a signal to use in an EStop situation. They have an EStop button connected to the parallel port via a BOB and have Mach3 stop the Chargepump and disable the drives, spindle etc.

This results in an extremely dangerous setup. The reason you press the estop may be because Mach3 is malfunctioning. When you press it Mach3 may ignore the input, not remove the estop and the drives and spindle keep running.

There is a config option in Mach3's general config tab that allows the Chargepump enable to be present all the time regardless of the 'Reset' State.

I recommend that people configure Mach3 to have the Chargepump signal present all the time Mach3 is running and have a proper EStop circuit that removes power from the drives and spindle when pressed.

If you want, you can have your Estop circuitry inform Mach3 that an EStop condition has occurred, so it also stops. But do not rely on software to execute an Estop.

Cheers,

Peter.
__________________
-------------------------------------------------
Homann Designs - http://www.homanndesigns.com
Reply With Quote

  #10   Ban this user!
Old 01-04-2010, 06:40 AM
 
Join Date: Sep 2009
Location: USA
Posts: 160
zeeway is on a distinguished road

Aha - now maybe I understand. So, when the computer is booting up or crashing, it may generate some spurious signals through the parallel port. If the drive is on during these events, these spurious signals may be interpreted by the drive as signals to turn on the spindle or move an axis a few bumps. The result could be dangerous or inconvenient depending on your setup. So, my understanding is now when the charge pump/watchdog timer signal is present, the drive knows that the computer is fully booted and giving it intentional (not spurious) commands.

So while having the charge pump/watch dog function is optional, it is a good idea to avoid some undesirable effects.

Thanks for all the help... (hope I got it right this time).
Reply With Quote

Sponsored Links
  #11  
Old 01-04-2010, 09:27 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,540
Al_The_Man is on a distinguished road
Buy me a Beer?

Watchdog timers and charge pumps have been used for decades and they were not intended as a primary source of E-Stop but were commonly used in the HARDWIRED e-stop string.
If an E-stop occurs it is customary to cut power to all powered devices and advise the controller that an E-stop has occurred, there is no reason it cannot be done safely.
At some point in time the W.D./C.P. signal has to be detected by hardware, it may as well be in the E-stop.
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #12   Ban this user!
Old 01-04-2010, 06:52 PM
phomann's Avatar  
Join Date: Aug 2005
Location: Australia
Posts: 450
phomann is on a distinguished road

Originally Posted by Al_The_Man View Post
Watchdog timers and charge pumps have been used for decades and they were not intended as a primary source of E-Stop but were commonly used in the HARDWIRED e-stop string.
If an E-stop occurs it is customary to cut power to all powered devices and advise the controller that an E-stop has occurred, there is no reason it cannot be done safely.
At some point in time the W.D./C.P. signal has to be detected by hardware, it may as well be in the E-stop.
Al.
Al,

The watchdog timers and chargepumps you talk about have always been generated via independent hardware/software from the system they are monitoring.

The 12.5KHz signal Mach3 is generating does not fall into the Chargepump category that you described above. It has been incorrectly labelled 'chargepump', that's all.It is in fact an Enable output.

It is the same as the Mach3 input signal in the ports and pins config that has been incorrectly labelled as 'EStop'.

Cheers,

Peter.
__________________
-------------------------------------------------
Homann Designs - http://www.homanndesigns.com
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
Charge Pump cadmonkey LinuxCNC (formerly EMC2) 8 04-06-2010 01:19 AM
charge pump michaelf Benchtop Machines 23 10-25-2009 05:55 PM
charge pump eloid DIY-CNC Router Table Machines 3 01-25-2009 09:14 AM
Charge Pump ??? jack55 General Electronics Discussion 6 04-21-2007 02:59 PM
Charge pump mlaws1172 Screen Layouts, Post Processors & Misc 0 01-03-2006 10:46 PM




All times are GMT -5. The time now is 10:17 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