Advanced commissioning
6.4 Drive control via PROFIBUS or PROFINET
Converter with the control units CU240D-2
Operating Instructions, 04/2018, FW V4.9 SP10, A5E34262100B AF
127
6.4.7
Examples for using the parameter channel
Read request: Read out serial number of the Power Module (p7841[2])
To obtain the value of the indexed parameter p7841, you must fill the telegram of the
parameter channel with the following data:
●
PKE, Bit 12 … 15 (AK): = 6 (request parameter value (field))
●
PKE, Bit 0 … 10 (PNU): = 1841 (parameter number without offset)
Parameter number = PNU + offset (page index)
(7841 = 1841 + 6000)
●
IND, bit 8 … 15 (subindex): = 2 (index of parameter)
●
IND, bit 0 … 7 (page index): = 90 hex (offset 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 of 0,
for example.
Figure 6-11 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 (field, word))
●
PKE, bit 0 … 10 (PNU): = 4BA hex (1210 = 4BA hex, no offset, as 1210 < 1999)
●
IND, bit 8 … 15 (subindex): = 0 hex (parameter is not indexed)
●
IND, bit 0 … 7 (page index): = 0 hex (offset 0 corresponds to 0 hex)
●
PWE1, bit 0 … 15: = 0 hex
●
PWE2, Bit 0 … 15: = 1A hex (26 = 1A hex)
Figure 6-12 Telegram, to activate the automatic restart with p1210 = 26