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

DMS 2.2 EN 07/2011 TD17
L
55
Control technology | PROFIBUS communication manual
Function libraries
SysLibDPV1Hilscher.lib function library
8.4.4.2
Example of write request: Set deceleration time for quick stop
In the Servo Drive 9400, the ramp time for quick stop is to be set to 50 ms.
Code to be written to: C00105
Parameter request
Parameter response to a correctly executed write request
Byte 1
Byte 2
Byte 3
Byte 4
Job reference
Job identification
Axis
Number of indexes
0xXX
0x02
0x00
0x01
Write parameter
Axis 0
1 index
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
0x96
0x00
0x00
Index = 24575 - code no. = 24575 - 105 = 24470 = 0x5F 96
No subindex
Byte 11
Byte 12
Format
Number of values
0x43
0x01
Double word
1 value
Byte 13
Byte 14
Byte 15
Byte 16
Value
High word: high byte
High word: low byte
Low word: high byte
Low word: low byte
0x00
0x00
0x00
0x32
Value to be written = 0.05 [s] x 1000 (internal factor) = 50 = 0x00 00 00 32
Byte 1
Byte 2
Byte 3
Byte 4
Job reference
Response identification
Axis
Number of indexes
0xXX
0x02
0x00
0x01
(Mirrored)
Parameter written
(Mirrored)
1 index