Originally Posted by
baden0001
You say it is a charge pump, so I am guessing that you have the pc send an output to the charge circuit to drain the cap, but if the cap isn't discharged in time the cap will charge and possibly activate or deactivate a relay that is tied into the E-Stop circuit. Something along those lines?
A charge pump is really simple - it's a relay or solid state switch that is stand alone from the computer and all the other controls (ie it's its own device) and monitors a single pin on the interface for a certain pulse rate. If EMC is running properly that pin will continue to output the pulse rate you've setup in the configuration file (documentation is a bit sketchy on exactly what you get but typically the commercially available CP's aren't that tight on the frequency) and keep the relay (or SS switch) energized powering the drives. If EMC "gets lost" (which I have never had happen - my system specs P3 650MHz, 384MB, on board LPT for motion control and the CP, add on PCI LPT card for limit & homes, a sound card [hey, sometimes you want some tunes when you're doing maintenance...], and a PCI 10/100 card, driving 3 Gecko G203V drives through a DIY high speed opto isolating BOB) the CP signal will stop and the charge pump will in turn shut down the contactor which supplies power to the drives and the spindle, effectively stopping any motion. I've tested it by doing things like pulling a stick of memory, shorting the pin, disconnecting the pin, etc. and it worked each time.
It's nice to be able to boot the computer and do maintenance on the computer (updates, backups, playing some tunes, etc) and not having to worry about the mill being powered up. As soon as EMC starts, the mill is live and ready. Some people choose to have the CP also part of the E-Stop chain - such that if E-stop is pressed, then the CP shuts down also. If I were running big iron - I would too. But on my X3 I feel my sequence of operation is safe.
HTH - YMMV
Greg
edit - forgot I have onboard video too (typically a no-no but the bios on this machine won't let me turn it off so even if I put in a different card it still runs the onboard video.
And in case you got overloaded with my windy explanation I'll answer the thread question - EMC has NEVER died on me during a run or at idle, as long as the computer boots, it runs. Never had to hard reset or pull the plug - this is steppers not servos, but EMC is still counting pulses like an encoder, just instead of an encoder being used, the stepper configurations tie the step pulse generator to the counter so as far as the internal code goes, it's not a big difference.
/edit
Every day is a learning process, whether you remember yesterday or not is the hard part.
www.distinctperspectives.com