...I will need a output to go on and off for a specific set of time...
....on every 50 meters of travel to activate my grease pump...
I think it is quite difficult to keep track of time as such within Mach. If you want to involve Mach at all, it would be much easier to pulse an output that switches the pump on and sets a timer running. The external timer then switches the pump off after the correct period. A 555 could do this no bother.
How do you propose to measure the distance of travel? How does the 50m accumulate? If the machine does a 1m rapid and then 11 back-and-forth 100mm moves, does the total equal 1.1m or 2.1m?
Again, a 555 might be good: just count the pulses on the step line, work out how many pulses equals 50m travel and trigger your output (which is the input to the second 555)
See
http://ecelab.com/circuit-frequency-divider.htmCost so far: two 555s (or one 556) and a relay.
You could combine both on an Picaxe 08, but you still might need a separate divider in front of it as the Picaxe won't count at 25kHz.