You are on page 1of 34

20

SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
31
28
Contents 6

00
15
7-
,S
6. Distributed I/O......................................................................................................... 6-2

ng
6.1. Overview Distributed I/O Systems ........................................................................................ 6-3

ni
6.1.1. ET 200SP .............................................................................................................................. 6-4

i
ra
6.1.1.1. ET 200SP: Configuration and Maximum Number of Modules .............................................. 6-5
6.1.2. ET 200 MP ............................................................................................................................ 6-6
et
6.1.2.1. ET 200MP: Configuration and Maximum Number of Modules ............................................. 6-7

20
R
6.1.3. Overview: Distributed Signal Modules .................................................................................. 6-8
m

20
6.2. Fieldbus Systems for SIMATIC S7 ....................................................................................... 6-9
te

6.2.1. Identification of Distributed I/O Devices .............................................................................. 6-10

01
6.2.2. Components of the PROFINET Standard ........................................................................... 6-11
ys

6.2.2.1. PROFINET IO Device Types .............................................................................................. 6-12


lS

31
6.2.2.2. PROFINET Addresses ........................................................................................................ 6-13
6.2.2.3. PROFINET Communication Model ..................................................................................... 6-14
rta

28
6.3. Inserting and Networking Distributed I/O ............................................................................ 6-15
Po

6.3.1. PROFINET IO Device ET 200SP: Assigning the IP Address and


Device Name OFFLINE ...................................................................................................... 6-16
6.3.2. PROFINET IO Device ET 200SP: Assigning the Device Name ONLINE .......................... 6-17
A

0
TI

50

6.4. Grouping Devices ............................................................................................................... 6-18


IC

-1

6.5. Task Description: Commissioning the ET 200SP ............................................................... 6-19


6.5.1. Exercise 1: ET 200SP: Reset to Factory Settings .............................................................. 6-20
S7
AT

6.5.2. Exercise 2: Reading-out the Firmware Version of the ET 200SP....................................... 6-21


6.5.3. Exercise 3: Offline Project: Adding the ET 200SP .............................................................. 6-22
M

6.5.4. Exercise 4: Networking the ET 200SP ................................................................................ 6-23


ng
SI

6.5.5. Exercise 5: Configuring and Parameterizing the ET 200SP ............................................... 6-24


i

6.5.6. Exercise 6: Setting the Channel Parameters of the Distributed Analog Modules .............. 6-25
in

6.5.7. Exercise 7: ET 200SP: Assigning the IP Address / PROFINET Name OFFLINE .............. 6-26
ra

6.5.8. Exercise 8: ET 200SP: Assigning the PROFINET Name ONLINE..................................... 6-27


et

6.5.9. Exercise 9: Creating a New Device Group and Grouping Devices .................................... 6-28
R

6.5.10. Exercise 10: Compiling the Station and Downloading it into the CPU................................ 6-29
m

6.6. Additional Information ......................................................................................................... 6-30


6.6.1. Network View - I/O Communication - Offline Configuration ................................................ 6-31
te

6.6.1.1. Network View - I/O Communication - Online Assignment .................................................. 6-32


ys

6.6.2. Topology View - Topology Comparison .............................................................................. 6-33


6.6.3. Installing Distributed I/O Components Later On with GSD ................................................. 6-34
lS
rta
Po
A
TI
IC
AT
M

TIA-SYSUP - Distributed I/O


Training Document, V15.00.00 6-1
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6. Distributed I/O

31
28
At the end of the chapter the participant will ...

00
... be familiar with the distributed I/O systems PROFIBUS and

15
PROFINET

7-
... be able to explain the functional principle of PROFINET

,S
... be able to configure, network and commission a distributed

ng
PROFINET I/O station

i ni
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

TIA-SYSUP - Distributed I/O


6-2 Training Document, V15.00.00
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.1. Overview Distributed I/O Systems

31
SIMATIC ET 200M SIMATIC ET 200MP
High functionality, S7-300 modules I/O modules in the S7-1500 design

28
…PROFIBUS or PROFINET (up to 12 …the multi-channel and multi-functional
modules per station) I/O of the S7-1500

00
SIMATIC ET 200S SIMATIC ET 200SP
Discretely modular and multi-functional Compact I/O modules for variable design
Hot Swapping and fixed wiring …the scalable I/O with largest

15
Installation up into Ex-Zone 2 portfolio and smallest space requirement

7-
SIMATIC ET 200pro SIMATIC ET 200iSP

,S
Modular and multi-functional: Power - Intrinsically safe (Ex i) and modular
modules, Motor starter, RFID modules, Fail- - Fail-safe modules (SIL3/Cat.4/PLe)

ng
safe modules, CPU, Frequency inverters - PROFIBUS

ni
SIMATIC ET 200SP CPU

i
SIMATIC ET 200pro CPU

ra
…the power of the S7-1500 in the
…the power of the S7-1500 in the compact et compact design of the ET 200SP
design of the ET 200pro

20
R
SIMATIC ET 200AL SIMATIC ET 200eco and ET 200eco PN
m

20
I/O modules for IP65/67 Compact block I/O for IP65/66/67
te

…the robust I/O for the easiest assembly … for demanding applications

01
anywhere
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

TIA-SYSUP - Distributed I/O


Training Document, V15.00.00 6-3
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.1.1. ET 200SP

31
Matrix Code on the modules

28
00
15
7-
DI DO AI AO

,S
Color coding of the module class

ng
Modular distributed I/O system

i ni
ra
Smaller module size
et● system-integrated power module
● high channel density (16-channel I/O modules)

20
R
● 50% smaller than ET 200S
m

20
Comprehensive performance spectrum
te

● stronger performance HS(high speed) modules

01
● PROFIenergy as integrated function
ys
lS

31
2d Matrix Code (Data Matrix)
rta

This code is used for identifying modules and can be photographed or decoded by Smart

28
Phones, PDAs, iPhones and the like.
Po

With the ET 200SP modules, the code contains an Internet link to the product page of the
A

associated module.
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

TIA-SYSUP - Distributed I/O


6-4 Training Document, V15.00.00
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.1.1.1. ET 200SP: Configuration and Maximum Number of Modules

31
28
Maximum 64 modules including interface module

00
15
Diagnostic LEDs on every module

7-
Measuring point

,S
Bus termination

ng
module (server
Load group 1
module)

ini
ra
et

20
R
Wiring with System-integrated power module
m

20
push-in terminals (different Base Units)
no separate power modules, since it is possible to
te

Spring opener supply voltage to the load and potential group using

01
ys

a terminal block at every module


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

TIA-SYSUP - Distributed I/O


Training Document, V15.00.00 6-5
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.1.2. ET 200 MP

31
28
Modular distributed I/O system

S7-1500 modules can be used

00
● digital/analog modules, TM, CP/CM,

15
system power supplies (PS)
● high channel density

7-
e.g. 32 DI or 32 DO per module

,S
Comprehensive performance spectrum

ng
● low channel costs due to high channel density
● fast response times

ni
● module diagnostics

i
ra
et

20
R
m

20
te

01
ys
lS

31
rta

The ET 200MP enables the distributed connection of S7-1500 series central I/O modules.

28
Connection is made using an interface module.
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

TIA-SYSUP - Distributed I/O


6-6 Training Document, V15.00.00
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.1.2.1. ET 200MP: Configuration and Maximum Number of Modules

31
● Maximum of 32 modules

28
→ 1st. module = system power supply (PS)
→ 2nd. module = interface modules
→ 3rd.-32nd. module = max. of any 30 I/O modules of the S7-1500

00
● Formation of load groups through additional voltage supplies

15
(similar to centralized configuration of S7-1500)

7-
,S
Maximum 32 modules including power modules and interface module

ng
i ni
ra
et

20
R
m

20
te

(optional)

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

TIA-SYSUP - Distributed I/O


Training Document, V15.00.00 6-7
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.1.3. Overview: Distributed Signal Modules

31
28
ET 200SP ET 200MP ET 200S ET 200M ET 200pro

00
15
DI/DQ

7-
,S
AI/AQ

ng
ni
F-DI/F-DQ

i
ra
et

20
F-AI
R
m

20
te

01
ys
lS

31
rta

The ET 200SP and ET 200MP product range will be expanded in the next years such that these

28
two product lines completely cover the applications of the ET 200S and ET 200M.
Po

The ET 200pro (interface modules for connection to PROFINET or PROFIBUS) in the degree of
protection IP65/67 for use directly at the machine will continue to be offered.
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

TIA-SYSUP - Distributed I/O


6-8 Training Document, V15.00.00
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.2. Fieldbus Systems for SIMATIC S7

31
PROFINET

28
00
... ...

15
7-
,S
ng
PROFIBUS Most important selection criteria:

ni
PROFINET PROFIBUS

i
ra
Topology (wiring) Line, Star, Ring Line
Max. transmission speed 100Mbit/s 12Mbit/s
et
Max. cable length 100m ÷

20
R
Max. segment length ÷ 1000m
m

Max. number of segme nts ÷ 10

20
Max. number of devices/slaves
te

per interface 512 125


...

01
ys
lS

31
Fieldbus Systems for SIMATIC S7
rta

To connect distributed I/Os, there are different bus systems.

28
Po

The most important for SIMATIC S7 are:


• PROFINET
A

0
As the standard for communication applications at the field level it enables the connection of
TI

50

distributed field devices via Industrial Ethernet.


The Industrial Ethernet network is a local area network (LAN) according to the international
IC

-1

Standard IEEE 802.3 (Ethernet) and is designed for the industrial sector. It enables open and
S7
AT

comprehensive network solutions with a high transmission performance.


• PROFIBUS
M

It is the bus system for local area networks (LANs) with only a few participants. Through its
ng
SI

fulfillment of requirements according to EN 50170, PROFIBUS ensures openness for the


i

connection of standard-conforming components of all manufacturers.


in
ra

Due to the physical and communication-related differences of the two bus systems, there are
various criteria which are used for the selection of the most suitable bus system.
et
R

Cable Length, Segment Length


m

For PROFIBUS, a module line has to be reinforced after 100-1000m (depending on the
te

transmission speed used); otherwise, the maximum bus length is reached.


ys

For PROFINET, every connected component takes over this function. For that reason, only the
lS

cable length between two modules is relevant here.


rta
Po
A
TI
IC
AT
M

TIA-SYSUP - Distributed I/O


Training Document, V15.00.00 6-9
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.2.1. Identification of Distributed I/O Devices

31
PROFIBUS - Slave

28
PROFINET PROFIBUS
I/O Controller Master

00
15
PROFIBUS

7-
PROFIBUS address: e.g. 19
→ Setting using DIP switch on the slave

,S
ng
PROFINET - I/O Device

ini
ra
et

20
R

Device name: e.g. ET 200SP


m

20
PROFINET → Assignment online with STEP 7
te

01
ys
lS

31
Distributed I/O Devices
rta

During start-up, the CPU searches the configured PNIO devices or DP slaves and parameterizes

28
these according to the loaded device configuration.
Po

Both fieldbus systems use different methods for identifying I/O modules:
A

0
• PROFIBUS
TI

50

The set PROFIBUS address is used to search for the configured DP slave.
The setting is typically made through the DIP switch on the slave.
IC

-1


S7

PROFINET
AT

The assigned device name is used to search for the configured PNIO device.
The assignment of the device name (device initialization) is done from ET 2 engineering
M

,
ng

platform through an online function.


SI

The parameterized IP address is then assigned to the PNIO device by the PNIO controller
i
in

(CPU).
ra
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M

TIA-SYSUP - Distributed I/O


6-10 Training Document, V15.00.00
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.2.2. Components of the PROFINET Standard

31
PROFINET IO Integration of distributed field devices via Industrial Ethernet

28
PROFIdrive Applications profile for drives connected to PROFIBUS and
PROFINET

00
PROFIsafe Integration of fail-safe technology (fail-safe controllers
/ communication) in the PROFINET standard

15
7-
PROFIenergy Coordinated and centrally controlled switch-off of power
consuming devices during break times

,S
Process

ng
Safety Real-Time
Communi-
PROFI- cation

ni
energy
Distributed

i
PROFINET

ra
Field devices
IT-Standards
& Security et Motion
Network Control

20
R
Installation Distributed
Intelligence
m

20
te

01
ys
lS

31
PROFINET
rta

It completely covers the requirements of automation. PROFINET brings together the expertise of

28
PROFIBUS and Industrial Ethernet. The utilization of the open standard, the easy handling and
Po

the integration of existing parts of a system (e.g. a plant) determined the definition of PROFINET
right from the beginning.
A

0
TI

50

PROFINET IO
IC

-1

With PROFINET IO, the integration of distributed field devices takes place directly on the
Ethernet. For that, the Master-Slave procedure from PROFIBUS DP is carried over into a
S7
AT

Provider-Consumer model. From the communication point of view, all devices on the Ethernet
have equal rights. Through the configuration, however, the field devices are assigned to a central
M

,
ng

controller. The distributed I/O device reads-in the I/O signals and transfers them to the controller.
SI

The controller processes them and transfers the outputs back to the distributed I/O device.
i
in

PROFIdrive
ra
et

With PROFIdrive, very fast, clock-synchronous drive controls for high performance Motion Control
applications will be implemented in the future.
R
m

PROFIsafe
te

With PROFIsafe, the network infrastructure already existing for standard communication can also
ys

be used at the same time for fail-safe communication. Fail-safe and standard data is transmitted
through the same bus line. The existing bus protocols, such as, PROFIBUS and PROFINET (so-
lS

called "black channel") are used to transport fail-safe data as additional data (so-called
PROFIsafe layer).
rta
Po

PROFIenergy
PROFIenergy permits a coordinated and centrally controlled switch off of power consuming
A

devices during break times. In this way, the process uses only the absolute necessary energy.
TI

The process itself saves the majority of the energy, the PROFINET device itself only has a
savings potential of several watts. For PROFIenergy, this operating state is called "Pause".
IC
AT
M

TIA-SYSUP - Distributed I/O


Training Document, V15.00.00 6-11
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.2.2.1. PROFINET IO Device Types

31
PROFINET IO-Controller PROFINET IO- Ethernet

28
S7-400 Supervisor
S7-1200/1500 Switch

00
PG

15
7-
,S
PROFINET IO-Devices

ng
ET 200eco PN

ni
S7-300 ET 200S

i
ra
et

20
R

Intelligent IO-Device
m

20
Compact
(i-Device) IO-Device Modular
te

IO-Device

01
ys
lS

31
PROFINET IO-Controller
rta

The IO-Controller (typically the PLC) establishes a logical connection to the connected IO-

28
Devices after Power-On and subsequently parameterizes these (module parameters, address,
Po

etc.). (This corresponds to the function of a Class 1 Master in PROFIBUS).


A

0
PROFINET IO-Device
TI

50

An IO-Device is a distributed IO device that is connected via PROFINET IO (this corresponds to


IC

-1

the function of a slave in PROFIBUS).


S7
AT

Differentiation is made for the following IO-Device types:


• Compact IO-Device: Fixed degree of expansion.
M

,
ng


SI

Modular IO-Device: Variable degree of expansion; can be expanded or reduced as required.


i
in

• Intelligent IO-Device: A PLC is configured not as an IO-Controller but as an IO-Device and


ra

provides a higher-level controller with I/O data.


et

IO-Supervisor
R

This can be a programming device (PG), personal computer (PC) or Human Machine Interface
m

(HMI) for commissioning or diagnostic purposes. (This corresponds to a Class 2 Master in


te

PROFIBUS).
ys

Ethernet Switch
lS

PROFINET is based on Ethernet. For that reason, switches are always used as "network
rta

distributors". Every node is connected to a switch via a so-called "point-to-point" connection. This
is also referred to as a "Switched Ethernet". In most PROFINET devices, a 2 or multi-port
Po

switch is already integrated so that it is very easy to establish a line structure (comparable to
PROFIBUS).
A
TI
IC
AT
M

TIA-SYSUP - Distributed I/O


6-12 Training Document, V15.00.00
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.2.2.2. PROFINET Addresses

31
28
Device name: S7-CPU Device name: ET200SP
IP address: 192.168.111.102 IP address: 192.168.111.104

00
MAC address: 08 00 06 01 74 10 MAC address: 08 00 06 01 74 20
Subnet mask: 255.255.255.0 Subnet mask: 255.255.255.0

15
7-
,S
ng
ni
i
ra
et

20
R
m

20
PN/IE_1
te

01
ys
lS

31
Internet Protocol
rta

The Internet Protocol (IP) is the basis for all TCP/IP networks. It creates the so-called datagrams

28
(data packets specially tailored to the Internet protocol) and handles their transport within the
Po

local subnet or their "routing" (forwarding) to other subnets.


A

0
IP Addresses
TI

50

IP addresses consist of 4 bytes. With the dot notation, each byte of the IP address is expressed
IC

-1

by a decimal number between 0 and 255. The four decimal numbers are separated from one
another through dots (see picture).
S7
AT

PROFINET Device Name


M

,
ng
SI

In PROFINET, each RT / IRT device must be assigned a unique device name that is retentively
stored in the device. A module exchange without PG/PC is made possible through the device
i
in

names.
ra
et

MAC Address
R

Every Ethernet interface is assigned a fixed address by the manufacturer that is unique
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

the IP address into the network and device part.


Po

Only IP addresses whose network part is the same can be accessed.


e.g.: Subnet mask = 255.255.255.0 and IP address = 192.168.111.10
accessible IP addresses: 192.168.111.1 to 192.168.111.254
A
TI
IC
AT
M

TIA-SYSUP - Distributed I/O


Training Document, V15.00.00 6-13
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.2.2.3. PROFINET Communication Model

31
e.g. Read-out diagnostic data or
e.g. Call Web server
IT Applications PROFINET applications

28
program download
on the CPU e.g. by means of a PG
 HTTP
 SNMP
1 Standard Process
 DHCP... data data

00
Data exchange between
IO-Controller and IO-Device

Real time

15
TCP/UDP

7-
Internet Protocol (IP)

,S
2 RT / IRT

ng
Ethernet Protocol

i ni
ra
et

20
R
PROFINET based on
Industrial Ethernet!
m

20
te

01
ys
lS

31
Real-time Channel
rta

To be able to fulfill real-time requirements in automation, an optimized real-time communication

28
channel, the Realtime Channel (RT Channel), was specified in PROFINET. It uses Ethernet
Po

(Layer 2) as a base.
A

The addressing of the data packets does not take place in this case via an IP address, rather by
0
means of the MAC addresses of the participating devices. Such a solution minimizes the
TI

50

throughput times in the communications stack considerably and leads to an increase in


IC

-1

performance with regards to the updating rate of automation data.


S7
AT

IRT Channel
M

Isochronous Real-time (IRT) as a further development with the following features:


ng
SI

• Clock-synchronous data transmission


i
in

• Cycle times <1ms with jitter accuracy <1µs


ra

• Typical field of application is Motion Control


et
R

IT Standards
m

The design of PROFINET WEB Integration focuses on commissioning and diagnostics. Access to
te

a PROFINET device from the Internet or Intranet is done with standard protocols (for example,
http). The data is transmitted in standard formats such as HTML or XML and can be presented
ys

with standard browsers such as Opera or Internet Explorer.


lS

This worldwide accessibility makes it easy for the application manufacturer to support the user
rta

with commissioning, device diagnostics etc. Access to the data is done via Web servers which
are integrated in the modules.
Po
A
TI
IC
AT
M

TIA-SYSUP - Distributed I/O


6-14 Training Document, V15.00.00
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.3. Inserting and Networking Distributed I/O

31
28
00
Drag & Drop

15
7-
,S
ng
i ni
ra
et

20
R
m

20
te

01
ys
lS

31
Inserting Distributed I/O
rta

PROFINET IO-Devices are added in the Network view. Here, you can insert the relevant devices

28
Po

into the project by dragging & dropping them from the Hardware catalog. The correct Firmware
must also be selected here before the device is inserted.
A

0
The new device (ET 200SP) is stored in the "Ungrouped devices" folder.
TI

50

Furthermore, there is a link to the ET 200SP in the "Unassigned devices" folder since it is not yet
IC

assigned to a controller.
-1
S7
AT

Networking Distributed I/O


M

After the ET 200SP IO-Device is added, it must now be assigned to an IO-Controller or


,
ng

networked with a CPU. In case there are several CPUs in the network, a co-ordination or
SI

monitoring of the I/O addresses by the IO-Controller and IO-Device can only be done through this
i
in

unique assignment.
ra

If the ET 200SP is assigned to a Controller, the link is stored in the "Distributed I/O" subfolder of
et

the Controller.
R

The actual device is still stored in the "Ungrouped devices" folder.


m

I/O Modules
te
ys

Just as for a CPU, the individual input and output modules can be configured and assigned
parameters in the Device view. For this, the device is selected and the Device view opened or in
lS

the Device view, the relevant device is selected via the selection menu.
rta
Po
A
TI
IC
AT
M

TIA-SYSUP - Distributed I/O


Training Document, V15.00.00 6-15
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.3.1. PROFINET IO Device ET 200SP:
Assigning the IP Address and Device Name OFFLINE

31
28
00
15
7-
,S
ng
i ni
ra
et

20
R
m

20
te

01
ys
lS

31
rta

IP Address, Subnet Mask and PROFINET Device Name

28
Po

For communication with the IO-Controller, a PROFINET device name must be assigned to the IO-
Device (ET 200SP) OFFLINE. The IO-Controller then assigns the IO-Device a valid IP address. If
the IO-Device is assigned an IP address OFFLINE, this IP address is adopted. These parameters
A

0
are downloaded to the IO-Controller (CPU) with the programming device. The IO-Controller
TI

50

(CPU) then transfers these and other parameters (such as, the I/O addresses) to the IO-Device
(ET 200SP).
IC

-1
S7
AT

Attention:
M

Only the PROFINET device name is relevant for the transmission of the offline configuration into
,
ng

the online device (Controller), not the IP address. The offline configured PROFINET device name
SI

and the online existing PROFINET device name must match. If the IO-Device has a different
i
in

PROFINET device name or doesn’t have a name at all, the IO-Controller cannot transfer the
ra

hardware configuration or the hardware parameter assignments to the IO-Device thus preventing
a PROFINET system startup.
et
R

Note:
m

The IP addresses can also be entered directly in the Network view in the graphic area. For this,
te

the IP addresses must be displayed with the button.


ys
lS
rta
Po
A
TI
IC
AT
M

TIA-SYSUP - Distributed I/O


6-16 Training Document, V15.00.00
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.3.2. PROFINET IO Device ET 200SP: Assigning the Device Name ONLINE

31
28
00
15
offline
configured name

7-
,S
1xR

ng
ni
online
accessible device(s)

i
ra
et

20
R
m

20
te

01
ys
lS

31
IP Address and PROFINET Device Name
rta

The PROFINET device name of the IO-Device configured offline and the device name existing

28
online must match since the IO-Controller first checks the device names of the connected IO-
Po

Devices and then assigns the configured IP addresses during system startup. If an IO-Device is
not accessible under its configured device name, the IO-Controller cannot establish a connection
A

0
to the IO-Device.
TI

50

The IP address of the IO-Device configured offline and the address existing online do not have to
IC

-1

match. The PROFINET name is relevant for the downloading of the hardware configuration. If it
exists, the online existing IP address is overwritten with the offline configured IP address.
S7
AT

Ways of Assigning a Name Online


M

,
ng
SI

In principle, there are two ways of assigning a PROFINET device name to an IO-Device online:
i
in

Version 1 (safe, since there is no chance of typing errors)


ra

The assignment of the device name is triggered from the device configuration of the IO-Device.
et

Device configuration of IO-Device  Right-click on the Interface module (Slot 0)  Assign device
R

name (see picture).


m

The advantage of this version is that the offline configured device name is adopted 1:1 and so no
te

typing errors can be made.


ys

Version 2 (typing errors possible)


lS

The assignment of the device name is triggered via "Online access":


Project tree  Online access  Ethernet interface  IO-Device  Online & diagnostics 
rta

Functions  Assign name


Po
A
TI
IC
AT
M

TIA-SYSUP - Distributed I/O


Training Document, V15.00.00 6-17
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.4. Grouping Devices

31
28
00
15
7-
,S
ng
ini
ra
et

20
R
m

20
te

01
ys
lS

31
rta

The individual devices (distributed I/O as well) can all be stored directly in the project. For better

28
readability of the project, it is recommended to group the individual devices. For this, device
Po

groups can be created in which the individual devices can be stored using drag & drop.
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

TIA-SYSUP - Distributed I/O


6-18 Training Document, V15.00.00
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.5. Task Description: Commissioning the ET 200SP

31
28
00
15
7-
,S
ng
i ni
ra
et

20
R
m

20
te

01
ys
lS

31
Task Description
rta

The ET 200SP distributed I/O station is to be commissioned since the conveyor model is later to

28
Po

be controlled via its input and output modules.


For this, the ET 200SP station must be configured, assigned parameters and networked with the
A

0
S7-1500 station in the offline project.
TI

50

After compiling the new hardware configuration, it must be downloaded into the CPU. In the
IC

function of an I/O Controller, the CPU then automatically undertakes the parameterization of the
-1

ET 200SP I/O-device.
S7
AT
M

,
ng
SI

i
in
ra
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M

TIA-SYSUP - Distributed I/O


Training Document, V15.00.00 6-19
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.5.1. Exercise 1: ET 200SP: Reset to Factory Settings

31
28
00
15
7-
,S
ng
i ni
ra
et

20
R
m

20
te

01
ys
lS

31
Task
rta

All settings so far (IP address, subnet mask and PROFINET name) of the Interface module and

28
the memory card of the ET 200SP station are to be deleted through a "Reset to factory settings".
Po

In the following exercises, you will then transfer your own settings onto the ET 200SP station.
A

0
What to Do:
TI

50

1. Open the Online access and there select the relevant interface.
IC

-1

2. There, activate "Update accessible devices" by double-clicking on it and wait until the list is
S7
AT

completed.
3. Open the ET 200SP and there activate the function "Online & diagnostics" by double-clicking
M

,
ng

on it.
SI

4. In the "Online & diagnostics" window, open the "Functions" tab.


in
ra

5. There, select "Reset to factory settings" and confirm the dialog.


et
R
m
te
ys
lS
rta
Po

6. Close the "Online & diagnostics" window.


7. Check the success of the reset to factory settings in the Inspector window under "INFO >
A

General”
TI

In addition, you will find the ET 200SP without an IP address and without a device name
under "Accessible devices”.
IC

Leave all windows open for the next exercise.


AT
M

TIA-SYSUP - Distributed I/O


6-20 Training Document, V15.00.00
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.5.2. Exercise 2: Reading-out the Firmware Version of the ET 200SP

31
28
1

00
15
MAC address

7-
of the ET 200SP

,S
Temporary

ng
IP address

i ni
2

ra
et

20
R
m

20
te

V3.1.0

01
ys
lS

31
Task
rta

In the following exercises, in order to be able to configure an ET 200SP in the offline project

28
which corresponds exactly to that of the training device, you now have to read out the Firmware
Po

version of the ET 200SP online.


A

0
Problem
TI

50

Due to the previous "Reset to factory settings", the ET 200SP now no longer has a PROFINET
IC

-1

device name nor an IP address, only a MAC address (see top picture). The Firmware version,
however, cannot be read out via the MAC address, since an IP address is required for this
S7
AT

diagnostic service.
M

,
ng

What to Do
SI

1. Open the ET 200SP and, with a double-click, activate the "Online & diagnostics" function and
in

there check whether the ET 200SP Firmware version is displayed in the tab "Diagnostics ->
ra

General".
1
et

2. No Firmware version is displayed since the ET 200SP doesn’t have an IP address. To assign
R

a temporary IP address, switch to the "Functions -> Assign IP address" tab. There enter the
temporary IP address as well as the subnet mask shown in the picture and confirm via
m

"Assign IP address" (see top picture)


te

3. In the Project tree, once again show the list of "Update accessible devices".
ys

4. In the device list, the ET 200SP is now displayed as a device with Order number and IP
lS

2 address. Once again activate "Online & diagnostics" (see bottom picture).
rta

5. Make note of the Firmware version shown in the "Diagnostics -> General" tab.
Po

6. Close the window and then, in the Project tree, the "Online access".
A
TI
IC
AT
M

TIA-SYSUP - Distributed I/O


Training Document, V15.00.00 6-21
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.5.3. Exercise 3: Offline Project: Adding the ET 200SP

31
28
00
15
7-
,S
ng
i ni
ra
et

20
R
m

20
te

01
ys
lS

31
Task
rta

An ET 200SP is to be inserted into the project as a distributed I/O station.

28
Po

PROFINET IO-Devices are added in the Network view. Here, you can insert the relevant devices
into the project by dragging & dropping them from the Hardware catalog.
A

0
In the beginning, the newly added ET 200SP is not assigned to any controller and therefore
TI

50

appears in the Project tree as an "Unassigned device" in the same level as the PLCs and HMIs.
IC

-1

What to Do
S7
AT

1. In the Project tree, open the Hardware and Network editor by double-clicking on it.
M

2. Open the Hardware catalog Task Card and there


ng
SI

Distributed I/O -> ET 200SP -> Interface modules -> PROFINET -> IM155-6PN ST
i
in

3. Select the IM module used in your training device, open the Information window and there
ra

select the Firmware version of your IM module.


et

4. Using drag & drop, drag the IM module into the Hardware and Network editor (see picture)
R
m

Leave all windows open because they are still needed for the next exercises!
te
ys
lS
rta
Po
A
TI
IC
AT
M

TIA-SYSUP - Distributed I/O


6-22 Training Document, V15.00.00
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.5.4. Exercise 4: Networking the ET 200SP

31
28
00
15
7-
,S
ng
ni
Open / Close

i
ra
tabular area
et

20
R
m

20
te

01
ys
lS

31
Task
rta

After the ET 200SP IO-Device is added, it must now be assigned to an IO-Controller or

28
networked with a CPU. In case there are several CPUs in the network, a co-ordination or
Po

monitoring of the I/O addresses by the IO-Controller and IO-Device can only be done through this
unique assignment.
A

0
TI

50

What to Do
IC

-1

1. In the Hardware and Network editor, select the Network view and there choose the "Network"
tab.
S7
AT

2. Network the ET 200SP with the CPU by connecting the Ethernet interface of the ET 200SP
M

with the Ethernet interface of the CPU using drag & drop.
ng
SI

3. Select the newly created PROFINET IO system and, in the network data under "I/O
i
in

communication", check the generated communication partners.


ra
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M

TIA-SYSUP - Distributed I/O


Training Document, V15.00.00 6-23
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.5.5. Exercise 5: Configuring and Parameterizing the ET 200SP

31
28
00
15
7-
,S
ng
i ni
ra
et

20
R
m

20
te

01
ys
lS

31
Task
rta

The configuration of the ET 200SP in the offline project must match exactly with the configuration

28
of your training device. Attention should be given in particular to the order numbers and versions
Po

of the modules.
A

The ET 200SP has digital and analog input and output modules which are to be connected to the
0
TI

conveyor model in the following chapter. The I/O addresses used in the STEP 7 program must
50

match the addresses of the DI/DO modules parameterized here.


IC

-1

The address assignment can be made in the Properties of the individual module, or, as can be
S7
AT

seen in the picture, in the "tabular area" of the "Device view".


M

What to Do
ng
SI

1. In the Hardware and Network editor, select the "Device view" of the ET 200SP.
i
in

2. In the Task Cards, open the "Hardware catalog".


ra

3. Configure the ET 200SP station according to your training device.


et

Ensure that a new potential group is selected with the AI module on Slot 4:
R
m
te
ys
lS
rta
Po

4. Open the tabular area "Device overview" (see picture) and, in the table, enter the I/O
addresses shown in the picture.
A
TI

5. Save your project.


IC
AT
M

TIA-SYSUP - Distributed I/O


6-24 Training Document, V15.00.00
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.5.6. Exercise 6:
Setting the Channel Parameters of the Distributed Analog Modules

31
28
00
15
7-
,S
ng
i ni
ra
et

20
R
m

20
te

Unused

01
channels
ys
lS

31
rta

Task and What to Do:

28
Po

Set the analog channels to the relevant parameters:


• Inputs
A

Channel 0 → Voltage 0..10V


0
TI

50

• Outputs
IC

Channel 0 → Current 4..20mA


-1

Channel 1 → Voltage 0..10V


S7
AT

Channel 2 → Voltage 0..10V


M


,

Deactivate all unused analog inputs and outputs.


ng
SI

• In addition, activate the Diagnostics for Overflow in the Settings of the analog input module
i
in

under "Input 0 – 3 > Inputs > Diagnostics”.


ra
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M

TIA-SYSUP - Distributed I/O


Training Document, V15.00.00 6-25
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.5.7. Exercise 7: ET 200SP: Assigning the IP Address / PROFINET Name
OFFLINE

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 ET 200SP station is later to work with the IP address, subnet mask and PROFINET device
name shown in the picture above.
A

0
What to Do
TI

50

1. In the Hardware and Network editor, select the "Device view" of the ET 200SP.
IC

-1

2. Select the IM module on Slot 0 and open the "Properties" tab in the Inspector window.
S7
AT

3. There, in the "General" tab, select the "General" menu and under "Name" enter the
M

PROFINET device name.


,
ng
SI

4. Then select the "Ethernet addresses" menu and under "IP protocol" enter the IP address and
i

subnet mask shown (see picture). In the same menu you will also find the PROFINET device
in

name that you previously edited in the "General" menu.


ra

5. Save your project.


et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M

TIA-SYSUP - Distributed I/O


6-26 Training Document, V15.00.00
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.5.8. Exercise 8: ET 200SP: Assigning the PROFINET Name ONLINE

31
28
00
15
offline
configured name

7-
,S
1xR

ng
ni
online
accessible device(s)

i
ra
et

20
R
m

20
te

01
ys
lS

31
Task
rta

The PROFINET device name previously assigned offline must now be assigned to the ET 200SP

28
online, so that the IO-Controller or the CPU can assign the offline-configured IP address during
Po

system startup of the ET 200SP.


A

0
What to Do
TI

50

1. In the Hardware and Network editor, select the "Device view" of the ET 200SP.
IC

-1

2. Right-click on the Interface module or the module on Slot 0 and in the menu that appears,
S7
AT

activate the item "Assign device name".


3. In the dialog that appears, check the (offline) PROFINET device name.
M

,
ng
SI

4. Under "Type of the PG/PC interface", select the interface through which you are connected to
i

the PROFINET (see picture).


in
ra

5. In the lower part of the dialog, under (online) "Accessible devices in the network", select the
ET 200SP or the Interface module IM156-6 and select "Assign name".
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M

TIA-SYSUP - Distributed I/O


Training Document, V15.00.00 6-27
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.5.9. Exercise 9: Creating a New Device Group and Grouping Devices

31
28
00
15
7-
,S
ng
ini
ra
et

20
R
m

20
te

01
ys
lS

31
Task:
rta

The devices (Controller and IO-Device) are to be stored in a common group.

28
Po

What to Do:
A

1. Select the Project name and, through the context menu (right click), insert a new device
0
TI

group.
50

2. Rename it Area_1
IC

-1

3. Move the Controller "S7-1500” and the IO-Device "ET 200SP” into the folder "Area_1”
S7
AT

4. Save your project.


M

,
ng
SI

i
in
ra
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M

TIA-SYSUP - Distributed I/O


6-28 Training Document, V15.00.00
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.5.10. Exercise 10: Compiling the Station and Downloading it into the CPU

31
28
1. Compile 3. Download into CPU

00
15
2. Save

7-
,S
ng
i ni
ra
et

20
R
m

20
te

01
ys
lS

31
Task
rta

Now that the PROFINET I/O system is completely configured and parameterized, the project

28
must be completely compiled, saved and downloaded into the CPU.
Po

What to Do
A

0
TI

1. Compile the hardware configuration by selecting the S7-1500 station in the Project tree and
50

then clicking on the Compile button (see picture). In the Inspector window under "Info", check
IC

-1

whether the compilation was successful. Should errors have occurred, correct them.
S7
AT

2. Save your project.


3. Download the entire station into the CPU by clicking on the Download button (see picture). In
M

,
ng

the Inspector window under "Info", check whether the loading was successful.
SI

4. Check the module LEDs of your training device: Only green LEDs should be lit and not
in

flashing!!!
ra

5. Save your project.


et
R

Result:
m
te

Only green LEDs should be lit on the CPU as well as on all modules of the ET 200SP!
ys
lS
rta
Po
A
TI
IC
AT
M

TIA-SYSUP - Distributed I/O


Training Document, V15.00.00 6-29
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.6. 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

TIA-SYSUP - Distributed I/O


6-30 Training Document, V15.00.00
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.6.1. Network View - I/O Communication - Offline Configuration

31
28
00
Update time can be

15
Device must be changed

7-
activated from

,S
within the program

ng
i ni
ra
et

20
R
m

20
te

01
ys
lS

31
Optional IO-Device:
rta

Devices which are selected (highlighted) here do not exist as far as the CPU is concerned and

28
must be explicitly made known in the user program.
Po

Update Time:
A

0
TI

The Update Time is the time interval in which an IO-Device/IO-Controller in the PROFINET IO-
50

System is supplied with new data by the IO-Controller/IO-Device.


IC

-1

Update Time Mode:


S7
AT

The update mode can be set to either ‘Automatic’ or ‘Can be set’.


M

,
ng

For the ‘Can be set’ update mode, the update time must be set; for ‘Automatic’, the time is
SI

calculated by the system.


i
in
ra
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M

TIA-SYSUP - Distributed I/O


Training Document, V15.00.00 6-31
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.6.1.1. Network View - I/O Communication - Online Assignment

31
28
00
15
7-
,S
ng
ini
ra
et

20
R
m

20
te

01
ys
lS

31
rta

Via the "Online assignment" tab, PROFINET device names assigned offline can be assigned to

28
the relevant IO-Devices online.
Po

With the help of the MAC addresses, several devices can be assigned the name simultaneously
(mass operation).
A

0
TI

50

What to Do:
IC

-1

1. Enter the MAC addresses. This can also be done with the Import function (CSV file). The
device is automatically selected (checked) in the "Assign devices” column.
S7
AT

2. Check whether the devices are available online via the "Check devices” button.
M

,
ng

3. Via the "Assign now” button, assign the name online to all devices for which a MAC address
SI

is entered, the checkbox in the column "Assign devices” is checked and which have the
i
in

Status "Ready for assignment" (green flag).


ra
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M

TIA-SYSUP - Distributed I/O


6-32 Training Document, V15.00.00
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.6.2. Topology View - Topology Comparison

31
Adopt position of devices

28
as in Network view

00
15
7-
,S
Compare Synchronize

ng
i ni
ra
et Update

20
R
m

20
te

01
ys
lS

31
In The Topology View, you carry out the following tasks:
rta

• Display Ethernet topology

28
Po

− Display all PROFINET devices and passive Ethernet components of the project including
ports
A

− Display interconnections between the ports


0
TI

50

− Display associated logical networks


− Display the diagnostic information of all ports
IC

-1
S7

• Configure Ethernet topology


AT

− Create, change and delete interconnections of ports


M

− Rename stations, devices, interfaces, ports


ng
SI

− Adding PROFINET devices and passive Ethernet components to the project from the
i
in

Hardware catalog
ra

• Determine differences between the offline and online topology and repair them
et

− Carry out offline/online comparisons of Ethernet modules, Ethernet ports and Ethernet port
R

interconnections
m

− Adopt topology information existing online in the offline project


te

The "Topology Overview" tab offers the following functions:


ys

• Display of configured topology


lS

• Display of the diagnostic status of hardware components


rta

The "Topology Comparison" tab offers the following function:


Po

• Determine and repair the difference between the offline and online topology
A

- In the "Actual” column, you specify which OFFLINE-ONLINE differences are to be


TI

adopted. All differences to be adopted are activated via the context menu (Apply > Apply
all).
IC

Then the selected differences can be adopted with the "Synchronize” button.
AT
M

TIA-SYSUP - Distributed I/O


Training Document, V15.00.00 6-33
SI
20
SIMATIC TIA Portal Upgrade Course to S7-1500

20
01
6.6.3. Installing Distributed I/O Components Later On with GSD

31
28
00
15
7-
,S
ng
i ni
ra
Find file
et

20
R
m

20
te

01
ys
lS

31
GSD (generic station description file) File
rta

STEP 7 requires a GSD or a type file for every distributed I/O slave so that the module can be

28
configured from the Hardware catalog.
Po

GSD files contain all necessary communication properties of a distributed I/O module according
A

to the PROFIBUS/PROFINET standard.


0
TI

50

A GSD file is normally supplied with distributed I/O modules or is available as a download from
the Internet.
IC

-1

Many SIEMENS modules are already generally a part of the Hardware catalog.
S7
AT

Modules Added to the Hardware Catalog


M

,
ng
SI

Following installation, these are entered in the "Other field devices" section and are available
i

there for the configuration.


in
ra
et
R
m
te
ys
lS
rta
Po
A
TI
IC
AT
M

TIA-SYSUP - Distributed I/O


6-34 Training Document, V15.00.00
SI

You might also like