1 reading parameter data from the controller, 2 writing parameter data to the controller, Reading parameter data from the controller ( 38) – Lenze E84Dxxxx User Manual

Page 38: Writing parameter data to the controller ( 38), Communication manual 8400 protec profibus

Advertising
background image

EDS84DPBUS EN 2.0 - 09/2010

L

38

Communication manual 8400 protec PROFIBUS

Parameter data transfer

DP-V0 parameter data channel (DRIVECOM profile)

8.2.2.1

Reading parameter data from the controller

How to proceed:

1. Define the user data range of the controller, i.e. define the location of the DP user data

in the host (observe manufacturer-specific information).

2. Enter the address of the desired parameter in the fields "Index" and "Subindex" (DP

output data).

3. Request in the service byte = Read request.

– The handshake bit in the service byte must be changed (DP output data).

4. Check whether the handshake bit in the service byte is the same for the DP input data

and the DP output data.
– If the handshake bit is the same, the response has been received.
– It is useful to implement a time monitoring tool.

5. Check whether the status bit in the service byte is set:

– Status bit is not set: The "Data/Error" field contains the required

Parameter value

(data)

( 41)

.

– Status bit is set: The read request has not been executed correctly. The "Data/Error"

field contains the

Error codes

( 42)

.

8.2.2.2

Writing parameter data to the controller

How to proceed:

1. Define the user data range of the controller, i.e. define the location of the DP user data

in the host (observe manufacturer-specific information).

2. Enter the address of the desired parameter in the fields "Index" and "Subindex" (DP

output data).

3. Enter the parameter value in the "Data/error" field.
4. Request in the service byte = Write request.

– The handshake bit in the service byte must be changed (DP output data).

5. Check whether the handshake bit in the service byte is the same for the DP input data

and the DP output data.
– If the handshake bit is the same, the response has been received.
– It is useful to implement a time monitoring tool.

6. Check whether the status bit in the service byte is set:

– Status bit is not set: The write request has been executed correctly.
– Status bit is set: The write request has not been executed correctly. The "Data/Error"

field contains the

Error codes

( 42)

.

Advertising