Professional Documents
Culture Documents
SCE Training Curriculum: TIA Portal Module 003
SCE Training Curriculum: TIA Portal Module 003
77
TIA Portal Module 003
Table of contents
1 Goal................................................................................................................................................... 80
2 Prerequisite........................................................................................................................................ 80
4 Theory................................................................................................................................................ 82
4.2 Operator control and display elements of the CPU 1516F-3 PN/DP..........................................85
4.2.1 Front view of the CPU 1516F-3 PN/DP with integrated display.........................................86
4.3 Memory areas of the CPU 1516F-3 PN/DP and the SIMATIC memory card.............................90
4.5.1 Project................................................................................................................................ 96
78
TIA Portal Module 003
5 Task................................................................................................................................................. 109
6 Planning........................................................................................................................................... 110
7.5 Configure the access level for the CPU 1516F-3 PN/DP.........................................................117
79
TIA Portal Module 003
1 Goal
In this chapter, you will first learn how to create a project. You are then shown how the
hardware is configured.
2 Prerequisite
You do not need any previous knowledge from other chapters to successfully complete this
chapter.
80
TIA Portal Module 003
2 SIMATIC STEP 7
1 Engineering station Professional (TIA
Portal) as of V13
5 Ethernet connection
5 Ethernet connection
4 ET 200SP distributed IO
81
TIA Portal Module 003
4 Theory
4.1 SIMATIC S7-1500 automation system
The SIMATIC S7-1500 automation system is a modular controller system for the middle to upper
performance range. A comprehensive range of modules is available to optimally adapt the system
to the automation task.
SIMATIC S7-1500 is the next generation of the SIMATIC S7-300 and S7-400 automation systems
with the following new performance features.
④
②
③
①
The programmable logic controller (PLC) uses the S7 program to monitor and
control a machine or process. In doing so, the S7 program scans the IO
modules via input addresses (%I) and addresses their output addresses (%Q).
82
TIA Portal Module 003
System power supply modules (PS) (rated input voltages 24 V DC to 230 V AC/DC)
with connection to the backplane bus supply the configured modules with the internal supply
voltage.
83
TIA Portal Module 003
Load current supply modules (PM) (rated input voltages 120/230 V AC)
do not have a connection to the backplane bus of the S7-1500 automation system. The load
current supply is used to supply 24 V DC to the system power supply of the CPU, the input and
output circuits of IO modules and the sensors and actuators.
IO modules
for digital input (DI) / digital output (DQ) / analog input (AI) / analog output (AQ)
84
TIA Portal Module 003
85
TIA Portal Module 003
① ②
① Load current supply module (PM) with 120/230 V AC, 50 Hz / 60 Hz, 190 W input and 24 V DC
/ 8 A output
② Central processing unit CPU 1516F-3 PN/DP with integrated PROFIBUS and PROFINET
interfaces
4.2 Operator control and display elements of the CPU 1516F-3 PN/DP
The figure below shows the operator control and display elements of a CPU 1516F-3 PN/DP.
The arrangement and number of elements differ from this figure for other CPUs.
86
TIA Portal Module 003
4.2.1 Front view of the CPU 1516F-3 PN/DP with integrated display
87
TIA Portal Module 003
Note: The front flap with the display can be removed and inserted during operation.
Note: The PROFINET field devices (ET 200SP in this case) should be connected to the
PROFINET interface(X1) with the 2 ports.
88
TIA Portal Module 003
The MMC must be inserted to operate the CPU as the CPUs have no integrated load memory. A
commercially available SD card reader is needed to write/read the SIMATIC memory card with the
programming device or PC. This allows files to be copied directly to the SIMATIC memory card
using Windows Explorer, for example.
Note: It is recommended that the SIMATIC memory card only be removed or inserted
when the CPU is in the POWER OFF state.
You can also use the button on the CPU operator panel of the STEP 7 Professional V1X software
in Online & Diagnostics to switch the operating mode (STOP or RUN).
The operator panel also contains an MRES button for performing a memory reset and displays
the status LEDs of the CPU.
89
TIA Portal Module 003
● An ESC key
● An OK key
– OK → valid access to the menu command, confirmation of input and exit from editing
mode
– ESC → restoration of original content (which means changes are not saved) and exit
from editing mode
For menu commands in which no input can be made:
90
TIA Portal Module 003
91
TIA Portal Module 003
4.3 Memory areas of the CPU 1516F-3 PN/DP and the SIMATIC
memory card
The following figure shows the memory areas of the CPU and the load memory on the SIMATIC
memory card.
In addition to the load memory, other data can be loaded onto the SIMATIC memory card using
Windows Explorer. This includes recipes, data logs, project backups and additional
documentation for the program.
92
TIA Portal Module 003
Load memory
Load memory is non-volatile memory for code blocks, data blocks, technology objects and the
hardware configuration. When these objects are downloaded to the CPU, they are first stored in
the load memory. This memory is located on the SIMATIC memory card.
Work memory
Work memory is volatile memory that contains the code and data blocks. The work memory is
integrated into the CPU and cannot be expanded. In S7-1500 CPUs, the work memory is divided
into two areas:
– The code work memory contains runtime-relevant parts of the program code.
Data work memory:
– The data work memory contains the runtime-relevant parts of the data blocks and
technology objects.
At the operating mode transitions from POWER ON to startup and from STOP to startup, tags of
global data blocks, instance data blocks and technology objects are initialized with their start
values. Retentive tags retain their actual values that were saved in the retentive memory.
Retentive memory
Retentive memory is non-volatile memory for saving certain data in the event of power failure.
The tags and operand areas that have been defined as retentive are saved in the retentive
memory. This data is retained beyond power-off or power failure.
All other program tags are set to their start values at the operating mode transitions from POWER
ON to startup and from STOP to startup.
93
TIA Portal Module 003
②
④
①
The distributed IO provide inputs and outputs locally for the process connection, which can be
read and written by the central processing unit via a bus protocol. In doing so, the IO modules are
scanned in the S7 program using input addresses (%I) and addressed using output addresses
(%Q) in the usual way.
94
TIA Portal Module 003
Because the distributed IO are an extension of the central controller, the system is also
configured with the STEP 7 Professional V1X software.
95
TIA Portal Module 003
BaseUnits
as universal basic modules for electrical and mechanical connection of the IO modules.
They are available in a light version BU..D that opens a new potential group for the voltage supply
over the backplane bus and in a dark version BU..B that continues the potential group. At least
one light BaseUnit BU..D must always be used in order to supply at least one potential group with
voltage. The IO modules are inserted on the BaseUnits.
96
TIA Portal Module 003
IO modules
for digital input (DI) / digital output (DQ) / analog input (AI) / analog output (AQ).
They are available in versions for 24 V DC ① and 400 V AC ②
① ②
97
TIA Portal Module 003
① ③
②
Server module
as a termination for the configuration of the ET 200SP system.
It can be used as a holder for 3 spare fuses. It serves as a terminating resistor for the backplane
bus and is thus a mandatory component.
④ ⑤ ⑥
98
TIA Portal Module 003
① ② ③ ④ ⑤ ⑥
99
TIA Portal Module 003
- SIMATIC S7-1500
- SIMATIC S7-1200
- SIMATIC S7-300
- SIMATIC S7-400
- SIMATIC WinAC
STEP 7 Professional V1X provides the following functions for plant automation:
- Configuration and parameter assignment of the hardware
- Specification of the communication
- Programming
- Testing, commissioning and servicing with operational/diagnostic functions
- Documentation
- Creation of visualizations for SIMATIC Basic Panels using the integrated WinCC Basic
software
- Visualization solutions for PCs and other panels can also be created with other WinCC
software packages
4.5.1 Project
To implement a solution for an automation and visualization task, you create a project in the TIA
Portal. A project in the TIA Portal contains the configuration data for the configuration and
internetworking of devices as well as the programs and the configuration of the visualization.
The hardware of automation systems comprises controllers (CPUs), signal modules for input and
output signals (SMs) and communication processors, and interface modules (CP, IM). Power
supply and voltage supply modules (PS, PM) are also available to supply the modules.
100
TIA Portal Module 003
The signal modules and intelligent field devices connect the input and output data of the process to
be automated and visualized to the automation system.
Visualization
Central structure
Distributed structure
Actuators/sensors
The hardware configuration enables the downloading of automation and visualization solutions to
the automation system and access to the connected signal modules by the controller.
In central structures, the input and output signals of the process are transmitted by way of
conventional wiring to the signal modules, which are connected directly to the controller.
Conventional wiring refers to the connection of sensors and actuators using 2-wire or 4-wire
cables.
The distributed structure is the predominant structure used today. Here, the sensors and actuators
are wired conventionally only as far as the signal modules of the field devices. The signal
transmission from the field devices to the controller is implemented using an industrial
communication system.
Both classic fieldbuses such as PROFIBUS, Modbus and Foundation Fieldbus as well as Ethernet-
based communication systems such as PROFINET can be used as the industrial communication
system.
In addition, intelligent field devices in which stand-alone programs run can also be connected via
the communication system. These programs can also be created with the TIA Portal.
101
TIA Portal Module 003
The functionality required and the ambient conditions are of vital importance for planning the
hardware configuration. For example, the temperature range in the application area sometimes
limits the devices available for selection. Fail-safe operation might be another requirement, for
example.
The TIA Selection Tool (Select automation technology TIA Selection Tool and follow the
instructions) provides you support. Note: TIA Selection Tool requires Java.
Note for online research: If more than one manual is available, you should look for the
description "Device Manual", "Product Manual" or simply "Manual" (as opposed to
"Function Manual", "List Manual", "System Manual", etc.) in order to find the device
specifications.
The portal view provides a task-oriented view of the tools for working on the project. Here, you can
quickly decide what you want to do and open the tool for the task at hand. If necessary, a change
to the project view takes place automatically for the selected task.
Figure 2 shows the portal view. At the bottom left, there is an option to switch between this view
and the project view.
102
TIA Portal Module 003
103
TIA Portal Module 003
The project view, as shown in Figure 3 is used for hardware configuration, programming, creation
of the visualization and many other tasks.
By default, the project view displays the menu bar with the toolbars at the top, the project tree with
all components of a project on the left and the so-called task cards with instructions and libraries,
for example, on the right.
If an element (for example, the device configuration) is selected in the project tree, it is displayed in
the center and can be worked on there.
Users can specify their own default settings for certain settings in the TIA Portal. A few
important settings are shown here.
In the project view, select the ®"Options" menu and then ® "Settings".
104
TIA Portal Module 003
One basic setting is the selection of the user interface language and the language for the
program display. In the curriculums to follow, "English" will be used for both settings.
When Safety CPUs are used (e.g. CPU 1516F-3 PN/DP) without the use of safety
engineering, it is recommended that automatic creation of the safety program be
deactivated before creating a project.
In "Settings" under the ® "STEP 7 Safety" item, deactivate ® "Generate default fail-
safe program".
105
TIA Portal Module 003
Locate the network icon in the taskbar at the bottom and click ® "Open Network
and Sharing Center".
In the open Network and Sharing Center window, click ® "Change adapter settings".
106
TIA Portal Module 003
Select the desired ® "Local Area Connection" that you want to use to connect to the
controller and click ® "Properties".
107
TIA Portal Module 003
You can use the following IP address, for example ® IP address: 192.168.0.99 ® Subnet
mask 255.255.255.0 and accept the settings (® "OK")
Select the Totally Integrated Automation Portal for this, which is opened here with a
double-click. (®® TIA Portal V1X)
108
TIA Portal Module 003
In the project tree under "Online access", select the network adapter that was set
previously. If you click "Update accessible devices" here, you will see the IP address (if
previously set) or the MAC address (if IP address not yet assigned) of the connected
SIMATIC S7-1500. Select "Online & Diagnostics" here.
109
TIA Portal Module 003
110
TIA Portal Module 003
Under "Functions", you now find the "Assign IP address" item. Enter the following
IP address here (example): ® IP address: 192.168.0.1 ® Subnet mask 255.255.255.0.
Next, click "Assign IP address" and this new address will be assigned to your
SIMATIC S7-1500.
Note: The IP address of the SIMATIC S7-1500 can also be set via the display on the
CPU, provided this is enabled in the hardware configuration.
If the IP address was not successfully assigned, you will receive a message in the
"Info" window under "General".
If the IP address could not be assigned, the program data on the CPU must be deleted.
This is accomplished in 2 steps: "Format memory card" and "Reset to factory
settings".
First, select the "Format memory card" function and press the "Format" button.
111
TIA Portal Module 003
Confirm the prompt asking if you really want to format the memory card with "Yes".
Before you can reset the CPU, you must wait until the formatting in the CPU has finished.
Then you must select "Update accessible devices" and "Online & diagnostics" of
your CPU again. To reset the controller, select the "Reset to factory settings" function
and click "Reset".
112
TIA Portal Module 003
Confirm the prompt asking if you really want to reset the module with "Yes".
Select the Totally Integrated Automation Portal for this, which is opened here with a
double-click. (®® TIA Portal V1X)
113
TIA Portal Module 003
In the project tree under "Online access", select the network adapter that was set
previously. If you click "Update accessible devices" here, you will see the IP address (if
previously set) or the MAC address (if the IP address is not yet assigned) of the
connected ET 200SP. Select "Online & Diagnostics" here.
Under "Functions", you now find the "Assign IP address" item. Enter the following
IP address here (example): ® IP address: 192.168.0.2 ® Subnet mask 255.255.255.0.
114
TIA Portal Module 003
Next, click "Assign IP address" and this new address will be assigned to your
ET 200SP.
A feedback message for the assignment of the IP address is provided in the "Info"
window under "General".
Note: If a communication connection already exists between the ET 200SP (as device)
and a higher-level controller (as controller), the IP address cannot be changed.
Before you can read the firmware version of the ET 200SP, you must select "Update
accessible devices" and "Online & diagnostics" of your ET 200SP again. You can read
the Short description, Article number, Hardware version and Firmware version in menu
item "Diagnostics" "General".
115
TIA Portal Module 003
5 Task
Create a project and configure the following modules of your hardware, which correspond to one
part of SIMATIC CPU 1516F PN/DP Safety and SIMATIC ET 200SP Digital.
116
TIA Portal Module 003
6 Planning
Because this is a new system, a new project must be created.
The hardware for this project is already specified by the existing hardware. Therefore, a selection
does not have to be made. Instead, the listed modules of the trainer packages only have to be
inserted in the project and connected. The order numbers (see Table 1 and Table 2) can be used
to check that the correct modules are inserted.
IM155-6PN HF 6ES7155-6AU00-0CN0 0
DI 8x24VDC HF 6ES7131-6BF00-0CA0 1 0
DI 8x24VDC HF 6ES7131-6BF00-0CA0 2 1
DQ 8x24VDC/0.5A HF 6ES7132-6BF00-0CA0 3 0
DQ 8x24VDC/0.5A HF 6ES7132-6BF00-0CA0 4 1
Server module 6ES7193-6PA00-0AA0 5
Table 2: Modules of the ET 200SP
The Base Units are relevant for additional handling of the ET 200SP modules. These determine
whether the potential is taken from the left terminal (dark Base Unit) or whether a new voltage
supply must be connected and thus a new potential group is created (light Base Unit). The
applicable rule here is that a new potential must always be provided on slot 1.
All Base Units included in the trainer packages are type BU15-P16+A0+2D (6ES7193-6BP00-
0DA0). As a result, the light Base Unit version is set by default.
As the final step, the hardware configuration is saved, compiled, downloaded and started.
Any errors present can be detected during compilation and incorrect modules can be detected
when the controller is started (only possible when hardware is present and structured identically).
117
TIA Portal Module 003
In the portal view under the "Start" menu, select "Create new project".
Modify Project name, Path, Author and Comment as appropriate and click "Create".
The project is created and opened and the menu "Start", "First steps" opens
automatically.
118
TIA Portal Module 003
In the "Devices & Networks" portal, the "Show all devices" menu opens
119
TIA Portal Module 003
The specified model of the CPU will now be added as a new device.
120
TIA Portal Module 003
Click "Add".
Note: The desired CPU may have multiple versions that differ in functionality (work
memory, integrated memory, technology functions, etc.). In this case, you should ensure
that the selected CPU corresponds to the existing hardware.
Note: Different firmware versions are often offered for the hardware. In this case, it is
recommended that the latest firmware (selected by default) be used and that the CPU be
upgraded, if necessary.
The TIA Portal now changes automatically to the project view and displays the selected
CPU in the device configuration in slot 1 of a rail.
121
TIA Portal Module 003
Note: You can now configure the CPU there according to your specifications. Possible
settings include the PROFINET and PROFIBUS DP interfaces, startup characteristics,
cycle, communication load and many others.
Under "Interface networked with", only the "Not networked" entry is available.
122
TIA Portal Module 003
123
TIA Portal Module 003
124
TIA Portal Module 003
7.5 Configure the access level for the CPU 1516F-3 PN/DP
Switch to the "Protection" menu and select access level "Full access incl. fail-safe
(no protection)".
Note: The "Full access incl. fail-safe (no protection)" setting is recommended because we
do not have to assign a password.
125
TIA Portal Module 003
Note: To select a component in the hardware catalog, you can simply enter the order
number in the Search field and then click the "Search down" icon . The hardware
catalog will open at the correct position.
Note: When you double-click a module in the hardware catalog, you insert it at the next
available compatible slot.
Note: If a module such as the power module is planned only for one slot, it is also not
possible to place it at another position in the device configuration.
126
TIA Portal Module 003
Find the correct IM155-6PN HF interface module in the hardware catalog and insert it by
moving it to the network view using drag-and-drop. ( Hardware Catalog
Distributed IO → ET 200SP → Interface modules → PROFINET → IM 155-6 PN HF →
6ES7 155-6AU00-0CN0 → Version: V3.1)
Assign the field device of the CPU 1516F by first clicking on the interface of the
IM155-6PN HF in the network view and then connecting it to the PROFINET interface
(X1) of the CPU 1516F.
127
TIA Portal Module 003
128
TIA Portal Module 003
Note: This name is then applied as the device name for PROFINET communication.
Under "PROFINET device name interface[X1]", the IP address can then be set or the
IO device and the "PROFINET device name" can be checked.
( PROFINET interface[X1] Ethernet addresses IP protocol → IP address:
192.168.0.2 → PROFINET → PROFINET device name → SortingStation01)
The settings for the 'IO cycle' such as 'Update time' and 'Watchdog time' can also be set
here for the device.
129
TIA Portal Module 003
130
TIA Portal Module 003
Note: You can also open the device view of the different devices in the drop-down menu
at the top left of the device view.
Find the correct digital input module with the matching order number and version in
the hardware catalog. Insert the digital input module into slot 1. (Hardware Catalog
DI DI 8x24VDC HF → 6ES7 131-6BF00-0CA0 → Version: V1.2)
Notes:
When you double-click a module in the hardware catalog, you insert it automatically at the
next available compatible slot .Insert a digital input module of the same type into
slot 2
If you do not use a slot, you must close the gap before you compile. Otherwise, an error
message occurs.
131
TIA Portal Module 003
132
TIA Portal Module 003
Note: If the new component is not displayed for selection, it is not compatible with the
previous component. In this case, the old component must be deleted and the new
component must then be inserted from the hardware catalog.
133
TIA Portal Module 003
Note: If you forget the server module, it is automatically created when the device
configuration is compiled.
134
TIA Portal Module 003
Note: To show and hide the Device overview, you must click the small arrow next to
"Device data" on the right side of the hardware configuration.
135
TIA Portal Module 003
136
TIA Portal Module 003
Repeat these steps for slots 3 to 4 and compare the device configuration with the
following figure.
137
TIA Portal Module 003
®® button. To compile your CPU with the device configuration, first select
the "CPU_1516F [CPU1516F-3 PN/DP]" folder and click the "Compile" icon .
Note: "Save project" should be used repeatedly when working on a project since this
does not happen automatically. A prompt to save the project only occurs when the
TIA Portal is closed.
If the project was compiled without errors, you see the following screen.
Note: A warning appears here because no protection level has been configured. This
warning can be ignored.
138
TIA Portal Module 003
In order for the controller, CPU1516F-3 PN/DP in this case, to find the assigned
PROFINET devices in the network, the device name must be assigned to them. This is
done by selecting the network connecting the devices in the "Network view" and clicking
Note: The IP addresses set in the project are assigned by the controller to the devices
later when the communication connection is established.
139
TIA Portal Module 003
Online access must be correctly set in the dialog for assignment of the PROFINET device
names. Any device can then be selected individually and filtered by devices of the same
type. If a new device is being connected for the first time, the list has to be updated again.
( PROFINET device name: sortingstation01 Type of PG/PC interface: PN/IE
PG/PC interface: here: Intel(R) Ethernet Connection I217-LM Only show devices of
The correct device must be always be clearly determined by the MAC address printed on
the device before the name is assigned. To check this, you can also have the LEDs on
the device flash.
(
140
TIA Portal Module 003
141
TIA Portal Module 003
Successful assignment of the PROFINET device name should be checked before closing
the dialog. ( )
142
TIA Portal Module 003
The manager for configuring the connection properties (extended download) opens.
143
TIA Portal Module 003
First, the interface must be correctly selected. This happens in three steps.
144
TIA Portal Module 003
The "Show all compatible devices" check box must then be selected. The search for
devices in the network is started by clicking the button.
If your CPU is shown in the "Compatible devices in target subnet" list, it must be selected
and the download started.
( CPU 1516F-3 PN/DP )
145
TIA Portal Module 003
You first obtain a preview. Confirm the prompt "Overwrite all" and continue
with .
Note: The symbol should be visible in every line of the "Load preview". You can find
additional information in the "Message" column.
The "Start all" option will be selected next before the download operation can be
completed with .
146
TIA Portal Module 003
After a successful download, the project view will open again automatically. A download
report appears in the information field under "General". This can be helpful when
troubleshooting an unsuccessful download.
147
TIA Portal Module 003
7.18 Checklist
No Description Completed
1. Project was created
2 Slot 0: Power module with correct order number
3 Slot 1: CPU with correct order number
4 Slot 1: CPU with correct firmware version
5 IM of the ET 200SP created as distributed IO
6 CPU and IM connected to the same subnet
7 IM is assigned to the CPU
8 ET 200SP slot 1…2: Digital input module with correct order number
9 ET 200SP slot 1…2: Digital input module with correct firmware version
10 ET 200SP slot 1…2: Address area of the digital input module is correct
11 ET 200SP slot 3…4: Digital output module with correct order number
12 ET 200SP slot 3…4: Digital output module with correct firmware version
13 ET 200SP slot 3…4: Address area of the digital output module is correct
14 ET 200SP slot 5: Server module with correct order number
15 ET 200SP slot 5: Server module with correct firmware version
16 ET 200SP modules have all the correct potential groups set for the
Base Units
148