You are on page 1of 26

Visualizing CMS

parameters and KPIs


in the Performance
Insight app
Siemens
SIPLUS CMS1200 SM 1281/ MindSphere Industry
Online
https://support.industry.siemens.com/cs/ww/en/view/109782361 Support
Legal information

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.

Visualizing CMS parameters and KPIs in the Performance Insight app


Entry-ID: 109782361, V1.0, 01/2021 2
Table of contents

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

Visualizing CMS parameters and KPIs in the Performance Insight app


Entry-ID: 109782361, V1.0, 01/2021 3
1 Introduction

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).

Which variables will be visualized?


Two CMS parameters and a self-defined KPI will be visualized in this application
example by way of example:

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:

Figure 1-1 Widgets offered by the app

The figure below shows the result based on an example process. The steps
leading to this result are executed in section 2.

Visualizing CMS parameters and KPIs in the Performance Insight app


Entry-ID: 109782361, V1.0, 01/2021 4
1 Introduction

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

Vibration variables KPI

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.

Visualizing CMS parameters and KPIs in the Performance Insight app


Entry-ID: 109782361, V1.0, 01/2021 5
1 Introduction

1.2 Principle of operation


Hardware setup for determining the vibration variables
The CMS parameters are acquired with the hardware setup used in application
example "Monitoring of Machine Vibration Variables with a SIPLUS CMS1200
SM 1281 Condition Monitoring System".
Link to application example:
https://support.industry.siemens.com/cs/ww/en/view/109480750

Figure 1-3 Hardware setup for determining the vibration variables


© Siemens AG 2021 All rights reserved

Hardware setup for connecting to MindSphere


The MindConnect Nano is added to the hardware setup in Figure 1-3.
MindConnect Nano transfers parameters and messages of the SIPLUS CMS1200
SM 1281 to MindSphere. You can then have these displayed in the app.
Application example "Connecting a SIPLUS CMS1200 SM 1281 to MindSphere"
shows the connection with the MindConnect Nano.
Link to application example:
https://support.industry.siemens.com/cs/ww/en/view/109750010

Figure 1-4 Addition of the MindConnect Nano to the hardware setup

MindConnect Nano

Visualizing CMS parameters and KPIs in the Performance Insight app


Entry-ID: 109782361, V1.0, 01/2021 6
1 Introduction

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:

Figure 1-5 Structure of the OPC UA interface


© Siemens AG 2021 All rights reserved

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

Visualizing CMS parameters and KPIs in the Performance Insight app


Entry-ID: 109782361, V1.0, 01/2021 7
1 Introduction

1.3 Components used


Validity
This application is valid for
• STEP 7 V16 and higher
• WinCC V16 and higher
• S7-1200 FW 4.2 and higher
• SM 1281 FW 3.2.1

The hardware and software components used correspond to those in the


application examples referenced in section 1.2.
© Siemens AG 2021 All rights reserved

Visualizing CMS parameters and KPIs in the Performance Insight app


Entry-ID: 109782361, V1.0, 01/2021 8
2 Configuration and parameter assignment

2 Configuration and parameter assignment


What will you find here?
This section contains instructions on how to do the following with the app:
• Visualize CMS parameters aPeak and aRMS
• Define and visualize KPIs

2.1 Precondition
The following precondition must be met:
• MindConnect Nano has established a connection to MindSphere.

The following application example shows the connection of a SIPLUS CMS1200


SM 1281 to MindSphere:
https://support.industry.siemens.com/cs/ww/en/view/109750010

• 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

Figure 2-1 Connectivity of MindConnect Nano

Add new Datasource

View Configuration

Protocol: OPCUA Reading Cycle: 5s 4 of 4 datapoints linked

Datapoint Linking

The data structure of your plant is then automatically displayed in the app.

Visualizing CMS parameters and KPIs in the Performance Insight app


Entry-ID: 109782361, V1.0, 01/2021 9
2 Configuration and parameter assignment

Initial situation
The previously described preconditions are met. The further steps involve the asset
"CMS1200_Data".

Figure 2-2 Asset "CMS1200_Data" in the app


© Siemens AG 2021 All rights reserved

Visualizing CMS parameters and KPIs in the Performance Insight app


Entry-ID: 109782361, V1.0, 01/2021 10
2 Configuration and parameter assignment

2.1.1 Creating a dashboard and the "Diagram" widget

Creating a dashboard
1. Select the "CMS1200_Data" asset as shown in Figure 2-2. Click the plus icon
to create a new dashboard:

Figure 2-3 Creating 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).

Figure 2-4 Naming the dashboard and assigning its parameters


© Siemens AG 2021 All rights reserved

Visualizing CMS parameters and KPIs in the Performance Insight app


Entry-ID: 109782361, V1.0, 01/2021 11
2 Configuration and parameter assignment

Creating a widget
3. Click "Create first widget".

Figure 2-5 Creating a widget

4. Select a widget type (here: "Diagram" (1)) and click "Continue" (2).

Figure 2-6 Selection of the "Diagram" widget

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".

Visualizing CMS parameters and KPIs in the Performance Insight app


Entry-ID: 109782361, V1.0, 01/2021 12
2 Configuration and parameter assignment

Figure 2-7 Naming the widget and assigning its parameters

2
© Siemens AG 2021 All rights reserved

Visualizing CMS parameters and KPIs in the Performance Insight app


Entry-ID: 109782361, V1.0, 01/2021 13
2 Configuration and parameter assignment

Selecting CMS parameters


6. Click "Select parameter" and select aPeak and aRMS. Then click "Choose".

Figure 2-8 Selection of process values to be visualized


© 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.

Figure 2-9 Aggregation of process values

Visualizing CMS parameters and KPIs in the Performance Insight app


Entry-ID: 109782361, V1.0, 01/2021 14
2 Configuration and parameter assignment

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.

Figure 2-11 Created widget

Result: The vibration variables aPeak and aRMS are visualized in the app.

Visualizing CMS parameters and KPIs in the Performance Insight app


Entry-ID: 109782361, V1.0, 01/2021 15
2 Configuration and parameter assignment

2.1.2 Defining and visualizing KPIs

1. Click the pencil icon in the "CMS1200_Data_Diagram" widget.

Figure 2-12 Widget editing mode


© Siemens AG 2021 All rights reserved

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.

2. Click "(3) Parameter".

Figure 2-13 Parameters of the app

Visualizing CMS parameters and KPIs in the Performance Insight app


Entry-ID: 109782361, V1.0, 01/2021 16
2 Configuration and parameter assignment

3. Click "New KPI instance".

Figure 2-14 Creating a new KPI instance

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.

Figure 2-15 Assigning the KPI instance parameters

Visualizing CMS parameters and KPIs in the Performance Insight app


Entry-ID: 109782361, V1.0, 01/2021 17
2 Configuration and parameter assignment

2.1.3 Instructions for working with 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

1. Click "Operand" in the formula editor.

Figure 2-16 Formula editor

Result: An operand field is provided.

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.

3. Click "Find parameter".

Figure 2-17 Linking an operand to a process value in the formula editor

Visualizing CMS parameters and KPIs in the Performance Insight app


Entry-ID: 109782361, V1.0, 01/2021 18
2 Configuration and parameter assignment

4. Select "aPeak" and click "Choose".

Figure 2-18 Selection of the process value

5. Select "Last", for example.


Figure 2-19 Selection of the aggregation
© Siemens AG 2021 All rights reserved

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".

Visualizing CMS parameters and KPIs in the Performance Insight app


Entry-ID: 109782361, V1.0, 01/2021 19
2 Configuration and parameter assignment

Figure 2-20 Defining a KPI


© Siemens AG 2021 All rights reserved

Result: The variables needed to generate the KPI and the KPI itself are now created.

Figure 2-21 Process values and KPI are created

7. Go to "General display options" (1), and click the gear icon (2) in the row of the
KPI.

Visualizing CMS parameters and KPIs in the Performance Insight app


Entry-ID: 109782361, V1.0, 01/2021 20
2 Configuration and parameter assignment

Figure 2-22 Editing mode for 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

9. Go to "Diagram – Display options" (1), and finish with "Finish" (2).

Figure 2-24 Finishing the KPI parameter assignment

Visualizing CMS parameters and KPIs in the Performance Insight app


Entry-ID: 109782361, V1.0, 01/2021 21
2 Configuration and parameter assignment

2.1.4 Creating additional widgets

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.

Visualizing CMS parameters and KPIs in the Performance Insight app


Entry-ID: 109782361, V1.0, 01/2021 22
3 Useful information

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:

Table 3-1 Aggregation functions


Function Meaning
Average Calculates the time-weighted average value of the read values.
Min Outputs the smallest read value.
Max Outputs the largest read value.
Sum Adds all the read values
Last Outputs the last read value.
Counter The sum of the positive value changes between two points in
time is output in each case.
© Siemens AG 2021 All rights reserved

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.

Visualizing CMS parameters and KPIs in the Performance Insight app


Entry-ID: 109782361, V1.0, 01/2021 23
3 Useful information

3.2 Definitions for KIPs


The acronym KPI stands for Key Performance Indicator.

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.

Visualizing CMS parameters and KPIs in the Performance Insight app


Entry-ID: 109782361, V1.0, 01/2021 24
4 Appendix

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

SITRAIN – Training for Industry


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:
www.siemens.com/sitrain

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

Industry Online Support app


You will receive optimum support wherever you are with the "Siemens Industry
Online Support" app. The app is available for iOS and Android:
support.industry.siemens.com/cs/ww/en/sc/2067

Visualizing CMS parameters and KPIs in the Performance Insight app


Entry-ID: 109782361, V1.0, 01/2021 25
4 Appendix

4.2 Links and literature


Table 4-1
No. 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/109782361
\3\ Link Anwendungsbeispiel: "Monitoring of Machine Vibration Variables with a
SIPLUS CMS1200 SM 1281 Condition Monitoring System"
https://support.industry.siemens.com/cs/ww/en/view/109480750
\4\ Link Anwendungsbeispiel: "Connecting a SIPLUS CMS1200 SM 1281 to
MindSphere"
https://support.industry.siemens.com/cs/ww/en/view/109750010
\5\

4.3 Change documentation


Table 4-2
© Siemens AG 2021 All rights reserved

Version Date Modifications


V1.0 01/2021 First version

Visualizing CMS parameters and KPIs in the Performance Insight app


Entry-ID: 109782361, V1.0, 01/2021 26

You might also like