Downloading data, 9300 servo plc, Appendix – Lenze Drive PLC Developer Studio 9300 Servo PLC (V8.x) User Manual

Page 108: 3 downloading data

Advertising
background image

9300 Servo PLC

Appendix

3−6

L

9300 Servo PLC EN 5.0

3.3.3

Downloading data

In DDS (as of version 2.0) it is possible to attach a file to your project whose data is automatically
downloaded to the PLC when the program is downloaded.

·

This mechanism is, for instance, used in the Software Package − Cam to download motion
profiles.

Note!

·

With the 9300 Servo PLC the additional data is loaded into the application FLASH.

·

With the Drive PLC the additional data is directly attached to the PLC program because the
Drive PLC does not have an application FLASH.

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

Advertising