9 mapping indices to codes, Mapping indices to codes, System bus (can / can−aux) configuration – Lenze ECSCAxxx User Manual

Page 175

Advertising
background image

System bus (CAN / CAN−AUX) configuration

Mapping indices to codes

8

l

175

EDBCSXA064 EN 3.2

8.9

Mapping indices to codes

The operating system from V6.0 of the ECSxA axis module contains a special CanDSx driver
which can be activated by means of the functions of the function library
LenzeCanDSxDrv.lib.

By means of this driver, indices of the ECSxA... axis modules and other Lenze PLCs can be
assigned to another code than the one that is assigned automatically.

)

Note!

ƒ

Each Lenze code is firmly assigned to an index via the following formula:
– Index = 5FFF

hex

− code

– Index = 24575

dec

− code

ƒ

The function of the CanDSx driver is restricted to the system bus (CAN).

Functional principle using the following example

Problem

Users have equipped the ECSxA... axis module with a function which can be parameterised
via the user code C3200/5. The code C3200 is automatically assigned to the index
21375

dec

.

Index = 24575

dec

− code = 24575

dec

− 3200 = 21375

dec

Due to the communication profile used, however, this function should be parameterised
via the index 4101

dec

/subindex 2.

Solution

By means of the functions of the function library LenzeCanDSxDrv.lib the
index 4101

dec

/subindex 2 in the ECSxA... axis module is simply redirected to code C3200/5

so that the communication profile can be used as usual.

Advertising
This manual is related to the following products: