868
« on: January 02, 2015, 08:40:42 AM »
Hello Student,
The first thing to do is make sure you are running the latest Mach4 and Darwin.
Second, use the diagnostics page to make sure you have your home switches configured correctly.
Third, make sure homing works with the default ref. all home button script.
Forth, have a play with the home offset values in homing and limits to see how that effects your axis position when homing.
When you are at this point you can then alter your homing script if you still need to. If it does not work, you will know it is your script.
--Default ref. all home script
local inst = mc.mcGetInstance();
mc.mcAxisHomeAll(inst);
Brett