Ld - load parameters from flash – ElmoMC SimplIQ Digital Servo Drives-Bell Command Reference User Manual

Page 103

Advertising
background image

LD - Load Parameters from Flash

Purpose:
Loads all non-volatile variables from the flash memory to the RAM and resets all
volatile variables to their default values.

Before accepting the loaded parameters, LD tests them as follows:

The variables written in the flash memory can be read. The variables cannot be

read if the drive is brand new and no parameters have ever been saved in it, or
after a major firmware update.

The variables in the flash memory are all in their permitted range. This test should

not fail, as the legality of all variables is tested prior to saving.

If any of these tests fail, the contents of the flash are ignored and all non-volatile
variables are set to their factory default (RS) states.

Certain exceptional variables are not reset by the LD command. The communication
(PP[N]) parameters are retrieved from the flash memory, but are not set into action. The
parameter PP[1] retains its old values in order to ensure communication continuity. The
newly-loaded RS-232 communication parameters may be activated by PP[1]=1, and the
new CAN parameters are activated by a “Communication Reset” NMT message.

The LD command may take a few milliseconds to perform, because it completely

recalculates the drive database. At this time, the communication routines are
disabled. If an LD command is executed by an RS-232 command, a CAN message
may be lost in the meanwhile, and vice versa.

Attributes:

Type:

Command, No value

Source: RS-232,

CANopen

Restrictions:

MO=0, Program not running

Unit modes: All
Activation: Immediate
SimplIQ:

Modified – see note below

Notes:

• If an LD command fails, CD will report the reason for the failure by adding the

string “Couldn’t load from serial flash” followed by the reason for the failure.

• The Save() function used within a User Program does not check the integrity of

the data before saving it to the flash memory.

• SimplIQ for Steppers difference: The LD command has no effect on the

commutation and cogging correction tables stored in the motion processor. Refer
to the SI command.

See also:

SV

,

SI

,

RS

,

CD

SimplIQ for Steppers Command Reference Manual

Alphabetical Listing

MAN-STECR (Ver. 1.1)

95

Advertising