My Struggles Talking to an Old Piece of Junk (Fanuc 0M)

rmoriz2 pts0 comments

My Struggles Talking to An Old Piece Of Junk (Fanuc 0M) | Nia Schlegel

My Struggles Talking to An Old Piece Of Junk (Fanuc 0M)<br>2026-06-07 #machining, #electronics

This February I became the proud owner of an old Hermle UWF 851 vertical machining center. An industrial CNC mill with tool changer and everything.<br>I already had a FoxAlien Masuter Pro (which seems laughable in comparison) and a lot of 3D-printing experience so I knew GCode.<br>The workflow I was used to was to draw things up in CAD, do CAM (or slicing for 3d-printing) post-process them somehow and load them onto the respective machines.<br>I knew the Fanuc 0M theoretically had the capability to get programs from a serial port with a DB25 connector on the side of the control cabinet but because I bought the machine without ever seeing it running I had no idea how to actually do that. Or how to use it in general lol.

It took months to get the machine running. Not because it was in broken in some major way but because I had literally never worked with an industrial machining center so I had to learn everything from scratch. Also we first had to redo all of the electrics for our workshop because the landlord had promised us “some kind of three-phase” but it turned out that was 16 amps max and the breaker tripped 70&thinsp;% of the time starting the machine. We ran a twenty meter 5×16² cable through an apartment and the hair dresser next door and finally had 63&thinsp;A at our disposal.

So the machine finally turned on reliably and all axes moved fine. Phew.<br>After this achievement, a time of immense pain came over me.<br>Alarms. So many alarms.

1002 CIRC. BR. 3PH. MOT<br>400 SERVO ALARM OVER LOAD<br>414 SERVO ALARM X AXIS DETECT ERR<br>424 SERVO ALARM Y AXIS DETECT ERR<br>434 SERVO ALARM Z AXIS DETECT ERR

It yelled at me, seemingly at random too. Through trial and error, reading the incomplete documentation and THANKFULLY included schematics, we kind of figured out possible things to cause the 1002 spindle alarm (the limit switches being flaky → the emergency stop tripping somehow) and now it only comes back every now and then and is fixed by restarting the controller twenty times or waiting eight hours. Other alarms we encountered were the gear change alarm, which is caused by coupling from the gearbox to the sprockets attached to the motors controlling it being loose and having to be tightened and then turned away from the cams so the controller tries to re-home it after powering on.

Now the machine runs pretty reliably, we can write programs on the MDI panel and run them. What doesn’t work is the feature I was most hopeful for: the serial port so I could load CAM programs. I’m not terrible at writing GCode but certainly not adequate for most things I wanted to machine. It seemed trivial: I got a DB25–DE9 null-modem adapter cable, an RS232–USB adapter and a null-modem adapater. That didn’t work at all. No data transmitted in either direction. This kind of drove me insane. I tried three different adapters, null-modem or straight cables, different operating systems, everything. I skimmed thousands of pages of manual only to find the relevant section gone. I was pretty close to giving up, throwing the whole control away and retrofitting the machine with LinuxCNC when, in an act of desperation I bought another two adapters from Amazon. Here’s a list of the adapters that ultimately worked for futre reference:

https://amzn.eu/d/09DJT70U

https://amzn.eu/d/04SEOkT9

https://amzn.eu/d/08vTAw7G

I was very happy to receive my first program (although in a weird format I had never seen before).

And got to writing a quick rust transpiler decoding the EIA (?) format.

What still doesn’t work is sending data to the machine but that should not be a big challenge, now that I have established the serial chip is not literally broken. When I try to receive a program by pressing INPUT I get this

086 P/S ALARM

Which, according to the manual means the machine did not see a DR signal. I’ll see if I can configure that somehow with my adapter or need to hard wire it.

machine alarm from fanuc because servo

Related Articles