Skip to content

Setup TIA project

Abstract

The following sections should enable you to set up a new TIA project to work with UP and the Exchange tool

Settings TIA V15.1 project

Insert TIA Settings

important use same preferences: TiaPortal - Options - Settings - import/export settings - Import settings..

Dfault_UP_SettingsFile.t…image2021-1-4_18-27-59

1. Open Settings

If a new project is created a PLC must be selected. For this purpose double click on "Add new device" in the project tree. After selecting a PLC confirm with OK.

If the PLC has been inserted or already exists, right-click on the PLC folder to open the properties.

2020-04-08_13h19_47

2. PROFINET interface[X1]

Enable web server.

2020-04-08_11h58_20

3. Web server

Activate web server on this module, select the access level for the user management and add a second Server certificate.

2020-04-08_12h05_25

2020-04-08_12h06_29

2020-04-08_12h08_57

4. OPC UA

Activate OPC UA server

2020-04-08_12h12_03

5. Runtime licenses

Select the medium license for OPC UA

2020-04-08_13h17_09

6. Project languages

Be sure that your project language is only English. Open the "Languages & resources" folder in the Project tree. Select only English. Set the general user interface language also to English.

2020-04-08_15h06_17

7. Setting for Simulation

If you have this error ...
'xxx' cannot be simulated. If the block is a library block, use a library with simulation support. Otherwise, select the option "Support simulation during block compilation" in the project properties and recompile the block.
image2020-10-1_13-54-3

make sure following settings are correct

  1. right-click on project → select "properties
    image2020-10-1_14-6-0
  2. Select "Support simulation during block compilation"
    image2020-10-1_14-7-11
  3. Select "Options... → Settings"
    image2020-10-1_14-17-20
  4. Go to "Simulation" and set "Confirm start of simulation"
    image2020-10-1_14-18-58

else if its only one block, check the settings like this... → https://support.industry.siemens.com/cs/document/109754928/what-restrictions-are-there-with-simatic-s7-1500-s7-plcsim-advanced-?dti=0&lc=en-US

  1. image2020-10-1_14-12-48

UP config

Make sure, that the platformConfig_S7Tia is configurated. In other cases the folder will not be created!

image2020-8-17_14-13-59

TiaExchange for V15.1 (v4.6.2.0)

Additional information to the TIA Exchange Openness:  Siemens Tools - TiaExchange

1.First step

Open the Computer Management and add the local member for the Siemens TIA Openness group.

2020-04-08_14h24_58

(Warnung) After adding the local member the VM has to be restarted.

2.Settings

Start TIA Exchange and "Edit" your specific Project
Source directory of the local Repository (local repo path until ....\Source folder)
TIA Project Path (project path include project application ....\Handling.ap15_1)

2020-04-08_14h35_30

3.Import

Start first time the import. In the TIA project a pop up will be shown. Select Yes to all → after this the import will be executed.

If your import finished with errors caused of missing IO Tags add them in the TIA project to satisfy the compiler.

Configuration

Here you should select Use last exported or last successfull imported data to compare for the Differentail import

image2021-1-4_17-45-34

4.Protection

To protect the proporties you can select the IO Tags.

image2021-1-4_18-35-28

The protection settings must be made as soon as there is information in the TIA project that is not generated via the UP. (Normally at the beginning a first full import into the TIA project is created and then the protection is set up).
For the OBs only code updates are allowed, so that there are no problems with the OB numbers, but still new controllers can be inserted.
IO tables are protected, so that the linked hardware IOs are not lost.
UserObjects are also protected depending on where they are managed sourcecode.

Full vs. Diff Import

The Full Import replaces all data in the project which are not protected.
The Differential Import compares the current UP export with the status of the last import into TIA.

Next step

VM Netzwerk

Siehe: VM - VmWare Netzwerk