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. +
#Open Visual Studio
#Create a new TC3 pro …
#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)
...Once created, you will have a copy of all the devices and boxes in the project with the correct naming.
f all the devices and boxes in the project with the correct naming.</div>
</div><br/>
+, Add a new route +, Navigate to the Adaptor settings and searc … Navigate to the Adaptor settings and search for the correct one on the new Beckhoff PC
...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
this in the project to the EtherCAT device on the new Beckhoff PC</div>
</div> +, Right click and select delete +, When converting for a ZX4 machine, the V a … When converting for a ZX4 machine, the V and W axis links will need to be changed
V = arrAxis[11]
W = arrAxis[12]
...This is needed because the original ZX4 number designations (7&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&SZ. Decision was made to give V and W their own axis numbers for future compatibility
n was made to give V and W their own axis numbers for future compatibility</div>
</div><br/> +, 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]] +, Set a link from ibResetPLC on PLC_Reset to qbResetPLC on tc3Multi +, 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 +, Update
* Front End PC and OS
* Back End PC and OS
* Software versions +,
* Create the clone in c:\TwinCAT\[BuildNo]\Source
* If an error is produced after cloning, just use the "Add" function to add the clone
<br/>
+,
#Delete the old PLC projects
#using Add e …
#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)
are correct (851=tc3Multi, 852=PLC_Project)
+, TC2 software used a system of inverter obj … 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
Ch1 - Y97 Saw Blade
Ch 2 - Y98 Extractor +,
#Dial in to Camera / VM PC
#Open System manager
#File->Save As
#Rename it to [build number].[todays date]
#Copy to c:\twinCAT\stuga\ on the "New" camera PC
+,
#Open the PLC Control program on the came …
#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
...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
d the version backup from G:\Design\TwinCAT\Previous Versions</div>
</div><br/>
+, You will need to get a backup of the TC2 p … 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
...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
mber of old "CNC" Pcs in the setup room that can be used for this</div>
</div> + et <div class="icon-instructions idea-icon …
...This is a LOT easier on a dual screen PC!
...Regrettably, the upgrade will not keep all the IO links, so these need to be entered again manually
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.
...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.
...Don't miss the links on the "Slices", these are one level down on the IO Device Tree
tructions-icon"><i class="fa fa-exclamation-triangle"></i></div>
<div class="icon-instructions-text">...Don't miss the links on the "Slices", these are one level down on the IO Device Tree</div>
</div> +
Get a backup of the original TSM file +, Get copy of current PLC and Reset project +, Convert the TC2 project to TC3 +, Replace the old PLC code with the version control latest +, Connect to the Beckhoff Backend PC +, Update the EtherCAT Device Adaptor +, Add the IO Links +, Copy the Axis Links +, Remove the "Interpolate" Axis group +, Change V and W axis PLC links +, Add the reset link +, Ensure the front end has the latest software versions +, Update the front end parameters +, Update the Control Systems log +, Create the clone to pull the latest tc3Multi and PLC_Reset +, Change the inverterGoFwd links + et Get connected to the Camera PC of the machine to be updated +
Possède une requête« Possède une requête (Has query) » est une propriété prédéfinie qui représente les méta-informations (sous la forme d'un sous-objet) des requêtes individuelles et est fournie par MédiaWiki Sémantique.
Date de modification« Date de modification (Modification date) » est une propriété prédéfinie qui correspond à la date de la dernière modification d’un sujet et est fournie par MédiaWiki Sémantique.