TwinCAT C++ project files

File

Description

Further Information

Engineering / XAE

*.sln

Visual Studio Solution file, hosts TwinCAT and non-TwinCAT projects

 

*.tsproj

TwinCAT project, collection of all nested TwinCAT projects, such as TwinCAT C++ or TwinCAT PLC project

 

_Config/

Folder contains further configuration files (*.xti) that belong to the TwinCAT project.

See menu Tools| Options| TwinCAT| XAE-Environment| File Settings

_Deployment/

Folder for compiled TwinCAT C++ drivers

 

*.tmc

TwinCAT Module Class file (XML-based)

See TwinCAT Module Class Editor (TMC)

*.rc

Resource file

See Set version/vendor information

*.vcxproj.*

Visual Studio C++ project files

 

*ClassFactory.cpp/.h

Class Factory for this TwinCAT driver

 

*Ctrl.cpp/.h

Upload and remove drivers for TwinCAT UM platform

 

*Driver.cpp/.h

Upload and remove drivers for TwinCAT RT platform

 

*Interfaces.cpp/.h

Declaration of the TwinCAT COM interface classes

 

*W32.cpp./.def/.idl

 

 

*.cpp/.h

One C++/Header file per TwinCAT module in the driver. Insert user code here.

 

Resource.h

Required by *.rc file

 

TcPch.cpp/.h

Used for creating precompiled headers

 

%TC_INSTALLPATH%\Repository\<Vendor>\<PrjName>\<Version>\<Platform>\*.tmx

Compiled driver that is loaded via the TcLoader.

C:\TwinCAT\3.x\Repository\C++ Module Vendor\Untitled1\0.0.0.1\TwinCAT RT *\Unititled1.tmx

See Versioned C++ Projects

%TC_INSTALLPATH% \CustomConfig\Modules\*

Published TwinCAT driver package
usually C:\TwinCAT\3.x\CustomConfig\Modules\*

See Export modules

 

Runtime / XAR

%TC_BOOTPRJPATH% \CurrentConfig\*

Current configuration setup

Windows: C:\TwinCAT\3.x\Boot

TwinCAT/BSD: /usr/local/etc/TwinCAT/3.x/Boot

 

%TC_DRIVERAUTOINSTALLPATH% \*.sys/pdb

Compiled, platform-specific driver that is loaded via the operating system.

Windows: C:\TwinCAT\3.x\Driver\AutoInstall (system loaded)

TwinCAT/BSD: <not available>

 

%TC_INSTALLPATH%\Boot\Repository\<Vendor>\<PrjName>\<Version>\*.tmx

Compiled platform-specific driver that is loaded via the TcLoader.

Windows: C:\TwinCAT\3.x\Boot\Repository\C++ Module Vendor\Untitled1\0.0.0.1\Untitled1.tmx

TwinCAT/BSD: /usr/local/etc/TwinCAT/3.x/Boot\/Repository\C++ Module Vendor\Untitled1/0.0.0.1/Untitled1.tmx

 

%TC_BOOTPRJPATH% \TM\OBJECTID.tmi

TwinCAT Module Instance file

Describes variables of the driver

File name is ObjectID.tmi

Windows: C:\TwinCAT\3.x\Boot\TMI\OTCID.tmi

TwinCAT/BSD:
/usr/local/etc/TwinCAT/3.x/Boot/TMI/OTCID.tmi

 

Temporary files

*.sdf

IntelliSense Database

 

*.suo / *.v12.suo

User-specific and Visual Studio-specific files

 

*.tsproj.bak

Automatically generated backup file from tsproj

 

ipch/

Intermediate directory created for precompiled headers