Contained in this section of the wiki:
CAD file for the components, panels, wiring and labels: github CAD link
Electrical components build of materials
optional kit for a 2020 based DIY enclosure
wiring length calculations and descriptions for cabling from enclosure to steppers, spindle and sensors
Enclosure AC wiring Diagrams
Enclosure DC wiring Diagrams
Enclosure Control wiring Diagrams
Wiring from Enclosure to PrintNC Steppers, Spindle and Endstop Sensors.
Older Wiring and Enclosure pages are still available as archived documents.
You can order new or used electrical cabinets from ebay, vevor etc. Minimum size 16x24x8" or 400x600x200mm.
Recommended tools for adapting the enclosure to the DIY custom plates and fan mounts:
2020 T-slot Extrusion
3mm aluminum or ACM panels
(distance from controller to rear corner of machine + 30cm or 12") + (frameY + 30cm or 12") for Y1-Motor cable + (frameX + frameY + 30cm or 12") for Y2-Motor cable + (frameY + 60cm or 24") for X-Motor cable and Cat5/6 ethernet cable for Endstop Sensor Breakout PCB. + (frameX + frameY + 90cm or 36") for Z-Motor and Spindle cables.
For less frequent usage machines (under 10hrs per week) search Aliexpress for TRVVP Cable for spindle and steppers. Example: This is also available in multiconductor (3p or 4p twisted) for endstop pcbs and closed loop stepper cabling.
Power cord to switch, then through contactor to wagos, ground from cabinet bolt to wagos. Connect wires from contactor L1 to 1-5A breaker, and L2 to A1 (coil contact)
Use 1.5mm^2/16AWG stranded core hookup wires, with insulated blue female spade connectors for power switch, ferrules for screw terminals, bare wire for wagos.
Connect wires from 1A breaker to NC Stop, from there to NC Emergency Stop mushroom button, then to the Start button, and through to A2 (coil contact).
Use 0.5mm^2/20AWG solid core hookup wires.
At this point - Test the functionality of the Start and E-Stop buttons, ensuring the contactor engages when start is pressed and start doesn't work when the E-Stop button is latched.
Ensure your power supplies are set to your incoming voltage (110/220 switch)
Use 1.5mm^2/16AWG stranded core hookup wires, with ferrules for power supply screw terminals, bare wire for wagos.
At this point - Test the function of the power supplies outputs, and use the trim pot to adjust the output from 48V down to 45V by turning counter clockwise. If you don't have a meter, just turn fully counterclockwise. For reason, go here:
From wagos through line filter to VFD, then out to spindle. Recommended: Install a ferrite core over the wires with the jacket removed. Secure with zip ties.
Details on VFD to Spindle shield termination here:
Use 1.5mm^2/16AWG stranded core hookup wires, with insulated blue female spade connectors for Line Filter, ferrules for VFD screw terminals, bare wire for wagos.
Important: Confirm your pump voltage before connection. DC24V, AC110V or AC220V. The pump doesn't always match the VFD voltage.
Easy mode - Connect the AC pump wires to the Red and Blue Wagos directly. If the contactor is on, the spindle water pump will be on.
More complex AC Pump wiring
Connect wires from power supply to FlexiHAL and Fan(s).
Use 0.5mm^2/20AWG solid core hookup wires.
Wiring shown to a single driver. Wire other drivers the same, directly from power supply to each driver.
Use 0.5mm^2/20AWG solid core hookup wires
Use IDC cable from Flexi to Drivers. Strip about 10mm of IDC cable and fold the wires back over the jacket before crimping on the ferrule for better connection. Duplicate for the rest.
OR: Use 4 wire dupont, de-pin and install in 4 pin socket. Ensure wiring and polarity is correct.
OR: Use Driver Keys. Details here: Driver Keys
Use twisted pair from Flexihal to VFD for RS485. Recommended: Add ferrite bead and/or rs485 isolator if having communication issues.
From VFD to Control Panel, use 5x2 IDC cable with 1 end rotated, or pull the socket off the display and rotate 180 degrees.
Rj45 ethernet cat5/6 from Flexihal endstop connector to sensor breakout pcb mounted on gantry.
The following settings are for the stock 3.0A steppers included with the kit and PETg printed mounts. If you have metal motor mounts you can increase the current a bit but watch for skipped steps and overheating.
XY is set differently than Z because the ballscrews are 10mm per rotation for XY and 4mm per rotation for Z. In Grblhal set 100 steps per mm for all axis.
A switch is ON when pushed down/towards the back of the driver. Switch 4 for half current is when driver is idle, less current is used to allow the steppers to stay cooler when not moving.
The following wire runs are used in the PrintNC from Electronics Enclosure to PrintNC frame, using the estimated lengths from https://wiki.printnc.info/en/v3/wiring#wires
Sensor locations and wiring colors are below: