---
title: "Yaskawa controller files: what a backup contains"
description: "The files of a YRC1000 or DX200 backup folder by folder (TOOL.CND, UFRAME.CND, VAR.DAT, ALMHIST.DAT, SYSTEM.SYS, ALL.PRM, CMOS.BIN), which ones Yaskawa lets you copy to another robot, and how to download them from a PC."
---

# Yaskawa controller files: what a backup contains

What is in the backup of a Yaskawa Motoman controller, which file holds the tools, the frames or the alarm history, and which files can go to another robot? This page answers for the DX100, DX200 and YRC1000 controllers, and shows how to download all the files from a PC with the SDK.

## The folders of a backup

On the pendant, `EX. MEMORY > SAVE` saves the data of the controller in five folders, plus the CMOS image. On a YRC1000, the same files are on the FTP server of the controller, in one folder per extension (`/JOB`, `/CND`, `/DAT`, `/PRM`, `/SYS`, `/LST`).

![The folders of EX. MEMORY > SAVE and some of their files, colored with the list of files that Yaskawa says you can copy between controllers.](/yaskawa/documentation/diagrams/backup-folders.svg)

| Folder | File | Content | Guide |
| --- | --- | --- | --- |
| JOB | `*.JBI` | The jobs. The header gives the tool (`///TOOL`) and the user frame (`///USER`) of the job | [Transfer files](/yaskawa/documentation/how-to-transfer-files) |
| FILE/GENERAL DATA | `TOOL.CND` | The tools: name, TCP and tool load | [TOOL.CND](/yaskawa/documentation/yaskawa-tool-cnd-file) |
| FILE/GENERAL DATA | `UFRAME.CND` | The user frames: three taught points and the computed frame | [UFRAME.CND](/yaskawa/documentation/yaskawa-uframe-cnd-user-frame-file) |
| FILE/GENERAL DATA | `VAR.DAT` | All the global variables: B, I, D, R, S, P, BP, EX | [Variables](/yaskawa/documentation/how-to-read-write-variables) |
| FILE/GENERAL DATA | `ARCSRT.CND`, `WELDER.DAT`... | Weld conditions and power source data, with the arc welding application | |
| PARAMETER | `ALL.PRM`, `SC.PRM`, `RS.PRM`... | The parameters. `ALL.PRM` holds all of them in one file | [Kinematics models](/yaskawa/documentation/kinematics-models) |
| I/O DATA | `CIOPRG.LST` | The concurrent I/O program (ladder) | |
| I/O DATA | `IONAME.DAT`, `YSFLOGIC.DAT` | The names of the I/O signals, the safety logic | |
| SYSTEM DATA | `SYSTEM.SYS` | Software version, robot model and the operating times | [Operating hours](/yaskawa/documentation/yaskawa-robot-operating-hours) |
| SYSTEM DATA | `ALMHIST.DAT` | The alarm history | [Alarm history](/yaskawa/documentation/yaskawa-alarm-history-export) |
| SYSTEM DATA | `VARNAME.DAT` | The names of the variables | |
| SYSTEM DATA | `ABSO.DAT` | The home position calibration of this arm | |
| BATCH CMOS | `CMOS.BIN` | Binary image of the whole memory | [Transfer files](/yaskawa/documentation/how-to-transfer-files) |

The list of files depends on the controller, its software and its applications. `GetFileList` of the SDK gives the real list of your controller, and over HTTP the controller adds its own description to each data file.

## CMOS.BIN or the separate files

`CMOS.BIN` restores a controller after a failure or a replacement. It goes back to the same controller, at the pendant, and Yaskawa must give a one time management mode to load it. It is a binary image: you cannot read it or see what changed in it. The separate files are text: you can read them, compare two dates, and keep them in a version control system. Keep both.

## What you can copy to another robot

Yaskawa gives a list of the files you can copy from one controller to another:

- **Jobs and `TOOL.CND`:** yes. Copy `TOOL.CND` only when the tooling is the same on both robots.
- **Weld files:** only between similar power sources.
- **`YSFLOGIC.DAT`:** set the "Save data CRC check" function to invalid before the copy, and back to valid after.
- **Never:** the parameters (`*.PRM`), `CMOS.BIN` and `CIOPRG.LST`. The system part of the ladder differs between controllers: compare the two ladders instead. `ABSO.DAT` belongs to one arm.

`UFRAME.CND` and `VAR.DAT` are not in this list. A user frame is taught on one robot, in its cell: check it on the other robot before you use it.

## Download the files from a PC

The program below downloads every type of text file with FTP, into one folder of the PC per type. A type that the account cannot read is reported and skipped.

**C# : BackupFilesByType**
```csharp
using UnderAutomation.Yaskawa;
using UnderAutomation.Yaskawa.Common;
using UnderAutomation.Yaskawa.Ftp;

public class BackupFilesByType
{
    static void Main()
    {
        var parameters = new ConnectParameters("192.168.0.1");
        parameters.Ftp.Enable = true;
        parameters.Ftp.FtpUser = "ftp"; // "rcmaster" and its password to also get the parameters
        var robot = new YaskawaRobot();
        robot.Connect(parameters);

        /**/
        // One folder of the PC per type of file: C:\Backup\JOB, C:\Backup\CND...
        var types = new[] { FileExtension.JOB, FileExtension.CND, FileExtension.DAT, FileExtension.SYS, FileExtension.PRM, FileExtension.LST };

        foreach (FileExtension type in types)
        {
            try
            {
                string[] names = robot.Ftp.GetFileList(type);
                robot.Ftp.DownloadFilesToLocal(names, Path.Combine(@"C:\Backup", type.ToString()));
                Console.WriteLine($"{type}: {names.Length} files");
            }
            catch (FtpException ex)
            {
                // AccessDenied: this account cannot download this type of file
                Console.WriteLine($"{type}: {ex.Reason}");
            }
        }
        /**/

        robot.Disconnect();
    }
}
```

**Python : BackupFilesByType**
```python
import os
from underautomation.yaskawa.yaskawa_robot import YaskawaRobot
from underautomation.yaskawa.connect_parameters import ConnectParameters
from underautomation.yaskawa.common.file_extension import FileExtension

parameters = ConnectParameters("192.168.0.1")
parameters.ftp.enable = True
parameters.ftp.ftp_user = "ftp"  # "rcmaster" and its password to also get the parameters
robot = YaskawaRobot()
robot.connect(parameters)

##
# One folder of the PC per type of file: C:\Backup\JOB, C:\Backup\CND...
types = [FileExtension.JOB, FileExtension.CND, FileExtension.DAT, FileExtension.SYS, FileExtension.PRM, FileExtension.LST]

for file_type in types:
    try:
        names = robot.ftp.get_file_list(file_type)
        robot.ftp.download_files_to_local(names, os.path.join(r"C:\Backup", file_type.name))
        print(f"{file_type.name}: {len(names)} files")
    except Exception as ex:
        # Access denied: this account cannot download this type of file
        print(f"{file_type.name}: {ex}")
##

robot.disconnect()
```

| Account | What it downloads |
| --- | --- |
| `anonymous` | Jobs, condition files and general data |
| `ftp` | Same, plus the system data and the backups |
| `rcmaster` | Same, plus the parameters |

The rights depend on the controller and its software, see [FTP](/yaskawa/documentation/ftp). Without FTP, `Http.GetFile(name)` reads one file without account on a YRC1000, and the High Speed Ethernet Server reads files and makes the CMOS backup. See [Transfer files and backups](/yaskawa/documentation/how-to-transfer-files).

## Without code

TouchUp, the robot workbench for VS Code, backs up a Yaskawa controller with the same folders (`JOB`, `JOB and FILE/GENERAL DATA`, `PARAMETER`, `I/O DATA`, `SYSTEM DATA`), adds the CMOS backup on demand, and leaves out by default the files that belong to one robot when you copy files to another one. See [Back up a controller](/touchup/documentation/backup).

## See also

- [TOOL.CND: read the tool data](/yaskawa/documentation/yaskawa-tool-cnd-file)
- [UFRAME.CND: read the user frames](/yaskawa/documentation/yaskawa-uframe-cnd-user-frame-file)
- [Read the operating hours](/yaskawa/documentation/yaskawa-robot-operating-hours)
- [Export the alarm history](/yaskawa/documentation/yaskawa-alarm-history-export)
- [Detect what changed on a robot](/yaskawa/documentation/yaskawa-compare-backups-detect-changes)
- [FTP file transfers](/yaskawa/documentation/ftp-transfer) and [HTTP](/yaskawa/documentation/http)