Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and...

136
MindSphere Getting Connected to MindSphere Getting Started 04/2020 V1801.Apr/2020.1 Document history 1 Safety Notes 2 Introduction 3 Overview of MindConnect Elements 4 Mounting and installing MindConnect Elements 5 Connecting MindConnect Elements 6 Onboarding MindConnect Elements 7 Configuring data in Asset Manager 8 Configuring protocols 9 Firmware update 10 Visual analysis of assets in Fleet Manager 11 Appendix A

Transcript of Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and...

Page 1: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

MindSphere

Getting Connected to MindSphere

Getting Started

04/2020 V1801.Apr/2020.1

Document history 1

Safety Notes 2

Introduction 3

Overview of MindConnect Elements

4

Mounting and installing MindConnect Elements

5

Connecting MindConnect Elements

6

Onboarding MindConnect Elements

7

Configuring data in Asset Manager

8

Configuring protocols 9

Firmware update 10

Visual analysis of assets in Fleet Manager

11

Appendix A

Page 2: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Siemens AG Division Digital Factory Postfach 48 48 90026 NÜRNBERG GERMANY

V1801.Apr/2020.1 Ⓟ 04/2020 Subject to change

Copyright © Siemens AG 2020. All rights reserved

Legal information Warning notice system

This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are graded according to the degree of danger.

DANGER indicates that death or severe personal injury will result if proper precautions are not taken.

WARNING indicates that death or severe personal injury may result if proper precautions are not taken.

CAUTION indicates that minor personal injury can result if proper precautions are not taken.

NOTICE indicates that property damage can result if proper precautions are not taken.

If more than one degree of danger is present, the warning notice representing the highest degree of danger will be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to property damage.

Qualified Personnel The product/system described in this documentation may be operated only by personnel qualified for the specific task in accordance with the relevant documentation, in particular its warning notices and safety instructions. Qualified personnel are those who, based on their training and experience, are capable of identifying risks and avoiding potential hazards when working with these products/systems.

Proper use of Siemens products Note the following:

WARNING Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems. The permissible ambient conditions must be complied with. The information in the relevant documentation must be observed.

Trademarks All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.

Disclaimer of Liability We have reviewed the contents of this publication to ensure consistency with the hardware and software described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the information in this publication is reviewed regularly and any necessary corrections are included in subsequent editions.

Page 3: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 3

Table of contents

1 Document history .................................................................................................................................... 7

2 Safety Notes ........................................................................................................................................... 9

2.1 General safety instructions ....................................................................................................... 9

2.2 Notes on usage ....................................................................................................................... 12

3 Introduction ........................................................................................................................................... 13

3.1 Getting Started ........................................................................................................................ 13

3.2 Purpose of this document ....................................................................................................... 13

3.3 Functional overview of MindSphere ........................................................................................ 14

3.4 Working with MindSphere ....................................................................................................... 15

3.5 Data model in "Asset Manager" .............................................................................................. 16

4 Overview of MindConnect Elements ...................................................................................................... 18

5 Mounting and installing MindConnect Elements ..................................................................................... 20

5.1 Checking package upon delivery ............................................................................................ 20

5.2 Mounting MindConnect Nano ................................................................................................. 21 5.2.1 Permitted mounting positions and surrounding temperature .................................................. 22 5.2.2 Connecting the protective earth .............................................................................................. 23

5.3 Mounting MindConnect IoT2040 ............................................................................................. 23 5.3.1 Permitted mounting positions and surrounding temperature .................................................. 23 5.3.2 Mounting types ........................................................................................................................ 24

5.4 LED lights of MindConnect Elements ..................................................................................... 25 5.4.1 LED lights of MindConnect Nano ............................................................................................ 25 5.4.2 LED lights of MindConnect IoT2040 ....................................................................................... 26 5.4.3 Troubleshooting ...................................................................................................................... 29

5.5 USB commands ...................................................................................................................... 32

6 Connecting MindConnect Elements....................................................................................................... 38

6.1 Commissioning MindConnect Element ................................................................................... 38

6.2 Firewall/Proxy rules for MindSphere ....................................................................................... 42

6.3 Connecting MindConnect Nano to MindSphere network ........................................................ 43

6.4 Connecting MindConnect IoT2040 to MindSphere network ................................................... 45

6.5 Connecting Port X2 P1 for MindConnect Element ................................................................. 46

6.6 MindConnect network plan ..................................................................................................... 47

7 Onboarding MindConnect Elements ...................................................................................................... 50

7.1 Overview of onboarding MindConnect Element ..................................................................... 50

Page 4: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Table of contents

Getting Connected to MindSphere 4 Getting Started, 04/2020, V1801.Apr/2020.1

7.2 Logging in to MindSphere ...................................................................................................... 51

7.3 Creating an asset ................................................................................................................... 51

7.4 Enable connection to MindConnect Element ......................................................................... 53

7.5 Configuring network settings .................................................................................................. 55

7.6 Transferring configuration to MindConnect Element ............................................................. 57

8 Configuring data in Asset Manager ....................................................................................................... 61

8.1 Creating an aspect and variables .......................................................................................... 62

8.2 Creating a type in Asset Manager.......................................................................................... 64

8.3 Adding a data source and data points ................................................................................... 66 8.3.1 Adding a data source ............................................................................................................. 66 8.3.2 Adding data points ................................................................................................................. 68

8.4 Mapping an aspect to a data source ...................................................................................... 70

9 Configuring protocols ............................................................................................................................ 73

9.1 Overview of S7 protocol ......................................................................................................... 73

9.2 Overview of OPC UA protocol ............................................................................................... 79

9.3 Overview of Modbus TCP protocol ........................................................................................ 83

9.4 Overview of Modbus RTU protocol ........................................................................................ 86

9.5 Overview of SIMATIC I/O Shield ............................................................................................ 91

9.6 Overview of SYSTEM protocol .............................................................................................. 93

9.7 Overview of Rockwell protocol ............................................................................................. 104

10 Firmware update .................................................................................................................................. 106

10.1 Manual firmware update of MindConnect Element .............................................................. 106

10.2 Firmware update in Asset Manager ..................................................................................... 107

11 Visual analysis of assets in Fleet Manager ........................................................................................... 109

11.1 Overview visual analysis ...................................................................................................... 109

11.2 Selecting assets ................................................................................................................... 109

11.3 Viewing aspects ................................................................................................................... 111

11.4 Viewing events ..................................................................................................................... 113

A Appendix ............................................................................................................................................. 114

A.1 Data center locations ........................................................................................................... 114

A.2 Quality code settings ............................................................................................................ 114 A.2.1 Using quality code ................................................................................................................ 114 A.2.2 Quality codes OPC UA and S7 protocol .............................................................................. 115 A.2.3 Quality codes Modbus protocol ............................................................................................ 117 A.2.4 Quality codes SIMATIC I/O Shield ....................................................................................... 118 A.2.5 Quality codes SYSTEM protocol .......................................................................................... 118 A.2.6 Quality codes Rockwell protocol .......................................................................................... 119

A.3 Technical specifications of MindConnect Nano ................................................................... 119

Page 5: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Table of contents

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 5

A.4 Technical specifications of MindConnect IoT2040 ............................................................... 122

A.5 Offline buffer ......................................................................................................................... 125

A.6 Read performance MindConnect Elements .......................................................................... 125

A.7 Firewall Settings .................................................................................................................... 127

A.8 ESD guideline ....................................................................................................................... 129

A.9 Return of defect hardware .................................................................................................... 131

A.10 List of abbreviations .............................................................................................................. 132

Glossary ............................................................................................................................................. 133

Page 6: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 6

This document provides an overview of the MindConnect devices to connect your assets to MindSphere.

Page 7: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 7

Document history 1

Version Date Changes Link V1801.Apr/2020.2 2020-04-18 Update of configuring proto-

cols. Configuring protocols (Page 73)

Update of quality codes. Quality code settings (Page 114)

V1801.Feb/2020.2 2020-02-20 Update of USB commandos. Added new command re-stricted device configuration.

USB commands (Page 32)

Update of OPC UA protocol. You can now activate events and alarms.

Overview of OPC UA proto-col (Page 79)

Update of Modbus TCP protocol. Added optional data source parameter.

Overview of Modbus TCP protocol (Page 83)

Update of Modbus RTU protocol. Added optional data source parameter.

Overview of Modbus TCP protocol (Page 83)

V1801.Jan/2020.1 2020-01-08 Added Rockwell protocol section.

Overview of Rockwell proto-col (Page 104)

Update of quality codes for Rockwell protocol.

Quality codes Rockwell protocol (Page 119)

V1801.Dec/2019.1 2019-12-02 Update of Connecting Mind-Connect Nano to Mind-Sphere network.

Connecting MindConnect Nano to MindSphere network (Page 43)

Added note for Proxy IP address.

Configuring network settings (Page 55)

Added note for limitations for data points.

Adding data points (Page 68)

Update of Modbus TCP protocol.

Overview of Modbus TCP protocol (Page 83)

Update of SYSTEM protocol. Overview of SYSTEM pro-tocol (Page 93)

V1801.Oct/2019.1 2019-10-02 Update of SYSTEM protocol. Overview of SYSTEM pro-tocol (Page 93)

V1801.Aug/2019.1 2019-08-07 You can now use NTLM Authentication in the proxy configuration.

Configuring network settings (Page 55)

V1801.Jun/2019.1 2019-06-13 Update of S7 protocol chap-ter.

Overview of S7 protocol (Page 73)

Update of Modbus protocol chapter.

Overview of Modbus TCP protocol (Page 83)

You can now use hysteresis in the data point configura-tion.

Adding data points (Page 68)

Page 8: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Document history

Getting Connected to MindSphere 8 Getting Started, 04/2020, V1801.Apr/2020.1

Version Date Changes Link V1801.Mai/2019.1 2019-05-15 Added new chapter "Mind-

Connect network plan". MindConnect network plan (Page 47)

Update of Read performance of MindConnect Elements

Read performance Mind-Connect Elements (Page 125)

Added Modbus protocol section for Modbus TCP and Modbus RTU.

Configuring protocols (Page 73)

V1801.Mar/2019.1 2019-03-18 Added note for Firmware update.

Firmware update (Page 106)

V1801.Feb/2019.1 2019-02-11 Added health status to data point section.

Adding data points (Page 68)

Added SYSTEM protocol section.

Overview of SYSTEM pro-tocol (Page 93)

Update of S7 protocol sec-tion.

Overview of S7 protocol (Page 73)

Update of OPC UA section. Overview of OPC UA proto-col (Page 79)

V1801.Jan/2019.1 2019-01-14 Update of S7 protocol sec-tion.

Overview of S7 protocol (Page 73)

Update of technical specifi-cations.

Technical specifications of MindConnect Nano (Page 119)

V1801.Dec/2018.1 2018-12-17 Added new topic Regions in MindSphere.

Data center locations (Page 114)

Added chapter Firmware update.

Firmware update (Page 106)

Added chapter Return of defect hardware.

Return of defect hardware (Page 131)

Update of Notes on usage. Notes on usage (Page 12) Added section Calculation of buffer time.

Read performance Mind-Connect Elements (Page 125)

Added chapter USB com-mandos.

USB commands (Page 32)

V1801.CW.EU1.K1203 2018-12-03 Updated section configuring protocols.

Configuring protocols (Page 73)

Added new chapter Read performance of MindConnect Elements.

Read performance Mind-Connect Elements (Page 125)

V1801.K1113 2018-11-13 Added new protocols Mod-bus and SIMATiC I/O Shield.

Configuring protocols (Page 73)

Page 9: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 9

Safety Notes 2 2.1 General safety instructions

WARNING

Life-threatening voltages are present with an open control cabinet

When you install the device in a control cabinet, some areas or components in the open control cabinet may be carrying life-threatening voltages.

If you touch these areas or components, you may be killed by electric shock.

Switch off the power supply to the cabinet before opening it.

System expansions

NOTICE

Damage through system expansions

Device and system expansions may be faulty and can affect the entire machine or plant.

The installation of expansions can damage the device, machine or plant. Device and system expansions may violate safety rules and regulations regarding radio interference suppression. If you install or exchange system expansions and damage your device, the warranty becomes void.

Note the following for system expansions:

Only install system expansion devices designed for this device. Contact your technical support team or the team where you have purchased your PC to find out which system expansion devices may safely be installed.

Observe the information on electromagnetic compatibility (EMC). Refer to the chapter Technical specifications of MindConnect Nano (Page 119)/Technical specifications of MindConnect IoT2040 (Page 122).

NOTICE

"Open Type" UL508

Note that the device is classified as "Open Type" for use in the area of Industrial Control Equipment (UL508).

Installation of the device in an enclosure complying with UL508 is a prerequisite for approval or operation in accordance with UL508.

Page 10: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Safety Notes 2.1 General safety instructions

Getting Connected to MindSphere 10 Getting Started, 04/2020, V1801.Apr/2020.1

Battery and rechargeable battery

WARNING

Risk of explosion and release of harmful substances

Improper handling of lithium batteries can result in an explosion of the batteries.

Explosion of the batteries and the released pollutants can cause severe physical injury.

Worn batteries jeopardize the function of the device.

Note the following when handling lithium batteries: • Replace used batteries in good time; see the section "Replacing the backup battery" in

the operating instructions. • Replace the lithium battery only with an identical battery or types recommended by the

manufacturer. • Do not throw lithium batteries into fire, do not solder on the cell body, do not recharge,

do not open, do not short-circuit, do not reverse polarity, do not heat above 100°C and protect from direct sunlight, moisture and condensation.

Strong high-frequency radiation

NOTICE

Observe immunity to RF radiation

The device has an increased immunity to RF radiation according to the specifications on electromagnetic compatibility in the technical specifications.

Radiation exposure in excess of the specified immunity limits can impair device functionality resulting in malfunctions and therefore injuries or damages.

Read the information on immunity to RF radiation in the technical specifications.

ESD Guideline Electrostatic sensitive devices can be labeled with an appropriate symbol.

Page 11: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Safety Notes 2.1 General safety instructions

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 11

NOTICE

Electrostatic sensitive devices (ESD)

When you touch electrostatic sensitive components, you can destroy them through voltages that are far below the human perception threshold.

If you work with components that can be destroyed by electrostatic discharge, observe the ESD Guideline. Refer to the chapter ESD guideline (Page 129).

Open Source Software Siemens will identify the open source software components contained in MindConnect Nano and MindConnect IoT2040, including the applicable license text and will include such license text(s) in or provide them together with MindConnect Nano/ Iot2040. Should the license(s) applicable to any part of the open source software require the distribution of the open source software’s source code and build scripts together with MindConnect Nano/IoT2040 (or, alternately, an offer to make the source code and build scripts available upon request), then Siemens will provide such source code or such offer to customer together with MindConnect Nano. No license fee is charged to customer for the use of such open source software. Customer acknowledges and agrees that Siemens provides no warranties, express or implied, and no indemnification for the open source software itself. Customer hereby accepts that the open source software is subject to the specific license terms included in or provided together with MindConnect Nano. To the extent there is a conflict between these terms and the open source specific license terms, such terms shall prevail with regard to the open source software.

Industrial Security 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 only form one element of such a concept. Customer is responsible to prevent unauthorized access to its plants, systems, machines and networks. Systems, machines and components should only be connected to the enterprise network or the internet if and to the extent necessary and with appropriate security measures (e.g. use of firewalls and network segmentation) in place.

Additionally, Siemens’ guidance on appropriate security measures should be taken into account. For more information about industrial security, please visit http://www.siemens.com/industrialsecurity.

Siemens’ products and solutions undergo continuous development to make them more secure. Siemens strongly recommends to apply product updates as soon as available and to always use the latest product versions. Use of product versions that are no longer supported, and failure to apply 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: http://www.siemens.com/industrialsecurity.

Page 12: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Safety Notes 2.2 Notes on usage

Getting Connected to MindSphere 12 Getting Started, 04/2020, V1801.Apr/2020.1

2.2 Notes on usage

NOTICE

Possible functional restrictions in case of non-validated plant operation.

The device is tested and certified on the basis of the technical standards. In rare cases, functional restrictions can occur during plant operation.

Validate the correct functioning of the plant to avoid functional restrictions.

Mindsphere provides a highly reliable system, however the MindConnect can be affected by system internal incidents.

Note

Use in an industrial environment without additional protective measures.

This device was designed for use in a normal industrial environment according to IEC 60721-3-3.

Note Firmware MiniWeb versions

The connection to a SIMOCODE, SIMOTION, SINAMICS OPC UA Server cannot reestablish automatic if the used Firmware has a MiniWeb version is less than V5.1. It's recommended to upgrade to a new Firmware version of the SIMOCODE, SIMOTION, SINAMICS device.

Page 13: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 13

Introduction 3 3.1 Getting Started

This manual gives you an overview of MindSphere with MindConnect Nano and MindConnect IoT2040, enabling you to commission these devices and start working with MindSphere.

Basic knowledge requirements ● General knowledge about personal computers is required.

● General knowledge in the field automation control engineering is recommended.

Scope of validity of this document This manual is valid for MindSphere and MindConnect Elements:

● MindConnect Nano

● MindConnect IoT2040

Convention The term “device” is used to refer to MindConnect Nano and MindConnect IoT2040. The terms for MindSphere can be found in Glossary in the Appendix of this documentation.

The configuration parameters should be extracted out of the text or tables and depend respectively on the needs and constellation of the individual system.

Internet address Click the following link to find MindSphere documentation: MindSphere Documentation Area (http://documentation.mindsphere.io)

3.2 Purpose of this document This Getting Started provides you with information to become familiar with commissioning the device MindConnect Nano or IoT2040 (MindConnect Elements) and working with MindSphere.

By using the examples given in this manual, you will be able to develop or change your service. You will know how to access and configure the data from your assets as well as create and answer requests.

Page 14: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Introduction 3.3 Functional overview of MindSphere

Getting Connected to MindSphere 14 Getting Started, 04/2020, V1801.Apr/2020.1

You will work through typical steps involved in configuring MindConnect Elements and your asset data. You will become familiar with the tools that MindSphere provides for configuration and visualization of assets and aspects.

3.3 Functional overview of MindSphere This part of Getting Started outlines the functional overview of MindSphere.

MindSphere offers the means to monitor asset status as well as support maintenance and services. This requires sensor data, the tools to collect and transfer data as well as intelligent software that offers the monitoring and support functions.

MindConnect Elements provide the hardware for collecting data from assets and transferring it into MindSphere, which includes hosting via a web user interface.

With MindSphere and MindConnect Elements you can:

● Create and manage users and customers

● Create, manage and change assets in MindSphere

● Onboard MindConnect Elements to MindSphere in order to collect data from your assets and transfer it to MindSphere

● Collect data from data sources (S7, OPC UA) via MindConnect Elements

● Visualize the uploaded data (timeseries)

● Display datapoints and open events of an asset

● Manage the connected assets and automate rules

Page 15: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Introduction 3.4 Working with MindSphere

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 15

3.4 Working with MindSphere This part of the Getting Started provides you with a brief summary of instructions described in detail in this manual.

Requirements ● Internet connection and newest version of your internet browser(e. g. Google chrome or

Firefox) for online user interface

● Internet connection for MindConnect Nano/IoT2040 device

● Provide standard HTTPS capabilities for MindConnect Nano/IoT2040 - outbound HTTPs connection(s) on port 443

● Link to the online Launchpad with user and password data as supplied by Siemens

● Device (PC, tablet etc.) with minimum screen resolution of 1024x768

Configuring steps

Prepare MindConnect Elements for MindSphere

1. Mount MindConnect Nano/IoT2040 on your physical asset.

2. Connect MindConnect Elements to power supply and the Internet.

Onboard MindConnect Elements

1. Log in to your MindSphere account.

2. Configure your asset and MindConnect Element which is mounted to your physical asset.

3. Configure network settings of MindConnect Elements and proxy as needed to establish Internet connection to MindSphere.

4. Upgrade to the newest firmware version.

5. Establish the initial connection (onboarding) by transferring the configuration manually by USB stick.

Configure data collection with Asset Manager

1. Log in to MindSphere with your account.

2. Create an asset in Asset Manager.

3. Configure the data points you want to use.

4. MindConnect Nano/IoT2040 receives the configuration from MindSphere via an existing Internet connection.

5. MindConnect Nano/IoT2040 starts the data acquisition.

6. The timeseries can be displayed in Fleet Manager.

Page 16: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Introduction 3.5 Data model in "Asset Manager"

Getting Connected to MindSphere 16 Getting Started, 04/2020, V1801.Apr/2020.1

Visual analysis of assets with Fleet Manager

1. Monitor assets in different views.

2. Monitor aspects and events.

3.5 Data model in "Asset Manager" This chapter describes the data model of Asset Manager within MindSphere. The data model will show you what processes are necessary to connect and use your asset data in MindSphere.

Definition asset An asset is a digital representation of a machine or an automation system with one or multiple automation units (e.g. PLC) connected to MindSphere.

MindSphere data collection and data provisioning is based on so called (virtual) assets. This can be anything like a pump, motor, PLC, an entire tool machine, a production line, a robot, a crane, a car, a wind turbine and so on. The data of an asset is collected and sent to MindSphere to make that data available for further processing and analytics.

Definition aspect Aspects are a data modeling mechanisms for assets. Aspects group related data points based on their logical association. For example: The pump skid has an aspect e.g. "Energy_consumption" that contains the data points: "power", "current", "voltage" etc. Aspect is specified in Asset Manager and its name can be freely chosen, but should have conjunction to datapoints and a physical asset. An aspect can consist of several variables.

Page 17: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Introduction 3.5 Data model in "Asset Manager"

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 17

Data model The following graphic shows the data model in Asset Manager:

In Asset Manager devices like MindConnect Nano are defined as the data source. The device sends data points to MindSphere. These data points must be connected to the aspects and variables. Asset Manager uses aspects and variables as data containers.

Within MindSphere you add data points to a data source to collect the data, for example from a control unit. In the next step you have to link the data points to the respective variables of an aspect.

To enable data connecting and in order to use your data in MindSphere you have to fulfill the following processes:

● Onboarding (Page 50): Onboarding is the process of attaching a MindConnect Element to MindSphere.

● Data mapping (Page 70): Data mapping matches variables of an aspect with the respective data points of a data source.

Page 18: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Getting Connected to MindSphere 18 Getting Started, 04/2020, V1801.Apr/2020.1

Overview of MindConnect Elements 4

MindConnect Elements, MindConnect Nano and MindConnect IoT2040, are embedded industrial PCs. They are able to connect to MindSphere, collect data from the field and transfer it encrypted to MindSphere.

MindConnect Nano MindConnect Nano is a preconfigured Industrial PC that allows connectivity to MindSphere. The device supports the transmission of data encrypted through a secured Internet connection to MindSphere. MindConnect Nano allows fast and easy IoT connectivity of machines and systems. For more information refer to chapter Technical specifications of MindConnect Nano (Page 119). The following graphic shows the MindConnect Nano:

Page 19: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Overview of MindConnect Elements

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 19

MindConnect IoT2040 MindConnect IoT2040 has a compact design and can also be used for collecting and transferring data to MindSphere in smaller production environments. The device supports the transmission of encrypted data over a secured Internet connection to enable cloud-based applications and services. For more information refer to chapter Technical specifications of MindConnect IoT2040 (Page 122). The following graphic shows the MindConnect IoT2040:

Page 20: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Getting Connected to MindSphere 20 Getting Started, 04/2020, V1801.Apr/2020.1

Mounting and installing MindConnect Elements 5 5.1 Checking package upon delivery

1. When accepting a delivery, please check the package for visible transport damage.

2. If any transport damage is present at the time of delivery, submit a complaint at the shipping company in charge. Have the shipper confirm the transport damage immediately.

3. Unpack the device at its installation location.

4. Keep the original packaging in case you have to transport the unit again.

Note

Damage to the device during transport and storage

If a device is transported or stored without packaging, shocks, vibrations, pressure and moisture may impact the unprotected unit. Damaged packaging indicates that ambient conditions may have already had a massive impact on the device.

The device may be damaged.

Do not dispose of the original packaging. Pack the device during transportation and storage.

5. Check the content of the packaging and any accessories you may have ordered for completeness and damage.

Page 21: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Mounting and installing MindConnect Elements 5.2 Mounting MindConnect Nano

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 21

6. If the content of the package is incomplete, damaged or does not match your order, inform the responsible delivery service immediately.

WARNING

Electric shock and fire hazard due to damaged device

A damaged device can be under hazardous voltage and trigger a fire in the machine or plant. A damaged device has unpredictable properties and states.

Death or serious injury could occur.

Make sure that the damaged device is not inadvertently installed and put into operation. Label the damaged device and keep it locked away. Return the device for immediate repair.

NOTICE

Damage from condensation

If the device is subjected to low temperatures or extreme fluctuations in temperature during transportation, for example in cold weather, moisture could build up on or inside the HMI device.

Moisture causes a short circuit in electrical circuits and damages the device. In order to prevent damage to the device, proceed as follows: • Store the device in a dry place. • Bring the device to room temperature before starting it up. • Do not expose the device to direct heat radiation from a heating device. • If condensation develops, wait approximately 12 hours or until the device is

completely dry before switching it on.

7. Please keep the enclosed documentation in a safe place. It belongs to the device. You will need the documentation when you commission the device for the first time.

8. Write down the identification data of the device.

5.2 Mounting MindConnect Nano

Note Security of MindConnect Elements

In order to ensure the security of your MindConnect Element, you should mount it in a restricted access location e. g. lockable cabinet.

This reduces the possibility of manipulations on the device/customer data.

Page 22: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Mounting and installing MindConnect Elements 5.2 Mounting MindConnect Nano

Getting Connected to MindSphere 22 Getting Started, 04/2020, V1801.Apr/2020.1

5.2.1 Permitted mounting positions and surrounding temperature The following mounting positions and surrounding conditional temperature are permitted:

● Horizontal mounting position: The horizontal mounting position is the preferred position. Maximum surrounding temperature is 60°C.

● Vertical mounting position: Maximum surrounding temperature is 50°C.

Note

> 50 °C: Install in RAL

RAL = Restricted Access Location - e.g. a lockable cabinet

Free space around the device Please make sure there’s enough empty space around the device

● Above the device: ≥ 50 mm

● Below the device: ≥ 100 mm

Note Maximum height

The maximum altitude to install MindConnect Nano is 4000 m.

Page 23: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Mounting and installing MindConnect Elements 5.3 Mounting MindConnect IoT2040

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 23

5.2.2 Connecting the protective earth

Figure 5-1 Connecting protective earth

5.3 Mounting MindConnect IoT2040

5.3.1 Permitted mounting positions and surrounding temperature The following mounting positions and surrounding conditional temperature are permitted:

● Horizontal mounting position: The horizontal mounting position is the preferred position. Maximum surrounding temperature is 50°C.

● Vertical mounting position: Maximum surrounding temperature is 50°C.

Note > 50 °C: Install in RAL

RAL = Restricted Access Location - e.g. a lockable cabinet

Page 24: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Mounting and installing MindConnect Elements 5.3 Mounting MindConnect IoT2040

Getting Connected to MindSphere 24 Getting Started, 04/2020, V1801.Apr/2020.1

Free space around the device Please make sure there’s enough space around the device

● Above the device: ≥ 50 mm

● Below the device: ≥ 50 mm

5.3.2 Mounting types

Note

Ensure that the mounting surface on the wall can bear four times the total weight of the device, including attached elements.

Use only the anchors and screws specified in the operating instructions.

The following mounting types of the device are possible:

Mounting on rails

Figure 5-2 Mounting on rails

Page 25: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Mounting and installing MindConnect Elements 5.4 LED lights of MindConnect Elements

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 25

Wall mounting

Figure 5-3 Wall mounting

5.4 LED lights of MindConnect Elements

5.4.1 LED lights of MindConnect Nano

LED lights The LED lights status provide information on efficient self-diagnostics. The following graphics show the LED lights of the MindConnect Nano:

Figure 5-4 LED lights - bottom view 1

Page 26: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Mounting and installing MindConnect Elements 5.4 LED lights of MindConnect Elements

Getting Connected to MindSphere 26 Getting Started, 04/2020, V1801.Apr/2020.1

Figure 5-5 LED lights - bottom view 2

The following table shows the meanings of the LED lights: LED-Name Status Description PC ON/WD GREEN Power on

ORANGE System restart L1-RUN/STOP ORANGE • No connection to proxy·

• No connection to MindSphere For explanation of possible problems and respective solution, please refer to the chapter “Troubleshooting”.

Blinking ORANGE Connection to MindSphere is being established. Blinking GREEN Onboarding is in progress. GREEN MindConnect Nano is onboarded to MindSphere.

L2 - ERROR

Blinking ORANGE Firmware update active. ORANGE • No connection to the data sources

For explanation of possible problems and respective solution, please refer to the chapter “Troubleshooting”.

Blinking RED • Data loss For explanation of possible problems and respective solution, please refer to the chapter “Troubleshooting”.

RED Firmware update error L3 - MAINT Blinking ORANGE USB stick is active:

• Installing USB configuration

ORANGE Onboarding failed: • Configuration file on the USB stick is not valid

Blinking RED • USB stick Error For explanation of possible problems and respective solution, please refer to the chapter “Troubleshooting”.

You can find more information about LED error codes in section Troubleshooting (Page 29).

5.4.2 LED lights of MindConnect IoT2040

LED lights The LED lights provide information on the status of the device for efficient self-diagnostics.

Page 27: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Mounting and installing MindConnect Elements 5.4 LED lights of MindConnect Elements

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 27

MindConnect IoT2040 features the following LED lights: LED-Name Status Description PWR GREEN Power on SD GREEN Micro SD card active USB GREEN USB Power (5V) is available OC RED Overcurrent USER GREEN/RED/ORANGE Programmed for MindSphere, see details below

The USER LED light is only programmed for MindSphere.

Figure 5-6 USER LED light

The following table describes the device behavior associated when a different USER LED status is displayed

Name Status Description USER LED Fast

ORANGE Blinking

USB STICK ACTIVE • Network diagnostics are running • Configuration file is being read

USER LED RED Blink-ing

USB STICK ERROR • Read error, USB flash drive is damaged • Configuration file is invalid (damaged, illegible or configured for a different asset) • Write error, USB flash drive is write-protected or its memory is full. For explanation of possible problems and respective solution, please refer to the chapter “Troubleshooting”.

ORANGE Blinking

FIRMWARE UPDATE ACTIVE

RED FIRMWARE UPDATE ERROR For explanation of possible problems and respective solution, please refer to the chapter “Troubleshooting”

ORANGE NO CONNECTION TO PROXY • Network cable is missing or damaged • Ethernet port on MindConnect IoT2040 is damaged • “ipconfig” of MindConnect IoT2040 is incorrect • Firewall of MindConnect IoT2040 blocks • Your company’s router is damaged • Proxy is offline • No authentication on Proxy • Proxy configuration is invalid

Page 28: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Mounting and installing MindConnect Elements 5.4 LED lights of MindConnect Elements

Getting Connected to MindSphere 28 Getting Started, 04/2020, V1801.Apr/2020.1

Name Status Description ORANGE NO CONNECTION TO CLOUD

• Proxy is invalid • Server is offline • An addressed server cannot be accessed • Network problems of a provider • No authorization

ORANGE Blinking

CONNECTION TO CLOUD ESTABLISHED LED light flashes green for a short time to indicate the onboarding process - otherwise is or-ange

GREEN Blinking

ONBOARDING IN PROGRESS

USER LED ORANGE Flashing

ONBOARDING FAILED LED flashes red for a short time to indicate onboarding is falling Possible reason: • Server error • OBT is no longer valid For explanation of possible problems and respective solution, please refer to the chapter “Troubleshooting”.

GREEN ONBOARDED ORANGE NO CONNECTION TO DATA SOURCE

• Problem with network connection of your machine • Network cable is not plugged in or is damaged • Machine is offline

RED Blink-ing

MindConnect IoT2040 IS LOSING DATA • MindConnect IoT2040 is offline and the data buffer is full • Slow data transfer For explanation of possible problems and respective solution, please refer to the chapter “Troubleshooting”.

You can find more information about LED error codes in section Troubleshooting (Page 29).

Page 29: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Mounting and installing MindConnect Elements 5.4 LED lights of MindConnect Elements

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 29

5.4.3 Troubleshooting Error Problem Possible cause Possible remedy MCN L1-RUN/STOP IoT2040 USER LED ORANGE

MindConnect Element can-not onboard to MindSphere

Network connection problem: • Either IP address is not

valid or configured IP ad-dress already exists in the network of MindCon-nect Nano

• Either disabled or invalid configured Proxy

• Proxy is offline • Interrupted connection • IP address is configured

via DHCP, but there is no internet connection.

• Firewall blocks MindCon-nect Elements

• Your company’s router is damaged

• Check your configuration connection: If configured IP and Proxy are valid

• Check physical connec-tion: your company’s router, Ethernet cables etc.

No Internet connection

MCN L2 - ERROR LED IoT2040 USER LED ORANGE

Although an asset is onboarded, no time series are uploaded to Fleet Man-ager and Visual Analyzer.

No connection to data source

Check the connection be-tween MindConnect Nano and data sources (Plant Network ports and cables - S7/OPC UA Server)

The address of the data point configuration can be incorrect

• Check the connection between MindConnect Nano and data sources (Plant Network ports and cables - S7/OPC UA server)

• Check data sources configuration.

• Check configuration of each data point.

MindConnect Nano/IoT2040 cannot onboard to Mind-Sphere

• Incorrect asset configura-tion

• Not accomplished asset configuration (Network Connection)

Check configuration of your asset (Network Configura-tion).

Invalid ID of MindConnect Nano

Check if MindConnect Nano ID is correct.

Page 30: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Mounting and installing MindConnect Elements 5.4 LED lights of MindConnect Elements

Getting Connected to MindSphere 30 Getting Started, 04/2020, V1801.Apr/2020.1

Error Problem Possible cause Possible remedy MCN L2- ERROR LED blinking RED IoT2040 USER LED blinking RED

Data loss MindConnect Nano/IoT2040 was too long offline, so it could not send data to Mind-Sphere and the storage is full.

• Check outbound connec-tion

• Check Ethernet cables • Check Proxy (IP address,

User Authentication can be required)

MCN L2- ERROR LED RED IoT2040 USER LED

Firmware update error • Technical problems with a new version of firmware

• Incorrect firmware type • Certificate problems,

Authentication problems etc.

• Make sure that you are using the correct firm-ware type (MindConnect Nano/IoT2040).

• MindConnect Nano/IoT2040 will auto-matically restart and then firmware update will be carried out after a while.

• If MindConnect Nano/IoT2040 does not restart automatically, then restart it manually: by switching on and off the “power button” on MindConnect Nano and by switching off/on the power supply for Mind-Connect IoT2040.

Page 31: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Mounting and installing MindConnect Elements 5.4 LED lights of MindConnect Elements

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 31

Error Problem Possible cause Possible remedy MCN L3- MAINT LED ORANGE IoT2040 USER LED blinking

Onboarding failed • Configuration file on the USB stick is invalid

• Internal error

• Make sure that the data on the USB stick still is valid. (The data, which you exported to the USB stick, is still valid only for 7 days.). If it is expired, use the asset configura-tion to export a new valid configuration to your USB stick.

• Check asset configura-tion and reconfigure, if it is required and export a new configuration to USB stick

MCN L3-MAINT LED blinking RED IoT2040 USER LED blinking

Problems with USB stick • Incorrect formatting of USB stick (no FAT or FAT32)

• USB stick is damaged • Write error, USB stick is

write-protected or its memory is full.

• Configuration file is inva-lid (damaged, illegible)

• See also below

• Check format and parti-tion of the USB stick. It must be FAT or FAT32 formatted and may only contain a single partition.

• Try a new USB stick

Page 32: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Mounting and installing MindConnect Elements 5.5 USB commands

Getting Connected to MindSphere 32 Getting Started, 04/2020, V1801.Apr/2020.1

Error Problem Possible cause Possible remedy Although no LED lights are shown (except PC ON/WD with constant GREEN) and internet connection is OK, MindConnect Nano still can-not be onboarded to Mind-Sphere

Problems with USB stick: • Configuration file in USB

stick cannot be read or accepted by MindCon-nect Nano:

• Problems with configura-tion file

• Configuration file is lo-cated in an incorrect di-rectory.

• Expired configuration file on the USB stick

• The configuration file is invalid or not copied to the USB stick

• Remove and plug an USB stick into MindCon-nect Nano

• Check the diagnosis file on the USB stick.

• Check the name of the configuration file. It must have MindConnect Nano ID. Do not change the name of the downloaded file.

• Check whether the direc-tory is valid. (Configura-tion file must be in the root directory of the USB stick.)

• Make sure that the data on the USB stick is still valid. (The data, which you exported to the USB stick, is still valid only for 7 days.) If it is expired, use the asset configura-tion to export a new valid configuration to your USB stick.

System Error Unknown • Switch MindConnect Nano off and on again.

• If the problem persists, contact your Siemens Support/„Expert Center“.

5.5 USB commands You can run diagnostic and maintenance USB commands on your MindConnect Element.

The following lists various USB commands and the respective JSON format:

Copy agent logs to USB stick You can create agent runtime log files and provide them by using the USB stick.

The following command will collect all log files, put them into a .tar.gz file and copy this file to the USB stick.

JSON format:

{

Page 33: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Mounting and installing MindConnect Elements 5.5 USB commands

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 33

"Commands": [

{

"Cmd":"CopyAgentLogsToUsbStick"

}

]

}

Copy archived logs to USB stick You can retrieve archived log files from MindConnect Nano/IoT2040 by using the USB stick. The following command will copy all archived log files to a sub directory on the USB stick and delete the copied log files from the archive folder optionally. The USB stick should be larger than 200 MB. Sub directories on the USB stick will have following structure: ConBox_<BOX ID>/<CurrentTime>Sample:ConBox_J47110815/20180318T191647

JSON format:

{

"Commands": [

{

"Cmd":"CopyArchivedLogsToUsbStick",

"DeleteAfterCopy":"false"

}

]

}

Copy system files to USB stick For analysis purpose you can copy system files to a USB stick by providing a ConBox_Commands.json file on the USB stick that contains the CopySystemFilesToUsbStick command.

The following command will collect the requested system files and provide them as a ConBox_<deviceID>_SystemFiles.tar.gz file on the USB stick.

JSON format:

{

"Commands": [

{

"Cmd": "CopySystemFilesToUsbStick",

"TypeOfFiles": "LinuxSystemFiles"

}

]

Page 34: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Mounting and installing MindConnect Elements 5.5 USB commands

Getting Connected to MindSphere 34 Getting Started, 04/2020, V1801.Apr/2020.1

}

System files:

Depending on the value of TypeOfFiles the .tar.gz file will contain different system files. TypeofFiles Collected system files LinuxSystemFiles /persistent/config/hosts

/persistent/config/interfaces /persistent_massdata/sysmsg.log /persistent_massdata/sysmsg.log.0 /tmp/resolv.conf /tmp/sysinfos.info /var/log/boot /var/log/dmesg /var/log/fsck.log

AgentSystemFiles /persistent_appconfig/dns.static /persistent_appconfig/loggingconfig.ini

AllSystemFiles All Linux and Agent system files listed above.

Change system time For the case that the system time should have been changed so that agent runtime is no longer able to connect to MindSphere, you can retrieve the backend time to correct the system time. The following command provides the possibility to change the system time manually via ConBox_Commands.json file on the USB stick.

JSON format:

{

"Commands": [

{

"Cmd": "SetSystemTime",

"NewTime": "2017-09-19T12:34:56"

}

]

}

Perform factory reset For factory reset a ConBox_Commands.json file can be provided by using the USB stick.

The network settings will be reset to their initial state on MindConnect Nano/IoT2040. All temporary files will be then deleted. At the end the MindConnect device will be restarted automatically.

The factory reset command is available on MindConnect Nano/IoT2040 version 03.01.00.00 b00x or later.

Page 35: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Mounting and installing MindConnect Elements 5.5 USB commands

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 35

JSON format:

{

"Commands": [

{

"Cmd": "DoFactoryReset",

"DeviceID": "_MindConnect_ID_"

}

]

}

You can find more information on how to set a MindConnect Element to factory settings in chapter Manual firmware update of MindConnect Element (Page 106)

Restricted device configuration The RestrictDeviceConfiguration command allows you to enable or disable online device configuration changes via MindSphere user interface after the MindConnect device has been successfully onboarded.

If you need to adapt the configuration, you have to create a new onboarding file with new e. g. network parameter and insert this data again via USB.

Note

Make sure that all parameters are valid before exporting the configuration file to prevent unwanted changes that can lead to invalid network settings, for example.

Note Effects on online device configuration

There is no indication in the MindSphere asset configuration user interface that the device configuration has been restricted on MindConnect Nano/IoT2040 device.

If you try to change restricted device settings online, a message is logged in the diagnostic file on the MindConnect Nano / IoT2040 device that this setting could not be applied.

JSON format:

{

"Commands": [

{ "Cmd":"RestrictDeviceConfiguration",

"networkInterfaces": [

{

"name": "WebInterface",

Page 36: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Mounting and installing MindConnect Elements 5.5 USB commands

Getting Connected to MindSphere 36 Getting Started, 04/2020, V1801.Apr/2020.1

"DHCP": "true",

"IPv4": "true",

"SubnetMask": "true",

"Gateway": "true",

"DNS": "true"

},

{

"name": "ProductionInterface",

"DHCP": "true",

"IPv4": "true",

"SubnetMask": "true",

"Gateway": "true",

"DNS": "true"

}

]

}

]

}

To prevent changes of network interface settings, the following parameters can be specified in the JSON command:

Parameter Description name Name of the network interface.

Possible values: • WebInterface • ProductionInterface

DHCP • true: DHCP setting can not be changed • false: DHCP setting can be changed (default)

IPv4 • true: IP address can not be changed • false: IP address can be changed (default)

SubnetMask • true: Subnet mask can not be changed • false: Subnet mask can be changed (default)

Gateway • true: Gateway address can not be changed • false: Gateway address can be changed (default)

DNS • true: DNS address can not be changed • false: DNS address can be changed (default)

Page 37: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Mounting and installing MindConnect Elements 5.5 USB commands

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 37

Note • If you only provide some of the above mentioned parameters, then the omitted

parameters will be ignored. This means that either the last restricted device configuration of these parameters will be used, or they will be treated as not set.

• To enable device configuration changes of specific parameters again, a JSON command containing those parameters with value "false" can be provided via USB stick.

• To turn it off a new JSON command file needs to be provided with "false" for all parameters.

Page 38: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Getting Connected to MindSphere 38 Getting Started, 04/2020, V1801.Apr/2020.1

Connecting MindConnect Elements 6

This chapter shows you how to connect MindConnect Elements to the power supply and to the Internet (for MindSphere).

6.1 Commissioning MindConnect Element

Objective The MindConnect Elements should be connected to the power supply and commissioned.

Requirements ● The protective conductor is connected (valid only for MindConnect Nano). Refer to the

chapter Connecting the protective earth (Page 23).

● A two-core cable with a cable cross-section of 0.75 mm² to 2.5 mm².

● A slotted screwdriver with a 3 mm blade.

NOTICE

Power supply requirements

MindConnect Nano should only be connected to a 24 V DC to power supply which satisfies the requirements of safety extra low voltage (SELV) according to IEC/EN/DIN EN/UL 60950-1.

MindConnect IoT2040 should only be connected to a 9...36 V DC power supply which meets the requirements of safe extra low voltage (SELV) according to IEC/EN/DIN EN/UL 60950-1.

The power supply must meet the NEC class 2 or LPS requirement in accordance with IEC/EN/DIN EN/UL 60950-1.

Note

The MindConnect Nano/IoT2040 package does not include power supply. The appropriate power supply product from Siemens with the name SITOP can be used.

Page 39: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Connecting MindConnect Elements 6.1 Commissioning MindConnect Element

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 39

Procedure

CAUTION

Danger of burns

The surface of the device can reach temperatures of over 70 °C. Any unprotected contact may cause burns.

Avoid direct contact during operation of the device. Touch the device only with appropriate protective gloves.

1. Switch off the power supply on the device.

2. Connect the cores of the power supply.

Page 40: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Connecting MindConnect Elements 6.1 Commissioning MindConnect Element

Getting Connected to MindSphere 40 Getting Started, 04/2020, V1801.Apr/2020.1

3. Insert the terminal at the indicated position.

– The graphic shows how to connect the power supply for MindConnect Nano:

Figure 6-1 Connecting the power supply for MindConnect Nano

– The graphic demonstrates the steps how to connect the power supply for MindConnect IoT2040:

Page 41: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Connecting MindConnect Elements 6.1 Commissioning MindConnect Element

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 41

Figure 6-2 Connecting the power supply for MindConnect IoT2040

4. Power on the power supply.

– For MindConnect Nano, set the on/off switch to position "I" (ON). The "PC ON/WD" LED lights up green.

– For MindConnect IoT2040, switch on the power supply. The graphic shows the “PWR” LED lights up green.

Page 42: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Connecting MindConnect Elements 6.2 Firewall/Proxy rules for MindSphere

Getting Connected to MindSphere 42 Getting Started, 04/2020, V1801.Apr/2020.1

Figure 6-3 Power on a power supply for MindConnect IoT2040

Result MindConnect Nano/IoT2040 is now prepared and you can onboard it to MindSphere.

If the green light does not appear, refer to section Troubleshooting (Page 29) for more information about LED messages.

6.2 Firewall/Proxy rules for MindSphere MindConnect Element require open HTTPS and DNS ports for communication with MindSphere. You can open port 443 to enable this.

MindConnect Element will connect to the following DNS names:

<region>.mindsphere.io

For <region> enter the area that was defined in your contract, e. g. eu1.

Mindsphere uses modern cloud principles (such as content delivery networks) to achieve high availability/scalability. The above mentioned DNS names can be resolved to a large range of IP addresses based on the context of the caller and the state of the backend.

Page 43: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Connecting MindConnect Elements 6.3 Connecting MindConnect Nano to MindSphere network

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 43

Port exceptions For region eu2, please add the following port exception to enable the online firmware download:

● https://mdspedgeprodstorageact.blob.core.windows.net

6.3 Connecting MindConnect Nano to MindSphere network The following options are available for integrating the device in existing or planned system environments and networks.

① X63 port ② PN/IE LAN X1 P1 port ③ PN/IE LAN X2 P1 port

Figure 6-4 Connections of MindConnect Nano

Note

The two network adapters are separated from each other. There is no direct connection between the two networks possible to ensure network security. Therefore, you can not create any configuration from the cloud to the field level (e.g. OPC UA server).

The following table explains each connection port in detail: Port Description X63 USB 2.0 port, high current. Configuration file on USB stick.

Required during onboarding process. PN/IE LAN X1 P1 RJ45 Ethernet connection 1 for 10/100/1000 Mbps. Access to the Internet (to MindSphere).

Required to start onboarding process. PN/IE LAN X2 P1 RJ45 Ethernet connection 2 for 10/100/1000 Mbps. Access to the plant network or asset (e.g. S7,

OPC UA). Required to complete onboarding process.

Page 44: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Connecting MindConnect Elements 6.3 Connecting MindConnect Nano to MindSphere network

Getting Connected to MindSphere 44 Getting Started, 04/2020, V1801.Apr/2020.1

Prerequisite For 250 datapoints read per second, the upload bandwidth should be at least 0.5 Mb/s.

Procedure Before you start onboarding, connect MindConnect Nano to MindSphere, as follows:

Insert Ethernet cable into the port labeled with X1 P1 to connect MindConnect Nano to MindSphere.

Note MindConnect Nano MAC address

The type plate on of the MindConnect Nano shows 2 MAC addresses. The first MAC address belongs to port X1 P1.

Figure 6-5 Connecting the port X1 P1 for Internet (MindSphere)

Page 45: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Connecting MindConnect Elements 6.4 Connecting MindConnect IoT2040 to MindSphere network

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 45

6.4 Connecting MindConnect IoT2040 to MindSphere network The following options are available for integrating the device in existing or planned system environments and networks.

① X60 port ② PN/IE LAN X1 P1 port ③ PN/IE LAN X2 P1 port

Figure 6-6 Interfaces of MindConnect IoT2040

The following table explains each connection port in detail: Port Description X60 USB 2.0 port, high current. Configuration file on USB stick.

Required during onboarding process. PN/IE LAN X1 P1 RJ45 Ethernet connection 1 for 10/100/1000 Mbps. Access to the Internet (to MindSphere).

Required to start onboarding process PN/IE LAN X2 P1 RJ45 Ethernet connection 2 for 10/100/1000 Mbps. Access to the plant network (e.g. S7, OPC

UA). Required to complete onboarding process.

Procedure Before you start onboarding, connect MindConnect IoT2040 to MindSphere, as follows:

Insert Ethernet cable for Internet into the port labeled with X1 P1.

Page 46: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Connecting MindConnect Elements 6.5 Connecting Port X2 P1 for MindConnect Element

Getting Connected to MindSphere 46 Getting Started, 04/2020, V1801.Apr/2020.1

Figure 6-7 Connecting the port X1P1 for internet (MindSphere)

Note

During the onboarding process, only one USB stick is supported. Do not plug in more than one USB stick. The recommended USB port is the USB port with label X60.

6.5 Connecting Port X2 P1 for MindConnect Element

Objective The MindConnect Element can now be connected to the plant network or asset.

Requirements ● An asset has been created in Asset Manager.

● The configuration has been transferred via USB stick to the MindConnect Element.

Page 47: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Connecting MindConnect Elements 6.6 MindConnect network plan

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 47

Procedure To connect the MindConnect Element to your plant network or asset, insert the Ethernet cable into the port labeled with X2 P1.

The following graphic shows the connecting port of the MindConnect Nano:

Figure 6-8 Connecting Ethernet Port X2 P1 MindConnect Nano

The following graphic shows the connecting port of the MindConnect IoT2040:

Figure 6-9 Connecting Ethernet Port X2 P1 MindConnect IoT2040

6.6 MindConnect network plan You can set up the network plan for your MindConnect Elements in two ways. The following scenarios show them with IP address examples:

Note

In both scenarios it is important that you set X1 and X2 in different (and not overlapping) subnets.

Page 48: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Connecting MindConnect Elements 6.6 MindConnect network plan

Getting Connected to MindSphere 48 Getting Started, 04/2020, V1801.Apr/2020.1

Scenario A The following scenario shows a setup example where each network-port of the MindConnect is connected to another switch or router.

The following table shows possible setups:

Port Exemplary configuration X1 • IP address: 192.168.1.10

• Mask: 255.255.255.0

X2 • IP address: 192.168.3.110 • Mask: 255.255.255.0

Data source • IP address: 192.168.3.120 • Mask: 255.255.255.0

Note • Make sure that X1 is in another and not overlapping subnet then X2. • If you have a DHCP master in both network, you can use DHCP in both. In this case,

make sure that the DHCP masters are set up so that X1 and X2 are in another subnet.

Page 49: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Connecting MindConnect Elements 6.6 MindConnect network plan

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 49

Scenario B This following scenario shows a setup example where both network-ports of the MindConnect, are connected to the same switch or router.

The following table shows possible configuration setups:

Port Exemplary configuration X1 • IP address: 192.168.1.10

• Mask: 255.255.255.0

X2 • IP address: 192.168.3.110 • Mask: 255.255.255.0

Data source • IP address: 192.168.3.120 • Mask: 255.255.255.0

Note • Make sure that X1 is in another and not overlapping subnet then X2. • You can only use DHCP for one port or subnet. The other has to be set up as static IP

address. In this case, make sure that the DHCP master is set up so that X1 and X2 are in another subnet.

Page 50: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Getting Connected to MindSphere 50 Getting Started, 04/2020, V1801.Apr/2020.1

Onboarding MindConnect Elements 7 7.1 Overview of onboarding MindConnect Element

This chapter describes the initial configuration of an asset and MindConnect Nano/IoT2040 in order to onboard MindConnect Nano/IoT2040 to MindSphere. Onboarding is the process of attaching a MindConnect Element to MindSphere.

To establish the initial connection between MindConnect Nano/IoT2040 and MindSphere (onboarding), you have to configure the essential asset and MindConnect Nano/IoT2040 data. For onboarding the full configuration is not required, although you can accomplish all steps using Asset Manager.

The respective data to be configured for onboarding is described in the following procedure.

Requirements ● MindConnect Nano/IoT2040 is connected to the Internet and powered on.

● The connection cable for the Internet is correctly plugged into the Ethernet port for the Internet (MindSphere).

● MindConnect Nano/IoT2040 is connected to asset or plant network.

● You have received the link to the MindSphere UI with credentials (user and password data).

● A customer account is created.

● A standard USB device with a single partition in FAT or FAT32 is formatted.

● You have the role "mdsp:core:TenantAdmin". The user roles are set in Settings.

Note Prepare MindConnect Elements

To prepare your MindConnect Element for MindSphere V3, you have to update the firmware for boxes that were already connected to MindSphere V2 (SAP). For devices connecting to MindSphere region China 1, the MindConnect Nano or IoT2040 firmware should be V3.3.0.4 or higher.

You can find more information in chapter Manual firmware update of MindConnect Element (Page 106).

Onboarding Procedure In order to onboard MindConnect Nano/IoT2040, you must perform the following steps:

1. Login to MindSphere. (Page 51)

2. Create an asset in Asset Manager. (Page 51)

Page 51: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Onboarding MindConnect Elements 7.2 Logging in to MindSphere

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 51

3. Enable connection to MindConnect Element in Asset Manager. (Page 53)

4. Configuring network settings (Page 55)

5. Transfer configuration to MindConnect Element (Page 57).

7.2 Logging in to MindSphere To log in to MindSphere, proceed as follows:

1. Click the link provided via mail by the Siemens AG.

– The MindSphere landing page for login will appear.

2. Log in to MindSphere using the configured Authentication Provider (WebKey by default).

– You will be redirected to your personal MindSphere Launchpad.

– Depending on your offering the Launchpad Icons will be displayed.

Note

MindSphere supports English, German and Chinese languages. Therefore it is recommended to set the browser default to English, if you use a different language.

7.3 Creating an asset To connect your MindConnect Element in Asset Manager you need to create an asset.

Page 52: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Onboarding MindConnect Elements 7.3 Creating an asset

Getting Connected to MindSphere 52 Getting Started, 04/2020, V1801.Apr/2020.1

Procedure To create an asset proceed as follows:

1. Select Asset Manager from the Launchpad.

2. Click "Assets" in the navigation area.

3. To create a new asset click .

The asset type overview window is opened.

4. Select the respective asset type for your MindConnect Element, e. g. MindConnect Nano.

5. Enter a name and the data for the asset, e. g. "Wind turbine"

6. Confirm the entries with "Save".

Result The new asset is available at the asset list.

The following graphic shows the created asset:

Page 53: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Onboarding MindConnect Elements 7.4 Enable connection to MindConnect Element

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 53

7.4 Enable connection to MindConnect Element To use a MindConnect Element with MindSphere you have to enable the connection. Within enabling the connection you can assign a MindConnect Element to an asset.

Page 54: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Onboarding MindConnect Elements 7.4 Enable connection to MindConnect Element

Getting Connected to MindSphere 54 Getting Started, 04/2020, V1801.Apr/2020.1

Procedure To enable the connection to the MindConnect Element proceed as follows:

1. Select the asset in the "Asset" tab.

2. In the "Connectivity" area click on the MindConnect Element plugin icon, e. g. "MindConnect Nano".

The "Create MindConnect" screen appears.

3. Enter the unique ID from your hardware.

Result You have enabled the connection to the MindConnect Element.

Page 55: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Onboarding MindConnect Elements 7.5 Configuring network settings

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 55

7.5 Configuring network settings Network configuration of MindConnect Nano/IoT2040 requires information on the ethernet interfaces for data acquisition (ethernet labeled with X2P1) and MindSphere (ethernet labeled with X1P1). If your company uses a proxy server, it must also be configured to connect MindConnect Nano/IoT2040 to MindSphere. Contact your IT administrator for details on your local network settings.

After enabling the connection to the MindConnect Element you can edit the network configuration. You can enter either a static IP address or use DHCP. The last option is possible, if there is a DHCP server available in your company network.

Procedure To configure the network setting, follow these steps:

1. Select the asset in the "Asset" tab.

2. Click on the asset icon, e. g. "MindConnect Nano".

Page 56: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Onboarding MindConnect Elements 7.5 Configuring network settings

Getting Connected to MindSphere 56 Getting Started, 04/2020, V1801.Apr/2020.1

3. Click next to "Status" on the button .

The following graphic shows the "Edit MindConnect" screen:

Page 57: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Onboarding MindConnect Elements 7.6 Transferring configuration to MindConnect Element

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 57

4. Activate DHCP if a DHCP server is available in your company network or enter the respective information for static IP address. The following graphic shows the IP address input fields:

5. Enter the proxy data area "Communication Settings" if necessary and click "Save".

– In this case, contact your network administrator to get the proxy data. For Proxy IP address input field, it is also possible to define the port number e.g. 127.0.0.1:8080.

– For proxy authentication type NTLM: The domain and the username have to be provided as "username@domain" or as "domain/username".

Note

If nothing else is configured manually, MindConnect Nano/IoT2040 will try to obtain IP addresses for both adapters via DHCP.

6. Click on "Save", to complete the configuration.

7.6 Transferring configuration to MindConnect Element

Requirement ● A standard USB device with a single partition in FAT or FAT32 is formatted.

● You have enabled the connection to the MindConnect Element.

● You have configured the network settings.

Page 58: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Onboarding MindConnect Elements 7.6 Transferring configuration to MindConnect Element

Getting Connected to MindSphere 58 Getting Started, 04/2020, V1801.Apr/2020.1

Procedure

WARNING

USB stick information

The configuration created in this step includes security relevant information. You can encrypt and sign the information. Take care of the USB stick and the information flow from MindSphere to USB stick and from USB stick to the MindConnect Element. Delete the USB stick after use.

Page 59: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Onboarding MindConnect Elements 7.6 Transferring configuration to MindConnect Element

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 59

To export the configuration, follow these steps:

1. In the MindConnect settings click .

The following graphic shows the "Edit MindConnect" screen:

2. In order to encrypt the onboarding key data, activate the "Encrypted" checkbox.

3. Click on "Download Onboarding Key".

4. Save the downloaded file to the root directory of your USB stick.

Page 60: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Onboarding MindConnect Elements 7.6 Transferring configuration to MindConnect Element

Getting Connected to MindSphere 60 Getting Started, 04/2020, V1801.Apr/2020.1

5. Insert the USB stick into the USB port of the MindConnect Element, e. g. "MindConnect Nano"

Note

During the import of the configuration, the following LED-states are to be expected: 1. MAINT LED flashes orange 2. RUN LED blinks green 3. On-boarding result

– RUN LED green: MindConnect onboarded successfully – MAINT LED orange: onboarding failed

The process can take up to 30 minutes. Please do not remove the USB stick during this time.

6. After successfully importing the configuration, remove the USB stick from the MindConnect Element.

7. Check the status of the MindConnect Element at the Overview.

Result The connection status in Asset Manager at the overview has changed to "Onboarded". The configuration of the asset has been transferred to the MindConnect Element. The connection between the MindConnect Element and MindSphere is established.

Once MindConnect Nano/IoT2040 is onboarded, the connection to your asset is permanent and your asset for data collection can be configured. This requires configuration of machine data to be monitored. Any additional configuration (except network configuration) of the connected asset will automatically be synchronized with your onboarded MindConnect Nano/IoT2040.

The connection to the asset is permanent and can only be cancelled by offboarding. For this purpose, refer to the Asset Manager documentation.

Page 61: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 61

Configuring data in Asset Manager 8

After onboarding a MindConnect Element, you need to configure the data in Asset Manager. You have to set up a data connection to receive data from your MindConnect Element.

In order to use the data from your MindConnect Element in MindSphere you need to map the received data to the Asset Manager data model:

Asset Manager uses the following areas:

● Assets

● Types

● Aspects

Page 62: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring data in Asset Manager 8.1 Creating an aspect and variables

Getting Connected to MindSphere 62 Getting Started, 04/2020, V1801.Apr/2020.1

In order to configure data in Asset Manager you need to fulfill the following steps:

● Creating an aspect and variables (Page 62)

In this step you create aspects and variables you want to use in MindSphere.

● Creating a type in Asset Manager (Page 64)

In this step you create an asset type to enable data mapping.

● Adding a data source (Page 66)

The data source defines the reading of the data from the MindConnect Element.

● Mapping an aspect to a data source (Page 70)

In this final step you map the data of the MindConnect Element to the aspects and variables in MindSphere.

8.1 Creating an aspect and variables To use the data of your MindConnect Element in MindSphere you need to create aspects and variables in Asset Manager.

Aspects are combined, pre-configured data and form the context for the evaluation of industrial processes. An aspect can consist of several variables. Within the industry process, assets transfer the aspects as time series data in MindSphere.

In Asset Manager you can create aspect types. Aspect types are pre-configured templates for aspects. The advantage of aspects types is to use one type for several assets. For example, you can create one aspect type for all generators of a wind farm with the variable rotation speed.

Procedure To add an aspect type in Asset Manager, e. g. "Generator", follow these steps:

1. On the start screen click "Aspects".

2. To create a new aspect click .

3. Enter your Tenant ID for the aspect, e. g. "idevdoc.generator".

Note

All custom aspects and types must be named as "<TenantID>.xxx"

4. Enter a name and description for the aspect e. g. "Generator".

Page 63: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring data in Asset Manager 8.1 Creating an aspect and variables

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 63

5. Follow these steps for each variable, e. g. "RotationSpeed":

– Enter variable data.

Note

• The units and data types specified here will need to match exactly(also case sensitive) with the physical data source.

Figure 8-1 Variable data

– Click "Add variable".

6. Confirm with "Save".

Page 64: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring data in Asset Manager 8.2 Creating a type in Asset Manager

Getting Connected to MindSphere 64 Getting Started, 04/2020, V1801.Apr/2020.1

Result The new aspect type with its variables is available in the aspect list.

8.2 Creating a type in Asset Manager To enable data mapping you first have to create an asset type. An asset type is a pre-configured template for an asset. The asset type predefines which aspects are integrated into the template. You have to link aspects to an asset type to enable the connection to a data point.

Requirement ● You have created an aspect.

Page 65: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring data in Asset Manager 8.2 Creating a type in Asset Manager

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 65

Procedure To create an asset type proceed as follows:

1. Click on the "Types" tab in Asset Manager.

2. Click on "BasicDevice".

3. To create a new asset type click .

4. Enter ID and name for asset type, e. g. "Wind turbine".

Note

The ID must be named as "TenantID.xxx".

5. Select an aspect type from the dropdown menu, e. g. "Generator". You can find additional

information on aspects in the chapter Creating an aspect and variables (Page 62)

6. Enter an aspect name and click "Add".

7. To save the asset type click "Save".

Page 66: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring data in Asset Manager 8.3 Adding a data source and data points

Getting Connected to MindSphere 66 Getting Started, 04/2020, V1801.Apr/2020.1

Result You created a new asset type. The new asset type is now available in the presets. The following graphic shows the new available asset type "Wind turbine" in assets.

8.3 Adding a data source and data points

8.3.1 Adding a data source To receive the data of your MindConnect Element you need to add a data source. The data source specifies the protocol and reading cycle that is used to transfer the data from your asset to the MindConnect Element. Within the data source, you enter the IP address of the asset inside of your network.

Page 67: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring data in Asset Manager 8.3 Adding a data source and data points

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 67

Requirement ● You have created an asset and an aspect.

● You have enabled the connection to the MindConnect Element.

● You have the IP address of the asset inside of your network.

Procedure To add a data source to an asset of type MindConnect, e. g. "Generator", follow these steps:

1. Click on the asset in the "Assets" tab, e. g. "Wind turbine".

2. Click on the asset icon, e. g. "MindConnect Nano".

3. Click "Add new data sources".

– The window to enter the protocol data is opened

Note • The default reading cycle is 86400 seconds, which is one day. • You can find additional information on supported protocols in the chapter Configuring

protocols (Page 73).

4. Enter data source data and confirm with "Accept".

5. To save the data source click "Save".

Page 68: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring data in Asset Manager 8.3 Adding a data source and data points

Getting Connected to MindSphere 68 Getting Started, 04/2020, V1801.Apr/2020.1

Result You have now created a new data source. The new data source is available at the asset details of your MindConnect Element.

The following graphic shows the added data source:

8.3.2 Adding data points A data point is a measurable value of an asset that can be represented numerically and graphically. Examples of a data point are temperature or pressure. Within MindSphere you add data points to a data source to collect the data for example from a control unit. In the next step you have to link the data points of a data source with the respective variables of an aspect.

Note Limitations

One data point cannot be mapped to two variables in the same aspect.

Note Health status

The health status shows the quality of the connection of the data point. You can click on the status to get further information. You can find additional information about quality code in chapter Quality code settings (Page 114).

Page 69: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring data in Asset Manager 8.3 Adding a data source and data points

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 69

Requirement ● You have created a data source.

Procedure To add a data point to a data source, e. g. "RotationSpeed", follow these steps:

1. Click on the asset in the "Assets" tab, e. g. "Wind turbine".

2. Click on the asset icon, e. g. "MindConnect Nano".

3. To edit the data source you have to click on "Enter Edit Mode".

– Edit functions appear next to the data source.

4. Click on "Add Datapoint".

5. Enter data point data.

Note • The units and data types specified here will need to match exactly with the aspects

and variables. If they are different, the aspect cannot be connected to the data point. • The protocol datatypes specify the Datapoint Address. You can find additional

information on protocol datatypes in the chapter Configuring protocols (Page 73). • It is possible to use hysteresis value in this field. This reduces the number of read

events. The hysteresis filters signals and reduces the response to short-term signal fluctuations. The maximum value for hysteresis can be 99999 to minimum as 0.001.

Page 70: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring data in Asset Manager 8.4 Mapping an aspect to a data source

Getting Connected to MindSphere 70 Getting Started, 04/2020, V1801.Apr/2020.1

6. Confirm with "Accept".

7. To save the added data point in "Edit Mode" click "Save".

Result The new data point is available at the data source.

In order to send the changes to the device, you have to click "Apply Changes" in the MindConnect plugin.

The following graphic shows the health status of the new data point:

8.4 Mapping an aspect to a data source Data mapping means matching variables of an aspect with the respective data points of a data source.

● Variables of an aspect represent the MindSphere data.

● Data points of a data source represent the data of the MindConnect Element.

To use the data of your MindConnect Element you have to map them to the respective variables of an aspect.

Requirement You have created an asset based on your desired aspect and asset type.

Procedure To map a variable to a data point, e. g. "RotationSpeed", follow these steps:

1. Click on the asset in the "Assets" tab, e. g. "Wind turbine1".

2. Click on the MindConnect Element Plugin icon, e. g. "MindConnect Nano".

Page 71: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring data in Asset Manager 8.4 Mapping an aspect to a data source

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 71

3. Click "View data mapping".

4. Select the aspect, e. g. "Generator".

5. Select the variable you want to map to the data point, e. g. "RotationSpeed".

6. Select the data point you want to map and click "Link Variable". The following graphic shows the "Link Variable" option:

7. Select the previously created asset type and click "Accept", e. g. "Wind turbine".

Note

You can find additional information on asset types in the chapter Creating a type in Asset Manager (Page 64).

Page 72: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring data in Asset Manager 8.4 Mapping an aspect to a data source

Getting Connected to MindSphere 72 Getting Started, 04/2020, V1801.Apr/2020.1

8. Select the variable you want to link, e. g. "RotationSpeed".

Note

Only units and data types that match exactly with the aspects and variables are available. If they are different, the aspect can’t be connected to the data point (also case sensitive).

9. To link the variable click "Accept".

Result The data point is now mapped to the variable.

The following graphic shows a mapped variable:

Page 73: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 73

Configuring protocols 9 9.1 Overview of S7 protocol

The following image shows the data source input window for the S7 protocol:

You can choose between automatic and manual connection type.

● Automatic: This mode tries to find slot and rack number automatically.

● Manual: In this mode you can enter the rack and slot number manually.

For S7 connection type the PG type-programmer-type-connection is used thus you will not be able to make use of PG connection.

Note Symbolic access

This solution does not allow full symbolic access.

Page 74: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.1 Overview of S7 protocol

Getting Connected to MindSphere 74 Getting Started, 04/2020, V1801.Apr/2020.1

Requirements for S7-1200 and S7-1500 ● Put/Get communication must be permitted (can be found e.g. S7-1500 -> Properties ->

Protection & Security -> Connection mechanisms).

● The “Optimized block access” of the data blocks that you want to read must be deactivated (can be found in the data block properties).

Address format examples

Detailed examples:

Example address format DB15.DBX6.3:

DB15.DBX6.3 Area indicator Data type Offset address

DB15 - DB X 6 - 3 Datablock ad-dress

Separator Datablock Bool Offset Byte Separator Offset Bit

Reads 3rd bit of byte 6 of datablock 15

Example address format IW10:

IW10 Area indicator Data type Offset address

I W 10 Process Input Word Offset Byte

Reads a word of input starting from offset 10

Page 75: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.1 Overview of S7 protocol

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 75

Overview

If you want to read data out of other areas, please replace “DB15.DB“ from the examples with the area indicator from the list below. Attention: only certain address examples work with Inputs and Outputs (see 2)).

S7 MindSphere

Data type Length / un-signed/signed

Data type (length)

Address example Description

Bool 1 bit BOOLEAN (1 bit)

DB15.DBX6.3 2) Reads 3rd bit of byte 6 of datablock 15.

Byte USInt

1 byte / unsigned

INT (4 bytes)

LONG (8 bytes)

DOUBLE (8 bytes)

1)

DB15.DBB4 2) DB15.DBBYTE4

Reads an unsigned byte starting from offset 4 out of datablock 15.

SInt 1 byte / signed Char 1 byte / signed DB15.DBCHAR6 Reads a char starting from

offset 6 of datablock 15. Word UInt

2 bytes / unsigned DB15.DBW10 2) DB15.DBWORD10

Reads an unsigned word starting from offset 10 of datablock 15.

Int 2 bytes / signed DB15.DBINT12 Reads a signed integer start-ing from offset 12 out of datablock 15.

DINT 4 bytes / signed DB15.DBDINT28 Reads a signed double inte-ger starting from offset 28 of datablock 15.

DWord UDInt

4 bytes / unsigned LONG (8 bytes)

DOUBLE (8 bytes)

1)

DB15.DBDW24 2) DB15.DBDWORD24

Reads an unsigned double word starting from offset 24 of datablock 15.

Page 76: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.1 Overview of S7 protocol

Getting Connected to MindSphere 76 Getting Started, 04/2020, V1801.Apr/2020.1

S7 MindSphere Data type Length / un-

signed/signed Data type (length)

Address example Description

Real 4 bytes / signed DOUBLE (8 bytes)

DB15.DBD32 2) DB15.DBREAL32

Reads a floating-point num-ber starting from offset 32 of datablock 15.

String Length of variable, max. 254 bytes

STRING (max. 254

bytes)

DB15.DBSTRING10 The maximum string length (Byte10) is read first. Then the number of bytes that Byte10 indicates are read. After that the number of bytes that Byte11 indicates are extracted from the byte array that is the result of second read operation. For example: • (Byte10)- 30 • (Byte11)-4 • (Byte12-Byte15)-TEST First read result: 30 Second read result: 4TEST We will extract TEST from the second read result by considering Byte11's value.

String Min. 100 bytes , max. 254 bytes

DB15.DBSTRING10,100 Reads 100 bytes of string starting from offset 10.

1) When DOUBLE is used for integers, they are converted to a floating-point number. 2) For the areas Inputs and Outputs only certain address examples work.

Note Signed values

If you want to read a signed value, you have to use the respective signed datablock.

Example:

DB1831.DBW508 is unsigned. You can use DB1831.DBINT508 instead.

Area Types S7 datapoint addresses must contain an area type.

Area indicator Area types Description C Counter Reads Counter value of hardware. DB Datablock Reads datablock value from hardware. DI Instance Data Reads data directly from hardware. I Process Input Reads Input value of Process image.

Page 77: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.1 Overview of S7 protocol

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 77

Area indicator Area types Description M Memory Reads Memory value of hardware. PI Peripheral Input Reads Input value directly from hardware. PQ Peripheral Output Reads Output value directly from hardware. Q Process Output Reads Input value of Process image. T Timer Reads Timer value of hardware.

Area Number S7 datapoint addresses must contain area number.

E.g.: DB10 (10. datablock)

Data Types The following table shows the MindSphere data types:

MindSphere data types

Data type Length Data range

From To BOOLEAN 1 bit True False INT 4 bytes −2147483648 2147483647 LONG 8 bytes −9223372036854775808 9223372036854775807 DOUBLE 8 bytes -

9.9999999999999999999999999999999999999E+125

9.9999999999999999999999999999999999999E+125

STRING 1 - 255 bytes

The following table shows the S7 data types:

S7 data types Data type Length Data range

From To Bool 1 bit False True Byte (unsigned) 1 byte 0 255 Word (unsigned) 2 bytes 0 65.535 DWord (unsigned) 4 bytes 0 4294967295 Char (signed) 1 byte −128 127 Int (signed) 2 bytes −32768 32767 DINT (signed) 4 bytes −2147483648 2147483647 Real 4 bytes +/-1,18e-38 +/-3.40e+38 String 1- 254 bytes

Page 78: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.1 Overview of S7 protocol

Getting Connected to MindSphere 78 Getting Started, 04/2020, V1801.Apr/2020.1

Offset Variable types must have an offset. Offset is the starting byte number.

E.g. DW4 (a double word starting from byte 4)

String Data type Length in bytes Format STRING[n] or STRING n+2 ASCII character of any

length. n specifies the length of the character string. A maximum length of 254characters is permitted. If no length is specified, the default setting is 254 charac-ters.

Data type Examples of format used STRING[2] 'AB' STRING[55] 'The character string can consist of up to 55 characters'

Note

You must enclose your character string in single quotation marks.

The following example shows the byte order when specifying the datatype STRING[4] with the output value 'AB'.

* Tod

TIME_OF_DAY (Time) 32 Time is in steps of 1 ms TOD#0.0.0.0 to

TOD#23:59:59.999 L TOD#1:10:3.3 L TIME_OF_DAY#1:10:3.3

* Time

Returns milliseconds.

Format

Page 79: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.2 Overview of OPC UA protocol

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 79

The DT (DATE_AND_TIME) datatype saves the information on date and time of day in BCD format.

The following table shows the properties of datatype DT: Length (bytes) Format Range of values Example of value input 8 Date and time

(year-month-day

9.2 Overview of OPC UA protocol

OPC UA data parameter

Note MindConnect IoT2040 connection establishment

Due to the extensive and detailed logging, system slowdowns can occur during the connection establishment phase. It depends on the work, the device has to do.

The following image shows the data source input window for the OPC UA protocol:

Page 80: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.2 Overview of OPC UA protocol

Getting Connected to MindSphere 80 Getting Started, 04/2020, V1801.Apr/2020.1

For the OPCUA protocol, the data source input supports the following parameters: Parameter Description Protocol Shows the selected protocol type. Name Name of the data source. Description Add a description for data source. Reading Cycle Enter a reading cycle for the data source. OPC UA Server Name Enter the name of the OPC UA Server Name. OPC UA Server IP Address

Enter the OPC UA Server IP Address.

OPC UA Authentica-tion Type

You can choose between the following types: • NONE: No authentication enabled. • BASIC: Enables the OPC UA BASIC authentication.

OPC UA Security Mode

You can choose between the following modes: • NONE: No security mode • CERTIFICATE: Enables to upload a certificate in the following formats: *.pfx, *.pf12, *.cer,

*.crt, *.der, *.p7b, *.p7r, *.spc

Enable OPC UA Events

You can enable the transfer and takeover of events and alarms in the OPC UA protocol to Mind-Sphere. Fleet Manager shows all events and alarms in the "Events" extension of the agent asset. LImits: • For Nanobox the proposed limit is 25 events/alarms per second. • For IoT2040 the proposed limit is 10 events/alarms per second.

OPC UA Data Access Specification OPC UA Data Access Specification does not specify a certain representation for OPC UA Addresses (NodeId). A NodeId is represented by a combination of:

● NamespaceIndex

● IdentifierType

● Identifier

OPC UA Client Driver addresses have the following syntax: ns=;=.

Note

OPC browsing is not supported.

For more information refer to the table below: Field Description NamespaceIndex The index of the OPC UA Server namespace in which the address resides. If the index is 0, the

entire ns=;= clause is omitted. IdentifierType The type of address. OPC UA supports the following four address types:

i A numeric address represented with 32-bit unsigned integer

Page 81: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.2 Overview of OPC UA protocol

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 81

Field Description s A string address containing characters that can be encoded using UTF-8 g A GUID address in the format of XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX b An opaque address (such as a byte string)

Identifier The address that is formatted as a string. This address may be numeric, string, GUID, or opaque.

Examples NodeId Below you can see examples of an OPC UA Addresses (NodeId) representation:

String String IdentifierType Example ns=[id];s=[string] ns=5;s=Counter1

Attribute NodeId Value NodeId NamespaceIndex 5 IdentifierType String Identifier Counter1

Note String for Identifier

The string you enter at the four Identifier will be case sensitive.

Numeric Numeric IdentifierType Example ns=[id];i=[number] ns=0;i=3190 OR

Attribute NodeId Value NodeId NamespaceIndex 0 IdentifierType Numeric Identifier 3190 [BaseEventType_LocalTime]

Guid Guid IdentifierType Example ns=[id];g=[guid] ns=1;g=0d4e10fa-b9e1-4842-bca6-887c7d8c31f0

Page 82: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.2 Overview of OPC UA protocol

Getting Connected to MindSphere 82 Getting Started, 04/2020, V1801.Apr/2020.1

Base64(Opaque) Base64(Opaque) Iden-tifierType

Example

ns=[id];b=[base64] ns=2;b=M/RbKBsRVkePCePcx24oRA==

Datatypes Conversion The following table shows the Datatype Conversion:

IEC61131 elementary datatypes OPC UA built-in datatypes MindSphere Type BOOL Boolean boolean SINT SByte int USINT Byte int INT Int16 int UINT UInt16 int DINT Int32 int UDINT UInt32 int LINT Int64 long ULINT UInt64 long BYTE Byte int WORD UInt16 int DWORD UInt32 int LWORD UInt64 long REAL Float double LREAL Double double STRING String string CHAR Byte int WSTRING String string WCHAR UInt16 int DT DATE_AND_TIME

DateTime n/a

DATE DateTime n/a TOD TIME_OF_DAY

DateTime

n/a

TIME Double double

Note

“NodeID“ is not a valid part of the OPC string anymore.

Page 83: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.3 Overview of Modbus TCP protocol

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 83

9.3 Overview of Modbus TCP protocol MindSphere supports the Modbus protocol for the MindConnect IoT2040 and MindConnect Nano plugin. You can select the protocol type Modbus TCP while adding a new data source in Asset Manager.

Note Modbus configuration

The Modbus configuration view is only visible after a successful onboarding of the MindConnect IoT2040/Nano. The MindConnect Nano Version must be higher than V3.3.0.2.

The following picture shows the protocol selection in Asset Manager:

Figure 9-1 Modbus

For more information about how to create a new data source see chapter Adding a data source and data points (Page 66).

Page 84: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.3 Overview of Modbus TCP protocol

Getting Connected to MindSphere 84 Getting Started, 04/2020, V1801.Apr/2020.1

Modbus TCP data source parameter In order to connect a Modbus TCP device, you need to select the Modbus TCP protocol and enter the following data source parameters:

Parameter Description IP Address IP address of the Modbus device Port Port number of the Modbus device (default: 502)

The following parameters are optional and can be adjusted for collecting data from slow Modbus devices:

Parameter Description byteTimeout You can set the timeout interval between two consecutive bytes of the same message received

from the Modbus device. If the delay between is longer than the given timeout, an error will be generated. Range: 500ms (default) … 2000ms

responseTimeout You can set the timeout interval used to wait for a response from the Modbus device. If the wait-ing before receiving the response is longer than the given timeout, an error will be generated. Range: 500ms (default) … 60000ms

responseSuspension-Time

If a byte timout or a response timeout was detected, then this waiting time is added before the next request is started. During this time any response from the Modbus device will be flushed. Range: 0ms … 45000ms. (default: 0ms)

requestDelay You can set the time between the response from the Modbus device and the next request to this Modbus device. Range: 0ms (default) … 10000ms

Modbus TCP data point parameter In order to collect the data of your Modbus TCP device, you must add new data points.

The following picture shows the data point parameter window:

Page 85: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.3 Overview of Modbus TCP protocol

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 85

The following table shows the parameter of the Modbus RTU data point window:

Parameter Description Data Type Data type supported by backend (e.g. INT). Function Type Function type - depends on the type of the data (see manual of the Modbus device).

1: Read Coils 2: Read Inputs 3: Read Holding Registers 4: Read Input Registers Currently function codes 1..4 are supported.

Slave Number Address/Slave number of the Modbus device. Start Address Start address (offset) of the data. Quantity Quantity of data to be read. VariableType You can choose the following variable types of the Modbus data to be read:

1: char 2: unsigned char 3: short 4: unsigned short 5: long 6: unsigned long 7: float 8: double 9: ASCII-Text

Page 86: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.4 Overview of Modbus RTU protocol

Getting Connected to MindSphere 86 Getting Started, 04/2020, V1801.Apr/2020.1

Parameter Description Real Type Real type - determines, if the registers of real values have to be processed in reversed order

0: Normal order 1: Reversed order

Response Address Offset

Offset of the data to return in register units.

Response Quantity Quantity of the returned data. Only for string data a value greater than 1 is supported.

Note TCP Gateway slave number

If you are using a TCP Gateway, you must select the appropriate slave number for the configuration of the data points.

9.4 Overview of Modbus RTU protocol MindSphere supports the Modbus protocol for the MindConnect IoT2040 and MindConnect Nano plugin. You can select the protocol type Modbus RTU while adding a new data source in Asset Manager.

Note Modbus configuration

The Modbus configuration view is only visible after a successful onboarding of the MindConnect IoT2040/Nano. The MindConnect Nano Version must be higher than V3.3.0.2.

The following picture shows the protocol selection in Asset Manager:

Page 87: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.4 Overview of Modbus RTU protocol

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 87

For more information about how to create a new data source see chapter AUTOHOTSPOT.

Modbus RTU data source parameter In order to connect a Modbus RTU device, you need to select the Modbus RTU protocol and enter the following data source parameters:

Parameter Description Serial Port Available serial ports:

• COM1 • COM2

Serial Type Supported serial communication standards: • RS232 • RS422 • RS485

Page 88: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.4 Overview of Modbus RTU protocol

Getting Connected to MindSphere 88 Getting Started, 04/2020, V1801.Apr/2020.1

Parameter Description Baud rate Baud rate for serial communication:

• 9600 • 2400 • 4800 • 19200 • 38400 • 57600 • 115200

Data bits Data bits for serial communication: • 5 • 6 • 7 • 8

Stop bits You can select the number of stop bits for serial communication: • 1 • 2

Parity Parity for serial communication: • Odd • None • Even

Termination Onboard termination: • On • Off

The following parameters are optional and can be adjusted for collecting data from slow Modbus devices:

Parameter Description byteTimeout You can set the timeout interval between two consecutive bytes of the same message received

from the Modbus device. If the delay between is longer than the given timeout, an error will be generated. Range: 500ms (default) … 2000ms

responseTimeout You can set the timeout interval used to wait for a response from the Modbus device. If the wait-ing before receiving the response is longer than the given timeout, an error will be generated. Range: 500ms (default) … 60000ms

Page 89: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.4 Overview of Modbus RTU protocol

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 89

Parameter Description responseSuspension-Time

If a byte timout or a response timeout was detected, then this waiting time is added before the next request is started. During this time any response from the Modbus device will be flushed. Range: 0ms … 45000ms. (default: 1000ms) For Modbus RTU it is recommended to set the value to 10000 ms. If the default value 0 ms is set, any incoming incorrect responses will not be destroyed.

requestDelay You can set the time between the response from the Modbus device and the next request to this Modbus device. Range: 0ms (default) … 10000ms

Pin assignment of Modbus protocols The following table shows the pin assignment for the Modbus RTU protocol:

Pin RS 485 RS 422 RS 232 1 Data- Transmit / receive data -

(I/O) for half-duplex mode TX- Transmitted data - (O) for full-duplex mode

Not supported

2 Data+ Transmit / receive data+ (I/O) for half-duplex mode

TX+ Transmitted data + (O) for full-duplex mode

RxD Received data (I)

3 - RX+ Receive data + (I) for full-duplex mode

TxD Transmitted data (O)

4 - RX- Receive data - (I) for full-duplex mode

Not supported

5 M Signal ground M Signal ground M Ground 6 - - Not supported 7 - - Not supported 8 - - Not supported 9 - - Not supported

Modbus RTU data point parameter In order to collect the data of your Modbus RTU device, you must add new data points.

The following picture shows the data point parameter window:

Page 90: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.4 Overview of Modbus RTU protocol

Getting Connected to MindSphere 90 Getting Started, 04/2020, V1801.Apr/2020.1

The following table shows the parameter of the Modbus RTU data point window:

Parameter Description Data Type Data type supported by backend (e.g. INT). Function Type Function type - depends on the type of the data (see manual of the Modbus device).

1: Read Coils 2: Read Inputs 3: Read Holding Registers 4: Read Input Registers Currently function codes 1..4 are supported.

Slave Number Address/Slave number of the Modbus device. Start Address Start address (offset) of the data. Quantity Quantity of data to be read. VariableType You can choose the following variable types of the Modbus data to be read:

1: char 2: unsigned char 3: short 4: unsigned short 5: long 6: unsigned long 7: float 8: double 9: ASCII-Text

Page 91: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.5 Overview of SIMATIC I/O Shield

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 91

Parameter Description Real Type Real type - determines, if the registers of real values have to be processed in reversed order

0: Normal order 1: Reversed order

Response Address Offset

Offset of the data to return in register units.

Response Quantity Quantity of the returned data. Only for string data a value greater than 1 is supported.

Technical specification Protocol Description Value Data rate Modbus RTU - RS485 Data provider 32

Max cable length 1200 m max. 115,2 kBd Modbus RTU - RS422 Data provider 10

Max cable length 1200 m max. 115,2 kBd Modbus RTU - RS232 Data provider 1

Maximum cable length 900 m 2,4 kBd 300 m 4,8 kBd 152 m 9,6 kBd 15 m 19,2 kBd 5 m 57,6 kBd < 2 m 115,2 kBd

9.5 Overview of SIMATIC I/O Shield SIMATIC I/O Shield device has been plugged-in to MindConnect IoT2040 and set up according to I/O Shield operating instructions. Analog and digital input signals are connected to SIMATIC I/O Shield connectors.

You can find more information about the SIMATIC I/O Shield Modul in the SIMATIC IOT IOT2000 Extension Modules manual (https://support.industry.siemens.com/cs/document/109745681/iot2000-extension-modules?dti=0&lc=en-WW). The following picture shows the SIMATIC IOT2000 Input/output Modul:

Page 92: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.5 Overview of SIMATIC I/O Shield

Getting Connected to MindSphere 92 Getting Started, 04/2020, V1801.Apr/2020.1

You can select the protocol type SIMATIC I/O Shield while adding a new data source in Asset Manager.

The following picture shows the protocol selection in Asset Manager:

Page 93: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.6 Overview of SYSTEM protocol

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 93

After selecting the protocol you can enter the parameter Name, Description and Reading Cycle.

SIMATIC I/O Shield data point parameter In order to collect the data of your SIMATIC I/O Shield device, you must add new data points.

The signal that has to be recorded can be configured by specifying pin type (analog/digital) and the pin number as it is printed on SIMATIC I/O shield device. For the analog inputs, the read value corresponds to a percentage value between 0 and 1. The percentage value refers to the permissible voltage range between 0-10 V. The read value must be converted accordingly for the connected sensor.

Following inputs can be chosen: Input Pin type Pin number Recommended data type AI0 Analog 0 DOUBLE AI1 Analog 1 DOUBLE AI2 Analog 2 DOUBLE AI3 Analog 3 DOUBLE DI0 Digital 0 BOOLEAN DI1 Digital 1 BOOLEAN DI2 Digital 2 BOOLEAN DI3 Digital 3 BOOLEAN DI4 Digital 4 BOOLEAN

9.6 Overview of SYSTEM protocol You can use the protocol SYSTEM to implement a system information adapter for analysis purposes. The SYSTEM protocol can collect the following information from MindConnect devices:

● Overall CPU load

● Overall memory consumption

● Network traffic

● Application specific data

– CPU load memory consumption

● Disk usage

You can choose the SYSTEM protocol as a data source without configuring specific system parameters, except the reading cycle.

Page 94: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.6 Overview of SYSTEM protocol

Getting Connected to MindSphere 94 Getting Started, 04/2020, V1801.Apr/2020.1

After creating the data source you can configure the following categories in a new data point:

● CPU

● Memory

● Network

● Disk

The following image shows the data point input window for the SYSTEM protocol:

Each category has its own set of variables which will be described in the following.

Application information Application provides the following available applications:

● MindEdgeRuntimeSystem/java

● DataProvider

● BoxManager

● S7 Plugin

● OPCUA Plugin

● XTools

● Mosquitto

Page 95: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.6 Overview of SYSTEM protocol

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 95

The following table shows the available variables for the applications: Variable Data type Address Name string /application/<subcategory>/name State string /application/<subcategory>/state Tgid int /application/<subcategory>/tgid Ngid int /application/<subcategory>/ngid Pid int /application/<subcategory>/pid PPid int /application/<subcategory>/ppid TracerPid int /application/<subcategory>/tracerpid Uid string /application/<subcategory>/uid Gid string /application/<subcategory>/gid FDSize int /application/<subcategory>/fdsize Groups string /application/<subcategory>/groups NStgid int /application/<subcategory>/nstgid NSpid int /application/<subcategory>/nspid NSpgid int /application/<subcategory>/nspgid NSsid int /application/<subcategory>/nssid VmPeak long /application/<subcategory>/vmpeak VmSize long /application/<subcategory>/vmsize VmLck long /application/<subcategory>/vmlck VmPin long /application/<subcategory>/vmpin VmHWM long /application/<subcategory>/vmhwm VmRSS long /application/<subcategory>/vmrss VmData long /application/<subcategory>/vmdata VmStk long /application/<subcategory>/vmstk VmExe long /application/<subcategory>/vmexe VmLib long /application/<subcategory>/vmlib VmPTE long /application/<subcategory>/vmpte VmPMD long /application/<subcategory>/vmpmd VmSwap long /application/<subcategory>/vmswap HugetlbPages long /application/<subcategory>/hugetlbpages Threads int /application/<subcategory>/threads SigQ string /application/<subcategory>/sigq SigPnd string /application/<subcategory>/sigpnd ShdPnd string /application/<subcategory>/shdpnd SigBlk string /application/<subcategory>/sigblk SigIgn string /application/<subcategory>/sigign SigCgt string /application/<subcategory>/sigcgt CapInh string /application/<subcategory>/capinh CapPrm string /application/<subcategory>/capprm CapEff string /application/<subcategory>/capeff CapBnd string /application/<subcategory>/capbnd

Page 96: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.6 Overview of SYSTEM protocol

Getting Connected to MindSphere 96 Getting Started, 04/2020, V1801.Apr/2020.1

Variable Data type Address CapAmb string /application/<subcategory>/capamb Seccomp int /application/<subcategory>/seccomp Specula-tion_Store_Bypass

string /application/<subcategory>/speculation_store_bypass

Cpus_allowed int /application/<subcategory>/cpus_allowed Cpus_allowed_list string /application/<subcategory>/cpus_allowed_list Mems_allowed int /application/<subcategory>/mems_allowed Mems_allowed_list string /application/<subcategory>/mems_allowed_list volun-tary_ctxt_switches

int /application/<subcategory>/voluntary_ctxt_switches

nonvolun-tary_ctxt_switches

int /application/<subcategory>/nonvoluntary_ctxt_switches

CPU information The following table shows the available variables for the category CPU information:

Variable Data type Description LoadAvg1 double Number of processes in state R(runnable) or D(disk sleep) averaged

over 1 minute. LoadAvg5 double Number of processes in state R(runnable) or D(disk sleep) averaged

over 5 minutes. LoadAvg10 double Number of processes in state R(runnable) or D(disk sleep) averaged

over 15 minutes . ProcessCount string String containing number of currently runnable processes/threads and

number of scheduling processes/threads that currently exist on the sys-tem.

LastPidUsed long Pid of the process that was most recently created. CurrentProcessCount long Number of currently runnable processes/threads. Sched-uledProcessCount

long Number of scheduling processes/threads that currently exist on the sys-tem.

Disk information Disk collects information about disk usage and provides the following subcategories:

● persistent_massdata

● persistent_appconfig

● persistent

● root

Page 97: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.6 Overview of SYSTEM protocol

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 97

The following table shows the available variables for the category Disk information: Variable Data type Address Description Available long /disk/dev/<subcategory>/available Partition size in bytes. Size long /disk/dev/<subcategory>/size Used space in bytes. Used long /disk/dev/<subcategory>/used Available space in bytes.

KERNEL information The following table shows the available variables for the category KERNEL information:

Variable Data type Address OsRelease string /kernel/osrelease OsType string /kernel/ostype Version string /kernel/version

Memory information The following table shows the available variables for the category Memory information:

Variable Data type Address Restrictions Active long /memory/active Active(Anon) long /memory/active(anon) Active long /memory/active Active(Anon) long /memory/active(anon) Active(File) long /memory/active(file) AnonPages long /memory/anonpages Available long /memory/available Bounce long /memory/bounce Buffers long /memory/buffers Cached long /memory/cached CommitLimit long /memory/commitlimit Committed_As long /memory/committed_as DirectMap4K long /memory/directmap4k DirectMap4M long /memory/directmap4m Dirty long /memory/dirty AnonHugePages long /memory/anonhugepages Only supported by MindConnect

Nano. CmaTotal long /memory/cmatotal Only supported by MindConnect

Nano. CmaFree long /memory/cmafree Only supported by MindConnect

Nano. HugePages_Total long /memory/hugepages_total Only supported by MindConnect

Nano.

Page 98: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.6 Overview of SYSTEM protocol

Getting Connected to MindSphere 98 Getting Started, 04/2020, V1801.Apr/2020.1

Variable Data type Address Restrictions HugePages_Free long /memory/hugepages_free Only supported by MindConnect

Nano. HugePages_Rsvd long /memory/hugepages_Rsvd Only supported by MindConnect

Nano. HugePages_Surp long /memory/hugepages_surp Only supported by MindConnect

Nano. Hugepagesize long /memory/hugepagesize Only supported by MindConnect

Nano. HighFree long /memory/highfree Only supported by MindConnect

IoT 2040. HighTotal long /memory/hightotal Only supported by MindConnect

IoT 2040. LowFree long /memory/lowfree Only supported by MindConnect

IoT 2040. LowTotal long /memory/lowtotal Only supported by MindConnect

IoT 2040. Inactive long /memory/inactive Inactive(Anon) long /memory/inactive(anon) Inactive(File) long /memory/inactive(file) KernelStack long /memory/kernelstack LowFree long /memory/lowfree LowTotal long /memory/lowtotal Mapped long /memory/mapped MemFree long /memory/memfree MemTotal long /memory/memtotal MLocked long /memory/mlocked NFS_Unstable long /memory/nfs_unstable PageTables long /memory/pagetables SHMem long /memory/shmem SLab long /memory/slab SReclaimable long /memory/sreclaimable SUnreclaim long /memory/sunreclaim SwapCached long /memory/swapcached SwapFree long /memory/swapfree SwapTotal long /memory/swaptotal Unevictable long /memory/unevictable VMAllocChunk long /memory/vmallocchunk VMAllocTotal long /memory/vmalloctotal VMAllocUsed long /memory/vmallocused WriteBack long /memory/writeback WriteBackTmp long /memory/writebacktmp

Page 99: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.6 Overview of SYSTEM protocol

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 99

Network information The following table shows the available variables for the category Network information:

Variable Data type Address Description ArpFilter long /network/arpfilter BusyPollRxPackets long /network/busypollrxpackets BytesReceived long /network/bytesreceived Alias for InOctets. BytesSend long /network/bytessend Alias for OutOctets. DelayedAckLocked long /network/delayedacklocked Number of delayed acks further

delayed because of locked socket. DelayedAckLost long /network/delayedacklost Number of times that quick ack

mode was activated. DelayedAcks long /network/delayedacks Number of delayed acks sent. EmbryonicRsTs long /network/embryonicrsts Number of resets received for

embryonic SYN_RECV sockets. InBcastOctets long /network/inbcastoctets InBcastPkts long /network/inbcastpkts IncePkts long /network/incepkts IncSumErrors long /network/incsumerrors Inect0Pkts long /network/inect0pkts Inect1Pkts long /network/inect1pkts InMcastOctets long /network/inmcastoctets InMcastPkts long /network/inmcastpkts InNoEctPkts long /network/innoectpkts InNoRoutes long /network/innoroutes InOctets long /network/inoctets Bytes received. InTruncatedPkts long /network/intrucatedpkts Number of truncated packets re-

ceived. IpReversePathFilter long /network/ipreversepathfilter ListenDrops long /network/listendrops Number of SYNs to LISTEN sock-

ets that were dropped. ListenOverflows long /network/listenoverflows Number of times the listen queue

of a socket overflowed. LockDroppedIcmps long /network/lockdroppedicmps ICMP packets dropped because

socket was locked. OfoPruned long /network/ofopruned Packets dropped from out-of-order

queue because of socket buffer overrun.

OutBcastOctets long /network/outbcastoctets OutBcastPkts long /network/outbcastpkts OutMcastOctets long /network/outmcastoctets OutMcastPkts long /network/outmcastokts OutOctets long /network/outoctets Bytes sent. OutOfWindowIcmps long /network/outofwindowicmps ICMP packets dropped because

they were out-of-window.

Page 100: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.6 Overview of SYSTEM protocol

Getting Connected to MindSphere 100 Getting Started, 04/2020, V1801.Apr/2020.1

Variable Data type Address Description PAWSActive long /network/pawsactive Active connections rejected be-

cause of timestamp. PAWSEstab long /network/pawsestab Packets rejected in established

connections because of timestamp. PAWSPassive long /network/pawspassive Passive connections rejected be-

cause of timestamp. PruneCalled long /network/prunecalled Packets pruned from receive

queue because of socket buffer overrun.

RcvPruned long /network/rcvpruned Packets pruned from receive queue.

SyncookiesFailed long /network/syncookiesFailed Number of invalid SYN cookies received.

SyncookiesRecv long /network/syncookiesrecv Number of SYN cookies received. SyncookiesSent long /network/syncookiessent Number of SYN cookies sent. TCPAbortFailed long /network/tcpabortfailed Number of times unable to send

RST due to no memory. TCPAbortOnClose long /network/tcpabortonclose Connections reset due to early

user close. TCPAbortOnData long /network/tcpabortondata Connections reset due to unex-

pected data. TCPAbortOnLinger long /network/tcpabortonlinger Connections aborted after user

close in linger timeout. TCPAbortOnMemory long /network/tcpabortonmemory Connections aborted due to

memory pressure. TCPAbortOnSyn long /network/tcpabortonsync Connections reset due to unex-

pected SYN. TCPAbortOnTimeout long /network/tcpabortontimeout Connections aborted due to

timeout. TCPAckSkippedChal-lenge

long /network/tcpackskippedchallenge

TCPAckSkippedFin-Wait2

long /network/tcpackskippedfinwait2

TCPAck-SkippedPAWS

long /network/tcpackskippedpaws

TCPAckSkippedSEQ long /network/tcpackskippedseq TCPAckSkippedSYN-Recv

long /network/tcpackskippedsynrecv

TCPAck-SkippedTimeWait

long /network/tcpackskippedtimewait

TCPAutoCorking long /network/tcpautocorking TCPBacklogDrop long /network/tcpbacklogdrop TCPChallengeAck long /network/tcpchallengeack TCPDeferAcceptDrop long /network/tcpdeferacceptdrop TCPDirectCopyFrom-Backlog

long /network/tcpdirectcopyfrombacklog Bytes directly in process context from backlog.

Page 101: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.6 Overview of SYSTEM protocol

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 101

Variable Data type Address Description TCPDirectCopyFromPrequeue

long /network/tcpdirectcopyfromprequeue

Bytes directly received in process context from prequeue.

TCPD-SACKIGNoRedNoUn-do

long /network/tcpdsackignorednoundo

TCPD-SACKIGNoRedOld

long /network/tcpdsackignoredold

TCPDSACKOfoRecv long /network/tcpdsackoforecv DSACKs for out of order packets received.

TCPDSACKOfoSent long /network/tcpdsackofosent DSACKs sent for out of order packets.

TCPDSACKOldSent long /network/tcpdsackoldsent DSACKs sent for old packets. TCPDSACKRecv long /network/tcpdsackrecv DSACKs received. TCPDSACKUndo long /network/tcpdsackundo Congestion window recovered

without slow start using DSACK. TCPFACKReorder long /network/tcpfackreorder Number of times reordering was

detected using FACK. TCPFastOpenActive long /network/tcpfastopenactive TCPFastOpenAc-tiveFailL

long /network/tcpfastopenactivefail

TCPFastOpenCooki-eReqD

long /network/tcpfastopencookiereqd

TCPFastOpenListen-Overflow

long /network/tcpfastopenlistenoverflow

TCPFastOpenPassive long /network/tcpfastopenpassive TCPFastOpenPas-siveFail

long /network/tcpfastopenpassivefail

TCPFastRetrans long /network/tcpfastretrans Fast retransmits. TCPForwardRetrans long /network/tcpforwardretrans Forward retransmits. TCP-FromZeroWindowAdv

long /network/tcpfromzerowindowadv

TCPFullUndo long /network/tcpfullundo Congestion windows fully recov-ered without slow start.

TCPHPAcks long /network/tcphpacks Predicted acknowledgments. TCPHPHits long /network/tcphphits Packet headers predicted. TCPHPHitsToUser long /network/tcphphitstouser Packet headers predicted and

directly queued to user. TCPHYStartDe-layCWND

long /network/tcphystartdelaycwnd

TCPHYStartDe-layDetect

long /network/tcphystartdelaydetect

TCPHYStartTrain-CWND

long /network/tcphystarttraincwnd

TCPHYStartTrainDe-tect

long /network/tcphystarttraindetect

TCPKeepAlive long /network/tcpkeepalive Number of ACK packets sent to keep TCP flow alive.

Page 102: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.6 Overview of SYSTEM protocol

Getting Connected to MindSphere 102 Getting Started, 04/2020, V1801.Apr/2020.1

Variable Data type Address Description TCPLossFailures long /network/tcplossfailures Timeouts in loss state. TCPLossProbeRecov-ery

long /network/tcplossproberecovery

TCPLossProbes long /network/tcplossprobes TCPLossUndo long /network/tcplossundo Congestion windows recovered

without slow start after partial ack. TCPLostRetransmits long /network/tcplostretransmits Retransmits lost. TCPMD5NotFound long /network/tcpmd5notfound TCPMD5Unexpected long /network/tcpmd5unexpected TCPMemoryPressures long /network/tcpmemorypressures Number of times TCP ran low on

memory. TCPMINTTLDrop long /network/tcpminttldrop TCPMTUPFail long /network/tcpmtupfail TCPMTUPSuccess long /network/tcpmtupsuccess TCPOfoDrop long /network/tcpofodrop TCPOfoMerge long /network/tcpofomerge TCPOfoQueue long /network/tcpofoqueue TCPOrigDataSent long /network/tcporigdatasent TCPPartialUndo long /network/tcppartialundo Congestion windows partially re-

covered using Hoe heuristic. TCPPrequeued long /network/tcpprequeued Packets directly queued to

recvmsg prequeue. TCPPrequeueDropped long /network/tcpprequeuedropped Packets dropped from prequeue. TCPPureAcks long /network/tcppureacks Acknowledgments not containing

data payload received. TCPRcvCoalesce long /network/tcprcvcoalesce TCPRcvCollapsed long /network/tcprcvcollapsed Packets collapsed in receive queue

due to low socket buffer. TCPRenoFailures long /network/tcprenofailures Timeouts after reno fast retransmit. TCPRenoRecovery long /network/tcprenorecovery Times recovered from packet loss

due to fast retransmit. TCPRenoRecoveryFail long /network/tcprenorecoveryfail Classic Reno fast retransmits

failed. TCPRenoReorder long /network/tcprenoreorder TCPReqQFullDoCook-ies

long /network/tcpreqqfulldocookies

TCPReqQFullDrop long /network/tcpreqqfulldrop TCPRetransFail long /network/tcpretransfail TCPSACKDiscard long /network/tcpsackdiscard TCPSACKFailures long /network/tcpsackfailures Timeouts after SACK recovery. TCPSACKMerged long /network/tcpsackmerged TCPSACKRecovery long /network/tcpsackrecovery Times recovered from packet loss

by selective acknowledgements. TCPSACKRecovery-Fail

long /network/tcpsackRecoveryFails SACK retransmits failed.

Page 103: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.6 Overview of SYSTEM protocol

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 103

Variable Data type Address Description TCPSACKReneging long /network/tcpsackreneging Bad SACK blocks received. TCPSACKReorder long /network/tcpsackreorder Number of times reordering was

detected using SACK. TCPSACKShifted long /network/tcpsackshifted TCPSACKShift-Fallback

long /network/tcpsackshiftfallback

TCPSchedulerFailed long /network/tcpschedulerfailed Times receiver scheduled too late for direct processing.

TCPSlowStartRetrans long /network/tcpslowstartretrans Retransmits in slow start. TCPSpuriousRTOS long /network/tcpspuriousrtos TCPSpuri-ousRTXHostQueues

long /network/tcpspuriousrtxhostqueues

TCPSYNChallenge long /network/tcpsynchallenge TCPSYNRetrans long /network/tcpsynretrans TCPTimeouts long /network/tcptimeouts Other TCP timeouts. TCPTimeWaitOverflow long /network/tcptimewaitoverflow TCPToZeroWindow-Adv

long /network/tcptozerowindowadv

TCPTSReorder long /network/tcptsreorder Number of times reordering was detected using timestamp.

TCP-WantZeroWindowAdv

long /network/tcpwantzerowindowadv

TCPWinProbe long /network/tcpwinprobe Number of ACK packets to be sent at regular intervals to make sure a reverse ACK packet opening back a window has not ben lost.

TW long /network/tw TWKilled long /network/twkilled TCP sockets finished time wait in

slow timer. TWRecycled long /network/twrecycled Time wait sockets recycled by

timestamp.

Page 104: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.7 Overview of Rockwell protocol

Getting Connected to MindSphere 104 Getting Started, 04/2020, V1801.Apr/2020.1

9.7 Overview of Rockwell protocol The following image shows the data source input window for the Rockwell protocol:

Rockwell data source parameter In order to connect a Rockwell device, you need to select the Rockwell protocol and enter the following data source parameters:

Parameter Description CPU type Shows available CPU types:

• COMPACT_LOGIX • OTHER_CPU Currently not available: • CONTROL_LOGIX • FLEX_LOGIX • MICRO_LOGIX • SOFT_LOGIX • PLC5 • SLC500

IP address IP address of the Rockwell controller. Route parameters Here you can define the routing path parameters - like rack,

slot, node, and/or ControlNet port numbers - needed to access the controller (default: 1,0).

Page 105: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Configuring protocols 9.7 Overview of Rockwell protocol

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 105

Rockwell data point parameter In order to collect the data of your Rockwell device, you must add new data points.

The following table shows the data point parameter:

Parameter Description Data Type Data type supported by backend (e.g. INT).

STRING data type is currently not supported. Tag Name of the tag that has to be recorded.

The following table shows the recommended data type selection: Rockwell data type Length Data range1) MindSphere data type BOOL 1 bit 0 or 1 BOOLEAN SINT 1 byte -128…+127 INT INT 2 bytes -32,768…+32,767 INT DINT 4 bytes -

2,147,483,648…+2,147,483,647

INT

REAL 4 bytes • -3.40282347E38…-1.17549435E-38 (nega-tive values)

• 0 • -1.17549435E-38-

…3.40282347E38 (posi-tive values)

DOUBLE

1)Values have been taken from Logix 5000 Controllers I/O and Tag Data Programming Manual

Page 106: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Getting Connected to MindSphere 106 Getting Started, 04/2020, V1801.Apr/2020.1

Firmware update 10 10.1 Manual firmware update of MindConnect Element

To prepare your MindConnect Element for MindSphere V3 please follow the next two steps:

● Set MindConnect to factory settings

● Load new firmware on your MindConnect Element

Set MindConnect to factory settings

Note

This procedure is only necessary for boxes that were already connected to MindSphere V2 (SAP). V1 cannot be upgraded.

1. Set the MindConnect back to factory settings.

2. Create a “ConBox_Commands.json” file with your favorite code editor.

Content of "ConBox_Commands.json":

{

"Commands": [

{

"Cmd": "DoFactoryReset",

"DeviceID": "MindConnectID"

}

]

}

Note

MindConnectID has to be replaced with the serial number of the device.

3. Copy the extracted/unzipped fw.tar file to a USB stick (fat32 formatted).

4. Plug the USB stick in the MindConnect hardware.

– The MindConnect will be restarted automatically.

– The network and SAL settings will be reset to their initial state on MindConnect Element.

– All SAL and script logging files will be deleted.

Page 107: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Firmware update 10.2 Firmware update in Asset Manager

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 107

Load new firmware on your MindConnect Element 1. Download the firmware ZIP file from Siemens Industry Online Support Page.

– Firmware download MindConnect Nano (https://support.industry.siemens.com/cs/ww/en/view/109745561)

– Firmware download MindConnect IoT2040 (https://support.industry.siemens.com/cs/ww/en/view/109745562)

2. Unzip the firmware on your local machine.

3. Copy the unzipped files to a USB stick.

4. Insert the USB stick into the MindConnect Element and wait until the firmware update is complete.

– Update carried out: ERROR LED flashes orange

– MindConnect Element reboots

– MAINT LED flashes orange for a few seconds

– RUN LED orange (not connected to MindSphere)

5. Disconnect the USB stick.

10.2 Firmware update in Asset Manager In Asset Manager you can update the firmware of your MindConnect Element.

NOTICE

Outdated version

Please keep your firmware always updated.

NOTICE

Data loss

Please note that data loss can occur during the time of the firmware update. The amount of data loss depends on the reading and uploading cycle.

To perform a firmware update proceed as follows:

1. Select the asset in the "Asset" tab.

2. Open the MindConnect plugin.

3. Click next to "Firmware" on the button .

4. Accept the terms and conditions.

5. To select a firmware release click "Choose another firmware release".

– The "select firmware" dialog appears.

Page 108: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Firmware update 10.2 Firmware update in Asset Manager

Getting Connected to MindSphere 108 Getting Started, 04/2020, V1801.Apr/2020.1

6. Select product and available version and click "Accept".

7. To update your firmware click "Update your firmware".

Note Incomplete firmware update

If the connection is interrupted while the new firmware is being downloaded, note that the downloaded content might be lost if the connection cannot be recovered via the box.

For example, if the connection is interrupted while 50% of the firmware are downloaded, the process migth be canceled. In that case you have to click firmware update on the user interface to restart the process.

Page 109: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 109

Visual analysis of assets in Fleet Manager 11 11.1 Overview visual analysis

This chapter provides a brief overview of the visual analysis of your asset, which was configured in Asset Manager. It gives you a brief overview of how to monitor the data of a selected asset in Fleet Manager. For more information refer to the MindSphere documentation.

Requirements ● MindConnect Nano/IoT2040 is connected to the internet and onboarded.

● Aspects and variables are configured in Asset Manager.

Procedure To see the visualized data in Fleet Manager, you can proceed as follows:

1. Select a required asset to view its data. (Page 109)

2. View aspects of a selected asset. (Page 111)

3. View events of a selected asset. (Page 113)

11.2 Selecting assets Fleet Manager offers the means for viewing and simple searching/sorting/filtering of assets. You access Fleet Manager via the MindSphere Launchpad.

Requirement You have created assets in Asset Manager.

Procedure To select an asset in Fleet Manager, proceed as follows:

1. In the MindSphere Launchpad, click "Fleet Manager".

The overview page of Fleet Manager appears and you can see the list with assets on the left-hand side.

2. To view an asset, select between "Fleet" or "Hierarchy" views.

Page 110: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Visual analysis of assets in Fleet Manager 11.2 Selecting assets

Getting Connected to MindSphere 110 Getting Started, 04/2020, V1801.Apr/2020.1

3. To see the map view, click .

4. To quickly find the created asset e.g. "Wind turbine", choose one of the following features:

– Select the asset that is linked to your aspect and asset type.

– Enter a required text in the searching box.

Figure 11-1 Finding the asset via the searching text

– Or click the “Filter & sort" button to restrict the asset list.

Page 111: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Visual analysis of assets in Fleet Manager 11.3 Viewing aspects

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 111

Figure 11-2 Finding the asset "Filter & sort"

Result The navigation displays the selected asset that corresponds to the search or filter parameters.

11.3 Viewing aspects After you have selected an asset to be monitored, you can open an extension to see the status of its single aspects or events in detail in the right column. To view variables of aspects Fleet Manager offers you the "Aspects" extension.

Requirement You have created aspects in Asset Manager.

Page 112: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Visual analysis of assets in Fleet Manager 11.3 Viewing aspects

Getting Connected to MindSphere 112 Getting Started, 04/2020, V1801.Apr/2020.1

Procedure To view variables of aspects in the "Aspect" extension, proceed as follows:

1. In the right-hand side of Fleet Manager, click the "Aspects" extension icon.

– The "Aspects" extension opens on the right-hand side.

2. Select and expand an aspect e.g. "Generator":

– Aspect "Generator" is opened.

– You can set a time frame (Time picker: day, week, and month) and see the variables, which you want to monitor.

3. Select the dates from the last week in the calendar.

4. To show the exact measured values, move the mouse over the graph.

Result The "Aspects" extension shows the chosen aspect of an asset.

Page 113: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Visual analysis of assets in Fleet Manager 11.4 Viewing events

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 113

11.4 Viewing events All events are displayed in an overview of the "Events" extension and you can influence the view through different filter criteria. You can also assign a specific status to events. You can find additional information on creating events in the Fleet Manager documentation.

Requirements ● You have created assets in Asset Manager.

● Events have been created and are already available.

Procedure 1. Select the required asset e.g. “Wind turbine", in the left-hand side of the window.

2. In the right-hand side, click the "Events" extension icon.

3. Click the tab "Events".

Result The events data of asset "Wind turbine" is displayed.

Page 114: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Getting Connected to MindSphere 114 Getting Started, 04/2020, V1801.Apr/2020.1

Appendix A A.1 Data center locations

You can license MindSphere on different regions in various data centers.

The following table shows the regions and the data center location for each region: Region Data center location MindSphere infrastructure

provider Europe 1 Frankfurt, Germany (eu1) Amazon Web Services Europe 2 Amsterdam, Netherlands (eu2) Microsoft Azure China 1 Shanghai, China (cn1) Alibaba Cloud

A.2 Quality code settings

A.2.1 Using quality code The quality code measures the quality of the connection from a data provider to the MindConnect Element. In MindSphere you can enable or disable the transmission of the quality code.

You can switch the quality code on or off:

● TRUE: The quality code is transferred with the data to MindSphere.

● FALSE: The quality code is not transferred with the data to MindSphere. Erroneous or bad transmissions and signal losses can not be detected by MindSphere. Instead the value 0 will be stored for the missing data.

You can find more information about the corresponding values in chapter Quality codes OPC UA and S7 protocol (Page 115).

Within a MindConnect Element the quality code is set by default to on. You can activate or deactivate the quality code using the Time Series Service API (https://developer.mindsphere.io/apis/iot-iottimeseries/api-iottimeseries-overview.html).

If you export the time series value (e.g. with Fleet Manager) you can see the data points with its connected quality code. This helps you to analyze time ranges where no data is available. This will avoid drawing false conclusions from a null value.

The following graphic shows a dataflow overview of the quality code:

Page 115: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Appendix A.2 Quality code settings

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 115

If the data provider (e.g. S7 PLC, OPC UA Server) is not available, the MindConnect Element or the data provider client will send up a "0" with a quality code. The value of the quality code shows that this is not a valid data.

● If the function "Quality code" is enabled for this data point all the information can be stored in the database. The database creates a request to Fleet Manager to show the bad quality code information in a chart.

● If the function "Quality code" is disabled, the value 0 will be saved anyway. But you cannot figure out if this data is valid.

A.2.2 Quality codes OPC UA and S7 protocol The following table is based on the OPC UA standard and shows the possible quality codes for OPC UA and S7:

Quality code (hex)

Quality code (dec)

Short description Long description

0x00000000 0 GOOD Good, all items could be read. 0x00BA0000 12189696 GOOD_INCOMPLETE Good results may be incomplete - at least one

item could be read.

Page 116: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Appendix A.2 Quality code settings

Getting Connected to MindSphere 116 Getting Started, 04/2020, V1801.Apr/2020.1

Quality code (hex)

Quality code (dec)

Short description Long description

0x002F0000 3080192 GOOD_OVERLOAD Sampling has slowed down due to resource limitations.

0x40920000 1083310080 UNCERTAIN_INITIAL_VALUE Uncertain Initial Value - initial value. 0x80000000 -2147483648 BAD Bad - generic error. 0x800B0000 -2146762752 BAD_SERVICE_UNSUPPORTED Bad Service Unsupported - service unsupport-

ed. 0x800A0000 -2146828288 BAD_TIMEOUT Bad Timeout - Timeout occurred. 0x80100000 -2146435072 BAD_TOO_MANY_OPERATIONS Bad Too Many Operations - The request could

not be processed because it specified too many operations.

0x801F0000 -2145452032 BAD_ACCESS_DENIED Bad Access Denied - Access denied. 0x80210000 -2145320960 BAD_IDENTITY_TOKEN_REJECT

ED Bad Identity Token Rejected.

0x80820000 -2138963968 BAD_TCP_INTERNAL_ERROR TCP internal error occurred. 0x80AB0000 -2136276992 INVALID_ARGUMENT Bad Invalid Argument - all items could not be

read. 0x80890000 -2138505216 BAD_CONFIGURATION_ERROR Lack of configuration info. 0x80340000 -2144075776 BAD_NODE_ID_UNKNOWN Bad item address. 0x80AC0000 -2136211456 BAD_CONNECTION_REJECTED Connection problem. 0x80740000 -2139881472 BAD_TYPE_MISMATCH Type conversion has problem. 0x803A0000 -2143682560 BAD_NOT_READABLE Read operation(s) has problem. 0x803B0000 -2143617024 BAD_NOT_WRITABLE Write operation(s) has problem. 0x803D0000 -2143485952 BAD_NOT_SUPPORTED Operation is not supported. 0x80130000 -2146238464 BAD_SECURITY_CHECKS_FAILE

D Indicates security problems.

0x808D0000 -2138243072 BAD_OUT_OF_SERVICE OPC service has problems. 0x80B80000 -2135425024 BAD_REQUEST_TOO_LARGE Request too large. 0x80D70000 -2133393408 BAD_BOUND_NOT_FOUND No data found to provide upper or lower bound

value. 0x80090000 -2146893824 BAD_UNKNOWN_RESPONSE An unrecognized response was received from

the server. 0x80AD0000 -2136145920 BAD_DISCONNECT The server has disconnected from the client. 0x80360000 -2143944704 BAD_INDEX_RANGE_INVALID The syntax of the index range parameter is

invalid. 0x80AF0000 -2136014848 BAD_INVALID_STATE The operation cannot be completed because

the object public String getValue() { return val-ue; }is closed.

0x80020000 -2147352576 BAD_INTERNAL_ERROR An internal error occurred as a result of a pro-gramming or configuration error.

0x804F0000 -2142306304 BAD_SERVER_URI_INVALID The ServerUri is not a valid URI. 0x803E0000 -2143420416 BAD_NOT_FOUND A requested item was not found or a search

operation ended without success. 0x80860000 -2138701824 BAD_SECURE_CHANNEL_CLOS

ED The secure channel has been closed.

Page 117: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Appendix A.2 Quality code settings

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 117

Quality code (hex)

Quality code (dec)

Short description Long description

0x809B0000 -2137325568 BAD_NO_DATA No data exists for the requested time range or event filter.

0x809D0000 -2137194496 BAD_DATA_LOST Data is missing due to collection start-ed/stopped/lost.

A.2.3 Quality codes Modbus protocol The following table shows the possible quality codes for devices that use the Modbus protocol:

Quality code (hex)

Quality code (dec)

Short description Long description

0x00000000 0 Good No error occurred 0x80050000 -2147155968 Communication error Modbus connection reset for connection

0x80310000 -2144272384 No communication Communication with the data source is defined

but not established and there is no last known value available

0x803A0000 -2143682560 Not readable The access level does not allow reading or subscribing to the node

0x80790000 2139553792- No subscription There is no subscription available for this ses-sion

0x80AB0000 2136276992- Invalid argument One or more arguments are invalid 0x80AB0000 1413122144- Internal error One or more arguments are invalid 0x809E0000 2137128960- Data unavailable Expected data is unavailable for the requested

time range due to an unmounted volume, an offline archive or tape, or similar reason for temporary unavailability

0x809F0000 -2137063424 Entry exists The data or event was not successfully updated because no matching entry exists

0x803C0000 2143551488- Out of range The value was out of range 0x80270000 2144927744- Session not activated The session cannot be used because Acti-

vateSession has not been called 0x808B0000 2138374144- Device failure There has been a failure in the device/data

source that generates the value that has affect-ed the value

0x803D0000 -2143485952 Not supported The server cannot retrieve a bound for the variable

0x80630000 -2140995584 Type definition invalid The type definition node ID does not reference an appropriate type node

0x800D0000 2146631680- Server not connected The operation could not complete because the client is not connected to the server.

0x80730000 -2139947008 Write not supported The server does not support writing the combi-nation of value status and timestamps provided

Page 118: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Appendix A.2 Quality code settings

Getting Connected to MindSphere 118 Getting Started, 04/2020, V1801.Apr/2020.1

A.2.4 Quality codes SIMATIC I/O Shield The following table shows the possible quality codes for SIMATIC I/O Shield devices:

Quality code (hex)

Quality code (dec)

Short description Long description

0x00000000 0 Good No error occurred 0x80050000 -2147155968 Communication error Modbus connection reset for connection 0x802A0000 2144731136- Request header invalid Correct HTTP Status Code when rejecting a

request because User-Agent header is invalid 0x80330000 2144141312- Node Id invalid AIO/GPIO instance is not valid 0x803E0000 2143420416- Not found A requested item was not found 0x80AB0000 2136276992- Invalid argument There is an error with one or more arguments 0x80020000 2147352576- Internal error An internal error occurred. Please check pro-

gramm or configuration 0x80030000 2147287040- Out of memory Not enough memory for operation 0x00BA0000 12189696 Good results may be incomplete The server should have followed a reference to

a node in a remote server but did not. The re-sult set may be incomplete

0x80730000 -2139947008 Write not supported The server does't support writing the combina-tion of the given values

0x801F0000 2145452032- User access denied User does not have permission for requested operation

0x805E0000 2141323264- Node Id exists Board info file does not exist 0x80B60000 2135556096- Syntax error Syntax error

A.2.5 Quality codes SYSTEM protocol The following table shows the possible quality codes for devices that use the SYSTEM adapters:

Quality code (hex)

Quality code (dec)

Short description Long description

0x00000000 0 Good No error occurred 0x803A0000 -2151284736 Not readable The access level does not allow the operation

to the Node (reading or subscribing)

Page 119: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Appendix A.3 Technical specifications of MindConnect Nano

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 119

A.2.6 Quality codes Rockwell protocol The following table shows the possible quality codes for devices that use the Rockwell protocol:

Quality code (hex)

Quality code (dec)

Short description Long description

0x00000000 0 Good No error occurred 0x80010000 -2147418112 Unexpected error An unexpected error occured 0x80020000 -2147352576 Internal error An internal error occured 0x80030000 -2147287040 Out of memory Not enough memory for operation 0x80050000 -2147155968 Communication error Connection to device failed 0x80090000 -2146893824 Unknown response Received an unsolicited message 0x800A0000 -2146828288 Timeout The operation timed out 0x800B0000 -2146762752 Service unsupported Service is not supported 0x800F0000 -2146500608 Nothing to do Nothing to send 0x801F0000 -2145452032 Access denied User does not have permission for requested

operation 0x80330000 -2144141312 Invalid tag Requested item (tag) is not known 0x805E0000 -2141323264 Node does not exist Info file does not exist 0x80630000 -2140995584 Invalid type definition The type definition does not reference an ap-

propriate type 0x80740000 -2139881472 Type mismatch Data type is not supported 0x80780000 -2139619328 Too many publish requests Pending buffer is full 0x80840000 -2138832896 Request interrupted Request interrupted 0x80850000 -2138767360 Request timeout Receive timeout occured 0x80B10000 -2135883776 No data available No more data available 0x80B60000 -2135556096 Invalid syntax Syntax error 0x80B80000 -2135425024 Request too large Buffer is too small 0x80CE0000 -2133983232 Invalid response Received an invalid reply

A.3 Technical specifications of MindConnect Nano Functions Field protocol – S7 Siemens S7 (for S7-3xx / S7-4xx / S7-12xx/ S7-15xx / ET-200s PLCs) Field protocol – OPC UA Part 8 of the OPC UA specification (Data Access) Configuration of data collection With Asset Manager in MindSphere Data buffering Up to 500 MB buffering space for collected data Proxy support Yes DHCP support Yes Security Connection outbound via HTTPS on port 443 to MindSphere only; no incoming con-

nection accepted SSL/TLS encryption of data in transit to MindSphere

Page 120: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Appendix A.3 Technical specifications of MindConnect Nano

Getting Connected to MindSphere 120 Getting Started, 04/2020, V1801.Apr/2020.1

Supply voltage Type of supply voltage 24 V Current consumption max. 1.8 A at 24 V Mains buffering Mains/voltage failure stored energy time

20 ms

Interfaces USB port 1x USB 3.0 / 3x USB 2.0 PCIe slot 1x PCIe x1 (Disabled) serial interface 1x COM (Disabled) Video interfaces Graphics interface 1x DisplayPort (Disabled) Industrial Ethernet Industrial Ethernet interface 2x 1000 Mbit RJ45

Monitoring functions Status LEDs Yes Fan No

EMC Interference immunity against discharge of static electricity Interference immunity against dis-charge of static electricity

±6 kV contact discharge acc. to IEC 61000-4-2; ±8 kV air discharge acc. to IEC 61000-4-2

Interference immunity to cable-borne interference Interference immunity on supply cables

• ±2 kV acc. to IEC 61000-4-4, burst; ±1 kV acc. to IEC 61000-4-5, surge symmet-ric;

• ±2 kV acc. to IEC 61000-4-5, surge asymmetric;

Interference immunity on signal cables >30m

• ±2 kV acc. to IEC 61000-4-5, surge, length > 30 m;

Interference immunity on signal cables < 30m

• ±1 kV acc. to IEC 61000-4-4; burst; length < 3 m; • ±2 kV acc. to IEC 61000-4-4; burst; length > 3 m;

Interference immunity against voltage surge asymmetric interference ±2 kV acc. to IEC 61000-4-5, surge asymmetric symmetric interference ±1 kV acc. to IEC 61000-4-5, surge symmetric Interference immunity against high-frequency electromagnetic fields Interference immunity against high frequency radiation

• 10 V/m for 80 - 1000 MHz and 1.4 - 2 GHz, 80% AM acc. to IEC 61000-4-3; • 3 V/m for 2 - 2.7 GHz, 80% AM acc. to IEC 61000-4-3; • 10 V/m for 10 kHz - 80 MHz, 80% AM acc. to IEC 61000-4-6

Interference immunity to magnetic fields

Page 121: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Appendix A.3 Technical specifications of MindConnect Nano

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 121

EMC Interference immunity to magnetic fields at 50 Hz

100 A/m; to IEC 61000-4-8

Emission of conducted and non-conducted interference Interference emission via line/AC current cables

EN 61000-6-3, EN 61000-6-4, CISPR 22 Class B, FCC Class A

Degree and class of protection IP (at the front) IP20 IP (rear) IP40 Standards, approvals, certificates CE mark Yes UL approval Yes UL 508 Yes cULus Yes RCM (formerly C-TICK) Yes KC approval Yes EMC CE, EN 61000-6-4:2007, EN 61000-6-2:2005 EN 61000-6-2 Yes Dust protection Protection against foreign bodies > 1 mm FCC Yes Marine approval Germanischer Lloyd (GL) Yes American Bureau of Shipping (ABS)

Yes

Bureau Veritas (BV) Yes

Ambient conditions Ambient temperature during operation Ambient temperature during opera-tion

0 °C up to 60 °C

min. 0 °C max. 60 °C Ambient temperature during storage/transportation min. -20 °C max. 60 °C Relative humidity Relative humidity Tested according to IEC 60068-2-78, IEC 60068-2-30: Operation: 5% to 80% at 25

°C (no condensation), Storage: 5% to 95% at 25 °C (no condensation) Vibrations Vibration load in operation Tested to DIN IEC 60068-2-6: 10 Hz to 58 Hz: 0.075 mm, 58 Hz to 200 Hz: 9.8 m/s²

(1 g)

Page 122: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Appendix A.4 Technical specifications of MindConnect IoT2040

Getting Connected to MindSphere 122 Getting Started, 04/2020, V1801.Apr/2020.1

Ambient conditions Shock testing Shock load during operation Tested according to IEC 60068-2-27: 150 m/s², 11 ms

Software MindConnect Software Pre-installed MindConnect Software

Dimensions Width 191 mm Height 100 mm Depth 60 mm

A.4 Technical specifications of MindConnect IoT2040 Functions Field protocol – S7 Siemens S7 (for S7-3xx / S7-4xx / S7-12xx/ S7-15xx/ ET-200s PLCs) Field protocol – OPC UA Part 8 of the OPC UA specification (Data Access) Configuration of data collection With Asset Configuration tool in MindSphere Data buffering Up to 500 MB buffering space for collected data Proxy support Yes DHCP support Yes Security Connection outbound via HTTPS on port 443 to MindSphere only; no incoming con-

nection accepted SSL/TLS encryption of data in transit to MindSphere

Installation type/mounting Design IoT Gateway, built-in unit Mounting DIN rail, wall mounting

Supply voltage Type of supply voltage DC 9…36 V, no galvanic isolation Mains buffering Mains/voltage failure stored energy time

5 ms

Interfaces USB port 1x USB 2.0, 1x USB client Connection for keyboard/mouse USB / USB

Page 123: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Appendix A.4 Technical specifications of MindConnect IoT2040

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 123

Interfaces serial interface 2x COM ports (RS 232, RS 485) Industrial Ethernet Industrial Ethernet interface 2 x Ethernet (RJ45) 100 Mbps Yes 1000 Mbps No

Monitoring functions Watchdog Yes Status LEDs Yes

EMC Interference immunity against discharge of static electricity Interference immunity against dis-charge of static electricity

±4 kV contact discharge acc. to IEC 61000-4-2; ±8 kV air discharge acc. to IEC 61000-4-2

Interference immunity against high-frequency electromagnetic fields Interference immunity against high frequency radiation

• 10 V/m for 80 - 1000 MHz, 80% AM acc. to IEC 61000-4-3; • 3 V/m for 1.4 - 2 GHz, 80% AM acc. to IEC 61000-4-3; • 1 V/m for 2 - 2.7 GHz, 80% AM acc. to IEC 61000-4-3; • 10 V for 150 kHz - 80 MHz, 80% AM acc. to IEC 61000-4-6;

Interference immunity to cable-borne interference Interference immunity on supply cables

• ±2 kV acc. to IEC 61000-4-4, burst; • ±1 kV acc. to IEC 61000-4-5, surge symmetric; • ±2 kV acc. to IEC 61000-4-5, surge asymmetric;

Interference immunity on signal cables >30m

±2 kV acc. to IEC 61000-4-5, surge, length > 30 m

Interference immunity on signal cables < 30m

±2 kV in accordance with IEC 61000-4-4, burst, length > 30 m

Interference immunity against voltage surge Asymmetric interference ±2 kV acc. to IEC 61000-4-5, surge asymmetric Symmetric interference ±1 kV acc. to IEC 61000-4-5, surge symmetric Interference immunity to magnetic fields Interference immunity to magnetic fields at 50 Hz

100 A/m; to IEC 61000-4-8

Emission of conducted and non-conducted interference Emission of conducted and non-conducted interference

EN 61000-6-4:2007 +A1:2011

Degree and class of protection IP (at the front) IP20 Standards, approvals, certificates

Page 124: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Appendix A.4 Technical specifications of MindConnect IoT2040

Getting Connected to MindSphere 124 Getting Started, 04/2020, V1801.Apr/2020.1

Degree and class of protection Approval CE (industry), UL, cULus CE mark Yes UL approval Yes cULus Yes KC approval Yes EMC • CE

• EN 61000-6-4:2007 +A1:2011 • EN 61000-6-2:2005 • EN 61000-6-3:2007 +A1:2011 • EN 61000-6-1:2007

Ambient conditions Ambient temperature during operation Ambient temperature during opera-tion

0 °C to 50 °C

min. 0 °C max. 50 °C Relative humidity Relative humidity • Tested according to IEC 60068-2-78

• IEC 60068-2-30: Operation: 5 % to 85 % at 30 °C (no condensation) • storage / transport: 5 % to 95 % at 25 / 55 °C (no condensation)

Vibrations Vibration load in operation Tested according to IEC 60068-2-6: 5 Hz to 9 Hz: 3.5 mm; 9 Hz to 200 Hz: 9.8 m/s² Shock testing Shock load during operation Tested according to IEC 60068-2-27: 150 m/s², 11 ms

Software MindConnect Software Pre-installed MindConnect Software

Dimensions Width 144 mm Height 90 mm Depth 53 mm

Page 125: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Appendix A.5 Offline buffer

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 125

A.5 Offline buffer In order to calculate the buffer time for MindConnect Nano or MindConnect IoT2040 you can use the following formula:

MindConnect Nano data buffer is 500 MB. When the buffer is at full capacity, the new incoming data will overwrite the oldest data.

The following example shows the buffer time for a MindConnect Nano with 500 MB data buffer:

In this case, 120 bytes is the memory needed for one data point.

A.6 Read performance MindConnect Elements All MindConnect Elements have a clear limitation on soft limits(unmonitored number of data points and data connections). The only fixed limit is 1050 data points. Within the soft limits, you can configure data connections and data points without reaching the limits. For 250 datapoints read per second, the upload bandwidth should be at least 0.5 MB/s.

The following describes how to proceed if you want to exceed these limits.

Tested MindConnect limits MindConnect Nano MindConnect IOT2040 Max mount of data points can be con-figured (Fix)

1050 1050

Data points OPC UA / S7 / Modbus TCP (read per second)

250 30

Connections to data providers 30 5 String data points 10 3 Data points - Modbus RTU RS485 / RS422 - 9,6 kBd

20 15

Data points - Modbus RTU RS485 / RS422 - 19,2 kBd

35 20

Data points - Modbus RTU RS485 / RS422 - >= 38,4 kBd

80 30

Data points - Modbus RTU RS232 - 57,6 kBd

40 30

Page 126: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Appendix A.6 Read performance MindConnect Elements

Getting Connected to MindSphere 126 Getting Started, 04/2020, V1801.Apr/2020.1

Adaptions of the limits Subsequently listed are the parameters the influence the read performance of a MindConnect Element. By varying one of these parameters all others will be affected as well. These are the variables:

● Performance of MindConnect hardware

● Number of connections to data providers

● Type of connection to providers (S7 / OPC UA / Modbus / ...)

● Amount of data points per second

● Type of data points (String or no string)

● Performance of data provider (PLC, OPC Server)

Note

Reading data from a data provider will always cause an effect on it. The performance of the data provider (PLC / OPC Server / Modbus) is one of the most important limiting factors. If more devices (e.g. OPC server, HMIs, SCADA systems,...) are connected to this data provider (e.g. PLC) the reading cycle can rise.

Example calculations (MindConnect Nano) ● It can be possible to read 300 data points per second out of a PLC. This is possible if the

PLC is powerful and just one data provider is used.

● It can be possible to read 1000 data points out of 30 data providers if the reading cycle will be switched to 4sec.

● It can be possible to read out of 35 data providers if you just read 200 data points per second.

Note

To make sure a configuration works for your setup it needs to be monitored over a longer period of time.

System Test results The following tables show how long it takes to read a data item from one of the devices. These are not fixed values but an indication of how the devices would react.

Page 127: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Appendix A.7 Firewall Settings

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 127

MindConnect NANO Type MS per data point read

Min Mid Max S7 300 1,13 1,74 3,08 S7 1500 0,37 1,60 3,89 S7 1200 3,50 5,18 7,50 S7 ET200S CPU 0,89 2,09 3,71 OPC UA @ PC1) 2,38 6,64 8,53 OPC UA@ PLC 2,66 3,27 4,69

1) OPC UA @ PC always depends on the hardware.

● Read of a string data point you have to multiply the time with 2,5 per data point

● All devices are around 75% full

MindConnect IOT2040 Type MS per data point read

Min Mid Max S7 300 2,10 4,28 6,61 S7 1500 3,73 4,54 5,22 S7 1200 6,29 6,72 7,11 S7 ET200S CPU 1,92 5,01 8,33 OPC UA @ PC OPC UA@ PLC 4,42 5,50 7,66

● Read of a string data point you have to multiply the time with 2,5 per data point

● All devices are around 75% full

A.7 Firewall Settings It is recommended to use a firewall between the Internet and the MindConnect Elements, this is also recommended for communication to the automation network.

In the direction to Automation Network a firewall supporting NAPT (in case of DMZ, see section “List of abbreviations”) or supporting the “Ghost-Mode” is required. Siemens offers many types of Firewalls for fulfilling these requirements.

Page 128: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Appendix A.7 Firewall Settings

Getting Connected to MindSphere 128 Getting Started, 04/2020, V1801.Apr/2020.1

① Corporate / Office Network with route to the internet or direct internet access, e.g. via a DSL modem ② Production / Machine Network

Page 129: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Appendix A.8 ESD guideline

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 129

“Ghost-Mode”, also known as “Transparent Mode”, is used to protect individual, event alternating, devices by dynamically taking over the IP address.

A.8 ESD guideline

What does ESD mean? An electronic module is equipped with highly integrated components. Due to their design, electronic components are highly sensitive to overvoltage and thus to the discharge of static electricity. Such electronic components or modules are labeled as electrostatic sensitive devices.

The following abbreviations are commonly used for electrostatic sensitive devices:

● ESD – Electrostatic sensitive device,

● ESD – Electrostatic Sensitive Device as a common international designation.

Electrostatic sensitive devices can be labeled with an appropriate symbol.

NOTICE

Damage to ESD from touch

Electrostatic sensitive devices, ESD, can be destroyed by voltages which are far below the human perception limit. If you touch a component or electrical connections of a module without discharging any electrostatic energy, these voltages may arise.

The damage to a module by an overvoltage can often not be immediately detected and only becomes evident after an extended period of operation. The consequences are incalculable and range from unforeseeable malfunctions to a total failure of the machine or system.

Avoid touching components directly. Make sure that persons, the workstation and the packaging are properly grounded.

Charge Every person without a conductive connection to the electrical potential of his/her surroundings can be electrostatically charged.

The material with which this person comes into contact is of particular significance. The figure shows the maximum electrostatic voltages with which a person is charged, depending on humidity and material. These values conform to the specifications of IEC 61000-4-2.

Page 130: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Appendix A.8 ESD guideline

Getting Connected to MindSphere 130 Getting Started, 04/2020, V1801.Apr/2020.1

① Voltage ② Synthetic materials ③ Wool ④ Antistatic materials such as wood or concrete ⑤ Relative humidity

NOTICE

Grounding measures

There is no equipotential bonding without grounding. An electrostatic charge is not discharged and may damage the ESD.

Protect yourself against discharge of static electricity. When working with electrostatic sensitive devices, make sure that the person and the workplace are properly grounded.

Page 131: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Appendix A.9 Return of defect hardware

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 131

Protective measures against discharge of static electricity ● Disconnect the power supply before you install or remove modules which are sensitive to

ESD.

● Pay attention to good grounding:

– When handling electrostatic sensitive devices, make sure that persons, the workstation and devices, tools and packaging used are properly grounded. This way you avoid static discharge.

● Avoid direct contact:

– As a general rule, do not touch electrostatic sensitive devices, except in the case of unavoidable maintenance work.

– Hold the modules at their edge so that you do not touch the connector pins or conductor paths. This way, the discharge energy does not reach and damage the sensitive components.

– Discharge your body electrostatically before you take a measurement at a module. Do so by touching grounded metallic parts. Always use grounded measuring instruments.

A.9 Return of defect hardware In case of a defect or corrupted hardware you can find contacts and information under the following links:

Spare part services In case of a defect or corrupted hardware you can find detail information in the SIOS Article - Spare Parts Services (https://support.industry.siemens.com/cs/sc/2110/spare-parts-services?lc=en-WW).

Delivery of spare parts For ordering, provision and delivery of spare parts you can find more information in the SIOS Article - Delivery of Spare Parts. (https://support.industry.siemens.com/cs/sc/2112/ordering-provision-and-delivery-of-spare-parts?lc=en-WW)

Siemens Contact Database You can find your personal contact for spare parts in the Siemens Contact Database (https://www.automation.siemens.com/aspa_app/?cntryid=DE&comptcid=e&lang=en).

Page 132: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Appendix A.10 List of abbreviations

Getting Connected to MindSphere 132 Getting Started, 04/2020, V1801.Apr/2020.1

A.10 List of abbreviations Abbreviation Description DMZ Demilitarized Zone (referred to a perimeter network) GUI Graphical User Interface HTTPS Hyper Text Transfer Protocol Secure IoT Internet of things IoT2040 MindConnect IoT2040 IP Internet Protocol LAN Local Area Network MCN MindConnect Nano MSU MindSphere Unit NAPT Network Address and Port Translation OEM Original Equipment Manufacturer OPC UA Open Platform Communications Unified Architecture PC Personal Computer S7 STEP 7 UI User Interface

Page 133: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 133

Glossary

Aspect Aspects are a data modeling mechanisms for assets. Aspects group the data points based on logical sense. For example: The pump skid has an aspect e.g. “Energy_consumption” that contains the data points: "power", "current", "voltage" etc.

Aspect is specified in Asset Manager and its name can be freely chosen, but should bring together a logical grouping of data points and a physical asset.

Asset An asset is a digital representation of a machine or an automation system with one or multiple automation units (e.g. PLC) connected to MindSphere.

MindSphere data collection and data provisioning is based on so called (virtual) assets. This can be anything such as a pump, motor, PLC, an entire tool machine, a production line, a robot, a crane, a car, a wind turbine and so on. The data of an asset is collected and sent to MindSphere to make that data available for further processing and analytics.

Asset Identifier Asset Identifier is an identifier assigned by the manufacturer of the device, to which MindConnect Nano will be connected. After the onboarding process, MindConnect Nano is connected to this device. The serial number identifies the asset to which the data belongs.

Asset Manager Asset Manager is a Web Graphical User Interface for asset configuration. According to these configurations, the following functions are available:

Asset Configuration: assets can be created, onboarded, modified, moved, offboarded or deleted.

Asset type Asset type is a sort or kind of a product line made by one manufacturer.

Components Components represent built-in functionality in MindSphere. Components are:

● Asset Manager

● Fleet Manager

● Settings

● UTC Reporting

Page 134: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Glossary

Getting Connected to MindSphere 134 Getting Started, 04/2020, V1801.Apr/2020.1

For the complete list and description of Components, refer to the “MindSphere” documentation.

Data point Data points refer to elements (variables), which allow values to be obtained from data sources (OPC UA or S7 etc.). They are combined into a relevant aspect. For example, “temperature” and “torque” are data points of an aspect “Energy_consumption”.

Data points are configured in "Asset Manager”. In “Fleet Manager”, their values are visualized as time series.

Data source A data source is a physical element of a device, which can be monitored by MindSphere.

For example: OPC UA Server, S7.

Event In "Fleet Manager", an event is a change of a datapoint state. Events are used for the requests. With a rule it is possible to define the request, which will be created in MindSphere when the event is triggered.

Besides the monitoring rule, a description of event (e.g. “The limit is exceeded, this may indicate damage in the pump”), the resulting action (e.g. “Please contact your hotline”) and priority (urgent, important or info) can be lodged.

See also “request”, “rule".

Fleet Manager Fleet Manager is a visualization tool which provides an overview of existing assets and their information (asset name, customer name, location). Fleet Manager displays your configured asset, aspects with datapoints in charts and list of all requests etc.

Last Connection "Last Connection" status in “Asset Manager” gives the information, when a MindConnect Element was online for the last time.

MindConnect Element MindConnect Elements are devices for transferring data and allow connectivity to MindSphere such as MindConnect Nano, MindConnect IoT2040 or MindConnect FB.

MindSphere MindSphere is the Siemens Industrial IoT operation system comprising the core cloud services and applications, whereas the MindConnect Element provides secure and easy connectivity from the field or machine to MindSphere. In MindSphere, submitted data by a

Page 135: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Glossary

Getting Connected to MindSphere Getting Started, 04/2020, V1801.Apr/2020.1 135

MindConnect Element is processed and stored for analysis and further management purposes.

For more information, refer to the “MindSphere” documentation.

MindSphere Launchpad MindSphere Launchpad is the entry point for components as well as for available applications.

Online/Offline Mode in Asset Manager Online indicates internet connection, when the MindConnect Nano/IoT2040 sends the data to the server. Offline mode means the absence of the internet connection and the MindConnect Nano/IoT2040 is no longer able to send data to the server.

Organization Organization is the part of hierarchical asset configuration in Asset Manager. Within organization, areas/assets are specified.

As the administrator (OEM), you manage organizations, their customers and assets. As the user of an organization, you can access the assets assigned only to this organization.

In the context of MindSphere, an organization can be anything and is defined by the administrator depending on their requirements: customer, cost center, branch etc.

Request Requests are the messages which log asset incidents based on predefined rules.

You can create manual requests as well as requests for the regular acquisition of measured quantities with measuring series.

See also “event", "rule".

Rule With rules you can configure an automatic monitoring of datapoints on events. For example, a request will be created automatically by the system, if a value exceeds or falls below a threshold (edge trigger).

See also “event", "request".

Settings Settings is a Web Graphical User Interface for user, organization and role configuration.

Time series Time series is a sequence of measurements which are produced by data sources over time. Analysis and visualization tools (e.g. Fleet Manager) can retrieve collected time series and

Page 136: Getting Connected to MindSphere · Introduction 3 Overview of MindConnect Elements 4 Mounting and installing ... Onboarding MindConnect Elements 7 Configuring data in Asset Manager

Glossary

Getting Connected to MindSphere 136 Getting Started, 04/2020, V1801.Apr/2020.1

present it to the user after processing. In Asset Manager, the measurements, that have to be collected, can be specified.