Siemens SINAMICS G120 CU240B-2 Operating Instructions Manual page 122

With the control units
Hide thumbs Also See for SINAMICS G120 CU240B-2:
Table of Contents

Advertisement

Connection to a fieldbus
6.3 Communication via PROFIBUS
Example of read request for parameter P7841[2]
To obtain the value of the indexed parameter P7841, you must fill the telegram of the
parameter channel with the following data:
● Request parameter value (field): Bits 15 ... 12 in the PKE word:
● Parameter number without offset: Bits 10 ... 0 in the PKE word:
● Coding the offset of the parameter number in the page index byte of the IND word:
● Index of parameter in the subindex byte of the IND word:
● Because you want to read the parameter value, words 3 and 4 in the parameter channel
Table 6- 17
AK
0x6
Rules for editing requests and responses
● You can only request one parameter per transmitted telegram
● Each received telegram contains only one response
● The request must be repeated until the right response is received
● The response is assigned to a request by means of the following identifiers:
● The complete request must be sent in a telegram. Request telegrams cannot be
122
Request identifier = 6
Because you can only code parameter numbers from 1 ... 1999 in the PKE, you must
deduct as large an offset as possible, a number divisible by 2000, from the parameter
number, and transfer the result of this calculation to the PKE word.
In our example, this means: 7841 - 6000 = 1841
In this example: When offset = 6000, this corresponds to a page index value of 0x90.
In this example: Index = 2
for requesting the parameter value are irrelevant. They should be assigned a value of 0,
for example.
Request to read parameter P7841[2]
PKE (1st word)
PNU (10 bits)
0
0x731 (decimal: 1841)
– Suitable response identifier
– Suitable parameter number
– Suitable parameter index IND, if required
– Suitable parameter value PWE, if necessary
subdivided. The same applies to responses.
IND (2nd word)
Subindex
Page index
(H byte)
(L byte)
0x02
0x90
Inverter with CU240B-2 and CU240E-2 Control Units
Operating Instructions, 07/2010, FW 4.3.2, A5E02299792B AA
PWE (3rd and 4th words)
PWE1
PWE2
(high-order
(low-order
word)
word)
0x0000
0x0000

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinamics g120 cu240e-2Sinamics g120 cu240b-2 dpSinamics g120 cu240e-2 dpSinamics g120 cu240e-2 fSinamics g120 cu240e-2 dp-f

Table of Contents