by cncdrive » Wed Sep 21, 2016 9:38 pm
The spindle goes up to the defined safeZ coordinate first, you can change it's value in the configuration, look for the safeZ parameter.
This is because if there was a single movement to 0,0,0 then if your tool is at a too low location in Z and there is stuff on the table then the tool would hit that.
You can study how the gotoZero button works with opening the M204 macro with a text editor from the Profiles/Macros folder
and because the gotoZero button is fully a text macro you could even rewrite that macro if you want that button to work differently,
but I think the proper way it should work is how it is coded now.