UnderAutomation
Eine Frage?

[email protected]

Kontakt
UnderAutomation
⌘Q
Diese Seite ist nur auf Englisch verfügbar.

Yaskawa controller files: what a backup contains

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.

  • The folders of a backup
  • CMOS.BIN or the separate files
  • What you can copy to another robot
  • Download the files from a PC
  • Without code
  • See also

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.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.
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.
FolderFileContentGuide
JOB*.JBIThe jobs. The header gives the tool (///TOOL) and the user frame (///USER) of the jobTransfer files
FILE/GENERAL DATATOOL.CNDThe tools: name, TCP and tool loadTOOL.CND
FILE/GENERAL DATAUFRAME.CNDThe user frames: three taught points and the computed frameUFRAME.CND
FILE/GENERAL DATAVAR.DATAll the global variables: B, I, D, R, S, P, BP, EXVariables
FILE/GENERAL DATAARCSRT.CND, WELDER.DAT...Weld conditions and power source data, with the arc welding application
PARAMETERALL.PRM, SC.PRM, RS.PRM...The parameters. ALL.PRM holds all of them in one fileKinematics models
I/O DATACIOPRG.LSTThe concurrent I/O program (ladder)
I/O DATAIONAME.DAT, YSFLOGIC.DATThe names of the I/O signals, the safety logic
SYSTEM DATASYSTEM.SYSSoftware version, robot model and the operating timesOperating hours
SYSTEM DATAALMHIST.DATThe alarm historyAlarm history
SYSTEM DATAVARNAME.DATThe names of the variables
SYSTEM DATAABSO.DATThe home position calibration of this arm
BATCH CMOSCMOS.BINBinary image of the whole memoryTransfer 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.

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();
}
}
AccountWhat it downloads
anonymousJobs, condition files and general data
ftpSame, plus the system data and the backups
rcmasterSame, plus the parameters

The rights depend on the controller and its software, see 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.

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.

See also