Control Expert uses a 2-byte alignment for structures in contrast to Concept (1-Byte) to speed up the access to structure components. This affects system structures mapped to StateRam, because the same structures in Control Expert can be bigger including some byte gaps.
The concerned structure is DPM_Time, which has been redefined for Control Expert to re-map to the correct hardware addresses.
Concept’s DPM_Time definition:
sync: BOOL
ms: WORD
...
Control Expert’s DPM_Time definition:
sync: BOOL
ms_lsb: BYTE
ms_msb: BYTE
...
If an application that includes the DPM_time structure is converted, the analyze/build process will fail for the redefined structure components (in the above example, ms_lsb, ms_msb).
The user has to manually change the usage of these structure components in the application accordingly.