The Mach3Mill_1.84.pdf manual covers this fully. You will need to first calibrate the axis for movement.
Caution: while the manual does cover just about everything, it very often covers it just ONCE. You need to read the manual very carefully, and skip nothing.
Cheers
Roger