Basic procedure, Version – Efficient Networks Siemens Sinamics S120 User Manual
Page 402

Communication PROFIBUS DP/PROFINET IO
10.1 Communications according to PROFIdrive
Drive Functions
402
Function Manual, (FH1), 07/2007 Edition, 6SL3097-2AB00-0BP4
The request is to be handled using a request and response data block.
,QGH[QXPEHU
3DUDPHWHUQXPEHU
0DLQVHWSRLQW
-RJVHWSRLQW
QBVHWB
,QSXWLQ%,SDQG%,S
2EMHFW
'HYLFH
&8
:LULQJWRLWVHOI
6DYHVHWSRLQW
-RJVHWSRLQW
'+H[
'+H[
;
',
;
',
U
U
S>&@
S>&@
S
9
S
Figure 10-21 Task description for multi-parameter request (example)
Basic procedure
1. Create a request to write the parameters.
2. Invoke the request.
3. Evaluate the response.
Version
1. Create the request.
Parameter request
Offset
Request reference = 40
hex
Request ID = 02 hex
0 + 1
Request header
Axis = 02 hex
No. of parameters = 04 hex
2 + 3
Attribute = 10 hex
No. of elements = 01 hex
4 + 5
Parameter no. = 1055 dec
6
1. parameter address
Subindex = 0 dec
8
Attribute = 10 hex
No. of elements = 01 hex
10 + 11
Parameter no. = 1056 dec
12
2. parameter address
Subindex = 0 dec
14
Attribute = 10 hex
No. of elements = 01 hex
16 + 17
Parameter no. = 1058 dec
18
3. parameter address
Subindex = 0 dec
20
Attribute = 10 hex
No. of elements = 01 hex
22 + 23
4. parameter address
Parameter no. = 1059 dec
24