i have a machine that i am adapting to run mach3.  i have the x and y running great but my z axis is a air cylinder that is either up or down.  i have been messing with this for a while and i cant figure out how to get the z to plunge.  it is relay controlled and i was wondering if there is a way to make it use the cylinder anytime there is a negative z command?  i dont know if i am explaining this correct or not.  this machine is actually a router.