Carving-CNC X-800 LPT , my new CNC router/mill

After thinking about it for a long time I bit the bullet and ordered myself a smallish CNC router/mill. Having a small lathe at home already made a lot of nice things possible, but adding a mill to the workshop would really allow me to get creative. I’ve been a CNC machinist for about 10 years, working my way up from Heidenhain TNC135 through Maho CNC432 to Mazak Mazatrol 640MT controls over the years. So I’m not exactly new at machining… this does also mean I might do things in a way I’ve done it for years, which might not always be the best way.

Being a Linux system administrator I of course wanted to use LinuxCNC. So as soon as the box was arrived, everything was set up in place and I had the pre-installed PC turned on I started up LinuxCNC. Setup indeed was a breeze, although I immediately learned a few not-so-good things…

The X4-800 set up, the cabinet below will hold my tools.

The spindle is only controlled by a relay : I can’t set RPM’s , can’t switch spindle direction and can’t even turn on/off the spindle in a program. This is something I definitely will change soon… right now toolchanges are not possible and that’s just not acceptable.

The machine so far appears to be very stable and accurate. I’ve yet to get my dial indicator mounted to check for accuracy, repeatability and everything being square and true but so far I’ve got good faith in it. Using a normal vernier caliper (0.05mm accuracy) I can’t detect the machine being off.

Being an engineer I always want to peek under the hood. So I opened the control box and was to say the least quite surprised at especially the earthing configuration… almost nothing is properly grounded!

Notice that there’s only one earth wire coming from the mains socket up to the input filter. After that no wires, as if the Chinese trust the painted chassis to act as a proper conductor to all compontents….

I immediately got to work, installed earth wires from the filter to the VFD (NowForever D100 model), to the spindle motor socket (need to replace spindle motor cable, it’s 3-wire now) and to the (fake, cheap copy) Meanwell 350W 24V power supply. I also made sure that I scraped enough paint away that the case metal is now actually properly earthed.

Earthing improved somewhat…

I already had out the LPT breakout board (marked YooCNC 685JKB , 4-axis but no PWM sadly) to fit the 0.1″ header pins for the home switches.
The pinout of the 685JKB is

1) Spindle enable (drives the relay)
2) X step
3) X dir (inverted in my case)
4) Y step
5) Y dir
6) Z step
7) Z dir
8) A step
9) A dir
10) E-stop
11) Home X
12) Home Y
13) Home Z
14) ?
15) Tool probe
16) ?
17) ?

So hopefully I can extract pin 14,16 or 17 and have it do PWM to drive the VFD instead. The relay could then drive a solenoid for the air nozzle I intend to mount on the Z block for tool cooling and chip clearing. The power regulator chip can handle up to 40V maximum.

In a next post I’ll show how I made my endstops, from some aluminium L-strip 20*20*1.5 and flat 30*3 using the X4-800 for the shaping / drilling.

3 thoughts on “Carving-CNC X-800 LPT , my new CNC router/mill

  1. I’d love to see where you’ve come with this machine since your last post. This seems to be a solid low cost CNC platform, but there are so few places online that go into depth on what’s driving these chinese routers and where modifications need to get made.

    Thank you for documenting the control box. I would have never guessed it’d be such a mess in there.

    • I hope to add a post this weekend with some new work I’ve done on the machine.
      It’s a lot better then expected, I’ve made 2 different parts so far, in POM plastic only so far, but I plan on doing some complex aluminium engraving soon.

  2. I have a problem with thé spindle or my x4-800l i tryed to now if the problem Côme from the spindle or th vdf (the led if the vdf Is red can you Help me thanks

Leave a Comment