Thank you Tweakie.CNC,
I will make the corrections and let you know how it goes, I think I've stared at it all so much i can't see the wood for the trees now so a fresh pair of eyes is needed, i would be interested in the other changes that are needed as we go. I still have to configure the mpg (Wireless) and also see if i can get the spindle running through mach 3, i am using an RS485 adapter to the vfd. I disconnected it and have been switching it on at the vfd which seems to run with no interference to the steppers. When i run it through mach 3 it "jitters".
Thank you for the help and as i said i will let you know how it goes.
Regards
Tackleboxman