Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 06:46:00 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  How to wire and run automatic oiler?
Pages: « 1 2   Go Down
Print
Author Topic: How to wire and run automatic oiler?  (Read 569 times)
0 Members and 2 Guests are viewing this topic.
jevs
Active Member

Offline Offline

Posts: 31


View Profile
« Reply #10 on: March 23, 2011, 08: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.
Logged
Pages: « 1 2   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!