3 download of various data items, Download of various data items, Appendix – Lenze ECSCAxxx User Manual
Page 379

Appendix
Memories
Download of various data items
l
379
EDBCSXA064 EN 3.2
14.3.3
Download of various data items
In DDS (as of version 2.0) it is possible to attach a file to your project whose data are
automatically transferred in the drive controller when the program is downloaded.
ƒ
This mechanism is, for instance, used in the software package "Cam" to download
motion profiles.
)
Note!
With regard to the ECSxA... axis module, the additional data is immediately
attached to the PLC program, because the module is not provided with an
application memory (FLASH).
Data will be downloaded if the following conditions are met:
1. The PLC program in the ECSxA... axis module has to be stopped.
2. The header of the file attached to the project must have the following structure:
Name
Data type
Data length in bytes Content
wSizeHeader
WORD
2
Header length in bytes
wDataType
WORD
2
Data specification identifier
l
This information can be found under C2131 after
data has been downloaded.
0 ... 10000 Lenze−specific data
> 10000 User data
dwVersion
DWORD
4
Data version
l
This information can be found under C2132 after
data has been downloaded.
dwRealSize
DWORD
4
User data length in bytes (without header)
dwTimeStamp
DWORD
4
Time stamp of the last data change
l
This information can be found under C2133 after
data has been downloaded.
wLicenseInfo
WORD
2
Reserved for future extensions
wSizeSymbolicName
WORD
2
Length of the symbolic file name
achSymbolicName
ACH
wSizeSymbolicName Character array including the symbolic file name
l
This information can be found under C2130 after
data has been downloaded.
wCopyToRam
WORD
2
Specifying whether the data is automatically copied
into the application RAM of the ECSxA... axis module
after download.
l
Maximum data length = 128 kbytes (RAM block 1
& 2)
0 Data is not copied into the application
RAM.
1 Data is copied into the application RAM.
2 ... 65535 Reserved
dwReserved
DWORD
4
Reserved for future extensions
awSizeAddInfo
DWORD
190
Interpretation of the header information: least significant byte first.