

<?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/Create_a_TwinCAT_Project_from_Existing_Project">
		<swivt:creationDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2026-05-26T12:12:30+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/Create_a_TwinCAT_Project_from_Existing_Project">
		<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>Create a TwinCAT Project from Existing Project</rdfs:label>
		<rdfs:isDefinedBy rdf:resource="https://stuga.dokit.app/wiki/Special:ExportRDF/Create_a_TwinCAT_Project_from_Existing_Project"/>
		<swivt:page rdf:resource="https://stuga.dokit.app/wiki/Create_a_TwinCAT_Project_from_Existing_Project"/>
		<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 create a TwinCAT project from  an existing project on a similar machine</property:Description>
		<property:Difficulty rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Very hard</property:Difficulty>
		<property:Duration rdf:datatype="http://www.w3.org/2001/XMLSchema#double">30</property:Duration>
		<property:Duration-2Dtype rdf:datatype="http://www.w3.org/2001/XMLSchema#string">minute(s)</property:Duration-2Dtype>
		<property:Introduction rdf:datatype="http://www.w3.org/2001/XMLSchema#string">If you are confident and proficient in using the Visual Studio editor to create 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

&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;...This should only be attempted if the machine has exactly the same EtherCAT box, drive and module setup&lt;/div&gt;
&lt;/div&gt;&lt;br/&gt;</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: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">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

# Create an archive of an open project (you need to run Visual Studio on the desktop of the machine in question)
# Copy the contents of the c:\TwinCAT\Stuga\[BuildNo] folder from the "donor" to your new machine setup
# 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</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Paste the solution on the ZX5 front end PC in C:/TwinCAT/Stuga.</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Open Solution and...

1: rename the solution to the current build (i.e. Z067).

2: rename the project to the current build.   </property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">&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;...Because you are working on a new PC, the physical hardware has changed. You need tell the project that the hardware is different&lt;/div&gt;
&lt;/div&gt;

The hardware can use 1 or 2 devices. For the EtherCAT network port device:

# Double click
# Device MAC Addresses, Device 4 &gt; Adapter &gt; select OS (NDIS) &gt; Search &gt; EtherCAT. This should automatically update the mac address.


For the NDIS (PCI) Device

Device 1 &gt; Adapter &gt; PIC &gt; Search &gt; BUS.</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Update EtherCAT devices. This compares the solution’s EtherCAT boxes to the ones on the current build. Any differences between the current solution and the current build will be highlighted and explained by the system. Issues highlighted in RED are completely different to what the solution would expect. Issues highlighted in BLUE are ok, this suggests that a new version of hardware is being used but is compatible with the solution.

To do this right click on the target device and press “Scan”.

NOTE: If this does not work, repeat steps, save changes and online reset (Right click device x).</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">AmsNetID the same on SYSTEM &gt; Routes &gt; “Target net ID”, must be the same as: SAFETY &gt; ZX5_2_1 &gt; ZX5_2_1 Project &gt; Target System (Figure 1).</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">To get the safety toolbar go to: View &gt; Toolbars &gt; Check '''TwinCAT Safety'''. This will show the safety options.</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Go to: SAFETY &gt; ZX5_2_1 &gt; ZX5_2_1 Project &gt; Target System. Press the refresh button to update the AmsNetID as it will currently have the ID if the machine that the software was copied from.  </property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Copy the '''serial number''' (Figure 2) for use in next step</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string"># '''Verify Complete Safety Project'''
# Then '''Verify Complete Safety Project (Hardware Level)'''</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">'''TwinSAFE Wizard:''' 

# When prompted input, username: Administrator, 
# Serial Number: (Copied from step above), 
# Password: TwinSAFE. 
# Then confirm.</property:Step_Content>
		<property:Step_Content rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Go to SAFETY &gt; ZX5_2_1 &gt; ZX5_2_1 Project &gt; TwinSafeGroup1 &gt; TwinSafeGroup1.sal, and press the '''Safety Goggles Icon''' (Figure 3). This should show the Estop circuit in green if working correctly.</property:Step_Content>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Choose a Similar Build and copy the Project</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Paste the solution</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Open and rename</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Update MAC address</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Update EtherCAT devices</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">TwinSAFE System</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Check safety options</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Check safety</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Copy serial number</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Verify Safety Project</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Download Safety Project</property:Step_Title>
		<property:Step_Title rdf:datatype="http://www.w3.org/2001/XMLSchema#string">View Safety Project</property:Step_Title>
		<property:Tags rdf:datatype="http://www.w3.org/2001/XMLSchema#string">TwinCAT</property:Tags>
		<property:Tags rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Project</property:Tags>
		<property:Tags rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Existing</property:Tags>
		<property:Has_query rdf:resource="&wiki;Create_a_TwinCAT_Project_from_Existing_Project-23_QUERYee7a61aae48f1c3f91d8e4d7736360be"/>
		<swivt:wikiPageModificationDate rdf:datatype="http://www.w3.org/2001/XMLSchema#dateTime">2019-11-21T15:41:44Z</swivt:wikiPageModificationDate>
		<property:Modification_date-23aux rdf:datatype="http://www.w3.org/2001/XMLSchema#double">2458809.1539815</property:Modification_date-23aux>
		<swivt:wikiPageSortKey rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Create a TwinCAT Project from Existing Project</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/Create_a_TwinCAT_Project_from_Existing_Project-23_QUERYee7a61aae48f1c3f91d8e4d7736360be">
		<swivt:masterPage rdf:resource="&wiki;Create_a_TwinCAT_Project_from_Existing_Project"/>
		<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">Create a TwinCAT Project from Existing Project# QUERYee7a61aae48f1c3f91d8e4d7736360be</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-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" />
	<!-- Created by Semantic MediaWiki, https://www.semantic-mediawiki.org/ -->
</rdf:RDF>