8.6.4 Examples
Read request: Read out serial number of the Power Module (p7841[2])
To obtain the value of the indexed parameter p7841, you must ll the telegram of the
parameter channel with the following data:
• PKE, Bit 12 … 15 (AK): = 6 (request parameter value (eld))
• PKE, Bit 0 … 10 (PNU): = 1841 (parameter number without oset)
Parameter number = PNU + oset (page index)
(7841 = 1841 + 6000)
• IND, bit 8…15 (subindex): = 2 (index of parameter)
• IND, bit 0…7 (page index): = 90 hex (oset 6000 corresponds to 90 hex)
• Because you want to read the parameter value, words 3 and 4 in the parameter channel for
requesting the parameter value are irrelevant. They should be assigned a value of0, for
example.
3DUDPHWHUFKDQQHO
3:(KLJKUGZRUG3:(ORZWKZRUG
,1'QGZRUG
3DJHLQGH[3DUDPHWHUQXPEHU6XELQGH[3DUDPHWHUYDOXH
3.(VWZRUG
'ULYHREMHFW,QGH[$.
Figure8-17 Telegram for a read request from p7841[2]
Write request: Change restart mode (p1210)
The restart mode is inhibited in the factory setting (p1210 = 0). In order to activate the
automatic restart with "acknowledge all faults and restart for an ON command", p1210 must
be set to 26:
• PKE, bit 12 … 15 (AK): = 7 (change parameter value (eld, word))
• PKE, bit 0 … 10 (PNU): = 4BA hex (1210 = 4BA hex, no oset, as 1210 < 1999)
• IND, bit 8…15 (subindex): = 0 hex (parameter is not indexed)
• IND, bit 0…7 (page index): = 0 hex (oset 0 corresponds to 0 hex)
• PWE1, bit 0…15:= 0 hex
• PWE2, Bit 0…15: =1A hex (26 = 1A hex)
3DUDPHWHUFKDQQHO
3:(KLJKUGZRUG3:(ORZWKZRUG
,1'QGZRUG
3DJHLQGH[3DUDPHWHUQXPEHU6XELQGH[3DUDPHWHUYDOXHELW3DUDPHWHUYDOXHELW
3.(VWZRUG
$.
Figure8-18 Telegram, to activate the automatic restart with p1210=26
Write request: Assign digital input 2 with the function ON/OFF1 (p0840[1]=722.2)
In order to link digital input 2 with ON/OFF1, you must assign parameter p0840[1] (source,
ON/OFF1) the value 722.2 (DI2). To do this, you must populate the telegram of the
parameter channel as follows:
• PKE, bit 12 … 15 (AK): = 7 hex (change parameter value (eld, word))
• PKE, bit 0 … 10 (PNU): = 348 hex (840 = 348 hex, no oset, as 840 < 1999)
Advanced commissioning
8.6Drive control via PROFIBUS or PROFINET
SINAMICS G120C Converters
226 Operating Instructions, 02/2023, FW V4.7 SP14, A5E34263257B AK