9 Backup Functions
9-14
NJ-series CPU Unit Software User’s Manual (W501)
Backing Up Data with the _Card1BkupCmd (SD Memory Card Backup
Command) System-defined Variable
Note You cannot access these system-defined variables from the user program.
Backing Up Data from the SD Memory Card Dialog Box on the Sysmac Studio
Refer to the Sysmac Studio Version 1 Operation Manual (Cat. No. W504) for specific procedures.
Processing stage Procedure
Start command The name of the directory where the files are saved is stored in the
_Card1BkupCmd.DirName (Directory Name) system-defined variable.
Example: “dirA/dirB” specifies the dirB directory inside the dirA directory.
The backup operation starts when you change the _Card1BkupCmd.ExecBkup (Execute
Backup Flag) system-defined variable to TRUE.
Cancel command You can cancel the backup operation.
The backup operation ends in an error if you change the _Card1BkupCmd.CancelBkup
(Cancel Backup Flag) system-defined variable to TRUE.
Executing The _Card1BkupSta.Active (Active Flag) system-defined variable changes to TRUE.
The value of the _BackupBusy (Backup Function Busy Flag) system-defined variable will
change to TRUE.
Execution results Normal End:
The _Card1BkupSta.Done (Done Flag) system-defined variable changes to TRUE.
Error End:
The _Card1BkupSta.Err (Error Flag) system-defined variable changes to TRUE.
Processing stage Procedure
Start command Click the SD Memory Card Backup Button on the SD Memory Card Dialog Box in the Sys-
mac Studio, specify the directory to save the backup file in, and execute the backup.
Executing The progress of the backup is displayed in the dialog box. The value of the _BackupBusy
(Backup Function Busy Flag) system-defined variable will change to TRUE.
Execution results A message will appear when the backup is completed. You will then be asked to confirm
whether to verify the backup data.