If you have the serial number and the model of the machine Fanuc USA or the OEM builder might/should be able to supply you with the ladder and original parameters. You just need to find someone with FapLadder programming software, edit it if need be and some means to reload it, Serial port or Media card. If Fanuc ever worked on the machine they do make a copy of them, the Machine tool builder would be the best source though. Other than that I'd say SOL, way too many variables that need to be addressed. You could get a similar ladder and parameters but the chances of being the same are Not good.