2 reading and writing parameters, Reading and writing parameters, Parameter data transfer – Lenze EMF2192IB User Manual

Page 43

Advertising
background image

Parameter data transfer

Reading and writing parameters

9

l

43

EDSMF2192IB EN 3.1

9.2

Reading and writing parameters

Parameters ...

ƒ

are set, for instance, for one−time system settings or if materials are changed within
a machine.

ƒ

are transmitted with a low priority.

In the case of Lenze controllers, the parameters to be changed are contained in codes or in
the case of the CANopen device profile "CiA402" as device profile objects.

Indexing of the Lenze codes

If they are accessed via a communication module, the codes of the controller are addressed
by the index.

The index for Lenze codes is settled in the manufacturer−specific range of the object
directory between 8192 (0x2000) and 24575 (0x5FFF).

The index number for a code results as follows:

Conversion formula

Index (dec)

Index (hex)

24575 − Lenze code

0x5FFF − (Lenze code)

hex

Example for C0001 (operating mode):

Index (dec)

Index (hex)

24575 − 1 = 24574

0x5FFF − 0x0001 = 0x5FFE

Structure of a mailbox datagram

In a datagram, mailbox data are transferred within an EtherCAT frame. The data area of the
mailbox datagram has the following structure:

Mailbox

Header

CoE

Header

SDO control

byte

Index

Subindex

Data

Data

6 bytes

2 bytes

1 byte

2 bytes

1 byte

4 bytes

1 ... n bytes

Advertising