Re: [Emc-developers] time delay hal component for lube pump

2022-11-24 Thread Hans Unzner
Good idea to make the lubrication based on the travelled distance. Here you find a solution in Python you could adapt. It saves the accumulated distance in a file and shows some statistics: https://forum.linuxcnc.org/gmoccapy/40709-gmocappy-clock?start=50#203809 Am Do., 24. Nov. 2022 um 10:19

Re: [Emc-developers] time delay hal component for lube pump

2022-11-24 Thread Steffen Möller
How close is http://linuxcnc.org/docs/html/man/man9/oneshot.9.html to what you need? Should we possibly extend it for whatever is missing? And/or should the description of oneshot improve? > Von: "Feral Engineer" > Classicladder is awesome for this  That is what I also thought.

Re: [Emc-developers] time delay hal component for lube pump

2022-11-24 Thread Stefan Freisei Muehlbacher
Some time ago, I have written a small component which pulses at machine-start if last lubrication was a configurable time away. Next pulse is done if the way the machine has made in sum of moving of the three axis hits a configurable limit (or even if the last lubrication is too long ago

Re: [Emc-developers] time delay hal component for lube pump

2022-11-22 Thread andy pugh
On Tue, 22 Nov 2022 at 15:36, Chad Woitas wrote: > > > Could just use iocontrol by the sounds of it > http://linuxcnc.org/docs/devel/html/config/iov2.html I don't believe that the oicontrol.0.lube-on signal pulses, which I think was required. I can think of at least three ways to generate a

Re: [Emc-developers] time delay hal component for lube pump

2022-11-22 Thread Chad Woitas
ubject: [Emc-developers] time delay hal component for lube pump Hello, all, I need a hal component for a lube pump. What I am looking for is more like a one-shot than the existing timedelay component. timedelay seems to be able to delay the start or the end of a signal, but output will follow the

Re: [Emc-developers] time delay hal component for lube pump

2022-11-21 Thread gene heskett
On 11/21/22 18:23, Andy Pugh wrote: On 21 Nov 2022, at 21:17, Jon Elson wrote: Anybody know a better way to do this? How about a really slow, low duty-cycle pwmgen I have no idea how long the silicon tube in a $10 (ebay when I bought a 4 pack expecting short life, but 3 years later

Re: [Emc-developers] time delay hal component for lube pump

2022-11-21 Thread Phill Carter
> On 22 Nov 2022, at 12:35 pm, Jon Elson wrote: > > On 11/21/22 17:13, Feral Engineer wrote: >> Classicladder is awesome for this  > But, way overkill for just one function. > Maybe I should use timedelay as a template and write my own one-shot > component. There is an existing oneshot

Re: [Emc-developers] time delay hal component for lube pump

2022-11-21 Thread Jon Elson
On 11/21/22 17:13, Feral Engineer wrote: Classicladder is awesome for this  But, way overkill for just one function. Maybe I should use timedelay as a template and write my own one-shot component. Jon ___ Emc-developers mailing list

Re: [Emc-developers] time delay hal component for lube pump

2022-11-21 Thread Andy Pugh
> On 21 Nov 2022, at 21:17, Jon Elson wrote: > > Anybody know a better way to do this? How about a really slow, low duty-cycle pwmgen ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net

Re: [Emc-developers] time delay hal component for lube pump

2022-11-21 Thread Feral Engineer
Classicladder is awesome for this  Phil T. The Feral Engineer Check out my LinuxCNC tutorials, machine builds and other antics at www.youtube.com/c/theferalengineer Help support my channel efforts and coffee addiction: www.patreon.com/theferalengineer Order one of the coolest label makers on

[Emc-developers] time delay hal component for lube pump

2022-11-21 Thread Jon Elson
Hello, all, I need a hal component for a lube pump. What I am looking for is more like a one-shot than the existing timedelay component. timedelay seems to be able to delay the start or the end of a signal, but output will follow the input after the delays occur. I wanted a component that