Professional Documents
Culture Documents
tiaSYSUP1500 - 05 - Devices&Networks - en - 28 31 01 2020
tiaSYSUP1500 - 05 - Devices&Networks - en - 28 31 01 2020
20
01
5
31
Contents
28
00
15
7-
,S
5. Devices & Networks: Online Functions and Hardware Configuration .............. 5-3
ng
5.1. Online Tools, Configuring and Parameterizing the Hardware .............................................. 5-4
ni
5.2. Online Connection via Industrial Ethernet: IP Address and Subnet Mask ........................... 5-5
i
ra
5.3. Default for Online Access and Visible Interfaces .................................................................. 5-6
5.3.1. Online Access: Accessible Devices ...................................................................................... 5-7
et
5.3.1.1. Accessible Devices: Online & Diagnostics, Task Card: Online Tools ................................. 5-8
20
R
5.3.1.2. Accessible Devices: Online & Diagnostics: Diagnostics Buffer ............................................ 5-9
5.3.1.3. Accessible Devices: Online & Diagnostics: IP Address, Name, Time, FW Update,
m
20
Memory Card ...................................................................................................................... 5-10
te
01
5.4. CPU Memory Reset (MRES) using the Mode Selector Switch .......................................... 5-11
ys
5.4.1. SIMATIC S7-1200/1500: Memory Concept for CPU Memory Reset .................................. 5-12
lS
31
5.4.2. SIMATIC S7-1200/1500: Memory Concept for CPU Reset to Factory Settings ................. 5-13
rta
28
5.6. Working Areas of the Hardware and Network Editor .......................................................... 5-15
Po
-1
5.9. Compiling the Hardware / Software and Downloading it into the CPU ............................... 5-27
ra
et
5.10. Uploading a Device as a New Station into the Project (1) (Hardware with
Parameterization and Software) ......................................................................................... 5-28
R
5.10.1. Uploading a Device as a New Station into the Project (2) (Hardware with
m
5.11.1. Exercise 1: Connecting the PG to the Training Case and Setting the IP Address
of the PG ............................................................................................................................. 5-31
lS
5.11.2. Exercise 2: Erasing the SIMATIC Memory Card of the CPU.............................................. 5-32
5.11.3. Exercise 3: Resetting the CPU to Factory Settings using the Mode Selector Switch ........ 5-33
rta
5.11.4. Exercise 4: Assigning the IP Address (Node Initialization) and Determining the CPU
Po
5.11.7. Exercise 7: CPU Properties: Parameterizing the Clock Memory Byte ............................... 5-37
TI
5.11.8. Exercise 8: CPU Properties: Parameterizing the Display Language and the Display
Protection ............................................................................................................................ 5-38
IC
20
01
5.11.11. Exercise 11: Addresses of the AI Module ........................................................................... 5-41
5.11.12. Exercise 12: Setting the Channel Parameters of the Analog Input Module ....................... 5-42
31
5.11.13. Exercise 13: Compiling the Device Configuration and Downloading it into the CPU ......... 5-43
5.11.14. Exercise 14: Compiling, Downloading and Testing the Migrated Program ........................ 5-45
28
5.12. Additional Information ......................................................................................................... 5-47
5.12.1. Web Server ......................................................................................................................... 5-48
5.12.2. Area for Modules Not Plugged In ........................................................................................ 5-49
00
5.12.3. Swapping a Slot / Inserting a Module between Two Modules ............................................ 5-50
5.12.4. ‘View’ Settings of the Task Cards ....................................................................................... 5-51
15
5.13. Status LEDs ........................................................................................................................ 5-52
7-
5.13.1.1. Status LEDs of the S7-1500-CPU ...................................................................................... 5-52
5.13.2. Status LEDs of the Central DI/DO Modules of the S7-1500 CPU ...................................... 5-53
,S
5.13.3. Firmware Update ................................................................................................................ 5-54
5.13.3.1. Firmware Update → Offline, using SMC with the Windows Explorer ................................. 5-55
ng
5.13.3.2. Firmware Update → Offline, using SMC by means of Card Creation in TIA Portal ........... 5-56
ni
5.13.3.4. Firmware Update → Online, Independent of the Project in TIA Portal via Accessible
i
devices ................................................................................................................................ 5-57
ra
5.13.3.5. Firmware Update → Online, Project-dependent in TIA Portal via "Online & diagnostics"
et
of the module ...................................................................................................................... 5-58
20
R
m
20
te
01
ys
lS
31
rta
28
Po
A
0
TI
50
IC
-1
S7
AT
M
,
ng
SI
i
in
ra
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M
20
01
5. Devices & Networks:
31
Online Functions and Hardware Configuration
28
At the end of the chapter the participant will ...
00
15
... be able to establish an online connection between PG and a
CPU via Industrial Ethernet
7-
… be able to use online functions to start and stop the CPU and
,S
to reset it to factory settings
ng
... be able to create a new station and assign parameters to it
ni
… be able to copy hardware components from a reference
i
project
ra
...
et
be familiar with addressing the input and output modules of
20
an S7-1500 and be able to do it
R
m
20
… be able to load the hardware and program
te
01
ys
lS
31
rta
28
Po
A
0
TI
50
IC
-1
S7
AT
M
,
ng
SI
i
in
ra
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M
20
01
5.1. Online Tools, Configuring and Parameterizing the Hardware
31
with CPU Task Card
28
00
15
7-
,S
ng
online → Status,
ni
Diagnostics
i
offline → Configuration,
ra
Parameterization et
20
R
m
20
te
01
ys
lS
31
Online Tools
rta
If it is possible to establish an online connection to the CPU, diagnostics and status information of
28
Po
0
task card and further status information (cycle time statistics and memory load) can be called.
TI
50
-1
Almost all devices or components of an automation solution such as PLCs or touchpanels can be
S7
AT
assigned parameters. The parameter assignment of the devices and network settings required for
commissioning is handled using the Hardware and Network Editor.
M
,
ng
With this, for example, all components of an Ethernet network are assigned IP addresses via
SI
But even inside the automation device, address areas of the I/O modules must be specified and
ra
the cycle monitoring time of the CPU must be set, for example.
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M
20
01
5.2. Online Connection via Industrial Ethernet:
IP Address and Subnet Mask
31
28
00
15
7-
,S
ng
ni
i
MAC Address: 08-00-06-01-74-10 MAC Address: 08-00-06-01-74-20
Subnet Mask: 255.255.255.0
ra Subnet Mask: 255.255.255.0
et
20
R
IP Address: 192.168.111.10 IP Address: 192.168.111.12
m
20
te
01
ys
lS
31
rta
Internet Protocol
28
Po
The Internet Protocol (IP) is the basis for all TCP/IP networks. It creates the so-called datagrams
(data packets specially tailored to the Internet protocol) and handles their transport within the
A
50
IP Addresses
IC
-1
IP addresses are not assigned to a specific computer, but rather to the network interfaces of the
S7
AT
computer. A computer with several network connections (for example routers) must therefore be
assigned an IP address for each connection.
M
,
ng
IP addresses consist of 4 bytes. With the dot notation, each byte of the IP address is expressed
SI
by a decimal number between 0 and 255. The four decimal numbers are separated by dots
i
in
(see picture).
ra
MAC Address
et
Every Ethernet interface is assigned a fixed address by the manufacturer that is unique
R
worldwide. This address is referred to as the hardware or MAC address (Media Access Control).
m
It is stored on the network card and uniquely identifies the Ethernet interface in a local network.
te
Cooperation among the manufacturers ensures that the address is unique worldwide.
ys
Subnet Mask
lS
The subnet mask specifies which IP addresses in the local network can be accessed. It separates
rta
20
01
5.3. Default for Online Access and Visible Interfaces
31
28
00
15
7-
,S
ng
i ni
ra
et
20
R
m
20
te
01
ys
lS
31
In the Settings, you can have a default setting for the connection path for online access(es).
rta
28
In the Online access folder, all possible interfaces of the PG/PC are displayed. Since not all of
Po
these are required or can be used, interfaces can be hidden for better clarity.
A
0
TI
50
IC
-1
S7
AT
M
,
ng
SI
i
in
ra
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M
20
01
5.3.1. Online Access: Accessible Devices
31
28
1
00
15
7-
1
,S
3
ng
2
3
i ni
ra
1. Online access or 1
Accessible devices
et
(Project or Portal view)
20
R
2. Select interface for the
m
search
20
te
01
or Start search
ys
lS
31
Accessible Devices in the Portal View
rta
This function provides the option of fast access (for example for service purposes) even when
28
there is no offline project data for the target systems on the PG.
Po
All accessible, programmable modules (CPUs, FMs CPs, HMI devices) are listed in the Portal
A
50
-1
Whenever there is an attempt to access a module online with the "Show" button and this is
S7
AT
located in a different subnet from the PG, a dialog opens asking whether an additional IP address
should be assigned to the PG.
M
,
ng
SI
Following confirmation, an additional IP address is assigned to the PG that is located in the same
i
subnet as the address of the CPU. After that, all online functions can be used.
in
ra
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M
20
01
5.3.1.1. Accessible Devices: Online & Diagnostics,
Task Card: Online Tools
31
28
00
15
7-
,S
ng
ini
ra
et
20
R
m
20
te
01
ys
lS
31
CPU Operator Panel: Mode Selector Switch
rta
28
The operating mode of the CPU can be changed.
Po
• RUN → STOP:
If there is a change from RUN to STOP, the CPU terminates the running user program.
A
0
TI
50
• STOP → RUN:
If there is a change from STOP to RUN, the CPU performs a restart.
IC
-1
S7
AT
Cycle Time:
"Shortest", "Current" and "Longest" are the cycle times since the last CPU restart
M
,
ng
SI
− All user data (even the retentive) is deleted (delete work memory)
ra
counter, time-of-day
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M
20
01
5.3.1.2. Accessible Devices:
Online & Diagnostics: Diagnostics Buffer
31
28
00
15
7-
,S
ng
ni
Details for the entry line
i
ra
selected above
et
20
R
m
20
te
01
ys
lS
31
Online Access to the CPU
rta
28
If the PG and the target system (for example CPU) are located in the same subnet, various
Po
Online & diagnostics functions are available in the "Accessible devices" function.
• in the working area of the TIA Portal
A
0
TI
50
-1
Diagnostics Buffer
S7
AT
The diagnostics buffer is a buffered memory area on the CPU organized as a circular buffer.
It contains all diagnostics events (error alarms, diagnostics interrupts, start-up information etc.)
M
,
ng
of the CPU in the order in which they occurred. The highest entry is the last event to occur.
SI
All events can be displayed on the programming device in plain language and in the order in
i
in
All events can be displayed on the programming device in plain language and in the
et
order in which they occurred. In addition, not all of the diagnostics buffer is buffered with
R
Details on Event
lS
Some additional information is also provided for the selected event in the "Details on event" box:
rta
• Additional information depending on the event, such as, the address of the instruction that
caused the event etc.
A
TI
IC
AT
M
20
01
5.3.1.3. Accessible Devices: Online & Diagnostics:
IP Address, Name, Time, FW Update, Memory Card
31
28
00
15
7-
,S
ng
ini
ra
et
20
R
m
20
te
01
ys
lS
31
rta
28
Each S7 CPU has a real-time clock that can be set here.
Po
• Assign IP Address
As long as no IP address has been specified already by a hardware configuration that was
A
0
downloaded earlier, this can be assigned or modified here (this function is also available
TI
50
when the PG/PC and the CPU are not assigned to the same subnet).
IC
-1
Unlike the "memory reset", all the memory areas of the CPU (work, load and retentive
memory, diagnostics buffer and time) are deleted. Optionally (see dialog in the picture), the
M
IP address can also be deleted so that the CPU then only has a MAC address (Media Access
ng
Control).
SI
•
in
CPU only has its IP address. All other data (including the device configuration) is deleted.
et
The card cannot be deleted in the card reader via the Project tree. Device configuration and
R
blocks have a gray background, that is, are write-protected (only status information or open
with a double-click).
m
•
te
Assign Name
In PROFINET, each device must be assigned a unique device name that is stored retentively
ys
on the device. The device name identifies a distributed I/O module (PROFINET IO) and
lS
Firmware Update
Here, the firmware version of the device and the modules can be updated. Under
Po
CPU.
TI
IC
AT
M
20
01
5.4. CPU Memory Reset (MRES) using the Mode Selector Switch
31
RUN
28
STOP 1. Set the mode selector switch to STOP
MRES
RUN
00
2. Press and hold the mode selector switch in the MRES RUN/STOP LED
STOP of the S7-1500
MRES position until the RUN/STOP LED has flashed 2x slowly
15
RUN
7-
STOP then let go again
,S
MRES
within 3 sec !!!
RUN STOP
ng
STOP 3. Press and hold the mode selector switch in the MRES
position until the RUN/STOP LED begins to flash quickly
ni
MRES
i
ra
RUN
STOP then let go again et Result:
MRES
20
R
With inserted PROGRAM card
RUN → Memory reset
m
20
4. Set the mode selector switch to RUN
STOP A CPU restart is carried out Without inserted card
te
01
ys
lS
31
Particular Feature for CPU Memory Reset (MRES) using the Mode Selector Switch:
rta
28
Po
− Retained are: parameter assignment of the X1 (Ethernet) interface, the retentive part of the
0
TI
50
-1
internal RAM work memory. (Data relevant for execution: device configuration, program
S7
AT
when no SIMATIC Memory Card (SMC) is inserted => Reset to factory settings
,
ng
− All memory areas of the CPU (work memory, retentive memory, diagnostics buffer, time-of-
SI
After the SMC is inserted, the load memory data relevant for execution is reloaded into the
ra
20
01
5.4.1. SIMATIC S7-1200/1500: Memory Concept for CPU Memory Reset
31
With Memory Reset...
Time-of-day Operating IP addresses
28
1 internal memory areas
(system memory, entire data hours counter
and code working memory)
are deleted
00
internal Flash Diagnostics
buffer
15
2 the user program and the
hardware configuration as well Load memory
7-
as active Force jobs are
copied from the load memory Force jobs
,S
RAM
2
ng
ni
System memory
i
1
ra
Force et
jobs 2 Code working memory
internal Flash
20
R
Data working memory
m
20
inserted Flash Card
Retentive memory
te
Load memory
01
ys
lS
31
CPU Memory Reset
rta
• What to do:
28
Po
− STEP 7 online function → MRES in "CPU operator panel" of "Test" and "Online tools" Task
Cards
A
50
-1
• Impact
S7
− The entire RAM work memory is deleted, that is, all user data (process images, bit
M
memories, counters, timers, all program/data blocks, even the retentive ones)
ng
SI
− Retained are: IP addresses, retentive part of diagnostic buffer (depends on the CPU),
i
in
− After that, the CPU copies all data relevant for execution into the RAM work memory from
the memory card. (Data relevant for execution: device configuration, program blocks, data
et
20
01
5.4.2. SIMATIC S7-1200/1500: Memory Concept for CPU Reset to Factory Settings
31
With Reset to factory ?
Time-of-day Operating IP addresses
28
settings...
01.01.2012 hours counter
1 internal memory areas (incl.
time-of-day, diagnostics buffer,
00
operating hours counter) and internal Flash Diagnostic
module parameters are deleted buffer
15
IP addresses query in STEP 7 Load memory
7-
Force jobs
,S
2 the user program, the RAM
hardware configuration and
active Force jobs are copied
ng
from the external load memory
(SMC)
ni
System memory
i
ra
Force 1
jobs 2
et internal Flash
Code working memory
20
R
Data working memory
m
20
inserted Flash Card Retentive memory
te
Load memory
01
ys
lS
31
CPU Reset to Factory Settings
rta
• What to do:
28
Po
− STEP 7 online function → MRES in "CPU operator panel" of "Test" and "Online tools" Task
Cards
A
− Display (only S7-1500) → Main menu "Settings", submenu "Memory reset"→ Factory
0
TI
50
Defaults
− Mode selector switch (only without memory card)
IC
-1
• Impact
S7
AT
− The entire RAM work memory is deleted, that is, all user data (process images, bit
ng
SI
memories, counters, timers, all program/data blocks, even the retentive ones, diagnostic
i
If a memory card is inserted (or is already inserted), the CPU copies all data relevant for
execution into the internal RAM work memory from the memory card. (Data relevant for
R
execution: device configuration incl. IP address, program blocks, data blocks, current Force jobs).
m
te
ys
lS
rta
Po
A
TI
IC
AT
M
20
01
5.5. Card Reader / USB Memory Device
31
S7-1200/1500
28
S7-300/400
00
15
7-
,S
ng
i ni
ra
et • Removable media:
SMC
20
R
external hard drive
USB memory device
• Internal/external prommer:
m
20
Memory Card • Reader_X (user-defined memory):
te
01
ys
lS
31
Card Reader / USB Memory
rta
In the Card Reader/USB memory folder, you can access an SMC inserted in the SD Reader, the
28
Po
0
TI
50
The SIMATIC Memory Card is used as a Program card or a Transfer card or for Firmware
Updates. Before the relevant data is stored on the SMC, the card type must be selected as
IC
-1
entire user program with documentation. During operation, the card must remain inserted in
ng
SI
the CPU because it is used as a replacement for the internal CPU load memory which
i
remains unused.
in
ra
during operation. After inserting the card and subsequent Power ON, all data is copied into
R
the internal load memory of the CPU. Then the card has to be removed and a restart has to
m
take place.
te
The SIMATIC Memory Card contains the files required for a firmware update. After execution,
the SIMATIC Memory Card must be removed.
lS
rta
Po
A
TI
IC
AT
M
20
01
5.6. Working Areas of the Hardware and Network Editor
31
28
00
15
7-
Connection configuration
,S
ng
ni
i
ra
et
20
R
Device configuration
and
m
20
module parameter
assignment
te
Topology configuration
01
ys
lS
31
Components of the Hardware and Network Editor
rta
The Hardware and Network editor consists of a Device, Network and Topology view.
28
Po
Device View
A
0
The Device view is used for configuring and parameterizing devices and modules.
TI
50
• Hardware configuration
IC
-1
Network View
M
,
ng
The Network view is used for configuring, parameterizing and networking devices.
SI
•
ra
Connection configuration
et
Topology View
R
The Topology view is used for displaying, configuring and determining the physical structure of
m
networks.
te
20
01
5.6.1. Hardware and Network Editor: Device View
31
28
Device selection horizontal and vertical split
00
15
Graphic area
7-
,S
Tabular area
ng
i ni
ra
et
20
Module parameter assignment
R
→ Properties in the Inspector window
m
20
te
01
ys
lS
31
Components of the "Hardware and Network Editor"
rta
28
This editor consists of 2 areas, a tabular (left/top) and a graphic (right/bottom). The splitting left-
Po
0
− Tabular area = Address parameterization of configured modules
TI
50
-1
This tab is used to assign parameters to the module selected in the working area. Here, all
S7
AT
the properties or parameters of the selected module are displayed and can also be modified.
In the left-hand part of the Properties tab there is a navigation section in which the parameters
M
Module catalog for the configuration (module grouping) in the working area
ra
In the Project tree, the modules along with their parameter assignments (for example, addresses)
are stored under the relevant device in the "Local modules" folder.
m
te
ys
lS
rta
Po
A
TI
IC
AT
M
20
01
5.7. Adding a New Device (Controller)
31
28
Project view
00
15
7-
,S
ng
ni
Portal view
i
ra
et
20
R
m
20
te
01
ys
lS
31
Add New Device
rta
It is possible to create a new device in the project using the Hardware and Network editor with the
28
Po
help of the "Hardware catalog" task card or through the Project tree "Add new device".
When a new device is created, a suitable rack is also created automatically. The selected device
A
0
is inserted into the first permitted slot in the rack.
TI
50
Regardless of the method selected, the added device is visible in the Device view and the
IC
Unspecified CPU
M
For the selection of the controller, you can also choose an "Unspecified CPU". This is necessary
,
ng
when the real CPU is not yet known but you would already like to start programming. Here, you
SI
only need to specify the firmware of the CPU which is to be used later on. The actual hardware
i
in
20
01
5.7.1.1. Selecting the Controller and the Modules
31
Manual: “SIMATIC S7-1500 / ET 200MP Software: “TIA Selection Tool” (online or offline )
Automation system In a nutshell”
28
00
15
7-
,S
ng
ini
ra
et
20
R
m
20
te
01
Configurators
ys
lS
31
SIMATICS7-1500 provides you with a wide range of CPUs that can be integrated. You can
rta
expand each CPU with I/O modules, communication modules and technology modules. If, for
28
example, the memory and performance of a CPU 1511-1 PN are sufficient for you, then you
Po
expand it with communication modules for PROFINET and PROFIBUS. For technology functions,
technology CPUs and technology modules are available in addition to the Compact CPUs.
A
0
To select the correct controller there is the manual "SIMATIC S7-1500 / ET 200MP Automation
TI
50
system In a nutshell" which contains further useful guidelines. It can be found under the Entry
IC
ID: 109481357.
-1
S7
AT
There is also the software TIA Selection Tool which provides an opportunity for selecting,
configuring and ordering the devices for Totally Integrated Automation. After configuring the
M
hardware in the TIA Selection Tool, you are given a list with all hardware components which are
,
ng
In addition, the order via the Industry Mall can be started directly from the TIA Selection Tool.
i
in
ra
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M
20
01
5.7.2. CPU Properties: Ethernet Address
31
28
Select CPU
00
15
7-
,S
ng
i ni
ra
et
20
R
m
20
te
01
ys
lS
31
PROFINET Interface
rta
Regardless of whether the editor is in the Device view or Network view, if the CPU is selected,
28
the settings of the CPU PROFINET interface can be made in the Inspector window in the
Po
"Properties" tab.
A
0
If an online connection needs to be established between the programming device and
TI
50
CPU, both devices must be assigned the same subnet mask and the IP addresses must
IC
,
ng
SI
i
in
ra
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M
20
01
5.7.3. CPU Properties: Maximum Cycle Time
31
28
00
15
7-
,S
ng
i ni
ra
et
20
R
m
20
te
01
ys
lS
31
Cycle Time
rta
This is the time that the CPU requires for one complete program execution, that is, one cycle.
28
Since parts of the user program can also be processed conditionally and the program execution
Po
can also be interrupted (for example, by diagnostics interrupts, time interrupts, hardware
interrupts etc.), the length of the cycle time is not the same in every cycle.
A
0
TI
50
-1
The operating system monitors the runtime of the program for the configured upper limit.
If the runtime of the program is longer than the "Maximum cycle time" set here
S7
AT
• … the operating system calls the associated time error interrupt OB.
M
,
ng
•
i
… the operating system indicates the error on the error LED of the CPU.
in
ra
• S7-1200:
R
The CPU remains in RUN mode even if no time error interrupt OB is programmed.
•
m
S7-1500:
If no time error interrupt OB is programmed, the CPU changes to STOP mode.
te
ys
If the runtime of the S7-1200/1500 program is more than twice as long as the set maximum cycle
time (2xMaxCycleTime error), the CPU changes to STOP mode without attempting to call the
lS
cyclic user program and the updating of the associated I/O. The start of the next CPU cycle is
TI
20
01
5.7.4. CPU Properties: System and Clock Memory
31
28
00
15
7-
,S
ng
i ni
ra
PLC tags
et
20
R
m
20
te
01
ys
lS
31
A PLC tag is automatically created for each available system or clock memory bit.
rta
28
System Memory (4 bits)
Po
0
• "FirstScan" =1 in the first CPU cycle; otherwise =0,
TI
50
-1
• One static 1-memory bit and 0-memory bit each ("AlwaysTRUE", "AlwaysFALSE"),
S7
AT
,
ng
These are memory bits whose binary state is changed periodically by the operating system of
SI
the CPU with a pulse-pause ratio of 1:1. Clock memory (bits) is used to trigger actions
i
in
periodically.
ra
Attention!
R
Clock memory (bits) are not synchronized with the CPU cycle; in other words, with long
m
cycle times, the state of the clock memory (bits) can change more than once within one
cycle.
te
ys
lS
rta
Po
A
TI
IC
AT
M
20
01
5.7.5. CPU Properties: Protection
31
Write protection for fail-safe functions
28
Write protection for fail-safe and standard S7 functions
00
15
Full protection for fail-safe, standard S7 functions
and HMI access
7-
,S
ng
HMI Standard Standard Fail-Safe
ni
read /Fail-Safe write functions
i
write read write
ra
et
20
R
1
2
m
20
3
4
te
01
ys
lS
31
Protection Levels
rta
With the following protection levels, the access rights (read / write) of the programming device to
28
the CPU are specified:
Po
• Full access incl. fail-safe (no protection): → Default setting for F-CPU
A
50
-1
Read-only access possible. No data can be changed in the CPU and no blocks or modified
M
specifying a password.
SI
No write or read access is possible from the engineering. Only the CPU type and identification
ra
data can be displayed in the Project tree under "Accessible devices". It is not possible to
et
display online information or blocks under "Accessible devices" without entering a password.
R
• No access (complete protection): → General write and read protection for STEP 7 and HMI.
m
Now, access for HMI devices without a configured password in the connection is also not
possible.
te
ys
In the example shown, "No access (complete protection)" is selected. This means that without a
password, STEP 7 and HMI devices can neither read-access nor write-access the CPU.
rta
The above explained protection levels can, however, be lifted again with passwords:
Po
• By specifying a password 4 an HMI device can once again read-access and write-access
the CPU. For STEP 7, however, neither read-accesses nor write-accesses are possible.
A
TI
• By specifying a password 3 an HMI device can once again read-access and write-access
the CPU and for STEP 7, only read-accesses are permitted, not write-accesses.
IC
the CPU are possible for both an HMI device as well as for STEP 7.
M
20
01
• By specifying a password 1 read-accesses and write-accesses of the CPU are possible for
both an HMI device as well as for STEP 7.
31
28
Permitting Access by Means of PUT/GET Communication:
• So that other controllers can access the CPU by means of PUT and GET functions, this must
be permitted in the Settings of the CPU under Protection & Security > Connection
00
mechanisms.
15
7-
,S
ng
ini
ra
et
20
R
m
20
te
01
ys
lS
31
rta
28
Po
A
0
TI
50
IC
-1
S7
AT
M
,
ng
SI
i
in
ra
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M
20
01
5.8. Hardware Catalog
31
28
If several versions of modules
Search function Create / exist, the version currently being
Select used must be selected before
HW Profile
00
inserting.
Filter function
15
7-
,S
ng
ini
ra
et
20
R
m
20
Information
te
(selected
01
module)
ys
lS
31
The Hardware catalog contains all devices and hardware components in a tree structure.
rta
From the catalog, selected devices or modules can be dragged to the graphic working area of the
28
Po
Search Function
A
0
TI
50
This allows a convenient search for specific hardware components. The search also includes the
module description texts.
IC
-1
S7
AT
Filter Function
enabled: Only modules that match the current context are displayed.
M
,
ng
SI
• Device view → all modules or, for enabled filter, only the modules that belong to the current
device in the working area
m
te
Profile
ys
It is possible to create and to use your own profiles. This expands the filter possibilities.
lS
Information
rta
The "Information" pane shows detailed information about the object selected in the catalog.
Po
• Name
•
A
• Version number
IC
AT
M
20
01
5.8.1. Inserting / Deleting a Module
31
Inserting from the
28
Hardware catalog
Possible
slots
00
15
7-
Deleting in the Device view
,S
deletes individual modules
ng
1xR
ini
Deleting in the Network
ra
et
view deletes entire station
20
R
m
20
te
01
ys
lS
31
Inserting a Module
rta
28
Po
Selecting a Version
A
When selecting a module, you must pay attention to the correct version. If the module is selected
0
TI
(highlighted) in the task card "Hardware catalog > Catalog", the version can be selected in the
50
-1
Deleting a Module
S7
AT
Deleted hardware components are removed from the system and assigned addresses are made
M
available again.
ng
SI
i
in
ra
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M
20
01
5.8.2. Changing a Device / Module
31
28
00
15
7-
,S
ng
ni
1xR
i
ra
et
20
R
m
20
te
01
ys
lS
31
Changing a Module
rta
Compared to deleting and then inserting a new module, the advantage of changing is that when a
28
module is changed (replaced), all the parameters of the old module are adopted on the new
Po
module. A module exchange can, for example, then be necessary when the CPU version in the
offline project is to be adapted to the CPU version (online) following a firmware update.
A
0
Hardware components can only be exchanged if the components are compatible.
TI
50
It is also possible to change a device by dragging the new module from the Hardware catalog
IC
-1
,
ng
SI
i
in
ra
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M
20
01
5.9. Compiling the Hardware / Software and Downloading it into the
CPU
31
28
00
15
7-
,S
1xR 1xR
ng
ni
Status / Error
information
i
ra
et
20
R
m
20
te
01
ys
lS
31
rta
28
Po
0
All changes to the hardware configuration and hardware parameter assignment as well as all
TI
50
-1
compiled/downloaded.
i
in
All changed blocks of the user program are compiled and the data blocks which use memory
lS
reserves (through newly inserted tags) are re-initialized. The current data of the changed data
blocks in the CPU is overwritten with the start values the next time there is a download and
rta
the memory reserves are made available, even if a memory reserve (for loading a DB
structure change with value retention) is activated in the Properties of the data block.
Po
A
TI
IC
AT
M
20
01
5.10. Uploading a Device as a New Station into the Project (1)
(Hardware with Parameterization and Software)
31
28
00
15
7-
,S
ng
i ni
ra
et
20
R
m
20
te
01
ys
Select device
lS
31
rta
28
An already existing configuration of an S7 station can be read-out by means of the function
Po
0
out the S7 station, the hardware as well as the program can be adjusted or modified, saved and
TI
50
-1
Requirement:
S7
AT
An IP address has been assigned to an interface of the station or the station has already been
configured.
M
,
ng
SI
i
in
ra
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M
20
01
5.10.1. Uploading a Device as a New Station into the Project (2)
(Hardware with Parameterization and Software)
31
28
00
15
7-
,S
ng
ini
ra
et
20
R
m
20
te
01
ys
lS
31
rta
28
Po
If the station is already configured, then the entire station (central and distributed hardware with
parameter assignments, the entire program with comments and symbols) is available to the user
offline for further processing after the device is uploaded.
A
0
TI
50
-1
If the CPU was only assigned an IP address without further configuration, only the actual
S7
AT
configuration of the central hardware is available to the user after the upload.
M
,
ng
SI
i
in
ra
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M
20
01
5.11. Task Description: Hardware and Software Commissioning
31
DI DO
Operation OFF
I 0.0
"S_OperationOFF" (NC)
28
I 0.1 Operation ON Operation
Q0.1
"S_OperationON" "P_Operation"
I 0.2 Jog right
"S_Right"
00
I 0.3 Jog left
"S_Left"
15
DI DO AI
7-
,S
Acknowledge fault Fault
I 0.7 Q0.7
ng
"S_Acknowledge" "P_Fault"
ni
Intel(R) Intel(R)
i
82574L 82574LM
ra
et
20
R
m
20
P2 P1
te
Subnet
01
PROFINET 192.168.111.xxx
ys
lS
31
Task Description:
rta
In the migration of the given STEP 7 V5.x project with S7-300, a TIA Portal V15 project has
28
Po
resulted, in which you - by means of CPU migration - have replaced the S7-300 with an S7-1500.
In the process, the S7-300 program was automatically adopted in the S7-1500.
A
0
The migrated S7 program - together with the S7-1500 and the relevant I/O modules - is to be
TI
50
The S7 program can be executed without changes on the S7-1500 and fulfills the following
-1
functions:
S7
AT
Now, the conveyor motor can be jogged to the right and to the left via the simulator switch
in
Now, parts are transported on the conveyor model from Bay 1 or 2 to the right into the light
R
barrier.
→ place a part at "B_Bay1" or "B_Bay2"
m
Transport monitoring:
lS
− If a transport sequence takes longer than 6 seconds, the conveyor motor is automatically
switched off and the fault is indicated on the simulator at "P_Fault". Only after
rta
acknowledging the fault at the simulator switch "S_Acknowledge" can a new transport
sequence be started.
Po
A
TI
IC
AT
M
20
01
5.11.1. Exercise 1: Connecting the PG to the Training Case and Setting the IP
Address of the PG
31
28
00
15
7-
,S
ng
ini
ra
et
20
R
m
20
te
01
ys
lS
31
rta
28
Po
1. Connect the Ethernet interface of the PG to the "P2" connection on the training device using
an Ethernet cable.
A
0
2. Assign the IP address 192.168.111.90 and the subnet mask 255.255.255.0 to this PG
TI
50
-1
S7
AT
M
,
ng
SI
i
in
ra
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M
20
01
5.11.2. Exercise 2: Erasing the SIMATIC Memory Card of the CPU
31
28
00
15
7-
,S
ng
i ni
ra
et
20
R
m
20
te
01
ys
lS
31
Task
rta
In order to completely erase the CPU, the SIMATIC Memory Card of the CPU must also be
28
erased. This can be carried out as follows:
Po
• with the Windows Explorer (SMC is inserted in the PG’s Card Reader)
A
0
• with the TIA Portal (SMC is inserted in the PG’s Card Reader)
TI
50
-1
S7
AT
What to Do:
1. Check whether the SMC is inserted in the CPU.
M
,
ng
2. In the Project view, under the interface through which there is a connection to the controller,
SI
3. Under the S7-1500 station, select "Online & diagnostics" (see picture)
ra
Note
m
If a password is stored on the CPU that is unknown to you, it is only possible to erase the SMC if
te
20
01
5.11.3. Exercise 3: Resetting the CPU to Factory Settings using the Mode Selector
Switch
31
28
RUN
STOP 1. Set the mode selector switch to STOP and remove the SMC
MRES
00
RUN
2. Press and hold the mode selector switch in the MRES RUN/STOP LED
STOP
15
position until the RUN/STOP LED has flashed 2x slowly of the S7-1500
MRES
7-
RUN
,S
STOP then let go again
MRES
within 3 sec !!!
ng
RUN STOP
3. Press and hold the mode selector switch in the MRES
ni
STOP
position until the RUN/STOP LED begins to flash quickly
MRES
i
RUN
ra
et
STOP then let go again
20
R
MRES
m
20
RUN
te
4. Insert the SMC and set the mode selector switch to RUN
STOP A CPU restart is carried out
01
ys
MRES
lS
31
rta
Task
28
Po
In the last exercise you erased the SMC of the CPU. Now, you are to reset the CPU to its factory
settings using the mode selector switch.
A
0
What to Do
TI
50
-1
2. Carry out the reset to factory settings directly on the CPU following the steps shown in the
S7
AT
picture.
M
Note:
ng
SI
A CPU restart is not yet possible since no program (Organization Block) has been loaded.
i
in
ra
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M
20
01
5.11.4. Exercise 4: Assigning the IP Address (Node Initialization)
and Determining the CPU Firmware Version
31
28
00
15
7-
,S
ng
i ni
ra
et
20
R
m
20
te
01
ys
lS
31
rta
Task
28
Po
In order to later be able to create an S7-1500 station in the offline project which exactly matches
your training controller, you are to determine online the Firmware version of the CPU and make
note of it.
A
0
TI
50
Furthermore, you are to check the IP address of the PROFINET interface of the CPU and, if
necessary, set it.
IC
-1
S7
AT
What to Do:
1. In the Project view, under the interface through which there is a connection to the controller,
M
2. Under the S7-1500 station, select "Online & diagnostics" (see picture)
i
in
3. Under "Functions --> Assign IP address", check the IP address and correct it, if necessary.
ra
4. Under "General" you can see the Firmware version and make note of it.
et
R
20
01
5.11.5. Exercise 5: Configuring the S7-1500 Station
31
28
00
15
7-
,S
ng
ini
ra
et
20
R
m
20
te
01
ys
lS
31
Task
rta
In your offline project, you are to configure the S7-1500 station in such a way that the module
28
arrangement matches that of your actual training device.
Po
What to Do
A
0
TI
2. Open the "Reference projects" palette in the project tree (Menu > View > Reference projects)
IC
-1
configured.
M
,
ng
i
in
4. From the "Project tree", open the "Device view" of the CPU by double-clicking on the item
ra
"Device configuration".
et
5. In slots 2 to 4, add the I/O modules from the Reference project and from the "Hardware
R
You can copy the first two modules from the Reference project You should check the
te
20
01
5.11.6. Exercise 6: CPU Properties: IP Address and Subnet Mask
31
28
00
15
7-
,S
ng
ini
ra
et
20
R
m
20
te
01
ys
lS
31
Task
rta
28
Po
For PROFINET-IO Controllers, a device name is not absolutely necessary. For IO-
A
0
Devices, it is required for the device identification by the IO-Controller.
TI
50
What to Do
IC
-1
2. In the Inspector window, select "Properties" and then "Ethernet addresses". There, enter the
M
i
in
ra
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M
20
01
5.11.7. Exercise 7: CPU Properties: Parameterizing the Clock Memory Byte
31
28
00
15
7-
,S
ng
ini
ra
et
20
R
m
20
te
01
ys
lS
31
Task
rta
28
Po
What to Do
A
1. In the "Inspector window", select the "Properties" tab and there "System and clock memory".
0
TI
50
2. Check whether memory byte 10 is enabled (activated) as clock memory byte. If not, activate
the item "Enable the use of clock memory byte" and specify the Address 10 for the byte
IC
-1
Note: Only the Clock memory and not the System memory is required. For that reason,
M
i
in
ra
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M
20
01
5.11.8. Exercise 8: CPU Properties:
Parameterizing the Display Language and the Display Protection
31
28
00
15
7-
,S
ng
ini
ra
et
20
R
m
20
te
01
ys
lS
31
rta
Task
28
Po
In the CPU Properties, parameterize the display language of the CPU-Display and the display
protection.
A
0
What to Do
TI
50
1. In the "Inspector window", select the "Properties" tab and there "Display".
IC
-1
,
ng
i
in
Upper and lower case is not relevant, since only the letters A to Z and digits 0 to 9 can be
ra
Since there is no Display keypad, it is recommended that you select a simple (possibly
only numerical) password.
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M
20
01
5.11.9. Exercise 9: Addresses of the DI Module
31
28
00
15
7-
,S
ng
i ni
ra
et
20
When and in which
R
Process image are the
m
20
inputs updated.
te
01
ys
lS
31
Task
rta
28
Po
What to Do
A
50
2. In the Inspector window, in the "Properties > General" tab, go to the point "Input 0 - 31 > I/O
addresses".
IC
-1
3. Enter the I/O address 0 shown in the picture, (this can also be done in the tabular area of the
S7
AT
4. Set the update of the Process image to Automatic so that the address is automatically
ng
SI
updated by the system in every program cycle. (This setting corresponds to the setting "OB1
i
Notes:
et
1. The 1500 CPU offers the possibility of using up to 31 process image partitions. "PIP 1" to
R
"PIP 31" process image partitions can be assigned to certain Organization Blocks. After the
OB is started, the assigned process image partition for the inputs is updated by the system.
m
At the end of the OB, the outputs of the assigned process image partition are written to the
te
I/O outputs by the system. The process image partitions are excluded from the automatic
ys
update.
lS
2. A process image partition can be updated in the user program with special instructions. For
this, there are the functions "UPDAT_PI" for the process image partition of inputs and
rta
20
01
5.11.10. Exercise 10: Addresses of the DO Module
31
28
00
15
7-
,S
ng
ini
ra
et
20
R
When and in which
Process image are the
m
20
outputs updated.
te
01
ys
lS
31
Task
rta
28
Po
What to Do
A
50
2. In the Inspector window, in the "Properties > General" tab, go to the point "Output 0 - 31 > I/O
addresses".
IC
-1
3. Enter the I/O address 0 shown in the picture and set the update of the Process image to
S7
AT
Automatic.
M
,
ng
SI
i
in
ra
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M
20
01
5.11.11. Exercise 11: Addresses of the AI Module
31
28
00
15
7-
,S
ng
i ni
ra
et
20
R
Set it so that the inputs
are not updated in any
m
20
Process image.
te
01
ys
lS
31
Task
rta
28
Po
What to Do
A
50
2. In the Inspector window, in the "Properties > General" tab, go to the point "Input 0 - 7 > I/O
addresses".
IC
-1
4. In the assignment of the process image, set "None" since the analog value of the module is to
M
be read directly by the I/O later in the program and thus does not have to be updated with any
ng
SI
process image.
i
in
ra
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M
20
01
5.11.12. Exercise 12:
Setting the Channel Parameters of the Analog Input Module
31
28
00
15
7-
,S
ng
ini
ra
et
20
R
m
20
te
01
ys
lS
31
rta
28
Po
50
-1
S7
AT
M
,
ng
SI
i
in
ra
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M
20
01
5.11.13. Exercise 13: Compiling the Device Configuration and Downloading it into
the CPU
31
28
00
15
7-
,S
ng
i ni
ra
et
20
R
m
20
te
01
ys
lS
31
rta
Task
28
Po
The configuration and parameterization of the S7-1500 hardware station is to be compiled and
then downloaded into the CPU.
A
0
Note:
TI
50
As long as the CPU doesn’t have a program, the CPU does not go into RUN mode when there is
IC
a restart! That is, if, as shown in the picture, you only download the hardware configuration into
-1
the CPU in this exercise, the CPU will not switch into the RUN mode with a subsequent restart!
S7
AT
What to Do
M
,
ng
3. After an error-free compilation, download the hardware configuration into the CPU (right-click
on the station, see picture)
et
R
m
te
Note: When using the buttons shown here to the left, a Delta compilation or Delta
ys
download of the folder(s) and subfolder(s) selected in the Project tree is always carried
out. That is, if a station (CPU) is selected, a Delta compilation or Delta download of the
lS
20
01
4. Confirm the information in the dialog by pressing the button "Load":
31
28
00
15
7-
,S
ng
i ni
ra
5. After you have activated "Load", another dialog appears which you fill-in as follows and then
conclude with "Finish".
et
20
R
m
20
te
01
ys
lS
31
rta
28
Po
A
0
TI
50
If you have only downloaded the hardware configuration into the CPU, the CPU should now
remain in the STOP mode.
IC
-1
S7
AT
6. In the "Inspector window" under "Info -> General" check the result of the hardware
configuration download:
M
,
ng
SI
i
in
ra
et
R
m
te
ys
lS
rta
Po
A
20
01
5.11.14. Exercise 14: Compiling, Downloading and Testing the Migrated Program
31
DI DO
I 0.0
28
Operation OFF
"S_OperationOFF" (NC)
I 0.1 Operation ON Operation Q0.1
"S_OperationON" "P_Operation"
00
I 0.2 Jog right
"S_Right"
15
I 0.3 Jog left
"S_Left"
7-
,S
ng
ni
1xR Acknowledge fault Fault
i
I 0.7 Q0.7
ra
"S_Acknowledge" "P_Fault"
et
20
R
m
20
te
01
ys
lS
31
Task
rta
The migrated S7-300 program can be executed without changes on the S7-1500. You are now to
28
compile, download and test the program.
Po
Program Function
A
0
• Operation switch on/off → Display at operation ("P_Operation")
TI
50
-1
Now, the conveyor motor can be jogged to the right and to the left via the simulator switch
"S_Right" and "S_Left".
M
,
ng
Now, parts are transported on the conveyor model from Bay 1 or 2 to the right into the light
i
in
barrier.
→ place a part at "B_Bay1" or "B_Bay2"
ra
Transportation monitoring:
m
If a transport sequence takes longer than 6 seconds, the conveyor motor is automatically
switched off and the fault is indicated on the simulator LED at "P_Fault". Only after
te
acknowledging the fault at the simulator switch "S_Acknowledge" can a new transport
ys
sequence be started.
lS
What to Do
rta
1. To download the program into the CPU, right-click on the "Program blocks" container of the
S7-1500 station and start the load sequence as shown in the picture above.
Po
A
20
01
2. Answer the dialog that appears as follows and start the load sequence using the "Load"
31
button:
28
00
15
7-
,S
ng
ini
ra
3. After you have select "Load", another dialog appears which you fill-in as follows and then
et
conclude with "Finish".
20
R
m
20
te
01
ys
lS
31
rta
28
Po
A
0
TI
50
-1
S7
AT
M
,
ng
SI
i
in
ra
et
R
m
te
ys
lS
rta
5. After the load sequence is successfully concluded, carry out a wiring test. For this, you can
Po
use the Watch tables located under Master copies/Chapter05 of the "SysUp_Lib" Global
library.
A
6. Check the program function described above on the HMI device or the conveyor model.
IC
20
01
5.12. Additional Information
31
28
00
15
7-
,S
ng
ni
i
ra
et
20
R
m
20
te
01
ys
lS
31
rta
28
Po
A
0
TI
50
IC
-1
S7
AT
M
,
ng
SI
i
in
ra
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M
20
01
5.12.1. Web Server
31
28
00
15
7-
,S
ng
i ni
ra
et
20
R
m
20
te
01
ys
lS
31
Web Server Activation
rta
In the default settings of the CPU, the Web Service is deactivated. You activate the service as
28
shown in the picture.
Po
0
TI
-1
After leaving the "Intro" welcome page you get to the "Start page".
S7
AT
,
ng
i
in
ra
User Management
et
20
01
5.12.2. Area for Modules Not Plugged In
31
28
Open / Close area
00
Modules can be
15
parameterized
7-
,S
ng
i ni
ra
et
20
R
m
20
te
01
ys
lS
31
Area for Modules Not Plugged In
rta
Modules that are intended to be assigned to a device, for example as the result of a copy action,
28
but for which the corresponding rack does not have a free compatible slot are moved
Po
Modules are added to the area for modules not plugged in under the following conditions:
0
TI
50
-1
• When a module is dragged to a device in the Network view, even though there is no
S7
• In the Device view, when a module is directly moved into the area from the rack or Hardware
M
catalog.
ng
SI
These modules are ignored when downloading to the target system. There is therefore no
i
in
consistency check for modules in the "area for modules not plugged in".
ra
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M
20
01
5.12.3. Swapping a Slot / Inserting a Module between Two Modules
31
28
00
15
7-
,S
ng
i ni
ra
et
20
R
m
20
te
01
ys
lS
31
Swapping a Slot or Inserting a Module between Two Modules.
rta
Using drag & drop, drag the modules in front of or behind the slot number until the marking
28
appears at the desired location, as shown in the picture. The module is placed where the marking
Po
is and the modules behind it are moved one slot to the right. If there are too many modules, the
excess modules are moved to the "area for modules not plugged in".
A
0
TI
50
Note:
IC
-1
This is not possible from the Hardware catalog. It is only possible with already plugged in
modules or modules from the ‘area for modules not plugged in’.
S7
AT
M
,
ng
SI
i
in
ra
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M
20
01
5.12.4. ‘View’ Settings of the Task Cards
31
Single pane mode Multi-pane mode
28
00
Change pane
mode
15
7-
,S
ng
ini
ra
et
20
R
m
20
te
01
ys
lS
31
You can choose between two pane modes:
rta
28
Single pane mode:
Po
There is only one pane open at a time. If a different pane is selected, the previously open
pane is closed automatically.
A
0
• Multi-pane mode:
TI
50
-1
Since there is generally more than one version of a module when configuring the devices (CPUs,
I/O modules), the required version must be selected.
M
,
ng
SI
Since this additional information on the modules selected in the catalog is shown in the
i
20
01
5.13. Status LEDs
31
5.13.1.1. Status LEDs of the S7-1500-CPU
28
CPU defective; RUN/STOP LED
00
Memory Card defective
CPU in RUN mode
15
CPU in startup (transition from STOP→RUN)
7-
CPU in STOP mode
,S
CPU Reset or Firmware Update running
ng
ERROR LED
ni
Program error, system error or diagnostic problem exists
i
ra
etMAINT LED
20
R
Maintenance request of an I/O module exists
m
20
Firmware Update successfully completed
te
01
ys
lS
31
rta
28
Po
A
0
TI
50
IC
-1
S7
AT
M
,
ng
SI
i
in
ra
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M
20
01
5.13.2. Status LEDs of the Central DI/DO Modules of the S7-1500 CPU
31
Module defective
28
RUN LED
00
15
ERROR LED
7-
,S
ng
ni
Channel status
i
ra
etChannel error exists;
e.g. wire break, short-circuit ...
20
R
DI/DO 1-Status of channel
AI/AO Channel is parameterized and OK
m
20
te
01
ys
lS
31
rta
28
Po
A
0
TI
50
IC
-1
S7
AT
M
,
ng
SI
i
in
ra
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M
20
01
5.13.3. Firmware Update
31
Firmware of the modules can be updated
→ Display and modules (CPU, TM, SM, CP, CM, distributed I/O)
28
Possibilities of a Firmware Update:
00
• Offline, using SIMATIC Memory Card with the Windows Explorer
15
• Offline, using SIMATIC Memory Card by means of card creation in TIA Portal
7-
• Online, independent of the project in TIA Portal via Accessible devices (Life List)
• Online, project-dependent in TIA Portal via “Online & diagnostics” of the module
,S
• Online, by means of the Web Server (is planned)
ng
→ the Firmware of the distributed I/Os can only be updated online
i ni
ra
Approach:
et
1 Download the new Firmware file via the Industry Online Support
20
or via the “TIA Portal Information Center” > Downloads > Firmware
R
m
20
...depending on selected possibility of an update
2 ...depending on loaded Firmware files
te
01
ys
lS
31
Procuring the new Firmware is always the first step.
rta
28
The next steps depend on the selected update possibility.
Po
0
During an update, the supply voltage must not fail or be removed.
TI
50
Distributed I/Os without memory card can only be updated online using STEP 7.
IC
-1
After updating the CPU or the Display (only S7-1500), the CPU should be switched off, an empty
S7
AT
memory card inserted in the CPU and the CPU switched back on.
It is possible to do a simultaneous update of several modules offline using the memory card.
M
,
ng
→ Respective Firmware update files are stored in the folder for the Firmware update.
SI
i
in
20
01
5.13.3.1. Firmware Update → Offline, using SMC with the Windows Explorer
31
3 After the SMC has been erased, copy the
28
FWUPDATE.S7S folder with the actual Firmware
files as well as the S7_JOB.S7S file onto the SMC.
4 Switch off the power supply of the CPU
00
Insert the card into the card slot of the CPU
15
and then switch the power supply of the CPU back on
7-
5 During the update, the Display shows a progress
,S
bar and the left LED of the CPU flashes orange
ng
6 After the update, the status is shown in the Display update...
as a message and the left LED is orange
ni
and the right LED flashes orange
i
ra
...%
7 Remove the card
et
20
R
8 Switch off the power supply of the CPU, erase data on the card, re-insert card and
m
20
switch the power supply of the CPU back on
te
01
ys
lS
31
When the CPU or the Display is updated, Step 8 is necessary. However, this is also
rta
28
Po
0
TI
50
-1
If the middle LED (red, error) lights up, the update was not successfully completed or it could
S7
AT
Do NOT delete
hidden files!!!
te
ys
lS
rta
Po
A
TI
IC
AT
M
20
01
5.13.3.2. Firmware Update → Offline, using SMC by means of Card Creation in TIA Portal
31
3 Save the Firmware files “MLFB Version.upd” (e.g.: )
28
Card does NOT have to be erased first in case there is data on the card
00
4 Create
15
7-
,S
ng
Select
ni
Firmware files
i
ra
et
20
R
m
20
te
5 Step 6 ... 8 as for “Offline using SIMATIC Memory Card with the Windows Explorer”
01
ys
lS
31
rta
28
FW file (MLFB Version.upd)
Po
Card Contents
A
0
TI
The SMC for the update does not have to be erased first. During creation you are prompted as to
50
-1
S7
AT
M
,
ng
SI
i
in
ra
et
R
• Yes
m
• No
ys
The update is only added to the card contents and the card type is set to "Update firmware".
lS
This can only be done for updating the Display since the program is active and CPU + I/O
modules cannot be updated in this state.
rta
For updating the CPU or the Display, an empty card is necessary in order to conclude
the update (see Step 8).
Po
For that reason, it is generally recommended to erase the "Program" card or to use a
separate card for updates.
A
TI
IC
AT
M
20
01
5.13.3.4. Firmware Update → Online, Independent of the Project in TIA Portal via Accessible devices
31
3 Save the Firmware files “MLFB Version.upd” on the computer
28
4 Update Accessible devices Open Online & diagnostics > Firmware update and select
relevant module as well as associated Firmware file.
00
15
5 Select Firmware
7-
file
,S
ng
i ni
ra
et
20
R
6
m
20
7 Restart CPU
te
01
ys
lS
31
An update can also be carried out for all devices and modules with the help of the Life List, thus
rta
28
You start online diagnostics via Accessible devices, select the relevant module and the
Po
0
TI
50
IC
-1
S7
AT
M
,
ng
SI
i
in
ra
et
R
20
01
5.13.3.5. Firmware Update → Online, Project-dependent in TIA Portal via
"Online & diagnostics" of the module
31
28
3 Save the Firmware files “MLFB Version.upd” on the computer
00
CPU should be switched to STOP for updates of I/O modules
15
7-
5 Select Firmware
,S
file
ng
ini
ra
et
20
R
m
20
6
te
7 Restart CPU
01
ys
lS
31
rta
Before starting (running) the update, the appropriate *.upd must be selected.
28
Po
A
0
TI
50
IC
-1
S7
AT
M
,
ng
SI
i
in
Before starting (running) an update of I/O modules, the CPU should be switched to
ra
CPU Update
A
TI
The retentiveness is however deleted, that is, the program is then reset to the loading state.
AT
M