4 writing parameter data to the controller, Writing parameter data to the controller, 9parameter data transfer – Lenze E94AYCPM User Manual

Page 66

Advertising
background image

9

Parameter data transfer

9.3

PROFIdrive parameter data channel (DP-V1)

66

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

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

9.3.3.4

Writing parameter data to the controller

Request header

Parameter attribute

Index and subindex

Note!

When a multi-parameter write request is transferred, the ...

• Parameter attribute
• Index and subindex

and then the ...

• Parameter format
• Parameter value

... are repeated with the number "n" of the parameters addressed.
A write request must not exceed the maximum data length of 240 bytes.

Byte 1

Byte 2

Byte 3

Byte 4

Request reference

Request identification

Axis

Number of indices

Field

Data type

Values

Request reference

U8

This value is defined by the master.

Request identification

U8

0x02: Write parameter

Axis

U8

0x00 or 0x01

Number of indices

U8

0x"n" (n = number of parameters addressed)

Byte 5

Byte 6

Attribute

Number of subindices

Field

Data type

Values

Attribute

U8

0x10: Value

Number of subindices

U8

0x00

(For array elements: Enter the number of array elements

required.)

Byte 7

Byte 8

Byte 9

Byte 10

Index

Subindex

High byte

Low byte

High byte

Low byte

Field

Data type

Values

Index

U16

0x0001 ... 0xFFFF (1 ... 65535)

Subindex

U16

0x0001 ... 0xFFFF (1 ... 65535)

Advertising