assuming i know what your saying...
off the top of my head i can only think you have your Z going + on the plunge instead of -
go to motor setup and select or un select active low for your Z axis (i think)