# COCKPIT after copying project, error with visuelembase

**URL:** <https://www.wago.community/t/cockpit-after-copying-project-error-with-visuelembase/928>\
**Category:** CODESYS\
**Created:** [May 7, 2024, 4:12pm UTC](https://www.wago.community/t/cockpit-after-copying-project-error-with-visuelembase/928 "2024-05-07T16:12:45Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![TomasD](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/tomasd/32/2042_2.png) [@TomasD](https://www.wago.community/u/TomasD)\
**Post date:** [May 7, 2024, 4:12pm UTC](https://www.wago.community/t/cockpit-after-copying-project-error-with-visuelembase/928/1 "2024-05-07T16:12:45Z")

</div>

I copied the PLC from the e!COCKPIT environment, compilation was successful. When loading, an error appears indicating 'visuelembase, 3.5.17.0 (system). Tell me how to fix this error?  
 ![2024-05-07_19-07-05](https://us1.discourse-cdn.com/flex016/uploads/wago/original/1X/30edfb0d6ee6fed8130ee8f99fb5e4aafe649999.png)  
 ![2024-05-07_19-07-17](https://us1.discourse-cdn.com/flex016/uploads/wago/original/1X/4be1ef907860b6d48cdfc434676baa11d0b080ad.png)

---

<div class="post-metadata">

**Author:** ![WagoIcard](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/wagoicard/32/1508_2.png) [@WagoIcard](https://www.wago.community/u/WagoIcard)\
**Post date:** [May 8, 2024, 7:50am UTC](https://www.wago.community/t/cockpit-after-copying-project-error-with-visuelembase/928/2 "2024-05-08T07:50:33Z")

</div>

In the new project are you sure the “compiler version” and the “visualization profile” are the right one for the used firmware ?  
Unless you have copy/paste in the same project ?

---

<div class="post-metadata">

**Author:** ![TomasD](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/tomasd/32/2042_2.png) [@TomasD](https://www.wago.community/u/TomasD)\
**Post date:** [May 8, 2024, 8:29am UTC](https://www.wago.community/t/cockpit-after-copying-project-error-with-visuelembase/928/3 "2024-05-08T08:29:03Z")

</div>

Everything matches, I took the controller and pressed copy and just paste it into a free cell. Everything works on the old controller.

---

<div class="post-metadata">

**Author:** ![WagoIcard](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/wagoicard/32/1508_2.png) [@WagoIcard](https://www.wago.community/u/WagoIcard)\
**Post date:** [May 8, 2024, 8:47am UTC](https://www.wago.community/t/cockpit-after-copying-project-error-with-visuelembase/928/4 "2024-05-08T08:47:08Z")

</div>

That’s indeed weird, maybe a clean all would fix this problem.

---

<div class="post-metadata">

**Author:** ![TomasD](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/tomasd/32/2042_2.png) [@TomasD](https://www.wago.community/u/TomasD)\
**Post date:** [May 8, 2024, 9:17am UTC](https://www.wago.community/t/cockpit-after-copying-project-error-with-visuelembase/928/5 "2024-05-08T09:17:26Z")

</div>

Complete cleaning doesn’t help.

---

<div class="post-metadata">

**Author:** ![PatrickR](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/patrickr/32/262_2.png) [@PatrickR](https://www.wago.community/u/PatrickR)\
**Post date:** [May 8, 2024, 1:41pm UTC](https://www.wago.community/t/cockpit-after-copying-project-error-with-visuelembase/928/6 "2024-05-08T13:41:19Z")

</div>

looks like an access violation, perhaps triggered by your code. Could you check your project with the POU’s for implicit checks?

[https://faq.codesys.com/pages/viewpage.action?pageId=3538982](https://faq.codesys.com/pages/viewpage.action?pageId=3538982)

The use of a Visu template could also lead to this behavior. Example: The template has an interface as Var\_Input and this is not linked to a corresponding block when the template is used. If the interface is not checked for \<\> 0 in the Visu template, an access violation occurs when the properties are used

---

<div class="post-metadata">

**Author:** ![TomasD](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/tomasd/32/2042_2.png) [@TomasD](https://www.wago.community/u/TomasD)\
**Post date:** [May 13, 2024, 8:38am UTC](https://www.wago.community/t/cockpit-after-copying-project-error-with-visuelembase/928/7 "2024-05-13T08:38:59Z")

</div>

I will try. But I’m sure the code is fine. I took and copied the entire controller. Before the copy, the entire controller project worked and everything was fine.

---

<div class="post-metadata">

**Author:** ![Barron](https://avatars.discourse-cdn.com/v4/letter/b/46a35a/32.png) [@Barron](https://www.wago.community/u/Barron)\
**Post date:** [May 13, 2024, 11:55am UTC](https://www.wago.community/t/cockpit-after-copying-project-error-with-visuelembase/928/8 "2024-05-13T11:55:42Z")

</div>

Tomas,  
Which firmware are you now running compared to what you were using with eCockpit?

In the library manager, do you have the option to “download missing libraries?

---

<div class="post-metadata">

**Author:** ![TomasD](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/tomasd/32/2042_2.png) [@TomasD](https://www.wago.community/u/TomasD)\
**Post date:** [May 13, 2024, 12:09pm UTC](https://www.wago.community/t/cockpit-after-copying-project-error-with-visuelembase/928/9 "2024-05-13T12:09:46Z")

</div>

750-8202/0040-0000 FW:22  
eCockpit 1.11.2.0

---

<div class="post-metadata">

**Author:** ![Barron](https://avatars.discourse-cdn.com/v4/letter/b/46a35a/32.png) [@Barron](https://www.wago.community/u/Barron)\
**Post date:** [May 13, 2024, 12:22pm UTC](https://www.wago.community/t/cockpit-after-copying-project-error-with-visuelembase/928/10 "2024-05-13T12:22:51Z")

</div>

Are you using the codesys license or the package data provided by Wago?

Are you using Codesys 3.5.19.2?

---

<div class="post-metadata">

**Author:** ![Barron](https://avatars.discourse-cdn.com/v4/letter/b/46a35a/32.png) [@Barron](https://www.wago.community/u/Barron)\
**Post date:** [May 13, 2024, 12:33pm UTC](https://www.wago.community/t/cockpit-after-copying-project-error-with-visuelembase/928/11 "2024-05-13T12:33:51Z")

</div>

Tomas, if you can update the PFC firmware to at least fw23 and use the package data provided by Wago you should have the opportunity to update the visualization library and download missing libraries in the library manager… This should clear the error.

FW, package data, and codesys 3.5.19.2 are available in the Wago Download Center.

---

<div class="post-metadata">

**Author:** ![TomasD](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/tomasd/32/2042_2.png) [@TomasD](https://www.wago.community/u/TomasD)\
**Post date:** [May 13, 2024, 1:58pm UTC](https://www.wago.community/t/cockpit-after-copying-project-error-with-visuelembase/928/12 "2024-05-13T13:58:46Z")

</div>

It seems to me that you do not have a handle on the situation; 8202 has been discontinued. The latest firmware is 22. There is no further support for the product.

---

<div class="post-metadata">

**Author:** ![PatrickR](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/patrickr/32/262_2.png) [@PatrickR](https://www.wago.community/u/PatrickR)\
**Post date:** [May 13, 2024, 2:12pm UTC](https://www.wago.community/t/cockpit-after-copying-project-error-with-visuelembase/928/13 "2024-05-13T14:12:41Z")

</div>

If you are using fw22 it is important that you use the newest versions of the WAGO libs which are available in e!C. You can check via backstage view (file → project settings → project environment)

---

<div class="post-metadata">

**Author:** ![TomasD](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/tomasd/32/2042_2.png) [@TomasD](https://www.wago.community/u/TomasD)\
**Post date:** [May 13, 2024, 3:46pm UTC](https://www.wago.community/t/cockpit-after-copying-project-error-with-visuelembase/928/14 "2024-05-13T15:46:31Z")

</div>

Of course I have the latest version.

 ![2024-05-13_18-45-41](https://us1.discourse-cdn.com/flex016/uploads/wago/original/1X/01dc9b304af610fd2b5acc619a1a088f4fbce096.png)

---

<div class="post-metadata">

**Author:** ![PatrickR](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/patrickr/32/262_2.png) [@PatrickR](https://www.wago.community/u/PatrickR)\
**Post date:** [May 13, 2024, 7:42pm UTC](https://www.wago.community/t/cockpit-after-copying-project-error-with-visuelembase/928/15 "2024-05-13T19:42:21Z")

</div>

Hi,  
if the POU’s for implicit checks don’t help, I need to look at the project. Maybe you can upload it?
