Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
14 mass data engineering v1.00_en
1. PCS 7 System Course
SIMATIC PCS 7 – Mass data engineering
Training Documentation, V1.00, ST-PCS7SYS 14 - 1
Content 14
14 Mass data engineering............................................................................................3
14.1 Learning target....................................................................................................................... 3
14.2 Chart Reference Data............................................................................................................ 3
14.3 The Import Export Assistant (IEA) ......................................................................................... 6
14.3.1 Process Tag Types: Overview of the procedures.................................................................. 7
14.3.2 Example: Level measurement for the reactor........................................................................ 8
14.3.3 Task and Checkpoint........................................................................................................... 15
14.3.4 Models ................................................................................................................................. 16
14.3.5 Tasks and Checkpoint ......................................................................................................... 16
14.4 New Type Model.................................................................................................................. 17
14.4.1 Task and Checkpoint........................................................................................................... 18
1.
2. PCS 7 System Course
SIMATIC PCS 7 – Mass data engineering
14 - 2 Training Documentation, V1.00, ST-PCS7SYS
2.
3.
4.
5.
6.
7.
8.
9.
10.
3. PCS 7 System Course
SIMATIC PCS 7 – Mass data engineering
Training Documentation, V1.00, ST-PCS7SYS 14 - 3
14 Mass data engineering
14.1 Learning target
The participant will learn about
• How PCS 7 supports an efficient bulk
engineering
• The new type concept of PCS 7 with
control modules and its types
The participant will be able to
• to configure Process Tag Types and Models
• to use the Import/Export Assistant (IEA) for
the generation of process tags and plant
hierarchy folders
• to use the chart cross reference for fast
navigation in an AS program
14.2 Chart Reference Data
Chart Reference Data tool supports you having overview of the AS program created
with CFC and SFC. Several “lists” and “tree structures” are offered with information
existing in all charts of a Charts folder. From there you can navigate tot the related
charts.
Opening can be done in two ways:
From the Charts folder
From CFCs toolbar
4. PCS 7 System Course
SIMATIC PCS 7 – Mass data engineering
14 - 4 Training Documentation, V1.00, ST-PCS7SYS
Different views
After opening you can select a view for one or more windows:
graphical representation of the entire Run Sequence
All global adresses and the chart elements using them
Adresses in CFC used by SFC
Connections between blocks in CFC
The appereance of SFC types I/Os in their stepsand transitions
What blockoutputs are controlling what Runtime Groups
All blocktypes and where they appear in the charts
Relation between elemets in charts and S7 resourcecs
How blocks are related to each other ( multi instance )
Open textual interconnections
Several statistic data
All available OBs, with the calculated local data requierement,
what has been configured offline and what is available in the CPU
All block I/Os for which forcing has been added
open a list of all AS-wide interconnections
Navigation
From several lists you can navigate to the related elements in the charts:
5. PCS 7 System Course
SIMATIC PCS 7 – Mass data engineering
Training Documentation, V1.00, ST-PCS7SYS 14 - 5
Application example: Forced Block I/Os
A total overview of all block inputs for which forcing has been added is available in the
chart reference data (“Forced Block I/O’s”. When selecting a specific line, you can jump
to the corresponding chart by double clicking on the line or via "Go to Point of Use".
The entries in the columns "Forcing active" and "Forcing value" have the following
meaning:
• "Active" = forcing is active for this I/O
• "Globally deactivated" = The function "Support forcing not set at the chart folder
• The column will remain empty if forcing is deactivated at this I/O.
Forcing is not activated
for these inputs
The function
"Support forcing” is not
set at the chart folder
6. PCS 7 System Course
SIMATIC PCS 7 – Mass data engineering
14 - 6 Training Documentation, V1.00, ST-PCS7SYS
14.3 The Import Export Assistant (IEA)
Prerequisite
A master data library is required to use the function of the IEA.
Principle
= I/O point for parameters, signals and
messages, to appear in the import file
Assign/Create
Import File
PTT
Create File Template
Tools: IEA editor
Notepad
Excel
…
…
PT
PT
PT
Import file
Import
PT
PT
PT
Update
When data has been changed in the Process Tags
Copy,
Edit
Create/Change
Process Tag Type
Export
File Template
Export file
Process tags are derived as a large number of individual instances from pre-defined
process tag types by use of the Import-Export assistant.
This tool allows to create and to edit a so-called import file. After edition (using IEA, or
any editor like Notepad, Excel), the re-import of the modified file results in automated
creation of a large numbers of process tags correctly placed in the plant hierarchy.
7. PCS 7 System Course
SIMATIC PCS 7 – Mass data engineering
Training Documentation, V1.00, ST-PCS7SYS 14 - 7
14.3.1 Process Tag Types: Overview of the procedures
Starting with an existing chart, you can create a Process Tag Type.
At the creation the chart will be copied to the Master Data Library, not affecting the chart
you used as a starting point.
From the chart, the desired I/O points (for parameters, signals and messages) have to
be selected to appear in the import file.
Only I/O points represented in the import file can be automated adjusted to the
instances, later derived from the process tag type.
Starting point is a Process Tag
(chart).
Create a Process Tag Type
Create Importfile / File Template
Modify Importfile
Import the modified Importfile
(create charts)
Located in chart folder.
The Process Tag has to be tested to avoid
multiplication of failures.
A wizard creates a Process Tag Type.
It is placed in the Master Data Library
(new folder ‘Process Tag Types’).
The Importfile is a template in CSV format. Don’t
forget to save a backup before modification!
Generate new process tag information by
multiplication and modification of rows in the
Importfile.
A wizard generates the new Process Tags (charts)
following the information in the Importfile.
8. PCS 7 System Course
SIMATIC PCS 7 – Mass data engineering
14 - 8 Training Documentation, V1.00, ST-PCS7SYS
14.3.2 Example: Level measurement for the reactor
Starting point
Starting point is the existing chart ReactorsR310LIA314.
Based on this one, new charts are to be created for the other 3 reactors.
After completing the procedure, level measurement for 4 reactors will exist.
They will differ from each other:
• Chart name and position in the plant hierarchy
• Signal from I/O
• Scaling of the signal
• Block comment
Creating the Process Tag Type
Based on the existing chart LIA314, we will create the Process Tag Type “LIA3x4”.
As I/O points we select:
The selecting as indicated above is not done in the opened chart, but as a part of the
creation procedure…
9. PCS 7 System Course
SIMATIC PCS 7 – Mass data engineering
Training Documentation, V1.00, ST-PCS7SYS 14 - 9
10. PCS 7 System Course
SIMATIC PCS 7 – Mass data engineering
14 - 10 Training Documentation, V1.00, ST-PCS7SYS
After the completion of this creation procedure, the Process Tag Type will be present in
the Master Data Library:
Import File
Next step is the creation of the Import File.
It will be based on a copy of the Template File, which can be created during this
procedure.
Starting point is the Process Tag Type LIA3x4 in the Master Data Library.
11. PCS 7 System Course
SIMATIC PCS 7 – Mass data engineering
Training Documentation, V1.00, ST-PCS7SYS 14 - 11
The column title for every I/O point can be edited.
After clicking on the button “Create File Template…” you can have generated a template
file that fits exactly to the Process Tag Type.
The file will have a default name based on the Process Tag Type name. The default
storage location is the Global folder of the library storage path.
After clicking on OK a dialog window will be displayed to allow you to specify details for
the layout of the column groups.
In the next screen copies you will find the default setting, but marked with circles, which
is actually being used in this demo.
After clicking on OK, the File Template will be created, and will be set as the current
Import File.
12. PCS 7 System Course
SIMATIC PCS 7 – Mass data engineering
14 - 12 Training Documentation, V1.00, ST-PCS7SYS
Because of the matching column title in the import file and process tag type, the
assignment between the I/O points in the import file and process tag type is made
automatically:
It is recommended to copy the template file
and continue with the copy.
Example: LIA3x400_First_Run
The resulting template file:
Benefit of the creation of a template file is that the table contains 1 filled up line
representing the data of the original chart the process tag type is based on.
13. PCS 7 System Course
SIMATIC PCS 7 – Mass data engineering
Training Documentation, V1.00, ST-PCS7SYS 14 - 13
The table now is to be edited with data representing the new charts you want to
generate (Process Tags):
Settings for
import*
New hierarchy
folders
AS
assignment
New charts
R330 and R340 have a larger
content and therefore higher alarm
limites
1row=1processtag
I/O names for
the new charts
* To get this column displayed: insert it by
Edit > Insert Column Group > General > Import Mode
Import
The import procedure will make as many new copies of the chart, and to every copy
changes will be made due to data in the corresponding line in the import file:
Starting point is again the chart LIA3x4 in the Master Data Library:
(create cha
14. PCS 7 System Course
SIMATIC PCS 7 – Mass data engineering
14 - 14 Training Documentation, V1.00, ST-PCS7SYS
Select the proper import file to the process tag type. After clicking the Finish button in
the last window the import will actually start.
(create charts
1 2
1) The interconnection descriptions from the import files are not only written to the
assigned I/Os, but also to the symbol tables of resources for the relevant hierarchy
folders.
2) Any open textual interconnections are automatically closed during import.
A log will be displayed and saved in a file:
15. PCS 7 System Course
SIMATIC PCS 7 – Mass data engineering
Training Documentation, V1.00, ST-PCS7SYS 14 - 15
Final result
The final result:
• New hierarchy folder with new charts
• Data in the chart due to the data in the import file
Final Result
Changed symbol
for a process tag
Data due the
data import file
See [103] PCS 7 V8.0 Engineering System - 12_2011, 8.12.7 for more details
14.3.3 Task and Checkpoint
Task: Valves as Process Tag
Goal
New (temporary) charts for controlling the 5 valves of D220 and R320, based on a
Process Tag Type.
Checkpoint
What is your opinion?
• How to proceed if another person wants
to fill up the import file on an office PC?
16. PCS 7 System Course
SIMATIC PCS 7 – Mass data engineering
14 - 16 Training Documentation, V1.00, ST-PCS7SYS
14.3.4 Models
Models use a similar procedure as Process Tag Types, but there are differences:
Connection
Selection of
I/O points
Process Tag Type Model
1 single CFC chart 1 hierarchy folder that may contain
• several sublevel folders
• several CFC charts
• several SFC charts
• a picture in every hierarchy folder
Navigation tree for
blocks and parameters:
1 large table with checkboxes for
the parameters and signals:
Scope
Will be copied only for connections
between blocks in the single chart
Will be copied, as long it is between the objects
of the model, including CFC - SFC - picture
Create Model…
For creating a Model you can start with an existing hierarchy tree.
At creation it will be copied to the Models folder in the Master Data Library.
If pictures are part of the model, an OS will be created in the Component View of the
Master Data Library, to contain the pictures.
Start the Create Model … procedure from the hierarchy folder displayed in the right
hand window pane!
See [103] PCS 7 V8.0 Engineering System - 12_2011, 8.12.9 for more details
14.3.5 Tasks and Checkpoint
Task: Model of the reactor and Chart Reference Data
Goal
All controlling and monitoring functions for D220/R320, D230/R330 and D240/R340,
based on a model.
Understand the use of the tool Chart Reference Data
17. PCS 7 System Course
SIMATIC PCS 7 – Mass data engineering
Training Documentation, V1.00, ST-PCS7SYS 14 - 17
14.4 New Type Model
Process Tags and Control Modules
In addition to process tag types and process tags, there are now control module types
and control module instances (from PC S 7 V7.1 SP2).
These support instance-specific changes in case of process tag synchronization and
several versions of process tag types. Data exchange with PCS 7 Advanced ES is also
possible.
A process tag type or a control module type is a CFC configured for a specific process
control function for the basic automation of a process engineering plant.
Process Tags from
Process Tag Types
Control Modules from
Control Module Types
Reimport of the Importfile using the IEA:
Instance-specific changes are lost.
Synchronization of type and instance:
Instance-specific changes are not lost.
Use of different Input blocks for same
technological function:
Multiple Process Tag Types are required.
Use of Variants with optional Input blocks:
Different instances are possible from the
same Control Module Type.
Tool for the bulk engineering:
Import Export Assistant (IEA)
Tool for the bulk engineering:
Advanced ES (optional package)
ISA 88 German ISA 88 English Acronym
Einzelsteuereinheitstyp (1)
Control Module type (1)
CMT
Einzelsteuereinheit Control Module CM
(1)
Is typically a cluster of measuring devices, actuators and other control modules and
the associated processing devices operated as a single unit from the perspective of the
control system.
What is the Advanced ES?
The Advanced Engineering System (AdvES) prepares data for use in the PCS 7
engineering system (ES). It represents an application for data import and bulk
processing. Data is imported into AdvES from process tag or signal lists and adopted in
PCS 7. The technological hierarchy, signal and parameter settings as well as the
hardware configuration are adopted. In AdvES, object-dependent bulk processing and
queries are possible. AdvES provides enhanced functions for plant engineering in the
SIMATIC PCS 7 software.
See [151] PCS 7 V8.0 Advanced Engineering System - Configuration Manual -
12_2011 for more details
18. PCS 7 System Course
SIMATIC PCS 7 – Mass data engineering
14 - 18 Training Documentation, V1.00, ST-PCS7SYS
Handling options
For more details about Control Module Types please refer to
[103] PCS 7 V8.0 Engineering System - 12_2011, 8.12.6 and
[302] PCS 7 CFC for SIMATIC S7 - Function Manual - 12_2011, 9.11
14.4.1 Task and Checkpoint
Checkpoint
Let‘s think about the following…
• Can you imagine a situation to implement a
model extra to this case in the training
application?
• What will be the most sufficient tool available
for the bulk engineering in 5 years?