That is about 4 rungs of ladder in Classic ladder. Two timers, one timer times out and starts the second one. When the second timer times out it opens a NC contact that feeds the first timer. So timer 1 times out, starting timer 2 which resets timer1 and the loop continues. Put another run of logic with a NO contact from timer 1 with a NC contact from timer 2 in series driving an output. Change the timer values to vary the output duty cycle. Gotta love ladder for simple tasks like that. :-)
Dave On 4/9/2012 11:56 AM, John Murphy wrote: > I had previously tied my oil pump to the run signal on my VFD, so when > the machine was running, lube pump was running. > > The lube pump works with a cam raising an oiler, then letting the > spring/gravity drive the pump to push the oil out. > > My understanding is that it's pretty common to oil way too much on > these bridgeport series 1 BOSSV if you leave the pump running all the > time, which has proven to be the case for mine, as my floor will > attest. > > > Is there a nice way to do a periodic timer or duty cycle in the hal? > It's trivial for me to drive the pump relay with a digital output, > then I can tune the pump cam motor duty cycle with 'run' to keep it > running automatically, but not quite so much... > > Thanks in advance, > John > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users > > ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
