Developer Portal Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    TwinSAFE project is missing

    English ūü†¶ Deutsch
     

    After opening a TwinCAT project, the TwinSAFE project is missing. You can just see the TwinSAFE instance, but no TwinSAFE groups etc.:

    SteffenR_0-1637069657151.png

    We know these kind of solutions:

    • For TwinCAT 3.1.4022:
      The RM setups until version 3.1.4022.32 are missing the file TcXaeVsx.15.0.dll which must be installed into the Windows GAC. It should look like this:
      C:\Windows\Microsoft.NET\assembly\GAC_MSIL\TcXaeVsx.15.0
      SteffenR_1-1637069991947.png
      Ask a colleague or the Beckhoff support for this file: beckhoff.com/en-en/support/our-support-services/ 

      You can install it by starting Windows PowerShell with administrator rights and then executing this code:

      [System.Reflection.Assembly]::Load("System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")
      $publish = New-Object System.EnterpriseServices.Internal.Publish
      $publish.GacInstall("C:\Temp\TcXaeVsx.15.0.dll")

    • All devices that are used in TwinSAFE must be installed on your computer. If not, you will get an error when opening the TwinCAT project. Then you need to install the EtherCAT device description files (ESI files). Usually they are included in the project Std and you can use Control plus Studio to install them:

      SteffenR_2-1637070395816.png

      Beckhoff devices can be installed via a web update in TwinCAT:
      SteffenR_3-1637070503359.png

    • Every FSoE device may be defined only once in all installed ESI files. Otherwise you will get an error when opening the TwinCAT project.
      See this article: https://community.developer.bosch.com/t5/Knowledge-base/TwinSAFE-4020-error-Multiple-definitions-exi...

    • Install the TwinCAT 3 Safety Editor TE9000. This is a standalone TwinSAFE editor but it looks like it brings some additional files that are missing in the common TwinCAT setup.
      Link: https://www.beckhoff.com/en-en/products/automation/twinsafe/twinsafe-software/te9000.html

    • Make sure that you have all files in your project folder. Maybe some single files were not added to your source code control system (TFS, Git, etc.) and are therefore missing after download. Open the SPLCPROJ file with Notepad and check that all included files (SAL, UFB) are available at the listed relative path:
      SteffenR_4-1637071170477.png
     
     
    Deutsch ūü†¶ English
     

    Nach dem √Ėffnen eines TwinCAT Projekts fehlt das TwinSAFE Projekt. Man kann nur die TwinSAFE Instance sehen, aber keine TwinSAFE Gruppen usw.:

    SteffenR_0-1637069657151.png

    Wir kennen diese Lösungen:

    • F√ľr TwinCAT 3.1.4022:
      Den RM-Setups bis Version 3.1.4022.32 fehlt die Datei TcXaeVsx.15.0.dll, die in den Windows GAC installiert werden muss:
      C:\Windows\Microsoft.NET\assembly\GAC_MSIL\TcXaeVsx.15.0
      SteffenR_1-1637069991947.png
      Frage einen Kollege oder den Beckhoff Support nach dieser Datei: beckhoff.com/en-en/support/our-support-services/ 

      Man kann die Datei installieren, indem man Windows PowerShell mit Administrator-Rechten starten und folgenden Code ausf√ľhrt:

      [System.Reflection.Assembly]::Load("System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")
      $publish = New-Object System.EnterpriseServices.Internal.Publish
      $publish.GacInstall("C:\Temp\TcXaeVsx.15.0.dll")

    • Alle Ger√§te, die in TwinSAFE verwendet werden, m√ľssen auf dem Computer installiert sein. Wenn nicht, erscheint ein Fehler beim √Ėffnen des TwinCAT Projekts. Dann muss man die EtherCAT Ger√§tebeschreibungsdateien (ESI-Dateien) installieren. Normalerweise sind diese im Projekt Std enthalten und man kann sie mit Control plus Studio installieren:

      SteffenR_2-1637070395816.png

      Beckhoff Geräte kann man via Web-Update in TwinCAT installieren:
      SteffenR_3-1637070503359.png

    • Jedes FSoE-Ger√§t darf nur einmal in allen installierten ESI-Dateien definiert sein. Ansonsten erscheint beim √Ėffnen des TwinCAT Projekts ein Fehler.
      Siehe diesen Artikel: https://community.developer.bosch.com/t5/Knowledge-base/TwinSAFE-4020-error-Multiple-definitions-exi...

    • Den TwinCAT 3 Safety Editor TE9000 installieren. Dies ist ein Standalone TwinSAFE Editor, aber scheinbar installiert er zus√§tzliche Dateien, die im normalen TwinCAT Setup fehlen.
      Link: https://www.beckhoff.com/en-en/products/automation/twinsafe/twinsafe-software/te9000.html

    • Pr√ľfen, dass alle Dateien im Projektordner vorhanden sind. Vielleicht wurden einige einzelne Dateien nicht zum Quellcode-Verwaltungssystem (TFS, Git, usw.) hinzugef√ľgt und fehlen deshalb beim Download.
      SPLCPROJ-Datei mit Notepad √∂ffnen und pr√ľfen, dass alle Include-Dateien (SAL, UFB) am aufgelisteten relativen Pfad liegen:
      SteffenR_4-1637071170477.png
     
    Version history
    Revision #:
    3 of 3
    Last update:
    3 weeks ago
    Updated by:
     
    Contributors
    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist