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

Page 59: Read request: querying the heatsink temperature, 9parameter data transfer

Advertising
background image

9

Parameter data transfer

9.2

DRIVECOM parameter data channel (DP-V0)

59

Lenze · E84AYCPM communication module (PROFIBUS®) · Communication Manual · DMS 5.0 EN · 11/2012 · TD17

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

9.2.7

Telegram examples

9.2.7.1

Read request: Querying the heatsink temperature

The heatsink temperature of the inverter 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 telegram)

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

Byte 2: Subindex
Subindex = 0 because code C00061 does not contain any subindices.

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 telegram contains the value of code C00061:
Data 3 + 4 = 43 [°C] x 1 (internal factor) = 43 = 0x002B

Result:
Request telegram from master to drive:

Response telegram from drive to master (for correct 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