..... From the Mach manual
10.8.5 Re-run from first line - M47
On encountering an M47 the part program will continue running from its first line. It is an
error if:
♦ M47 is executed in a subroutine
The run can be stopped by the Pause or Stop buttons
See also the use of M99 outside a subroutine to achieve the same effect.
https://www.google.co.uk/url?sa=t&sourc ... Ni4XBMowP9