Crash if the maximum number of blocks is exceeded

Which products are affected?
ESP-DDS2-P (Global Drive PLC Developer Studio Version 2.0, 2.1)

What happens?
After compilation of the DDS project the following error message is displayed in the message box:

Error 3612: Maximum number of organization units (450) exceeded! Compile will be aborted.

Then DDS crashes.

When does the problem occur?
The DDS project must have a large number of blocks (POUs = Program Organisation Units). The number of blocks consists of the blocks of the project, the integrated libraries and the blocks generated internally by DDS (e.g. for task configuration).
If the number of blocks in the project and the libraries added together is smaller than the maximum number of blocks and if the permissible number is exceeded by the blocks created internally by DDS during compilation, the above-described error message will be displayed. After that, DDS crashes.

If the number of blocks in the project and the libraries added together is greater than the permissible number, an error message is output even before compilation of the project. Then DDS does not crash.

Possible diagnostics?
None.

Short-term measures/recommendations?
Via the menu Project>Options in the Category Load&Save activate the switch Back up before compilation. If that option is active, the project is automatically saved before compilation. Consequently, the changes made in the project remain intact if DDS crashes owing to this function restriction.

Reduce the number of blocks in the DDS project, e.g. by grouping several blocks in one block.

This function restriction has been remedied in DDS Version 2.2.

Evaluation:
Only a small number of DDS projects are so large that they reach the limit of the maximum permissible number of blocks. This function restriction is recognised during program generation and can be avoided by a change in the program.

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