Profienergy Et200sp Docu v10 en
Profienergy Et200sp Docu v10 en
Profienergy Et200sp Docu v10 en
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
Siemens Industry Online Support
This document is taken from Siemens Industry Online Support. The following link
takes you directly to the download page of this document:
http://support.automation.siemens.com/WW/view/en/58235225
Caution:
The functions and solutions described in this entry are mainly limited to the
realization of the automation task. In addition, please note that suitable security
measures in compliance with the applicable Industrial Security standards must be
taken if your system is interconnected with other parts of the plant, the company's
network or the Internet. More information can be found under entry ID 50203404.
http://support.automation.siemens.com/WW/view/en/50203404
For further information on this topic, you may also actively use our Technical
Forum in the Siemens Industry Online Support. Share your questions, suggestions
or problems and discuss them with our strong forum community:
http://www.siemens.de/forum-applications
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225 3
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
s
SIMATIC
PROFIenergy with ET 200SP
Saving energy with SIMATIC S7 and PROFIenergy
Task
1
Solution
2
Basics
3
Functional Mechanisms
of the Application
4
Configuration and
Settings
5
Installation
6
Starting up the
Application
7
Operation of the
Application
8
Links & Literature
9
History
10
Warranty and Liability
4
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
Warranty and Liability
Note
The application examples are not binding and do not claim to be complete
regarding configuration, equipment 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 your responsibility to use sound practices in application,
installation, operation and maintenance. When using these application examples,
you recognize that we will not be 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 this application example and other
Siemens publications (e.g. catalogs), the contents of the other documents shall
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 violation of fundamental contractual obligations (wesentliche
Vertragspflichten). The damages for a breach of a substantial contractual
obligation are, however, limited to the foreseeable damage, typical for 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 in the burden of proof to your
detriment.
It is not permissible to transfer or copy these application examples or excerpts
thereof without express authorization from Siemens Industry Sector.
Preface
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225 5
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
Preface
This application is part of our series
Saving Energy with SIMATIC S7
Applications realized with STEP 7 V5.5 that have already been published:
PROFIenergy with ET 200S
PROFIenergy with the I-Device
PROFIenergy with measuring devices PAC3200 / PAC4200
or with SCOUT:
PROFIenergy with SIMOTION
The following applications have already been configured with TIA Portal:
PROFIenergy with Comfort Panels
The procedure and parameterization can also be used to migrate your
PROFIenergy applications from STEP 7 V5.5 to TIA Portal.
Further information on the topic of energy efficiency is available on our website:
Energy-efficient production
Validity
This application was created under the following conditions:
STEP 7 (TIA Portal) V11 SP2
WinCC (TIA Portal) V11 SP2
Table of Contents
6
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
Table of Contents
Warranty and Liability..............................................................................................4
Preface......................................................................................................................5
1 Task.................................................................................................................7
2 Solution......................................................................................................... 10
2.1 Overview of the general solution...................................................... 10
2.2 Description of the core functionality.................................................. 12
2.3 Hardware and software components used ....................................... 13
3 Basics ........................................................................................................... 15
3.1 PROFIenergy profile........................................................................ 15
3.2 Available hardware.......................................................................... 16
3.3 Required software ........................................................................... 16
4 Functional Mechanisms of the Application................................................. 17
4.1 Overview......................................................................................... 17
4.2 WRREC Write Data Record functionality ....................................... 18
4.3 Behavior of the I/O modules............................................................. 20
4.3.1 Digital input module......................................................................... 20
4.3.2 Digital output modules ..................................................................... 22
4.3.3 Analog input module........................................................................ 23
4.3.4 Analog output module...................................................................... 25
4.4 FB PE_START_END (FB815) functionality ...................................... 27
4.4.1 Parameter for the FB PE_START_END (FB815) block .................... 28
5 Configuration and Settings.......................................................................... 30
5.1 Configuration of the ET 200SP......................................................... 30
5.2 Setting of the PROFIenergy program............................................... 31
6 Installation.................................................................................................... 36
6.1 Test setup installation...................................................................... 36
6.2 Software installation......................................................................... 37
6.3 Installing the application software .................................................... 37
7 Starting up the Application.......................................................................... 38
7.1 Preparation...................................................................................... 38
7.2 Commissioning................................................................................ 38
8 Operation of the Application........................................................................ 39
8.1 Overview......................................................................................... 39
8.1.1 Operation with HMI.......................................................................... 40
8.1.2 Operation via the watch table........................................................... 42
8.2 Scenarios ........................................................................................ 44
9 Links & Literature......................................................................................... 47
9.1 Literature......................................................................................... 47
9.2 Internet Links................................................................................... 47
10 History .......................................................................................................... 48
1 Task
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225 7
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
1 Task
Introduction
In the future, energy management will become increasingly important. Cutting
costs by saving energy in production is an approach that has already been used for
some time. Recently, the focus has also shifted to shorter non-production times
from short breaks to idle shifts.
Would it not be possible to set smaller, currently not required plant sections into
energy saving mode while the rest of the plant continues with the production? All
this could significantly improve the energy balance of a production unit.
The decision to use PROFINET provides the conditions for new and future-oriented
energy management.
Future-oriented energy management means: units are no longer switched off using
the conventional mains switch method but on a fine-grained basis via the network!
The general supply system of the components remains activated and the
components initiated by a command enter a defined energy-saving mode.
PROFIenergy is a profile defined by the PROFINET user organization. It provides
the prerequisites for a vendor-independent system that can be generally used to
switch off individual loads or entire production units flexibly, on short notice and
intelligently.
SIEMENS supports PROFIenergy /3/ with implementations in the SIMATIC
automation system.
The numerous innovations of the new SIMATIC ET 200SP include the possibility
for a coordinated and central switch-off of the I/O modules independently and
individually via PROFIenergy during pauses.
1 Task
8
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
Overview of the automation task
The figure below provides an overview of the automation task.
Figure 1-1
Feed Discharge Processing
This application describes the switch-off of automation components using an
example from production - here a production line with robots.
This plant consists of one feeding and one discharging conveyor belt and a
processing unit. The conveyors are connected at a ET 200SP. For reasons of
clarification the processing unit is a black box that is switched on/off via an own
ET 200SP.
In terms of energy saving the PROFIenergy does not focus on the drive motors
since these are switched off in case of a production stop. It rather concentrates on
the numerous sensors and further electronic components.
Description of the automation task
During a pause the components of the automation component shall be switched
off. The spontaneous or regularly planned break can be initiated by the user via the
controller. After the production has stopped parts of the distributed periphery are
switched off via applicable PROFIenergy commands. Before the production is
started again the necessary automation components are switched on again.
The following application description shows step by step how such an application
can be realized using the SIMATIC S7 ET 200SP with integrated PROFIenergy
functionality.
1 Task
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225 9
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
Scenarios
This application example presents the following switch-on and switch-off scenarios.
Table 1-1
Requirement Explanation
Switching off several components of the
plant
If no staggered switch-off is required; which
means that plant parts are switched off at
once
Selective switch-off Switch off individual components of the
plant
Coordinated shut-down, i.e. necessary
because of the technological process
Selective switch-on Switch on individual components of the
plant.
Staggered switch-on
Switching on several components of the
plant
Components of the plant that are not
subject to a special switch-on sequence.
2 Solution
2.1 Overview of the general solution
10
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
2 Solution
2.1 Overview of the general solution
Schematic layout
For this application, the PROFIenergy with Comfort Panel application was
supplemented by two ET 200SP.
The following figure gives a schematic overview of the most important components
of the solution:
Figure 2-1
PS CPU Comfort Panel Field-PG
PROFINET
Feed
Discharge
Processing
ET 200SP ET 200SP
Structure
The plant described above is based on a distributed structure. Via two ET 200SP
with several I/O groups each, the CPU controls the plant.
The respective I/O modules have to supply the sensors and actuators with voltage
to achieve appropriate energy savings. The energy is saved by switching off the
encoder supply of the modules.
A direct supply of the sensors and actuators via a 24V bus would prevent a
selective switch-off, hence the saving of energy.
Input / visualization via Comfort Panel (HMI) is offered as an option. The same
input fields and information are available in a watch table in STEP 7. The panel
itself can also be simulated on the PG via the WinCC V11 Runtime.
2 Solution
2.1 Overview of the general solution
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225 11
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
Advantages of ET 200SP
The distributed I/O system is easy to operate and provides maximum efficiency in
the switching cabinet due to its compact design.
SIMATIC ET 200SP communicates via PROFINET. Its high speed and data rate
yield a clearly stronger performance than previous systems.
Topics not covered by this application
This application does not contain a description of how to switch off a plant. This is
already implemented into existing plants and differs too much from plant to plant.
The following sections explain the basic functionality of the PROFIenergy profile
and the FB PE_START_END function block (FB815). Our other PROFIenergy
applications describe further PROFIenergy blocks and commands. There is no
functional difference between the applications for STEP 7 V11 and STEP 7 V5.5.
You can use the documents simultaneously for your information.
Assumed knowledge
Basic knowledge of automation engineering, SIMATIC, PROFINET and configuring
with STEP 7 V11 and WinCC V11 (TIA Portal) is necessary.
2 Solution
2.2 Description of the core functionality
12
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
2.2 Description of the core functionality
Overview and description of the user interface
Figure 2-2
This screen shows all the elements you need to operate the application. The
chapter Operation via HMI describes how to select this screen.
Principle of the core functionality
Select the desired PE_MODE for each individual module and transfer this
configuration to the interface modules with Set PE:MODE.
With PE START you start the pause, with PE ENDE (PE END) you terminate
the pause.
The following chapters give you the details on the meaning and handling of the
individual functions and parameters.
2 Solution
2.3 Hardware and software components used
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225 13
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
2.3 Hardware and software components used
The application document was generated using the following components:
Hardware components
Table 2-1
Component Qty. Order number Note
SIMATIC S7-300,
DIN rail
1 6S7 390-1AE80-0AA0
SIMATIC S7-300
stabilized power
supply PS307, input:
120/230 V AC
output: 24 V DC/5 A
1 6ES7307-1EA01-0AA0 Alternatively, any other
permitted power supply
can also be used.
SIMATIC S7-300
CPU 317-2 PN/DP
1 6ES7317-2EK14-0AB0 All S7 CPUs with PN
interface of the current
series (300/400/ET200S/
ET200PRO) are possible
as an alternative.
SIMATIC S7, MMC
Micro Memory Card
S7-300, 2 MBYTE
1 6ES7953-8LL20-0AA0 Any SIMATIC S7 MMC
with sufficient memory
capacity.
TP700 Comfort 1 6AV2 124-0GC01-0AX0 Or another Comfort Panel
A panel is NOT necessary
for the ET 200SP.
SIMATIC Field PG M3 1 Compatible PC
SIMATIC PROFINET
cable and connectors
Alternative: Ethernet patch
cable
Table 2-2
Component Qty. Order number Note
DIN rail
EN60715
1 6ES5710-8MA11
Interface module
IM 155-6 PN ST
2 6ES7 155-6AU00-0BN0 *1
Digital input module
DI8 x 24VDC ST
3 6ES7 131-6BF00-0BA0 *1
Digital output module
DQ8 x 24VDC / 0.5A
ST
3 6ES7 132-6BF00-0BA0 *1
Server module
Bus Terminator
2 6ES7 193-6PA00-0AA0
BASEUNIT BU15-
P16+A0+2D
6 6ES7193-6BP00-0DA0 or another type
1) All PROFINET and PROFIenergy-capable components are possible. Depending
on the version of the configuration software, an HSP must be installed here.
2 Solution
2.3 Hardware and software components used
14
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
Standard software components
Table 2-3
Component Qty. Order number Note
TIA Portal
SIMATIC STEP 7
Professional V11
SP2
1 6ES7 822-1AA01-0YA5 Other MLFB possible.
TIA Portal
SIMATIC WinCC
Comfort V11 SP2
1 6AV2 101-0AA01-0AA5 At least comfort package,
other MLFB possible.
Sample files and projects
The following list includes all files and projects used in this example.
Table 2-4
Component Note
58235225_PROFIenergy_ET200SP_CODE_V10.zip This zip file contains the
STEP 7 project.
58235225_PROFIenergy_ET200SP_DOCU_V10_EN.pdf This document.
3 Basics
3.1 PROFIenergy profile
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225 15
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
3 Basics
This chapter explains the functions of PROFIenergy, especially the relation
between the functional modules and the hardware.
3.1 PROFIenergy profile
The PROFIenergy profile presents methods and techniques for implementing
energy-saving functions into PROFINET IO devices. And not only manufacturer-
independent into simple I/O devices but also into intelligent and complex devices.
PROFIenergy consists of a group of methods that apart from parameterization and
the actual start and stop commands are also used for recording the energy
consumption.
PROFIenergy is based on existing PROFINET mechanisms changes are not
necessary. This enables PROFINET users to integrate PROFIenergy into existing
plants, without having to make fundamental changes to the plant.
PROFIenergy controller: A PLC, here the SIMATIC S7 CPU 317-2PN/DP. The
user decides whether PROFIenergy management is integrated into an existing
controller or left to an additional controller.
PROFIenergy device: A PROFINET IO device with integrated PROFIenergy
functionality. In this case, a SIMATIC S7 ET 200SP. The interface module of the
ET 200SP provides the access point for the PROFIenergy control data records.
The I/O modules do not have a separate PROFIenergy accesspoint.
PROFIenergy always provides several energy-saving states of the PROFIenergy
devices. In the application presented here, the following state is realized:
OFF (PAUSE) and
ON (Ready).
Full PROFINET communication capability is provided in the OFF state.
3 Basics
3.2 Available hardware
16
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
3.2 Available hardware
PROFIenergy controller
STEP 7 blocks are available that can be executed on all SIMATIC S7 300/400 /
ET 200S / ET 200pro CPUs.
STEP 7 V11 SP2 and higher already includes these blocks.
PROFIenergy device
SIMATIC HMI Comfort Panels:
All Comfort Panels support PROFIenergy.
ET 200SP:
Currently, the following PROFIenergy-capable modules are available:
Interface module IM 155-6 PN ST
ET 200SP I/O modules which support PROFIenergy
Digital input module DI 8x24VDC ST (6ES7131-6BF00-0BA0)
Digital output module DQ 4x24VDC/2A ST (6ES7132-6BD20-0BA0)
Digital output module DQ 8x24VDC/0,5A ST (6ES7132-6BF00-0BA0)
Digital output module DQ 16x24VDC/0,5A ST (6ES7132-6BH00-0BA0)
Analog input module AI 4xI 2-/4-wire ST (6ES7134-6GD00-0BA1)
Analog output module AI 4xU/I 2-wire ST (6ES7134-6HD00-0BA1)
Analog output module AQ 4xU/I ST (6ES7135-6HD00-0BA1)
Distributed I/O and drives
More and more modules and components from the SIEMENS automation portfolio
include the PROFIenergy profile. Please visit our Industry Mall or Industry Online
Support for information on the options that are currently available to you.
3.3 Required software
STEP 7 V11 SP2 and higher provides all necessary STEP 7 blocks. The following
chapters describe their function and use.
4 Functional Mechanisms of the Application
4.1 Overview
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225 17
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
4 Functional Mechanisms of the Application
4.1 Overview
Figure 4-1
OB1
FB815
PE_START_END
FC10
PE_ET200SP_1
FC11
PE_ET200SP_2
FB10
Green IT
Comfort
Panel
SFB WRREC
FB815
PE_START_END
SFB WRREC
FB815
PE_START_END
ET200SP_PE_
Param_1
IDB_
WRREC_DB_1
ET200SP_PE_
Param_2
IDB_
WRREC_DB_2
IDB_
ET200SP_1
IDB_
ET200SP_2
IDB_
Comfort_Panel
FB GreenIT (FB10): The function block combines the actual PROFIenergy block
calls and, if desired, represents a convenient interface for the HMI via its instance
data block.
FC PE_ET200SP_1 (2) (FC10 and FC11): Combines the functions for the
respective ET 200SP.
Digital output module SFB WRREC: Sends the settings concerning the switching
behavior of the I/O modules to the addressed ET 200SP. This block is not part of
the PROFIenergy profile but supplements the SIMATIC-specific functions.
FB PE_Start_End (FB815): Starts and stops the pause on the selected
PROFIenergy devices and at the same time communicates the desired pause time.
Program overview
In this application, we show you the usage of the FB PE_START_END (FB815)
and SFB WRREC blocks.
Information on using the further PROFIenergy blocks is available in our other
PROFIenergy applications in the Industry Online Support /2/.
4 Functional Mechanisms of the Application
4.2 WRREC Write Data Record functionality
18
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
4.2 WRREC Write Data Record functionality
This block is available in the TIA Portal V11 SP2 at Extended Instructions in the
Distributed I/O folder.
With this instruction you transfer a RECORD parameter data record to the
IM156-6 PN interface module of the ET 200SP. With this data record, the switching
behavior of the individual I/O modules during a PROFIenergy pause is defined. In
this chapter, the structure of the RECORD parameter data record, which you
require for PROFIenergy, is explained.
The call parameters of the WRREC instruction, its behavior, and its STATUS
messages are available in the Online Help of the TIA Portal.
Configuration
The IM of the ET 200SP is configured with the user program via the parameter
data record (Version2), Index 3. The interface module distributes the
PROFIenergy parameter to the I/O modules.
The configuration of a further pause behavior is possible immediately after the
start of the previous "Pause". Taking on the desired state for the subsequent
pause is activated with a renewed "Start_Pause" command.
The configuration can be written any numbers of time.
The interface module checks the distribution of the parameters to the I/O
modules and returns the result via the return value of the write job. For a
negative return value, there are one or several I/O modules which have not
accepted the parameter data record. In this case, for a coming "Start_Pause"
command, the I/O modules behave according to their last PROFIenergy
parameterization. For a positive return value, "Start_Pause" and "End_Pause"
commands can be executed correctly.
In the case of a failure of I/O module or station, the parameterization must be
repeated via the parameter data record.
The ET 200SP supports the settings of the "Pause" behavior. If a different
behavior is required in a further "Pause", you need to reparameterize.
The reaction (switch-off) of the I/O modules on PROFIenergy is related to the
slot, i.e. all channels of the slot behave accordingly.
4 Functional Mechanisms of the Application
4.2 WRREC Write Data Record functionality
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225 19
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
Parameter data record
In the parameter data record for PROFIenergy you define, which I/O modules
(slots) are controlled via the PROFIenergy commands.
Table 4-1
Byte Element Coding Explanation
0 Version 02D Cannot be modified
1 Number of blocks 01D to 32D Number of assigned slots
00D Not assigned 2 Slot
01D to 32D Slot number
3
Block 1
Mode 0D : PE_MODE_PROCEED, continue at PAUSE
1D : PE_MODE_SHUTDOWN, switch off at PAUSE
1
2D : -
3D : PE_MODE_LAST_VALUE, last output / measured value remains
4D : PE_MODE_SUBST_VALUE, substitute value 0
2
: : : :
64 Slot
65
Block 32
Mode
See block 1
1
The exact behavior depends on the used I/O module (e.g. for a digital input module, the
encoder supply is switched off, or for an analog output module, the outputs are without current
or voltage)
2
An analog output module ( e.g. with the output range from 0 to 20 mA, 20 mA) or a digital
output module outputs value "0".
Error messages
The feedback data record returns you the following error messages on demand:
Table 4-2
Error code Meaning Remedy
80B1H Impermissible length Check the length of the data record
80E0H Error in the header information Check the header information
80E1H Parameter error:
At least one module does not
support PROFIenergy
One parameter value was
wrongly coded
Check the content of the data record and remove
the configuration error before starting "Pause".
Unrepaired configuration errors may lead to wrong
switch-off behavior of the I/O modules.
4 Functional Mechanisms of the Application
4.3 Behavior of the I/O modules
20
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
4.3 Behavior of the I/O modules
4.3.1 Digital input module
Requirements
Digital input module DI 8x24VDC ST (6ES7131-6BF00-0BA0)
Display
The channel LEDs are directly influenced by the signal level at the terminal.
Switching off the encoder supply also causes the switch-off of the channel LEDs if
no external encoder supply has been connected.
Behavior when detecting errors
The "missing supply voltage L+" error is independent of taking on the pause state
and is reported during "Pause".
All channels located on "PE_MODE_PROCEED" in pause mode report their error
state as in production mode.
For all channels which go to another pause mode, the following conditions apply:
Switching off the encoder supply when entering the "Pause" does not prompt
the "open circuit" and "short circuit" messages.
During the "Pause", an error detection of "open circuit" and "short circuit" is not
possible:
For errors already pending prior to "Pause", the message remains.
Coming and going errors are reported after the "Pause" has been
terminated.
Terminating a "Pause"
The Pause is terminated in the following cases:
"missing supply voltage L+" error occurred
reparameterizing the I/O module with DS128.
"End_Pause" command
Substitute behavior
Firmware update
4 Functional Mechanisms of the Application
4.3 Behavior of the I/O modules
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225 21
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
Reaction to PE_MODE
Table 4-3
PE_MODE Response
0D : PE_MODE_PROCEED Continue at PAUSE
1D : PE_MODE_SHUTDOWN Switch-off at "Pause"
Encoder supply switched off
1
Pause substitute value: 0B
3D : PE_MODE_LAST_VALUE Last value at "Pause"
Encoder supply switched off
1
Pause substitute value: last input value
4D : PE_MODE_SUBST_VALUE Substitute value at "Pause"
Encoder supply switched off
1
Pause substitute value: configured Pause substitute value
1
Since there is only one encoder supply for all channels, the supply for "Pause" can only be
switched off if all channels are configured for switch-off.
4 Functional Mechanisms of the Application
4.3 Behavior of the I/O modules
22
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
4.3.2 Digital output modules
Requirements
Digital output module DQ 4x24VDC/2A ST (6ES7132-6BD20-0BA0)
Digital output module DQ 8x24VDC/0,5A ST (6ES7132-6BF00-0BA0)
Digital output module DQ 16x24VDC/0,5A ST (6ES7132-6BH00-0BA0)
Display
The channel LEDs are directly influenced by the output value at the terminal.
Behavior when detecting errors
The "missing supply voltage L+" error is independent of taking on the pause state
and is reported during "Pause".
During the "Pause", the error detection of open circuit and short circuit is not
possible: hence, all channels report their error status as in production mode
independent of the Pause mode.
Terminating a "Pause"
The pause is terminated in the following cases:
"missing supply voltage L+" error occurred
reparameterizing the I/O module with DS128.
"End_Pause" command
Substitute behavior
Firmware update
Reaction to PE_MODE
Table 4-4
PE_MODE Response
0D : PE_MODE_PROCEED Continue at PAUSE
1D : PE_MODE_SHUTDOWN Switch-off at Pause
Pause substitute value 0B
3D : PE_MODE_LAST_VALUE Last value at Pause
Pause substitute value: last output value remains
4D : PE_MODE_SUBST_VALUE Substitute value at Pause
Pause substitute value: configured pause substitute value is
output
4 Functional Mechanisms of the Application
4.3 Behavior of the I/O modules
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225 23
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
4.3.3 Analog input module
Requirements
Analog input module AI 4xI 2-/4-wire ST (6ES7134-6GD00-0BA1)
Analog output module AI 4xU/I 2-wire ST (6ES7134-6HD00-0BA1)
Display
The channel LEDs are not influenced by PROFIenergy.
Behavior when detecting errors
The "missing supply voltage L+" error is independent of taking on the pause state
and is reported during "Pause".
All channels located on "PE_MODE_PROCEED" in pause mode report their error
state as in production mode.
For all channels which go to another pause mode, the following conditions apply:
Switching off the encoder supply when entering the "Pause" does not prompt
the "Open circuit" message.
During the pause, an error detection of "open circuit", "short circuit", "above
upper limit" and "below lower limit" is not possible:
For errors already pending prior to "Pause", the message remains.
Coming and going errors are reported after the "Pause" has been
terminated.
Terminating a "Pause"
The Pause is terminated in the following cases:
"missing supply voltage L+" error occurred
reparameterizing the I/O module with DS128.
"End_Pause" command
substitute behavior
Firmware update
4 Functional Mechanisms of the Application
4.3 Behavior of the I/O modules
24
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
Reaction to PE_MODE
Table 4-5
PE_MODE Response
0D : PE_MODE_PROCEED Continue at "PAUSE"
1D : PE_MODE_SHUTDOWN Switch-off at "Pause"
Encoder supply switched off
1
Pause substitute value: 7FFFH
3D : PE_MODE_LAST_VALUE Last value at "Pause"
Encoder supply switched off
1
Pause substitute value: last input value
4D : PE_MODE_SUBST_VALUE Substitute value at "Pause"
Encoder supply switched off
1
Pause substitute value: configured pause substitute value
1
Since there is only one encoder supply for all channels, the supply for "Pause" can only be
switched off if all channels are configured for switch-off.
4 Functional Mechanisms of the Application
4.3 Behavior of the I/O modules
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225 25
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
4.3.4 Analog output module
Requirements
Analog output module AQ 4xU/I ST (6ES7135-6HD00-0BA1)
Display
The channel LEDs are not influenced by PROFIenergy.
Behavior when detecting errors
The "missing supply voltage L+" error is independent of taking on the pause state
and is reported during "Pause".
All channels located on "PE_MODE_PROCEED" in pause mode report their error
state as in production mode.
For all channels which go to "PE_MODE_SHUTDOWN" pause mode, the following
conditions apply:
During the "Pause", an error detection of "open circuit" and "short circuit" is not
possible:
For errors already pending prior to "Pause", the message remains.
Coming and going errors are reported after the "Pause" has been
terminated.
For all channels which go to another pause mode, the following conditions apply:
During the "Pause", an error detection of "open circuit" and "short circuit"
continues to be possible: these errors are reported.
A wrongly selected substitute value for a pause that does not fit the output area
can cause "above upper limit" or "below lower limit" messages. The Pause
substitute output value is limited to the appropriate maximum or minimum limit
value for the output area.
Terminating a "Pause"
The pause is terminated in the following cases:
"missing supply voltage L+" error occurred
reparameterizing the I/O module with DS128.
"End_Pause" command
substitute behavior
Firmware update
4 Functional Mechanisms of the Application
4.3 Behavior of the I/O modules
26
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
Reaction to PE_MODE
Table 4-6
PE_MODE Response
0D : PE_MODE_PROCEED Continue at "PAUSE"
1D : PE_MODE_SHUTDOWN Switch-off at "Pause"
No electrical current or voltage at the outputs
3D : PE_MODE_LAST_VALUE Last value at "Pause"
Pause substitute value: last output value remains
4D : PE_MODE_SUBST_VALUE Substitute value at "Pause"
Pause substitute value: configured pause substitute value is
output
4 Functional Mechanisms of the Application
4.4 FB PE_START_END (FB815) functionality
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225 27
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
4.4 FB PE_START_END (FB815) functionality
FB PE_START_END (FB815) is used to start and stop the pause for the specified
PROFINET IO device, here ET 200SP. The PAUSE_TIME parameter provides the
planned pause time for checking.
The following applies: PAUSE_TIME >= PM-E_Pause_Min
The minimum pause time PM-E_Pause_Min in which the PROFIenergy
component still participates is stored in a parameter set of the module firmware.
The purpose of this minimum pause time is to ensure that the module can be
switched OFF and back ON within the pause time. For an ET 200SP, this time is
10 seconds. This means that the ET 200SP participates in pauses which last at
least 10 seconds.
After the pause time has elapsed, the module is not switched back on automatically
and remains in the OFF state until the END command. This prevents the module
from being switched back on in an uncoordinated manner, which may eventually
result in unwanted load peaks.
4 Functional Mechanisms of the Application
4.4 FB PE_START_END (FB815) functionality
28
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
4.4.1 Parameter for the FB PE_START_END (FB815) block
Figure 4-2
Input parameters
Table 4-7
Parameter Data type Initial value Description
EN BOOL 0 Enable input
START BOOL 0 Send START PAUSE to PROFINET IO
device with address ID
END BOOL 0 Send END PAUSE to PROFINET IO
device with address ID
ID DWORD 8181/8176 Address of the PROFINET IO device
PAUSE_
TIME
TIME T#10000MS
Bereich:
T#1MS
bis
T#24D20H31
M23S647MS
Planned pause time.
The ET 200SP checks whether the
planned pause time is greater than or
equal to the minimum pause time stored
on the ET 200SP. This time is invariably
set to 10s. When a shorter pause is
started, the modules remain switched on.
Output parameters
Table 4-8
Parameter Data type Initial value Description
VALID BOOL 0 Command issued successfully
BUSY BOOL 0 Command processing still active
ERROR BOOL 0 An error has occurred during processing
STATUS DWORD 0 Block status/error number
PE_MODE
_ID
BYTE 0 Energy saving level during the PAUSE
ENO BOOL 0 Enable output
4 Functional Mechanisms of the Application
4.4 FB PE_START_END (FB815) functionality
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225 29
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
Error code
The STATUS output parameter contains error information. When it is interpreted as
an ARRAY[1...4] OF BYTE, the error information is structured as follows:
Table 4-9
Array
element
Name Description
STATUS[1] Function_Num B#16#00: No error
B#16#DE: Error when reading the data record
B#16#DF: Error when writing the data record
B#16#C0: PE FB or SFB 52/53 have detected errors
STATUS[2] Error_Decode Location of error ID
80: DPV1
- Error according to IEC 61158-6 or FB-specific
FE:DP/PNIO profile
- PROFIenergy-specific error
STATUS[3] Error_Code_1 (B#16#...) / (B#16#...): DPV1
Error_Decode 80:
- 80: At the same time a rising edge at the
START and END input parameters
- 81: Length conflict for the
CMD_PARAM and CMD_PARAM_LEN parameters
82-8F: Other error messages
Error_Decode FE:
- 01: Invalid Service Request ID
- 02: Wrong Request_Reference
- 03: Invalid Modifier
- 04: Invalid Data Structure Identifier RQ
- 05: Invalid Data Structure Identifier RS
- 06: PE energy-saving modes are not
supported
- 07: Response is too long. The current
response exceeds the max.
transmittable length
- 08: Invalid Count
- 50: No suitable energy mode is
available
- 51: Specified time value is not supported
- 52: Invalid PE_Mode_ID
- 53: Change to PE energy-saving mode not
possible since device in operation
- 54: Function not possible at present. Device
configured wrong or wrong setup.
- 55 to FF: Reserved:
STATUS[4] Error_Code_2 Manufacturer-specific error ID extension
5 Configuration and Settings
5.1 Configuration of the ET 200SP
30
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
5 Configuration and Settings
The following chapters describe the decisive steps of the hardware configuration.
You can adapt and change the delivered example program according to your
needs and your hardware equipment. If you want to integrate the PROFIenergy
blocks into existing software, you can rename them.
Unzip the 58235225_PROFIenergy_ET200SP_Code_V??.zip file associated with
this application to a directory of your choice and open the project in the Project
view.
This application continues writing the previous application PROFIenergy with a
Comfort Panel. However, the PE function of the ET 200SP does not require any
panel.
5.1 Configuration of the ET 200SP
Figure 5-1
If you wish to change the configuration or create it yourself, the modules are
available in the hardware catalog. Depending on the version of the TIA Portals, you
have to install a hardware support package (HSP) beforehand. The diagnostic
address of ET 200SP is required for configuring the program. It is located in the
properties of the interface module.
5 Configuration and Settings
5.2 Setting of the PROFIenergy program
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225 31
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
5.2 Setting of the PROFIenergy program
Overview
Figure 5-2
Table 5-1
Block Content
Main [OB1] Calling the GreenIT [FB10] block.
Complete Restart [OB100] Some presettings.
GreenIT [FB10] Program for the Comfort Panel.
Calling the blocks for both ET 200SP.
PE_ET200SP_1 [FC10] Function calls for ET200SP_1.
PE_ET200SP_2 [FC11] Function calls for ET200SP_2.
5 Configuration and Settings
5.2 Setting of the PROFIenergy program
32
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
PE_ET200SP_1 [FC10]
Figure 5-3
Relevant for the PROFIenergy function are the calls in networks 2 (WRREC) and
NW5 (PE_START_END). For simple handling in networks 3, 6 and 7 the command
bits are automatically reset. In networks 4 and 8, the STATUS value is saved in a
memory bit double-word in the case of an error (ERROR = 1). In network 9
Commissioning & Test, some only briefly pending status bits are saved and the
digital outputs are set.
5 Configuration and Settings
5.2 Setting of the PROFIenergy program
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225 33
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
WRREC Write Data Record
With this call, a parameter data record is sent to the IM156 interface module of the
ET 200SP.
Figure 5-4
Table 5-2
Parameter Function
REQ Request = Start command for the transmission. Set via the panel or the
watch table directly in the IDB of the WRREC function.
ET200SP_1 = WRREC_DB_1 [DB 52]
ET200SP_2 = WRREC_DB_2 [DB 53]
ID Diagnostic address of the ET 200SP (8181D = 1FF5H, 8176D = 1FF0H)
INDEX For the PROFIenergy data record for transmitting the PE_MODE's = 3
LEN Length of the transmitted RECORD data record. Depends on the number of
SLOTs to be parameterized. 2 bytes header data + 2 byte per slot.
RECORD Address of the data record.
ET200SP_1 = ET200SP_PE_PARAM_1 [DB 54]
ET200SP_2 = ET200SP_PE_PARAM_2 [DB 55]
5 Configuration and Settings
5.2 Setting of the PROFIenergy program
34
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
RECORD parameter data record
For the setup and meaning of the individual parameters, see also Chapter 4.1
"WRREC" Write Data Record functionality
Figure 5-5
Table 5-3
Parameter Meaning
Version For PROFIenergy data record = 2
Number_of_blocks Number of modules.
ET200SP_1 = 4,
ET200SP_2 = 2
B?_Slot Slot number of the module to be configured
ET200SP_1 = 1-4
ET200SP_2 = 1&2
B?_Mode PE_Mode for this module,
Presetting = 0 (PE_MODE_PROCEED = do not switch off)
5 Configuration and Settings
5.2 Setting of the PROFIenergy program
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225 35
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
PE_START_END
With this call, the PAUSE_START or PAUSE_END command is sent to the IM156
interface module of the ET 200SP.
Figure 5-6
Table 5-4
Parameter Meaning
START / END Start commands for the transmission. Is set via the panel or the watch
table directly in the IDB of the PE_START_END function.
ET200SP_1 = IDB_START_END_ET200SP_1 [DB 2]
ET200SP_2 = IDB_START_END_ET200SP_2 [DB 3]
ID Diagnostic address of the ET 200SP (8181D = 1FF5H, 8176D = 1FF0H)
PAUSE_TIME For values smaller than 10 seconds, the modules do not switch off.
Entered for both ET 200SP in the PROFIENERGY screen or the
COMFORTPANEL watch table. Preassignment with 12 seconds in the
OB100.
PE_MODE_ID Return value of the IM156 interface module.
1 = pause,
0 = no pause.
6 Installation
6.1 Test setup installation
36
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
6 Installation
6.1 Test setup installation
The figure below shows the hardware setup of the application.
Figure 6-1
PS CPU Comfort Panel
PROFINET
24VDC
ET200SP_1 ET200SP_2
Note
The setup guidelines /6/ for SIMATIC S7 and ET200SP must be followed.
An MMC memory card is required for the S7 CPU.
CAUTION For multi-range power supplies you must pay attention to the correct
setting of the selector switch for the input voltage.
Sensors and actuators can be connected to the I/O modules; additionally they can
be connected to the respective inputs and outputs to serve as feedback. A power
supply for the connected sensors and actuators has to be wired from the
corresponding I/O module.
6 Installation
6.2 Software installation
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225 37
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
6.2 Software installation
The configuration of the application requires STEP 7 V11 SP2. Install them
according to the delivered installation instructions. Additional software packages or
special settings for PROFIenergy are not required.
Optional usage of a panel requires WinCC Comfort V11 SP2 (or higher) as well.
All PROFIenergy blocks are available in STEP 7 V11 SP2 (TIA Portal). All blocks
can be copied to a user-specific project and, if desired, be renamed. You can use
all PROFIenergy blocks without a license.
6.3 Installing the application software
Download the application project from our Industry Online Support. You find the
link to the site at the beginning of this document. Copy the project (zip-format) to
the configuration computer (SIMATIC Field PG) and unzip it into a directory of your
choice. Open it in the TIA Portal via the Open existing project menu using the
Search command and then Open.
7 Starting up the Application
7.1 Preparation
38
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
7 Starting up the Application
7.1 Preparation
Table 7-1
No. Action Remarks
1 Make sure that the hardware configuration and HW Config
match.
2 Check the power supply setting. Switch on the plant. Comply with all necessary
regulations and safety
requirements.
3 If necessary, download the latest firmware for the CPU and
the panel from our Industry Online Support and update the
modules.
Follow the respective manuals and
enclosed instructions.
4 Connect the SIMATIC Field PG to the plant.
7.2 Commissioning
Table 7-2
No. Action Remarks
1 Assign the device names to the ET 200SP:
ET200SP_1 and ET200SP_2
Use the Assign device name
function. Right-click the station.
2 Download the application program to the CPU.
3 If you have a Panel and WinCC Comfort, download the
panel now.
Note the "PROFIenergy with a
Comfort-Panel" application!
4 When not using a panel, you can start WinCC Runtime
directly.
8 Operation of the Application
8.1 Overview
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225 39
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
8 Operation of the Application
8.1 Overview
There are 3 options to operate the plant:
HMI panel
HMI Runtime (equivalent to the panel)
Watch table in STEP 7 (TIA Portal)
There are no functional differences; exclusively the way how control bits are set
differs. In a real application, a time- or event-controlled program would set the
respective control bits.
Please remember:
If we talk in the following about switching off the PROFIenergy-module or about the
"Discharging" etc. this does not mean the drives of the plant, but via the DI/DO, the
sensors and actuators, so actually the limit switches, monitors for belt-
misalignment and secondary drives in neutral. As mentioned already the very
functions (belt drive) have to be switched off regularly before.
8 Operation of the Application
8.1 Overview
40
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
8.1.1 Operation with HMI
Navigation and operation of the panel is described in the documentation
"PROFIenergy with a Comfort-Panel". For this application you go to the
PROFIenergy screen (via PROFIenergy example).
Figure 8-1
The Pause Start and Pause End buttons influence the panel and both
ET 200SP. The setpoint value of the Pause Duration. After a restart, the color
RED of the Parameter ET200SP button indicates, that the parameters have not
yet been transferred. This button or the ET 200SP navigation both take you to the
screen for configuring the ET 200SP.
8 Operation of the Application
8.1 Overview
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225 41
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
Figure 8-2
Table 8-1
Step Command Comment
1. Select a PE_MODE for each module via
the selection menus
Via the selection menus, the RECORD
parameter record is directly written to (DB54
or DB55).
2. The Set PE_MODE button is colored red To remind you, that you still need to write the
data record: as soon as you select one of the
selection menus or after a restart.
3. Send this configuration to both ET 200SPs
with the Set PE_MODE button.
The Set PE_MODE button sets the REQ
input bits at both WRREC functions.
4. The PE START button starts the pause
for both ET 200SPs (without Panel).
5. The PE ENDE button terminates the
pause for both ET 200SPs (without Panel).
An automatic pause end must be configured
accordingly in the user program, see GreenIT
[FB10].
8 Operation of the Application
8.1 Overview
42
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
8.1.2 Operation via the watch table
Three watch tables are prepared in the project:
Watch_Table_ComfortPanel
Related explanations are available in the documentation on the "PROFIenergy with
a Comfort-Panel" application
Watch_Table_ET200SP_1
All necessary parameters for operating the first ET 200SP with 4 modules.
Setup and operation is described in this chapter
Watch_Table_ET200SP_2
All necessary parameters for operating the second ET 200SP with 2 modules.
Setup and operation analog to the first station.
8 Operation of the Application
8.1 Overview
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225 43
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
Figure 8-3
PE_MODE
WRREC REQ
PE_START
PE_ENDE
Table 8-2
Step Command Comment
1. First, adjust the PE_MODE (0,1,3,4) for
each module.
2. Set the start command for the
transmission of the RECORD parameter
data record to the ET 200SP:
WRREC.REQ = 1
Ensure, that the STATUS of the block
does not indicate any errors
(STATUS_WRREC_bkp = 0).
3. WRREC.REQ = 0 If the command is terminated without
error, REQ is automatically reset by
the user program.
4. Now you can start the PROFIenergy
pause.
PE_START =1
For this block, please also ensure the
execution without errors
STATUS_PE_START_END_bkp = 0.
5. Check the reaction of the digital inputs
and outputs!
Please note, that the LEDs at the
modules and the status of the process
image are not identical! Also compare
the specification of the modules in
Chapter 4.2 Behavior of the I/O
modules.
6. Exit the pause.
PE_ENDE = 1
7. Reset possible error states to
STATUS_bkp.
8 Operation of the Application
8.2 Scenarios
44
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
8.2 Scenarios
For a selective switching on or off, start the pause with an adjusted parameter data
record. Only if all (remaining) module shall terminate the pause, please use the
PAUSE_ENDE command.
Switching off several components of the plant scenario
Table 8-3
No. Action Remarks
1 Select a pause interval of at least 10 seconds for both
ET200SPs. Use the PROFIenergy screen, for example, or
the ComfortPanel watch table.
The ET200SP accept a minimum
pause time of 10 seconds (10.000
ms). Otherwise the modules
remain switched on.
2 Set PE_MODE SHUTDOWN for several modules All of these modules shall
participate in the pause.
3 Send the RECORD parameter record to both ET 200SP
(WRREC REQ)
The parameters are sent to the
ET 200SP.
4 Start the pause
5 PE_MODE_ID becomes 1 It is pause!
The outputs of the respective
IO modules are switched off, the
LEDs go off.
6 Exit the pause or continue with the next scenario.
7 PE_MODE_ID becomes 0 The outputs are enabled again.
8 Operation of the Application
8.2 Scenarios
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225 45
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
Selective switch-off scenario
Table 8-4
No. Action Remarks
1 Select a pause interval of at least 10 seconds for both
ET200SPs. Use the PROFIenergy screen, for example, or
the ComfortPanel watch table.
The ET200SP accept a minimum
pause time of 10 seconds (10.000
ms). Otherwise the modules
remain switched on.
2 Set PE_MODE SHUTDOWN for a DA module,
PROCEED for the other modules
Only one module shall participate
in the pause.
3 Send the RECORD parameter record to both ET 200SP
(WRREC REQ)
The parameters are sent to the
ET 200SP.
4 Start the pause
5 PE_MODE_ID becomes 1 It is pause!
Only the outputs of the DA module
are switched off, all others
continue working
6 Set PE_MODE SHUTDOWN for another DA module One further module shall
participate in the pause.
7 Send the RECORD parameter record to both ET 200SP
(WRREC REQ)
The parameters are sent to the
ET 200SP.
8 Start the pause
9 PE_MODE_ID remains 1 The further module goes to pause
10 Repeat steps 6 to 8 until all required modules are in pause.
11 Exit pause or continue with the Selective switch-on
scenario
12 PE_MODE_ID becomes 0 All modules are enabled again.
8 Operation of the Application
8.2 Scenarios
46
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
Selective switch-on scenario
Table 8-5
No. Action Remarks
1 Switch off some modules according to one of both scenarios
above
2 Set PE_MODE SHUTDOWN back to PROCEED for a
switched-off DA module
One module shall terminate the
pause.
3 Send the RECORD parameter record to both ET 200SP
(WRREC REQ)
The parameters are sent to the
ET 200SP.
4 Start the pause
5 PE_MODE_ID remains 1 It is still pause!
Only the outputs of the DA module
are switched back on, all others
remain in pause
6 Set PE_MODE PROCEED for another DA module A further module shall continue
working.
7 Send the RECORD parameter record to both ET 200SP
(WRREC REQ)
The parameters are sent to the
ET 200SP.
8 Start the pause
9 PE_MODE_ID remains 1 A further module is working again.
10 Repeat steps 6 to 8 until all required modules are working
again.
11 Exit the pause Even if all modules are already
working.
12 PE_MODE_ID becomes 0 All modules are enabled again.
9 Links & Literature
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225 47
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
9 Links & Literature
9.1 Literature
The following list is by no means complete and only provides a selection of
appropriate information.
Table 9-1
Topic Title
/1/ STEP 7
SIMATIC S7-300
Automating with SIMATIC S7-300 inside TIA Portal
Author: Hans Berger / Publicis MCD Verlag
ISBN: 978-3-89578-357-9
/2/ STEP 7
SIMATIC S7-400
Automating with SIMATIC S7-400 inside TIA Portal
Author: Hans Berger / Publicis MCD Verlag
ISBN: 978-3-89578-372-2
/3/ PROFIenergy profile Common Application Profile PROFIenergy; Technical
Specification for PROFINET; Version 1.0;
January 2010; Order No: 3.802
9.2 Internet Links
The following list is by no means complete and only provides a selection of
appropriate sources.
Table 9-2
Topic Title
\1\ Link to this document http://support.automation.siemens.com/WW/view/en/58235225
\2\ Reference to other
PROFIenergy applications
http://support.automation.siemens.com/WW/view/en/41986454
http://support.automation.siemens.com/WW/view/en/58386840
\3\ Siemens Industry Mall http://www.automation.siemens.com/
\4\ Siemens Industry Online
Support
http://support.automation.siemens.com
\5\ Manuals: S7-300 CPUs http://support.automation.siemens.com/WW/view/en/10805161/133300
\6\ Installation instructions
S7-300
http://support.automation.siemens.com/WW/view/en/13008499
\7\ Comfort Panels Manuals http://support.automation.siemens.com/WW/view/en/47182890/133300
\8\ TIA Portal
STEP 7 manuals
http://support.automation.siemens.com/WW/view/en/29156492/133300
\9\ TIA Portal WinCC manuals http://support.automation.siemens.com/WW/view/en/29157705/133300
\10\ Manuals ET 200SP http://support.automation.siemens.com/WW/view/en/55679227/133300
\11\ Support Packages V11 http://support.automation.siemens.com/WW/view/en/54164095
\12\ Energy efficient production http://www.industry.siemens.com/topics/global/en/energy-efficient-
production/Pages/Default.aspx
10 History
48
PROFIenergy mit ET 200SP
1.0, Entry ID: 58235225
C
o
p
y
r
i
g
h
t
S
i
e
m
e
n
s
A
G
2
0
1
2
A
l
l
r
i
g
h
t
s
r
e
s
e
r
v
e
d
10 History
Table 10-1
Version Date Revisions
V1.0 09/2012 First issue