A CPU Unit with unit version 1.08 or later and Sysmac Studio version 1.09 or higher are required
to use the BackupToMemoryCard instruction.
The system-defined variables that are related to the operation when system-defined variables are used
to back up data are shown below. Refer to A-4 Specifications for Individual System-defined Variables
for details on system-defined variables.
* You cannot access these system-defined variables from the user program.
Processing stage Procedure
Start command Execute the BackupToMemoryCard instruction in the user program.
Executing The value of the Busy output variable from the BackupToMemoryCard instruction will
change to TRUE.
The value of the _BackupBusy (Backup Function Busy Flag) system-defined variable will
change to TRUE.
Execution results Normal End:
The value of the Done output variable from the BackupToMemoryCard instruction changes
to TRUE.
Error End:
The value of the Error output variable from the BackupToMemoryCard instruction changes
to TRUE.
The error code is stored in the ErrorID output variable from the BackupToMemoryCard
instruction.
Related System-defined Variables
Variable
Meaning Function Data type R/W
Member name
_Card1BkupCmd* SD Memory Card
Backup Commands
_sBKUP_CMD RW
ExecBkup* Execute Backup Flag Change this variable to TRUE to back up
Controller data to an SD Memory Card.
BOOL RW
CancelBkup* Cancel Backup Flag Change this variable to TRUE to cancel
backing up data to an SD Memory Card.
BOOL RW
DirName* Directory Name Use this variable to specify the directory
name in the SD Memory Card for which to
back up data.
STRING(64) RW
_Card1BkupSta* SD Memory Card
Backup Status
_sBKUP_STA R
Done* Done Flag TRUE when a backup is completed. BOOL R
Active* Active Flag TRUE when a backup is in progress. BOOL R
Err* Error Flag TRUE when processing a backup ended in
an error.
BOOL R
_BackupBusy Backup Function
Busy Flag
TRUE when a backup, restoration, or verifi-
cation is in progress.
BOOL R