ET200SPMS RD WR DOC V11 en
ET200SPMS RD WR DOC V11 en
ET200SPMS RD WR DOC V11 en
Siemens
ET 200SP / Motor starter: Industry
Online
https://support.industry.siemens.com/cs/ww/de/view/109750305 Support
Warranty and Liability
Note The Application Examples are not binding and do not claim to be complete regarding the
circuits shown, equipping and any eventuality. The Application Examples do not represent
customer-specific solutions. They are only intended to provide support for typical
applications. You are responsible for ensuring that the described products are used
correctly. These Application Examples do not relieve you of the responsibility to use safe
practices in application, installation, operation and maintenance. When using these
Application Examples, you recognize that we cannot be made liable for any
damage/claims beyond the liability clause described. We reserve the right to make
changes to these Application Examples at any time without prior notice.
If there are any deviations between the recommendations provided in these Application
Examples and other Siemens publications – e.g. Catalogs – the contents of the other
documents have priority.
We do not accept any liability for the information contained in this document.
Any claims against us – based on whatever legal reason – resulting from the use of
the examples, information, programs, engineering and performance data etc.,
described in this Application Example shall be excluded. Such an exclusion shall
not apply in the case of mandatory liability, e.g. under the German Product Liability
Act (“Produkthaftungsgesetz”), in case of intent, gross negligence, or injury of life,
body or health, guarantee for the quality of a product, fraudulent concealment of a
deficiency or breach of a condition which goes to the root of the contract
(“wesentliche Vertragspflichten”). The damages for a breach of a substantial
contractual obligation are, however, limited to the foreseeable damage, typical for
Siemens AG 2017 All rights reserved
the type of contract, except in the event of intent or gross negligence or injury to
life, body or health. The above provisions do not imply a change of the burden of
proof to your detriment.
Any form of duplication or distribution of these Application Examples or excerpts
hereof is prohibited without the expressed consent of the Siemens AG.
Security Siemens provides products and solutions with industrial security functions that support the
informa- secure operation of plants, systems, machines and networks.
tion 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 only form one element of such a
concept.
Customer is responsible to prevent unauthorized access to its plants, systems, machines
and networks. Systems, machines and components should only be connected to the
enterprise network or the internet if and to the extent necessary and with appropriate
security measures (e.g. use of firewalls and network segmentation) in place.
Additionally, Siemens’ guidance on appropriate security measures should be taken into
account. For more information about industrial security, please visit
http://www.siemens.com/industrialsecurity.
Siemens’ products and solutions undergo continuous development to make them more
secure. Siemens strongly recommends to apply product updates as soon as available and
to always use the latest product versions. Use of product versions that are no longer
supported, and failure to apply 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 http://www.siemens.com/industrialsecurity.
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 2
Table of Contents
Table of Contents
Warranty and Liability .............................................................................................. 2
1 Introduction .................................................................................................... 4
1.1 Overview ........................................................................................... 4
1.2 Mode of operation.............................................................................. 4
1.3 Components used ............................................................................. 5
2 Engineering .................................................................................................... 6
2.1 Setup of control system ..................................................................... 6
2.2 Configuration and settings ................................................................. 6
3 Block description ........................................................................................... 7
3.1 Program structure .............................................................................. 7
3.1.1 “MstarterSelect [FB1]”........................................................................ 9
3.1.2 “MotorCurrentFromPll[FC3]” ............................................................ 11
3.1.3 “MeasuredValues [FC2]” .................................................................. 12
3.1.4 “Statistic [FC4]” and “SecToTime [FB40]”......................................... 13
3.1.5 “RdRecWrRec [FB5]” ....................................................................... 14
3.1.6 “ConversionLogbook [FC1]” ............................................................. 16
3.1.7 Controlling the process image of the outputs.................................... 16
4 Operating the application example .............................................................. 17
4.1 Overview ......................................................................................... 17
Siemens AG 2017 All rights reserved
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 3
1 Introduction
1 Introduction
1.1 Overview
This application example offers you the possibility to acyclically query and, if
necessary, change all available data sets and parameters of the ET200SP motor
starter (3RK1308-0**00-0CP0) via a panel and during operation.
The following figure shows the setup of the components used in the application
example.
Figure 1-1 setup of the application example
CPU 1513-1 PN ET 200SP System Comfort Panel TP700
Siemens AG 2017 All rights reserved
PROFINET IE
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 4
1 Introduction
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 5
2 Engineering
2 Engineering
2.1 Setup of control system
The control system setup from the network view in TIA Portal is exemplary shown
in the following figure and may vary from your configuration.
Figure 2Structure of control system
More information about the system structure with the ET 200SP motor starter can
be found in the “SIMATIC ET 200SP Distributed I/O System” system manual(\7\).
The empty module must be regarded as empty slot also in the hardware
configuration.
Figure 2-1 Hardware configuration ET 200SP System
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 6
3 Block description
3 Block description
3.1 Program structure
To be able to integrate the functions of the application example into your project,
the "109750305_ET200SPMS_Rd_Wr_LIB_V1.zip” block library
And the “109750305_ET200SPMS_Rd_Wr_PROJ_V1.zip" project is available to
you as download (\2\).
The program sequence depends on the number of the motor starters used in the
system and needs to be adjusted to your setup. This example is built with two ET
200SP motor starters.
Figure 3-1 Program structure
MotorCurre
ntFromPll
[FC3]
Mstarter
Select
Main [FB1]
DataMotor
Siemens AG 2017 All rights reserved
starter
RdRecWr
[DB10]
Rec[FB5]
Conversion HMI
Logbook Interface
[FC1]
[DB7]
Measured
Values
[FC2]
Statistic
[FC4]
SecTo
Time
[FB40]
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 7
3 Block description
To facilitate the use of the data sets, this application example uses the data types
for the ET 200SP motor starter. These data types can be found in the Industry
Online Support (see /6/).
The “typeDataMotorStarter” data type has been newly created for the example. In
this data type, all available data types for the ET 200SP motor starter have been
integrated. It serves to assign the data of the ET 200SP motor starter, that are
stored in “DataMotorstarter[DB10]”.
The “typeFpLogbook” data type has also been newly created for the example and
consists of 21 entries which represent the scope of the logbooks and are nested in
the “typeDataMotorStarter” data type. The entries of the “typeFpLogbook” data type
again subdivide into a “typeFpLogbookEntry” data type. It contains the information
of object number, day, hours, minutes and seconds which are calculated in the
“ConversionLogbook [FC1]” and stored on the “DataMotorstarter [DB10]” data
Siemens AG 2017 All rights reserved
block.
In the following chapters, the program blocks are explained.
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 8
3 Block description
Via the “MstarterSelect [FB1]” function block, the information from the HMI, which
motor starter is currently selected at the panel, is transmitted. Additionally, the
process image of the inputs is read in in this block.
The following figure shows the call of the “MstarterSelect” block.
Figure 3-2 Interconnected “MstarterSelect” FB1
Siemens AG 2017 All rights reserved
The activation of the process image of the outputs is done separately in the OB1,
so that there will not be any double accesses of the outputs in the further course of
your application, see chapter 3.1.7 “Controlling the process image of the “.
The “MstarterSelect” function block has the following inputs and inputs/outputs:
Table 3-1 Inputs and inputs/outputs of the “MstarterSelect” FB
Name Data type Description
selectedStarter Int Here, the panel reads in the information about which
motor starter has been selected.
motorStarterInput1 "LPD_type Input address of the respective ET 200SP motor
Motor starter. In this example, the process image of the
StarterIn" inputs for the motor starter has been stored in the
motorStarterInput2 "LPD_type global tag chart on the “motorStarter1/2In” tags with
the “LPD_typeMotorStarterIn” data type. The status
Motor
of the inputs is stored on the “dataMotorstarter”
StarterIn"
output tag in the block.
dataMotorstarter Array[0..1] of Contains the information of the motor starters that are
“typeDataMo stored after the RDREC or WRREC request.
torStarter”
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 9
3 Block description
Note If you use more than two ET 200SP motor starters in your system setup, you
need to extend the block with further inputs and outputs.
The following figure exemplary shows, how the program needs to be adjusted for
the use of 20 ET 200SP motor starters.
Figure 3-3 Exemplary program extension “MstarterSelect” [FB1]
Siemens AG 2017 All rights reserved
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 10
3 Block description
3.1.2 “MotorCurrentFromPll[FC3]”
Note If you use more than two ET 200SP motor starters in your system setup, you
need to extend the block with further inputs and outputs.
The following figure exemplary shows, how the program needs to be adjusted for
the use of 20 ET 200SP motor starters.
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 11
3 Block description
This block serves to convert the phase current that is read from the data set 94
(reading measured values). The value of each phase is stored as byte in the data
set and converted as real value in the function.
The following figure shows the call of the “Measured Values” function.
Figure 3-6 Interconnected “MeasuredValues” FC2
Siemens AG 2017 All rights reserved
valueIL3 Real
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 12
3 Block description
In the “Statistic [FC4]” block, the operating hours counter (which is read from the
data set 95 as second value) is converted into days, hours, minutes and seconds.
The conversion is done via the “SecToTime [FB40]” function block that is called up
in this block. The basic function of the “SecToTime [FB40]” block was taken from
the “MillisecToTime” function(\8\).
The converted values are transferred to the HMI via the “HMIInterface” DB.
The following figure shows the interconnected “Statistic” block.
Figure 3-7 Interconnected “Statistic” FC4
Siemens AG 2017 All rights reserved
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 13
3 Block description
The main function of the read/write example of the data sets is realized via the
“RdRecWrRec [FB5]” function block. The data sets are read via the RDREC
function and written via the WRREC function.
The following data sets are read:
– Logbooks (Data set 72, 73 and 75)
– Diagnosis (Data set 92)
– Measured values (Data set 94)
– Statistical data (Data set 95)
– Parameters (Data set 201 and 203)
This block needs to be called up separately for each motor starter in the system.
The information that are read from/ written to the data sets are stored in an array in
the “DataMotorstarter [DB10]” data block. For each motor starter, there is a
separate field reserved in the array.
This means that in this example, an array with two fields is created in DB10. If, for
example, you use 20 ET 200SP in your setup, you create an array with 20 fields
(“Array [0..19] of "typeDataMotorStarter”).
The following figure shows the “DataMotorstarter” DB of the application example.
Figure -3-8 Array DataMotorstarter DB10
Siemens AG 2017 All rights reserved
The array consists of a compound data type with the name “typeDataMotorStarter”.
The following figure shows the setup of the “typeDataMotorStarter” data type.
Figure -3-9 Setup of the array DataMotorstarter DB10
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 14
3 Block description
The following figure shows the call of the “RdRecWrRec” data block.
Figure 3-10 Interconnected “RdRecWrRec” FB5
reqSelectedStarter Bool Serves as trigger to consecutively read out all data sets
of the desired motor starter and to always receive
current information from the data sets.
dataMotorstarter "typeData Contains the information of the corresponding motor
Motor starter that are stored after the RDREC or WRREC
Starter" request. Here, it is switched to the corresponding array
of the created motor starter.
reqRd Bool Serves as trigger for a manual read request.
reqWr Bool Serves as trigger for a manual write request.
Note The number of simultaneous diagnostic data calls via the “RDREC” system
function used in the function block is limited, depending on the CPU used. The
number of possible simultaneous calls can the found in the CPU’s manual (\3\).
Reference value for CPU 1500: 10 simultaneous calls.
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 15
3 Block description
During the read-out of the motor starter’s logbooks, the operating hours of the
device and an object number for each event are read. The operating hours counter
is specified as second value. To make a precise statement as to when an event
took place, this second value is converted into days, hours, minutes and seconds
in the “ConversionLogbook[FC1]” function. After the read-out of the logbooks
DS72, DS73 and DS75, the block is called up in the “RdRecWrRec [FB5]” function
block.
In order to make sure that there are no simultaneous accesses to the process
image of the ET 200SP motor starters’ outputs from multiple points, the outputs are
individually described in OB1. This way, you can integrate your additional switching
conditions at this interface for your application.
In this example, the process image of the outputs for the motor starter has been
stored in the global tag chart on the “motorStarter1/2Out” tags with the
“LPD_typeMotorStarterOut” data type.
To be able to switch the outputs via the HMI image “motor control”, the outputs of
the used motor starter need to be switched in OB1. If you use more than two ET
200SP motor starters in your system setup, you need to extend the switching
accordingly.
Siemens AG 2017 All rights reserved
The following figure shows the interconnection of the process image of the outputs,
using the example of “motorStarter1Out”.
Figure 3-11 Exemplary switching of the process image of the outputs
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 16
4 Operating the application example
The HMI project consists of 6 screens. These screens display the read information
from the data sets of the used ET 200SP motor starter. Besides the system
diagnostics window, a start, a system and a support screen are also integrated.
In the following, it will be described in detail how to operate the individual screens.
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 17
4 Operating the application example
4.2 Operation
4.2.1 Toolbar
The individual screens are selected via the toolbar on the right. It is possible to
access the following screens from anywhere:
• Start screen
• Motor control
• Change parameters
• Device logbooks
• Device diagnosis
• Measured values
• Statistics
• System
• Support
The System diagnostics window offers you an overview of all available devices in
your plant. You navigate directly to the cause of the error and to the respective
device. You have access to all diagnostics-capable devices which you have
configured in the "Devices & Networks" editor.
Figure 4-3 Extract from the “System diagnostics window”
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 18
4 Operating the application example
In this application example, the contents of the HMI screens are generated as
faceplates. A faceplate is a block that makes it easier for you to connect the
individual process tags to the HMI. You also get the advantage of being able to use
the faceplate for several panels and to adjust it for each panel size.
Further information on faceplates can be found in the Industry Online Support(\9\).
To connect the process tags to the faceplate, click on the faceplate and go to
“Interface”. Now, all process tags to be connected are displayed.
Figure 4-4 Interface for the faceplate
To receive the correct values of the desired motor starter, you need to select a
motor starter after selecting an HMI screen. To do this, there is a dropdown menu
in the upper right corner.
Siemens AG 2017 All rights reserved
To expand the display and integrate further motor starters into this selection field,
and to adjust the names for your application, the dropdown menu can be adjusted
at “Screen templates > Template_Topic > Properties.
Figure 4-6 Editing the dropdown menu
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 19
4 Operating the application example
If you now open the text list “motorselection”, you can add further motor starters to
the selection by adding new entries to the text list (“Add new”).
Figure 4-7 Expanding the “motorselection” text list
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 20
4 Operating the application example
In the HMI screen “motor control”, the process image of the motor starter’s inputs
as well as the process image of the outputs is shown. This provides you with the
status of the selected motor starter and allows you to activate it manually, or reset
an error. Additionally, the current motor current is displayed in % and as real value
in [A] in the upper screen area.
Note The process image of the inputs and outputs are connected to the panel as
multiplex tags (DataMotorstarter_k.DataMotorStarterIn,
DataMotorstarter_k.DataMotorStarterOut). Please note that the “Symbolic
multiplexing” is available only for TIA Portal version V 14 and higher.
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 21
4 Operating the application example
In the HMI screen “Change parameters”, you have the option of adjusting the rated
operational current Ie. The entered value of the rated operational current needs to
be in the value range of the selected motor starter, otherwise, the parameter will
not be accepted. This means that, for an ET 200SP motor starter DS 0.9-3A (3RK1
308-0AC00-0CP0), only values between 0.9 - 3 can be entered. Parameters
cannot be written during motor operation. For a parameter change, the motor
needs to be stopped and the local manual operation needs to be deactivated.
Additionally, the parameters “Response to residual current detection” and
“Response to asymmetry” can be changed between “Warn” and “Tripping”.
Figure 4-10 Changing the parameters “Residual current detection” and “Asymmetry”
Note Please note that after a CPU restart or after module missing, the written
device parameter are written over again by the original parameterization
from the hardware configuration.
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 22
4 Operating the application example
You will see this note if you want to write the parameter.
Abbildung 4-11
Siemens AG 2017 All rights reserved
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 23
4 Operating the application example
Note The logbook entries are connected to the panel as multiplex tags. Please note
that the “Symbolic multiplexing” is available only for TIA Portal version V 14 and
higher.
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 24
4 Operating the application example
The following figure shows the HMI screen “Device logbook during a device error”.
Figure 4-14 HMI screen logbook “Device errors”
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 25
4 Operating the application example
The following figure shows part 1 of the HMI screen “Device diagnostics”.
Figure -4-15 HMI screen “Device diagnostics” 1
Siemens AG 2017 All rights reserved
Just like the logbooks, the HMI screen “Device diagnostics” consists of 3 individual
screens. Via the arrow keys in the lower right corner, you can navigate between the
screens.
In these screens, all diagnoses integrated into the ET 200SP motor starter are
displayed. In the last screen of the “Device diagnostics”, the diagnosis of the ET
200SP F-motor starter will be specifically addressed.
Note The process value of the device diagnosis is connected to the panel as multiplex
tag (DataMotorstarter_k.DataDS92). Please note that the “Symbolic multiplexing”
is available only for TIA Portal version V 14 and higher.
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 26
4 Operating the application example
The following figure shows part 2 of the HMI screen “Device diagnostics”.
Figure -4-16 HMI screen “Device diagnostics” 2
Siemens AG 2017 All rights reserved
From the DS92, a faulty parameter number can also be read. Here, numerical
values that reflect object numbers are entered. The interpretation can be done with
the device manual of the ET 200SP motor starter (\5\).
Figure 4-17 Output of a faulty parameter number
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 27
4 Operating the application example
The following figure shows the HMI screen “Device diagnostics” of the F-motor
starter.
Figure -4-18 HMI screen “Device diagnostics F-motor starter”
Siemens AG 2017 All rights reserved
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 28
4 Operating the application example
In the HMI screen “Measured values”, the information from the data set 94 are
displayed. The different phase currents can be viewed in % as well as in [A] so that
you can assess the occupancy rate of the individual subordinate actuators.
The displayed data are not displayed cyclically, however, they can be updated via
the “Update” button.
Note If you integrate a cyclic evaluation of the data into your project, please note that
this affects the cycle time of the OB1.
4.2.10 Statistics
In the HMI screen “Statistics”, the information from data set 95 are displayed. It is
evaluated, how often the motor starter has been activated (in clockwise or anti-
clockwise rotation), how high the maximum motor current in [A] is, and different
tripping conditions are also counted. The operating hours counter of the device is
specified in days, hours, minutes and seconds.
The displayed data are not displayed cyclically, however, they can be updated via
the “Update” button.
Note If you integrate a cyclic evaluation of the data into your project, please note that
this affects the cycle time of the OB1.
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 29
4 Operating the application example
The following figure shows the HMI screens “System” and “Support”.
Figure 4-21 HMI screens "System" and "Support"
The HMI screens "System" and "Support” are integrated into the project as
assistance. No functions of the ET 200SP motor starter are displayed in these
screens.
Under “Support” and “System”, you also have the option of switching between the
German and English language.
Siemens AG 2017 All rights reserved
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 30
5 Other setup options
PROFINET IE
Siemens AG 2017 All rights reserved
The following figure shows a variant with an ET 200SP CPU as well as standard
and failsafe motor starters
Figure 5-2 Example: Standard and failsafe ET 200SP motor starters centrally on ET 200SP
CPU
ET 200 SP CPU System
PROFINET IE
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 31
6 Appendix
6 Appendix
6.1 Service & support
Industry Online Support
Do you have any questions or need support?
Siemens Industry Online Support offers access to our entire service and support
know-how as well as to our services.
Siemens Industry Online Support is the central address for information on our
products, solutions and services.
Product information, manuals, downloads, FAQs and application examples – all
information is accessible with just a few mouse clicks at
https://support.industry.siemens.com
Technical Support
Siemens Industry's Technical Support offers quick and competent support
regarding all technical queries with numerous tailor-made offers
– from basic support right up to individual support contracts.
Please address your requests to the Technical Support via the web form:
www.siemens.com/industry/supportrequests
Service offer
Siemens AG 2017 All rights reserved
Our service offer comprises, among other things, the following services:
• Product Training
• Plant Data Services
• Spare Parts Services
• Repair Services
• On Site and Maintenance Services
• Retrofit and Modernization Services
• Service Programs and Agreements
Detailed information on our service offer is available in the Service Catalog:
https://support.industry.siemens.com/cs/sc
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 32
6 Appendix
ET 200SP Motorstarter
Entry-ID: 109750305, V1.1, 12/2017 33