How to create a new TwinCAT3 Project from scratch
Auteur Gareth Green | Dernière modification 12/09/2023 par Gareth Green en cours de rédaction ⧼frevu-button-review-label⧽
Difficulté
Hard Difficile
How to create a new TwinCAT3 Project from scratch
TwinCAT3, Project, New
Étape 1 - Start a new project
- Open Visual Studio
- 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
Étape 2 - Add PLC Project for Reset
- Add Existing Item
- Navigate to g:\Design\TwinCAT3\PLC_Reset_1_1
- Select the .Plcproj file
- Copy Project to solution file
Étape 3 - Add PLC Project for tcMulti
- Add Existing Item
- Navigate to g:\Design\TwinCAT3\tcMulti_6_24
- Select the .Plcproj file
- Copy Project to solution file
Étape 4 - Add TwinSAFE project
...From Z071 there is no twinSAFE project as the Estop circuit is hard wired
Étape 5 - Add the route to the PLC
- 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
Étape 6 - Scan for Devices
- 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
...Check the green lights on the etherCAT boxes for connection status. Flickering Green means it is OK
en
none
0
Draft
Vous avez entré un nom de page invalide, avec un ou plusieurs caractères suivants :
< > @ ~ : * € £ ` + = / \ | [ ] { } ; ? #
Pas encore enregistré ? Créez un compte pour profiter de toutes les fonctionnalités du service !