Professional Documents
Culture Documents
ProcessManagementSystem en
ProcessManagementSystem en
Hans-Jürgen Burath
siemens.com/process-management
PM-CONTROL
Recipe management
and order processing
PM-QUALITY PM-ANALYZE
Batch reporting and Archives, analysis
long term archiving and reports
WinCC
PM-LANGUAGE
Universal PM-Package
PM-QUALITY 9.8
PM-QUALITY 10.7
PM-CONTROL 10.8
PM-CONTROL 11.8
PM-MAINT 9.8
PM-MAINT 10.7
PM-ANALYZE 7.8
PM-ANALYZE 9.1
WinCC 13 WinCC 14
WinCC V11 WinCC 12 WinCC 13 WinCC 14 WinCC 15 WinCC 15.1 WinCC 16
SP1 SP1
PM-MES Interface
File Import Station(s) (.csv/.rdb) OPC DA Station(s) OPC UA Station(s) PM-AGENT Unified Station(s) Further Station(s)…
Online Tags
Online Tags Tag Archives
Alarm Archives
Permissions
Online Tags
Alarm archives
Tag archives
• Management of
• Recipe data,
• Parameter sets,
• Production settings
Mixer 1 Mixer 2
Recipes
Recipes
Scheduled orders
A6
Nr. 2700
Quantity Blue
Recipe
paint Maschine
Mixer 1
Request next job/step A5 1800l Blue paint Mixer 1
A4 1500l Green paint Mixer 1
A3 800l Blue paint Mixer 1
A2 1500l Blue paint Mixer 1 Blue paint, base quantity: 1000l
A1 2500l Blue paint Mixer 1
Send scaled
Step 1 Step 2 Step 3 Step N
“Blue paint” Black: 250l Black: 250l Black: 250l Black: 250l
2
Step 1
3
N Magenta: 750l Magenta: 750l Magenta: 750l Magenta: 750l
Duration: 80s Duration: 180s Duration: 150s Duration: 50s
Temp: 40°C Temp: 60°C Temp: 80°C Temp: 30°C
Variable:
M1_Black 625
M1_Magenta 1875
750
M1_Duration 150
180
80
50
M1_Temp 80
60
40
30
The topology manager defines Recipes are created and managed Production orders are created and
the plant structure. in the recipe system. scheduled in the order view.
.
For released SIMATIC WinCC and operating systems please refer to the latest release notes.
PM-CONTROL PM-CONTROL
Client
Client
(Without WinCC)
(With WinCC Client)
WinCC Server
PM-CONTROL
Server
*Installation on a separate server without WinCC requires a Microsoft SQL Server 2014, 2016, 2017, 2019 (32/64) installation..
PM-CONTROL PM-CONTROL
Client Server
(With/Without WinCC (Without WinCC) *
Client)
WinCC Server
PM-AGENT Unified
WinCC Comfort
Panels
OPC UA
Distributed System
PM-CONTROL
job processing
Batches
Batch C1
Batch C2
3
1000
20
• All data recorded is stored under the name of the corresponding batch.
• The acquisition time frame is defined by a start/stop bit.
XY-trends
• Creation of report layouts for production units (independent) and plant parts (linked)
• Embedding of all recorded batch data by drag & drop
• Batch trends
• Alarms
• Snap shots and manual inputs
• Integrated report preview with live data
• Processing of recorded data within the report (sum, average, min, max etc.)
• Calculation of metrics by using Visual Basic Script
• Barcodes on the report
• Multi column report layouts
• Reusable report variables for simplified table display
• Creation of reusable sub layouts
• Appealing and consistent designs through the use of style sheet
• Batch reports
• Access to
• Batch header information(=> batch name, order name, production unit, etc.)
• Phases
• Trend data (including aggregations like sum, min, max, average over freely definable sub intervals)
• Snapshot values
• Alarms
Runtime
Export
data base
data base
Batch C6
C5 Batch C4 Batch C3 Batch C2 Batch C1 Batch C1
• After release (configurable policy as either manual or automatic) the batch is ready to get exported.
• During the export the batch can be locked against further modifications.
Unrestricted © Siemens 2020
WinCC Competence Center Mannheim
PM-QUALITY
Data View (PM-QUALITY Client)
• Provides access to
• Exported long term archives and
• The runtime database
• No explicit restore of data from long term archives required
• Output of all recorded batch data as trends or as reports
• Observance of permissions set during configuration (optional)
• Installation on office PC‘s (no WinCC installation required)
• Availability
• Quality rate
• Performance rate
• OEE
• …
• Output to Panels, OS Clients, WinCC
Screens…
by write back functionality to tags
• Arithmetic Functions:
• Add, Subtract, Multiply, Divide
• Bitwise binary functions : And, Or, Not, Shift left, Shift right
• Logical binary function: And, Or, Not, Comparison (<,=,>)
• Counters: Slope counter, Time counter, Difference counter
• Statistics: Average, Integral, Min, Max, Range, Time categorization
• Misc: Limit monitoring, constant number, constant text
• …
• Extensible framework with sample blocks for customer specific extensions
Calculation schema
The calculation schema defines the algorithm
• The schema has no external connections
• The schema defines the number and type of external connections
Calculation instance
The calculation instance connects the schema to the outside world
• Each instance has it’s own set of connections
(e.g. tags)
• Each instance has it’s own set of trigger conditions
• Improvement of data integrity and availability with the data center option
• High data availability is achieved by parallel recording of batches on two servers.
• The data center consolidates the recordings of both sources archives into a separate consistent database
from where the reports are generated.
*Installation on a separate server without WinCC requires a Microsoft SQL Server 2014, 2016, 2017, 2019 (32/64) installation..
PM-QUALITY Data
Center
Common export
data base*
For released SIMATIC WinCC and operating systems please refer to the latest release notes.
PM-QUALITY Client
PM-QUALITY Client (With WinCC Client)
(Without WinCC)
WinCC Server
PM-QUALITY Server
*Installation on a separate server without WinCC requires a Microsoft SQL Server 2014, 2016, 2017, 2019 (32/64) installation..
PM-QUALITY Server
(Without WinCC*)
PM-QUALITY Client
(With/Without WinCC
Client)
WinCC Server
PM-AGENT Unified
Distributed System
MES / ERP
Production- Material- Quality-
planning management Historian
management
Line SCADA
WinCC
Order- Standard SCADA functions:
data base PM-CONTROL Visualization (UI), PM-QUALITY
recipe Process communication, Batch data Current
und Tag logging, archiving and batch
order management Alarm logging, reporting reports
Recipe-
data base User-/ rights management
MES
PM-MES Interface
PM-CONTROL PM-QUALITY
A3 M1 700Kg Standard
Order No.: A1
Material No: M1 Date Time State Number Message
Start: 2/9/20 5:30 AM
End: 2/9/20 6:50 AM Response? 02/08/20 02:15:23 AM + 0815 Pressure low (0.4 bar)
Quality: A+ 02/08/20 02:17:45 AM - 0815 Pressure low (1.5 bar)
Produced: 508Kg
… 02/08/20 03:05:36 AM * 0815 Pressure low (2.3 bar)
Adding a job scheduler and recipe module removes the conceptual mismatch by providing a common model
for production requests:
Adding a batch/order data collector removes the conceptual mismatch by providing a common
model for production responses:
Order No.: A1
Material No: M1
Start: 2/9/20 5:30 AM PM-QUALITY
End: 2/9/20 6:50 AM
Quality: A+ Response Script API
Produced: 508Kg
…
But: There are still lots of different options for the transfer of the requests/responses
E.g. File transfer csv, xml, json, database tables etc. => Requires scripting within the SCADA
Unrestricted © Siemens 2020
Page 59
The next step…
Adding the PM-MES Interface provides a standardized and documented API for the MES and removes the
need for API scripting within the SCADA system.
Ethernet
TCP/IP
Order data
• Order Number
• Production Unit
• Recipe Name
• Quantity
• 5 order header fields (e.g. Customer)
• Action ( currently “PRP”, “ADD” or “CAN” )
Parameter
• Recipe parameters of PM-CONTROL can be overridden from the MES-System
• Overrides are tracked in the PM-CONTROL Audit Trail
• Available for non scaled analog, text and binary parameters
Order feedback
• Order Number
• Status ( Added, Loaded, Running, Ended )
• Timestamp
Errors:
• e.g. order cannot be created in PM-CONTROL
• Wrong production unit
• Wrong recipe
• All errors contains processing timestamps
• Reproducible and documented
The MES-Interface reads data from PM-QUALITY and writes to the interface database
Alarms
• Production Unit
• Order Number
• Batch Number
• Alarm Group
• Station / Timestamp / Alarm number / Instance / State
• 10 user defined columns
The MES-Interface reads data from PM-CONTROL + PM-QUALITY and writes to the interface database
Sources:
• Set point from PM-CONTROL
• Actual values from PM-QUALITY
• Snapshots
• Trends
Columns
• Order Number
• Value
• Set point
• Actual value
• Timestamp
Response
• Cookie
• BLOB ( Report as a zip file )
For released SIMATIC WinCC and operating systems please refer to the latest release notes.
PM-QUALITY Server
PM-CONTROL Server
PM-MES Interface
*Installation on a separate server without WinCC requires a Microsoft SQL Server 2014, 2016, 2017, 2019 (32/64) installation..
PM-QUALITY Server
PM-CONTROL Server
PM-MES Interface
(Without WinCC*)
PM-QUALITY Client
PM-CONTROL Client
(With/Without
WinCC Client)
WinCC Server
PM-AGENT Unified
Distributed System
Calendar 8 M 10.12.2019
• Automatic calculation of the recommended maintenance dates under consideration of the utilization
• Optimum resource planning by notification prior to order due date
• Clear display of planned orders, notifications and active orders with comfortable
selection and filtering functions
• Write back capability for maintenance metrics into HMI tags
• Multiple order feedbacks with recording of
• Feedback data (e.g. object state, type of performed action)
• Cost and time input for personal
• Cost and used quantities for material
• Central material list for required maintenance material and tools
• Linking of Documents (graphs, photos, data sheets etc.) to plant objects and planned orders
• Manual orders for unplanned activities (repairs)
• Long term archive for all maintenance activities
• Microsoft Excel Plug-in for comfortable mass data import (Microsoft Excel 2013, 2016, 2019)
Feedback
Plant object
Time+ Material
Emergency repairs Planned measures are
Multiple planned orders can can be directly recorded tracked on the order
be attached to each plant on the plant object
object
Order
Work Deleted
finished Complete
Complete Delete
e.g.
pmm://object/V111?target=ProjectHierarchy
pmm://plannedorder/PLP211
• Multiple order feedbacks can be applied until work finished state is reached
• Entry form for
• Feedback date
• Feedback and weak point code
• Object state
• Performed activities
• Comments
• Employee cost
• Material cost
• Each object, planned order or order can be linked to a arbitrary number of documents
• Characteristics curve
• Photos
• Data sheets
• Descriptions
• All maintenance relevant material is managed and displayed in the material list
• Comfortable filtering and sorting functions
• ActiveX Control for the entry and the tracking of repair request by the operating personal
• Integration into local HMI screens
• WinCC / PCS7
• WinCC Professional / Advanced (TIA Portal)
• The ITP1000 is an excellent robust and mobile client platform for maintenance tasks
• All maintenance information is immediately available and always up to date
• PM-MAINT supports the QR code reader of the ITP1000 to identify maintenance equipment
Valve V111 ?
pmm://object/V111
PM-MAINT Client
WinCC Server
PM-AGENT Unified
For released SIMATIC WinCC and operating systems please refer to the latest release notes.
WinCC Server
PM-MAINT Server
*Installation on a separate server without WinCC requires a Microsoft SQL Server 2014, 2016, 2017, 2019 (32/64) installation..
PM-MAINT Server
(Without WinCC)
PM-MAINT Client
(With/Without WinCC
Client)
WinCC Server
PM-AGENT Unified
Distributed System
• Basic installation (One server with integrated client and local PM-AGENT Unified)
• Data display
• as a standalone client
• or integrated in the HMI PM-ANALYZE Client PM-ANALYZE Client
(Without WinCC) (With WinCC Client)
(WinCC 7, WinCC RT Adv.,
RT Prof.)
PM-ANALYZE Server WinCC Comfort Panels
(Without WinCC) OPC UA / Filetransfer
WinCC (Server)
PM-AGENT Unified
Unrestricted © Siemens 2020
WinCC Competence Center Mannheim
PM-ANALYZE
Frequency analysis to identify location based clusters
• Analysis of all alarms in a given time frame that is split into several sub intervals
• Available interval settings are hour, day, week, month, year
(e.g. a complete month split into individual days)
• Grouping functions
• Ordering of analysis results by
column content (e.g. source)
• Identification of possible flicker alarms (bursts), that occur with a high frequency sporadically in short
timeframes
• Configurable threshold
• Availability
• Quality rate
• Performance rate
• OEE
• …
• Output to Panels, OS Clients, WinCC
Screens…
by write back functionality to tags
• Aggregations prepare data for transfer to higher level systems (e.g. a central PM-ANALYZE system)
Unrestricted © Siemens 2020
WinCC Competence Center Mannheim
PM-ANALYZE
Data aggregation (e.g. Min/Max/Avg)
Raw
Data
First
Level
Second
Level
Third
Level
Time
• A context consists of
• Start timestamp
• End timestamp
• Value for the period described by Start to End
• End timestamp always empty for current context
• A context begins with the first occurrence of a new
text value in the context tag
• A context ends if the text value in the context tag
• becomes empty
• or changes to a different text value
(starting a new context timeframe)
• Any text tag can be archived in order to define
context time frames
• Allows time range selection by context
• E.g. Show alarms while user “x” was logged in
• Data is collected in the PLC within a data block and is transferred via TCP/IP
with the TSEND_C function block to an application
(PLCReceiver.exe, part of the PM-ANALYZE server installation)
on the PM-ANALYZE server
• The application stores the received package in a text file which is compatible
with one of the text import station formats of the PM-SERVER
• Within the PM-SERVER the file is imported and the process value tags
contained are linked to a process value archive
• The data in the process value archive are displayed with the PM-ANALYZE
trend control either in WinCC, WinCC Professional, WinCC Advanced or the
standalone client
WinCC
Runtime
TSEND_C
Transfer-
data block
Report template
The last generated report file is provided with a text type output pin of the function block.
With this, the file is available for further processing with other function blocks
• e.g. for sending the generated reports as email attachment
For released SIMATIC WinCC and operating systems please refer to the latest release notes.
WinCC Server
PM-ANALYZE Server
*Installation on a separate server without WinCC requires a Microsoft SQL Server 2014, 2016, 2017, 2019 (32/64) installation..
PM-ANALYZE Server
PM-ANALYZE Client (Without WinCC)
(With/Without WinCC
Client)
WinCC Server
PM-AGENT Unified
Distributed System
• Basic installation (One server with integrated client and local PM-AGENT Unified)
• Export of
• External and internal WinCC-tag values
• Data from process value archives
• Data from user archives
• Data from alarm archive and the current alarm list
The configuration editor is used to The runtime module is activated The runtime exports the
define the export jobs. from the WinCC startup list. configured process data.
WinCC
WinCC Advanced, Comfort PM-OPEN IMPORT
WinCC Professional
Data is exported by a VB Script PM-OPEN IMPORT assigns the Display and analysis is done with
included in the product. files to WinCC archives. standard WinCC functionality.
• Alarms are generated in the WinCC alarm logging upon reception of alarm telegrams
from e.g. supervisory computer systems
• The time stamp from the original source is preserved
• Content
• Tags
• Alarms
Possibilities
• Macro programming like in MS Office
• Access to WinCC data via PM-OPEN TCP/IP object model
• Event scripts for tag changes in WinCC
• Event scripts for alarms in WinCC
• Cyclical script execution
• Establish dialup connections via script
• Access to Office applications through automation interfaces
• Integrated debugger
VBA Examples
• Cyclical or event based transfer of quality data into an excel report
• Automatic creation of reports with Microsoft Word or Microsoft EXCEL
• ASCII-Files import into WinCC
• Database connectivity interfaces e.g. Access, Oracle etc.
• Sending of relevant production alarms via E-Mail to responsible employees
Unrestricted © Siemens 2020
WinCC Competence Center Mannheim
PM-OPEN HOST/S
Unrestricted © Siemens 2020 Connectivity with SAP® ERP
• The current version of PM-OPEN HOST/S transmits measurement documents in from the
SCADA and HMI level to SAP ERP.
• Counter values, like e.g. operating hours, operation cycles or other performance data
contained in WinCC tags can be read either cyclically or event driven and transmitted to
SAP ERP PM.
• Inside the SAP ERP system the operating hours or operating cycles are stored as
measurement readings, which are attached to an equipment or technical location.
• The PM-SERVER platform application (part of PM-OPEN HOST/S) implements the interface between the
base system and PM-OPEN HOST/S
• The term “base system” describes the SCADA and HMI systems
• WinCC, PCS 7, WinCC RT Professional, RT Advanced/Comfort, Unified PC-Runtime
• SIMATIC S7
• or other systems that are connected to the PM-SERVER.
• Configuration tool of
PM-OPEN HOST/S
Application Server
WinCC Advanced RT
+ WinCC V7.x or
PM-OPEN WinCC Professional RT
HOST/S +
PM-OPEN
HOST/S
*Installation on a separate server without WinCC requires a Microsoft SQL Server 2014, 2016, 2017, 2019 (32/64) installation..
PM-OPEN
HOST/S
(ohne WinCC) *
WinCC Server
+
PM-AGENT Unified
WinCC Comfort
Panels
OPC UA
Distributed System
WinCC 7 or
PCS 7 or
PM-LOGON
WinCC Adv./Prof RT
PM-LOGON with SIMATIC Logon
RF 1040R / RF 1060R /
RF1070R, PC/SC, Admitto,
Generic COM Port
PM-LOGON Comfort RT (>= TP700)
for Panels with SIMATIC Logon
License required
PM-LOGON
• Together with the free of charge trial version ideal for testing
• The runtime can be installed as many times as needed and does not require a license
• The Client packages define the maximum number of different users the can login
The PM-LOGON Runtime offers the following functions: • SIMATIC RF 1040R / 1060R / 1070R
• Admitto Reader
• Querying the unique ID of the RFID card from the • Omnikey
Read •…
configured RFID reader device
• Determination of user name + password from:
• Active Directory Domain Controller
• Active Directory (Domain controller) • Windows user management
• Windows user management Authenticate • …
• WinCCViewerRT
• Identification devices
• User repositories
• Login Providers
Domain Controller
7. Authenticate User
SIMATIC Logon
6. Provide
Username + Password Microsoft Active Directory
3. Send unique ID
2. Read unique ID 4. Retrieve user data for
PM-LOGON Runtime Unique ID
5. Return
Username + Password
1. Required users are created in the active directory on the domain controller and are added to the
appropriate user groups. (Standard SIMATIC Logon procedure.)
2. Each RFID-Transponder has a unique ID*. This ID is linked to a user from the active directory.
3. Username and password are stored in encrypted format together with the transponder ID in attributes of
the Microsoft Active Directory of the domain.
4. When a transponder is detected by a RFID reader, its ID is read by the PM-LOGON Runtime and a query
is run against the Active Directory to find the associated user.
5. The currently active domain controller retrieves the associated user and sends the encrypted user name
and password back to the PM-LOGON Runtime.
6. The PM-LOGON Runtime performs the login against SIMATIC Logon with the credentials retrieved
7. If the transponder leaves the scope of the RFID reader the previously logged in user is automatically
logged out.
8. Write Username +
Password into HMI Tags
7. Return 6. Return
Username + Password Username + Password
1. Required users are created in the active directory on the domain controller and are added to the
appropriate user groups. (Standard SIMATIC Logon procedure.)
2. Each RFID-Transponder has a unique ID*. This ID is linked to a user from the active directory.
3. Username and password are stored in encrypted format together with the transponder ID in attributes of
the Microsoft Active Directory of the domain.
4. When a transponder is detected by a RFID reader, its ID is read by the PM-LOGON Runtime for Panels
and sent to another PM-LOGON Runtime (on a PC) which runs a query against the Active Directory to
find the associated user.
5. The currently active domain controller retrieves the associated user and sends the encrypted user name
and password back to the PM-LOGON Runtime which relays it back to the PM-LOGON Runtime for
Panels.
6. The SIMATIC RFID Logon Runtime for Panels transfers the username and password into tags on the
Panel where a standard script function performs the login process.
• Support for generic „Virtual COM Port“ readers with RegEx filter
• User administration within the HMI
• Assign card to another/own user login
StartProgramWithCommandLine "\Siemens\PM\PMLOGON\PM-LOGON.Configurator.exe", "self"
• Configurator
• Client Packages
• Update DVD
• Includes up to date software
• Orderable at any time
• This product versions are using a • This product versions are using a
blue hardlock green hardlock
• PM-QUALITY <= V9.8 • PM-QUALITY >= V10.0
• PM-CONTROL <= V10.8 • PM-CONTROL >= V11.0
• PM-MAINT <= V9.8 • PM-MAINT >= V10.0
• PM-ANALYZE <= V7.8 • PM-ANALYZE >= V8.0
• PM-OPEN EXPORT <= V7.9 • PM-OPEN EXPORT >= 8.0
• PM-OPEN IMPORT <= V6.5 • PM-OPEN IMPORT >= V7.0
• PM-OPEN HOST/S <= V7.1 • PM-OPEN HOST/S >= V8.0
• I.e. for the newer product versions a new UPP hardlock is required
Hans-Jürgen Burath
siemens.com/process-management