How to create a TwinCAT project from an existing project on a similar machine
Auteur Gareth Green | Dernière modification 21/11/2019 par Gareth Green en cours de rédaction ⧼frevu-button-review-label⧽
Pas encore d'image
How to create a TwinCAT project from an existing project on a similar machine
TwinCAT, Project, Existing
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
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
Paste the solution on the ZX5 front end PC in C:/TwinCAT/Stuga.
Open Solution and...
1: rename the solution to the current build (i.e. Z067).
2: rename the project to the current build.
The hardware can use 1 or 2 devices. For the EtherCAT network port device:
For the NDIS (PCI) Device
Device 1 > Adapter > PIC > Search > BUS.
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).
AmsNetID the same on SYSTEM > Routes > “Target net ID”, must be the same as: SAFETY > ZX5_2_1 > ZX5_2_1 Project > Target System (Figure 1).
To get the safety toolbar go to: View > Toolbars > Check TwinCAT Safety. This will show the safety options.
Go to: SAFETY > ZX5_2_1 > ZX5_2_1 Project > 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.
TwinSAFE Wizard:
Go to SAFETY > ZX5_2_1 > ZX5_2_1 Project > TwinSafeGroup1 > TwinSafeGroup1.sal, and press the Safety Goggles Icon (Figure 3). This should show the Estop circuit in green if working correctly.
en none 0 Draft
Vous avez entré un nom de page invalide, avec un ou plusieurs caractères suivants :
< > @ ~ : * € £ ` + = / \ | [ ] { } ; ? #