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. Attaching limit switch wires to the cnc shield.

7i76 Limit And Homing Switches Linuxcnc
Cnc limit switch wiring diagram. The z axis switch is simply screwed into the z axis mount. Make sure all pins are wired through. Optimise wiring to complete fitting. Part 1 of wiring for the home switches. The green wire is the common of the switch and the black is the normally open contact. 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.
Wiring harnesses that were supplied with the switches have three wires two of which we are using. Use one of the extra wires we ran through the dragchain in the previous step to connect this limit switch to the main board. Beginners guide to home and limit switch hardware mach3 cnc duration. Beginners guide to home and limit switch hardware mach3 cnc duration. Plug them into the pcb according to the wiring diagram. Cnc wiring diagram myrobertadams.
Solder a red and black wire to the limit switch and add dupont connectors to the other end. What the ends of a parallel port extension cable will look like. The location for connecting each switch is shown on the pcb. More designing and 3d printing of parts for the project.