Which products are affected?
ESP-DDS2-P (Global Drive PLC Developer Studio Version 2.0, 2.1)
What happens?
Via menu item
Project>Import blocks (POUs = Program Organisation Units) are inserted into the DDS project. In this procedure the following reactions can be observed:
- After the import the following messages is displayed in the message box: Error 3403: '<name>' could not be imported; The relevant block has not been inserted.
- After the import block calls in the imported block (POU) have more outputs than defined and the outputs are not configured correctly.
When does the problem occur?
When importing blocks (POUs) which have been programmed in the graphic languages of Ladder Diagram (LD) or Function Block Diagram (FBD) and contain a call of an action belonging to a different block, one of the reactions described above may occur.
Example:
The function block L_CanPdoReceive from the library LenzeCanDrv.lib contains the action ResetNewMessage. If this action is called in a block which has been programmed in the language of Ladder Diagram or Function Block Diagram, that block cannot be imported into a different DDS project without any problems.
Possible diagnostics?
None.
Short-term measures/recommendations?
Use the menu command
Project>Merge to insert blocks from other DDS projects into the current project.
This function restriction has been remedied in DDS Version 2.2.
Evaluation:
With the menu command
Project>Import blocks from other projects can be used again in another project. Owing to this function restriction it may happen that blocks are imported incorrectly or not at all. The same function can also be performed with the menu command
Project>Merge, the advantage being that the block inserted does not have to be exported beforehand.