Does it act right when you run a program? If you set zero and command Z-1, does it move down or up? You can change the direction in the ports and pins or motor set-up screen - select reverse. I don't have a copy of MACH in front of me so I can't direct you in a step by step manner. Sorry. I had a similar issue when I set up my mill.