Operation & Software Manual
80
Direct Drives & Systems
Chapter C: System functions ETEL Doc. - Operation & Software Manual # DSC2P 903 / Ver. F / 3/6/05
11. Save the settings
The controller is set with 4Mbytes (1Mx32bits) of SDRAM memory and 2Mbytes of flash memory. The
SDRAM is a volatile memory which is erased each time the controller is switched OFF, whereas the flash is a
non-volatile memory and the data which is stored in it is not lost when the controller is switched OFF. All
calculations and operations done by the controller are made with SDRAM values.
SAV, RES and NEW commands allow the user to transfer data from the SDRAM to the flash and vice-versa.
The SAV command (SAVe) saves into the “flash” memory the controller’s data (like registers, sequences,
...), so that they are not lost when the controller is switched off and on again. Saved data is defined by the first
parameter.
The RES command (REStore) rereads the controller’s data (like registers, sequences,...), previously saved
with SAV command into the “flash” memory, and restores them into the SDRAM memory. Restored data is
defined by the first parameter.
The NEW command reloads in the SDRAM the default values of parameters K, or erases the S user sequence
stored in the SDRAM, depending on the first parameter's value.
Caution: After executing RES and NEW commands, SDRAM ordinary values are replaced by the values
read in the “flash” memory and are definitively lost. Similarly, the SAV command crushes the
values contained in ’flash’ with those contained in the SDRAM. To avoid possible problems,
SAV, RES and NEW commands should be executed if the controller is in ’Power Off’.
Command format <P1> Comment
SAV.<axis> = <P1>
0
1
2
Saves sequence (S register), user look-up tables (L register), user variable X, parameters K,
trigger (E register), real-time interrupt (R register), float (F register) and axis number in flash
memory
Saves sequence (S register) and user look-up tables (L register) in flash memory
Saves user variable X, parameters K, trigger (E register), real-time interrupt (R register), float (F
register) and axis number in flash memory
RES.<axis> = <P1>
0
1
2
Restores sequence (S register), user look-up tables (L register), user variable X, parameters K,
trigger (E register), real-time interrupt (R register), float (F register) and axis number from flash
to ram memory if all the switches of the DIP switch are set to 1 (refer to §12.1.1
for more
information)
Restores sequence (S register) and user look-up tables (L register) from flash to ram memory
Restores user variable X, parameters K, trigger (E register), real-time interrupt (R register), float
(F register) and axis number from flash to ram memory if all the switches of the DIP switch are
set to 1 (refer to §12.1.1
for more information)
NEW.<axis> = <P1>
0
1
2
Clears sequence in ram memory and sets default K value in ram memory
Clears sequence in ram memory
Sets default K value in ram memory
DATA
SAV
RES
NEW
DATA
default
values
DATA
SDRAM FLASH
MEMORY