PDO mapping content can be modified by default. However, it is possible to set the PDO as fixed or unfixed. Notice that this setting is individual for each PDO.
To set the PDOs fixed use the following code.
As a result, the PDO objects are flagged as Read Only.
Therefore, it is not permitted to change the mapping configuration.
To disable the fixed attribute on the PDOs, use the following code.
As a result, the PDO objects are flagged as Read Write. Notice that the maximum numbers of subIndexes (254 subIndexes) are defined by default.
Now it is permitted to change the mapping configuration.
As seen above, the SDK permits up to 254 subIndexes. In order to reduce the amount of permitted subIndexes, use the following code.