FANUC robot backup: All of above, image backups and restoring
The two backups a FANUC controller can make, which files matter, where to save them, how to restore a controller, and why the copy that counts is the one that isn't on the robot.
A FANUC robot backup is the difference between reloading a controller in an hour and re-teaching a cell for a week. The controller can save two kinds: an All of above backup, which writes its programs and settings out as files, and an image backup, which copies its memory whole. This guide covers what each one holds, which files matter, where to save them, how to restore a controller and how to keep copies off the robot. Menus are from R-30iB and R-30iB Plus controllers. Your controller’s operator’s manual is the reference for your software version.
In short
All of above vs image backup
| All of above | Image backup | |
|---|---|---|
| What it saves | Every file in the BACKUP menu: programs, system files, data files, application files, error log, diagnostics and vision data | Images of the controller’s F-ROM and S-RAM memory, system software included |
| Files | .TP, .SV, .VR, .IO, .DT, .DF, .LS, .DG, .VD | FROM and SRAM image files (.IMG) |
| Taking it | From the FILE screen, with no restart | The controller restarts and writes the image during power-up |
| Restoring | One file at a time, or everything at a controlled start | The whole controller at once, from a menu at power-up |
| Best for | Getting a program, register set or setting back, moving programs between robots, reading them on a PC | Putting a controller back exactly as it was |
All of above leaves out three items in the same menu: maintenance data, ASCII programs and the image. FANUC’s own battery-replacement procedure asks for both an All of above and an image backup before the job, which is a good rule for any work on the robot.
Which files in a FANUC backup matter?
| File | What it holds |
|---|---|
*.TP |
Teach pendant programs |
NUMREG.VR, POSREG.VR |
Registers and position registers. STRREG.VR and PALREG.VR hold string and pallet registers |
SYSFRAME.SV, FRAMEVAR.VR |
User and tool frames, and the frame setup data and comments |
SYSMAST.SV |
Mastering data |
SYSVARS.SV |
System variables, including reference positions, joint operating area and brake control |
SYSSERVO.SV, SYSMACRO.SV |
Servo parameters and the macro setup |
DIOCFGSV.IO |
I/O assignments |
*.VD |
iRVision data: vision processes, camera settings and calibration |
*.LS, *.DG |
The error log and diagnostic files, in ASCII text |
The programs, registers and frames are what take the longest to recreate. FANUC’s Tech Transfer backup video moves a short list of exactly those between robots. Mastering data is only useful on the robot it came from. A saved SYSMAST.SV can put back mastering data the controller lost, but after a SRVO-062 BZAL the arm’s pulse counts are gone and the robot has to be mastered again; our FANUC robot mastering guide explains why.
Where to save a FANUC backup
| Device | What it is |
|---|---|
UD1: |
USB memory in the controller’s operator panel port |
UT1: |
USB memory in the teach pendant port. A tablet teach pendant can’t take image backups here |
MC: |
Memory card in the slot on the main board of R-30iB and R-30iB Plus controllers. Mate, Compact Plus and Mini Plus controllers have none, and use USB |
C1: to C8: |
An FTP server on the network, such as a PC, once the controller’s FTP client is set up |
TFTP: |
A TFTP server on a PC, for image backups over Ethernet |
FR:, FRA: |
Flash memory inside the controller. FRA: is the default Auto Backup area |
A copy on FR: or FRA: is only as safe as the controller it lives in, and FANUC’s manual says backups can’t be taken from FRA:. Use a USB stick or memory card for any copy you need to carry away. FANUC also notes that the root folder of a FAT16-formatted device holds only 240 files, so give each backup its own folder.
How to take an All of above backup to USB
-
Insert the stick
Put a USB stick in the operator panel's USB port.
-
Select the device
Press MENU, select 7 FILE, then F5, UTIL, Set Device and choose USB Disk (UD1:).
-
Make a folder
Press F5, UTIL, Make DIR and name the folder after the robot and the date, using letters and numbers only. Move into it.
-
Start the backup
Press F4, BACKUP and select All of above.
-
Answer the delete prompt carefully
The controller asks whether to delete the device's contents first. YES erases everything on it before the backup. Answer NO, then YES to back up without deleting.
-
Copy it off
When the files are written, copy the folder to a PC and to one more place that isn't the robot.
How to take an image backup
-
Plan the stop
The controller restarts to write the image, so schedule it with production. The teach pendant has to be enabled.
-
Select the device and folder
In MENU, FILE, use F5, UTIL, Set Device to choose a memory card or USB stick, and move into an empty folder whose name is letters and numbers only.
-
Choose Image backup
Press F4, BACKUP, go to the next page of the menu and select Image backup, then Current Directory.
-
Restart
Confirm the prompts. An R-30iB restarts itself. On Mate, Compact Plus and Mini Plus controllers, cycle the power yourself.
-
Leave it alone
Don't switch off the controller or pull the stick while the image files are written. Wait for Image backup completed successfully. A failure posts SYST-223 Image backup failed.
Automatic backup
The Auto Backup screen, under MENU, FILE, F1 TYPE, runs an All of above backup by itself: at set times of day, when a digital input turns on, at power-up or at an interval of days. It keeps a set number of versions and deletes the oldest. The default device is the controller’s own FRA: area, which is ready as shipped. A memory card or USB stick has to be initialized for Auto Backup before it is used, and pointing it at a memory card or USB stick that stays in the controller gives you dated copies you can pull. It doesn’t replace a copy kept away from the robot.
How to restore a FANUC robot
Single programs and register files load from the FILE screen at any time with LOAD. A program with the same name is overwritten without asking, and a loaded I/O configuration file needs a power cycle before it takes effect. System files (.SV) only load at a controlled start.
To load a whole All of above backup:
-
Controlled start
Hold PREV and NEXT on the teach pendant while switching the controller on, then select 3 Controlled start from the configuration menu.
-
Restore
Press MENU, select FILE, set the device and folder, then press F4, RESTORE and confirm. The controller reads every backup file in that folder.
-
Cold start
Press FCTN and select 1 START (COLD) to return to normal operation.
An image is restored by holding F1 and F2 while switching the controller on, then choosing the device and folder from the menu. FANUC warns that the image files must match the controller’s F-ROM and S-RAM sizes, and that restoring images of a different size can do fatal damage to the controller. Holding F1 and F5 instead opens the boot monitor, whose INIT start deletes every program and setting, mastering data included. Know which keys you’re holding.
Before any restore, check two things FANUC calls out. A restore doesn’t set the Safety Network Number for DeviceNet Safety or EtherNet/IP Safety, so someone who can run the safety PLC configuration software needs to be on hand if it gets deleted. And before copying programs from one controller to another, compare the macro setup screens on both. FANUC warns that if the macro lists don’t match, the result can be unpredictable and can injure people or damage equipment.
How often to back up, and where to keep it
We back up a controller before we change anything on it, so whatever was running can always be loaded back. Beyond that:
- After any change that works, so the good version is the newest one.
- Before battery replacement, a software update or a service visit from anyone.
- On a schedule, with Auto Backup pointed at a stick or card.
Label each backup with the robot’s serial number, the controller, the date and what changed, and keep it in two places that aren’t the robot. Check that it opens. The .LS files are plain text and can be read on a PC, and FANUC’s Tech Transfer shows files from a backup loaded into a ROBOGUIDE virtual robot. We lay out and check paths in ROBOGUIDE before they run on a real robot, as our robot offline programming page describes.
If a robot on your floor has no backup at all, take one before anyone touches it. If the controller has already lost its memory, or a backup won’t load, call or text (818) 397-4809. We work on FANUC robots other companies installed as well as our own, as our FANUC robot service page describes. For an alarm that took the robot down, start with our FANUC alarm codes guide, and for the battery alarm that most often leads here, the SRVO-062 BZAL guide.
Common questions
- What is the difference between an All of above backup and an image backup?
- All of above saves the controller's contents as individual files: programs, system files with frames and mastering data, registers, I/O settings, error logs and vision data. You can load any one of them back. An image backup copies the controller's F-ROM and S-RAM memory, system software included, and restores the whole controller at once. It takes a controller restart to make, so it is usually scheduled around production.
- How do I back up a FANUC robot to a USB stick?
- Put the stick in the USB port on the controller's operator panel. Press MENU, select FILE, then F5, UTIL, Set Device and choose USB Disk (UD1:). Make a folder with UTIL, Make DIR, then press F4, BACKUP and select All of above. When asked whether to delete the device first, answer NO unless the stick holds nothing you want, because YES erases it.
- Can I restore a FANUC backup onto a different robot?
- Programs and registers, yes, with care: load the .TP programs and the register files you need, and compare the macro setup on both controllers first, as FANUC's manual warns. Don't load another robot's system files. They carry that robot's mastering, servo and frame data. A full restore or an image restore belongs on the controller the backup came from.
- How often should a FANUC robot be backed up?
- Before anyone changes anything on it, after any change that worked, and before battery replacement, a software update or a service visit. On top of that, the controller's Auto Backup function can save on a schedule or at power-up. What matters most is that a recent copy exists somewhere other than the robot, labeled so the next person knows which robot and which day it came from.
- Does a FANUC backup include iRVision camera images?
- No. The vision data files hold the vision processes, the camera settings and the camera calibration, and they are part of an All of above backup. FANUC's Tech Transfer notes that backups don't include the camera images themselves. If you keep images for training or troubleshooting, save them separately.
Sources
- FANUC America: Robot support and manuals (R-30iB Operator's Manual Basic Function B-83284EN, chapter 8 File input/output and appendix B.1 Start-up methods, via the Customer Resource Center)
- FANUC Tech Transfer: FANUC backup and restore files
- FANUC Tech Transfer: How to replace batteries on an industrial robot (backups before battery replacement)
- FANUC Tech Transfer: iRVision viewing vision data from backup
- FANUC M-710iC/20L mechanical unit operator's manual, B-82514EN/09: backing up mastering data (hosted by Haas Automation)
