One of our operators accidentally deleted everything on one of our machine's controllers. It is a Puma 700L with a Fanuc 21i-TB controller.

We had to call out a tech from Fanuc because they require a password to modify any #9000+ parameters. We had the machine up and running so the tech left, but later we discovered it alarms whenever a program calls M0

We get alarm 5040 : "CAN NOT COMMANDED B-AXIS MOVE"

Fanuc alarm: 5040 - CAN NOT COMMANDED B-AXIS MOVE (T series) | CNC Alarms.com

According to the website I posted the error might have something to do with parameter 8250. 8250 is currently set to 0. We looked at another machine with the same controller (Puma 400L) and that machine's 8250 parameter is also set to 0. I thought maybe M0 was calling a 9000 program that no longer existed, but there are no 9000 programs on the working Puma 400 either.

Any Ideas? Our maintenance guy is making phone calls, and I can't find anything more about this on the web.