Drive plc, Appendix – Lenze Global Drive PLC Developer Studio User Manual
Page 85

Drive PLC
Appendix
8.3
Memories
8−5
L
DrivePLC DE 6.0
For the download being executed by the DDS, the following two conditions must be met:
1. The PLC program must have been stopped.
2. The header of the file attached to the project must have the following structure:
Name
Data type
Data length in bytes Contents
wSizeHeader
WORD
2
Header length in bytes
wDataType
WORD
2
Data specification identifier
·
This information can be found under C2131 after data has been downloaded.
0 ... 10000 Lenze−spezific data
> 10000 User data
dwVersion
DWORD
4
Data version
·
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
·
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
·
This information can be found under C2130 after data has been downloaded.
wCopyToRam
WORD
2
Selection whether data will be automatically copied into the application RAM of
the PLC after downloading.
·
Maximum data length = 128 kbytes (RAM block 1 and 2)
0 Data is not copied into the application FLASH.
1 Data is copied into the application FLASH.
2 ... 65535 Reserved
dwReserved
DWORD
4
Reserved for future extensions
awSizeAddInfo
DWORD
190
Interpretation of the header information: least significant byte first:
E4 00 0A 00 01 00 00 00
1C FF 00 00
wSizeHeader = 00 E4
= 228 Byte
hex
wDataType = 00 0A
= 10 (Cam data)
hex
dwVersion = 00 00 00 01
hex
dwRealSize = 00 00 FF 1C
= 65308 Byte
hex