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

Page 44: Communication manual 8400 motec profibus

Advertising
background image

Communication manual 8400 motec PROFIBUS

Parameter data transfer

DRIVECOM parameter data channel (DP-V0)

44

L

EDS84DMOTPBUS EN 3.0 - 11/2011

9.2.2.1

Reading parameter data from the controller

General procedure:

1. Define the user data area 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 required parameter in the "Index" and "Subindex" fields (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 isnot set: The "Data/Error" field contains the required

Parameter value

(data)

( 47)

.

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

field contains the

Error codes

( 48)

.

9.2.2.2

Writing parameter data to the controller

General procedure:

1. Define the user data area 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 required parameter in the "Index" and "Subindex" fields (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

( 48)

.

Advertising