0% found this document useful (0 votes)
16 views44 pages

IEC Telecontrol DOC V40 en

The document outlines the use of SIMATIC S7-based telecontrol systems via the IEC 60870-5 protocol for automation tasks involving outstations like rain overflow basins and pump stations. It details the components, configuration, and advantages of using this standardized protocol for efficient monitoring and control. Additionally, it emphasizes the importance of security measures and the responsibilities of users in ensuring safe operation and compliance with regulations.

Uploaded by

julyplayboy1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views44 pages

IEC Telecontrol DOC V40 en

The document outlines the use of SIMATIC S7-based telecontrol systems via the IEC 60870-5 protocol for automation tasks involving outstations like rain overflow basins and pump stations. It details the components, configuration, and advantages of using this standardized protocol for efficient monitoring and control. Additionally, it emphasizes the importance of security measures and the responsibilities of users in ensuring safe operation and compliance with regulations.

Uploaded by

julyplayboy1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 44

SIMATIC S7-based

telecontrol via the


IEC 60870-5 protocol
Siemens
CP 1243-1, CP 1542SP-1 IRC, TIM 1531 IRC Industry
Online
https://support.industry.siemens.com/cs/ww/en/view/87447188 Support
Legal information

Legal information
Use of application examples
Application examples illustrate the solution of automation tasks through an interaction of several
components in the form of text, graphics and/or software modules. The application examples are
a free service by Siemens AG and/or a subsidiary of Siemens AG ("Siemens"). They are
non-binding and make no claim to completeness or functionality regarding configuration and
equipment. The application examples merely offer help with typical tasks; they do not constitute
customer-specific solutions. You yourself are responsible for the proper and safe operation of the
products in accordance with applicable regulations and must also check the function of the
respective application example and customize it for your system.
Siemens grants you the non-exclusive, non-sublicensable and non-transferable right to have the
application examples used by technically trained personnel. Any change to the application
examples is your responsibility. Sharing the application examples with third parties or copying the
application examples or excerpts thereof is permitted only in combination with your own products.
The application examples are not required to undergo the customary tests and quality inspections
of a chargeable product; they may have functional and performance defects as well as errors. It is
your responsibility to use them in such a manner that any malfunctions that may occur do not
result in property damage or injury to persons.

Disclaimer of liability
Siemens shall not assume any liability, for any legal reason whatsoever, including, without
limitation, liability for the usability, availability, completeness and freedom from defects of the
application examples as well as for related information, configuration and performance data and
any damage caused thereby. This shall not apply in cases of mandatory liability, for example
under the German Product Liability Act, or in cases of intent, gross negligence, or culpable loss of
life, bodily injury or damage to health, non-compliance with a guarantee, fraudulent
non-disclosure of a defect, or culpable breach of material contractual obligations. Claims for
damages arising from a breach of material contractual obligations shall however be limited to the
© Siemens AG 2022 All rights reserved

foreseeable damage typical of the type of agreement, unless liability arises from intent or gross
negligence or is based on loss of life, bodily injury or damage to health. The foregoing provisions
do not imply any change in the burden of proof to your detriment. You shall indemnify Siemens
against existing or future claims of third parties in this connection except where Siemens is
mandatorily liable.
By using the application examples you acknowledge that Siemens cannot be held liable for any
damage beyond the liability provisions described.

Other information
Siemens reserves the right to make changes to the application examples at any time without
notice. In case of discrepancies between the suggestions in the application examples and other
Siemens publications such as catalogs, the content of the other documentation shall have
precedence.
The Siemens terms of use (https://support.industry.siemens.com) shall also apply.

Security information
Siemens provides products and solutions with industrial security functions that support the secure
operation of plants, systems, machines and networks.
In order to protect plants, systems, machines and networks against cyber threats, it is necessary
to implement – and continuously maintain – a holistic, state-of-the-art industrial security concept.
Siemens’ products and solutions constitute one element of such a concept.
Customers are responsible for preventing unauthorized access to their plants, systems, machines
and networks. Such systems, machines and components should only be connected to an
enterprise network or the internet if and to the extent such a connection is necessary and only
when appropriate security measures (e.g. firewalls and/or network segmentation) are in place.
For additional information on industrial security measures that may be implemented, please visit
https://www.siemens.com/industrialsecurity.
Siemens’ products and solutions undergo continuous development to make them more secure.
Siemens strongly recommends that product updates are applied as soon as they are available
and that the latest product versions are used. Use of product versions that are no longer
supported, and failure to apply the latest updates may increase customer’s exposure to cyber
threats.
To stay informed about product updates, subscribe to the Siemens Industrial Security RSS Feed
under https://www.siemens.com/cert.

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 2
Table of contents

Table of contents
Legal information ......................................................................................................... 2
1 The task .............................................................................................................. 4
2 Solution............................................................................................................... 5
2.1 Overview............................................................................................... 5
2.2 Components used ................................................................................ 9
3 Basics of IEC 60870-5...................................................................................... 10
4 Program overview ............................................................................................ 12
4.1 STEP 7 V17 projects (IEC stations) ................................................... 12
4.2 WinCC project (IEC master) ............................................................... 12
4.3 Overview of data points ...................................................................... 13
4.4 Addresses in the example .................................................................. 14
5 IEC configuration in the TIA Portal ................................................................ 15
5.1 Device configuration ........................................................................... 15
5.1.1 WinCC V7.5 as an IEC master ........................................................... 16
5.1.2 Station S7-1200 with CP 1243-1 or ET 200SP with CP 1542SP-
1 IRC .................................................................................................. 19
5.1.3 Station S7-1500 with TIM 1531 IRC ................................................... 23
5.2 Server Redundancy Setup ................................................................. 25
© Siemens AG 2022 All rights reserved

6 IEC configuration for the IEC master ............................................................. 28


6.1 Inserting the IEC driver....................................................................... 28
6.2 Tag configuration ................................................................................ 34
6.3 Setting up the Tag Logging ................................................................ 36
7 Installation ........................................................................................................ 38
7.1 Hardware installation .......................................................................... 38
7.2 Installing the software ......................................................................... 39
7.3 Installing the application software ...................................................... 39
8 Commissioning ................................................................................................ 40
9 Operation of the application example ........................................................... 41
10 Appendix .......................................................................................................... 42
10.1 Service and support ........................................................................... 42
10.2 Industry Mall ....................................................................................... 43
10.3 Links and literature ............................................................................. 43
10.4 Change documentation ...................................................................... 44

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 3
1 The task

1 The task
Overview of the automation task
The outstations "rain overflow basin", "pump station" and "elevated tank" are
connected to a central control station.
The following figure gives an overview of the automation task.
Figure 1-1

Control Station
© Siemens AG 2022 All rights reserved

Description of the automation task


An elevated tank that, for example, is responsible for supplying water to a town, is
monitored by a SIMATIC S7-1500. If the level falls below the minimum, the
pumping station is activated until the elevated tank is completely filled again.
The pumping station is monitored and controlled by an ET 200SP.
The stormwater overflow tank is monitored by a SIMATIC S7-1200. The level is
transmitted to the control station, as is an alarm if the minimum or maximum level
is reached.

The requirements based on the automation task


1. The control center must be able to request process data from the outstations.
2. The control station must be able to send commands and setpoints
spontaneously to the outstations.
3. The outstations must be able to send process data spontaneously to the
control station.
4. Process data must be stored in the outstations and sent to the master when
the connection is re-established in the event of a disconnection.
5. A standardized protocol must be used for the implementation.

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 4
2 Solution

2 Solution
2.1 Overview
The control station communicates with the external stations via the telecontrol
protocol IEC 60870-5 via Ethernet (IEC 60870-5-104).
In the application example, the following types of data points have been
configured.
• Commands (Single Command)
• Measured values (Measured value, short floating point number)
• Binary Messages (Single-point information)
In the example, all data points are provided with time stamps.

The integration of TeleControl configuration into the TIA Portal V17 simplifies
engineering. In addition, cross-communication between the outstations is now
possible:
• S7-1200 with
– CP 1243 1 or
– CP 1243 7 LTE or
– CP 1243-8 IRC
© Siemens AG 2022 All rights reserved

• ET 200SP with CP 1542SP-1 IRC


• S7-1500 with TIM 1531 IRC

NOTE The scenario is typically put into operation with VPN tunnels. The configuration
required for this is not covered in this document.

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 5
2 Solution

Diagram
The following diagram shows the most important components of the configured
solution:
Figure 2-1

Master
WinCC
TeleControl

PROFINET / IE

S7-1200 ET 200SP
with CP 1243-1 with CP 1542SP-1 IRC
© Siemens AG 2022 All rights reserved

S7-1500

TIM 1531 IRC

The outstations are available in 3 versions:


• S7-1500 with TIM 1531 IRC
• S7-1200 with CP 1243-1
• ET 200SP (based on S7-1500) with CP 1542SP-1 IRC
The WinCC TeleControl software is installed at the control station, making the
control station the IEC master.
A SIMATIC S7-1500 CPU with the TIM 1531 IRC as IEC station is installed on the
outstation "elevated tank".
The outstation "rain overflow basin" consists of a SIMATIC S7-1200 CPU and a
CP 1243-1 installed as IEC station.
The outstation "pump station" consists of a SIMATIC ET 200SP CPU and a
CP 1542SP-1 IRC installed as IEC station.

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 6
2 Solution

Advantages
The solution presented here offers you the following advantages:
• Use of the standardized IEC 60870-5 protocol
• Efficient and safe monitoring and control of process plants
• Homogeneous SIMATIC solution, as the SIMATIC portfolio offers software and
hardware for IEC 60875-5 masters and outstations
• Connection to all standardized IEC 60875-5 master systems.

Typical configuration with VPN tunnels


It is also possible to secure communication via VPN tunnels. The hardware
structure could look like the following figure:

Figure 2-2

Master
WinCC
TeleControl Scalance
M816-1
© Siemens AG 2022 All rights reserved

S7-1200 ET 200SP
with CP 1243-1 with CP 1542SP-1 IRC

Scalance
M816-1
Scalance
M816-1

S7-1500 TIM 1531 IRC

PROFINET / IE
Scalance
VPN-Tunnel
M874-3

NOTE The configuration is not described further in this application example. An


overview document of the various configuration options can be found under the
following link:
https://support.industry.siemens.com/cs/ww/en/view/26662448

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 7
2 Solution

Scenario
The application example is operated via the WinCC Runtime. The user interface is
shown in the following figure.

Figure 2-3

3
1

2
© Siemens AG 2022 All rights reserved

1. The filling level is simulated in the station "elevated tank" (S7-1500). This is
transferred to the master when changes are made. If the level falls below a
minimum (<=10%), an alarm is sent to the master. The pumping station must
be activated by the operator to fill the elevated tank. If the maximum is reached
(>= 90%), an alarm is sent again to the operator that intervention is required to
prevent the elevated tank from overflowing. The operator can drain water from
the elevated tank via a valve.
2. In the station "Pumpstation" (ET 200SP) a valve can be controlled by the
operator. Depending on the valve position, the pump is activated or
deactivated.
3. In the station "stormwater overflow tank" (S7-1200) the filling level is simulated
and if there is a value change it is sent to the master.

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 8
2 Solution

2.2 Components used


This application example has been created with the following hardware and
software components:
Table 2-1
Component Num Article number Note
ber
SIMATIC Field PG M6 1 6ES7718-0....-0...
CPU 1511-1 PN 1 6ES7511-1AK01-0AB0 Firmware V2.6 or higher
TIM 1531 IRC 1 6GK7543-1MX00-0XE0 Firmware V2.0 or higher
CPU 1214C DC/DC/DC 1 6ES7214-1AG40-0XB0 Firmware V3.0 or higher
CP 1243-1 1 6GK7243-1BX30-0XE0 Firmware V3.1 or higher
It can also be a
CP 1243-7 LTE
(Firmware V3.3 or
higher) or a
CP 1243-8 IRC
(Firmware V3.0 or
higher).
CPU 1510SP-1 PN 1 6ES7512-1DJ01-0AB0 Firmware V2.6 or higher
CP 1542SP-1 IRC 1 6GK7542-6VX00-0XE0 Firmware V2.0 or higher
WinCC V7.5 SP1 1 6AV6381-2CB07-5AX0 Service Pack 1 for
© Siemens AG 2022 All rights reserved

WinCC V7.5 :
https://support.industry.si
emens.com/cs/ww/en/vie
w/109772879
SIMATIC TeleControl 1 6DL5000-7AA47-0XA5
7.4 for WinCC Basic
Engineering
SIMATIC TeleControl 1 6DL5002-7AA47-0XA0
7.4 for WinCC Server
Runtime (6 Stations)
TeleControl IEC Driver 1 6DL5101-8EX00-0XB0 Patch 2
https://support.industry.si
emens.com/cs/ww/en/vie
w/109774012
STEP 7 PROF V17 1 6ES7822-1AA07-0YA5

Example files and projects


This application example consists of the following components:
Table 2-2
Component File name Note
Documentation 87447188_IEC_Telecontrol_DOC_V40_en.pdf This document
Project 87447188_IEC_Telecontrol_CODE_V40.zip This compressed
file contains:
• STEP 7 V17
Project
• WinCC 7.5
SP1 Project

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 9
3 Basics of IEC 60870-5

3 Basics of IEC 60870-5


IEC 60870-5 is a telecontrol protocol that enables the transmission of process data
via serial (IEC 60870-5-101) or IP-based (IEC 60870-5-104) communication.
The most important aspect of standard protocols is the high compatibility and
interoperability between devices from different manufacturers.

ASDU Addresses
The IEC protocol defines a master, e.g. the computer from which the service
personnel can operate and monitor the plant, and the outstations, the remote
stations, often also called RTU (Remote Terminal Unit).
Each IEC device must have a unique address. Using this address, the message
frames can be sent to the correct partner.
The source and destination addresses (ASDU addresses) of a telegram are sent
with the process data, so the receiver knows to whom it must respond.
In this application example, process data is sent and received between four
devices. The communication takes place between the master and the
S7-1500 Station / S7-1200 Station / ET 200SP Station.
The addresses are assigned in this application example as shown in the following
figure.
Figure 3-1
© Siemens AG 2022 All rights reserved

Master
100
WinCC
TeleControl

PROFINET / IE

ET 200SP
S7-1200 with CP 1542SP-1 IRC
with CP 1243-1
2 3

S7-1500
1
TIM 1531 IRC

No. ASDU address

You can select an address between 1 and 65535.

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 10
3 Basics of IEC 60870-5

NOTE The configuration of the master is done in the WinCC Explorer. The configuration
of the stations is carried out in the TIA Portal. During the connection
configuration the configured master address must be specified.
© Siemens AG 2022 All rights reserved

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 11
4 Program overview

4 Program overview
This chapter briefly explains the program structure of the application example.
The supplied code contains the following files:
• STEP 7 V17 project
• WinCC V7.5 SP1 project

4.1 STEP 7 V17 projects (IEC stations)


The IEC stations are configured in the STEP 7 project. The focus of the application
example is on the configuration of the devices in the TIA Portal. The configuration
of the devices is described in chapter 5. To illustrate the functions of the
IEC 60870-5 protocol, a simulation was created that is based on a
water/wastewater application (greatly simplified).

NOTICE This application example can only be used for test purposes!

4.2 WinCC project (IEC master)


The HMI system is configured in SIMATIC WinCC. In addition, the add-on software
© Siemens AG 2022 All rights reserved

WinCC TeleControl is used to configure the IEC master. The IEC configuration of
the master is described in detail in chapter 6. For the process data, a group was
created for each station in the "Tag Management". The names of the tags do not
have to match the names of the objects in the station configuration, but it is
important that the configuration of the objects matches the station (group, variation,
class, etc.).
Figure 4-1

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 12
4 Program overview

4.3 Overview of data points


The following tables provide an overview of the data points that are configured in
this application example.
The data points of the IEC master are provided with a prefix.
The data point type indicates which objects/data points are commands, binary or
analog values. The class indicates whether they are static data or events.

Data points S7-1200


Table 4-1: Data points station S7-1200
STEP 7 WinCC Data point type Index
FillLevel S7-1200_FillLevel Measured value, short floating point 1
number with time tag CP56Time2a
<36>
ValveOutOpen S7-1200_ Single command with time tag 2
ValveOutOpen CP56Time2a <58>
ValveOutClose S7-1200_ Single command with time tag 3
ValveOutClose CP56Time2a <58>

Data points S7-1500


© Siemens AG 2022 All rights reserved

Table 4-2: Data points station S7-1500


STEP 7 WinCC Data point type Index
FillLevel S7-1500_FillLevel Measured value, short floating point 1
number with time tag CP56Time2a
<36>
FillLevelAlarm S7-1500_ Single-point information with time tag 2
FillLevelAlarm CP56Time2a <30>
ValveOutOpen S7-1500_ Single command with time tag 3
ValveOutOpen CP56Time2a <58>
ValveOutClose S7-1500_ Single command with time tag 4
ValveOutClose CP56Time2a <58>
ValveOutState S7-1500_ Single-point information with time tag 5
ValveOutState CP56Time2a <30>
ValveInOpen S7-1500_ValveInOpen Single command with time tag 6
CP56Time2a <58>
ValveInClose S7-1500_ValveInCose Single command with time tag 7
CP56Time2a <58>
ValveInState S7-1500_ValveInState Single-point information with time tag 8
CP56Time2a <30>

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 13
4 Program overview

Data points ET 200SP


Table 4-3: Data points station ET 200SP
STEP 7 WinCC Data point type Index
PumpActivated ET200SP_PumpActivated Single-point information with time 1
tag CP56Time2a <30>
ValveInOpen ET200SP_ValveInOpen Single command with time tag 2
CP56Time2a <58>
ValveInClose ET200SP_ValveInClose Single command with time tag 3
CP56Time2a <58>
ValveInState ET200SP_ValveInState Single-point information with time 4
tag CP56Time2a <30>

4.4 Addresses in the example


The following IP and ASDU addresses are used to configure the example in the
LAN:

Table 4-4: IP- / ASDU Adresses


Station Module IP address Subnet mask ASDU
address
© Siemens AG 2022 All rights reserved

IEC master SIMATIC PC station 192.168.1.100 255.255.255.0 100


S7-1500 TIM 1531 IRC X1 192.168.0.11 255.255.255.0 1
X2 192.168.1.1 255.255.255.0
X3 192.168.2.1 255.255.255.0
S7-1200 CP 1243-1 192.168.1.2 255.255.255.0 2
ET 200SP CP 1542SP-1 IRC 192.168.1.3 255.255.255.0 3

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 14
5 IEC configuration in the TIA Portal

5 IEC configuration in the TIA Portal


The configuration of the hardware and the IEC configuration for the clients takes
place in STEP 7 V17. No additional tool is required.

5.1 Device configuration


In the "Device configuration" both the hardware and the IEC parameters that are
relevant for the entire station are configured. Make the settings as follows:

NOTE The following description assumes that the WinCC runtime is started on the
programming computer.
© Siemens AG 2022 All rights reserved

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 15
5 IEC configuration in the TIA Portal

5.1.1 WinCC V7.5 as an IEC master

1. Add a "PC station" to your project.

2. Add a communication module "IE general".


© Siemens AG 2022 All rights reserved

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 16
5 IEC configuration in the TIA Portal

3. Add a user application "Application”

4. Network the communication module with a new subnet "IEC 60870-5"


"IE general > Properties > Ethernet addresses > Interface networked with >
Add new subnet").
© Siemens AG 2022 All rights reserved

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 17
5 IEC configuration in the TIA Portal

5. Adjust the IP address and subnet mask according to Table 4-4.


© Siemens AG 2022 All rights reserved

6. Give the PC station a meaningful name and translate the PC station


"SIMATIC PC station > General > Computer name".

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 18
5 IEC configuration in the TIA Portal

5.1.2 Station S7-1200 with CP 1243-1 or ET 200SP with CP 1542SP-1 IRC

In order for an S7-1200 or an ET 200SP CPU to work as an IEC station, some


settings must be observed. These are described in the following chapter using an
S7-1200 as an example.

Hardware configuration
1. Add your SIMATIC S7-1200 CPU with a CP 1243-1 to the project
"Communication modules > Industrial Remote Communication > CP 1243-1".
2. Activate the "Telecontrol communication"
“CP 1243-1 > Properties > Communication types > Enable telecontrol
communication".
© Siemens AG 2022 All rights reserved

3. Select "IEC 60870-5" from the "Protocol type" drop-down list.


4. Enable the online functions
"CP 1243-1 > Properties > Communication types > Enable online functions".

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 19
5 IEC configuration in the TIA Portal

5. Add the “Ethernet interface [X1] to the subnet "IEC 60870-5"


"CP 1243-1 > Properties > Ethernet interface [X1] > Interface networked with".

6. Adjust the IP address and subnet mask according to Table 4-4.


© Siemens AG 2022 All rights reserved

7. Enter an ASDU address for the IEC station (e.g. 2)


“CP 1243-1 > Properties > Subscriber numbers > ASDU address".

NOTE The ASDU address assigned here must be entered in the configuration of the
master station.

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 20
5 IEC configuration in the TIA Portal

Configuring the TeleControl connection


1. Change to the network view.
2. Open the "Network data" editor and switch to the "TeleControl" tab.
3. Now switch to the "IEC 60870" tab and add a new connection.

3 2 1

4. Select the S7-1200 station as start point and the CP 1243-1 as start interface.
5. Select the application of the PC station as the end point and the IE interface of
the PC station as the end interface.
6. Enter the end subscriber number (e.g. 100). This number is the subscriber
number of the master station.
7. Under partner list, enter the subscriber number of the S7-1200.

Result:
The TeleControl connection is now configured for the client station.
© Siemens AG 2022 All rights reserved

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 21
5 IEC configuration in the TIA Portal

Data point configuration


1. Create a data block that contains all variables that are to be exchanged with
the IEC master.
2. Open the data point settings via the project navigation "S7-1200 > Local
modules > CP 1243-1" and double-click on "Data points".
3. Add a new data point. Link it to a tag of the previously created data block.

NOTE The "Datapoint index" is assigned automatically. You need the index number for
the configuration of the variable on the IEC master.

4. Assign the desired type to the data point and activate value monitoring so that
the type of transmission (class) can be selected. The IEC type is displayed in
brackets next to the data point type.
5. Select the IEC master as partner of the data point.
© Siemens AG 2022 All rights reserved

6. Adjust the options under "Trigger" and "Output options".

NOTE The settings made here must match the data point configuration in the IEC
master.

7. Repeat the configuration for all required data points.


8. Compile and load the configuration into your device.

NOTE The configuration of the ET 200SP is analogous to the S7-1200.

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 22
5 IEC configuration in the TIA Portal

5.1.3 Station S7-1500 with TIM 1531 IRC

To operate an S7-1500 as an IEC station, you need a TIM 1531 IRC. The TIM is
not configured like a classic CP, but as an independent device.

Device configuration
1. Add a S7-1500 CPU and a TIM 1531 IRC to your project.
2. Connect the S7-1500 to a TIM interface (e.g. in the network view of the device
configuration). Connect another interface of the TIM with the subnet
"IEC 60870-5".
© Siemens AG 2022 All rights reserved

3. Activate the "Telecontrol communication"


("TIM 1531 IRC > Properties > Communication types > Enable telecontrol
communication").
4. Select "IEC 60870-5" from the "Protocol type" drop-down list.

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 23
5 IEC configuration in the TIA Portal

5. Switch to "Ethernet interface [X2]"


6. Under "WAN settings" select "IEC 60870-5" as the network type and "Station"
as the network node type.
7. Add the interface to the "IEC 60870-5" subnet.
8. Adjust the IP address and subnet mask according to the Table 4-4.

9. Switch to "Subscriber numbers".


10. Select the S7-1500 as "Assigned CPU".
11. Assign an ASDU address ("ASDU address") (e.g. 1).
© Siemens AG 2022 All rights reserved

NOTE The ASDU address assigned here must be entered in the configuration of the
master station.

The configuration of the TeleControl connection and the configuration of the


data points is identical to the S7-1200 or ET 200SP. Use the configuration
steps in chapter 5.1.2.

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 24
5 IEC configuration in the TIA Portal

5.2 Server Redundancy Setup


If you want to create server redundancy, you can do so as follows.
1. Create an IEC master with 2 Ethernet interfaces and network them with the
subnet " IEC 60870-5". A detailed description of this can be found in
chapter 5.1.1.
© Siemens AG 2022 All rights reserved

2. Change to the network view.


3. Open the "Network data" editor and switch to the "TeleControl" tab.
4. Now switch to the "IEC 60870-5" tab and add a new connection.

2
3

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 25
5 IEC configuration in the TIA Portal

5. Select the S7-1200 station as start point and the CP 1243-1 as start interface.
6. Select the application of the PC station as the end point.

7. Start the "Add connection path" dialog.

Result:
Two connection paths are displayed.
8. Select the first connection path and add it.
© Siemens AG 2022 All rights reserved

9. Repeat this procedure for the second connection path.

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 26
5 IEC configuration in the TIA Portal

Result:
Both routes are created and the interfaces are entered automatically.

10. Perform these steps for the other devices as well.


© Siemens AG 2022 All rights reserved

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 27
6 IEC configuration for the IEC master

6 IEC configuration for the IEC master


The IEC configuration of the master takes place in the SIMATIC WinCC Explorer.
The WinCC TeleControl add-on software is required for this. Make the settings in
WinCC as described in the following chapters.

6.1 Inserting the IEC driver


1. Open WinCC Explorer and create a new project.
2. Open the Task Management.
3. Add the TeleControl channel "tcchannel".

4. Add a new connection.


© Siemens AG 2022 All rights reserved

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 28
6 IEC configuration for the IEC master

5. Open the connection configuration.

Result:
The "Connection configuration" window opens.
6. Switch to the "PC Station View" tab.
© Siemens AG 2022 All rights reserved

7. Adjust the ASDU address Table 4-4.

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 29
6 IEC configuration for the IEC master

8. Then switch to the AS View tab.

9. Create an IEC connection ("IECCONN" node) for the CP of the S7-1200


station.
© Siemens AG 2022 All rights reserved

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 30
6 IEC configuration for the IEC master

10. Select "104" as the protocol type and open the connection configuration.

11. Enter the IP address of the CP 1243-1 (192.168.1.2).


12. Select "Unstructured" as the object structure so that the object addressing
does not have to be specified in octets.
© Siemens AG 2022 All rights reserved

13. Confirm twice with "OK".

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 31
6 IEC configuration for the IEC master

14. Now add a node for the RTU "S7-1200" (IECRTU).

15. Assign a node name and enter the ASDU address. Then open the connection
configuration.
© Siemens AG 2022 All rights reserved

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 32
6 IEC configuration for the IEC master

16. Select "Direct" as the connection type.


17. Select the previously created connection ("CP_1243-1") from the drop-down
list.
18. Confirm the settings twice with "OK".
© Siemens AG 2022 All rights reserved

19. Repeat the project engineering for each additional IEC station.
20. Close all windows with "OK".

NOTE The system tags are created automatically after the TIM (or CP) and CPU have
been configured in the System Parameters tab.
The description of these tags can be found in the "User Manual for WinCC
TeleControl", which is delivered with the WinCC TeleControl software.

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 33
6 IEC configuration for the IEC master

6.2 Tag configuration


In order for the data points to be sent and received by the master, they must be
configured in WinCC "Tag Management". Make the settings for this as follows:

1. Open WinCC Tag Management.


2. Create a new tag by double-clicking on it and assign it a unique name.

3. Select the data type and then open the address configuration.
© Siemens AG 2022 All rights reserved

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 34
6 IEC configuration for the IEC master

4. Adjust the settings to the configuration of the corresponding data point in the
CPU.
© Siemens AG 2022 All rights reserved

5. Repeat steps 2 to 4 for the other data points.

NOTE Tag Management offers you a grouping of tags. This increases the clarity for a
large number of tags.

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 35
6 IEC configuration for the IEC master

6.3 Setting up the Tag Logging


To ensure that the DNP3 objects can be completely archived and displayed by the
master, you have to make some settings in the WinCC.
1. Open the WinCC "Tag Logging".
© Siemens AG 2022 All rights reserved

2. Create a new "Process Value Archive". Further settings are not necessary.

3. Open the archive you have just created and add the variables to be archived.

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 36
6 IEC configuration for the IEC master

4. Adjust the "Acquisition type" and the "Archiving/display cycle".


© Siemens AG 2022 All rights reserved

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 37
7 Installation

7 Installation
This chapter provides installation instructions for the hardware and software
required to operate this example application.

7.1 Hardware installation


The hardware components can be found in chapter 2.2. Proceed as follows for the
hardware setup:
1. Mount the individual modules on a suitable carrier.
2. Connect the components to a 24 V DC power source.

NOTE Make sure the polarity is correct.

3. Connect all components to the power supply.

NOTE The CP 1243-1 is supplied via the CPU.

4. When all stations are configured and loaded, they connect the devices
© Siemens AG 2022 All rights reserved

according to the configuration as described in Figure 2-1.

NOTE Only switch on the power supply after you have completed and checked the
assembly!

NOTE The installation guidelines for the installation of all components must generally
be observed.

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 38
7 Installation

7.2 Installing the software


In this application example, the configuration computer is also used as IEC master
at the same time.
If you use separate computers for project engineering and for the IEC master, the
following software must be installed on the IEC master computer:
• SIMATIC WinCC Server Runtime V7.5 SP1
• SIMATIC TeleControl Server V7.4 with Patch 2

Installation sequence
Install the software listed in Table 2-1. Make sure that WinCC TeleControl cannot
be installed until SIMATIC WinCC has been installed.

NOTE Follow the instructions for installing the software in the manuals for the
respective software.

7.3 Installing the application software


Follow the steps below to install the sample code.
© Siemens AG 2022 All rights reserved

1. Download the code for this application example from the corresponding article
page.
2. Unzip the file "87447188_IEC_Telecontrol_CODE_V40.zip" and open the
project. The project is located in the subfolder "TIA Portal".
3. Log in with the following user data:
– User name: "administrator"
– Password: "administrator"

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 39
8 Commissioning

8 Commissioning
Download the zipped project file from the article page and unzip it.

Downloading stations
Load the configurations into the stations and into the TIM 1531 IRC as described.
1. Assign the IP address to your IEC master from Table 4-4.
2. Open the TIA Portal project.
3. Load the S7 stations.

NOTE The ER-LED of the CP 1542SP-1 IRC flashes RED until a TeleControl
connection is established.
© Siemens AG 2022 All rights reserved

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 40
9 Operation of the application example

9 Operation of the application example


If the stations are configured and loaded, the application example can be operated.
Open the WinCC project in the WinCC Editor and start the WinCC Runtime.
Figure 9-1

1. Outstation "stormwater overflow tank"


© Siemens AG 2022 All rights reserved

This is controlled/simulated by a SIMATIC S7-1200. The filling level fills up


automatically to 100 %. When the pumping station is activated, water is taken
from the tank. There is no direct operating option.
2. Outstation "pumping station"
This is controlled/simulated by a ET 200SP. The valve can be activated to fill
the elevated tank. The pump is controlled according to the valve status and
flashes red when it is active.
3. Outstation "elevated tank"
This is controlled/simulated by a SIMATIC S7-1500. The valve can be
activated to empty the elevated tank. If the level drops below 10% or rises
above 90%, an alarm is sent to the server and the level indicator flashes red.
4. End the runtime

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 41
10 Appendix

10 Appendix
10.1 Service and support
Industry Online Support
Do you have any questions or need assistance?
Siemens Industry Online Support offers round the clock access to our entire
service and support know-how and portfolio.
The Industry Online Support is the central address for information about our
products, solutions and services.
Product information, manuals, downloads, FAQs, application examples and videos
– all information is accessible with just a few mouse clicks:
support.industry.siemens.com

Technical Support
The Technical Support of Siemens Industry provides you fast and competent
support regarding all technical queries with numerous tailor-made offers
– ranging from basic support to individual support contracts.
Please send queries to Technical Support via Web form:
siemens.com/SupportRequest
© Siemens AG 2022 All rights reserved

SITRAIN – Digital Industry Academy


We support you with our globally available training courses for industry with
practical experience, innovative learning methods and a concept that’s tailored to
the customer’s specific needs.
For more information on our offered trainings and courses, as well as their
locations and dates, refer to our web page:
siemens.com/sitrain

Service offer
Our range of services includes the following:
• Plant data services
• Spare parts services
• Repair services
• On-site and maintenance services
• Retrofitting and modernization services
• Service programs and contracts
You can find detailed information on our range of services in the service catalog
web page:
support.industry.siemens.com/cs/sc

Industry Online Support app


You will receive optimum support wherever you are with the "Siemens Industry
Online Support" APP. The app is available for iOS and Android:
support.industry.siemens.com/cs/ww/en/sc/2067

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 42
10 Appendix

10.2 Industry Mall

The Siemens Industry Mall is the platform on which the entire siemens Industry
product portfolio is accessible. From the selection of products to the order and the
delivery tracking, the Industry Mall enables the complete purchasing processing –
directly and independently of time and location:
mall.industry.siemens.com

10.3 Links and literature


Table 10-1
No. Topic
\1\ Siemens Industry Online Support
https://support.industry.siemens.com
© Siemens AG 2022 All rights reserved

\2\ Link to this entry page of this application example


https://support.industry.siemens.com/cs/ww/en/view/87447188
\3\ Overview: Secure Remote Access with VPN
https://support.industry.siemens.com/cs/ww/en/view/26662448
\4\ SIMATIC TeleControl V7.4 use with WinCC V7.5 SP1
https://support.industry.siemens.com/cs/ww/en/view/109774012
\5\ SIMATIC NET: S7-1500 - TeleControl TIM 1531 IRC
https://support.industry.siemens.com/cs/ww/en/view/109748454
\6\ SIMATIC NET: ET 200SP - Industrial Ethernet CP 1542SP-1, CP 1542SP-1 IRC
and CP 1543SP-1
https://support.industry.siemens.com/cs/ww/en/view/109741690
\7\ SIMATIC NET: S7-1200 - TeleControl CP 1243-1
https://support.industry.siemens.com/cs/ww/en/view/103948898
\8\ WinCC V7.5 SP1: Working with WinCC
https://support.industry.siemens.com/cs/ww/en/view/109773058
\9\ Service Pack 1 for WinCC V7.5 :
https://support.industry.siemens.com/cs/ww/en/view/109772879

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 43
10 Appendix

10.4 Change documentation


Table 10-2
Version Date Modifications
V1.0 05/2014 First version
V2.0 09/2019 Complete revision. Creation of a variant with IEC 60870-5-
104 protocol
V3.0 01/2021 Update to TIA Portal V16 and addition of chapter 5.2
V3.1 02/2021 New chapter 6.3
V4.0 11/2022 Update to TIA Portal V17 and WinCC 7.5 SP1
© Siemens AG 2022 All rights reserved

Telecontrol via IEC protocol


Entry-ID: 87447188, V4.0, 11/2022 44

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy