2 byte 1: service, Byte 1: service, Communication manual 8400 protec profibus – Lenze E84Dxxxx User Manual

Page 37

Advertising
background image

Communication manual 8400 protec PROFIBUS

Parameter data transfer

DP-V0 parameter data channel (DRIVECOM profile)

37

L

EDS84DPBUS EN 2.0 - 09/2010

8.2.2

Byte 1: Service

Request and response control for the parameter data channel

[8-1]

Method of counting for bit 0 ... 7

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 /

Error 4

Data 3 /

Error 3

Data 2 /

Error 2

Data 1 /

Error 1

7

6

5

4

3

2

1

0

Bit 0 ... 2: Request
Read/write request from the master to the controller

000 No request
001 Read request



Reading parameter data from the controller ( 38)

010 Write request (write data to the controller)



Writing parameter data to the controller ( 38)

100 Data transfer abort by the master



Data transfer abort by the master ( 39)

Bit 3
Reserved

Bit 4/5: Data length
Data length ≤ 4 bytes in the telegram bytes 5 ... 8 (data 1 ... 4 / error 1 ... 4)

00 1 byte
01 2 bytes
10 3 bytes
11 4 bytes

Bit 6: Handshake
Indicates a new request.

• The status of this (toggle) bit is changed by the master for every new request.

• The controller copies the bit into its response telegram.

Bit 7: Status
Status information from the controller to the master when sending the request confirmation.

• This bit informs the master whether the request has been carried out without errors.

0 Request completed without errors.
1 Request not completed because of an error.

• The set status bit indicates that the telegram is an "error telegram". The data of bytes 5 ... 8 (data/

error) has to be interpreted as an error message.



Error codes ( 42)

Advertising