Parameter data transfer – Lenze EMF2178IB User Manual

Page 79

Advertising
background image

Parameter data transfer

Examples of parameter data telegram

10

l

79

EDSMF2178IB EN 3.0

Read block parameters

The software product code (code C0200) of the Lenze 8200 vector is to be read from
parameter set 1. The product code has 14 alphanumerical characters. They are transferred
as block parameters. The transfer of block parameters uses the entire data width (2nd to
8th byte).

During user data transfer, the command byte (1. Byte) contains the entry 0x40 or 0x41 to ...

– be able to signalise the end of the block transfer;
– request the next block.

ƒ

C0200 − request

Command

Index

Low byte

Index

High byte

Subindex

Data 1

Data 2

Data 3

Data 4

0x40

0x37

0x5F

0x00

0x00

0x00

0x00

0x00

Byte 1:

0x

40, "Read request" (requirement to read a parameter from the controller)

Byte 2/3: Index low/high byte: 24575 − 200 − 0 = 24375 (

0x

5F37)

ƒ

Response including the block length (14 characters)

Command

Index

Low byte

Index

High byte

Subindex

Data 1

Data 2

Data 3

Data 4

0x41

0x37

0x5F

0x00

0x0E

0x00

0x00

0x00

Byte 1:

0x

41, "read response". The entry

0x

41

implies that it is a block diagram.

Byte 2/3: Index low/high byte: 24575 − 200 − 0 = 24375 (

0x

5F37)

Byte 5:

0x

0E = data length of 14 characters (ASCII format)

ƒ

First data block − request

)

Note!

The single blocks are toggled*, i.e. at first it is requested with command 0x60
(0b01100000), then with command 0x70 (0b01110000), after his again with
0x6 etc.
The response is sent accordingly. It is alternating because of a toggle bit. The
process is completed by command 0x11 (bit 0 is set, see below).
*Toggle−Bit = bit 4 (starting with "0")

Command

Index

Low byte

Index

High byte

Subindex

Data 1

Data 2

Data 3

Data 4

0x60

0x00

0x00

0x00

0x00

0x00

0x00

0x00

Byte 1:

0x

60

,

"Write response" (acknowledgement) with access to bytes 2 ... 8.

ƒ

Response

Command

Index

Low byte

Index

High byte

Subindex

Data 1

Data 2

Data 3

Data 4

0x00

0x38

0x32

0x53

0x38

0x32

0x31

0x32

Bytes 2 ... 8, ASCII format: 8 2 S 8 2 1 2

Advertising