TwinCAT Quick Start

Starting the installation program

Start the SETUP.EXE program on the CD. To do this, open the Explorer, change to the CD ROM and double click the SETUP.EXE program.

The following dialog box opens. Click 'Next ' to continue.

Starting the installation program 1:

Selecting the language

Select the national language in which you wish to install TwinCAT. To install it in English, for example, select the entry 'English' and click 'OK' to confirm your input. Installation is completely menu-prompted.

Starting the installation program 2:

Exit programs

The installation program recommends, to exit all Windows programs, before running this Setup program.

Starting the installation program 3:

License Agreement

Starting the installation program 4:

Entering the User Information

You must enter the serial number in this dialog box. You will find the serial number in your TwinCAT purchase agreement. Leave this box blank if you wish to install the demo version of TwinCAT.

Starting the installation program 5:

Select installation level

One of the following Installation levels must be selected:

Starting the installation program 6:

Description of the product levels:


Contains the necessary components for the Special functions (UPS, S-Keys, ...) of the Beckhoff Control Panels


The (User Mode-) Program can directly access the IO Devices. This Level does not include the PLC.


In TwinCAT PLC includes the IEC61131-3 Software Development kit.


Further to PLC this module contains the NC/CNC functionality to control the PTP-Axis .


Further to PLC this module contains the NC functionality interpolates drives in 3D.

Installation type

Select TwinCAT as 30-Day-Test-Version, Register an installation or a request for further Information. If you have no Registration Number 'Install the 30 day Version' and register during the 30 day period.

Starting the installation program 7:

installation type Restrictions
30 Day Version TwinCAT is usable for 30 Days without any restictions . During this time a license number must be appled for otherwise after the 30 days has expired the program can no longer be started.
Registration via Telephone or Internet When you have completed the installion you will be requested to enter the license number. See below

Registration key

If you decide to register TwinCAT, you must now enter the Key. You must obtain this register key directly from Beckhoff Automation. The Telephone number is in the dialog box. In order to compute the registration number, the System ID must be given. The System ID is shown in the dialog box.

Starting the installation program 8:

Component selection

By Default, not all the components in TwinCAT are installed.

Starting the installation program 9:

Component Description
TwinCAT IO Allows the direct access to IO via a DLL. Can be installed with TwinCAT PLC or TwinCAT NC PTP.
TwinCAT Scope View Program for the graphical visualisation of the TwinCAT process variables.
TwinCAT Cam Server Fast Cam Server.
TwinCAT EDS and GSD Files The EDS (DeviceNet) and GSD (characteristic master device file, Profibus) makes all the settings available to the user for the configuration of his system.

Selecting the destination path and the program folder

You can select any directoy here as well as selecting the Program folder. Usually the default values would be accepted.

Starting the installation program 10:

Starting the installation program 11:

After the installation of TwinCAT

The installation of the Beckhoff Information System is automatically started. The Beckhoff Information System contains the documentation of TwinCAT. Click 'OK' to start this installation.

Starting the installation program 12:

End of the installation of the Beckhoff Information System

Click 'Finish' to finish the installation of the Information System. Afterwards also the installation is terminated by TwinCAT.

Restart the computer

After the installation has been completed, the Computer must be restarted.

Starting the installation program 13:

Now, the setup has completed the installation of TwinCAT.

Silent installation

You have the option of letting InstallShield create the response file for you. Simply run your setup with the Setup.exe -r command line parameter. InstallShield will record all your setup choices in Setup.iss and place the file in the Windows folder.

All InstallShield built-in and Sd dialog box functions are designed to write values into the Setup.iss file when InstallShield runs in record mode (Setup -r). If you are creating custom dialog boxes, you will need to call SdMakeName and SilentWriteData to add sections and dialog box data to the response file when setup runs in record mode. Refer to the Sd dialogs' source code in the <InstallShield location>\Include folder for examples of using these functions to write to Setup.iss. Please read the following section for more information about what data to add to Setup.iss when calling SdMakeName and SilentWriteData.

After you have created the setup and the response file, do the following:

  1. Place the response file (which is located in your Windows folder) in the Setup Files pane's Advanced\Disk 1 folder.
  2. Build your media. If you are creating a self-extracting executable for your setup, enter -s in the Setup Command Line Parameters edit box of the Media Wizard's Self-Extracting Package panel or the media property sheet's Packaging page.

Now you are ready to run the setup in silent mode using InstallShield Silent. When running an setup in silent mode, be aware that no messages are displayed. Instead, a log file named Setup.log captures setup information, including whether the setup was successful. You can review the log file and determine the result of the setup. (Note that for certain setup initialization errors, the log file may instead be named Setupexe.log and be created in SUPPORTDIR if the setup is run from the Internet or in SRCDIR otherwise.)

To launch InstallShield Silent, run Setup.exe with the -s option.

InstallShield also provides the -f1 and -f2 switches so you can specify the name and location of the response file and the location of the log file.

To verify if a silent setup succeeded, look at the ResultCode value in the [ResponseResult] section of Setup.log. InstallShield writes an appropriate return value after the ResultCode keyname.

Setup.log is the default name for the silent setup log file, and its default location is Disk1 (in the same folder as Setup.inx). You can specify a different name and location for Setup.log using the -f1 and -f2 switches with Setup.exe

The second section, [Application], identifies the installed application's name and version, and the company name.
The third section, [ResponseResult], contains the result code indicating whether or not the silent setup succeeded. An integer value is assigned to the ResultCode keyname in the [ResponseResult] section. InstallShield places one of the following return values after the ResultCode keyname:

0 Success.
-1 General error.
-2 Invalid mode.
-3 Required data not found in the Setup.iss file.
-4 Not enough memory available.
-5 File does not exist.
-6 Cannot write to the response file.
-7 Unable to write to the log file.
-8 Invalid path to the InstallShield Silent response file.
-9 Not a valid list type (string or number).
-10 Data type is invalid.
-11 Unknown error during setup.
-12 Dialog boxes are out of order.
-51 Cannot create the specified folder.
-52 Cannot access the specified file or folder.
-53 Invalid option selected.