Communication manual 8400 motec profibus, Bit 0 = 010 – Lenze E84DGFCP User Manual

Page 50

Advertising
background image

Communication manual 8400 motec PROFIBUS

Parameter data transfer

DRIVECOM parameter data channel (DP-V0)

50

L

EDS84DMOTPBUS EN 3.0 - 11/2011

9.2.7.2

Write request: Setting the deceleration time for quick stop (QSP)
In the controller, the deceleration time for quick stop (QSP) is to be set to 50 ms.

 Code to be written: C00105

Byte 1: Service (request)

 Request = 0t110010

bin

– Bit 0 ... 2 = 010

bin

for write request

– Bit 3 = 0 (reserved)
– Bit 4/5 = 11

bin

for 4-byte data length

– Bit 6 = handshake bit (t ≡ status is changed in the response telegram)
– Bit 7 = status bit (only relevant for the response telegram)

Byte 2: Subindex

 Subindex = 0 because code C00105 does not contain any subindices.

Bytes 3 + 4: Index

 Index = 24575 - code number = 24575 - 105 = 24470 = 0x5F96

– Byte 3 (high byte) = 0x5F
– Byte 4 (low byte) = 0x96

Bytes 5 ... 8: Data

 The parameter value of 0.05 s to be set is multiplied by the code-specific factor of

"1000" and entered in the user data:
– Data 1 ... 4 = 0.05 [s] x 1000 (internal factor) = 50 = 0x00000032

Result:

 Request telegram from master to drive:

 Response telegram from drive to master (for correct execution):

Byte 1

Byte 2

Byte 3

Byte 4

Byte 5

Byte 6

Byte 7

Byte 8

Service

Subindex

Index high byte

Index low byte

Data 4

Data 3

Data 2

Data 1

0x72

0x00

0x5F

0x96

0x00

0x00

0x00

0x32

0t110010

bin

00000000

bin

01011111

bin

10010110

bin

00000000

bin

00000000

bin

00000000

bin

00110010

bin

Waiting for change of handshake bit 6 in service byte 1 of the response

Byte 1

Byte 2

Byte 3

Byte 4

Byte 5

Byte 6

Byte 7

Byte 8

Service

Subindex

Index high byte

Index low byte

Data 4

Data 3

Data 2

Data 1

0x40

0x00

0x5F

0x96

0x00

0x00

0x00

0x32

0t000000

bin

00000000

bin

01011111

bin

10010110

bin

00000000

bin

00000000

bin

00000000

bin

00110010

bin

Advertising