0% found this document useful (0 votes)
102 views104 pages

BatchEPH PCS 7 V91 DOC V2 0 en

Uploaded by

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

BatchEPH PCS 7 V91 DOC V2 0 en

Uploaded by

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

Siemens

Industry
Online
Support

APPLICATION EXAMPLE

Equipment Phases (EPHs)


for standardized automation
of batch processes in the
Chemical Industry
SIMATIC PCS 7 V9.1 SP2
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 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.

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 2


Table of contents

Table of contents
1. Introduction ...................................................................................................................................5

1.1. Overview ......................................................................................................................................................5


1.2. Principle of operation ....................................................................................................................................7
1.3. Components used .........................................................................................................................................8

2. Preparation and commissioning ......................................................................................................9

2.1. Preparation ...................................................................................................................................................9


2.2. Commissioning ........................................................................................................................................... 10

3. Engineering EPH...........................................................................................................................11

3.1. Agitation .................................................................................................................................................... 11


3.1.1. Overview (R&I and components) ................................................................................................................. 11
3.1.2. Control strategy .......................................................................................................................................... 12
3.1.3. Operation ................................................................................................................................................... 13
3.2. Discharge (draining / recirculation) .............................................................................................................. 15
3.2.1. Overview (R&I and components) ................................................................................................................. 16
3.2.2. Control strategy .......................................................................................................................................... 17
3.2.3. Operation ................................................................................................................................................... 18
3.3. Dosing Control Valve ................................................................................................................................... 20
3.3.1. Overview (R&I and components) ................................................................................................................. 21
3.3.2. Control strategy .......................................................................................................................................... 22
3.3.3. Operation ................................................................................................................................................... 23
3.4. Pressure (inerting and venting).................................................................................................................... 25
3.4.1. Overview (R&I and components) ................................................................................................................. 26
3.4.2. Control strategy .......................................................................................................................................... 27
3.4.3. Operation ................................................................................................................................................... 28
3.5. Temperature ............................................................................................................................................... 30
3.5.1. Overview (R&I and components) ................................................................................................................. 31
3.5.2. Control strategy .......................................................................................................................................... 32
3.5.3. Operation ................................................................................................................................................... 33

4. Useful information .......................................................................................................................35

4.1. Basics ......................................................................................................................................................... 35


4.1.1. General information .................................................................................................................................... 35
4.1.2. Standardized plant units .............................................................................................................................. 36
4.2. Design and structure ................................................................................................................................... 38
4.2.1. CFC plan naming convention ....................................................................................................................... 38

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 3


Table of contents

4.2.2. Technological perspective ........................................................................................................................... 39


4.2.3. Individual control level ................................................................................................................................ 40
4.3. Detailed description EPH ............................................................................................................................. 41
4.3.1. "Agitation" - parameters and operation methods .......................................................................................... 41
4.3.2. "Discharge" - parameters and operation methods ......................................................................................... 51
4.3.3. "Dosing Control Valve" - Parameters and operating mode .............................................................................. 63
4.3.4. "Pressure" - parameters and operation modes ............................................................................................... 77
4.3.5. "Temperature" - parameters and operation modes ........................................................................................ 92

5. Appendix ................................................................................................................................... 103

5.1. Service and support .................................................................................................................................. 103


5.2. Links and literature ................................................................................................................................... 104
5.3. Change documentation ............................................................................................................................. 104

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 4


Introduction

1. Introduction
The standardization of automation technology for process plants, e.g. in the chemical industry, is a major challenge.
Different process steps and procedures, different equipment and flexibility in production make this task more challenging.
One solution is to structure the discontinuous plant according to the physical model of ISA-88 / IEC 61512. The lower four
levels, i.e. plant, unit, device and individual control module, are specified here. A plant always consists of subsystems. The
subsystems, in turn, can contain standardized equipment phases based on technical functions (Control Modules,
abbreviated CMs) and controlled via SFC. A technical function consists of both the user program and the physical setup.

1.1. Overview
This application example contains standardized automation functions in the form of Batch Equipment Phases, abbreviated
Batch EPHs, as Software Typicals, which are provided as multi-project in SIMATIC PCS 7.
The following advantages result from their use:

• Reduction of the skills required for application development


• Reduction of the project planning workload
• Standardized structures
• High degree of standardization and thus reduced upgrade costs
• Flexible structure and customization of partial automation solutions
The Batch EPHs contain the SFC and CM instances required for the automation task for standardized start-up and
operation of the plant section.
All typicals are designed independently of the automation hardware and are part of a preconfigured PCS 7 project
including process visualization. Due to the hardware-independent project planning and the modular structure, Batch EPHs
can be integrated and used in PCS 7 projects as required.
All instantiated CMs are based on function blocks of the PCS 7 Advanced Process Library (APL) and can be prepared for the
most common areas of application (hardware connection, locking logic) by selecting options.

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 5


Introduction

Overview of the complete solution


The following figure shows an example of the standardized batch EPHs as part of an automation component solution.
Agitate

Aerating and venting

Dosing of input materials

Temperature control

Equipment Phases Discharge/circulation

Description
The concept of Batch EPH offers prefabricated and standardized components for creating an automation solution, e.g.
dosing or temperature control.
The structure of the PCS 7 multi-project is implemented as follows:

• The component view contains one project for the automation system (AS) and one project for the operator station
(OS).
• A hierarchy folder is created for each batch of EPH in the technological hierarchy.
• The master data library contains all used Control Module Types (CMTs) and SFC Types.
In the AS project, all control and regulation functions are implemented in the form of CFC plans (Continuous Function
Chart). In addition, the AS project contains a simulation that simulates a process, e.g. level change within a batch EPH.
The OS project contains the visualization with one process image per batch EPH and shows:

• The schematic representation


• Simulated process response
• SFC module for activating the process control (SFC).

Required knowledge
Basic knowledge of the following fields is required:

• Project planning with SIMATIC PCS 7, SFC operation, CMT technology and APL
• Basic knowledge of process technology.

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 6


Introduction

1.2. Principle of operation


The overview screen and the structure of a process screen of a Batch EPH are described below. The basic function and
operation is described in chapter 3 and the detailed description of the parameters, SFC procedure and states in chapter
4.3.

Visualization interface

Overview image Process image

Overview image Englische Texte im Hintergrund


The overview screen contains a schematic representation of a process engineering plant section in which all Batch EPHs
are contained in the example project.
The buttons can be used to switch to the respective process screen, which contains the functionality and the specific
information of a batch EPH. The process images are shown in the form of a corresponding section of the P&I diagram of
an installation.

Process image
The process screen provides the operator with an overview of the respective batch EPH and by activating the sequence
chain, the behavior of the operating modes can be traced.
The process screen of a batch EPH consists of the following components:

• schematic representation (R&I)


• Simulation
• Screen modules for controlling the individual components (aggregates)
• SFC for starting up and operating the unit

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 7


Introduction

1.3. Components used


This application example has been created with the following hard- and software components:

Component Number Article Number Note

SIMATIC PCS 7 V9.1 SP2 1 6ES7658-...68-.... For the PCS 7 example project

SIMATIC S7-PLCSIM 1 Not part of SIMATIC PCS 7 V9.1;


additional licenses are required

APL Library V9.1 1 Part of SIMATIC PCS 7 V9.1

Table 1-1
You can purchase these components from the Siemens Industry Mall.

This application example consists of the following components:

Component File name Note

This document 109740620_BatchEPH_PCS_7_V91_DOC_V2_0_en.pdf

PCS 7 example project 109740620_BatchEPH_PCS_7_V91_PROJ_V2_0.zip

Table 1-2

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 8


Preparation and commissioning

2. Preparation and
commissioning
2.1. Preparation
The following instructions describe the commissioning of the Batch EPHs by simulating the controller with the "S7-
PLCSIM" program.
If you are using a real controller, you must first adjust the hardware settings in the HW configuration.
1. Copy the file "109740620_BatchEPH_PCS_7_V91_PROJ_V2_0.zip" to any folder on the configuration computer and
then open the SIMATIC Manager.
2. Click on "File > Retrieve" in the menu bar and select the file "109740620_BatchEPH_PCS_7_V91_PROJ_V2_0.zip" and
confirm with "Open".
3. Select the folder in which the project is to be saved and confirm with "OK".
The project is retrieved.
4. Confirm the "Retrieve" dialog with "OK" and then click "Yes" in the dialog to open the project.
5. Right-click on "BatchEPH_OS > OS01 > WinCC Appl > OS" and click on "Open Object" in the context menu.
6. Confirm the dialog "Configured server not available" with "Yes".
7. Open the properties of your computer in WinCC Explorer and click on the button "Use Local Computer Name" in the
opened properties dialog.

8. Confirm the message "Change computer name" with "OK".


9. Click in WinCC Explorer on "File > Exit" and select "Exit WinCC Explorer and close project" in the following dialog.
10. Then confirm with "OK".
11. Open WinCC Explorer again as described in step 5.
12. Open the "Tag Management" by double-clicking.
13. Open "Tag Management > SIMATIC S7 Protocol Suite > TCP/IP" in "WinCC Configuration Studio" and select "System
Parameters" in the context menu.
14. Check the "Logical Device Name" setting in the "Unit" tab. When using the "S7-PLCSIM" program, "PLCSIM.TCPIP.1" is
selected as the device name.
A restart is required after a device name change.

NOTE If the OS cannot establish a connection to the AS (gray device symbols), select the logical device name
"CP_H1_1:" and restart the OS Runtime.

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 9


Preparation and commissioning

2.2. Commissioning
The Batch EPH can be put into operation after starting the simulation.

S7-PLCSIM
Follow the instructions below to start the simulated controller:
1. In the SIMATIC Manager, select "Options > Simulate modules".
The "S7-PLCSIM" dialog window opens.
2. Select the option "File > Open PLC".
3. Select the file "BatchEPH.plc" from the path <Project Path>\EPH\BatchEM_\Batc_Prj\BatchEPH.plc>.
4. Select "Execute > Key switch position > RUN-P".
5. In the drop-down list, change "PLCSIM(MPI)" to "PLCSIM(TCP/IP)".
6. Switch to the component view of the SIMATIC Manager and select "BatchEPH_AS > AS01".
7. On the menu bar, click on "PLC > Download" and confirm the "Download" dialog with "Yes".
8. Confirm the "Stop target group" dialog with "OK" and the subsequent "Download" dialog with "Yes".

Activate OS (WinCC runtime)


To activate the OS, proceed according to the following instructions:
1. Right-click on the OS and select "Open Object" from the context menu.
2. To activate the OS (WinCC Runtime), select the menu item "File > Activate" in WinCC Explorer.

NOTE After a restart of PLCSIM, the simulation of the system is in the basic state, i.e. the tanks are empty and
the input variables are reset to their initial values. In the basic status, several warning and alarm
messages are triggered, which you can acknowledge.
Instructions on how to start up the system from its initial state can be found in chapter 3.

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 10


Engineering EPH

3. Engineering EPH
3.1. Agitation
In chemical processes, different substances are often mixed together in an agitator or products are stirred so that they do
not harden.
This EPH is used to control an agitator, whereby the agitator has an ON/OFF motor.

3.1.1. Text
Overview (R&Iinand
in English background
thecomponents)
M NS01

LI
01

Designation Template Description

NS01 Mot Engine

LI01 AMon Level display

Table 3-1

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 11


Engineering EPH

3.1.2. Control strategy


Without Level monitoring
This mode of operation is used for agitating a product with an agitator, regardless of the level. The agitation process can
be limited in time (e.g. when mixing substances) or continuous (e.g. to avoid product hardening). The duration of the
agitation can be set via a setpoint. If the agitation process is limited in time, the operation stops after the agitation time
has elapsed. In the case of a continuous agitation process, the operation is terminated by an operator or by a higher-level
control system.

With Level monitoring


This mode of operation is used for agitating a product with an agitator, depending on the level. In contrast to the
"Without Level Monitoring" mode of operation, the level is monitored when the mode of operation is started. The agitator
is not switched on as long as the level in the tank does not correspond to the specified set point. If there is enough
product in the tank, the agitation is started. The agitation process can be limited in time (e.g. when mixing substances) or
continuous (e.g. to avoid product hardening). The duration of the agitation can be set via a setpoint. If the agitation
process is limited in time, the operation stops automatically after the agitation time has elapsed. In the case of an
continuous agitation process, the operation is terminated by an operation or a higher-level control.

Setpoints

Name Unit Operable state Control strategy Comment


Running

1 2 3 4 5 6 7 8 9 10

Agitation_Time min X X Agitation time


(SP_AGIT_TIME)

Level (SP_LEVEL) l X Level (setpoint)

Table 3-2

If the agitation_time = 0, then the agitation is continuous. If the value is greater than 0, it is agitated until the entered
value is reached.

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 12


Engineering EPH

3.1.3. Operation
In the basic state and in the "Stop" state, the EPH can be switched to manual operation. This is not possible in the other
states.
To select one of the modes and start the process, follow the instructions below:
1. Enter the tank capacity of "615 liters".

2. Activate level simulation

Screenshot in English in the


background

Image in the background

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 13


Engineering EPH

3. Open the SFC (1) and select the desired mode of operation (2). Confirm the "SFC Operation" dialog with "OK" (3). Start
the operation with the "Start" button (4) and confirm the dialog with "OK".

NOTE With the "Without_Level_Monitoring" mode, the agitation time is specified and displayed in minutes.
Image in the background
NOTE When "With_Level_Monitoring" is used, the agitation time in minutes and the level in liters are
specified and displayed.

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 14


Engineering EPH

3.2. Discharge (draining / recirculation)


For the manufacture of various products it is important to transfer substances or products between tanks. A certain
quantity or the complete content can be transferred. The product quality is maintained by pumping over the contents of
the tank. A classic example of this is an input tank. The target tank into which the various substances or products are
transferred is usually a reactor or an agitator.
During the transfer, this EPH controls the removal of product or input material from a tank.

Image in the background

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 15


Engineering EPH

3.2.1. Overview (R&I and components)

YS12
LI
11

YS11

NS11 YS13

Designation Template Description

NS11 Mot Pump

YS11 Val Bottom drain valve

YS12 Val Recirculation valve

YS13 Val Discharge valve

LI11 AMon Level display

Table 3-3

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 16


Engineering EPH

3.2.2. Control strategy


Discharge
The "Discharge" operating mode releases a certain quantity of a product from the tank; this quantity can be set via a
setpoint value. As long as the quantity has not yet been delivered, the delivery route is kept open. Once the quantity is
reached, the delivery path closes and the operating mode ends.
If the tank is empty before the request is withdrawn, a message is sent and the EPH "Discharge" goes to "Stop".
Control of the components during execution:

• Bottom drain valve "OPEN"


• Discharge valve "OPEN"
• Recirculation valve "CLOSED"
• Pump "ON"

Drain
The "Drain" operating mode empties the tank. At the "PV_Tank_Empty" input of the EPH, the signal for ending the
emptying process is connected, in this example the lower warning limit of the level monitoring.
Control of the components during execution:

• Bottom drain valve "OPEN"


• Discharge valve "OPEN"
• Pump "ON"

Circulation
Special products or materials require constant movement to prevent them from depositing and hardening. For this
purpose, the product is discharged from the tank for a user-defined time and pumped back into the tank.
Control of the components during execution:

• Bottom drain valve "OPEN"


• Recirculation valve "OPEN"
• Pump "ON"
The operating mode ends after the "Circulation_Time" has elapsed.

Setpoints

Name Unit Operable state Control strategy Comment


Running

1 2 3 4 5 6 7 8 9 10

Circulation_Time min X Circulation time in minutes


(SP_CIRC_TIME)

Discharge_Amount l X Quantity to be delivered


(SP_DIS_AMOUNT)

Table 3-4

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 17


Engineering EPH

3.2.3. Operation
In the basic state and in the "Stop" state, the EPH can be switched to manual operation. This is not possible in the other
states.
To select one of the modes and start the process, follow the instructions below:
1. Simulate tank capacity "615 liters".

Image in the background

Image in the background

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 18


Engineering EPH

2. Open the SFC (1) and select the desired mode of operation (2). Confirm the "SFC Operation" dialog with "OK" (3). Start
the operation with the "Start" button (4) and confirm the dialog with "OK".

Image in the background


NOTE In the "Discharge" mode, the discharge amount is specified and displayed in liters.

NOTE In the "Circulation" mode, the pumping time ("Circulation_Time") is specified and displayed in minutes.

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 19


Engineering EPH

3.3. Dosing Control Valve


In order to manufacture different products, it is important to transfer substances or products between tanks. It can
happen that the entire content or only a certain quantity from a tank is required. A classic example of such a tank is a
supply container. The target container into which the various substances or products are transferred is usually a reactor or
an agitator.
During the transfer, this EPH controls the dosing of an input material or product into a container or the filling of the
container with product or input material.

Image in the background

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 20


Engineering EPH

3.3.1. Overview (R&I and components)

YS21

NS21

YC21

FIC
21

LI
21

Designation Template Description

N211 Mot Pump

YS21 Val Shut-off valve

YC21 ValAn Control valve

F21 Ctrl Flow controller

LI21 AMon Level display

Table 3-5

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 21


Engineering EPH

3.3.2. Control strategy


Dosing
It is necessary to dose exact amounts of material into a container for the manufacture of products. In order to achieve fast
and precise dosing, this operating mode has a switchover from coarse dosing to fine dosing from a certain filling quantity.

Filling
This mode of operation is used to fill a container to a certain level. Such containers can be, for example, storage
containers in which no products are mixed. The container is filled in order to have enough product or input material
available for the further process. Another example is an agitator into which a product is filled in order to mix it.
To ensure that the filling process is fast, this mode of operation has a coarse filling function. The accuracy of filling is
achieved by switching to fine filling above a certain filling quantity.

Rinsing
Since different products are often produced in one container, it must be cleaned before a product change. Reasons for
this are for example preventing contamination of the product or avoiding unwanted reactions. This operating mode
ensures that the container is filled with detergent when the control valve is fully open. The detergent must be discharged
from the tank by another EPH or manually.

Level_Control
When removing the input material from a storage container, the container may be completely emptied. As a result, the
storage container is not ready for direct transfer to a mixing container until enough product or input materials is available
again after a waiting period.
In order to avoid these waiting times, this operating mode keeps the container level constant at a specified set level.

Setpoints

Name Unit Operable state Control strategy Comment


Running

1 2 3 4 5 6 7 8 9 10

CoarseFlow (SP_FLOW) l/min X X X Flow rate coarse dosing

FineFlow (SP_MIN_FLOW) l/min X X X Flow rate fine dosing

Tolerance l X Filling tolerance


(SP_TOLERANCE)

Level (SP_LEVEL) l X X Level (Setpoint)

Amount (SP_AMOUNT) l X Dosing volume

Tank_Number X X X X Container number


(SP_TANK_NO)

Table 3-6

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 22


Engineering EPH

3.3.3. Operation
In the basic state and in the "Stop" state, the EPH can be switched to manual operation. This is not possible in the other
states.
To select one of the modes and start the process, follow the instructions below:
1. Simulate tank capacity "150 liters".

Image in the background

Image in the background

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 23


Engineering EPH

2. Open the SFC (1) and select the desired mode of operation (2). Confirm the "SFC Operation" dialog with "OK" (3). Start
the operation with the "Start" button (4) and confirm the dialog with "OK".

Image In("FineFlow")
NOTE inthethe background
"Dosing" operating mode, the flow rates for coarse dosing ("CoarseFlow") and fine dosing
are specified and displayed in liters/minutes, the dosing rate ("Amount") in liters and the
tank number ("Tank_Number").

NOTE In the "Filling" operating mode, the flow rates for coarse dosing ("CoarseFlow") and fine dosing
("FineFlow") are specified and displayed in liters/minutes, the tolerance for filling ("Tolerance") in liters,
the filling level ("Level") in liters and the tank number ("Tank_Number").

NOTE When "Rinsing" is used, the container number ("Tank_Number") is preset and displayed.

NOTE With the "Level_Control" operating mode, the flow rates for coarse dosing ("CoarseFlow") and fine
dosing ("FineFlow") in liters/minutes, the filling level ("Level") in liters and the tank number
("Tank_Number") are specified and displayed.

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 24


Engineering EPH

3.4. Pressure (inerting and venting)


In chemical processes it is often very important to avoid an explosive atmosphere in containers. For this purpose, the
atmospheric oxygen or reactive or explosive gases are displaced in containers by adding inert gas. Another application is
product displacement from a container by inert gas. Typical inert gases are nitrogen, argon or carbon dioxide.
This EPH uses six modes of operation to make the atmosphere in containers inert, to displace the product from the
container or to maintain the pressure in the container.

Image in the background

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 25


Engineering EPH

3.4.1. Overview (R&I and components)


Exhaust 1 Exhaust 2 Exhaust 3
Inert gas (Vacuum)
PI PI PI PI
31 32 33 34

YS31 YS32 YS33 YS34

PIC
YC31 YC32
35

QIS-
Q31
Unit

Designation Template Description

P31 Pressure display

P32 Pressure display

P33 Pressure display

P35 Ctrl Pressure display

YS31 Val Inert gas valve 1

YS32 Val Valve exhaust pipe 1

YS33 Val Valve exhaust pipe 2

YS34 Val Valve exhaust pipe 3 (optional)

YC31 ValAn Control valve

YC32 ValAn Control valve

Q31 Amon Oxygen display (optional)

Table 3-7

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 26


Engineering EPH

3.4.2. Control strategy


Inerting
In this mode of operation, the concentration of a reactive or explosive gas is reduced by pressing on the container with
inert gas. The container is pressed on with inert gas until a certain pressure is reached. The container is then expanded by
opening the exhaust air valves. The process can be repeated several times.

Flushing
In this mode of operation, the concentration of a reactive or explosive gas is reduced by flushing the tank with inert gas.
The supply air valve and a pre-selected exhaust air valve are opened for this purpose. Then inert gas is fed into the
container. Flushing continues until the oxygen concentration has fallen below 5%. If no oxygen measurement is available,
the rinsing is terminated when an adjustable rinsing time has elapsed. The supply and exhaust air valves are then closed
again.

Inerting with open outlet


The operation fulfils two functions. On the one hand it can push product out of a container by inert gas and on the other
hand it can inert an empty apparatus and the connected product line.
For both processes, a product line must first be opened. The inert gas is then filled into the tank via the supply air valve.
When the product line is closed again, the operation is also stopped.

Ventilating
The operating mode is used to vent a container. However, this is done without the help of inert gas.
A preselected exhaust duct is opened and closed again after a certain time.

Evacuating
In this mode of operation, the container is evacuated via the vacuum line up to a specified pressure. The evacuation is
time-monitored.

Pressure Control
The operating mode is used to coat the container with inert gas. For this purpose, the container is kept at a preset
pressure by means of a split-range control.

Setpoints

Name Unit Operable state Control strategy Comment


Running

1 2 3 4 5 6 7 8 9 10

Inerting_Pressure bar X Contact pressure setpoint


(SP_INERT_PRES)

Release_Pressure mbar X X X Pressure to which release is to


(SP_RELEASE_PRES) be applied

Flushing_Time min X X flushing time


(SP_FLUSHING_TIME)

Monitoring_Time min X X X Monitoring time (monitoring


(SP_MONITOR_TIME) pressure changes over time)

Expansion_Pipe X X X Selection of the exhaust air duct


(SP_EXPAN_PIPE)

Number_of_Inertisations X Number of container


(SP_NO_INERT) pressurizations with inert gas

Hold_Pressure mbar X X Tank pressure set point


(SP_HOLD_PRES)

Table 3-8

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 27


Engineering EPH

NOTE The "Expansion_Pipe" setpoint is an enumeration. Three states are possible:


1. Expansion pipe 1 preselected
2. Expansion pipe 2 preselected
3. Expansion pipe 3 preselected

3.4.3. Operation
In the basic state and in the "Stop" state, the EPH can be switched to manual operation. This is not possible in the other
states.
To select one of the modes and start the process, follow the instructions below:
1. Pre-simulate "5 bar" inlet pressure.

Image in the background

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 28


Image in the background
Engineering EPH

2. Switch to vacuum pressure and simulate "-3 bar" of pressure.


3. Open the SFC (1) and select the desired mode of operation (2). Confirm the "SFC Operation" dialog with "OK" (3).
Start the operation with the "Start" button (4) and confirm the dialog with "OK".

NOTE With the "Inerting" mode of operation, the contact pressure ("Inerting_Pressure") and the pressure to
Englisches
be relieved Bild im Hintergrund
("Release_Pressure") in bar, the monitoring time ("Monitoring_Time") in minutes, the
selection of the exhaust pipe ("Expansion_Pipe") and the number of flushes are specified and
displayed.

NOTE In the "Flushing" mode, the flushing time and monitoring time in minutes and the selection of the
exhaust air pipe ("Expansion_Pipe") are specified and displayed.

NOTE With the "Inerting_with_OpenOutlet" mode, the pressure is preset and displayed in bar until you also
want to release ("Release_Pressure").

NOTE When operating the "Ventilation" mode, the pressure is set and displayed until the pressure is to be
released ("Release_Pressure") in bar, the flushing time ("Flushing_Time") in minutes and the selection
of the exhaust air pipe ("Expansion_Pipe").

NOTE In the "Pressure_Control" mode, the pressure to be held ("Hold_Pressure") is preset and displayed in
bar.

NOTE With the "Evacuation" mode, the pressure is set and displayed in bar and the monitoring time in
minutes until the pressure is to be released ("Release_Pressure").

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 29


Engineering EPH

3.5. Temperature
In chemical processes that require a time-dependent temperature control of the product chamber, the auxiliary unit used
must ensure rapid heat supply or dissipation. For this purpose, a pressurized water circulation system is used, in which a
pump circulates the water in the jacket circuit.
When heat is supplied, cooling water is indirectly heated with steam via a heat exchanger. The desired temperature is set
by regulating the steam pressure with a steam inlet control valve. The resulting condensate is discharged via a
condensate drain.
Cascade control with the internal temperature of the unit as the reference variable controls the inlet valves for cooling
water and steam. The product temperature is therefore assigned to the master controller and the return flow temperature
to the follow-up controller. The slave controller is designed as a split-range controller and supplies the control values to
the control valves. The control valves are therefore not operated by the EPH. You are working in "External jobs" mode.
Depending on the filling level of the container, the cascade control is separated. This means that if the container level no
longer ensures that the temperature sensors are immersed in the product, the setpoint for the follow-up controller is no
longer the manipulated variable formed from the internal temperature in the master controller, but is switched over to
direct setpoint input from the EPH.

Image in the background

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 30


Engineering EPH

3.5.1. Overview (R&I and components)

LI
41

TIC
41

TIC
42

NS41

YS42 YC42
Condensate Heating
steam

YS41

YC41

Water supply Water return

Designation Template Description

TIC41 Ctrl Guiding temperature controller

TIC42 CtrlSplitRange Slave temperature controller

NS41 Mot Pump

LI41 AMon Level display

YS41 Val Flow valve

YS42 Val Heating steam valve

YV41 ValAn Flow valve

YC42 ValAn Heating steam valve

Table 3-9

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 31


Engineering EPH

3.5.2. Control strategy


Temperature_Control
In this operating mode, a preset temperature will be reached inside the tank. Either heating steam or cooling water is fed
into the tank shell via the supply line. Both processes are indirect heat/cold transfer due to the separation with heat-
permeable walls.
In the heat exchanger, the system continuously pumps the contents of the container through the heat exchanger via
piping back to the container until a pre-defined temperature is reached.

Setpoints

Name Unit Operable state Control strategy Comment


Running

1 2 3 4 5 6 7 8 9 10

Temperature (SP_TEMP) °C X Product temperature set point

Tolerance °C X Tolerance band of the set


(SP_TOLERANCE) temperature

Hold_Time min X Time the product is to be kept


(SP_HOLD_TIME) at the set temperature

Table 3-10

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 32


Engineering EPH

3.5.3. Operation
In the basic state and in the "Stop" state, the EPH can be switched to manual operation. This is not possible in the other
states.
To select one of the modes and start the process, follow the instructions below:
1. Simulate tank capacity "615 liters".

Image in the background

2. Change to steam temperature and simulate a temperature of "120 °C".


Image in the background
3. Change to the refrigerant temperature and simulate a temperature of "4 °C".

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 33


Engineering EPH

4. Open the SFC (1) and select the desired mode of operation (2). Confirm the "SFC Operation" dialog with "OK" (3). Start
the operation with the "Start" button (4) and confirm the dialog with "OK".

NOTE In the "Temperature_Control" mode, the target temperature ("Temperature") and tolerance
Image in the
("Tolerance") background
in degrees Celsius and the time the product is to be kept at the target temperature
("Hold_Time") are specified and displayed in minutes.

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 34


Useful information

4. Useful information
4.1. Basics
4.1.1. General information
Automation technology
Process-engineering processes, e.g. in the chemical or pharmaceutical industries, are controlled and regulated with the
aid of automation technology.
The degree of automation of the systems varies greatly and depends on the type of system and process.
An automation solution usually includes the following aspects:

• Measurement and control


• Rules, including higher-level control strategies if necessary
• Transfer, process and display information
• Adherence to defined steps and processes
• Observing complex contexts
• Guaranteeing constant product quality
• Strategies in the event of deviations, overruns of process variables or failure of components

Process control
The primary task of the operator is the operational process management based on process and plant information of
process engineering production and its logistics and auxiliary processes.
With the help of process control, the targeted and reproducible setting of operating conditions is guaranteed and
compliance with defined tolerance ranges is ensured. After faults have occurred, measures must be taken to restore the
process to the desired state. In addition, the process is continuously optimized in terms of costs, quality and safety.
SIMATIC PCS 7 Advanced Process Graphics (APG) makes process visualization more efficient for the operator. The
information relevant for orientation and navigation is placed in the system overview. The information required for
operating and monitoring a plant section, e.g. reactor, is made available in a subordinate process image. The great
advantage of this procedure is that the information is dosed and optimized for process operation.

NOTE Detailed information and the procedure for configuring APG can be found in the article "Integration of
Advanced Process Graphics in SIMATIC PCS 7" under
https://support.industry.siemens.com/cs/ww/en/view/89332241

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 35


Useful information

4.1.2. Standardized plant units


Partial automation solution
The following figure shows the components of an automation solution for a process plant. The process is divided into
several process steps, such as fermentation and distillation. One process step corresponds to a plant section, which in turn
can consist of various technical functions, such as educt addition or agitation.

Figure 4-1: Process steps of a process engineering plant

Unit
The term subsystem stands for a "unit" in process engineering plants (e.g. agitated tank reactor, fermenter) including the
apparatus, sensors, actuators and automation (hardware and software).
Structured subsystems exist for both continuous and discontinuous (batch) processes.
Package units are a variant of subsystems. Examples of package units are refrigeration systems, vacuum systems and
packaging machines. Here, the manufacturer of the mechanical or process engineering apparatus supplies an automation
system specially tailored for this apparatus, which is mounted locally on the apparatus on a separate hardware. The
"Package Unit" is integrated as a whole into a higher-level process control system.

Equipment phases
A technical function is part of a subsystem and includes sensors, actuators, automation (hardware and software) and the
SFC designed and configured for use in specific applications, e.g. in process engineering (dosing device, level or
temperature control).
The automation solution of a technical function is structured as follows:

• Interconnected and parameterized measuring points


• Simulation to demonstrate the mode of operation
Each technical function is grouped in a hierarchy folder and can be integrated into existing projects.

Control module
Actuators and sensors are used on the individual control level as individual control units. In PCS 7, the individual control
unit is implemented with software typicals (CMTs = Control Module Types), e.g. for a valve, motor or controller.
The implementation in the CFC plan contains all relevant components, circuits and basic parameters. A single control unit
type is generated from the CFC and stored in the PCS 7 master data library. Any number of instances can be generated
from this individual control unit type, e.g. with the automation interface. The instances can differ greatly, for example,
options for functions as well as options for the process connection can be selected.
Each name of an individual control unit follows a uniform naming convention. This means that the designation provides
information about the function and task of the individual control unit.

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 36


Useful information

Unit Template
A unit template consists of several technical functions. Technical functions are combined into an automation component
solution in a unit template.
In addition, you can display additional information such as business or process key figures (KPI indicators) or the operating
times of aggregates in a unit template.
A unit template is grouped in a hierarchy folder and can be easily integrated and adapted in existing projects.
In contrast to the "package units", the unit concept does not create local "island controls" with proprietary hardware, but
rather prefabricated software solutions for frequently occurring units in a central process control system. Automation
component solutions for process plants are standardized, prefabricated and editable for the user. This means that the
templates only have to be adapted to the existing process technology and automation hardware. This significantly
reduces the engineering effort for several similar automation tasks.

Configuration with templates


Template-based project planning can be carried out at sub-system level, at technical function level or at individual control
level.
At the individual control level, a template for creating instances is created using individual control unit types in PCS 7. The
instances of the individual ECU types can be compared and synchronized with the PCS 7 Automation Interface.
Technical functions or subsystems are duplicated as a unit and adapted to the corresponding process technology.
The technical function and the unit template contain all the functions required for automation in the form of:

• CFC plans (instances of individual control unit types)


• SFC plans
• OS images

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 37


Useful information

4.2. Design and structure


4.2.1. CFC plan naming convention
The designation is structured according to a uniform naming convention and corresponds to the function according to the
European standard EN 62424 or ISO 3511. The following figure shows how a designation is composed:

FIC_Reflux
Function Meaning
F = Flow (first letter)
I = Indication (subsequent letter)
C = Control (subsequent letter)

The following table contains all letters used in the application example and their meaning:

First letter

Letter Meaning

F Flow

L Level

N Engine

P Pressure

Q Quantity

S Speed (velocity, rotational speed, frequency)

T Temperature

X Freely selectable first letter

Y Control valve

Subsequent letter

C Control

F Fraction

I Indication

S Binary control function or switching function (not safety-relevant) ("Switching")

Table 4-1

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 38


Useful information

4.2.2. Technological perspective


From a technological perspective, all batch equipment phases are realized in two hierarchy levels.
In the AS project "BatchEPH_AS" the first hierarchy level is empty and in the subordinate hierarchy level there is a
hierarchy folder for each equipment phase with the necessary CFC and SFC.
The first hierarchy level of the OS project "BatchEPH_OS" is also empty. The subordinate hierarchy level contains a
hierarchy folder for each equipment phase with a process screen and the hierarchy folder "01_Overview", in which the
overview screen of all batch equipment phases "Overview.pdl" is located. In the following figure, the folder structure is
shown schematically, i.e. the names of the subfolders differ from the folder names of the PCS 7 project.

BatchEPH_OS OS - Project

01_Overview

PDL
EPHOverview

Equipment Phases

PDL
Discharge

BatchEPH_AS AS - Project

Discharge
User program Simulation
CFC CFC CFC

Discharge LI01 Sim

CFC CFC

NS01 YS01

CFC CFC

YS02 YS03

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 39


Useful information

4.2.3. Individual control level


An individual controller is used to control individual devices such as motor, valve and controller. For this purpose, the
components required for this task, e.g. for controlling a valve, are combined in a single Control Module (CM).
If a single control unit is used several times in a project, e.g. in different versions, a single Control Module Type (CMT) is
created in PCS 7 and stored in the master data library.
This CMT can be used flexibly as an instance in different forms in the project.
With this technology, automation projects with the program logic can also be tested without real hardware.

NOTE The application example "Control Module (CM) Technology - Efficient Engineering in PCS 7" gives you a
general overview of how a CMT is created, extended and instantiated. The application example is
available under the following link: https://support.industry.siemens.com/cs/ww/en/view/109475748

Selecting a variant
A variant and the options necessary for solving the automation task are determined in the instance.
1. For this purpose, the technological connections are displayed in the CFC.
2. The available variants are displayed in the context menu.
3. The functionality required for the automation task is determined by selecting the options.

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 40


Useful information

4.3. Detailed description EPH


Each batch equipment phase consists of several CM instances and one SFC instance for executing the automation task.
You will find a detailed description of the individual CM including its functions and variants in the application example
"Technical functions for PCS 7 using the example of the chemical industry":
https://support.industry.siemens.com/cs/ww/en/view/53843373

4.3.1. "Agitation" - parameters and operation


methods
Setpoints (SP_)

Name Unit Operable state Control strategy Comment


Running

1 2 3 4 5 6 7 8 9 10

Agitation_Time min X X Agitation time


(SP_AGIT_TIME)

Level (SP_LEVEL) l X Level (Setpoint)

Table 4-2
If the agitation_time = 0, then the agitation is continuous. If the value is greater than 0, it is agitated until the entered
value is reached.

Process values (PV_)

Name Data type Unit Connection name Comment

Agitation_Time_Sec Analog sec PV_AGIT_TIME Converted agitation


time in seconds

Table 4-3

Timer (TI_)

Name Data type Unit Connection name Comment

Agitation_Timer Analog TI_AGIT Time for controlling the agitation


time (switch-off delay)

Table 4-4

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 41


Useful information

Position texts

Number Text

101 Start

102 Reset

103 MotorOn

104 AgitationTime

105 MotorOff

106 Agitate (agitate continuously)

302 ErrorMessage

303 Start_Timer

304 Pump_On

305 Pump_Off

306 Close_Valve

401 Stop_Timer

402 Enable_Manual

403 Disable_Manual

Table 4-5

Connections

Name Data type Comment

FL_SEQ Byte Stored sequencer

FL_STEP Word Stored step

Table 4-6

Standard SFC type messages

Number Type Text

SIG_1 Fault Runtime exceeded

NSIG_1 Operator prompt - general Operator prompt

NSIG_2 Status message - AS Active

NSIG_3 Status message - AS Completed

NSIG_4 Status message - AS Held

NSIG_5 Status message - AS Aborted

NSIG_6 Status message - AS Ready to complete

NSIG_7 Status message - AS Stopped

NSIG_8 AS control technology Error


Message - error

NSIG_9 Status message - AS Manual

NSIG_10 Status message - AS Not approved for SIMATIC BATCH

NSIG_11 Status message - AS Runtime exceeded

Table 4-7

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 42


Useful information

Free messages

Number Type Text

SIG_2 Alarm on top Locking failure

SIG_3

SIG_4

SIG_5

SIG_6

SIG_7

SIG_8

NSIG_12 Status message - AS

NSIG_13 Status message - AS

NSIG_14 Status message - AS

NSIG_15 Status message - AS

NSIG_16 Status message - AS

Table 4-8

Summarizing states
The following table illustrates which sequence chains correspond to each other in the operating modes.

Status Operating mode I Operating mode II


Without_Level_Monitoring With_Level_Monitoring

Starting X X1

Active X X

Completing X X1

Completed

Holding X X1

Held

Holding error X X1

Held error

Resuming X X1

Resuming error XResuming X1

Stopping X X1

Stopped

Aborting X X1

Aborted

Table 4-9
Legend
X : Sequencer exists
X1 : Same as sequencer in operating mode I

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 43


Useful information

Operating state_ Idle (Ready)


The EPH can only be started if there is no switch-on inhibit. The agitator motor "NS01" is switched off.
Manual operation of the CMs in idle mode is possible.

S1
M01 ModLiOp = FALSE
Start
SELFCOMP = TRUE

Operating mode I - "Without Level Monitoring"

Operating state: Starting


In the "Motor Auto" step, the agitator motor "NS01" is set to an automatic mode.
In the "Reset" step, the agitation timer is reset.

S1

Start
S1 Freigabe CM Hand Modus setzen
(QV_EN_CM_MAN = TRUE)
Start
T1

S2
M01 ModLiOp = TRUE
Motor Auto
Set M01 Auto mode

T2 Is M01 Auto

S3
Reset timer
Reset

T3 Timer is reseted

S4

End

S1 Freigabe CM Hand Modus sperren


(QV_ENABLE_CM_MAN = FALSE)
Start

T1

S2
Zeit rücksetzen
Reset

T2 Zeit ist zurückgesetzt

S3
Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 44
Ende
Useful information

Operating state: Run (active)


The agitator motor "NS01" is switched on when the machine is on. If the agitator motor "NS01" is running, then there are
two possibilities:
1. Continuous agitation if agitation time (SP_AGIT_TIME) = 0.
The operating mode can be terminated or restarted by a manual operation or a superimposed control
(SIMATIC BATCH).
2. Agitation after time, if agitation time (SP_AGIT_TIME) > 0.
When the agitation time has elapsed, the agitator motor is switched off.

S1

Start

T1

S2 Activate M01

Motor On Save step for resume in this step

Agitation time is finite Agitation time is infinite


T2.1 T2.2
M01 is activated M01 is activated

S3.1 S3.2
Agitation Start agitation time SELFCOMP = FALSE
Agitate
Time Save agitation time READY TC = TRUE

T3.1 Agitation time is finished T3.2 Is COMPLETING

S4
Deactivate M01
Motor Off
Save step for resume in
this step

T4 M01 is deactivted

S5

End

S1 Freigabe CM Hand Modus sperren


(QV_ENABLE_CM_MAN = FALSE)
Start

T1

S2 M01 einschalten
Schritt speichern für Fortsetzen in diesem
Motor On
Schritt

Rührzeit endlich Rührzeit unendlich


T2.1 T2.2
M01 eingeschaltet M01 eingeschaltet

S3.1 S3.2
Agitation Rührzeit starten READY TC = True
Agitate
Time Rührzeit speichern

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 45


T3.1 Rührzeit beendet T3.2 COMPLETING (als Dummy)
Useful information

Operating state: Completing


In the "Completing" state, the agitator motor "NS01" is switched off. If the agitator motor "NS01" is off, then the basic
state (idle) is established.

S1

Start

T1

S2
Deactivate M01
Motor Off

T2 M01 is deactivated

S3

End

Operating state: Holding


In the "Holding" state, the agitator motor "NS01" is switched off and then switched to manual operation.
The "Holding" state is used to set the "Held" state.
S1 Freigabe CM Hand Modus sperren
(QV_ENABLE_CM_MAN = FALSE)
S1
Start

Start
T1

S2T1
M01 ausschalten
Motor Off
S2
Deactivate M01
Motor Off
T2 M01 ist aus

S3T2 M01 is deactivated

End
S3
Motor Set M01 Manual mode
Manual

T3

S4

End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 46


Useful information

Operating state: Error (holding (error))


The "Holding (error)" state is reached by an extreme event (locking).
The agitator motor "NS01" is switched off in the "Holding (error)" state. An error message is sent. Then the agitator motor
is put into manual operation.
The "Held (error)" state is not activated until the error has been corrected.

S1

Start

T1

S2
Activate Error Message SIG_2
Error
Message

T2

S3
Deactivate M01
Motor Off

M01 is deactivated
T3 No external Error
No internal Error

S4
Deactivate Error Message SIG_2
Reset
Message Set M01 Manual mode

T4

S5

End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 47


Useful information

Operating state: Resuming


When a target step is saved, it continues from that point.
An error leads to a continuation lock. Resumption of the EPH is possible only when continuation is not locked.

S1

Start

T1

S2
Set Target Set target step
Step

T2

S3

End

Operating state: Stopping


In the "Stopping" state, the agitator motor "NS01" is switched off. The basic state (idle) is set via the "Stopping" state.
S1
The step chain is initialized (flags andCM
Freigabe times areModus
Hand reset).
sperren
(QV_ENABLE_CM_MAN = FALSE)
Start
S1

Start
T1

T1
S2
Zielschritt setzen
Set Target
S2
Step Deactivate M01
Motor Off

T2
T2 M01 is deactivted

S3
S3
End
End

S1 Freigabe CM Hand Modus sperren


(QV_ENABLE_CM_MAN = FALSE)
Start

T1

S2
M01 ausschalten
Motor Off

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 48

T2 M01 ist aus


Useful information

Operating state: Aborting


In the "Aborting" state, the agitator motor "NS01" is switched off.
The "Aborting" state is used to set the idle state.

S1

Start

T1

S2
Deactivate M01
Motor Off
Reset message

T2 M01 is deactivated

S3

End

S1 Freigabe CM Hand Modus sperren


(QV_ENABLE_CM_MAN = FALSE)
Start

T1

S2
M01 ausschalten
Motor Off Meldung rücksetzen

T2 M01 ist aus

S3

End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 49


Useful information

Operating mode II – "With level monitoring"

Operating state: Run (active)


The agitator motor "NS01" is switched on in the operating mode after the fill level has been checked.
If the agitator motor "NS01" is running, then there are two possibilities:
1. Continuous agitation if agitation time (SP_AGIT_TIME) = 0.
The operation mode is terminated by a manual operation or by a superimposed control (SIMATIC Batch).
2. Agitation after time, if agitation time (SP_AGIT_TIME) > 0.
Once the agitation time has elapsed, the "M01" agitator motor is switched off.

S1

Start

T1 PV_LEVEL > SP_LEVEL

S2 Activate M01

Motor On Save step for resume in this step

Agitation time finite Agitation time infinite


T2.1 T2.2
M01 is activated M01 is activated

S3.1 S3.2
Agitation Start agitation time SELFCOMP = FALSE
Agitate
Time Save agitation time READY TC = TRUE

T3.1 Agitation time is expired T3.2 Is COMPLETING

S4
Deactivate M01
Motor Off
Save step for resume in
this step

T4 M01 is deactivated

S5

End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 50


Useful information

4.3.2. "Discharge" - parameters and operation


methods
Setpoints (SP_)

Name Unit Operable state Control strategy Comment


Running

1 2 3 4 5 6 7 8 9 10

Circulation_Time min X Circulation time in minutes


(SP_CIRC_TIME)

Discharge_Amount l X Quantity to be delivered


(SP_DIS_AMOUNT)

Table 4-10

Process values (PV_)

Name Data type Unit Connection name Comment

Circulation_Time_Sec Analog sec PV_TANK_CIRC_TIME_SEC Recalculated circulation


time in seconds

Settle_Time_Sec Analog sec PV_SETL_TIME Calculated follow-up


time in seconds

Tank_Number_OK Binary PV_TANK_NO_OK Requirement from EPH


"Dosing"

Tank_Empty Binary PV_TANK_EMPTY Container is empty

Table 4-11

Parameter (IN_)

Name Data type Unit Connection name Comment

Settling_Time Analog sec IN_SETTLE_TIME Follow-up time during


emptying

Table 4-12

Control values (QV_)

Name Data type Connection name Comment

Enable_CS Integer QV_EN_CS Enable change of operating


mode

Start_Circ_Time Binary QV_START_CIRC_TIME Start command external time


counter

Reset_Circ_TIME Binary QV_RESET_CIRC_TIME Reset external timers

Start_Settle_Time Binary QV_START_SETTL_TIME Start command external time


counter

Reset_Settle_Time Binary QV_RESET_SETTL_TIME Reset external timers

Settle Time Real QV_SETTLE_TIME Follow-up time in seconds

SetDischargeAmount Binary QV_SetDischargeAmount Set the integrator for the


discharge amount

Table 4-13

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 51


Useful information

Position texts

Number Text

1 Idle

100 Start

101 Reset

102 Check_Vessel

103 Open Route

104 Error

201 Enable_Control_Strategy

202 Start_Timer

301 Pump_On

401 Pump_Off

402 Close_Valve

403 Stop_Timer

404 Enable_Manual

405 Disable_Manual

501 CMs_Off (switch off individual controls)

502 Aborted

503 Completed

Table 4-14

Connections

Name Data type Comment

IN_CSEnableIDLE DWord Specifies which operating modes can be


jumped to from IDLE.

IN_CSEnableCS1 DWord Indicates into which operating modes


you are allowed to jump from operating
mode 1

IN_CSEnableCS2 DWord Specifies into which operating modes


you are allowed to jump from operating
mode 2.

IN_CSEnableCS3 DWord Specifies into which operating modes the


user is allowed to jump from operating
mode 3.

Table 4-15

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 52


Useful information

Standard SFC type messages

Number Type Text

SIG_1 Fault Step execution time exceeded

NSIG_1 Operating requirements - general Operator prompt - (Operating


requirements)

NSIG_2 Status message - AS Active

NSIG_3 Status message - AS Completed

NSIG_4 Status message - AS Held

NSIG_5 Status message - AS Aborted

NSIG_6 Status message - AS Ready to complete

NSIG_7 Status message - AS Stopped

NSIG_8 AS control technology Error


Message - error

NSIG_9 Status message - AS Manual

NSIG_10 Status message - AS Not released for SIMATIC BATCH

NSIG_11 Status message - AS Execution time exceeded

Table 4-16

Free messages

Number Type Text

SIG_2 Alarm on top Interlock failure

SIG_3 Alarm on top Tank Empty

SIG_4

SIG_5

SIG_6

SIG_7

SIG_8

NSIG_12 Status message - AS

NSIG_13 Status message - AS

NSIG_14 Status message - AS

NSIG_15 Status message - AS

NSIG_16 Status message - AS

Table 4-17

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 53


Useful information

Summarizing states
The following table illustrates which sequence chains correspond to each other in the operating modes.

Status Operating mode I Operating mode II Operating mode III


Discharge Drain Circulation

Starting X X1 X1

Active X X1 X1

Completing X X1 X1

Completed

Holding X X1 X1

Held X X1 X1

Holding error X X1 X1

Held error XHeld X1 X1

Resuming X X1 X1

Resuming error XResuming X1 X1

Stopping XCompleted X1 X1

Stopped

Aborting X X1 X1

Aborted

Table 4-18
Legend
X : Sequencer exists
X1 : Same as sequencer in operating mode I
XHeld : Same as "held" state in the same operating mode

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 54


Useful information

Operating state: Idle (Ready)


The EPH can only be started if there is no switch-on inhibit.
Manual operation of the CMs in idle mode is possible.

S1
CMs ModLiOp = FALSE
Start

Operating mode I – "Discharge"

Operating state: Starting


In the "Starting" state, the EPH is initialized, i.e. all timers are reset.

S1

Start

S1 Freigabe CM Hand Modus setzen


T1 (QV_EN_CM_MAN = TRUE)
Start

S2
Reset timers
Reset

T2 Timers are reseted

S3

End

S1 Freigabe CM Hand Modus sperren


(QV_ENABLE_CM_MAN = FALSE)
Start

T1

S2
Zeit rücksetzen
Reset

T2 Zeit ist zurückgesetzt

S3

Ende

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 55


Useful information

Operating state: Run (active)


In the "Active" state, the counter for the discharge amount is reset (PV_TANK_NO_OK = TRUE).
When the counter is reset, the pump-over valve "YS12" is closed, the bottom drain valve "YS11" and the drain valve "YS13"
are opened. When "YS12" is closed and "YS11" and "YS13" are open, the delivery starts. It runs until the expired quantity is
reached (PV_TANK_NO_OK = FALSE).
If the tank is empty before the request is reset (PV_TANK_EMPTY = TRUE), the message "SIG_2" is output and the EPH goes
into the "Error" state.

S1

Start

T1

S2
CMs ModLiOp = TRUE
AUTO Set CMs Auto mode

T2 Are CMs Auto

S3
Check Reset counter for the discharged amount
Vessel (QV_SetDischargeAmount = TRUE)

T3 Counter for the discharged amount reseted


PV_TANK_NO_OK = FALSE

S4
Activate pump M01
Open
Open bottom drain valve V01
Route
Close circulation valve V02
Open discharge valve V03

T4. 1 Is discharge amount reached T 4.2 Is Vessel empty

S 5.2
Message (SIG _2) depose
Error
Set ERROR state

T4 .2

S5
End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 56


Useful information

Operating state: Completing


In the "Start" step, the release for active change of control strategies is reset (ENASTART = FALSE).
The "NS11" pump is switched off and all valves are then closed. Then the basic state (idle) is set via the "completed" state.

S1
Reset release control strategies
Start (QV_EN_CS = FALSE)

T1

S2
Set CMs Auto mode
AUTO

T2 Are CMs Automatic

S3
Deactivate M01
Pump Off

T3 M01 is deactivated

S4
Close bottom drain valve V01
Close Valve Close circulation valve V02
Close discharge valve V03

T4 Bottom drain valve V01 is closed


Circulation valve V02 is closed
Discharge valve V03 is closed

S5
Stop timer
Stop Timer

T5

S6

End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 57


Useful information

Operating state: Holding


In the "Start" step, the release for active change of control strategies is reset (ENASTART = FALSE).
In the "Holding" state, the "NS11" pump is switched off.
When the pump is off, all valves are closed and then the times are stopped. The "Holding" state is used to set the "Held"
state.

S1

Start Reset release control strategies

T1

S2
Set CMs Auto mode
AUTO

T2 Are CMs Automatic

S3
Deactivate M01
Pump Off

T3 M01 is deactivated

S4
Close bottom drain valve V01
Close Valve Close circulation valve V02
Close discharge valve V03

T4 Bottom drain valve V01 is closed


Circulation valve V02 is closed
Discharge valve V03 is closed

S5
Stop timer
Stop Timer

T5

S6

End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 58


Useful information

Operating state: Held


S1

Start

T1

S2
Enable CMs ModLiOp = FALSE
Manual

T2

S3

End

Operating state: Error (Holding error)


The "Holding (error)" state is achieved by an external event (interlock) or by an internal "Error" command.
In the S1
"Start" step, the release for active change of control strategies is reset (ENASTART = FALSE).
In theStart
holding (error) state, the pump NS11 is turned off. When the pump is off, all valves are closed and then the times
are stopped. If the error is no longer pending, the held (error) state is set after the holding (error) state.

S 1T1

Start Reset release control strategies


S2
Freigabe CM Hand Modus setzen
Pump Off (QV_ENABLE_CM_MAN= True)

T1
T2
S2
S3
Set CMs Auto Mode
AUTO
End

T2 Are CMs Automatic

S3
Deactivate M01
Pump Off

T3 M01 is deactivted

S4
Close Bottom drain valve V01
Close Valve
Close circulation valve V02
Close discharge valve V03

Bottom drain valve V01 is closed


T4
Circulation valve V02 is closed
Discharge valve V03 is closed

S5
Stop timer
Stop Timer

T5 No external Error
No internal Error

S6

End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 59


Useful information

Operating state: Resuming


In the "Disable Manual" step, the release for manual operation of the CMs is reset.
The "Continuing" state is used to set the "Active" state again.
Active sequencer starts again from the "Start" step.

S1

Start

T1

S2
Disable CMs ModLiOp = TRUE
Manual

T2

S3

End

Operating state: Aborting


In the "Start" step, the release for active change of operating modes is reset (ENASTART = FALSE).
In the S1
"canceling" state, the pump "NS11" is switched off, the valves closed and the times stopped. The "Aborting" state is
used to set the idle state.
Start

T1
S1
S2
Start Reset release control strategies change
Freigabe CM Hand Modus setzen
Disable (QV_ENABLE_CM_MAN= True)
Manual

T1
T2

S2S3
Set CMs Auto mode
AUTO
End

T2 Are CMs Automatic

S3
Deactivate M01
CMs Off
Close bottom drain valve V01
Close circulation valve V02
Close discharge valve V03
Stop time

T3

S4

End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 60


Useful information

Operating mode II – "Drain"

Operating state: Run (active)


In the "Active" state, the "YS12" pump-over valve is closed, the "YS11" bottom outlet valve and the "YS13" drain valve are
opened.
If "YS12" is closed and "YS11" and "YS13" are open, then the pump "NS11" is switched on.
If the tank is empty (PV_TANK_EMPTY = TRUE), the Settling_Time is started to empty the tank completely.
If the operation mode is not changed, the operation mode is terminated after the tank has been completely emptied.
It is possible to change to the "pump over" mode of operation.

S1
Control strategy selection (Drain)
Start

T1

S2
Set CMs Auto mode
AUTO

T2 Are CMs Automatic

S3
Open bottom drain valve V01
Open
Route Close circulation valve V02
Open discharge valve V03

T3 Bottom drain valve V01 is opened


Circulation valve V02 is closed
Discharge valve V03 is opened

S4
Enable release control strategies change
Enable CS

T4 Vessel is empty (PV_TANK_EMPTY = TRUE)

S5
Reset release control strategies change
Start
Timer Start Settling timer

T5 Settling time is ended

S6

End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 61


Useful information

Operating mode III – Circulation

Operating state: Run (active)


In the "Active" state, the "YS12" pump over valve and the "YS11" bottom outlet valve are opened and the "YS13" outlet
valve is closed. If "YS11" and "YS12" are open and "YS13" is closed, then the pump "NS11" is started. If the pump is on, the
circulation time is started. On expiry of the circulation time, the bottom drain valve YS11 is closed and the control strategy
completed.

S1

Start Control strategy selection (Circulation)

T1

S2

AUTO Set CMs Auto mode

T2 Are CMs Automatic

S3
Open bottom drain valve V01
Open
Route Open circulation valve V02
Close discharge valve V03

T3 Bottom drain valve V01 is opened


Circulation valve V02 is opened
Discharge valve V03 is closed

S4
Activate pump M01
Pump On

T4 Pump M01 is activted

S5
Start circulation timer
Start
Timer Enable release control strategies change

T5 Circulation time is expired

S6
Reset release control strategies change
End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 62


Useful information

4.3.3. "Dosing Control Valve" - Parameters and


operating mode
Setpoints (SP_)

Name Unit Operable state Control strategy Comment


Running

1 2 3 4 5 6 7 8 9 10

CoarseFlow (SP_COARSE_FLOW) l/min X X X Flow rate coarse dosing

FineFlow (SP_FINE_FLOW) l/min X X X Flow rate fine dosing

Tolerance (SP_TOLERANCE) l X Filling tolerance

Level (SP_LEVEL) l X X Level (Setpoint)

Amount (SP_AMOUNT) l X dosing volume

Tank_Number (SP_TANK_NUMBER) X X X X Container number

Table 4-19

Process values (PV_)

Name Data type Unit Connection name Comment

Actual_Amount Analog l SP_AMOUNT_AI Actual amount dosed


into the tank

Actual_Flow Analog l/min SP_FLOW_AI Actual flow rate

Actual_Level Analog l SP_LEVEL_AI Actual tank level

Amount_Remaining Analog l PV_AM_REM Amount still to be


dosed

Level_High_Limit Binary PV_LVL_HL Upper limit reached

Level_Low_Limit Binary PV_LVL_LL Lower limit reached

Table 4-20

Parameter (IN_)

Name Data type Unit Connection name Comment

Min_Coarse_Flow Analog l/min IN_MIN_COARSE_FILL Minimum flow rate for coarse filling

Switch_Fine_Filling Analog l IN_FINE_FILL_SW From this quantity on, the system switches to fine
filling.

Min_Fine_Flow Analog l/min IN_FLW_FINE_FILL Target flow rate for fine filling

Max_Tank_Level Analog l IN_MAX_TANK_LEVL Maximum level when filling

Settling_Time Analog sec IN_SETL_TIME Settling time after which the tank level is measured

Switch_Fine_Dosing Analog l IN_FINE_DOSE_SW From this quantity on, the system switches to fine
dosing.

Switch_Max_Level Binary IN_MAX_SW Switching point maximum container level reached


while standing still

Switch_Fine_Level Binary IN_FINE_SW Switching point for fine filling while standing still

Table 4-21

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 63


Useful information

Timer (TI_)

Name Connection name Comment

Settling_Timer TI_SETL Timer for controlling the settling time


(off-delayed)

Flow_Min_Time TI_FMIN Override of the flow monitoring

Table 4-22

Bit memory (FL_)

Name Data type Connection name Comment

Fill_Max_Error Binary FL_FILL_ERROR Markers: Maximum filling level


was exceeded during filling

Table 4-23

Control values (QV_)

Name Data type Connection name Comment

Enable_CM_Manual Binary QV_EN_CM_MAN Enable to switch to manual


mode for all CMs

Current_Tank_No Integer QV_TANK_NO Current tank number

Table 4-24

Position texts

Number Text

101 Start

102 Reset

103 Open_Valve

104 Pump_On

105 Dosing

106 Error

107 Fine_Dosing

201 Filling

202 Fine_Filling

203 Settling Time

301 Ctrl_Manual

403 Ctrl_Off

404 Pump_Off

405 Close_Valve

406 Waiting

501 CMs Off

502 Enable_Manual

503 Disable_Manual

504 SetTargetStep

Table 4-25

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 64


Useful information

Connections

Name Data type Connection name Comment

SequenceFlag Byte FL_SEQ Stored sequencer

StepFlag Word FL_STEP Stored step

Table 4-26

Standard SFC type messages

Number Type Text

SIG_1 Fault Step execution time exceeded

NSIG_1 Operating requirements - general Operator Prompt

NSIG_2 Status message - AS Active

NSIG_3 Status message - AS Completed

NSIG_4 Status message - AS Held

NSIG_5 Status message - AS Aborted

NSIG_6 Status message - AS Ready to complete

NSIG_7 Status message - AS Stopped

NSIG_8 AS control technology Error


Message - error

NSIG_9 Status message - AS Manual

NSIG_10 Status message - AS Not released for SIMATIC BATCH

NSIG_11 Status message - AS Execution time exceeded

Table 4-27

Free messages

Number Type Text

SIG_2 Alarm on top Interlock failure

SIG_3

SIG_4

SIG_5

SIG_6

SIG_7

SIG_8

NSIG_12 Status message - AS

NSIG_13 Status message - AS

NSIG_14 Status message - AS

NSIG_15 Status message - AS

NSIG_16 Status message - AS

Table 4-28

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 65


Useful information

Summarizing states
The following table illustrates which sequence chains correspond to each other in the operating modes.

Status Operating mode I Operating mode II Operating mode III Operating mode III
Dosing Filling Rinsing Level_Control

Starting X X1 X1 X1

Active X X X X

Completing X X1 X1 X1

Completed

Holding X X1 X1 X1

Held X1 X1 X1

Holding error XHolding X1 X1 X1

Held error XHeld X1 X1 X1

Resuming X X1 X1 X1

Resuming error XResuming X X1 X1

Stopping XCompleted X1 X1 X1

Stopped

Aborting X X1 X1 X1

Aborted

Table 4-29
Legend
X : Sequencer exists
X1 : Same as sequencer in operating mode I

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 66


Useful information

Operating state: Idle (Ready)


The EPH can only be started if there is no activation lock.
Manual operation of the CMs in idle mode is possible.

S1 Release CM manual mode set


(QV_EN_CM_MAN = TRUE )
Start

Operating mode I – "Dosing"

Operating state: Starting


In the "Start" step, the release for manual operation of the CMs is reset. In the "Starting" state, the EPH is initialized and
the settling time is reset.

S1
Reset enable CMs manual mode
Start Save Sequencer
S1 (FL_SEQ = CUSEQ)
Freigabe CM Hand Modus setzen
(QV_EN_CM_MAN = TRUE)
Start Save Step
T1 (FL_STEP = CUSTEP)
Set CMs Auto mode
S2

Reset Reset timers and error

T2

S3

End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 67


Useful information

Operating state: Run (active)


In the "Active" state, first open the shut-off valve "YS21" and then switch on the pump "NS21" so that the dosing path is
set.
The product is first dosed with a coarse dosing unit. To do this, start the flow controller "F21" with the flow rate "Coarse
dosing (SP_COARSE_FLOW)". When the batched quantity (SP_AMOUNT_AI) reaches the switchover value "fine dosing
(IN_FINE_DOSE_SW)", the flow controller controls the flow rate "fine dosing (IN_FINE_DOSE)" and fine dosing is active. If
during the dosing phases (coarse dosing, fine dosing) the value falls below the setpoint "minimum flow increase per time
unit (SP_MIN_FLOW)", the state "Holding (error)" is set. When the preset amount (SP_AMOUNT) is reached, fine dosing
and operating mode are ended automatically.

S1
Reset enable CM manual mode
Start (QV_ENABLE_CM_MAN = FALSE)
Save chain
(FL_SEQ = CUSEQ)
T1 Set vessel selection
(QV_TANK_NO = SP_TANK_NO)

S2
Open shut-off valve V01
Open Valve

T2 Shut-off valve V01 is open

S3
Activate pump M01
Pump On

T3 Pump M01 is activted

S4 Turn on flow rate contoller F01 with the


coarse dosing (SP_COARSE_FLOW_Q)
Dosing
Save step
(FL_STEP = CUSTEP)

T4.1 Switchover value fine dosing is not reached T4.2 Switchover value fine dosing is reached
and quantity increase per time is smaller as the
minimum increase in quantity per time

S5
Activate state HOLDING (Error)
Error (INTERROR = TRUE)

T5 Error = TRUE

S6 Turn on flow rate contoller F01 with the


fine dosing (IN_FINE_DOSE)
Fine
Dosing
Save step
(FL_STEP = CUSTEP)

T6.1 Specified quantity is not reached T6.2 Specified quantity is reached


and quantity increase per unit of time is smaller as the
minimum increase in quantity per time

S7
Activate state HOLDING (Error)
Error (INTERROR = TRUE)

T7 Error = TRUE

S8 Reset vessel selection


(QV_TANK_NO = 0)
End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 68


Useful information

Operating state: Completing


In the "Start" step, the release for manual operation of the CMs is reset.
In the "Completing" state, the flow controller "F01" and then the pump "M01" are switched off. The shut-off valve "V01" is
closed as soon as the pump is off. When the shut-off valve is closed, the basic state (idle) is set via the "Completed" state.

S1
Release CM manual mode disable S1
Start Freigabe
(QV_ENABLE_CM_MAN = FALSE) Start (QV_EN

T1 T1

S2 S2
Turn off flow rate contoller F01 Durchflu
Control Off Control Off

T2 Durch
T2 Flow rate contoller F01 is turned off

S3
Pumpe M
S3 Pump Off
Turn off pump M01
Pump Off

T3 Pump

T3 Pump M01 is turned off


S4
Absperr
Close Valve
S4
Close shut-off valve V01
Close Valve

T4 Abspe

T4 Shut-off valve V01 is closed S5

End

S5

End

Unrestricted

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 69


Useful information

Operating state: Holding


In the "Start" step, the release for manual operation of the CMs is reset.
In the "Holding" state, the pump "M01" and the flow controller "F01" are switched off, the shut-off valve "V01" is closed
and the settling time is stopped. If no more errors are present, the "Holding" state is used to set the "Holding" state.

S1 S1

Start Start

T1 T1
Reset enable CM manual mode Freigabe C
(QV_ENABLE_CM_MAN = FALSE) (QV_ENAB
S2 S2
Deactivate pump M01 Pumpe M0
CMs Off CMs Off
Close shut-off valve V01 Absperrve
Durchfluss
Turn off flow rate contoller F01
Beruhigun
Stopping settling time

T2 Kein ext
T2 No external Error
Kein inte
No internal Error
S3
S3
End
End

Operating state: Held

S1
S1
Start
Start

T1 T1

S2
S2 Freigabe CM H
Reset enable CM manual mode Enable (QV_ENABLE_C
Enable (QV_ENABLE_CM_MAN = TRUE) Manual
Manual
T2
T2
S3

S3 End

End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 70


Useful information

Operating state: Resuming


In the "Disable Manual" step, the release for manual operation of the CM is reset.
In the "Continuing" state, first the shut-off valve "V01" is opened and then the pump "M01" is switched on. When the
pump is switched on, the set step of the active step chain is set and the settling time is reset.
The "Continuing" state is used to set the "Active" state again.

S1
S1
Start Start

T1 T1

S2
S2 F
Release CM manual mode disable Disable (Q
Disable (QV_ENABLE_CM_MAN = FALSE) Manual
Manual

T2

T2

S3
Ab
Open Valve
S3
Open shut-off valve V01
Open Valve

T3 A

T3 Shut-off valve V01 is opened S4


Pu
Pump On

S4
Turn off pump M01
Pump On T4 P

S5 Zie
Set Target Sc
T4 Pump M01 is turned off Step Zie
Ke

S5 Be
Destination step (TARGETSTEP) =
Set Target step flag T5 B
Step Destination chain (TARGETSEQ) =
chain flag
S6
Reset settling time
End
T5 Reset settling time

S6

End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 71


Useful information

Operating state: Aborting


In the "Start" step, the release for manual operation of the CMs is reset.
In the "Holding" state, the pump "M01" and the flow controller "F01" are switched off, the shut-off valve "V01" is closed
and the settling time is stopped.
The "Aborting" state is used to set the idle state.

S1
Reset enable CM manual mode S1
Start (QV_ENABLE_CM_MAN = FALSE) Freigab
Start (QV_EN

T1
T1

S2
Deactivate pump M01 S2
CMs Off Pumpe
Open shut-off valve V01 CMs Off
Absperr
Turn off flow rate controller F01
Durchflu
Stopping settling time
Beruhig

T2
T2

S3 S3
End Ende

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 72


Useful information

Operating mode II – "Filling"

Operating state: Run (active)


In the "Active" state, first the shut-off valve "V01" is opened and then the pump "M01" is switched on so that the dosing
path is set.
The tank is first filled with a coarse filling. To do this, start the flow controller "F01" with the flow parameter "Coarse filling
(IN_FLW_FILL)". When the tank level (PV_LEVEL_AI) has reached the parameter "Changeover fine filling
(IN_FINE_FILL_SW)", the flow controller changes to the flow parameter "Fine filling (IN_FLW_FINE_FILL)" and the fine
filling is running.
If the "maximum tank level (IN_MAX_TANK_LEVL)" is then reached, filling is stopped and the flow controller is switched
off. After a "settling time (TI_SETL)", an actual/setpoint comparison is performed. If the actual tank level is within a
"tolerance band (SP_TOLERANCE)", the operation mode is automatically terminated. If the actual tank level is below the
tolerance band, the "Filling" step is carried out again. If the actual container level is above the tolerance band, the "
Holding (error) " state is set.
If during the filling phases (coarse filling, fine filling) the set point "minimum flow increase per time unit (SP_FINE_FLOW)"
is not reached, the " Holding (error) " state is set.

S1
Reset enable CM manual mode
Start (QV_ENABLE_CM_MAN = FALSE)
Save sequencer (FL_SEQ)
T1

S2
Open shut-off valve V01
Open Valve

T2 Shut-off valve V01 is opened

S3
Activate pump M01
Pump On

T3 Pump M01 is activated

S4 Turn on flow rate contoller F01 with


the coarse dosing
Filling
Save step (FL_STEP)

T4.1 Switchover value fine dosing is not reached T4.2 Switchover value is reached
and quantity increase per time is smaller as the
minimum increase in quantity per time

S5
Activate state HOLDING (Error)
Error (INTERROR = TRUE)

T5

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 73


Useful information

S6 Ativate flow rate contoller F01


Fine with the fine dosing
Filling
Save step (FL_STEP)

T 6.1 Specified quantity is not reached T 6.2 Specified quantity is reached


and quantity increase per unit of time is smaller as the
minimum increase in quantity per time

S7
Set Operation state Holding
Error Error (INTERROR = TRUE)

T7

S8
Start settling time
Settling (TI_SETL )
Time
Save step (FL_STEP)

Activate flow rate contoller F01

T 8.1 Settling time is expired T 8.2 Settling time is expired T 8.3 Settling time is expired
Amount in tolerance band Amount over tolerance band Amount under tolerance band

Jump to step 6 "Fine Filling"


S9 S9
Activate state HOLDING (Error)
Error (INTERROR = TRUE)
NOP

T 9.1 T 9.2

S 10

End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 74


Useful information

Operating state: Resuming (Error)


If the limit value was exceeded during filling, the EPH is terminated via the "Stop" command.

S1

Start S1

Start

T1 Exceed limit value by filling T1 Grenzwert beim Füllen überschritten

S2
S2 INTSTOP = TRUE
INTSTOP = TRUE Stopping
Stopping

T2

T2 S3

End

S3

End

Operating mode III – "Rinsing"

Operating state: Run (active)


In the "Active" state, first the shut-off valve "V01" is opened and then the pump "M01" is switched on so that the flushing
path is set.
During the flushing process, the "F01" flow controller is operated in the setting mode, i.e. the EPH sends a control signal
to the controller. This passes it on to the control valve. The control value is 100% so that the control valve is opened
completely. If the "Container level (SP_LEVEL_AI)" reaches the "Maximum tank level (IN_MAX_TANK_LEVL)", the operation
is automatically stopped.

S1
Reset enable CM manual mode
Start (QV _ENABLE _CM _MAN = FALSE )

T1

S2
Open shut-off valve V01
Open
Valve

T2 Shut-off valve V01 is opened

S3
Activate pump M01
Pump On

T3 Pump M01 is deactivated

S4
Forcing control valve over flow rate
Control controller with 100%
Manual

T4
Filling level >= max. level

S5

End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 75


Useful information

Operating mode IV – "Level_Control"

Operating state: Run (active)


In the "Active" state, a distinction is made between three cases:
1. If the product quantity in the tank is below the changeover value "fine dosing (IN_FINE_FILL_SW)", then the shut-off
valve "V01" is opened and then the pump "M01" is switched on. Then the flow controller is switched on with the
"Coarse dosing (SP_COARSE_FLOW)" set point.
2. If the product quantity in the tank lies between the "Fine dosing limit value (IN_FINE_FILL_SW)" and the "Set point
(SP_LEVEL)", then the shut-off valve "V01" is opened and then the pump "M01" is switched on. Then the flow
controller is switched on using the "Fine dosing (IN_FINE_DOSE)" parameter.
3. If the product quantity in the tank is above the set value (SP_LEVEL), the flow controller and then the pump "M01" are
switched off. As soon as the pump is off, the shut-off valve is closed.

NOTE The operating mode can be terminated at any time by manual operation.

S1
Reset enable CM manual mode
Start (QV_ENABLE_CM_MAN = FALSE
Save sequence (FL_SEQ)

T1 Save step (FL_STEP)

S2 Set ready to continue


Set Ready (READY_TC = TRUE )
TC

T2

S3

NOP

Filling level < limit value Filling level >= limit value
T3.1 T3.2 Filling level >= LV T3.3
fine dosing coarse dosing
fine dosing &filling level
< LV coarse dosing
S 4.1 Open shut-off S 4.2 S 4.3 Deactivate flow rate
Open shut-off
Open valve V01 Open valve V01 controller F01
Control Off
Valve Valve

T4.1 Shut-off valve V01 is opened T4.2 Shut-off valve V01 is opened T4.3 Flow rate controller F01 is deactivated

S 5.1 S 5.2 S 5.3


Activate pump Activate pump Deactivate pump
M01 M01 M01
Pump On Pump On Pump Off

T5.1 Pump M01 is activated T5.2 Pump M01 is activated T5.3 Pump M01 is deactivated

Activate Flow rate


S 6.1 controller F01 with S 6.2 Activate Flow rate S 6.3
controller F01 with Close shut-off
flow rate Fine Close valve V01
Dosing (SP_FLOW) flow rate
Dosing (SP_FLOW) Valve

T6.1 Flow rate controller is activated T6.2 Flow rate controller is activated T6.3 Shut-off valve V01 is closed

S 7.1 S 7.2 S 7.3

Waiting Waiting Waiting

T7.1 Switching point T7.2 Switching point max or Switching point fine or
T7.2
fine dosing is reached coarse dosing is reached coarse dosing is reached

Jump step 3 „NOP“ Jump step 3 „NOP“ Jump step 3 „NOP“

Entry
S 8ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 76
End
Useful information

4.3.4. "Pressure" - parameters and operation modes


Setpoints (SP_)

Name Unit Operable state Control strategy Comment


Running

1 2 3 4 5 6 7 8 9 10

Inerting_Pressure bar X contact pressure set point


(SP_INERT_PRES)

Release_Pressure mbar X X X Pressure to which release is to


(SP_RELEASE_PRES) be applied

Flushing_Time min X X flushing time


(SP_FLUSHING_TIME)

Monitoring_Time min X X X Monitoring time (monitoring


(SP_MONITOR_TIME) pressure changes over time)

Expansion_Pipe X X X Selection of the exhaust air


(SP_EXPAN_PIPE) duct

Number_of_Inertisations X Number of container


(SP_NO_INERT) pressurizations with inert gas

Hold_Pressure mbar X X Tank pressure set point


(SP_HOLD_PRES)

Table 4-30

NOTE The "Expansion_Pipe" setpoint is an enumeration. Three states are possible:


1. Expansion pipe 1 preselected
2. Expansion pipe 2 preselected
3. Expansion pipe 3 preselected

Process values (PV_)

Name Data type Unit Connection name Comment

Flushing_Time_Sec Analog sec PV_FLUSHING_TIME Rinsing time (converted into seconds)

Monitoring_Time_Sec Analog sec PV_MONITORING_TIME Monitoring time (converted into seconds)

Actual_Pressure Analog bar PV_PRESSURE_AI Actual pressure in the tank

Differential_Pressure Analog mbar PV_DIFFERENTIAL_PRES Differential pressure

Outlet_Pipe_Open Binary PV_PRODUCT_PIPE_OPEN Product line display connected and opened

Oxygen Analog % PV_Oxygen Oxygen actual value

Table 4-31

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 77


Useful information

Parameter (IN_)

Name Data type Unit Connection name Comment

Expansion_Valve_V03_Exists Binary IN_EXPAN_V03_EXISTS Exhaust air valve V03 available

Expansion_Valve_V04_Exists Binary IN_EXPAN_V04_EXISTS Exhaust air valve V04 available

Pressure_Limit_Vacuum Analog bar IN_PRES_LIM_VAC Value from which the vacuum valve
may be opened

Oxygen_Meas_Exists Binary IN_O_MEAS_EXISTS Display oxygen measurement present


or not

SP_Oxygen Analog % IN_SP_OXYGEN Setpoint oxygen content (in the tank)

Table 4-32

Timers (TI_)

Name Connection name Comment

Flushing_Timer TI_FLUSHING Timer for controlling the flushing time (switch-off delay)

Monitoring_Timer TI_MONITORING Timer for controlling the monitoring time (switch-off delay)

Table 4-33

Control values (QV_)

Name Data type Connection name Comment

Mode_Split_Range Binary QV_MODE_SPLIT_RANGE 0 = split range


1 = not split range

Inert_Counter Binary QV_INERT_COUNTER Increase the number of rinsing cycles by 1

Reset_Counter Binary QV_RESET Reset counter for flushing procedures

Table 4-34

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 78


Useful information

Position texts

Number Text

1 Idle

11 NOP

12 Error

13 Reset

14 End

101 Start

102 Open_N2

104 Close_N2

105 Open_V02

106 Close_V02

107 Open_V03

108 Close_V03

109 Open_V04

110 Close_V04

111 Counting

201 Open_V01_V02

202 Open_V01_V03

203 Open_V01_V04

204 Flushing_Time

205 Monitoring_Time

206 Close_Valves

402 Message

Table 4-35

Connections

Connection name Data type Comment

FL_SEQ Byte Stored sequencer

FL_STEP Word Stored step

Table 4-36

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 79


Useful information

Standard SFC type messages

Number Type Text

SIG_1 Fault Step execution time exceeded


(step time exceeded)

NSIG_1 Operating requirements - general Operator Prompt


(Operating request)

NSIG_2 Status message - AS Active

NSIG_3 Status message - AS Completed

NSIG_4 Status message - AS Held

NSIG_5 Status message - AS Aborted

NSIG_6 Status message - AS Ready to complete

NSIG_7 Status message - AS Stopped

NSIG_8 AS control technology Error


Message - error

NSIG_9 Status message - AS Manual

NSIG_10 Status message - AS Not released for SIMATIC BATCH


(Not released for SIMATIC BATCH)

NSIG_11 Status message - AS Execution time exceeded


(Runtime exceeded)

Table 4-37

Free messages

Number Type Text

SIG_2 Alarm on top Monitoring Time expired


(monitoring time expired)

SIG_3 Alarm on top Differential Pressure not reached


(differential pressure not reached)

SIG_4

SIG_5

SIG_6

SIG_7

SIG_8

NSIG_12 Status message - AS

NSIG_13 Status message - AS

NSIG_14 Status message - AS

NSIG_15 Status message - AS

NSIG_16 Status message - AS

Table 4-38

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 80


Useful information

Summarizing states

Status Operating Operating Operating mode III Operating Operating Operating


mode I mode II Inerting with open mode IV mode V mode VI
Inerting Flushing outlet Ventilating Evacuating Pressure Control

Starting X X1 X1 X1 X1 X1

Active X X X X X X

Completing X X1 X1 X1 X1 X1

Completed

Holding X X1 X1 X1 X1 X1

Held

Holding error X X1 X1 X1 X1 X1

Held error

Resuming X X1 X1 X1 X1 X1

Resuming error XResuming X1 X1 X1 X1 X1

Stopping XHolding X1 X1 X1 X1 X1

Stopped

Aborting X X1 X1 X1 X1 X1

Aborted

Table 4-39
Legend
X : Sequencer exists
X1 : Same as sequencer in operating mode I

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 81


Useful information

Operating state: Idle (Ready)


In the basic state, the CMs are checked to ensure that they are in a fault-free state.
An error leads to a power-on lockout. The basic function can only be started if there is no switch-on inhibit. The valves
V01 to V04 are closed.
Manual operation of the CMs in "idle" mode is possible.

S1
CMs ModLiOp = FALSE
Start

Operating mode I – "Inerting"

Operating state: Starting


In the "Starting" state, the basic function is initialized, i.e. prepared for the "Active" state. All times and flags are reset for
this purpose.

S1

Start
S1 Freigabe CM Hand Modus setzen
(QV_EN_CM_MAN = TRUE)
Start

T1

S2
Set V02, V03 and V04 Auto mode
Close Valves
Close V02, V03 and V04
Set P05 Auto mode
Set P05 on 0%

T2 Are valves Automatic


Are valves closed

S3

NOP

Exhaust pipe 1 is selected and available Exhaust pipe 2 is selected and not available
T3.1 Exhaust pipe 2 is selected and available T3.2 Exhaust pipe 3 is selected and not available

S 4.2 Set Operational


state Error
Error

S 4.1
Reset timer und flag
Reset

T4 Timer and flag is reseted

S5

End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 82


Useful information

Operating state: Run (active)


By opening the valve in the supply air line, the unit is pressed on with inert gas up to a shut-off pressure when the
exhaust air valves are closed.
When the shut-off pressure is reached, a preselected exhaust valve is opened after the supply air valve has been
successfully closed and the pressure in the unit is reduced to a predetermined pressure. The "pressing-on" and "lowering"
processes are monitored in each case.
The entire process can be repeated n times.

S1

Start

T1

S2
Set P05 Auto mode
Open N2
Set P05 on 0%

T2 P05 is set on 0%

S3
Start monitoring time
Time

Actual pressure > Monitoring time


T3.1 T3.2
setpoint pressure is expired

S4 BZ Error
request
Error

S5
Set P05 Auto mode
Close N2
Set P05 on 50%
Set V01 Auto mode
Close V01

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 83


Useful information

V01 is closed
V01 is closed V01 is closed
T5.1 Exhaust pipe 1 or 2 is selected T5.3
T5.2 Exhaust pipe 1 or 2 is selected Exhaust pipe 1 or 2 is selected
Actual pressure >
OPEN_VACUUM

S 6 .1
Activate V02 auto mode
Open V 02
Open V02

Actual pressure < S 6 .2


setpoint pressure Activate V03 auto mode
OR Open V 03
T6.1 Exhaust pipe 2 is selected Open V03
and actual pressure <
Limit vaccum
Actual pressure < S 6.3
T6.2
setpoint pressure Activate V04 auto mode
S 7 .1 Open V 04
Activate V02 auto mode Open V04
Close V 02 Close V02
Actual pressure <
T6.3 setpoint pressure
Exhaust pipe 2 is selected
V02 is closed and actual pressure >
T7.1 T 7.4
Exhaust pipe 2 is set point pressure
selected and actual and V02 is closed
pressure < set point
pressure Activate V03 auto
Open V03
S 7 .2 mode
S 7.3
Close V 03 Close V03 Activate V02 auto mode
Close V 04
Close V02

T7.2 V03 is closed T7.3 V03 is closed

S8
Set inerting counter = TRUE
Counter

Count Count
T8.1 flush is not T 8.2 flush is not
reached reached

Open _N 2

S9

End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 84


Useful information

Operating state: Completing


In the transition state completing, the machine is set to idle mode.

S1

Start

T1.1 All vlaves are closed T1.2 Not all vlaves are closed

S2
Activate all valves auto mode
Close
Valves Close all valves

T2 All vlaves are closed

S3

End

Operating state: Holding


In the "Holding" state, valves "V01" to "V04" are closed.
The "Holding" state is used to set the "Held" state.

S1

Start

T1

S2
Set all valves Auto mode
Close
Valves Close all valves

T2 All valves are closed

S3

End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 85


Useful information

Operating state: Error (Holding error)


The holding error state is achieved by an external event (interlock) or by an error in the step chain (e.g. monitoring time
elapsed).
Valves "V01" to "V04" are closed in the "holding error" state.
An error message is sent.
The "holding error" state can only be reached if there is no external or internal error.

S1

Start

T1

S2
Activate all valves auto mode
Close
Valves Close all valves

T2 All valves are closed

S3
Activate Error message
Message

T3 No internal Error
No external Error

S4

End

Operating state: Resuming


In the "Continuing" state, the CMs are checked for fault-free condition. All timers and markers are reset. An error leads to a
continuation lock. You can only continue if there is no continuation lock.
The "continuing" state is used to set the "active" state again and to restart the corresponding mode of operation
(RUNHOLD = FALSE).

S1 S1

Start Start

T1 All valves are in failure-free operation T1 alle Ventile im störun

S2 S2

Reset all timers Reset alle Zeiten z


Reset

T2 T2

S3
S3
End
End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 86


Useful information

Operating state: Aborting


In the "Aborting" state, all valves are closed.
The "Aborting" and "Aborted" states are used to set the basic state (idle).

S1

Start

T1

S2
Set all valves Auto mode
Close
Valves Close all valves

T2

S3

End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 87


Useful information

Operating mode II – "Flushing"

Operating state: Run (active)


The unit is flushed with inert gas by opening the valve in the supply air pipe and opening a preselected exhaust air valve.
When the preset flushing time has expired, the inlet valve and the outlet valve are closed.
If an oxygen measurement is connected to the apparatus, then the shutdown criterion for the flushing is when the
oxygen content falls below a specified level. This switch-off point is time-monitored.

S1

Start

T 1.1 Exhaust pipe 1 is selected T 1.2 Exhaust pipe 2 is selected T 1.3 Exhaust pipe 3 is selected
Actual pressure < limit value

S 2.1 Activate V01 and


Open V01 V02 auto mode
and V02
Open V01 and V02

S 2.2 Activate V01 and


Open V01 V03 auto mode
and V03
Open V01 and V03

S 2 .3 Activate V01 and


Open V01 V03 auto mode
and V04
Open V01 and V03

S3
Start flushing time
Flushing
Time

Oxygen measurement is
T 3.1 Oxygen measurement is available T 3.2 not available and flushing
time is expired

S 4.1
Start monitoring
Monitoring time
Time

T 4.11
Actual concentration < T 4.12
Monitoring time
set point concentration is expired

S 5.12 Set Operational


Error state Error

S6 Activate V01 until


Close V04 auto mode
Valves
Close V01 until
V04

T6 V01 until V04 are closed

S7

End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 88


Useful information

Operating mode III – "Inerting with open outlet"

Operating state: Run (active)


An inert gas is fed into the apparatus via a supply air line to push the product out of the apparatus via an open product
outlet or to inert the empty apparatus and the product outlet.
Closing the product discharge ends this mode of operation.

S1

Start

T1 Product conduction is opened

S2
Activate V01 auto mode
Open N 2
Open V01
Activate contoller P05 with setpoint
Release_Pressure

T2 Product conduction is closed

S3
Activate V01 auto mode
Close N 2
Close V01

T3 V01 is closed

S4

End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 89


Useful information

Operating mode IV – "Ventilation"

Operating state: Run (active)


The unit is vented by opening a preselected exhaust duct. After the set venting time (flushing time) has elapsed, the
exhaust air valve is closed. If a specified differential pressure is not reached within the venting time, a message is
displayed.

S1

Start

T 1.1 Exhaust pipe 1 is selected T1.2


Exhaust pipe 2 is selected T 1.3 Exhaust pipe 3 is selected
Actual pressure < limit value

S 2.1 Activate V01 and


Open V01 V02 auto mode
and V02
Open V01 and V02

S 2.2 Activate V01 and


Open V01 V03 auto mode
and V03
Open V01 and V03

S 2 .3 Activate V01 and


Open V01 V03 auto mode
and V04
Open V01 and V03

S3
Start flushing time
Flushing
Time

flushing time is expired


T 3.1 flushing time is expired T 3.2 and actual pressure <=
and actual pressure > setpoint pressure
setpoint pressure
S 4.1
Monitoring Activate Message
Time

T 4.11

S6 Activate V02 until


Close V04 auto mode
Valves
Close V02 until
V04

T6 V02 until V04 are closed

S7

End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 90


Useful information

Operating mode V – "Evacuating"

Operating state: Run (active)


The unit is evacuated by opening the vacuum line when the supply airline is closed. A set pressure serves as switch-off
point. Reaching this switch-off point is time-monitored.

S1
Start monitoring time
Start

S1
Set V02 and P05 in Auto mode
Open VAC Open V02
Set P05 on 100%

T1.1 Actual pressure < set point pressure T1.2 Monitoring time is expired

S2.1 S2.2 Set Operational


Activate V03 auto mode state Error
Close V03 Error
Close V03

T2.1 V03 is closed

S3
End

Operating mode VI – "Pressure Control"

Operating state: Run (active)


Pressure control is switched on with path "Exhaust air 1". The preset pressure set point is maintained.

S1

Start

T1 Product conduction is opened

S2
Open Open V01 and V02
Valves Set P05 Auto mode
Activate P05 with setpoint Hold_Pressure
T2

S3
Hold Set READY_TC = TRUE
Pressure

T3 Never reached

S4

End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 91


Useful information

4.3.5. "Temperature" - parameters and operation


modes
Setpoints (SP_)

Name Unit Operable state Control strategy Comment


Running

1 2 3 4 5 6 7 8 9 10

Temperature (SP_TEMP) °C X Product temperature setpoint

Tolerance °C X Tolerance band of the


(SP_TOLERANCE) settemperature

Hold_Time min X Time for which the product is to


(SP_HOLD_TIME) be kept at the set temperature.

Table 4-40

Process values (PV_)

Name Data type Unit Connection name Comment

Level_Tank Analog l PV_LEVEL_TANK Actual tank level

Neg_Tolerance Analog l PV_NEG_TOL Negative tolerance

Hold_Time_sec Analog sec PV_HOLD_TIME_SEC Stopping time

Table 4-41

Parameter (IN_)

Name Data type Unit Connection name Comment

Min_Level_Tank Analog l IN_MIN_LEVEL_TANK Minimal tank level

Settle_Time_TR Analog sec IN_TR_SETL Time during which the


product must be at set
temp (T01)

Settle_Time_TJ Analog sec IN_TJ_SETL Time during which the


product must have
stabilized to target
temp (T02)

Table 4-42

Timer (TI_)

Name Connection name Comment

TI_Settle_Time_TR TI_TR_SETL Timer for controlling the settling time for


indoor temperature control

TI_Settle_Time_TJ TI_TJ_SETL Timer for controlling the settling time for


jacket temperature control

TI_Hold_Timer TI_HOLD_TIMER Timer for controlling the hold time

Table 4-43

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 92


Useful information

Control values (QV_)

Name Data type Connection name Comment

Enable_CM_Manual BOOL QV_EN_CM_MAN Enable for switching to


manual mode (CM)

Control_Mode BOOL QV_CTRL_MODE 0 = Internal temperature


1 = Jacket temperature

Table 4-44

Position texts

Number Text

1 Idle

100 Start

102 Reset

103 Open_Valve

104 Pump_On

105 Ctrl_Inside_Temp_On

106 SettleTime_Inside_Temp

107 Ctrl_Jacket_Temp_On

108 SettleTime_Jacket_Temp

109 HoldTime_Temperature

110 Error

201 Control_Modules_Off

202 Stop_Timer

203 Enable_Manual

204 Disable_Manual

301 Temp_Ctrl_Off

302 Pump_Off

303 Close_Valve

304 Reset_Message

307 Aborted

308 Stopped

309 Completed

Table 4-45

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 93


Useful information

Standard SFC type messages

Number Type Text

SIG_1 Fault Step execution time exceeded


(step time exceeded)

NSIG_1 Operating request - Operator Prompt


General (Operating request)

NSIG_2 Status message - AS Active

NSIG_3 Status message - AS Completed

NSIG_4 Status message - AS Held

NSIG_5 Status message - AS Aborted

NSIG_6 Status message - AS Ready to complete

NSIG_7 Status message - AS Stopped

NSIG_8 Status message - AS Error

NSIG_9 Status message - AS Manual

NSIG_10 Status message - AS Not released for SIMATIC BATCH

NSIG_11 Status message - AS Execution time exceeded


(Runtime exceeded)

Table 4-46

Free messages

Number Type Text

SIG_2 Alarm on top Interlock failure


(Fault interlocking)

SIG_3 Alarm on top Temperature out of tolerance


(Temperature out of tolerance)

SIG_4

SIG_5

SIG_6

SIG_7

SIG_8

NSIG_12 Status message - AS

NSIG_13 Status message - AS

NSIG_14 Status message - AS

NSIG_15 Status message - AS

NSIG_16 Status message - AS

Table 4-47

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 94


Useful information

Summarizing states

Status Operating mode I


Temperature_Control

Starting X

Active X

Completing X

Completed

Holding X

Held X

Holding error XHolding

Held error

Resuming X

Resuming error XResuming

Stopping X

Stopped

Aborting X

Aborted

Table 4-48
Legend
X : Sequencer exists
X1 : Same as sequencer in operating mode I

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 95


Useful information

Operating state: Idle (Ready)


Enable switching to manual mode for all CMs
Manual operation of the CMs in idle mode is possible.

S1 Set enable CM manual mode


(QV_EN_CM_MAN = TRUE )
Start

Operating mode I – "Temperature Control"

Operating state: Starting


In the "Start" step, the release for manual operation of the CMs is reset.
In the "Starting" state, the EPH is initialized by resetting all times.

S1 Reset enable CM manual mode


(QV_EN_CM_MAN = FALSE)
Start

S1 Freigabe CM Hand Modus setzen


(QV_EN_CM_MAN = TRUE)
T1 Start

S2
Set CMs Auto mode
AUTO

T2 Are CMs Automatic

S3
Reset timers
Reset

T3

S4

End

Operating state: Run (active)


In the "Active" state, the control circuit is opened first, i.e. the flow valve "V01" and the heating steam valve "V02" are
opened. When these are open, the pump "M02" is switched on. If the pump "M02" is switched on, temperature control
can be started. A distinction is made between two cases:

Case 1: Inner temperature control


If the tank level (PV_LEVEL_TANK) is above the minimum tank level (IN_MIN_LEVEL_TANK), the temperature control
operates as cascade control, i.e. the master temperature controller receives the setpoint "Temperature (SP_ TEMP)" from
the EM and passes its setpoint as setpoint to the subsequent temperature controller. If the indoor temperature is within
the specified tolerance (SP_TOLERANCE) after the settling time for indoor temperature control (TI_TR_SETL), the operation
mode is automatically terminated after a hold time (TI_HOLD_TIMER). If the internal temperature is not within the
specified tolerance after the settling time, a message is sent and the EM switches to the " Holding (error)" state.
If the container level falls below the minimum container level, the holding time is stopped and continued with "Case 2".
Please note that in "Case 2" the hold time is still used and is not restarted.

Case 2: Jacket temperature control


If the tank level (PV_LEVEL_TANK) is below the minimum tank level (IN_MIN_LEVEL_TANK), then the cascade control is
separated and only the jacket temperature is controlled via the follow-up temperature controller, i.e. the setpoint
"Temperature (SP_TEMP)" is now directly connected from the EM to the follow-up temperature controller.

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 96


Useful information

If the jacket temperature is within the specified tolerance (SP_TOLERANCE) after the settling time for jacket temperature
control (TI_TJ_SETL), the operation mode is automatically terminated after a hold time (TI_HOLD_TIMER). If the internal
temperature is not within the specified tolerance after the settling time, a message is sent and the EM switches to the "
Holding (error)" state. If the tank level exceeds the minimum tank level, the hold time is stopped and continued with
"Case 1". Please note that in "Case 1" the hold time is still used and is not restarted.

S1 Reset enable CM manual mode


Start (QV _EN _CM _MAN = FALSE )

T1

S2
Open flow valve V01
Open
Valve Open heating steam valve V02

T2 Flow valve V01 is opened


Heating steam valve V02 is opened

S3
Activate Pump M02
Pump On

T 3.1
Pump M02 is activated Pump M02 is activated
T 3.2
Actual fill level >= min. fill level Actual fill level < min. fill level

S 4.1 S 4.2
Control Start product temperature Control Start jacket temperature
Temp Inside control Temp control
On Jacket On
Stopping hold time Stopping hold time
Active control = product Active control = jacket
temperature control temperature control
T 4.1 Product temperature control is actived T 4.2 Jacket temperature control is actived

S 5.1 S 5.1
Start settling time Start settling time
Settle Time Settle Time

T 5.1 Settling time is expired T 5.2 Settling time is expired T 5.3 Settling time is expired T 5.4 Settling time is expired
Temp. is in the tolerance Temp. is not in the Temp. is in the tolerance Temp. is not in the
band tolerance band band tolerance band
S 6.1 Active Message S 6.1 Active Message
(SIG_3) (SIG_3)
Error Error
Set Operational Set Operational
state Holding state Holding
(Error) (Error)
T 6.1 T 6.2

S7
Start Hold timer
Hold Time

T 7.1 Holding time is


expired

S8

End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 97


Useful information

Operating state: Completing


In the "Start" step, the release for manual operation of the CMs is reset.
In the "Completing" state, the master controller "T01" and the slave controller "T02" are switched off first. If the controllers
are off, then the pump "M02 is switched off". Then the heating steam valve and the flow valve are closed. If these are
closed, the basic state (idle) is set via the " completed " state.

S1
Reset enable CM manual mode
(QV_EN_CM_MAN = FALSE)
Start

T1

S2
Deactivate master temperature controller T01
Temp Ctrl
Off Deactivate slave temperature controller T02

T2 Master temperature controller T01 is deactivated


Slave temperature controller T01 is deactivated
S3
Deactivate pump M02
Pump Off

T3 Pump M02 is deactivated

S4
Close flow valve V01
Close Valve Close heating steam valve V02

T4 Flow valve V01 is closed


Heating steam valve V02 is closed

S5

End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 98


Useful information

Operating state: Holding


In step "Start" the release for a manual operation of the CMs and a pending message (SIG_3) of the EPH is reset.
In the "Holding" state, the master controller "T01", the slave controller "T02" and the pump "M01" are switched off, the
heating steam valve and the flow valve are closed and all times are stopped.
The "Holding" state is used to set the "Held" state.

S1

Start

Reset enable CM manual mode


T1
(QV_EN_CM_MAN = FALSE)

Reset Message (SIG_3)


S2
Deactivate master temperature controller T01
CMs Off
Deactivate slave temperature controller T02
Deactivate pump M02
Close flow valve V01
T2
Close heating steam valve V02

S3
Stopping timers
Stop Timer

T3 No internal Error
No external Error

S4

End

Operating state: Held

S1 S1

Start Start

T1 T1

S2 Set enable CM manual mode S2


Enable (QV_EN_CM_MAN = TRUE) Enable
Manual Manual

T2 T2

S3 S3

End End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 99


Useful information

Operating state: Resuming


In the "Disable Manual" step, the release for manual operation of the CMs is reset.
In the "Continuing" state, all times are reset.
The "Continuing" state is used to set the "Active" state again. The active sequencer starts again from the start step.

S1
S1
Start Start

T1
T1
S2 Freiabe CM Hand
S2 Reset enable CM manual mode Disable (QV_EN_CM_MA
Disable (QV_EN_CM_MAN = FALSE) Manual
Manual
T2

T2
S3

End
S3

End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 100


Useful information

Operating state: Stopping


In the "Start" step, the release for manual operation of the CMs is reset.
In the "Stopping" state, the master controller "T01" and the slave controller "T02" are switched off first. Once the
controllers are off, pump M02 is turned off. Then the heating steam valve and the flow valve are closed. If they are closed,
all timers are stopped.
The basic state (idle) is set via the "Stopping" state.

S1 Reset enable CM manual mode


(QV_EN_CM_MAN = FALSE)
Start

T1

S2
Reset message (SIG_3)
Reset
Message

T2

S3
Deactivate master temperature controller T01
Temp Ctrl
Off Deactivate slave temperature controller T02

T3 Master temperature controller T01 is deactivated


Slave temperature controller T01 is deactivated
S4
Deactivate pump M02
Pump Off

T4 Pump M02 is deactivated

S5
Close flow valve V01
Close Valve Close heating steam valve V02

T5 Flow valve V01 is closed


Heating steam valve V02 is closed

S6
Stopping timers
Stop Timer

T6

S7

End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 101


Useful information

Operating state: Aborting


In the "Start" step, the release for manual operation of the CMs is reset.
In the "Stopping" state, the master controller "T01", the slave controller "T02" and the pump "M02" are switched off, the
heating steam valve and the flow valve are closed and all times are stopped.
The "Aborting" state is used to set the idle state.

S1
Reset enable CM manual mode
(QV_EN_CM_MAN = FALSE)
Start

T1

S2
Reset message (SIG_3)
Reset
Message

T2

S3
Deactivate master temperature controller T01
CMs Off
Deactivate slave temperature controller T02
Deactivate pump M02
Close flow valve V01
T3
Close heating steam valve V02

S4
Stop timers
Stop Timer

T4

S5

End

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 102


Appendix

5. Appendix
5.1. Service and support
SiePortal
The integrated platform for product selection, purchasing and support - and connection of Industry Mall and Online
support. The SiePortal home page replaces the previous home pages of the Industry Mall and the Online Support Portal
(SIOS) and combines them.

• Products & Services


In Products & Services, you can find all our offerings as previously available in Mall Catalog.
• Support
In Support, you can find all information helpful for resolving technical issues with our products.
• mySieportal
mySiePortal collects all your personal data and processes, from your account to current orders, service requests and
more. You can only see the full range of functions here after you have logged in.
You can access SiePortal via this address: sieportal.siemens.com

Industry Online Support


Industry Online Support is the previous address for information on our products, solutions and services.
Product information, manuals, downloads, FAQs and application examples - all information is available 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: support.industry.siemens.com/cs/my/src

SITRAIN – Digital Industry Academy


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

Industry Online Support app


You will receive optimum support wherever you are with the "Industry Online Support" app. The app is available for iOS
and Android:

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 103


Appendix

5.2. Links and literature


Nr. Topic

\1\ Siemens Industry Online Support


https://support.industry.siemens.com

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


https://support.industry.siemens.com/cs/ww/en/view/109740620

\3\ SIMATIC PCS 7 process control system PCS 7 Readme V9.1 SP2 UC04
https://support.industry.siemens.com/cs/ww/en/view/109806027

\4\ Integration of Advanced Process Graphics in SIMATIC PCS 7


https://support.industry.siemens.com/cs/ww/en/view/89332241

\5\ Control Module (CM) Technology - Efficient Engineering with SIMATIC PCS 7
https://support.industry.siemens.com/cs/ww/en/view/109475748

\6\ Equipment Modules for SIMATIC PCS 7 using the example of the Chemical Industry
https://support.industry.siemens.com/cs/ww/en/view/53843373

\7\ Templates for specification of technical functions with SFC Types in SIMATIC PCS 7
https://support.industry.siemens.com/cs/ww/en/view/33412955

\8\ Engineering and automation of batch processes with PCS 7 along ISA-88 models
https://support.industry.siemens.com/cs/ww/en/view/109784331

Table 5-1

5.3. Change documentation


Version Date Modification

V1.0 09/2018 First version

V2.0 04/2024 Update to PCS 7 V9.1 SP2

Table 5-2

Entry ID: 109740620 | V2.0 | 04/2024 © Siemens 2024 | 104

You might also like