Set up the soft limits and slow zones, section 10.8 of csmio manual I'm looking at.
Mach3 General Config, try 'Home SW.Safety' in both states to see what happens.
Follow csmio manual section 10.11 and go through Mach 3 settings as shown.