Clive you are my hero!

It now works. I changed the z axis limits to be between -75 and 0. I was sure that I had tried it at that setting before but i must have got the numbers the wrong way round.

Thank you very much for your help. All I need to do now is buy a spindle and wire up the limit switches and it'll be ready for production work lol.