beautypg.com

3 writing parameters (example), Writing parameters (example), Canopen communication – Lenze 931K User Manual

Page 24

background image

CANopen communication

Parameter data transfer (SDO transfer)
Writing parameters (example)

5

l

24

KHB 13.0002−EN 4.1

5.2.3

Writing parameters (example)

Problem

The numerator (object 6093_01) of the drive controller with node address 1 is to be set to
216000 via the SDO (parameter data channel).

Telegram to the drive controller

Value

Info

Identifier

= Basic identifier + node address
= 600 + 1 = 601

h

l

Basic identifier for parameter channel = 600

h

l

Node address = 1

Data length

= 08

Command code

= 23

h

l

Write request" command (send parameter to the

drive)

Index

= 6093

h

l

Index of the position_factor

Subindex

= 1

l

Subindex = 1 (numerator)

Data 1
Data 2
Data 3
Data 4
Data 1 ... 4

= C0

h

= 4B

h

= 03

h

= 00

h

= C0 4B 03 00

h

l

Assumption: The numerator value to be set is to be
00 03 4B C0

h

(216000

d

).

11 bits

4 bits

User data

Identifier

Data

length

Command

code

Index

low byte

Index

high byte

Subindex

Data 1

Data 2

Data 3

Data 4

601

h

08

h

23

h

93

h

60

h

01

h

C0

h

4B

h

03

h

00

h

Telegram from the drive controller (acknowledgement for faultless execution)

Value

Info

Identifier

= Basic identifier + node address
= 580 + 1 = 581

h

l

Basic identifier for parameter channel = 580

h

l

Node address = 1

Data length

= 08

Command code

= 60

h

l

Write response" command (acknowledgement from

the drive controller)

Index

= 6093

h

l

Index of the position_factor

Subindex

= 1

l

Subindex = 1 (numerator)

Data 1 ... 4

= 00 00 00 00

h

l

Acknowledgement only

11 bits

4 bits

User data

Identifier

Data

length

Command

code

Index

low byte

Index

high byte

Subindex

Data 1

Data 2

Data 3

Data 4

581

h

08

h

60

h

93

h

60

h

01

h

00

h

00

h

00

h

00

h

This manual is related to the following products: