Pro z limit switch wiring Need help

if you come from the 3D printing world… one can cut STL files on a CNC as well, just subtractive… it might at least give you some familiar start
(see Cutting STL models with Carbide Create Pro (nearly-2021 edition) )