Module 1 - Intuitive Development - V14
Module 1 - Intuitive Development - V14
and StartDrive
Beginners course to utilizing TIA Portal
Task Cards –
HW Catalog
Editor view –
Project Tree – PLC, HMI
Device & Networks
and Drive project data
Inspector
Window
Status Bar
TIA Portal editor layout
Minimized Editors
TIA Portal editor layout
Project Tree –
HMI project data Task Cards –
Screen objects
and tools
SIMATIC ET200SP
Remote I/O
SIMATIC S71500 PLC
Siemens
PROFINET Encoder
▪ Goal:
Demonstrate the reduction in engineering time needed to configure an
automation system with PLCs, HMIs, and drives.
▪ Main takeaways for Module 1:
1. A clear understanding of how the TIA Portal can integrate PLCs, HMIs, and drives in ONE
software environment.
2. Understand how the library feature can help reuse program parts that have already
been developed.
3. Experience how a project with PLCs, HMIs, and drives can be configured and working in a
short amount of time.
▪ 2 Kinds of Libraries
1. Project Library
• Unique for each project
• Attached to the project (opened, closed, and
save with the project) Types
2. Global Library
• Independent from projects
Types
• For cross-project use of objects Master copies
• Can be saved on local PC or on a company server
• Alarms
• Many others… Parts of the selected
element are shown
Unrestricted © Siemens Industry, Inc. 2014 All rights reserved.
Page 14 December 19, 2018
How to Implement Libraries
▪Objective:
▪Configure the PLC hardware.
▪Overview:
1. Retrieve a project and add an Unspecified CPU S7-1500.
2. Use auto-detect to find the S7-1500 Tour Kit.
3. Configure the CPU and local I/O properties.
2
1
4
4
Once the search is done:
4. Click on the “plc_1.profinet
interface device”.
3
5. Select “Detect” and the window
will close.
2
1
3
1. Now within the same Properties section under the
General Tab, select the “Protection & Security”
option.
2. Enable “Full access incl. fail-safe (no protection)”.
1
1. Now still within the same Properties section under
the General Tab, select the “Fail-safe” option.
2. Click “Enable F-activation”.
Once you click the button, the program will process for
a few moments and then the button will say “Disable F-
activation”.
2
1
▪Objective:
▪Configure the Remote I/O and Project Library.
▪Overview:
1. Create a new library object
• Open the Project Library and place the analog input module in the Master Copies
section.
2. Use preconfigured library objects
• Add 4 preconfigure devices and connect to the PROFINET network.
3
1
1. Select the “Libraries” on the far right hand side of the screen.
2. Then open “Master copies” under Project library.
3. Click the actual analog input module, AI, and drag and drop it into
Master copies folder in the Project library (it will appear as shown).
If you hover the module over “Master copies” it will highlight blue and
you can drop it there to ensure it doesn’t go in any of the other folders.
Customer Benefit -> How can a Library object be reused?
1
Library objects that were previously saved to the Project library or Global
library can be copied back into the existing project via drag and drop.
For this lab exercise, we will copy a library object that contains four
preconfigured devices used with the demo kits – the ET200SP remote I/O
station, KP8 Pushbutton Device, S7-1200 PLC and G120 Drive
4
1. Select PLC_1 in the Project tree.
2. Click the “Download” button.
3. Your PG/PC interface may be “Intel(R) 82579L” as well if you
are using a different port. If one doesn’t work, use the other. 5
4. Click “Start search”.
5. Once the device is found, click “Load”.
Depending on the current state of the RE Kit you are using, this box
may pop up after compiling.
1. Select “Continue without synchronization”.
1
This box may also appear based on state of the RE Kit you are
using.
1. Select “Stop all” from the drop down menu.
2. Select “Load”.
2
Then if this box appears, do the following:
1. Make sure “Start all” is checked.
2. Select “Finish”.
2
1
Now the S7-1500 has the most recent code loaded onto it.
1. Double click the ET200SP (IO device 1) to open the
device view.
1
2
1
1. Once the modules are identified, check to see if the F-destination address
has already been assigned.
2. If the address has not been assigned, check the boxes to confirm that you 3
want to set the F-destination address for the modules. If they have been
assigned, you can skip to step 4.
3. Click “Assign F-destination Address”.
4
4. Once the addresses have been assigned, the status will update to
“assigned”. Now click “Close.
1
1. Save project.
Task 3
▪Objective:
Use the Project Library to add preconfigured PLC tags and
▪
3
4
3
2
1
1. Verify the material you added to PLC_1 has appeared as shown.
2. Now open “Main [OB1]” under PLC_1 in the Project tree.
3. Once you open it, you may have to resize the window by sliding
the indicated bar up or down.
4. You also only need to have the “Basic instructions” within the
“Instructions” tab showing. You can minimize the other instruction
types by clicking the arrow text to the name.
2 1
2
1. Click on the question marks and begin typing
the appropriate tag name. Intelisense will
populate a list as you type and you can pick
the analog potentiometer inputs and scaled
real value outputs from the preconfigured tag
table:
Upper potentiometer on kit:
POT1_Upper_1500 => POT1_Upper_Real
Lower potentiometer on kit:
POT2_Lower_1500 => POT2_Lower_Real
2
1
1. Save project.
Task 3
▪ Objective:
▪ Add a HMI Panel.
▪ Overview:
1. Add a Comfort Panel HMI to the project.
2. Use the HMI Device Wizard to connect it to the S7-1500 PLC and
PROFINET Network, and to create default screens and screen navigation.
3. Add a preconfigured HMI tag table from the Project Library.
4. Add a preconfigured HMI screen from a Reference Project.
3
2
2
3
1
Adding Preconfigured HMI tags from Library: 2
1. Scroll down in the Project tree so that you can see the
4 HMI_1 folder.
2. Select the “Libraries” tab on the far right side.
3. Select “HMI Lab Tags” in the Project library under Master
copies > Module 1 > HMI – Screens and Tags
4. Drag and drop it on “HMI tags” in the Project tree for HMI_1
Customer Benefit -> Easily copy project components between projects via the
“Reference Project” feature:
1 Up to now we have been using the “Libraries” feature to easily add preconfigured
project components (SW and HW) to the existing project. But what if we want to
simply copy project parts from an old project to a new project?
We can easily do this via the “Reference Project” feature, with the advantage that it
avoids having to open up two instances of the TIA Portal software to do the copy and
paste.
Use the “Reference Project” feature to replace the “IO Test Screen” with
2
a preconfigured screen from another project:
1. Under View, check “Reference projects”.
3
2. Select the “Open Reference Project Folder” button.
3. Open “Reference Project 1” in Documents > Labs > Module 1 -
Intuitive Development > Reference Project 1.
2
1. Save project.
Download and Test Hardware
Tasks to load software and test its functionality
▪ Objective:
▪ Download the CPU and HMI projects.
▪ Overview:
1. Compile the S7-1500 CPU, S7-1200 CPU, and TP700.
2. Download to the S7-1500 CPU, S7-1200 CPU, and TP700 in one step.
3. Test the CPU logic.
4. Use the HMI to test the demo hardware.
4
2
1. With PLC_1, PLC_2, and HMI_1 still selected, select the “Download” button on the main toolbar (next to “Compile”).
2. Make sure the correct PG/PC interface is correct for your PG.
3. Select “Start search”.
4. Note which device you are downloading to make sure you find the correct device.
Customer Benefit -> Easy verification of target devices to be loaded:
When downloading to a system for the first time this dialog will appear, which shows the
offline data selected for downloading, the PC interface and the actual target device
which will be loaded. The user can easily verify the target device to be loaded by using
the Flash LED feature of this dialog.
1. Verify the correct device is detected and listed as the target device for downloading.
2. Select “Load”, and then repeat process for remaining devices.
4
1
Depending on the state of the kit you are using, the shown box may
appear: 2
1. In Load preview dialog, if Synchronization prompt arises, select
Action “Force download to device”.
3
2. Check “Overwrite all” action if it appears.
3. Check “Fit” action if it appears.
4. Select “Stop all” action if it appears.
5. Select “Load” to download to all three devices.
1
1
1
1
HMI and KP8 Panel View
▪ Objective:
Configure and test PLC to PLC communications between the S7-1500 and S7-
▪
1
2
Customer Benefit -> Easy PLC to PLC communication with NO
communication blocks needed.
The I-Device feature allows the user to configure PLC to PLC
communications as a range of Input and Output addresses in each PLC,
which are set aside for data communications. This means no dedicated
communication blocks need to be added to each PLC.
A use case where this is an advantage is that of an end user who may have Enable I-Device -> setting up the IO address ranges for
separate machines from different OEMs that need to communicate to a main where data will be sent from the S7-1500 and where
PLC on their production line. If the I-Device feature is enabled on the OEM data will be received in the S7-1200
machines, then they can be easily connected at different times and have
communications working, WITHOUT having to make code changes to the 1. Type in “Q100” in the “Address in IO” box.
main PLC running the production line. 2. Type in “I4” in the “Address in I-device” box.
3. Set length to “2 Byte”. It should now look as
shown.
1 2 3
2
2
1
1
Monitor data values in the S7-1500 (PLC_1) by configuring a Watch
Table:
1. In the PLC_1 device tree go to “Watch and force tables” and
click on “Add new watch table”.
2. Enter Address “%QB100”, which is the output address from
the S7-1500.
1
5
3
3 2