Docsity

Manual Fanuc - Backup Restore, Manuais, Projetos, Pesquisas de Robótica e Sistemas de Autônomos

Toggle sidebar
bg1
Appendix D
BACKING UP AND RESTORING FILES
Contents
Appendix D BACKING UP AND RESTORING FILES ....................................................................... D–1
D.1 OVERVIEW..................................................................................................................... D–2
D.2 SETTING THE DEFAULT DEVICE ................................................................................... D–2
D.3 BACKING UP FILES ....................................................................................................... D–3
D.4 LOADING OR RESTORING FILES FROM EXTERNAL STORAGE TO
CONTROLLER MEMORY ............................................................................................. D–10
D.5 CONTROLLER BACKUP AND RESTORE ..................................................................... D–19
D.5.1 Backing up a Controller............................................................................................... D–20
D.5.2 Restoring a Controller ................................................................................................. D–23
D–1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
Discount

Em oferta

Pré-visualização parcial do texto

Baixe Manual Fanuc - Backup Restore e outras Manuais, Projetos, Pesquisas em PDF para Robótica e Sistemas de Autônomos, somente na Docsity!

Appendix D

BACKING UP AND RESTORING FILES

Contents

Appendix D BACKING UP AND RESTORING FILES ....................................................................... D–

D.1 OVERVIEW..................................................................................................................... D–

D.2 SETTING THE DEFAULT DEVICE ................................................................................... D–

D.3 BACKING UP FILES ....................................................................................................... D–

D.4 LOADING OR RESTORING FILES FROM EXTERNAL STORAGE TO

CONTROLLER MEMORY ............................................................................................. D–

D.5 CONTROLLER BACKUP AND RESTORE ..................................................................... D–

D.5.1 Backing up a Controller ............................................................................................... D–

D.5.2 Restoring a Controller ................................................................................................. D–

D. BACKING UP AND RESTORING FILES MARFISI6406041E REV. A

D.1 OVERVIEW

Caution

If you are updating controller software you should first back up all program, system and application files you want saved to disks in case these files are lost during the update. If these files are lost during the update , you can load these files back into the controller from the disks.

Note FTP can be used to transfer controller memory files over an Ethernet network. The Trivial File Transfer Protocol (TFTP) can be used to load controller memory files onto the controller via an Ethernet network. Refer to the FANUC Robotics SYSTEM R-J3iB Controller Internet Options Setup and Operations Manual for more information.

D.2 SETTING THE DEFAULT DEVICE

Setting the default device specifies which device to use when manipulating programs and files. You must set the default device before you can perform any program or file manipulations, including formatting a memory card. The following devices are allowed, if available:

- Serial printer - A serial printer connected to a controller port. - Flash File Storage disk (FR:) - Built-in storage for controller system files. - Client tag (C1: - C8:) - Used if the FTP option is installed. The client devices displayed are the client devices that have been defined and started. - Memory card (MC:) - Displayed if the memory card interface is installed. - Memory device (MD:) - Treats the controller’s program memory as if it were a file device. - Console device (CONS:) - Used for debug purposes only. This displays the conslog.ls and CONSTAIL.LS powerup log files. - RAM disk - specified by RD:. - Floppy disk - A floppy disk drive connected to a controller port, such as the PS-100, PS-110, or PS-200. - Memory file device (MF:) - A composite device that searches the RAM disk (RD:) and flash file storage disk (FR:) devices, in that order, for a specified file. - Console device (CONS:) - Used for debug purposes only. This displays the conslog.ls and CONSTAIL.LS powerup log files. - F-ROM Device (FRD:) (for use only with the Controller Version Upgrade option)

After you set the default device, the device will remain the default until you change it.

Use Procedure D-1 to set the default device.

D. BACKING UP AND RESTORING FILES MARFISI6406041E REV. A

Program Files

When you back up program files, all teach pendant program files currently loaded onto controller memory (listed on the SELECT menu) and default motion instruction files (DF_xxxx.DF)will be saved to the default device: RAM disk or memory card.

System Files

System files are binary files that store values for system variables, servo parameter data, and mastering data. They contain information specific to the controller, robot, and software. When you backup system files, all system variable, servo parameter, and mastering data currently on controller memory is saved to the default device.

There are several system files (file type .SV). Refer to the FANUC Robotics SYSTEM R-J3iB application-specific Setup and Operations Manual for information on the system files used in your application. When you back up system files, all system files are copied to the default device.

Application Files

Application files are all program variable files. Refer to the FAN UC Robotics SYSTEM R-J3iB application-specific Setup and Operations Manual for information on the application files used in your application.

Application Teach Pendant Program Files

Application teach pendant program files are teach pendant program files with file type .TP, .DF, or .MN. The names of the application teach pendant files are stored in the system variable $FILE_AP2BCK.

Error Log Files

Error log files are ASCII files that give a snapshot of the errors in the system. They can be backed up to the default device, but cannot be restored or loaded into the controller. Two kinds of error log files are backed up: ERRALL.LS and ERRACT.LS. In addition, depending on the options installed on your controller, there are other error log files that can be backed up. Refer Table D–1 to for descriptions of these files.

MARFISI6406041E REV. A D. BACKING UP AND RESTORING FILES

Table D–1. Error Log Files

File Description Menu

ERRALL.LS Contains a snapshot of the history of errors in the system

ALARM, [TYPE], Alarm Log, Hist menu

ERRACT.LS Contains a snapshot of the active errors in the system

ALARM, [TYPE], Alarm Log, Active menu

The information in an error log file follows a specific format, which is shown as follows. The first line is the error log header , and subsequent lines are error entries. Header: S1:\ERR_ALL.LS Robot Name PALROB Time: 17:21: 08/28/xx

The header consists of the error log file name, robot host name, the name of the currently selected program or file, and the current system time and date. Error Entry: 255" 10-SEP-xx 10:35 " SRVO-154 HVAL(CNV-DC) alarm (G:1 A:4)" " SERVO" act "

Each error entry consists of the following:

- Sequence number - internal system number that identifies a particular error in the error log - Date and time - Error facility name - Error code number - Error code message - Cause code message, if applicable - Severity text - Active/inactive status of the alarm, for ERRALL.LS only - indicates whether the alarm is currently active. "act" indicates that the alarm is currently active. No text indicates that the alarm is not active.

Diagnostic Files

Diagnostic files are ASCII files that provide you with a snapshot of the special diagnostic files on the memory device. Diagnostic files are the files with extension .DG. The names of the diagnostic files are stored in the system variable $FILE_DGBCK. The first three elements of this system variable are, by default, set to:

MARFISI6406041E REV. A D. BACKING UP AND RESTORING FILES

Steps

1. Press MENUS. 2. Select FILE. 3. Press F1, [TYPE]. 4. Select File. 5. Press F4, [BACKUP]. 6. To back up only system files, select System files. You will see a screen similar to the following.

Save MC:\DIOCFGSV.IO?

The first system file name in the system variable $FILE_SYSBCK will be displayed.

7. Back up the specified files: - To back up this system file only , press F4, YES. - If you do not want to back up this system file , press F5, NO. The next system file name in controller memory will be displayed. - To back up all system files , press F3, ALL. If the file already exists, then you will have the option to overwrite, skip, or cancel. - To exit , press F2, EXIT. 8. To back up only teach pendant program files, select TP Programs.

The first program name in controller memory (the SELECT menu) will be displayed.

- To back up this program only , press F4, YES. - If you do not want to back up this program , press F5, NO. The next program name in controller memory will be displayed. - To back up all teach pendant programs, press F3, ALL. If the file already exists, then you will have the option to overwrite, skip, or cancel. - To exit, press F2, EXIT. 9. To back up only application files other than Teach Pendant program files, select Application.

Note By default, selecting "Application" backs up loaded .VR files only. To back up your entire application, you must set the system variable $FILE_APPBCK. Refer to the FANUC Robotics SYSTEM R-J3iB Controller Software Reference Manual for more information on setting this variable.

The first application file name in the $FILE_APPBCK system variable will be displayed.

D. BACKING UP AND RESTORING FILES MARFISI6406041E REV. A

- To back up this application file only , press F4, YES. - If you do not want to back up this application file , press F5, NO. The next application file name in controller memory will be displayed. - To back up all application files , press F3, ALL. If the file already exists, then you will have the option to overwrite, skip or cancel. - To exit , press F2, EXIT. 10. To back up only application teach pendant program files (.TP, .DF, .MN), select Applic.-TP.

The first application teach pendant program name in the $FILE_AP2BCK system variable will be displayed.

- To back up this program only , press F4, YES. - If you do not want to back up this program , press F5, NO. The next program name in controller memory will be displayed. - To back up all application teach pendant programs, press F3, ALL. If the file already exists, then you will have the option to overwrite, skip or cancel. - If you are using the CRT/KB to back up the teach pendant program and the program is being edited by another device, then you will have the option to continue, skip, or cancel. Press F3, to continue and the system will try to back up the program again; press F4, Skip, to select the next file to be backed up; and press F5, Cancel to abort the rest of the backup. - To exit, press F2, EXIT. 11. To back up only error log files, select Error log.

The first error log file name in the system variable $FILE_ERRBCK will be displayed.

- To back up this error log file only , press F4, YES. - If you do not want to back up this error log file press F5, NO. The next error log file name from the system variable $FILE_ERRBCK will be displayed. - To back up all error log files (from $FILE_ERRBCK), press F3, ALL. If the file already exists, then you will have the option to overwrite, skip, or cancel. - To exit, press F2, EXIT. 12. To back up only Diagnostic files, select Diagnostic. The first diagnostic file name in the system variable $FILE_DGBCK will be displayed - To back up this Diagnostic file only, press F4, YES. - If you do not want to back up this Diagnostic file press F5, NO. The next error log file name from the system variable $FILE_DGBCK will be displayed. - To back up all Diagnostic files (from $FILE_DGBCK) , press F3, ALL. If the file already exists, then you will have the option to overwrite, skip or cancel.

D. BACKING UP AND RESTORING FILES MARFISI6406041E REV. A

14. To restore backup files, you must load them. Refer to Procedure D-4 or Procedure D-.

D.4 LOADING OR RESTORING FILES FROM EXTERNAL STORAGE

TO CONTROLLER MEMORY

Loading or restoring files allows you to load a file and all of its relevant data from disk into controller memory. You can load files into controller memory from one of the following file devices:

- Flash File Storage disk - RAM disk - Memory card/ATA Flash File storage and SRAM memory cards

Loading Files

Typically, you load a file when

- You want to modify a program (teach pendant program file, .TP) that is not currently in controller memory. - You want to execute a file (teach pendant program file, .TP, or KAREL p-code file, .PC). - You want to load variable information the system needs to function (system variable file, .SV). - You want to load variable information required for a KAREL program (.VR file). - You want to load saved I/O configuration (.IO file). - You want to load saved default motion instructions (.DF file).

Loadable Files

Loadable files are those files that can be loaded into controller memory. They are

- Teach pendant program files (.TP) - KAREL p-code files (.PC) - System variable files (.SV) - Mnemonic files (.MN) - Variable files (.VR) - I/O configuration files (.IO) - Default motion instruction files (.DF)

Note Some system files can be loaded only at Controlled start. Refer to Appendix A for more information.

MARFISI6406041E REV. A D. BACKING UP AND RESTORING FILES

Only these types of files can be loaded into controller memory. You can load a single file or a group of files. Use Procedure D-3 to load files using the FILE menu.

Restoring Files

You restore files from a disk when you have previously backed up the files using BACKUP on the FILE screen (Procedure D-4). You can restore the following groups of files if you have previously backed them up using BACKUP:

- System files - Teach pendant programs - Application files

Use Procedure D-4 to restore BACKUP files using the FILE menu. This procedure will restore all files on the default device that were backed up using the BACKUP command. Refer to Section D.3 for more information on backing up files.

Caution

When you load or restore the file FRAMEVAR.SV, SYSVARS.SV, or SYSMAST.SV, make sure the motion configuration (items such as the number of motion groups and extended axes) of your system is the same as the motion configuration of the system on which the FRAMEVAR.SV, SYSVARS.SV, or SYSMAST.SV files were created. Otherwise, you might not be able to load or restore this file on an improperly configured system.

Warning

Do not restore SYSVARS.SV, SYSMAST.SV, or SYSSERVO.SV files from an R-J2 controller to an R-J3 or R-J3 i B controller. In most cases, this information is not compatible between controllers. If you restore R-J system files on an R-J3 or R-J3 i B, the controller might not function properly and you could injure personnel or damage equipment.

Procedure D-3 Loading Files Using the FILE Menu

Caution

Before you connect an external device to the controller, turn on the controller, then connect and turn on the device; otherwise, you could damage the equipment.

MARFISI6406041E REV. A D. BACKING UP AND RESTORING FILES

- If you do not want to load the file(s) you selected, press F5, NO. 7. If the program already exists: 8. To overwrite , press F3, OVERWRITE. - To skip the file, press F4, SKIP. - To cancel , press F5, CANCEL.

Procedure D-4 Restoring BACKUP Files Using the FILE Menu at a Controlled Start

Caution

Before you connect an external device to the controller, turn on the controller, then connect and turn on the device; otherwise, you could damage the equipment.

Conditions

- If you are restoring files from floppy disk, the serial disk drive is connected to the controller P2 port, is turned on, and contains the appropriate floppy disk. - If you are restoring files from memory card, the memory card is installed in the memory card interface. - The device from which you want to restore files is set as the default device. Refer to Procedure D-.

Steps

1. Perform a Controlled start. a. If the controller is turned on , turn it off. b. On the teach pendant, press and hold the PREV and NEXT keys and press the ON/OFF button. You will see the Configuration Menu similar to the following.

---------- Configuration Menu ---------- 1 Hot start 2 Cold start 3 Controlled start 4 Maintenance

Select >

2. Type 3 and press ENTER.

If you have ArcTool , you will see a screen similar to the following.

D. BACKING UP AND RESTORING FILES MARFISI6406041E REV. A

ARCTOOL SETUP CONTROLLED START MENUS

1 F number F Equipment: 1 2 Manufacturer: General Purpose 3 Model: MIG (Volts, WFS)

Press FCTN then START (COLD) when done

If you have DispenseTool , you will see a screen similar to the following.

SEAL CONFIG CONTROLLED START MENUS

DispenseTool Application Configuration EQ: 1 1 F number F 2 Number of equipment: 1 3 Number of guns: 1 4 Equipment type: ISD DOUBLE ACT METER 5 Atomizing air: DISABLE 6 Remote start: DISABLE 7 Automatic purge: DISABLE 8 Bubble detected: DISABLE 9 Linear 2P Calibration: DISABLE 10 Channel 2 analog output: DISABLE

Press FCTN then START (COLD) when done

If you have HandlingTool , you will see a screen similar to the following.

Tool Setup CONTROLLED START MENUS

1 F Number: F 2 KAREL Prog in Select Menu: YES 3 Remote Device: UserPanel 4 Password Oper. full menus: NO 5 Intrinsically Safe TP: NO

Press FCTN then START (COLD) when done

If you have PaintTool , you will see a screen similar to the following.

D. BACKING UP AND RESTORING FILES MARFISI6406041E REV. A

Caution

In the next step, backed up files will be loaded and will overwrite existing files of the same name. Be sure you want to overwrite existing files before you restore them; otherwise, you could lose important data.

Caution

When you load or restore the file FRAMEVAR.SV, SYSVARS.SV, or SYSMAST.SV, make sure the motion configuration (items such as the number of motion groups and extended axes) of your system is the same as the motion configuration of the system on which the FRAMEVAR.SV, SYSVARS.SV, or SYSMAST.SV files were created. Otherwise, you might not be able to load or restore this file on an improperly configured system.

Warning

Do not restore SYSVARS.SV, SYSMAST.SV, or SYSSERVO.SV files from an R-J2 controller to an R-J3 controller. In most cases, this information is not compatible between controllers. If you restore R-J system files on an R-J3 or R-J3 i B, the controller might not function properly and you could injure personnel or damage equipment.

a. Restore the files:

- To continue the restore , press F4, YES. - To cancel the restore , press F5, NO.

Note To cancel the restore at any time, press the PREV key.

The system will load all of the files that are listed in the $FILE_SYSBCK system variable. You will not have to convert any variable files that have been restored. Any necessary conversion will be performed automatically.

b. If an error occurs during the restore , the restore will pause.

- To skip the current file and continue restoring the remaining files, press F4, SKIP. - To cancel the restore from this file on, press F5, CANCEL.

c. When the restore has completed, you will see a message reporting the number of files restored. See the following screen for an example.

Total 9/9 files restored

10. To restore .TP, .DF, and .MN files, select TP programs. You will see a screen similar to the following.

MARFISI6406041E REV. A D. BACKING UP AND RESTORING FILES

Restore from Memory Card(OVRWRT)?

Caution

In the next step, backed up files will be loaded and will overwrite existing files of the same name. Be sure you want to overwrite existing files before you restore them; otherwise, you could lose important data.

a. Restore the files:

- To continue the restore , press F4, YES. - To cancel the restore , press F5, NO.

b. If an error occurs during the restore , the restore will pause.

- To skip the current file and continue restoring the remaining files, press F4, SKIP. - To cancel the restore from this file on, press F5, CANCEL.

c. When the restore has completed, you will see a message reporting the number of files restored. See the following screen for an example.

Total 8/9 files restored

- The label on the F4 function key will become [BACKUP]. 11. To restore non-program application files, select Application files. You will see a screen similar to the following.

Restore from Memory Card(OVRWRT)?

Caution

In the next step, backed up files will be loaded and will overwrite existing files of the same name. Be sure you want to overwrite existing files before you restore them; otherwise, you could lose important data.

a. Restore the files:

- To continue the restore , press F4, YES. - To cancel the restore , press F5, NO.

Note To cancel the restore at any time, press the PREV key.

MARFISI6406041E REV. A D. BACKING UP AND RESTORING FILES

Caution

In the next step, backed up files will be loaded and will overwrite existing files of the same name. Be sure you want to overwrite existing files before you restore them; otherwise, you could lose important data.

a. Restore the files:

- To continue the restore , press F4, YES. - To cancel the restore , press F5, NO.

Note To cancel the restore at any time, press the PREV key.

The system will load all of the files that are listed in the $FILE_SYSBCK, $FILE_APPBCK, and $FILE_AP2BCK system variables, and all .TP, .DF, and .MN files. You will not have to convert any variable files that have been restored. Any necessary conversion will be performed automatically. During the restore, you will see a screen similar to the following.

Loading SYSVARS.SV (4/21)

b. If an error occurs during the restore , the restore will pause.

- To skip the current file and continue restoring the remaining files, press F4, SKIP. - To cancel the restore from this file on, press F5, CANCEL.

c. When the restore has completed, you will see a message reporting the number of files restored. See the following screen for an example.

Total 20/21 files restored

- The label on the F4 function key will become [BACKUP]. - The controller will be in a Controlled start. 14. To operate the robot, perform a Cold start: a. Press FCTN. b. Select START (COLD).

D.5 CONTROLLER BACKUP AND RESTORE

Controller backup and restore allows an R-J3 i B controller to back up and restore controller memory. This capability is divided into two parts:

- Controller backup

D. BACKING UP AND RESTORING FILES MARFISI6406041E REV. A

- Controller restore

Controller backup is performed at Controlled start. During controller backup, the entire contents of controller memory are copied to files on the designated device. Refer to Section D.5..

Controller restore is performed from the Boot Monitor (BMON). During controller restore, all of FROM and SRAM is cleared and then files previously created using the controller backup procedure are loaded from the default device. Refer to Section D.5..

Note FTP can be used to transfer controller memory files over an Ethernet network. The Trivial File Transfer Protocol (TFTP) can be used to load controller memory files onto the controller via an Ethernet network. Refer to the FANUC Robotics SYSTEM R-J3iB Controller Internet Options Setup and Operations Manual for more information.

Caution

If you restore a controller and a file already exists on the controller, the file is automatically overwritten.

D.5.1 Backing up a Controller

The controller backup feature allows you to back up the entire contents of controller memory. The backup procedure sets up the files so that controller memory can be fully restored if necessary. When you restore the controller backup to the controller, you will have a fully loaded controller.

Use Procedure D-5 to perform a controller backup using a memory card device. To perform a controller backup using Ethernet, refer to the FANUC Robotics SYSTEM R-J3iB Controller Internet Options Setup and Operations Manual.

Backup Files

When a controller backup is performed, the SRAM is copied into compressed binary image files called cmosxx.ld1.

The files from the FROM device will be created and stored in subdirectories to distinguish the FROM device type.

In addition to creating the backup files, the backup utility creates a .cf file for each memory card. The first one is called restore.cf. The rest of the files will have unique names based on the date and time stamp from when the backup was performed. When a controller restore is performed, these files are used to direct the system to load all of the files created during the backup.