# Parameter value modification

Navigation: »No topics above this level« # Parameter value modification |

Example: Setting the value of the parameter 123 to the value 987654321dec. Parameter 123 has the data type “double word” (=32 Bit).

Request identifier (AK) = 3 which means “Modify parameter value (double word)”

PNU = 123 decimal = 0x78

PKE = 307Bhex

987654321 dec = 0x3ADE68B1:

PWE1 = 0x3ADE

PWE2 = 0x68B1

PKW related values in the Output buffer:

Output Buffer
…
PKE | 0x307B
IND | 0x0000
PWE1 | 0x3ADE
PWE2 | 0x68B1
…

The slave (controller) should respond to the PKW telegram with the following telegram in the Input buffer:

Input Buffer
…
PKE | 0xYX7B
IND | 0xXXXX
PWE1 | 0xXXXX
PWE2 | 0xXXXX
…

Y = AK is 2 or 7 (see Table 1).

Example 1:

Input Buffer
…
PKE | 0x207B
IND | 0x0000
PWE1 | 0x3ADE
PWE2 | 0x68B1
…

The Response identifier (AK) = 2 which means “Transfer parameter value (double word)” (see Table 2). That means that the value 3ADE68B1hex (see PWE1 and PWE2) is successfully written to the parameter.

Example 2:

Input Buffer
…
PKE | 0x707B
IND | 0x0000
PWE1 | 0x0000
PWE2 | 0x0001
…

The Response identifier (AK) = 7 which means “Not possible to process request” (Table 1). That means that the request is not performed.

Because the response identifier is 7, there is an additional error code in PWE2. The error code 1 means “No access rights“ (see Table 3). In this case, there are no access rights to set the Parameter value.