Store Parameter Object - Curtis 1353 User Manual

Canopen expansion module
Table of Contents

Advertisement

Curtis 1353 CANopen Expansion Module Manual – June 2017

Store Parameter Object

The Store Parameter Object controls when and if the changes made to the Object Dictionary (by
SDO Write) are moved (stored) into EEPROM. An SDO read of the Save All Parameters sub-index
0x01 will return the present EEPROM Storage functionality. An SDO write to this sub-index is used
to change the EEPROM Storage functionality. Note that the Save Type is always saved to EEPROM
(even the No_Save option) so that the 1353 will power up in the desired mode.
The text strings "save" and "bkup" initiate a complete storage of all parameters to either the Normal
EEPROM space or the Backup EEPROM space.
Table 2b Store Parameter Object
At first glance, the ASCII looks "backward. " This is because CANopen defines that the LSB goes first
and MSB is sent last. Therefore "save" (which is data bytes 5, 6, 7, and 8) is written as "evas" when
converting it to hex (data bytes in proper descending order). Using the ASCII hex values for each
character, we get 65h ("e"), 76h ("v"), 61h ("a"), and 73h ("s") for the final resultant hex 6 byte number
of 0x 65766173.
A text string is required (by DS301) for the SAVE_COMMAND to increase security. On reception
of the correct string, the 1353 stores the parameters and then confirms the SDO transmission. If the
storing failed, the 1353 responds with an Abort SDO. If a wrong string or unsupported command is
written, the 1353 will not store and responds with an Abort SDO.
The "save" string will cause the 1353 to write all RW parameters from the Working RAM locations
into the Normal EEPROM locations. The Normal EEPROM block is accessed during standard SDO
write requests.
The "bkup" string will write into the secondary Backup EEPROM block. This block is not written to
by normal SDO write requests and can only be accessed by the "load" command.
Note that of these six requests, only "save" is defined by DS301; the others are Curtis extensions.
pg. 28
Function Request
SET_NO_SAVE
SET_SAVE_ON_COMMAND
SET_AUTO_SAVE
SET_BOTH_SAVE
SAVE_COMMAND
BACK_UP_COMMAND
Value
RW
Description
0
RW
Device will not save parameter changes to EEPROM.
1
RW
Device will save parameter changes to EEPROM on
command.
2
RW
Device will save parameter value to EEPROM
automatically upon the SDO Write request.
3
RW
Changes are saved on command and also
automatically.
"save"
RO
Text string that commands all parameters to be
0x65766173
saved from working RAM to normal EEPROM space.
"bkup"
RO
Text string that commands all parameters to be
0x70756B62
saved from working RAM to the Backup EEPROM
space. Not that this function works independent of
the Save type setting (even No_Save).
Return to TOC
5 — SDO COMMUNICATIONS

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents