beautypg.com

1 operating principle - example, Operating principle − example, Function library lenzeaifparmapdrv.lib – Lenze DDS Global Drive PLC Developer Studio User Manual

Page 10: Introduction, 1 operating principle − example

background image

2.2

AifParMap driver

Function library LenzeAifParMapDrv.lib

Introduction

2−2

L

LenzeAifParMapDrv.lib EN 1.1

2.2.1

Operating principle − example

Task

A drive controller function is parameterized under code C0011/0. The drive controller is replaced by
a PLC. From now on this function has to be parameterized under code C3011/3.

·

The functionality is accessed from a higher−level control via the AIF interface.

The new PLC has to be adapted to the existing system environment so that the higher−level control
program need not be changed.

Solution

By using the functions of the function library LenzeAifParMapDrv.lib code C0011/0 can be easily
mapped to PLC code C3011/3. In this way, the higher−level control system can access the PLC in
the same way as before via the AIF interface.

Operating principle

The operating system (as of V6.0) of Lenze PLCs includes a "mapping table" which allows to map
up to 256 codes to other codes within the PLC.

If an AIF telegram is received and the code number is within the valid range, the system checks
whether the code is listed in the mapping table.

·

If the code is listed in the mapping table the system accesses the code which has been
configured as corresponding mapping target code in the mapping table.



·

If the code is not listed in the mapping table the code will be accessed without mapping.

‚

AIF telegram

Code number

valid ?

yes

Code access:

C3000/2

Code access:

C3000/2

AIF telegram

Code number

valid ?

Subcode

Code

Subcode

Redirection to:

Code

11

0

3011

3

yes

Code access:

C0011/0

Code access:

C3011/3

Mapping table

2

1

3200

0

43

0

3011

4

Subcode

Code

Subcode

Redirection to:

Code

11

0

3011

3

Mapping table

2

1

3200

0

43

0

3011

4

Fig. 2−1

Redirection of codes to other codes