Control technology | profibus communication manual – Lenze PROFIBU PC-based Automation User Manual
Page 53

DMS 2.2 EN 07/2011 TD17
L
53
Control technology | PROFIBUS communication manual
Function libraries
SysLibDPV1Hilscher.lib function library
8.4.4
Telegram examples of the PROFIdrive parameter data channel (DP-V1)
In the following, a parameter read order and a parameter write order for a Servo Drive 9400
are described.
8.4.4.1
Example of read request: Query heatsink temperature
The heatsink temperature of the Servo Drive 9400 is to be read.
Code to be read: C00061
Heatsink temperature: 43 °C
Parameter request
Parameter response to a correctly executed read request
Byte 1
Byte 2
Byte 3
Byte 4
Job reference
Job identification
Axis
Number of indexes
0xXX
0x01
0x00
0x01
Request parameter for reading
Byte 5
Byte 6
Attribute
Number of subindexes
0x10
0x00
Value
No subindex
Byte 7
Byte 8
Byte 9
Byte 10
Index
Subindex
High byte
Low byte
High byte
Low byte
0x5F
0xC2
0x00
0x00
Index = 24575 - code no. = 24575 - 61 = 24514 = 0x5F C2
No subindex
Byte 1
Byte 2
Byte 3
Byte 4
Job reference
Response identification
Axis
Number of indexes
0xXX
0x01
0x00
0x01
(Mirrored)
Parameter read
(Mirrored)
Byte 5
Byte 6
Format
Number of values
0x43
0x01
Double word
1 value
Byte 7
Byte 8
Byte 9
Byte 10
Value
High word: high byte
High word: low byte
Low word: high byte
Low word: low byte
0x00
0x00
0x00
0x2B
Value read = 0x00 00 00 2B = 43 x 1 (internal factor) = 43 [°C]