Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: jevs on March 22, 2011, 04:02:02 PM

Title: How to wire and run automatic oiler?
Post by: jevs on March 22, 2011, 04:02:02 PM

I am trying to figure out how to hook up my CNC machines auto oiler for the bed ways and set it up in Mach 3. I assume this style is designed to run anytime the x and y axis is moving? See picture attached. I already have it wired to a relay that puts 115VAC to it when the relay is on, so I just need to know which connecter to use on the machmotion breakout board to turn on the relay and how to set it up so it works like it is supposed to. I don't think there is any plumbing to the Z-axis. The Z axis has grease fittings to lubricate it manually, so I assume this only needs to work when the x and y axis move? I think it should be on anytime the x and y move, even if your manually jogging? I dont think this is a timed one shot oiler? I believe it slowly oozes oil on anytime the machine runs?

Specs off the side:
Interval 15mins
Discharge 2.5CC

Thanks
Title: Re: How to wire and run automatic oiler?
Post by: ostie01 on March 22, 2011, 04:23:14 PM
Just look at this topic.


http://www.machsupport.com/forum/index.php/topic,5208.0.html



Jeff
Title: Re: How to wire and run automatic oiler?
Post by: Hood on March 22, 2011, 04:37:42 PM
That looks like a timed unit to me, even the label seems to suggest it is as it says interval 15min discharge 2.5cc.
Hood
Title: Re: How to wire and run automatic oiler?
Post by: jevs on March 22, 2011, 05:02:53 PM
I just called the company. They say that every 15 minutes it puts out 2.5cc. In otherwords it times itself, so turning it on is all that is required. So i guess I just need for it to turn on the relay whenever my x or y is moving. I think it should be turned on even when you job the x and y in case your manually milling something, what do you guys think?
Title: Re: How to wire and run automatic oiler?
Post by: jevs on March 22, 2011, 05:04:57 PM
Just look at this topic.


http://www.machsupport.com/forum/index.php/topic,5208.0.html



Jeff

I looked at this link before posting, but that seems to be a different setup that must be manually triggered every so often, whereas I believe mine should just be on anytime the x or y is moving?
Title: Re: How to wire and run automatic oiler?
Post by: Hood on March 22, 2011, 05:06:39 PM
I have mine running when the drives are enabled and I think that is the way most industriial machines have them wired.
Hood
Title: Re: How to wire and run automatic oiler?
Post by: angel tech on March 22, 2011, 05:53:01 PM
you could use the dryway sensors from http://www.cantkeepitoily.com
Title: Re: How to wire and run automatic oiler?
Post by: jevs on March 22, 2011, 10:40:50 PM
I have mine running when the drives are enabled and I think that is the way most industriial machines have them wired.
Hood

So it is oiling anytime the machine is on even if it is idle? I would prefer mine to just run when it is in motion and really only if the X and Y are moving I would think?
Title: Re: How to wire and run automatic oiler?
Post by: Hood on March 23, 2011, 03:21:59 AM
Yes, any time Mach is out of reset it would be on, I think that is my preferred method and seems to be most commercial machines method as well. My thinking is if it is only on while the axis is moving there is a chance that a machine that has been standing for a while has lost some of the oil whilst sitting and then it will take 15 mins of movement before it will get more.
Hood
Title: Re: How to wire and run automatic oiler?
Post by: jevs on March 23, 2011, 04:07:18 PM
I believe I have a solution......I will post back once I try it......
Title: Re: How to wire and run automatic oiler?
Post by: jevs on March 23, 2011, 09:42:45 PM
Figured it out. It was actually really simple (after finding the brains video).
Create a brain called oiler
Add an input of "X axis Feedrate" and hit + and tell it greater than 0
Add an input of "Y axis Feedrate" and hit + and tell it greater than 0
Select both "greater than zero blocks" (turn them green)
Hit the + key and pick the OR function
Then select the OR box (turn it green) and terminate with an output 5 (which is the one I happen to have the relay that turns on the oiler hooked to AKA port 2 pin 4 in my ports and pins)

That is it, now anytime the X or Y axis moves no matter how it is doing it (program or jog buttons) the oiler comes on.
Every 15 minutes of actualy X or Y movement it will squirt 2.5 CC of oil out to the ways.

You could also use the "ismoving" input and turn it on anytime any axis moves. My Z axis gets no oil anyway so I went the other route.