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! > MetalWorking Machines > Benchtop Machines


Benchtop Machines Discuss all mini mills sherline, taig, square column, round column and CNC mill conversions here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 10-11-2009, 06:43 PM
 
Join Date: Jun 2009
Location: Australia
Posts: 26
michaelf is on a distinguished road
charge pump

Hi all,
You’ll have to excuse my ignorance here but I’m very new to CNC.
I have an X2 on which I have installed a belt drive, CNCfusion #4 ball screw kit, Nema23 381 oz-in stepper motors, a Gekodrive G540 and I am using Mach3.
I’m at the stage of wiring the motors up to the drive unit and setting up Mach3.
My question is what is a "charge pump"?? Is it something to turn on a coolant pump “if you have one” or does it apply to something else? Do I need to have it switched on or off if I don’t have a coolant pump?
Thanks
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 10-11-2009, 08:00 PM
 
Join Date: Mar 2009
Location: USA
Posts: 950
Starleper1 is on a distinguished road
Buy me a Beer?

Its basically a safety device on the G540 to keep electrical noise from making unwanted moves of your stepper motors. I have the G540 and have the charge pump switched off and have never had any issues with any motors moving.
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 10-11-2009, 08:32 PM
 
Join Date: Jun 2009
Location: Australia
Posts: 26
michaelf is on a distinguished road

Starleper1, Thanks for the prompt reply. "so much information, so little time"
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 10-11-2009, 11:38 PM
 
Join Date: May 2009
Location: united States
Age: 36
Posts: 129
ibuildstuff4u is on a distinguished road

It has nothing to do with the coolant pump, but is a safety circuit designed so your machine can't move until it's under control by the Mach software.

Mach sends a signal to a breakout board telling the board that is has control of the machine. This signal tells the breakout board that the computer is on and Mach software is up and running which will allow your breakout board to send power to your stepper drives and spindle board if wired correctly. You have to have a breakout board that has this feature and the board has to be wired up to take advantage of this feature. It is not just a setting in the software.

I have a sound logic breakout board which supports this feature. I wired my board to send the machine into an E-Stop condition when it does not have the charge pump signal. My machine is wired so the stepper drives and spindle controller will not get power in an E-stop condition, but every machine is different so this can't be assumed. I'm guessing that the G540 has a build in breakout board? If so you will have to check with the instructions and see if it supports the charge pump feature and how it works with this specific board.

Hope that helps.

Dale P.
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 10-13-2009, 10:43 AM
 
Join Date: Mar 2009
Location: USA
Posts: 950
Starleper1 is on a distinguished road
Buy me a Beer?

The G540 has a built in Charge Pump as well as a built in BOB. There is a dip switch on the back to turn it on and off.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 10-13-2009, 12:07 PM
Jeff-Birt's Avatar  
Join Date: Feb 2007
Location: USA
Posts: 392
Jeff-Birt is on a distinguished road

Just to be clear, the 'Charge Pump' describes a type of circuit that was originally designed to sense the 10kHz signal that Mach outputs to say "I'm in control". When you enable the 'Charge Pump' in Mach you are telling it to output the 10 Khz signal when ever Mach is running (and optionally during E-Stop condition or not.)

So the 'Charge Pump' output signal from Mach is just an interlock of sorts to give your control the thumbs up to start powering things up. It prevents the things in your machine from turning on as the computer boots, as during the boot process the pins on an parallel port can be in an unknown (HI or LOW) state.

The 'Charge Pump' signal is not a safety device though. It should not be relied upon to work as an E-Stop.
__________________
Jeff Birt
Tweet this Post!Share on Facebook
Reply With Quote

  #7  
Old 10-13-2009, 12:35 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,714
Al_The_Man is on a distinguished road
Buy me a Beer?

I would see the signal that Mach outputs as similar to what many systems have used in the past and more commonly used to keep a Watchdog timer reset, rather than a charge pump, but the effect is the same.
I would think putting it in any hard wired E-stop circuits, would not only prevent any operation until power up, but also if the PC were to crash or happen to go into the BSOD while running, also shut the operating systems down, and also maybe easier to implement?
This to me would give it a wider scope.
Al.
__________________
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
(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

  #8   Ban this user!
Old 10-13-2009, 02:22 PM
Jeff-Birt's Avatar  
Join Date: Feb 2007
Location: USA
Posts: 392
Jeff-Birt is on a distinguished road

An 'E-Stop' is a very specific type of circuit, a safety circuit. It's job is to stop a machine when things go wrong it can be initiated by an operator or by a control sensing an error condition, like a limit switch being triggered. Think of an E-Stop as a several NC switches wired in series. Each switch as to be in its normal unswitched state (closed) for the circuit to completed and things to work. Even a wire in this circuit is damaged it will break the circuit and cause an E-Stop condition.

The problem comes about when folks think they can use Mach and the charge pump to be the instigator of all things E-Stop. In other-words you have a switch hooked up to an input in Mach and set up in Ports & Pins as the E-Stop input. THEN you depend on Mach to quit outputting the chargepump signal in order for your BOB or other chargepump receiver to remove power from the drives. That is a very dangerous condition as the entire E-Stop system relies on a PC and a piece of software to always function properly in order for the E-Stop to work.

An E-Stop circuit should be able to do its job no matter what is going wrong. That is why I suggest using the Charge Pump signal as an Enable not as a safety device.
__________________
Jeff Birt
Tweet this Post!Share on Facebook
Reply With Quote

  #9  
Old 10-13-2009, 02:35 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,714
Al_The_Man is on a distinguished road
Buy me a Beer?

This is why I mentioned hard wired into the E-stop.
I agree the true E-stop circuit should be a hard wired circuit, the watchdog/charge pump relay contact can be an AND'd part of the string.
This has been done for many years now on industrial systems.
If the electrical code was applied to anyones emergency stop, then ALL motion devices would have the power removed.
I know the hobbiest community does not have to conform to the electrical code, but safety relays are becoming more prevalent and soon may be the code.
Al.
__________________
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
(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

  #10   Ban this user!
Old 10-13-2009, 06:13 PM
 
Join Date: Jun 2009
Location: Australia
Posts: 26
michaelf is on a distinguished road

Thanks everybody for all the information.
Some more questions, should I be turning things on in any particular sequence? Meaning should I be turning the controller on before the PC or vice versa, should I be turning the controller on with the e-stop push in?
My problem at the moment is that if I have the charge pump switched on and the switches set in Mach3 as recommended by Geko I get a red error light, if I switch the charge pump off on the Geko I get a green light. However, I can toggle the arrow keys and see movement on the DRO's, but nothing happens at the stepper motors, where should I be doing or where should looking to prevent the red error light from coming on, what haven’t I done?
I did load the setup file from Geko but there where too many things included in that file that I am not using at this stage, so I made my own settings to Mach3 as required, even so I still can’t get any movement out of the steppers.
Mike
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 10-13-2009, 06:51 PM
Jeff-Birt's Avatar  
Join Date: Feb 2007
Location: USA
Posts: 392
Jeff-Birt is on a distinguished road

Sounds like you don't have Mach set up right. I would suggest using the Gecko supplied Mach profile and just disabling any axis that you are not currently using.
__________________
Jeff Birt
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 10-13-2009, 07:34 PM
phomann's Avatar  
Join Date: Aug 2005
Location: Australia
Posts: 442
phomann is on a distinguished road

Originally Posted by michaelf View Post
Thanks everybody for all the information.
Some more questions, should I be turning things on in any particular sequence? Meaning should I be turning the controller on before the PC or vice versa, should I be turning the controller on with the e-stop push in?
My problem at the moment is that if I have the charge pump switched on and the switches set in Mach3 as recommended by Geko I get a red error light, if I switch the charge pump off on the Geko I get a green light. However, I can toggle the arrow keys and see movement on the DRO's, but nothing happens at the stepper motors, where should I be doing or where should looking to prevent the red error light from coming on, what haven’t I done?
I did load the setup file from Geko but there where too many things included in that file that I am not using at this stage, so I made my own settings to Mach3 as required, even so I still can’t get any movement out of the steppers.
Mike

Hi Mike,

What you need to do is go into Machs general config and tick the Charge Pump in EStop checkbox.

That should fix it.

Cheers,

Peter.
__________________
-------------------------------------------------
Homann Designs - http://www.homanndesigns.com
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Charge Pump cadmonkey LinuxCNC (formerly EMC2) 8 04-06-2010 02:19 AM
charge pump eloid DIY-CNC Router Table Machines 3 01-25-2009 10:14 AM
Charge Pump ??? jack55 General Electronics Discussion 6 04-21-2007 03:59 PM
Diy Charge Pump Circuit? zigmart General Electronics Discussion 6 03-18-2007 08:28 PM
Charge pump mlaws1172 Screen Layouts, Post Processors & Misc 0 01-03-2006 11:46 PM




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