Machine homing after macro

Google is your friend, but this also came up recently: Ground Loop