Technical data

70
Manual – MOVI-PLC® advanced DH.41B Controller
6
Structure of the DP-V1 parameter channel
PROFIBUS-DP-V1 Functions
Positive MOVILINK® parameter response
The following tables show the Read.req user data with the positive response data of the
parameter setting request. For example, the parameter value for index 8300 (firmware
version) is returned.
Example for writing
a parameter via
MOVILINK
®
The following tables give an example of the structure of the Write and Read services for
writing the value 12345 to variable H0 (parameter index 11000) in the volatile memory.
The MOVILINK
®
service Write Parameter volatile is used for this purpose.
Send „Write parameter volatile“ request
After sending this write.request, the write.response is received. If there was no status
conflict during parameter channel processing, a positive write.response is sent.
Otherwise, the status fault is located in Error_code_1.
Service Read.request
Slot_Number 0 Random, (is not evaluated)
Index 47 Index of the dataset; constant index 47
Length 10 10 byte user data in response buffer
Byte Field Value Description
0 Response reference 0x01 Reflected reference number from the parameter setting
order
1 Response ID 0x40 Positive MOVILINK
®
response
2 Axis 0x00 Reflected axis number; 0 for single axis
3 No. of parameters 0x01 1 parameter
4 Format 0x43 Parameter format: Double word
5 No. of values 0x01 1 value
6..7 Value Hi 0x311C Higher-order part of the parameter
8..9 Value Lo 0x7289 Lower-order part of the parameter
Decoding:
0x 311C 7289 = 823947913 dec
>> firmware version 823 947 9.13
Service Write.request
Slot_Number 0 Random, (is not evaluated)
Index 47 Index of the dataset; 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 0x40 SEW MOVILINK
®
service
2 Axis 0x00 Axis number; 0 = Single axis
3 No. of parameters 0x01 1 parameter
4 Attributes 0x30 MOVILINK
®
service Write parameter volatile
5 No. of elements 0x00 0 = access to direct value, no subelement
6..7 Parameter Number 0x2AF8 Parameter index 11000 = "IPOS 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
00
I