
Parameter data transfer
PROFIdrive parameter data channel
PROFIdrive DP−V0
l
67
EDS82ZAFPC201 EN 4.0
8.2.1.2
Programming of read requests
Procedure
1. Define the user data range of the controller (define the location of the user data in
the host system).
Observe manufacturer−specific data.
2. Enter the code of the desired parameter into the "code" field (output data).
3. Job identification / service = read request
4. Check whether index and subindex correspond with the job and whether the job
identification is
Ø
0:
– If the criteria are fulfilled, the desired controller data from the field "Parameter
value" are transmitted to the master.
– If these criteria are not fulfilled, the response identifier is negative (high nibble of
byte 1 = 7
hex
). In this case, the error information can be read out from the entry in
the low word.
Example:
The heatsink temperature (43 °C) of the controller is to be read (C0061).
ƒ
Job identification (high nibble in byte 1)
– Read simple parameter: "1"
ƒ
Code: (low nibble in byte 1 and byte 2)
– C0061: 61 = 3D
hex
ƒ
Lenze subcode (byte 3):
– Subindex = 0, as there is not subindex under code C0061.
ƒ
Bytes 5 ... 8: Data (not contained in the request telegram)
– Data 1 ... 4 = 43
C x 10000 = 430000 = 00068FB0
hex
Result:
ƒ
Request telegram from master to drive:
Byte 1*
Byte 1* +2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Byte 8
AK
Code
Subcode
Reserved
Parameter value
1
hex
03D
hex
00
hex
00
hex
00
hex
00
hex
00
hex
00
hex
0001
bin
000000111101
bin
00000000
bin
00000000
bin
00000000
bin
00000000
bin
00000000
bin
00000000
bin
Wait for response identification with code = 03D
hex
and subcode 0
ƒ
Response telegram from drive to master (for faultless execution):
Byte 1*
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Byte 8
AK
Code
Subcode
Reserved
Parameter value
2
hex
03D
hex
00
hex
00
hex
00
hex
06
hex
8F
hex
B0
hex
0010
bin
000000111101
bin
00000000
bin
00000000
bin
00000000
bin
00000110
bin
10001111
bin
10110000
bin