2 write parameters, Write parameters, 11 system bus "can on board – Lenze 8400 HighLine User Manual

Page 731

Advertising
background image

Lenze · 8400 HighLine · Referenzhandbuch · DMS 10.0 EN · 06/2014 · TD05/TD14

731

11

System bus "CAN on board"

11.9

Parameter data transfer

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

11.9.3.2

Write parameters

Task: The rated current of the connected motor is to be entered with I

N

= 10.20 A (code

C00088

) into

the controller with node address "2".

Telegram to drive

Response telegram from drive (if data have been correctly transmitted)

Data 1 ... 4

Calculation

Value for motor current, (data type U16; display factor 1/100)

10.20 x 100 = 1020 (0x03 FC)

Identifier

User data

1st byte

2nd byte 3rd byte

4th byte

5th byte

6th byte

7th byte

8th byte

Command

Index

Subindex

Data 1

Data 2

Data 3

Data 4

0x0602

0x23

0xA7

0x5F

0x00

0xFC

0x03

0x00

0x00

Explanations on the telegram to the drive
Identifier

= 1536 + node address = 1536 + 2 = 1538 = 0x0602

(1536 = SDO1 basic identifier to the controller)

Command

= 0x23 = "Write request" (write request of a parameter to the controller)

Index

= 24575 - code number = 24575 - 88 = 24487 = 0x5FA7

Subindex

= 0 (code

C00088

does not have any subcodes)

Data 1 ... 4

= 10.20 x 100 = 1020 = 0x000003FC

(motor current value; data type U32; display factor 1/100)

Identifier

User data

1st byte

2nd byte 3rd byte

4th byte

5th byte

6th byte

7th byte

8th byte

Command

Index

Subindex

Data 1

Data 2

Data 3

Data 4

0x0582

0x60

0xA7

0x5F

0x00

0x00

0x00

0x00

0x00

Explanations on the telegram from the drive
Identifier

= 1408 + node address = 1408 + 2 = 1410 = 0x0582

(1408 = SDO1 basic identifier from the controller)

Command

= 0x60 = "Write response" (Acknowledgement of the write access from the controller)

Index

as in telegram to the drive

Subindex

Advertising