![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Hello all, I have been lurking around cnczones forums for a while, trying to gather information about EMC2 and CamSoft. From what I gather EMC2 closes the servo loop at the CPU processor, while CamSoft can close the loop at a PCI based motion controller. So if the CPU crashes the PCI card will finish its commands but not continue on after that. My question is this. For those people that have used EMC2, have you ever experienced a CPU failure and what was the effects on the machine that was being ran with it? Thanks, Will Baden |
|
#2
| |||
| |||
| If the computer/hadware is setup correctly.. The second the watchdog/charge pump circuit detects that the computer isn't there anymore - the machine will go into estop. That being said. I can't think of one time that emc 'crashed' on me and or caused a bad part (that wasn't caused by me ).sam |
|
#3
| |||
| |||
| Sam How do you have the watchdog timer setup? Is it watching power to the pc, or actually watching a thread in the pc? 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? Thanks for the fast response, Will Baden |
|
#4
| |||
| |||
| I'm most familiar with Mesa's Anything I/O boards, which connect to the host PC via PCI or EPP. On these boards (with the hostmot2 firmware), the watchdog runs on the FPGA on the AnyIO board. The emc2 servo loop resets the watchdog each time it runs. The watchdog timeout is configurable from microseconds up to about four seconds. A watchdog timeout of a few times the servo period is normal. With this setup, if emc2's servo loop stops communicating with the AnyIO board (due to the PC crashing, or emc2 crashing or locking up, etc), the watchdog will bite. When it bites, the watchdog safes the system by switching all the I/O pins to high-impedance mode, weakly pulled high. The motor amplifiers "downstream" should use an active-low enable, so that the pulled-high "NotEnable" pin causes the motor to shut off. Hope this makes sense... |
|
#5
| ||||
| ||||
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 |
| Sponsored Links |
|
#6
| |||
| |||
| Thanks seb and cadmonkey, you guys answered my question about the watchdog timer. Both ways seem logical to me. Also, cadmonkey, knowing that you havent had the operating system crash is what I was looking for in this thread. Thanks. Right now the company I am working for is looking to retrofit an old Okuma LS-N possibly. We are looking for any and all options and trying to weigh them against safety, ease of use and how fixable in case of cpu failure. Thanks, Will Baden |
|
#7
| |||
| |||
I have been looking into this setup a little more and wonder what all drivers are needed for these cards (particularly 5i20) to run with EMC2? Thanks, Will Baden |
|
#8
| |||
| |||
| There are two things called "drivers". One is software that runs on the PC and talks to the motion control hardware, and the other is electronics that provides power to the motors. There are currently two software drivers in emc2 for talking to the 5i20. The older, more stable one is called m5i20. This one has been widely used for a long time, but it's somewhat limited in its capabilities. The other one is called hostmot2. This one is pretty new, but working well for lots of people. These two drivers let emc2 talk to the 5i20 (hostmot2 supports all the other AnyIO boards as well). But the AnyIO boards by themselves can't drive motors, you need the other kind of driver for that: a power amplifier. There are tons of options here, and your needs will dictate which you choose. Mesa sells amps for both steppers (7i32) and servos (7i33, 7i29, etc). Lots of other hardware manufacturers sell power amps, Gecko being perhaps the most well-known. |
|
#9
| |||
| |||
| But since you did bring up Amplifier drivers for the servos, which did you end up using? We are looking to use possibly the OKUMA drivers but that is looking like it wont work out. May end up using Advanced Motion Control Servo Drives. Thanks, Will Baden |
|
#10
| |||
| |||
![]() I'm leaning towards the Mesa 7i29. |
| Sponsored Links |
|
#11
| |||
| |||
| the mesa hardware can do pwm+dir or +/-10v depending on the interface. That really covers the bulk of drives that are out there. The new mesa driver (hostmot2) will also do hardware step/direction. (I would not use this though for servos as encoder feedback to emc is a much better solution) |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need Help!- EMC2 | Jamy | LinuxCNC (formerly EMC2) | 32 | 08-17-2009 11:03 PM |
| EMC2 | Jamy | General CAD Discussion | 2 | 12-11-2008 12:02 AM |
| Need Help!- M8 still not being red by EMC2 | SpeedsCustom | LinuxCNC (formerly EMC2) | 27 | 04-13-2008 03:36 PM |
| EMC2 to diy CNC | dakiller322 | LinuxCNC (formerly EMC2) | 11 | 10-05-2007 12:16 AM |
| emc2 -hal*? | essa | LinuxCNC (formerly EMC2) | 3 | 05-27-2006 12:06 PM |