Setup TIA project
- 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..
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.
2. PROFINET interface[X1]
Enable web server.
3. Web server
Activate web server on this module, select the access level for the user management and add a second Server certificate.
4. OPC UA
Activate OPC UA server
5. Runtime licenses
Select the medium license for OPC UA
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.
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.
make sure following settings are correct
- right-click on project → select "properties
- Select "Support simulation during block compilation"
- Select "Options... → Settings"
- Go to "Simulation" and set "Confirm start of simulation"
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
UP config
Make sure, that the platformConfig_S7Tia is configurated. In other cases the folder will not be created!
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.
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)
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
4.Protection
To protect the proporties you can select the IO Tags.
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