International Electrotechnical Commission (IEC) connectors are found extensively on electronic devices. Wiring the sockets to accept a standard IEC-style power cord is similar to wiring other electrical connections involving crimped fittings. These sockets can then be installed in the chosen device, either to retrofit or to build from scratch. These sockets are relatively inexpensive, and can be used to improve the power cord on the selected device.
Access the back of the IEC connector. Note the three spade terminals protruding from the rear of the socket.
Strip half an inch of insulation from the end of the 12-gauge primary wire.
Slide the 12-gauge spade connectors over the ends of the stripped wires.
Slide the collar of the spade connectors into the crimp tool. Squeeze the handles to the complete the termination.
Orient the socket so that the single terminal is on top. Slide the green wire onto this terminal. Slide the red wire over the terminal marked with the "+" symbol. Do the same with the black or white wire marked with the "-" symbol.
Strip half an inch of insulation from the other end of the three wires. Crimp an additional 12-gauge spade terminal to the other end of the wires.
Slide the red and black or white wires onto the terminals on the power switch, with the positive and negative wire connecting to the corresponding terminals on the switch. Slip the green ground wire onto the spade terminal connected to the chassis ground screw.