Telegram example 1, Querying the heatsink temperature (read request), 3communication with the controller – Lenze i700 User Manual

Page 38

Advertising
background image

3

Communication with the controller

3.6

Ethernet over EtherCAT (EoE)

38

Lenze · i700 servo inverter · Reference manual · DMS 1.5 EN · 03/2014 · TD05

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

3.6.4.4

Telegram example 1: Querying the heatsink temperature (read request)

The heatsink temperature of the i700 servo inverter is to be read.

• Object to be read: 0x2D84:1
• Assumption: ϑ = 43°C

Request

• SDO command (GSV) = 0x82 = "Read parameter"
• GCI Message Qualifier (GMQ) = 0x00 = 0b00000000 = "Request"
• Transaction ID (GTI) here "0" (optional consecutive number 0 ... 255)
• Length of the user data (SIZE) = 0x0014 = 20 bytes

GCI header

Byte 1

Byte 2

Byte 3

Byte 4

Byte 5

Byte 6

Byte 7

Byte 8

GMT

GSV

GMQ

GTI

SIZE

SIZE

res

res

0x01

0x82

0x00

0x00

0x14

0x00

0x00

0x00

Fixed

Read

parameters

Request

Transactions ID

Length of the user data = 20 bytes

Reserved

User data area P0

Byte 1

Byte 2

Byte 3

Byte 4

Reserved

Data type

Reserved

0x00

0x00

0x00

0x00

Optional for

read request

User data area P1

User data area P2

Byte 1

Byte 2

Byte 3

Byte 4

Byte 1

Byte 2

Byte 3

Byte 4

Index

Reserved

Subindex

Reserved

0x84

0x2D

0x00

0x00

0x01

0x00

0x00

0x00

Index = 0x2D84

Subindex = 1

User data area P3

User data area P4

Byte 1

Byte 2

Byte 3

Byte 4

Byte 1

Byte 2

Byte 3

Byte 4

Reserved

Reserved

0x00

0x00

0x00

0x00

0x00

0x00

0x00

0x00

Advertising