1 reading parameter data from the controller, 2 writing parameter data to the controller, Reading parameter data from the controller – Lenze E94AYCPM User Manual

Page 50: Writing parameter data to the controller, Reading parameter data from the controller ( 50), Writing parameter data to the controller ( 50), 9parameter data transfer

Advertising
background image

9

Parameter data transfer

9.2

DRIVECOM parameter data channel (DP-V0)

50

Lenze · E94AYCPM communication module (PROFIBUS®) · Communication Manual · DMS 12.0 EN · 11/2012 · TD17

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

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)

( 53)

.

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

contains the

Error codes

( 54)

.

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

( 54)

.

Advertising