Hi, Adrian
Post your G-code file and error line number, Mach just runs the code from your post created with Eagle and PCB_G-Code.
Some G-code doesn't post N00 (line #'s) Use below method.
Double click on the G-code window in Mach, It will show line numbers on the left, Use the up-dn slider to the right, Scroll dn to the line that shows the
reset/where it is going wrong point, The view screen will show the moves, Note the line number just above the white line in the G-code window, That's the
error line of code.
You may be able to just change the Y value on that line to correct the error, But it may cause further errors in the remaining G-code.
Hope this Helps, Chip