4038
« on: October 23, 2013, 03:17:21 AM »
Yes and no.
G28.1 will need to be used 3 times if you want separate axis movement such as Z first the X then Y.
Also you will need to call a position to initially move to and then from that position it will slow to the speed you have set in Homing and Limits. So as an example
G28.1 Z2 ' This will home the Z, it will first move at rapid speed to Z2( in offset coords) and then the feedrate will be changed to what you have set in homing and limits and it will do the Z homing routine.
So if you wanted to do as per the RefAll button you would have to do something like
G28.1 Z2
G28.1 Y2
G28.1 X2
If you did
g28.1 x2 y2 z2
then all axis would move at the same time to the X, Y, Z 2 position and then X would home, then Y then Z.
If however you had written the macro as above and had exactl;y the same as you had in the RefAll button then it would do as the RefAll button does when you commanded
m123
Hood