58
Manual – MOVIDRIVE® MDX61B MOVI-PLC® DHP11B Control Card
6
Structure of the DP-V1 parameter channel
DP-V1 Functions
Example for writing
a parameter via
PROFIdrive
The following tables show an example of the structure of the
Write
and
Read
services
for the remanent writing of the internal setpoint
n11
(
→
"Example for writing a parameter
via MOVILINK
®
"). The PROFIdrive service
change parameter
is used for this purpose.
Send
Write parameter
order
After sending this
Write.request
, the
Write.response
is received. If there was no status
conflict in processing the parameter channel, a positive
Write.response
is sent. Other-
wise, the status fault is located in
Error_code_1
.
Query parameter response
The following table shows the code of the
write.req
user data data including the DP-V1
header.
Service:
Write.request
Slot_Number
0
Random, (is not evaluated)
Index
47
Index of the data set; constant index 47
Length
16
16 byte user data for order buffer
Byte
Field
Value
Description
0
Request reference
0x01
Individual reference number for the parameter setting
order is reflected in the parameter response
1
Request ID
0x02
Change parameter (PROFIdrive)
2
Axis
0x01
Axis number; 0 = single axis
3
No. of parameters
0x01
1 parameter
4
Attributes
0x10
Access to parameter value
5
No. of elements
0x00
0 = access to direct value, no subelement
6..7
Parameter Number
0x7129
Parameter index 8489 = P160 n11
8..9
Subindex
0x0000
Subindex 0
10
Format
0x43
Double word
11
No. of values
0x01
Change 1 parameter value
12..13
Value HiWord
0x0000
Higher-order part of the parameter value
14..15
Value LoWord
0x0BB8
Lower-order part of the parameter value
Field
Value
Description
Function_Num
Read.req
Slot_Number
X
Slot_Number not used
Index
47
Index of data set
Length
240
Maximum length of response buffer in DP-V1 master
0
0
I