I've gone the hal route, as it seems the quickest solution for my meager
need.  I've cascaded two one shots, with an and gate to and the oneshot
output with a 'spindle at speed' signal so the oneshots don't pump lube
when the machine is idle.

But I need a suggestion on getting the works rolling - I'm having trouble
using the 'spindle-at-speed' signal (which I have as feedback from my VFD)
to trigger the oneshots.


My HAL code:

setp oneshot.0.width 5
setp oneshot.1.width 5
setp oneshot.1.falling 1

net spindle-at-speed  and2.0.in0


net oneshot_midpoint  <= oneshot.0.out
net oneshot_midpoint  => oneshot.1.in
net oneshot_result    <= oneshot.1.out
net oneshot_result    => oneshot.0.in
net oneshot_midpoint  => and2.0.in1
net way_lube          <= and2.0.out
net way_lube            =>  hm2_7i43.0.7i64.0.0.digout.06.out # Relay













On Mon, Feb 11, 2013 at 9:04 AM, Dave <[email protected]> wrote:

> I was going to say the same thing.. Once you get used to PLC logic a lot
> of these things become very simple..
> Classicladder is worth learning and.. it's free!  :-)
>
> Dave
>
> On 2/11/2013 7:34 AM, John Thornton wrote:
> > Classicladder is the simple way to control your lube pump.
> >
> > You can view my configuration files here:
> > http://www.gnipsel.com/shop/hardinge/hardinge.xhtml
> >
> > John
> >
> > On 2/10/2013 10:52 PM, John Murphy wrote:
> >
> >> The lube pump in my BossV is over-oiling everything.  If I leave it
> >> powered, I come back to puddles of oil under every way after a long job.
> >>    Of course, I don't want to run long jobs without it.
> >>
> >> I have the way lube tied to the spindle on signal, so I figured there
> ought
> >> to be a hal component that I can wedge between the 'spindle on' and the
> >> digital output that drives the pump relay to say, power it every other
> >> minute or three to reduce the volume of oil I'm getting.
> >>
> >> Any suggestions on a specific hal component?
> >>
> ------------------------------------------------------------------------------
> >> Free Next-Gen Firewall Hardware Offer
> >> Buy your Sophos next-gen firewall before the end March 2013
> >> and get the hardware for free! Learn more.
> >> http://p.sf.net/sfu/sophos-d2d-feb
> >> _______________________________________________
> >> Emc-users mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/emc-users
> >>
> >
> >
> ------------------------------------------------------------------------------
> > Free Next-Gen Firewall Hardware Offer
> > Buy your Sophos next-gen firewall before the end March 2013
> > and get the hardware for free! Learn more.
> > http://p.sf.net/sfu/sophos-d2d-feb
> > _______________________________________________
> > Emc-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> >
>
>
>
> ------------------------------------------------------------------------------
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to