Hey RT,
I have made another Brain for you to try, this one is dependant on Spindle Run Time only, it watches the Spindle ON Led. I put an initial Oiler delay of 20 minutes as you fellers have been discussing, but, you can change it to what you want.
It uses an accumulator, so the first time after you boot up mach3, and you push or turn on Spindle CW or CCW, the delay will start counting up it is cumlative on Spindle run time, so after total spindle on time reaches 20 minutes it will oil for 2 seconds. Then it will count a delay until repeat of 20 minute of accumlative run time, and shoot again, etc.
it is set to OUTPUT6 as your machine.
NOTE: The Spindle RUN led will turn off AFTER you have pused the spindle off or what ever depending on your spindle Accel/deccel curves. So, if you have a decel of 1 second, the Spindle ON led will still be light for one second AFTER you tell it to be off.........
Scott