Thanks guys, I have tried various things and have now got it to zero return. I have had to change the following, X to 13 Y to 10 and Z to 12 and active low ticked on all of them. As I said, home ref works to switches and the only problem now is the jog wheel in X operates in the wrong direction, this because I needed to change motor output Dir low active on the X axis to a tick in order for it to ref home in the right direction.