Create a TwinCAT Project from Scratch : Différence entre versions

[version en cours de rédaction][version en cours de rédaction]
(Contenu remplacé par « {{Tuto Details |Main_Picture=Create_a_TwinCAT_Project_from_Scratch_Annotation_2019-11-20_145941.jpg |Main_Picture_annotation={"version":"2.4.6","objects":[{"type":"ima... »)
(Balise : Remplacé)
 
(38 révisions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
 
{{Tuto Details
 
{{Tuto Details
 +
|Main_Picture=Create_a_TwinCAT_Project_from_Scratch_Annotation_2019-11-20_145941.jpg
 +
|Main_Picture_annotation={"version":"2.4.6","objects":[{"type":"image","version":"2.4.6","originX":"left","originY":"top","left":1,"top":-2,"width":390,"height":366,"fill":"rgb(0,0,0)","stroke":null,"strokeWidth":0,"strokeDashArray":null,"strokeLineCap":"butt","strokeDashOffset":0,"strokeLineJoin":"miter","strokeMiterLimit":4,"scaleX":1.57,"scaleY":1.57,"angle":0,"flipX":false,"flipY":false,"opacity":1,"shadow":null,"visible":true,"clipTo":null,"backgroundColor":"","fillRule":"nonzero","paintFirst":"fill","globalCompositeOperation":"source-over","transformMatrix":null,"skewX":0,"skewY":0,"crossOrigin":"","cropX":0,"cropY":0,"src":"https://stuga.dokit.app/images/9/95/Create_a_TwinCAT_Project_from_Scratch_Annotation_2019-11-20_145941.jpg","filters":[]}],"height":450.37531276063385,"width":600}
 
|Description=<translate>How to create a new TwinCAT3 Project from scratch</translate>
 
|Description=<translate>How to create a new TwinCAT3 Project from scratch</translate>
 
|Categories=Software
 
|Categories=Software
Ligne 8 : Ligne 10 :
 
}}
 
}}
 
{{Introduction
 
{{Introduction
|Introduction=<translate></translate>
+
|Introduction=<translate>05/08/25 Converted to confluence
 +
 
 +
See [https://stuga-ltd.atlassian.net/wiki/external/N2E0YjlkNzUyNzc5NDY1NThiOTY1NzcxYmNmNmJkNTU COM01-04 Create TwinCAT Project from Scratch on Virtual Machine]</translate>
 +
|class="wikitable"
 
}}
 
}}
 
{{Materials}}
 
{{Materials}}
 
{{EPI}}
 
{{EPI}}
 
{{Tuto Step
 
{{Tuto Step
|Step_Title=<translate>Start a new project</translate>
+
|Step_Title=<translate></translate>
|Step_Content=<translate># Open Visual Studio
+
|Step_Content=<translate></translate>
# Click on New project
 
# Choose TwinCAT projects->TwinCAT XAE Project (xml format)
 
# Name is build number (no Suffix)
 
# Location is c:\TwinCAT\Stuga\
 
# Untick "Create Directory for solution"
 
 
 
This creates the template</translate>
 
}}
 
{{Tuto Step
 
|Step_Title=<translate>Add PLC Project for Reset</translate>
 
|Step_Content=<translate># Add Existing Item
 
# Navigate to g:\Design\TwinCAT3\PLC_Reset_1_1
 
# Select the .Plcproj file
 
# Copy Project to solution file</translate>
 
}}
 
{{Tuto Step
 
|Step_Title=<translate>Add PLC Project for tcMulti</translate>
 
|Step_Content=<translate># Add Existing Item
 
# Navigate to g:\Design\TwinCAT3\tcMulti_6_24
 
# Select the .Plcproj file
 
# Copy Project to solution file</translate>
 
}}
 
{{Tuto Step
 
|Step_Title=<translate>Add TwinSAFE project</translate>
 
|Step_Content=<translate>{{Info|...From Z071 there is no twinSAFE project as the Estop circuit is hard wired}}</translate>
 
}}
 
{{Tuto Step
 
|Step_Title=<translate>Add the route to the PLC</translate>
 
|Step_Content=<translate># From Dropdown box select the Build number (If it does not exist we will need to add a new route)
 
# If there is a request for a platform change, click Yes
 
# On success, the Route dropdown will not read Error</translate>
 
}}
 
{{Tuto Step
 
|Step_Title=<translate>Scan for Devices</translate>
 
|Step_Content=<translate># Expand IO
 
# Right click on devices, Scan
 
# Untick RT-Ethernet
 
# Untick COM-Port
 
# Just have the EtherCAT ports
 
# Scan for boxes - Yes
 
# If there is a request for New Device Type, Click Apply to All, Click Yes
 
# Check the Devices and boxes match the expected EtherCAT setup
 
 
 
 
 
Repeat this until the physical network matches the scanned network
 
 
 
{{Idea|...Check the green lights on the etherCAT boxes for connection status. Flickering Green means it is OK}}<br /></translate>
 
 
}}
 
}}
 
{{Notes}}
 
{{Notes}}

Version actuelle datée du 6 août 2025 à 15:18

Auteur avatarGareth Green | Dernière modification 6/08/2025 par Gareth Green en cours de rédaction

How to create a new TwinCAT3 Project from scratch

Difficulté
Difficile
Durée
4 heure(s)

Introduction

Étape 1 -

Commentaires

Draft