Hi,
I owned a 3040 CNC before. I remember that you need to configure the axis motors in Mach3. Please see my dropbox link below. You will find the manual for the CNC. The zip file contains photos of the manual I used. The manual came with the machine.
https://www.dropbox.com/sh/mae2sb1cf...XGBEXauja?dl=0