Communication manual 8400 protec profibus – Lenze E84Dxxxx User Manual
Page 44
![background image](/manuals/565880/44/background.png)
EDS84DPBUS EN 2.0 - 09/2010
L
44
Communication manual 8400 protec PROFIBUS
Parameter data transfer
DP-V0 parameter data channel (DRIVECOM profile)
8.2.7.2
Write request: Setting the deceleration time for quick stop (QSP)
In the controller, the deceleration time for quick stop (QSP) is to be set to 50 ms.
Code to be written: C00105
Byte 1: Service (request)
Request = 0t110010
bin
– Bit 0 ... 2 = 010
bin
for write request
– Bit 3 = 0 (reserved)
– Bit 4/5 = 11
bin
for 4-byte data length
– Bit 6 = handshake bit (t ≡ status is changed in the response message)
– Bit 7 = status bit (only relevant for the response message)
Byte 2: Subindex
Subindex = 0, as there is no subindex under code C00105.
Bytes 3 + 4: Index
Index = 24575 - code number = 24575 - 105 = 24470 = 0x5F96
– Byte 3 (high byte) = 0x5F
– Byte 4 (low byte) = 0x96
Bytes 5 ... 8: Data
The parameter value of 0.05 s to be set is multiplied by the code-specific factor of
"1000" and entered in the user data:
– Data 1 ... 4 = 0.05 [s] x 1000 (internal factor) = 50 = 0x00000032
Result:
Request message from master to drive:
Response message from drive to master (for faultless execution):
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Byte 8
Service
Subindex
Index high byte
Index low byte
Data 4
Data 3
Data 2
Data 1
0x72
0x00
0x5F
0x96
0x00
0x00
0x00
0x32
0t110010
bin
00000000
bin
01011111
bin
10010110
bin
00000000
bin
00000000
bin
00000000
bin
00110010
bin
Waiting for change of handshake bit 6 in service byte 1 of the response
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Byte 8
Service
Subindex
Index high byte
Index low byte
Data 4
Data 3
Data 2
Data 1
0x40
0x00
0x5F
0x96
0x00
0x00
0x00
0x32
0t000000
bin
00000000
bin
01011111
bin
10010110
bin
00000000
bin
00000000
bin
00000000
bin
00110010
bin