Create a TwinCAT Project from Existing Project

Auteur avatarGareth Green | Dernière modification 21/11/2019 par Gareth Green en cours de rédaction

Pas encore d'image

How to create a TwinCAT project from an existing project on a similar machine

Difficulté
Très difficile
Durée
30 minute(s)

Introduction

If you are confident and proficient in using the Visual Studio editor to crete TwinCAT projects, you can shortcut a lot of the data inputting by copying and modifying an existing project. This will keep the naming conventions and links exactly the same

...This should only be attempted if the machine has exactly the same EtherCAT box, drive and module setup

Étape 1 - Choose a Similar Build and copy the Project

The build needs to be the same machine type and have an identical EtherCAT box and drive setup

You can create a backup in three ways

  1. Create an archive of an open project (you need to run Visual Studio on the desktop of the machine in question)
  2. Copy the contents of the c:\TwinCAT\Stuga\[BuildNo] folder from the "donor" to your new machine setup
  3. Use VPN to connect to the back end of the machine and upload the project from the target, then save it locally. this needs a good internet connection and Teamviewer remote VPN installed on the remote Beckhoff PC

Étape 2 - Paste the solution

Paste the solution on the ZX5 front end PC in C:/TwinCAT/Stuga.

Commentaires

Draft