Settings in TwinCAT 3

<< Click to Display Table of Contents >>

Navigation:  Target Systems > Beckhoff >

Settings in TwinCAT 3

 

TwinCAT settings:

Prepare the local Win10 PC for TwinCAT:

In order to make the local system executable for TwinCat, the batch file "win8settick.bat" must be executed.

You can find the file in the TwinCat system folder.

C: \ TwinCAT \ 3.1 \ System

clip0012

 

 

The win8settick.bat file should be run as an administrator.

NeuesElement657

 

Then start the TwinCat XAE software if it is not already open.

 

Open the demo project you want to start. (See Open project in TwinCAT.)

 

After the project has opened, go to System and configure your local controller (PLC).

NeuesElement655

 

 

First, read the number of available cores on your system.

clip0151

There should be at least 2 cores to get a stable runtime. In our case the system has 12 cores from 0-11.

clip0014

 

 

Now a core has to be isolated from it

NeuesElement652

clip0015

 

 

After restarting the system, the isolated core of TwinCat must be set to default.

 

NeuesElement653

The newest version of the "SELMO Basic" library must be installed.

clip0199

 

The SELMO Basic library is located in the SELMOstudio.

Export the library for TwinCAT3.

SELMO Lib

Click on "Library repository", to install the SELMO Library.

clip0115

 

clip0437

 

The installed Library is shown under Application - Common - SELMO Basic

clip0438

 

Add the new library:

 

clip0439

 

 

Now the project has to be saved in order not to lose any settings.

clip0016

 

The project can now be loaded into the controller.

 

Load project and start PLC:

First, the configuration must be activated.

clip0017

 

clip0018

 

You will be asked to activate a license.

Beckhoff offers a 7-day test license.

clip0019

 

If you confirm with "YES", the following picture appears.

Enter the displayed key in the field below and confirm with "OK".

clip0020

 

 

clip0021

 

The project is now loaded and the PLC switches to the RUN state.

NeuesElement648

 

NeuesElement647

 

 

You can log in here.

clip0022

 

The application runs on the controller.

NeuesElement646

 

 

Now you have to start the SELMOPowered HMI of your DEMO project (HMI)