Migration from TwinCAT 2
If you would like to migrate an existing TwinCAT 2 PLC project which uses the IEC 60870-5-10x PLC (supplement) libraries, you need to perform some manual steps to ensure that the TwinCAT 3 PLC converter can process the TwinCAT 2 project file (*.pro).
The TwinCAT 2 Libraries are delivered with the Supplement
Installation.
By default, these library files are installed in
"C:\TwinCAT\Plc\Lib\". Depending on the library used in
your PLC project, you need to copy the corresponding library file
to "C:\TwinCAT\3.1\Components\Plc\Converter\Lib\" and
then perform the following steps:
- Open TwinCAT XAE
- Create a new TwinCAT 3 solution
- Right-click the PLC node and select Add existing item
- In the Open File Dialog, select the file type Plc 2.x Project Import (*.pro), browse to the folder containing your TwinCAT2 PLC project and select the corresponding pro-file followed by clicking on Open
- After clicking on Open, TwinCAT 3 starts the converter process and will finally display the converted PLC project under the PLC node