Clone

The runtime data can be transferred from one machine to another by means of a file copy if both originate from the same platform and are connected with equivalent hardware equipment.

The following steps describe a simple procedure to transfer a binary configuration from one machine, "source", to another, "destination".

Empty the folder C:\TwinCAT\3.x\Boot on the source machine.
1. Create (or enable) the module on the source machine.
2. Transfer the folder C:\TwinCAT\3.x\Boot from the source to the destination.
This folder also contains the repository which contains the necessary TMX files.
3. For TwinCAT driver projects (.sys): transfer the driver itself from C:\TwinCAT\3.x\Driver\AutoInstall\MYDRIVER.sys and if necessary also the PDB file.
4. For TwinCAT driver projects (.sys) and if drivers are new on a machine:
TwinCAT must perform a registration once. Switch TwinCAT via SysTray (right-click->System->Start/Restart) into RUN mode.
Alternatively this call can be used ("%1" can be replaced as driver name):
sc create %1 binPath= c:\TwinCAT\3.1\Driver\AutoInstall\%1.sys type= kernel start= auto group= "file system" DisplayName= %1 error= normal
You can now start the target machine.
Clone 1:

Handling licenses

Note that licenses cannot be transferred in this manner. Please use pre-installed licenses, volume licenses or other mechanisms for providing licenses.