5 reading parameters, Reading parameters, Parameter data transfer – Lenze E82ZAFPC010 User Manual

Page 62

Advertising
background image

Parameter data transfer

DRIVECOM parameter data channel
Reading parameters

8

l

62

EDS82ZAFPC010 EN 4.0

8.1.5

Reading parameters

General procedure

1. Define the user data range of the controller. (Where are the user data located in the

host system?)
Observe manufacturer−specific information.

2. Enter the address of the required parameter into the "Index" and "Subindex" fields

(DP output data).

3. Request in the service byte = read request

The status of 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.
Status bit is set: The read request has not been executed correctly. The "Data/Error"
field contains the error information.

Example:

The heatsink temperature (43 °C) of the controller is to be read (C0061).

ƒ

Byte 1: Request

Bit 7

...

Bit 0

0

X

1

1

0

0

0

1

"1" (read)

Reserved

"3" (data length 4 bytes)

Handshake

Status (only relevant for response telegram)

ƒ

Byte 2: Subindex
Subindex = 0, as there is no subindex under code C0061.

ƒ

Byte 3 / 4: Index
Index = 24575 − code number
Index = 24575 − 61 = 24514 = 5FC2

hex

(5F

hex

= high byte, C2

hex

= low byte)

ƒ

Bytes 5 ... 8: Data (contained in the response telegram)
Data 1 ... 4 = 43 °C x 10000 = 430000 (FIX32) = 00068FB0

hex

Advertising
This manual is related to the following products: