Just wondered what types of electrical connectors people like to use on their machines?

I'm currently rigging up a Z-axis probe, and so want something that is reliable and latched so that it won't come adrift without me noticing. I'm thinking an XLR type connector could be appropriate, but I thought I'd cast the net out to see what forum members use more generally on their machines for the motor drives, limit/home switches and probes. Or is hard wiring preferred?

Looking forward to hearing any thoughts!

Cheers
Graeme