Structure of the Request message for writing the parameter value
To determine the parameter value that is to be written, bit 16 (deactivation of potentiometer f1) in the read parameter value must be set with a bit mask.
In this example, bit 17 is already set in the read parameter value, which means that potentiometer f2 is already deactivated.
Read parameter value: 0x00020000 (bit 17 = 1)
Bit mask (OR mask): 0x00010000 (bit 16 should also be set)
New parameter value to write: 0x00030000 (bit 16 + bit 17 = 1)
INFORMATION

If all of the setting elements that are to be deactivated are known, the parameter can also be written directly (without being read out first) with the appropriately set bits.
00 | 01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | 10 | 11 | 12 | 13 | 14 | 15 |
CTT2 service | SPA protocol | ||||||||||||||
00 | 01 | 02 | 03 | 00 | 01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | 10 | 11 |
Code | Index | Read length | Write length | Com | SPA | Index | Index | Sub | Offset | Offset | Res | LSB | LSB | MSB | MSB |
Data Exchange | SPA | 12 bytes | 12 bytes | Write |
| 8852.1 | 0 |
| 0x30000 | ||||||
0x1D | 0x03 | 0x0C | 0x0C | 0x02 | 0x01Any value in the range 0x00 – 0xFF which is specified by the user. | 0x94 | 0x22 | 0x01 | 0x00 | 0x00 | 0x00 | 0x00 | 0x00 | 0x03 | 0x00 |