Which products are affected?
ESP-DDS2-P (Global Drive PLC Developer Studio Version 2.1)
What happens?
During compilation of the DDS project the following error message appears in the message box:
Error 4302: Organization unit '<name>' requires exactly '<number>' outputs.
At the point in the project at which this block is called, only the first output is still connected, whilst all the other outputs have been deleted and cannot be connected later.
When does the problem occur?
1. Via menu item Project>Merge two blocks from a different project are copied into the the current project. One block is created in the programming language of Ladder Diagram (LD) or Function Block Diagram (FBD) and calls the other block. Irrespective of how DDS has copied the blocks into the new project, the above-described error message appears during compilation. This is the case if DDS copies the calling block into the current project before the called block.
2. Via menu item Project>Merge a block is copied from a different project into the current project. This block is in the programming language LD or FBD and it calls another block from a library. If that library is not part of the current project during the copying procedure, the above-described error message appears during compilation.
Possible diagnostics?
None.
Short-term measures/recommendations?
Before executing the menu command Project>Merge insert all the necessary libraries into the current project. Copy the blocks individually, in the order opposite to the order of calling, into the current project ('called block before calling block').
This functional limitation has been remedied in DDS Version 2.2.
Evaluation:
With the menu command Project>Merge parts of other DDS projects can be copied into the current project. That is, this command makes it easier to create projects because project parts already existing can be inserted into the current project. Owing to these functional limitations improvements to the project are necessary if this command is used. This functional limitation is recognised when programming and during commissioning.