Ny-Series Instructions Reference Manual (W560 - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

2 Instruction Descriptions
Function
The BackupToMemoryCard instruction backs up data to an SD Memory Card.
This instruction performs the same processing as the processing that is performed for the front panel
switch on the CPU Unit, the _Card1BkupCmd system-defined variable, or the SD Memory Card backup
performed from the SD Memory Card Window on the Sysmac Studio.
Specify the name of the directory in which to save the backup data with DirName.
If the value of DirName is " " (i.e., a text string with a length of 0 characters), the backup data is saved in
the root directory of the SD Memory Card.
DirName can be omitted. If you omit DirName, the following data is save in the following directory.
Instruction execution
1st execution
2nd execution and beyond
If the directory that is specified with DirName does not exist in the SD Memory Card, a new directory is
created and the backup data is saved in it.
If a file with the same name as the backup file already exists in the directory specified with DirName, the
backup file is overwritten.
If the value of Cancel changes to TRUE during backup processing, the backup processing is canceled.
If backup processing is canceled, the backup file will not be created. If a backup file already exists in the
directory specified with DirName, the backup file is not overwritten and remains unchanged.
You can cancel only the backup processing that is being executed for the same function block instance.
When canceling is completed, the value of Canceled changes to TRUE. Depending on when the value
of Cancel changes to TRUE, it might be too late to cancel processing, and backup processing may be
competed to the end. If canceling was not performed in time, the value of Canceled will be FALSE and
the value of Done will be TRUE.
If the value of Cancel is TRUE, backup processing is not performed even if the value of Execute is
TRUE.
Option is for future expansion. Do not connect a parameter to it.
2-1324
Directory to save in
Root directory
The previously specified
directory

NY-series Instructions Reference Manual (W560)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents