Convert TC2 Project to TC3

Auteur avatarGareth Green | Dernière modification 20/02/2024 par Gareth Green en cours de rédaction

How to convert a TwinCAT2 project on an older Autoflow to TwinCAT3. This needs to be done when updating to Windows 10

Introduction

The Beckhoff system provides a system for upgrading to TC3 from a TC2 project. This tutorial goes through the steps required to ensure the links and setup of the original TC2 project are copied through to TC3.

Étape 1 - Get connected to the Camera PC of the machine to be updated

You will need to get a backup of the TC2 project from this machine, and use it to set up all the correct IO links in the TC3 project

Étape 2 - Get a backup of the original TSM file

  1. Dial in to Camera PC
  2. Open System manager
  3. File->Save As
  4. Rename it to [build number].[todays date]
  5. Copy to c:\twinCAT\stuga\ on the "New" camera PC


Étape 3 - Get copy of current PLC and Reset project

  1. Open the PLC Control program on the camera PC
  2. Note the version of software currently running (.pro)
  3. Find the .pro file in c:\TwinCAT\Stuga\
  4. Copy to c:\twinCAT\stuga\ on the "New" camera PC
  5. Also copy the latest PLC Reset project


Étape 4 - Convert the TC2 project to TC3

  1. Open Visual Studio
  2. Create a new TC3 project called [BuildNo] in c:\TwinCAT\Stuga\
  3. Make sure "Create Directory..." is Unticked
  4. Click Cancel on the two windows asking to convert the PLC project
  5. Ignore or cancel any warnings about libraries (this part will be replaced later
  6. Once created, you will have a copy of all the devices and boxes in the project

Étape 5 -

Commentaires

Draft