Re: [Emc-users] How to delay spindle-at-speed

2015-05-15 Thread Mark Johnsen
ohn K for editing that manual at the LinuxCNC fest in Houston last year. Mark > > > -- > > Message: 4 > Date: Fri, 15 May 2015 09:57:11 +0100 > From: andy pugh > Subject: Re: [Emc-users] How to delay spindle-at-speed > To: &

Re: [Emc-users] How to delay spindle-at-speed

2015-05-15 Thread Scott Salrin
My printer will do 13" x 19" and the machine is a simple gantry router with a 4th axis rotary, ought to be big enough, even for these tired old eyes. Sounds a perfect solution, at least to better understand what's there now, before I go re-routing spindle control... LOL On Fri, May 15, 2015 at 9:0

Re: [Emc-users] How to delay spindle-at-speed

2015-05-15 Thread Gene Heskett
On Friday 15 May 2015 08:40:07 Scott Salrin wrote: > You just did Gene... Now my head hurts, Oh dear, I was afraid of that. :) > and all I know so far is it is > a species of penguin :) , and a linuxcnc websocket. The penguins are > adorable... The web browser doesn't normally have enough magni

Re: [Emc-users] How to delay spindle-at-speed

2015-05-15 Thread Scott Salrin
You just did Gene... Now my head hurts, and all I know so far is it is a species of penguin :) , and a linuxcnc websocket. The penguins are adorable... On Thu, May 14, 2015 at 7:49 PM, Gene Heskett wrote: > On Thursday 14 May 2015 14:11:22 Scott Salrin wrote: > > Andy, it certainly flows like pr

Re: [Emc-users] How to delay spindle-at-speed

2015-05-15 Thread alex chiosso
Hi Andy , thank you for the reply. It's not the matter of change the discussion object . But when somebody as expert as you are is writing an important concept I would like to understand it properly. Sorry ... On Fri, May 15, 2015 at 10:57 AM, andy pugh wrote: > On 15 May 2015 at 07:26, alex ch

Re: [Emc-users] How to delay spindle-at-speed

2015-05-15 Thread andy pugh
On 15 May 2015 at 07:26, alex chiosso wrote: > And when an where the logic elaboration should be ? There isn't any HAL logic elaboration as you seem to be describing it. All the HAL logic is handled by individual components. Those components read their inputs and update their outputs one by one

Re: [Emc-users] How to delay spindle-at-speed

2015-05-14 Thread alex chiosso
Hi to all. Andy , please , can you be more precise on this definition : > It reads that way, but that isn't how it runs. Every component reads > its inputs and updates its outputs exactly in the order they are > "addf"-ed to a thread, and they do that every time the thread runs. And when an wher

Re: [Emc-users] How to delay spindle-at-speed

2015-05-14 Thread Gene Heskett
On Thursday 14 May 2015 14:11:22 Scott Salrin wrote: > Andy, it certainly flows like programming... Maybe I'll try charting > like John suggests. I never was any good at logic... Duh. Guys, do we dare mention rockhopper to this new bee? > > On Thu, May 14, 2015 at 12:00 PM, Andy Pugh wrote: > >

Re: [Emc-users] How to delay spindle-at-speed

2015-05-14 Thread Gene Heskett
On Thursday 14 May 2015 08:19:38 John Alexander Stewart wrote: > Tomaz; > > I had the same problem: > > http://cnc-for-model-engineers.blogspot.ca/2014/01/spindle-ramping-up- >to-speed.html > > The solution (as found in my blog page above): > > http://linuxcnc.org/docs/html/examples/spindle.html#

Re: [Emc-users] How to delay spindle-at-speed

2015-05-14 Thread andy pugh
On 14 May 2015 at 19:11, Scott Salrin wrote: > Andy, it certainly flows like programming. It reads that way, but that isn't how it runs. Every component reads its inputs and updates its outputs exactly in the order they are "addf"-ed to a thread, and they do that every time the thread runs. (typi

Re: [Emc-users] How to delay spindle-at-speed

2015-05-14 Thread Scott Salrin
Andy, it certainly flows like programming... Maybe I'll try charting like John suggests. I never was any good at logic... On Thu, May 14, 2015 at 12:00 PM, Andy Pugh wrote: > > > > On 14 May 2015, at 17:36, John Alexander Stewart > wrote: > > > > Scott - Hal was a bit of a problem to learn for

Re: [Emc-users] How to delay spindle-at-speed

2015-05-14 Thread Todd Zuercher
Does your VFD have an at speed signal to use? Most of the VFDs I have used have a digital output that indicate when they've finished their ramp up the speed. I have had pretty good luck connecting that to the motion.spindle-at-speed input. It isn't perfect, but works good enough for me.

Re: [Emc-users] How to delay spindle-at-speed

2015-05-14 Thread Andy Pugh
> On 14 May 2015, at 17:36, John Alexander Stewart wrote: > > Scott - Hal was a bit of a problem to learn for me, too. But then one day > it "clicked" and now it's not really a problem It possibly helps to realise that it isn't a programming language, even if it looks like one. A HAL file is

Re: [Emc-users] How to delay spindle-at-speed

2015-05-14 Thread Scott Salrin
LOL yeah, John, I had a click when I got the MPG working, without overriding the spindle speed meter. LOL again. The other noises I thought to be clicks ended up just being my bad knees... I appreciate the words of encouragement. This community never fails to amaze me, I love being a small part. O

Re: [Emc-users] How to delay spindle-at-speed

2015-05-14 Thread John Alexander Stewart
Scott - Hal was a bit of a problem to learn for me, too. But then one day it "clicked" and now it's not really a problem. Syntax still is a bit of a mystery at times, so I'm not near the Hal expert that many on the list is. Keep at it, and you'll have more and more fist pumping "Yeah!" moments. ;-

Re: [Emc-users] How to delay spindle-at-speed

2015-05-14 Thread Scott Salrin
It's only been 2 weeks with linuxcnc for me, and I'm using G4. I wish I had a shallower learning curve. Speed based delay is exactly the solution I need Hal still eludes me... On Thu, May 14, 2015 at 7:19 AM, John Alexander Stewart wrote: > Tomaz; > > I had the same problem: > > > http://cnc-for

Re: [Emc-users] How to delay spindle-at-speed

2015-05-14 Thread John Alexander Stewart
Tomaz; I had the same problem: http://cnc-for-model-engineers.blogspot.ca/2014/01/spindle-ramping-up-to-speed.html The solution (as found in my blog page above): http://linuxcnc.org/docs/html/examples/spindle.html#_spindle_soft_start FYI - when I put a Mesa 5i25 in there, I accurately figured

Re: [Emc-users] How to delay spindle-at-speed

2015-05-14 Thread Gene Heskett
On Thursday 14 May 2015 05:54:42 Tomaz T. wrote: > I don't have encoder feedback from spindle and in 99% times I'm using > same rpm speed, so I know how long it takes spindle to reach > programmed rpms... > > Is there a way to delay motion.spindle-at-speed for few seconds, > before it proceeds with

Re: [Emc-users] How to delay spindle-at-speed

2015-05-14 Thread andy pugh
On 14 May 2015 at 10:54, Tomaz T. wrote: > Is there a way to delay motion.spindle-at-speed for few seconds, before it > proceeds with g-code? Yes, you can use timedelay: http://www.linuxcnc.org/docs/html/man/man9/timedelay.9.html loadrt... addf... net spindle-on motion.spindle-on => timedelay