That has helped, I no longer get the error at the end of cuts. The machine was used to do some cutting yesterday and preformed well, the THCad THC working very well, the only problem I have now is that if I E-stop the machine I get a following error. To re enable the machine I have to close and reopen linuxcnc. The gantry does move slightly when servos are disabled, so I think at rest the machine is very slightly out of square (I squared machine using dual proximity switches, using a 3000mmx3000mm square and adjusting the offsets until the Diagonal measurements were the same). I may need to loosen the gantry top beam bolts when the machine is squared to remove any tension when in operation, even for good practice, however this still will not fix my problem if the gantry somehow gets moved when servos are not enabled.
I did see a post where the time delay function was used for a different job, perhaps this would be able to be used. I should say I am using the x enable signal to enable all axis on my machine, I tried the "machine is enabled" output in PNCconf and it did not work.