

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rdf:RDF[
	<!ENTITY rdf 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'>
	<!ENTITY rdfs 'http://www.w3.org/2000/01/rdf-schema#'>
	<!ENTITY owl 'http://www.w3.org/2002/07/owl#'>
	<!ENTITY swivt 'http://semantic-mediawiki.org/swivt/1.0#'>
	<!ENTITY wiki 'http://https://stuga.dokit.app/wiki/Special:URIResolver/'>
	<!ENTITY category 'http://https://stuga.dokit.app/wiki/Special:URIResolver/Category-3A'>
	<!ENTITY property 'http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3A'>
	<!ENTITY wikiurl 'https://stuga.dokit.app/wiki/'>
]>

<rdf:RDF
	xmlns:rdf="&rdf;"
	xmlns:rdfs="&rdfs;"
	xmlns:owl ="&owl;"
	xmlns:swivt="&swivt;"
	xmlns:wiki="&wiki;"
	xmlns:category="&category;"
	xmlns:property="&property;">

	<owl:Ontology rdf:about="https://stuga.dokit.app/wiki/Special:ExportRDF/Convert_TC2_Project_to_TC3">
		<swivt:creationDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2026-04-28T00:49:19+02:00</swivt:creationDate>
		<owl:imports rdf:resource="http://semantic-mediawiki.org/swivt/1.0"/>
	</owl:Ontology>
	<swivt:Subject rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Convert_TC2_Project_to_TC3">
		<rdf:type rdf:resource="http://https://stuga.dokit.app/wiki/Special:URIResolver/Category-3ATutorials"/>
		<rdf:type rdf:resource="http://https://stuga.dokit.app/wiki/Special:URIResolver/Category-3ASoftware"/>
		<rdfs:label>Convert TC2 Project to TC3</rdfs:label>
		<rdfs:isDefinedBy rdf:resource="https://stuga.dokit.app/wiki/Special:ExportRDF/Convert_TC2_Project_to_TC3"/>
		<swivt:page rdf:resource="https://stuga.dokit.app/wiki/Convert_TC2_Project_to_TC3"/>
		<swivt:wikiNamespace rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</swivt:wikiNamespace>
		<swivt:wikiPageContentLanguage rdf:datatype="http://www.w3.org/2001/XMLSchema#string">en</swivt:wikiPageContentLanguage>
		<property:Complete rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Draft</property:Complete>
		<property:Description rdf:datatype="http://www.w3.org/2001/XMLSchema#string">How to convert a TwinCAT2 project on an older Autoflow to TwinCAT3. This needs to be done when updating to Windows 10</property:Description>
		<property:Difficulty rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Hard</property:Difficulty>
		<property:Duration rdf:datatype="http://www.w3.org/2001/XMLSchema#double">2</property:Duration>
		<property:Duration-2Dtype rdf:datatype="http://www.w3.org/2001/XMLSchema#string">hour(s)</property:Duration-2Dtype>
		<property:Introduction rdf:datatype="http://www.w3.org/2001/XMLSchema#string">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.</property:Introduction>
		<property:IsTranslation rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">false</property:IsTranslation>
		<property:Language rdf:datatype="http://www.w3.org/2001/XMLSchema#string">en</property:Language>
		<property:Main_Picture rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Convert_Autoflow_TC2_Project_to_TC3_TC3.jpg</property:Main_Picture>
		<property:SourceLanguage rdf:datatype="http://www.w3.org/2001/XMLSchema#string">none</property:SourceLanguage>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">#Open Visual Studio
#Create a new TC3 project  called [BuildNo] in c:\TwinCAT\Stuga\
#Make sure "Create Directory..." is Unticked
#Right Click on the project name and select ‘Load Project from TwinCAT 2.11 Version…’
#Click Cancel on the two windows asking to convert the PLC project
#Ignore or cancel any warnings about libraries (this part will be replaced later)

&lt;br/&gt;&lt;div class="icon-instructions info-icon"&gt;
&lt;div class="icon-instructions-icon"&gt;&lt;i class="fa fa-info-circle"&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class="icon-instructions-text"&gt;...Once created, you will have a copy of all the devices and boxes in the project with the correct naming.&lt;/div&gt;
&lt;/div&gt;&lt;br/&gt;</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Add a new route</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Navigate to the Adaptor settings and search for the correct one on the new Beckhoff PC

&lt;div class="icon-instructions info-icon"&gt;
&lt;div class="icon-instructions-icon"&gt;&lt;i class="fa fa-info-circle"&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class="icon-instructions-text"&gt;...When you converted the TC2 project, it imported all the etherCAT boxes, but critically, it also imported the "EtherCAT Device". This is the hardware spec of the original Beckhoff PC, with a MAC address, etc.
You now need to change this in the project to the EtherCAT device on the new Beckhoff PC&lt;/div&gt;
&lt;/div&gt;</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Right click and select delete</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">When converting for a ZX4 machine, the V and W axis links will need to be changed


V = arrAxis[11]

W = arrAxis[12]

&lt;br/&gt;&lt;div class="icon-instructions info-icon"&gt;
&lt;div class="icon-instructions-icon"&gt;&lt;i class="fa fa-info-circle"&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class="icon-instructions-text"&gt;...This is needed because the original ZX4 number designations (7&amp;8) overlapped those used on the SR and SY axis. This created a problem on the ZX5, because it used both a V axis and SR&amp;SZ. Decision was made to give V and W their own axis numbers for future compatibility&lt;/div&gt;
&lt;/div&gt;&lt;br/&gt;</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">The PLC links will be missing - reinstate them as per System Manager on old Camera PC


If The 'Link to PLC' field is not viewable on Twincat 2 project use the below guide for the correct links required:

[[Naming Convention for Axis Drives]]</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Set a link from ibResetPLC on PLC_Reset to qbResetPLC on tc3Multi</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">In params.saw, the following parameters must be updated

controllerType=5

amsnetId= [AmsNetId of the new Beckhoff PC]

twinCAT Address=[AmsNetId of the new Beckhoff PC]

AllWasteAtStart=1

useSawForYNotch=1</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Update

* Front End PC and OS
* Back End PC and OS
* Software versions</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">* Create the clone in c:\TwinCAT\[BuildNo]\Source
* If an error is produced after cloning, just use the "Add" function to add the clone

&lt;br/&gt;</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">#Delete the old PLC projects
#using Add existing item, add the tc3Multi  then PLC_Reset projects from c:\TwinCAT\[BuildNo]\Source.
#Ensure Use Original project Location is selected
#Build the solution to create the instances ready for linking
#Ensure the Port numbers are correct (851=tc3Multi, 852=PLC_Project)</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">TC2 software used a system of inverter objects to control the spindles, saw blade and extractor. The mapping will show InverterGoFwd mapping.

These need to be changed to the correct output numbers for the outputs in question.

On an Autoflow, these are

Slice MC03B (ModuleB)

Ch0 - Y62 Spindle Inverter 


Slice MC2F (module F)

Ch1 - Y97 Saw Blade

Ch 2 - Y98 Extractor</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">#Dial in to Camera / VM PC
#Open System manager
#File-&gt;Save As
#Rename it to [build number].[todays date]
#Copy to c:\twinCAT\stuga\ on the "New" camera PC</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">#Open the PLC Control program on the camera PC
#Note the version of software currently running (.pro)
#Find the .pro file in c:\TwinCAT\Stuga\
#Copy to c:\twinCAT\stuga\ on the "New" camera PC
#Also copy the latest PLC Reset project
&lt;div class="icon-instructions info-icon"&gt;
&lt;div class="icon-instructions-icon"&gt;&lt;i class="fa fa-info-circle"&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class="icon-instructions-text"&gt;...If the camera PC is not available, you can lookup the last installed version from the Control Systems Log and find the version backup from G:\Design\TwinCAT\Previous Versions&lt;/div&gt;
&lt;/div&gt;&lt;br/&gt;</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">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



&lt;div class="icon-instructions idea-icon"&gt;
&lt;div class="icon-instructions-icon"&gt;&lt;i class="fa fa-lightbulb-o"&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class="icon-instructions-text"&gt;...If you do not have access to the original camera PC, you will need to get hold of an old PC (normally windows 7 or windows 8 PCs) with TwinCAT2 installed on it, and use this to connect to the Beckhoff PLC using "Open From Target". There are a number of old "CNC" Pcs in the setup room that can be used for this&lt;/div&gt;
&lt;/div&gt;</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">&lt;div class="icon-instructions idea-icon"&gt;
&lt;div class="icon-instructions-icon"&gt;&lt;i class="fa fa-lightbulb-o"&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class="icon-instructions-text"&gt;...This is a LOT easier on a dual screen PC!&lt;/div&gt;
&lt;/div&gt;&lt;div class="icon-instructions info-icon"&gt;
&lt;div class="icon-instructions-icon"&gt;&lt;i class="fa fa-info-circle"&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class="icon-instructions-text"&gt;...Regrettably, the upgrade will not keep all the IO links, so these need to be entered again manually&lt;/div&gt;
&lt;/div&gt;


Using System Manager on the Camera PC, create new copies of all the links on all devices from the System Manager to the new project.

&lt;div class="icon-instructions info-icon"&gt;
&lt;div class="icon-instructions-icon"&gt;&lt;i class="fa fa-info-circle"&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class="icon-instructions-text"&gt;...A lot of the Autoflows have been modified on the EtherCAT network - eg a sensor input may have blown and the sensor has been moved to a different port. Using this method ensures you get exactly the same setup.&lt;/div&gt;
&lt;/div&gt;

&lt;br/&gt;
&lt;div class="icon-instructions caution-icon"&gt;
&lt;div class="icon-instructions-icon"&gt;&lt;i class="fa fa-exclamation-triangle"&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class="icon-instructions-text"&gt;...Don't miss the links on the "Slices", these are one level down on the IO Device Tree&lt;/div&gt;
&lt;/div&gt;</property:Step_Content>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Get a backup of the original TSM file</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Get copy of current PLC and Reset project</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Convert the TC2 project to TC3</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Replace the old PLC code with the version control latest</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Connect to the Beckhoff Backend PC</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Update the EtherCAT Device Adaptor</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Add the IO Links</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Copy the Axis Links</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Remove the "Interpolate" Axis group</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Change V and W axis PLC links</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Add the reset link</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Ensure the front end has the latest software versions</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Update the front end parameters</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Update the Control Systems log</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Create the clone to pull the latest tc3Multi and PLC_Reset</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Change the inverterGoFwd links</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Get connected to the Camera PC  of the machine to be updated</property:Step_Title>
		<property:Tags rdf:datatype="http://www.w3.org/2001/XMLSchema#string">TC2</property:Tags>
		<property:Tags rdf:datatype="http://www.w3.org/2001/XMLSchema#string">TC3</property:Tags>
		<property:Tags rdf:datatype="http://www.w3.org/2001/XMLSchema#string">TwinCAT Upgrade</property:Tags>
		<property:Has_query rdf:resource="&wiki;Convert_TC2_Project_to_TC3-23_QUERYee7a61aae48f1c3f91d8e4d7736360be"/>
		<swivt:wikiPageModificationDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2024-02-20T09:22:53Z</swivt:wikiPageModificationDate>
		<property:Modification_date-23aux rdf:datatype="http://www.w3.org/2001/XMLSchema#double">2460360.8908912</property:Modification_date-23aux>
		<swivt:wikiPageSortKey rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Convert TC2 Project to TC3</swivt:wikiPageSortKey>
		<property:Comments rdf:datatype="http://www.w3.org/2001/XMLSchema#double">0</property:Comments>
		<property:Page_creator rdf:resource="&wiki;Utilisateur-3AGareth_Green"/>
		<property:Approved rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">false</property:Approved>
		<property:IsReview rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">false</property:IsReview>
		<property:I_did_it rdf:datatype="http://www.w3.org/2001/XMLSchema#double">0</property:I_did_it>
		<property:Favorites rdf:datatype="http://www.w3.org/2001/XMLSchema#double">0</property:Favorites>
	</swivt:Subject>
	<swivt:Subject rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Convert_TC2_Project_to_TC3-23_QUERYee7a61aae48f1c3f91d8e4d7736360be">
		<swivt:masterPage rdf:resource="&wiki;Convert_TC2_Project_to_TC3"/>
		<swivt:wikiNamespace rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</swivt:wikiNamespace>
		<property:Query_depth rdf:datatype="http://www.w3.org/2001/XMLSchema#double">1</property:Query_depth>
		<property:Query_format rdf:datatype="http://www.w3.org/2001/XMLSchema#string">plainlist</property:Query_format>
		<property:Query_size rdf:datatype="http://www.w3.org/2001/XMLSchema#double">3</property:Query_size>
		<property:Query_string rdf:datatype="http://www.w3.org/2001/XMLSchema#string">[[:Dokit:DocOptions]] [[DokitEPIEnable::yes]]</property:Query_string>
		<swivt:wikiPageSortKey rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Convert TC2 Project to TC3# QUERYee7a61aae48f1c3f91d8e4d7736360be</swivt:wikiPageSortKey>
	</swivt:Subject>
	<swivt:Subject rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Convert_Autoflow_TC2_Project_to_TC3">
		<rdfs:label>Convert Autoflow TC2 Project to TC3</rdfs:label>
		<rdfs:isDefinedBy rdf:resource="https://stuga.dokit.app/wiki/Special:ExportRDF/Convert_Autoflow_TC2_Project_to_TC3"/>
		<swivt:page rdf:resource="https://stuga.dokit.app/wiki/Convert_Autoflow_TC2_Project_to_TC3"/>
		<swivt:wikiNamespace rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</swivt:wikiNamespace>
		<swivt:wikiPageContentLanguage rdf:datatype="http://www.w3.org/2001/XMLSchema#string">fr</swivt:wikiPageContentLanguage>
		<swivt:redirectsTo rdf:resource="&wiki;Convert_TC2_Project_to_TC3"/>
		<owl:sameAs rdf:resource="&wiki;Convert_TC2_Project_to_TC3"/>
		<swivt:wikiPageSortKey rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Convert Autoflow TC2 Project to TC3</swivt:wikiPageSortKey>
	</swivt:Subject>
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#creationDate" />
	<owl:Class rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Category-3ATutorials" />
	<owl:Class rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Category-3ASoftware" />
	<owl:ObjectProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#page" />
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiNamespace" />
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiPageContentLanguage" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AComplete" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3ADescription" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3ADifficulty" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3ADuration" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3ADuration-2Dtype" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AIntroduction" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AIsTranslation" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3ALanguage" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AMain_Picture" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3ASourceLanguage" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AStep_Content" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AStep_Title" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3ATags" />
	<owl:ObjectProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AHas_query" />
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiPageModificationDate" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AModification_date-23aux" />
	<owl:DatatypeProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#wikiPageSortKey" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AComments" />
	<owl:ObjectProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3APage_creator" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AApproved" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AIsReview" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AI_did_it" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AFavorites" />
	<owl:ObjectProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#masterPage" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AQuery_depth" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AQuery_format" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AQuery_size" />
	<owl:DatatypeProperty rdf:about="http://https://stuga.dokit.app/wiki/Special:URIResolver/Property-3AQuery_string" />
	<owl:ObjectProperty rdf:about="http://semantic-mediawiki.org/swivt/1.0#redirectsTo" />
	<!-- Created by Semantic MediaWiki, https://www.semantic-mediawiki.org/ -->
</rdf:RDF>