beautypg.com

Parameter data transfer, Profidrive parameter data channel profidrive dp−v1, Result – Lenze EMF2133IB User Manual

Page 108: Request telegram from master to drive

background image

Parameter data transfer

PROFIdrive parameter data channel
PROFIdrive DP−V1

8

l

108

EDSMF2133IB EN 5.0

8.3.1.11

Programming of write requests

Procedure

1. Define the user data range of the controller (define the location of the user data in

the host system).
Observe manufacturer−specific data.

2. Enter the code of the desired parameter into the "code" field (output data).

3. Enter parameter value into the "Data/Error" field.

4. Job identification / service = write request

5. Check whether index and subindex correspond with the job and whether the job

identification is

Ø 0:

– If the criteria are fulfilled, the desired master data from the field "Parameter

value" are accepted by the controller.

– If these criteria are not fulfilled, the response identifier is negative (high nibble of

byte 1 = 7

hex

). In this case, the error information can be read out from the entry in

the low word.

Example:

The controller acceleration time (C0012) is to be set to 20 s.

ƒ

Job identification (high nibble in byte 1)
Transmit simple parameter value: "1"

ƒ

Code: (low nibble in byte 1 and byte 2)
C0012: 12 = 0C

hex

ƒ

Lenze subcode (byte 3):
Subindex = 0, as there is not subindex under code C0012.

ƒ

Bytes 5 ...8: Data
Data 1 ... 4 = 20 s x 10000 = 200000 = 00030D40

hex

Result:

ƒ

Request telegram from master to drive:

Byte 1*

Byte 1* +2

Byte 3

Byte 4

Byte 5

Byte 6

Byte 7

Byte 8

AK

Code

Subcode

Reserved

Parameter value

3

hex

00C

hex

00

hex

00

hex

00

hex

03

hex

0D

hex

40hex

0011

bin

000000001100

bin

00000000

bin

00000000

bin

00000000

bin

00000011

bin

00001101

bin

01000000

bin

Wait for response identification with code = 00C and subcode 0

ƒ

Response telegram from drive to master (for faultless execution):

Byte 1*

Byte 2

Byte 3

Byte 4

Byte 5

Byte 6

Byte 7

Byte 8

AK

Code

Subcode

Reserved

Parameter value

2

hex

00C

hex

00

hex

00

hex

00

hex

00

hex

00

hex

00

hex

0010

bin

000000001100

bin

00000000

bin

00000000

bin

00000000

bin

00000000

bin

00000000

bin

00000000

bin