Issue
What is the cause of a FDH-C1C0H error with the Magelis HMI running Vijeo Designer V6.2?
Typical situation:
"PLC returned error code. (FDH - C1C0H)" appears when Vijeo Designer project is running on an HMI or Simulation Mode talking to the PLC. Flickering of bad data quality icons (yellow triangle with exclamation points) may appear on the screen.
Product Line
EcoStruxure Control Expert (Unity Pro), Vijeo Designer
Environment
Harmony / Magelis HMI (or Simulated HMI from Vijeo Designer), EcoStruxure Control Expert / Unity Pro PLC (or Simulated PLC)
Cause
The FDH-C1C0H error usually occurs when the variable link with the EcoStruxure Control Expert / Unity Pro application (.XVM Variable Export or .STU project) file is outdated.
The Device Addresses associated to the variables are assigned to the PLC's application just before a download. Each time the application is changed, a unique set of Device Addresses are generated at the time of code generation.
Resolution
To resolve this you need to make sure the EcoStruxure Control Expert / Unity Pro application is online Equal with the PLC. If not, build the latest changes and complete a download to the controller. Export the variables to an XVM file (or save the project as an STU file). This will generate the latest set of Device Addresses associated with the current variables.
In the Vijeo Designer, update the link and redownload the project to the HMI (or simulate the HMI).
Steps:
1) Connect to your PLC in Unity Pro / EcoStruxure Control Expert
2) Get the project from the PLC by clicking PLC -> Transfer project from PLC...
2) In the Project Browser, right click on Variables & FB instances
3) Choose "Export..."
4) Save the file to a location of your choice and as type "Data mapping (*.XVM)"
5) Now, go to Vijeo Designer and in the Project Navigator, right-click on the Variables node
6) Choose the option "Update Link...". The Update Link popup dialog will appear.
The original linked XVM file will appear in this window in a row of the table.
[Case 1] If the file is the same name and is present at the same path, both the Filename and Location text color will be Black in the row.
[Case 2] If the File name or Location appear as Red, it means the XVM file is not present in the original location on your PC.
For [Case 1]: Select the row and click Update and Vijeo Designer will link the new Addresses to your existing variables in the project (not duplicating or adding any new ones).
For [Case 2]: there are two options:
Option 1: Rename the XVM file exported from Step 5 to the same name and location as listed in the Update Link dialog window. And reopen the "Update Link" window from Variables in Vijeo Designer.
Select the row and click Update and Vijeo Designer will link the new Addresses to your existing variables in the project (not duplicating any)
Option 2:Select the row and click Update and Vijeo Designer will prompt you to choose a new file.
In the File type dropdown, select "UnityPro symbol export files (*.XVM)".
Choose the file that was exported from Step 5 and click Open.
Vijeo Designer will link the new Addresses to your existing variables in the project (not duplicating any).
NOTE:
If at this point, the Resolution Steps above does not solve the issue, you may have User Data Types in Vijeo Designer which are out of sync with the PLC project due to a major change in the leaf elements of a Structure in the PLC project.
To identify and resolve this issue, please refer to the related FAQ (FA387641):
How to fix invalid unlocated variables (broken XVM/STU link) in Vijeo Designer? | Schneider Electric Global (se.com)
What is the cause of a FDH-C1C0H error with the Magelis HMI running Vijeo Designer V6.2?
Typical situation:
"PLC returned error code. (FDH - C1C0H)" appears when Vijeo Designer project is running on an HMI or Simulation Mode talking to the PLC. Flickering of bad data quality icons (yellow triangle with exclamation points) may appear on the screen.
Product Line
EcoStruxure Control Expert (Unity Pro), Vijeo Designer
Environment
Harmony / Magelis HMI (or Simulated HMI from Vijeo Designer), EcoStruxure Control Expert / Unity Pro PLC (or Simulated PLC)
Cause
The FDH-C1C0H error usually occurs when the variable link with the EcoStruxure Control Expert / Unity Pro application (.XVM Variable Export or .STU project) file is outdated.
The Device Addresses associated to the variables are assigned to the PLC's application just before a download. Each time the application is changed, a unique set of Device Addresses are generated at the time of code generation.
Resolution
To resolve this you need to make sure the EcoStruxure Control Expert / Unity Pro application is online Equal with the PLC. If not, build the latest changes and complete a download to the controller. Export the variables to an XVM file (or save the project as an STU file). This will generate the latest set of Device Addresses associated with the current variables.
In the Vijeo Designer, update the link and redownload the project to the HMI (or simulate the HMI).
Steps:
1) Connect to your PLC in Unity Pro / EcoStruxure Control Expert
2) Get the project from the PLC by clicking PLC -> Transfer project from PLC...
2) In the Project Browser, right click on Variables & FB instances
3) Choose "Export..."
4) Save the file to a location of your choice and as type "Data mapping (*.XVM)"
5) Now, go to Vijeo Designer and in the Project Navigator, right-click on the Variables node
6) Choose the option "Update Link...". The Update Link popup dialog will appear.
The original linked XVM file will appear in this window in a row of the table.
[Case 1] If the file is the same name and is present at the same path, both the Filename and Location text color will be Black in the row.
[Case 2] If the File name or Location appear as Red, it means the XVM file is not present in the original location on your PC.
For [Case 1]: Select the row and click Update and Vijeo Designer will link the new Addresses to your existing variables in the project (not duplicating or adding any new ones).
For [Case 2]: there are two options:
Option 1: Rename the XVM file exported from Step 5 to the same name and location as listed in the Update Link dialog window. And reopen the "Update Link" window from Variables in Vijeo Designer.
Select the row and click Update and Vijeo Designer will link the new Addresses to your existing variables in the project (not duplicating any)
Option 2:Select the row and click Update and Vijeo Designer will prompt you to choose a new file.
In the File type dropdown, select "UnityPro symbol export files (*.XVM)".
Choose the file that was exported from Step 5 and click Open.
Vijeo Designer will link the new Addresses to your existing variables in the project (not duplicating any).
NOTE:
If at this point, the Resolution Steps above does not solve the issue, you may have User Data Types in Vijeo Designer which are out of sync with the PLC project due to a major change in the leaf elements of a Structure in the PLC project.
To identify and resolve this issue, please refer to the related FAQ (FA387641):
How to fix invalid unlocated variables (broken XVM/STU link) in Vijeo Designer? | Schneider Electric Global (se.com)