Re: [Emc-users] Can EMC2/HAL access the Computer Clock for period and rate calculations?

2010-12-04 Thread Przemek Klosowski
On Sat, Dec 4, 2010 at 1:43 PM, Don Stanley wrote: > I need to monitor and control the rate of a motor for a fixed RPM. > As suggested by John K, I'm thinking to use the computer clock as > a time base. > > Apparently I have looked in all the wrong places to find how to > access the computer time.

Re: [Emc-users] Watchdog Sizing

2010-12-04 Thread Erik Christiansen
On Sat, Dec 04, 2010 at 09:04:54AM -0800, Kirk Wallace wrote: > Then I got to thinking about what Slavko mentioned previously, > about this is a safety device and I should think in terms of how it > could fail. So long as the microcontroller's on-board watchdog is enabled, you have a watchdog watc

Re: [Emc-users] Following errors in cold weather???

2010-12-04 Thread Jon Elson
Igor Chudov wrote: > I have a Bridgeport Series II Interact 2 mill. > > In summer, I converted it to EMC2 and was very happy. > > It is in my garage. > > Right now ti is a little colder, I would say 30 degrees outside. > > When I home now, I get following errors, I had to decrease the X speed > fro

Re: [Emc-users] Following errors in cold weather???

2010-12-04 Thread Don Stanley
Hi Igor; My first guess would be the oil and/or bearing grease. I'm not familiar with with the series II but I doubt they would have used dissimilar metals with cool shrink rates that would cause binding. I have switched my oiling systems to "Mobile DTE OIL Heavy Medium ISO VG 68". It is used in T

[Emc-users] Following errors in cold weather???

2010-12-04 Thread Igor Chudov
I have a Bridgeport Series II Interact 2 mill. In summer, I converted it to EMC2 and was very happy. It is in my garage. Right now ti is a little colder, I would say 30 degrees outside. When I home now, I get following errors, I had to decrease the X speed from 90 IPM to 30 IPM. Could it be re

Re: [Emc-users] How fast can EMC read an input pin

2010-12-04 Thread Jon Elson
Colin K wrote: > Anyway, I went down tonight and put a .0005" indicator on and homed it a few > times to see what happened. The needle snapped back to precisely the center > of the 0 line every time. I imagine it's possible that the zero point will > drift over time as the mechanism ages, but these

[Emc-users] Can EMC2/HAL access the Computer Clock for period and rate calculations?

2010-12-04 Thread Don Stanley
Hi All; I need to monitor and control the rate of a motor for a fixed RPM. As suggested by John K, I'm thinking to use the computer clock as a time base. Apparently I have looked in all the wrong places to find how to access the computer time. Thanks for any clue. Don

Re: [Emc-users] Watchdog Sizing

2010-12-04 Thread Kirk Wallace
On Sat, 2010-12-04 at 09:38 -0800, Peter C. Wallace wrote: ... snip > Maybe a simple watchdog that avoids the noise trigger issue would be a DPLL > that locks onto the chargepump signal. Once locked it enables its output and > stops rate tracking. Any subsequent variation in rate (beyond some mar

Re: [Emc-users] Watchdog Sizing

2010-12-04 Thread Peter C. Wallace
> Changing track, again, the charge pump signal may not be the best thing > to use, because all it would take is noise on the line to mimic the > pump. I think I should make some sort of data pump component, such as > send out a byte every servo period, then have the watchdog watcher check > for th

Re: [Emc-users] Watchdog Sizing

2010-12-04 Thread Kirk Wallace
On Sat, 2010-12-04 at 09:16 -0500, Kenneth Lerman wrote: > I would use a single pin for communication to the host with some variant > of the one-wire protocol used by iButtons. > > It is simple, elegant, and relatively insensitive to timing. > > Ken USB is attractive because I can get a cheap A

Re: [Emc-users] Watchdog Sizing

2010-12-04 Thread Kirk Wallace
On Sat, 2010-12-04 at 20:30 +1100, Erik Christiansen wrote: ... snip > Oh, it's enough for what you want to do now. But ISTR a home switch + > index filter, on the other thread. It can do that too, if pins can be > found. But then there's the extra functionality we just have to have, > when we're n

Re: [Emc-users] How fast can EMC read an input pin

2010-12-04 Thread Tom Easterday
On Dec 2, 2010, at 10:35 AM, wrote: > As I mentioned before - We home using 2 micro switches. one switch is on the > linear slide and one is on the timing gear. > > http://www.electronicsam.com/images/KandT/homesw.jpeg > > the 2 switches are hooked in series. so when the linear closes the

Re: [Emc-users] Watchdog Sizing

2010-12-04 Thread Kenneth Lerman
I would use a single pin for communication to the host with some variant of the one-wire protocol used by iButtons. It is simple, elegant, and relatively insensitive to timing. Ken On 12/04/2010 04:30 AM, Erik Christiansen wrote: > On Fri, Dec 03, 2010 at 07:54:57PM -0800, Kirk Wallace wrote:

Re: [Emc-users] Watchdog Sizing

2010-12-04 Thread Erik Christiansen
On Fri, Dec 03, 2010 at 07:54:57PM -0800, Kirk Wallace wrote: > > I really had no idea if the memory would be enough. I would have worked > on it until I went blind in one eye. Oh, it's enough for what you want to do now. But ISTR a home switch + index filter, on the other thread. It can do that

Re: [Emc-users] Watchdog Sizing

2010-12-04 Thread Slavko Kocjancic
Just my 2 cents... For watchdog thing I think the ATtiny is just overkill. That kind of operation can be done with simple 555 timer or even few diodes and transistor. Don't get me wrong. The ATtiny (15L) for example can do that job but as safety device the any micro isn't good way. And if system