So the wall mounted electrical cabinet houses all the control gear, 2 cables come out the top of it, loop upwards and come back down and attach to the mill, they are the motor power wires in the black conduit, and the 6 core cable for the tapping limit microswitches and the ring light,
Both cables are screened and that screen is earthed at one end only, to help reduce the chance of the cables acting like antennas with the switching noise of the VFD (the 3 motor power wires also have ferrite rings on them as they exit the VFD terminals)
I made up some 3D printed clamps to hold the grey cable to the conduit, and rotated the motor's terminal box cover 90 degrees so the cable inlet is at the top instead of the rear side,
This allows the mill head to traverse the ~400mm up and down the column, and the cables move with it nicely and are always out of the way.
![](data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==)
On the bottom side of the electrical enclosure are a few cable glands and a C-13 female connector, that is for the DRO's power supply,
Through the cable glands passes the 13 amp 240v supply into the enclosure from a wall socket, a 'spare' gland that will have the 24 volt wires through it to another wall mount enclosure that will house the Z and X motor drivers later on, and the 16 way screened cable between the wall box and the control box.
The new control box is mounted at an angle below the mill's chip tray on the left hand side, it's fixed to the workbench front instead of the tray so that the mill can be moved if needed and the control box stays put.. as it's cable goes to the wall mounted box and not the mill.
![](data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==)
The controls are as follows: Top Row, from the left:
An illuminated latching green push button for turning the VFD on and off, so it's a main power switch for the mill.
Next is the 3 way rotary switch that selects milling or tapping functions on the mill, this is from the original control panel, so centre is off, and triggers the E-stop command of the VFD.
A red mushroom latching emergency stop button, this signals the VFD's E-stop function as well as interrupting power to the 24 volt PSU's relay / contactor, this is so that operating this button will stop the spindle and the Z or X axis feed motor if it is running, so as not to drive the workpiece into a now stationary cutter… it will be linked to another similar button on the feed motor control panel when i make it.
Final button on the top row, an illuminated white latching push button, turns the ring light on and off.
Lower Row, from the left:
A speed knob, this turns a 10K potentiometer, which adjusts the speed of the spindle by varying the frequency and voltage the VFD puts out to the motor, the best part of a VFD run motor that was not taken advantage of on the mill when it was stock!
Next is a flush green momentary push button that sets the spindle rotation backwards / anti clockwise.
Then a raised red momentary push button which stops the spindle, by raised… i mean this button sticks out and makes it easier to hit than the go buttons.
And finally another flush green momentary push button that sets the spindle running forwards / clockwise.
When the mill is put in 'Mill' mode, the forward and reverse buttons work and you can press either at any time, if the spindle is running and you press the opposite button, it will quickly stop and go the other way, due to the motor being 3 phase this happens almost instantly.
The stop button works as you'd expect, so does the speed knob and E-stop button.
If the Mill / Tap button is moved whilst the spindle is running it will stop due to an E-stop signal being sent in the off / centre position.
When the mill is put in 'Tap' mode, the reverse button does nothing, pressing the forwards button starts the spindle running clockwise, and you would have (hopefully) set the depth stop up before starting the tapping mode.
You'd then pull the quill down and engage the tap in the hole, it will drive in and pull the quill down it's self, when the depth stop is reached a microswitch is activated and this sends the reverse signal to the motor, and the tap winds its self out of the hole.
When the quill is returned to the upper position another microswitch is activated, and the spindle stops.
Pressing forwards starts this sequence again.
This is all done via the control buttons and microswitches of the quills depth stop, the VFD is just responding to pulses telling it which direction to run the spindle in and when to stop, theres no computerised logic board or special VFD settings here, there's nothing stopping you from tapping in H-3 gear.. which is about 1400 rpm! tho most would use L-1 gear and maybe even wind the speed down to about 30 rpm.
With 2 microswitches that can be activated by a quill depth stop rod, you could add this function to almost any mill or drill if you wanted, if not VFD controlled then you'd use latching contactors…. Please note, a single phase A/C motor needs to be totally stopped before reversing it, otherwise it will just carry on the same direction, so the single phase version of this mill had a timer that was activated when the depth stop microswitch was hit, the motor would not get the reverse signal until this timer ran down.
So instead of the instant reverse of the 3 phase model, you'd get a pause between direction changes.
To Be Continued….