![SEW-Eurodrive MOVI-PLC basic DHP11B-T0 Скачать руководство пользователя страница 71](http://html.mh-extra.com/html/sew-eurodrive/movi-plc-basic-dhp11b-t0/movi-plc-basic-dhp11b-t0_manual_1250108071.webp)
6
PROFIBUS-DP-V1 Functions
Structure of the DP-V1 parameter channel
Manual – MOVI-PLC
®
basic DHP11B.. controller
71
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 value 12345 to the variable H0 (parameter index 11000)
(
Æ
"Example for writing a parameter via MOVILINK
®
"). The PROFIdrive service
change
parameter
is used for this purpose.
Send
Write parameter
request
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 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
request is mirrored in the parameter response
1
Request ID
0x02
Change parameter (PROFIdrive)
2
Axis
0x00
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
0x2AF8
Parameter index 11000 = Variable H0
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
0x3039
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
Содержание MOVI-PLC basic DHP11B-T0
Страница 2: ...SEW EURODRIVE Driving the world ...
Страница 95: ...SEW EURODRIVE Driving the world ...