7 telegram examples, 1 read request: querying the heatsink temperature, Telegram examples – Lenze E84Dxxxx User Manual

Page 43: Communication manual 8400 protec profibus

Advertising
background image

Communication manual 8400 protec PROFIBUS

Parameter data transfer

DP-V0 parameter data channel (DRIVECOM profile)

43

L

EDS84DPBUS EN 2.0 - 09/2010

8.2.7

Telegram examples

8.2.7.1

Read request: Querying the heatsink temperature
The heatsink temperature of the controller is to be read.

Code to be read: C00061

Heatsink temperature: 43 °C

Byte 1: Service (request)

Request = 0t110001

bin

– Bit 0 ... 2 = 001

bin

for read request

– Bit 3 = 0 (reserved)
– Bit 4/5 = 01

bin

for 2-byte data length (only relevant for the response message)

– Bit 6 = handshake bit (t ≡ status is changed in the response message)
– Bit 7 = status bit (only relevant for the response message)

Byte 2: Subindex

Subindex = 0 because code C00061 contains no subindexes.

Bytes 3 + 4: Index

Index = 24575 - code number = 24575 - 61 = 24514 = 0x5FC2
– Byte 3 (high byte) = 0x5F
– Byte 4 (low byte) = 0xC2

Bytes 5 ... 8: Data

The response message contains the value of code C00061:
– Data 3 + 4 = 43 [°C] x 1 (internal factor) = 43 = 0x002B

Result:

Request message from master to drive:

Response message from drive to master (for faultless execution):

Byte 1

Byte 2

Byte 3

Byte 4

Byte 5

Byte 6

Byte 7

Byte 8

Service

Subindex

Index high byte

Index low byte

Data 4

Data 3

Data 2

Data 1

0x01

0x00

0x5F

0xC2

0x00

0x00

0x00

0x00

0t000001

bin

00000000

bin

01011111

bin

11000010

bin

00000000

bin

00000000

bin

00000000

bin

00000000

bin

Waiting for change of handshake bit 6 in service byte 1 of the response.

Byte 1

Byte 2

Byte 3

Byte 4

Byte 5

Byte 6

Byte 7

Byte 8

Service

Subindex

Index high byte

Index low byte

Data 4

Data 3

Data 2

Data 1

0x11

0x00

0x5F

0xC2

0x00

0x2B

0x00

0x00

0t010001

bin

00000000

bin

01011111

bin

11000010

bin

00000000

bin

00101011

bin

00000000

bin

00000000

bin

Advertising