{}

Our Brands

Impact-Company-Logo-English Black-01-177x54

Welcome to the Schneider Electric Website

Welcome to our website.
How can we help you today?
Why can I not define a variable with type PWS_DIAG_DDT_V2 in EcoStruxure Control Expert?

Issue
Why can I not define a variable with type PWS_DIAG_DDT_V2 in EcoStruxure Control Expert?

When trying to create a new variable with Data Type "PWS_DIAG_DDT_V2", a popup appears with message:
"This type cannot be used here."
Dialog - This type cannot be used here

Product Line
EcoStruxure Control Expert

Environment
PLC/PAC Programming Software for Windowss

Resolution
The PWS_DIAG_DDT_V2 function block is not available in Projects that have Libset v14.0 or lower.
Generally, the Libset version will be associated with the version number of EcoStruxure Control Expert that the project was created in.

Libset v14.1 or higher must be used in order to use the PWS_DIAG_DDT_V2 data type.

You can check the version of your Libset by right-clicking the Project Name in the Structural view and going to Properties:
Project Browser Structural View - Project Properties
The Properties of the project will appear and tell you the Libset version associated with the project:
Project Properties popup dialog displaying current Libset

Alternatively, you can click the [...] button in your Variable declaration Data Editor to bring up the Data Editor Variable Type Selection dialog.
Here, we see that Libset 14.0 does not have the PWS_DIAG_DDT_V2 Data Type:Variable Type Selection dialog showing current Libset

Now that you've identified that the required minimum version of the Libset is not met, here is how to update your project's Libset:
1) Ensure that the project builds with no errors
2) Go to File -> Export
3) Export the project as a .ZEF filetype into a folder on your computer of your choice.
4) Go to File -> Open...
5) In the dropdown in the bottom-right corner, choose the filetype: "Full Application Exchange Files (*.ZEF)"
6) Open the .ZEF file that you exported in Step 3 above.
7) Rebuild the project.

The project will now be updated and using the Libset version from your installed version of EcoStruxure Control Expert.

Schneider Electric India

Explore more
Range:
Articles that might be helpful Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Range: