
Parameter data transfer
DRIVECOM parameter data channel
Writing parameters
l
61
EDS82ZAFPC201 EN 4.0
8.1.6
Writing 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. Enter the parameter value into the "Data/Error" field.
4. Request in the service byte = write request
The status of the handshake bit in the service byte must be changed (DP output data).
5. 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.
6. Check whether the status bit in the service byte is set.
Status bit is not set: The write request has been executed correctly.
Status bit is set: The write request has not been executed correctly. The "Data/Error"
field contains the error information.
Example:
The acceleration time (C0012) of the controller is to be set to 20 s.
ƒ
Byte 1: Request
Bit 7
...
Bit 0
0
X
1
1
0
0
1
0
"2" (write)
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 C0012.
ƒ
Byte 3 / 4: Index
Index = 24575 − code number
Index = 24575 − 12 = 24563 = 5FF3
hex
(5F
hex
= high byte, F3
hex
= low byte)
ƒ
Bytes 5 ... 8: data
Data 1 ... 4 = 20 s x 10000 = 200000 (FIX32) = 00030D40
hex