Re: [Emc-users] Can I bounce this idea off the list?

2012-02-09 Thread andy pugh
On 9 February 2012 09:36, gene heskett ghesk...@wdtv.com wrote: Or perhaps there is a re-triggerable one shot module? http://www.linuxcnc.org/docview/html/man/man9/oneshot.9.html Now this looks pretty good. I presume it could run at BASE_THREAD rate, or is it servo thread only? It is

Re: [Emc-users] Can I bounce this idea off the list?

2012-02-09 Thread gene heskett
On Thursday, February 09, 2012 05:34:14 AM andy pugh did opine: On 9 February 2012 09:36, gene heskett ghesk...@wdtv.com wrote: Or perhaps there is a re-triggerable one shot module? http://www.linuxcnc.org/docview/html/man/man9/oneshot.9.html Now this looks pretty good. I presume it

Re: [Emc-users] Can I bounce this idea off the list?

2012-02-09 Thread Ben Jackson
On Thu, Feb 09, 2012 at 11:23:47AM +0200, andy pugh wrote: It is servo-thread only as it uses floating-point. I am not entirely sure why. Aha, that's why I added the laser-thread in my HAL: A base-period thread with FP allowed. On a modern CPU it's no big deal. -- Ben Jackson AD7GD

Re: [Emc-users] Can I bounce this idea off the list?

2012-02-09 Thread gene heskett
On Thursday, February 09, 2012 12:38:04 PM Ben Jackson did opine: On Thu, Feb 09, 2012 at 11:23:47AM +0200, andy pugh wrote: It is servo-thread only as it uses floating-point. I am not entirely sure why. Aha, that's why I added the laser-thread in my HAL: A base-period thread with FP

Re: [Emc-users] Can I bounce this idea off the list?

2012-02-09 Thread Eric Keller
On Thu, Feb 9, 2012 at 12:39 PM, gene heskett ghesk...@wdtv.com wrote: I wonder if that is a hangover from when most computers needed a floating point chip installed? no, a context switch involving a FP processor was expensive time-wise, older systems couldn't afford it. Not sure if the

Re: [Emc-users] Can I bounce this idea off the list?

2012-02-09 Thread Kirk Wallace
On Thu, 2012-02-09 at 12:39 -0500, gene heskett wrote: On Thursday, February 09, 2012 12:38:04 PM Ben Jackson did opine: On Thu, Feb 09, 2012 at 11:23:47AM +0200, andy pugh wrote: It is servo-thread only as it uses floating-point. I am not entirely sure why. Aha, that's why I added

Re: [Emc-users] Can I bounce this idea off the list?

2012-02-09 Thread gene heskett
On Thursday, February 09, 2012 01:58:53 PM Kirk Wallace did opine: On Thu, 2012-02-09 at 12:39 -0500, gene heskett wrote: On Thursday, February 09, 2012 12:38:04 PM Ben Jackson did opine: On Thu, Feb 09, 2012 at 11:23:47AM +0200, andy pugh wrote: It is servo-thread only as it uses

Re: [Emc-users] Can I bounce this idea off the list?

2012-02-09 Thread Jon Elson
gene heskett wrote: On Thursday, February 09, 2012 12:38:04 PM Ben Jackson did opine: On Thu, Feb 09, 2012 at 11:23:47AM +0200, andy pugh wrote: It is servo-thread only as it uses floating-point. I am not entirely sure why. Aha, that's why I added the laser-thread in my

Re: [Emc-users] Can I bounce this idea off the list?

2012-02-09 Thread Jon Elson
Kirk Wallace wrote: My understanding is, it is because RTAI (loadrt) has no floating point functions. Floating point has to be done in userland (loadusr). But now that I mention it, then why would one specify even a servo thread? I guess I don't have an understanding. No, sorry. The servo

[Emc-users] Can I bounce this idea off the list?

2012-02-08 Thread gene heskett
Greetings all; I have now managed to wreck 3 or 4 half completed attempts at this board by typu's in my code driving the tapered hole probe too far, so I have turned to the contact probes construction. 1. Assume the spindle carrying the ground is turning 2-400 rpms so that any runnout is

Re: [Emc-users] Can I bounce this idea off the list?

2012-02-08 Thread Ben Jackson
On Wed, Feb 08, 2012 at 03:06:51PM -0500, gene heskett wrote: 2. The response to a true from the probe is at worst the servo threads lag to get the stopping initiated. So I do 2 probes, one at say 4ipm, back up a bit, 0.010 maybe, and redo it at say .2 ipm for a final G38.2 snapshot

Re: [Emc-users] Can I bounce this idea off the list?

2012-02-08 Thread gene heskett
On Wednesday, February 08, 2012 06:32:13 PM Ben Jackson did opine: On Wed, Feb 08, 2012 at 03:06:51PM -0500, gene heskett wrote: 2. The response to a true from the probe is at worst the servo threads lag to get the stopping initiated. So I do 2 probes, one at say 4ipm, back up a bit,

Re: [Emc-users] Can I bounce this idea off the list?

2012-02-08 Thread Ben Jackson
On Wed, Feb 08, 2012 at 06:38:48PM -0500, gene heskett wrote: If you are using stepgen underneath you can capture the position at the base period instead. It's tricky in 2.4 (to cancel out the zero offsets) but I think someone brought out a simpler pin in 2.5. I use that trick to get

Re: [Emc-users] Can I bounce this idea off the list?

2012-02-08 Thread gene heskett
On Wednesday, February 08, 2012 07:05:59 PM Ben Jackson did opine: On Wed, Feb 08, 2012 at 06:38:48PM -0500, gene heskett wrote: If you are using stepgen underneath you can capture the position at the base period instead. It's tricky in 2.4 (to cancel out the zero offsets) but I think

Re: [Emc-users] Can I bounce this idea off the list?

2012-02-08 Thread Ben Jackson
On Wed, Feb 08, 2012 at 07:08:51PM -0500, gene heskett wrote: https://github.com/bjj/2x_laser/blob/master/2x_Laser.hal I had to go back to the top of it where you renamed the BASE_THREAD to make sense out of it, but now I see how its done. Kewl, thanks bookmarked, Ben.

Re: [Emc-users] Can I bounce this idea off the list?

2012-02-08 Thread andy pugh
On 9 February 2012 01:38, gene heskett ghesk...@wdtv.com wrote: And I know there is a debounce gizmo I have not studied yet, can it be made suitably slow at going back false only? http://www.linuxcnc.org/docview/html/man/man9/debounce.9.html Or perhaps there is a re-triggerable one shot

Re: [Emc-users] Can I bounce this idea off the list?

2012-02-08 Thread gene heskett
On Thursday, February 09, 2012 02:22:45 AM andy pugh did opine: On 9 February 2012 01:38, gene heskett ghesk...@wdtv.com wrote: And I know there is a debounce gizmo I have not studied yet, can it be made suitably slow at going back false only?