@t3p3tony I bought those limit switches I linked to here
They are working ok I just had to alter the M574 code for the Endstops by adding ! to the X and Y Stop section and switch the wires around on the connectors to match the Duet2 wiring diagram.
M574 X1 S1 P"!xstop"
M574 Y2 S1 P"!ystop"
M574 Z1 S1 P"zstop"
Thanks for your help appreciate it.