Performing a C++ Update

Runtime data can be transferred from one machine to another via file copy if both machines are from the same platform and are connected with equivalent hardware equipment.

The following steps describe a simple procedure for transferring a binary configuration from one machine (“source”) to another (“target”).

1. Purge the boot folder on the source machine.
< TC3.1.4026.0: C:\TwinCAT\3.1\Boot
>=TC3.1.4026.0: C:\ProgramData\Beckhoff\TwinCAT\3.1\Boot
2. Create (or enable) the module on the source machine.
3. Transfer the boot folder from the source to the target machine.
This folder also contains the repository which contains the required TMX files. The folder is located at the following location on both the source and target machines.
< TC3.1.4026.0: C:\TwinCAT\3.1\Boot
>=TC3.1.4026.0: C:\ProgramData\Beckhoff\TwinCAT\3.1\Boot
4. For TwinCAT driver projects (.sys): Transfer the driver MYDRIVER.sys and if necessary also the PDB file.
< TC3.1.4026.0: C:\TwinCAT\3.1\Driver\AutoInstall\MYDRIVER.sys
>=TC3.1.4026.0: C:\ProgramData\Beckhoff\TwinCAT\3.1\Driver\AutoInstall\MYDRIVER.sys
5. For TwinCAT driver projects (.sys) and if the drivers are new on a machine:
TwinCAT must perform a registration once. Switch TwinCAT to Run mode via SysTray (right click -> System -> Start/Restart).
Alternatively, this call can be used (replace “%1” as driver name):
< TC3.1.4026.0: 
sc create %1 binPath= c:\TwinCAT\3.1\Driver\AutoInstall\%1.sys type= kernel start= auto group= "file system" DisplayName= %1 error= normal
>=TC3.1.4026.0: 
sc create %1 binPath= C:\ProgramData\Beckhoff\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.
Performing a C++ Update 1:

Handling licenses

Note that licenses cannot be transferred in this way. Please use preinstalled licenses, volume licenses, or other methods for providing licenses.