Ha ha , often happens to me as well

Thanks, that worked perfectly!
Sam.
No probs. BTW your code should really have G90.1 or G91.1 at the start so that you will always be in the correct IJ mode no matter what you have set as default on the General Config page.
Hood