Professional Documents
Culture Documents
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
© Siemens 2021 All rights reserved
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
at: https://www.siemens.com/industrialsecurity.
Table of contents
Legal information ......................................................................................................... 2
1 Introduction ........................................................................................................ 4
1.1 Overview............................................................................................... 4
1.2 Principle of operation............................................................................ 6
1.3 Components used ................................................................................ 8
2 Configuration and parameter assignment ...................................................... 9
2.1 Precondition ......................................................................................... 9
2.1.1 Creating a dashboard and the "Diagram" widget ............................... 11
2.1.2 Defining and visualizing KPIs ............................................................. 16
2.1.3 Instructions for working with the formula editor .................................. 18
2.1.4 Creating additional widgets ................................................................ 22
3 Useful information ........................................................................................... 23
3.1 Aggregation ........................................................................................ 23
3.2 Definitions for KIPs ............................................................................. 24
4 Appendix .......................................................................................................... 25
4.1 Service and support ........................................................................... 25
4.2 Links and literature ............................................................................. 26
4.3 Change documentation ...................................................................... 26
© Siemens AG 2021 All rights reserved
1 Introduction
1.1 Overview
Purpose of the application example
This application example shows how you visualize CMS parameters (e.g. vibration
variables such as vRMS, aRMS, DKW) in an easy way within the MindSphere app
SIMATIC Performance Insight (referred to in the following as the app).
In addition to the CMS parameters, you can define your own plant-specific
parameters (KPIs) and have them displayed in the app too (see also section 3.2).
CMS parameters
• aPeak (peak value of vibration acceleration)
• aRMS (interval rms value of vibration acceleration)
KPI
• CREST factor (ratio of peak value to rms value)
© Siemens AG 2021 All rights reserved
The CREST factor can be determined from the two CMS parameters:
aPeak
CREST factor =
aRMS
This calculation will be placed in the app and defines the KPI named "KPI_CREST"
used here.
Visualization options
The visualization is done with at least one widget, which is created in a dashboard.
The app offers various widgets. Of these, the ones indicated below will be used in
this application example:
The figure below shows the result based on an example process. The steps
leading to this result are executed in section 2.
Figure 1-2 Visualization of the vibration variables and a KPI in a dashboard with various widgets
Asset
Dashboard
Widget
“Diagram“
Widgets Widgets
“Gauge“ “Value“
© Siemens AG 2021 All rights reserved
Note The reason for the different values in the widgets for the same variables (e.g.
"Gauge_aPeak" = 1.68 and "Value_aPeak" = 1.97) is the small time delays until
the current value is displayed.
MindConnect Nano
Operating mechanism
As of version V3.2, the SM1281 comes equipped with an OPC UA data server that
is available in parallel with the web server on the device.
Address of the OPC UA data server: opc.tcp://192.168.0.200:4840
All values of the interface are read-only.
The OPC UA interface is structured as follows:
The process values (aPeak, aRMS) pass from the OPC UA data server via the
NanoConnect to MindSphere, where they are read by the app.
Figure 1-6 Process data path from OPC UA data server to app
aPeak
aRMS
OPC-UA
aPeak data server
aRMS
aPeak
aRMS
CPU
SM 1281
S7-1200
2.1 Precondition
The following precondition must be met:
• MindConnect Nano has established a connection to MindSphere.
• In order to visualize the aPeak and aRMS data from the plant (here using the
OPC UA server of the SM 1281), this data must be transferred to MindSphere
using the Asset Manager.
© Siemens AG 2021 All rights reserved
View Configuration
Datapoint Linking
The data structure of your plant is then automatically displayed in the app.
Initial situation
The previously described preconditions are met. The further steps involve the asset
"CMS1200_Data".
Creating a dashboard
1. Select the "CMS1200_Data" asset as shown in Figure 2-2. Click the plus icon
to create a new dashboard:
2. Assign a name for the dashboard (1), and select the time range in which you
want to monitor aPeak and aRMS (2). Finish your entries by clicking "Create"
(3).
Creating a widget
3. Click "Create first widget".
4. Select a widget type (here: "Diagram" (1)) and click "Continue" (2).
2
© Siemens AG 2021 All rights reserved
5. Assign a name for the widget (1), and specify the time interval at which the
visualized process values aPeak and aRMS are to be updated (2). Then click
"Continue".
2
© Siemens AG 2021 All rights reserved
7. For aPeak and aRMS, select which of the determined values is to be displayed
(for information on aggregation, see section 3.1). Then click "Continue".
Note You can define KPIs at this point. This application example does this separately
in section 2.1.2.
Defining limits
8. Click the gear icon (1) and (2) and define the limits. Select the color in which
aPeak and aRMS are to be visualized (3) and (4). Then click "Continue".
Figure 2-10 Specifying warning and alert limits for the process values
1
Finishing entries
© Siemens AG 2021 All rights reserved
9. Click "Finish".
10. Click the icon indicated below in order to view the diagram in its entirety.
Result: The vibration variables aPeak and aRMS are visualized in the app.
Note If the pencil icon is not present in the display, click the gear icon on the right of
the screen. The pencil icon will then appear.
4. Assign a name for the KPI (1), and select the typeless KPI instance (2)
("Without KPI type (type less)"). Select a unit for the KPI (3), and define it with
the formula editor (4).
© Siemens AG 2021 All rights reserved
Note Section 2.1.3 shows you how to use the formula editor.
The CREST factor KPI (KPI_CREST) is to be defined from the vibration variables
aPeak and aRMS using the formula editor.
aPeak
CREST factor =
aRMS
2. Manually enter the vibration variable "aPeak" in the generated operand field.
© Siemens AG 2021 All rights reserved
Result: A second field is displayed where you can link the "aPeak" operand to
the "aPeak" variable stored in MindSphere.
6. Insert the division sign into the formula editor, and complete the formula.
Follow the same procedure for "aRMS" as for "aPeak". Finish your entries with
"Save".
Result: The variables needed to generate the KPI and the KPI itself are now created.
7. Go to "General display options" (1), and click the gear icon (2) in the row of the
KPI.
8. Assign a color for the display of the KPI (1), and define warning and alert limits
(2).
Figure 2-23 Specifying warning and alert limits for the KPI
1
© Siemens AG 2021 All rights reserved
You can now create additional widgets as shown in section 2.1.1. Figure 1-2 shows
a "Gauge" widget and a "Value" widget for each of the vibration variables aPeak
and aRMS and for KPI_CREST. The defined warning and alert limits allow
undesired plant conditions to be detected quickly:
Figure 2-25 Exceeding the warning limit for aPeak and the alert limit for aRMS
© Siemens AG 2021 All rights reserved
Note The reason for the different values in the widgets for the same variables (e.g.
"Gauge_CREST" = 6.11 and "Value_CREST" = 7.48) is the small time delays
until the current value is displayed.
3 Useful information
3.1 Aggregation
You use an aggregation function to select which value is to be output for a variable.
• You output the last read value with "Last".
• The other functions allow you to determine summary information from the read
values, such as the sum of all the read values.
The following aggregation functions are available:
Timer The timer calculates the time interval in which the variable was
not 0. Unit = milliseconds.
EnergyToPower A consumption value can be converted into power.
This aggregation function can only be selected in combination
with the Energy and Counter acquisition categories.
PowerToEnergy Power can be converted into a consumption value.
This aggregation function can only be selected in combination
with the Power acquisition category.
AmountToFlow An amount (per hour) can be converted directly into a flow
value.
This aggregation function can only be selected in combination
with the Amount and Counter acquisition categories.
FlowToAmount A flow value (amount/h) can be converted directly into an
amount value.
This aggregation function can only be selected in combination
with the Flow acquisition category.
KPI types
KPI types are formulas made up of operands, constants and operators. The
definition and calculation of KPI types are plant-specific.
KPI instance
A KPI instance can be created as a type-based or typeless instance:
• Type-based: The KPI instance is derived from a KPI type.
• Typeless: The KPI instance is created independent of a KPI type.
Relationship
Figure 3-1 Relationship between KPI type and KPI instance
Assigned
KPI instance Asset 1
Instantiated Direct
© Siemens AG 2021 All rights reserved
Asset n
KPI type KPI (typeless)
The KPI types can be instantiated multiple times. When you make changes to the
KPI type, these changes are also made in all the KPI instances.
Each KPI instance must be assigned to an asset, but variables from other assets
can also be linked to the KPI instance.
4 Appendix
4.1 Service and support
Industry Online Support
Do you have any questions or need assistance?
Siemens Industry Online Support offers round the clock access to our entire
service and support know-how and portfolio.
The Industry Online Support is the central address for information about our
products, solutions and services.
Product information, manuals, downloads, FAQs, application examples and videos
– all information is accessible 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:
www.siemens.com/industry/supportrequest
© Siemens AG 2021 All rights reserved
Service offer
Our range of services includes the following:
• Plant data services
• Spare parts services
• Repair services
• On-site and maintenance services
• Retrofitting and modernization services
• Service programs and contracts
You can find detailed information on our range of services in the service catalog
web page:
support.industry.siemens.com/cs/sc