Creating a code causes DDS to crash after compiling

Which products are affected?
ESP-DDS2-x (Global Drive PLC Developer Studio V2.2)

What happens?
Creating a code for a variable of the Lenze function block causes DDS to crash when a DDS project is compiled.

When does the problem occur?
You can use the <Exclude objects> button in the Compilation options category of the Options dialog (menu item Project>Options) to open the dialog Exclude objects from compiling. In this dialog, the POUs (POUs = Program organisation units) can be selected which are not to be compiled when the project is compiled. This allows to reduce the number of POU indices used. Normally, all POUs are compiled.
If a POU which is used in the project is excluded from compiling, this is displayed as an error in the DDS message window while the project is being compiled.

For some variables of Lenze function blocks, there are scaling routines such as for L_RFG.dnTif. The scaling routine of a variable is only activated if a code has been created for this variable in the Instance Parameter Manager (register card Resources). If the scaling routine of the variable was excluded from compiling in the dialog described above, but not the POU itself, this causes DDS to crash during compiling.

Possible diagnostics?
None.

Short-term measures/recommendations?
Verify that only those scaling routines have been excluded from compiling in the dialog Exclude objects from compiling which are not used in the project.

Activate the Auto Save option in the Load&Save category of the menu item Project>Options. As a result, DDS automatically saves the project in a temporary file according to the Auto Save Interval set. When reopening the project after a crash, DDS offers to open the last backup file of the project.

Evaluation:
Excluding objects from compiling to reduce POU indices is only required in large DDS projects with a lot of POUs. All modifications made since the project was last saved will get lost when DDS crashes (see short-term measures).

URL for linking this AKB article: https://www.lenze.com/en-de/go/akb/200412261/1/
Contact form