SD.SAVE
Description
SD.SAVE will copy the state of a BASIC drive to the SD card (if one exists). The state of the drive consists of the BASIC binary file and NV parameters. Before an SD.Save is performed, the drive will perform a DRV.NVLOAD and return all of the drive parameters to their NV state. The DRV.NVLOAD is necessary in order to capture the NV parameter states for the parameter file(drive.akd). The files saved to the SD card include the BASIC binary file (program.bin) and the NV parameter file (drive.akd). In order for a drive to recognize and load these files, they must be named program.bin and drive.akd.
-
-
This command can only be executed when the drive is in the idle state (i.e. a program is not running) and the drive is disabled.
If a computer is not connected to the drive, the SD.SAVE command can also be issued using the rotary switches S1 and S2.
To save the drive state onto the SD card using rotary switches:
- Set S1 to position 1
- Set S2 to position 1
- Hold down the B1 button on the top of the drive for 5 seconds.
-
-
While the load operation is completing the LED display will flash Sd. If an error occurs, the letter E followed by three numbers will flash on the display. See for a description of SD Errors.
General Information
Type |
Command |
Units |
N/A |
Range |
N/A |
Default Value |
N/A |
Data Type |
N/A |
Start Version |
M_01-06-03-000 |
Variants Supported
Supported by any AKD with an SD Card slot.
Fieldbus Information
Register Address | Is 64 bit? | Attributes | Signed? | Object Start Version |
---|---|---|---|---|
1686 |
No | Command | No | M_01-06-03-000 |
*In SynqNet, a parameter may be available in the firmware but have no effect on the system. See SynqNet Supported Parameters.
Related Topics