Solder a red and black wire to the limit switch and add dupont connectors to the other end. Wiring harnesses that were supplied with the switches have three wires two of which we are using.

4fe Cnc 4 Axis Wiring Diagram Wiring Resources
Cnc limit switch wiring diagram. The location for connecting each switch is shown on the pcb. Plug them into the pcb according to the wiring diagram. More designing and 3d printing of parts for the project. Beginners guide to home and limit switch hardware mach3 cnc duration. Attaching limit switch wires to the cnc shield. Therefore each limit switch black 3 pin connector plugs into the header with the green wire to the upper pin and the black wire to the lower pin.
Part 1 of wiring for the home switches. Beginners guide to home and limit switch hardware mach3 cnc duration. What the ends of a parallel port extension cable will look like. Cnc wiring diagram myrobertadams. The z axis switch is simply screwed into the z axis mount. Optimise wiring to complete fitting.
The green wire is the common of the switch and the black is the normally open contact. Make sure all pins are wired through. Connect the black and green wires in location as shown in the following images and diagram the red wire is not connected this would be for an led. Use one of the extra wires we ran through the dragchain in the previous step to connect this limit switch to the main board.