Re: [Emc-users] Simple, adjustable timer

2015-03-23 Thread alex chiosso
Hi Viesturs. The component has its own doc embedded into the comp file. So if you install it completely you will have the man page available into a terminal window. Alex On Mon, Mar 23, 2015 at 3:25 PM, Viesturs Lācis wrote: > Thank you very much, looks really good! > > Viesturs > > > 2015-03-2

Re: [Emc-users] Simple, adjustable timer

2015-03-23 Thread Viesturs Lācis
Thank you very much, looks really good! Viesturs 2015-03-23 12:51 GMT+02:00 alex chiosso : > Hi Viesturs. > > Finally I can send to you the HAL component for the "blink" function as I > explained before. > This is my first component I wrote so for sure somebody else can do it > better than

Re: [Emc-users] Simple, adjustable timer

2015-03-23 Thread alex chiosso
Hi Viesturs. Finally I can send to you the HAL component for the "blink" function as I explained before. This is my first component I wrote so for sure somebody else can do it better than I did . Anyway let me know if this component is useful for your needs (for me it is) . ;-) . You have to

Re: [Emc-users] Simple, adjustable timer

2015-03-23 Thread Mark Wendt
On Mon, Mar 23, 2015 at 5:41 AM, Erik Christiansen wrote: > On 23.03.15 05:07, Mark Wendt wrote: > > Slightly off-tangent here. There's an explanation line in the second > > paragraph of 1.1 Basic Concepts: > > > > "If you are a logic kinda guy the line says If B0 is off AND either B1 OR > > Q0

Re: [Emc-users] Simple, adjustable timer

2015-03-23 Thread Erik Christiansen
On 23.03.15 05:07, Mark Wendt wrote: > Slightly off-tangent here. There's an explanation line in the second > paragraph of 1.1 Basic Concepts: > > "If you are a logic kinda guy the line says If B0 is off AND either B1 OR > Q0 is on then coil Q0 is on." > > Shouldn't that be: > > "If you are a l

Re: [Emc-users] Simple, adjustable timer

2015-03-23 Thread Mark Wendt
> > I have 2.5.3 version and in Classicladder editor window I see only > "compare" block. Where do I get "operate" block? I see it in > screenshots here: > http://www.vdwalle.com/Norte/Classic%20Ladder%20Examples.html > Slightly off-tangent here. There's an explanation line in the second paragra

Re: [Emc-users] Simple, adjustable timer

2015-03-23 Thread Viesturs Lācis
2015-03-22 2:27 GMT+02:00 Chris Morley : > In classicladder you can dynamically change the timer time with an assignment > element. > http://www.linuxcnc.org/docs/2.6/html/ladder/classic_ladder.html#_iec_timers > > %TM0.P=%IW0 I have 2.5.3 version and in Classicladder editor window I see only "co

Re: [Emc-users] Simple, adjustable timer

2015-03-22 Thread richshoop
justable timer (Viesturs L?cis) -- Message: 1 Date: Sat, 21 Mar 2015 14:11:17 -0500 From: Dave Cole Subject: Re: [Emc-users] Simple, adjustable timer To: emc-users@lists.sourceforge.net Message-ID: <550dc255.9010.

Re: [Emc-users] Simple, adjustable timer

2015-03-22 Thread Viesturs Lācis
2015-03-22 2:27 GMT+02:00 Chris Morley : > %TM0.P=%IW0 > > will set IEC timer 0 at whatever classicladder.0.s32in-00 is > > This could be connected to a vcp spinbutton to select the time. Awesome, thank you! Viesturs --

Re: [Emc-users] Simple, adjustable timer

2015-03-21 Thread Dave Cole
On 3/21/2015 7:27 PM, Chris Morley wrote: > >> From: viesturs.la...@gmail.com >> Date: Sat, 21 Mar 2015 21:45:22 +0200 >> To: emc-users@lists.sourceforge.net >> Subject: Re: [Emc-users] Simple, adjustable timer >> >> 2015-03-21 21:11 GMT+02:00 Dave Cole : &g

Re: [Emc-users] Simple, adjustable timer

2015-03-21 Thread Dave Cole
I'd go the Classic Ladder route and program a 1 second timer and use that to increment a counter when the timing conditions exist. Then do a comparison to a preset value for the number of seconds of preset time. You could use a spinbox to set the value of the preset for the comparison. I kno

Re: [Emc-users] Simple, adjustable timer

2015-03-21 Thread Chris Morley
> From: viesturs.la...@gmail.com > Date: Sat, 21 Mar 2015 21:45:22 +0200 > To: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] Simple, adjustable timer > > 2015-03-21 21:11 GMT+02:00 Dave Cole : > > I'd run the input to a unused Mesa 24 volt input and pu

Re: [Emc-users] Simple, adjustable timer

2015-03-21 Thread Viesturs Lācis
2015-03-21 21:11 GMT+02:00 Dave Cole : > I'd run the input to a unused Mesa 24 volt input and put some logic into > Classic Ladder for a couple of timers to condition the input with time > on and time off delays so you don't short cycle the grit loader. Or > just tie it in via hal if no timers ar

Re: [Emc-users] Simple, adjustable timer

2015-03-21 Thread Dave Cole
Ultrasonics work ok if the surface is relatively flat you are aiming at (like liquid level). Otherwise they are iffy. Another idea; Put a reflector in the grit tank on an angle so the grit falls off the reflector. Then use a standard light sensor aimed at the reflector in the tank. When

Re: [Emc-users] Simple, adjustable timer

2015-03-21 Thread jrmitchellj .
How about an ultrasonic range finder to watch how full the small hopper is? Ray --J. Ray Mitchell Jr. jrmitche...@gmail.com (818)324-7573 The things we admire in men, kindness and generosity, openness, honesty, understanding and feeling are the concomitants of failure in our system. And those

Re: [Emc-users] Simple, adjustable timer

2015-03-21 Thread Jon Elson
On 03/21/2015 09:22 AM, Viesturs Lācis wrote: > Hello! > > My customer acquired different abrasive hopper system for their > waterjet and now they want me to implement some controls over it. > I managed to do that, but the problem is that it can not be left in > "on" state for extended time as it c

Re: [Emc-users] Simple, adjustable timer

2015-03-21 Thread alex chiosso
Hi Viesturs. I will provide it for you as soon as possible. Alex Il giorno 21/mar/2015 17:05, "Viesturs Lācis" ha scritto: > 2015-03-21 17:58 GMT+02:00 alex chiosso : > > Hi Viesturs. > > I made a custom HAL component that I called "blink" that I used for > > adjustable "on" and "off" period for

Re: [Emc-users] Simple, adjustable timer

2015-03-21 Thread Viesturs Lācis
2015-03-21 17:58 GMT+02:00 alex chiosso : > Hi Viesturs. > I made a custom HAL component that I called "blink" that I used for > adjustable "on" and "off" period for lamp blinking but can be used to > create adjustable duty cycle . > It's quite simple but effective and for sure you can do it better

Re: [Emc-users] Simple, adjustable timer

2015-03-21 Thread alex chiosso
Hi Viesturs. I made a custom HAL component that I called "blink" that I used for adjustable "on" and "off" period for lamp blinking but can be used to create adjustable duty cycle . It's quite simple but effective and for sure you can do it better. If you are interested I can give it but only next

Re: [Emc-users] Simple, adjustable timer

2015-03-21 Thread andy pugh
On 21 March 2015 at 14:22, Viesturs Lācis wrote: > So the question is - what HAL modules could I use? The thing is that > user has to be able to adjust "on" and "off" periods from a vcp panel. While agreeing that a sensor would be better, it sounds like you could use a very low-frequency softwar

Re: [Emc-users] Simple, adjustable timer

2015-03-21 Thread Bruce Layne
"There are no sensors or anything I could use" A timer will be at best cumbersome, and it is a "dumb" control in that it doesn't have any information about the desired result. If activated when the bin is almost full, it'll overfill the small tank. I prefer the data driven approach. I'd add