IEC Telecontrol DOC V40 en
IEC Telecontrol DOC V40 en
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.
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
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
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
NOTE The scenario is typically put into operation with VPN tunnels. The configuration
required for this is not covered in this document.
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
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.
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
PROFINET / IE
Scalance
VPN-Tunnel
M874-3
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.
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
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
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
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
NOTICE This application example can only be used for test purposes!
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
NOTE The following description assumes that the WinCC runtime is started on the
programming computer.
© Siemens AG 2022 All rights reserved
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
NOTE The ASDU address assigned here must be entered in the configuration of the
master station.
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
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
NOTE The settings made here must match the data point configuration in the IEC
master.
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
NOTE The ASDU address assigned here must be entered in the configuration of the
master station.
2
3
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.
Result:
Two connection paths are displayed.
8. Select the first connection path and add it.
© Siemens AG 2022 All rights reserved
Result:
Both routes are created and the interfaces are entered automatically.
Result:
The "Connection configuration" window opens.
6. Switch to the "PC Station View" tab.
© Siemens AG 2022 All rights reserved
10. Select "104" as the protocol type and open the connection configuration.
15. Assign a node name and enter the ASDU address. Then open the connection
configuration.
© 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.
3. Select the data type and then open the address configuration.
© Siemens AG 2022 All rights reserved
4. Adjust the settings to the configuration of the corresponding data point in the
CPU.
© Siemens AG 2022 All rights reserved
NOTE Tag Management offers you a grouping of tags. This increases the clarity for a
large number of tags.
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.
7 Installation
This chapter provides installation instructions for the hardware and software
required to operate this example application.
4. When all stations are configured and loaded, they connect the devices
© Siemens AG 2022 All rights reserved
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.
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.
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"
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
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
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
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