B–16
Supported Block Transfer Messages
Save/Recall/Initialize
0
PLC request
4
Drive response
4
Artisan Scientific - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisan-scientific.com
Save/Recall/Initialize—NVS (Non-Volatile Storage) Functions—
activates the specified function. These functions are also referred to as
EEPROM functions.
PLC Block Transfer Instruction Data
PLC request instruction length: 4 words
Drive response instruction length: 4 words
Figure B.10
PLC Request
Message Length
4
PLC Decimal Value
–31998
0
NVS Command
Value
NVS Command
00
Not Used
01
NVS Save
02
NVS Recall
03
NVS Default Initialize
Message Operation
This function allows three different message requests:
•
NVS Save saves parameter information from the working
memory or RAM to NVS Storage.
•
NVS Recall retrieves the last saved data from NVS Storage and
places it in the working memory or RAM.
•
NVS Default Initialize clears the RAM and NVS Storage and sets
all parameter values to default.
If an error has occurred, response word 1 returns a value of -31998.
Example
This example requests the NVS Storage Save function be performed.
Data File Format
1
2
3
–31998
0*
0, 1, 2, or 3
770
0*
0*
* Example only — These values vary depending on parameters and products.
Message Structure
Header Word 0
PLC Decimal Value
Header Word 1
–31998 — Message Error
Header Word 2
Data Word 3
4
5
6
Drive Response
Header
Message Length
Word 0
4
Header
770 — Message OK
Word 1
Header
0
Word 2
Data
0 or Error Code
Word 3
7
8
9