MindSphere: Getting Started
MindSphere: Getting Started
Safety Notes 2
Introduction 3
MindSphere
Overview of MindConnect
Elements 4
Getting Connected to MindSphere User roles and scopes in
"Getting Connected to 5
MindSphere"
Configuring protocols 10
Firmware update for
Mindconnect Nano / IOT 11
2040
Remote functions 12
Visual analysis of assets in
Fleet Manager 13
Appendix A
08/2022
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.
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.
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.
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.
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.
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 236).
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.
For MindConnect Software Agent in Docker MindSphere provides an automatic update process
through the Firmware Update Mechanism only of functionality and libraries. To update the base
image a new version is provided for manual download. The customer has to install it manually
according to the initial installation process.
To stay informed about product updates, subscribe to the Siemens Industrial Security RSS Feed
under: http://www.siemens.com/industrialsecurity.
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.
Convention
The term “device” is used to refer to MindConnect Nano, MindConnect IoT2040 and
MindConnect Software Agent.
The configuration parameters should be extracted out of the text or tables
and depend respectively on the needs and constellation of the individual system.
See also
MindSphere Documentation Area (http://documentation.mindsphere.io)
MindSphere
MindSphere components Your applications
send data
MindConnect
collect data
Your system
Requirements
• Internet connection and newest version of your internet browser (e. g. Google chrome or
Firefox) for online user interface
• Internet connection for MindConnect Element devices.
• Provide standard HTTPS capabilities for MindConnect Elements - 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
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.
Data model
The following graphic shows the data model in Asset Manager:
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 65): Onboarding is the process of attaching a MindConnect Element to
MindSphere.
• Data mapping (Page 136): Data mapping matches variables of an aspect with the respective
data points of a data source.
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 226).
The following graphic shows the MindConnect Nano:
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 229). The following graphic shows the MindConnect IoT2040:
By default, these roles are not enabled on the tenant. To enable these roles you need to navigate
to the "Settings" app.
In "Settings" app, click on "Roles" tab and click to enable the new roles. For more information,
refer to the "Roles" chapter in the "Settings" documentation.
Note
In case of role change, you need to logout and login. It might take up to 15 minutes for the
current configuration to be effective depending on the system.
5. Check the content of the packaging and any accessories you may have ordered for
completeness and damage.
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.
Note
Mounting and installing process is applicable for MindConnect Nano and MindConnect IoT2040.
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.
Note
> 50 °C: Install in RAL
RAL = Restricted Access Location - e.g. a lockable cabinet
Note
Maximum height
The maximum altitude to install MindConnect Nano is 4000 m.
0
PPt
7
Note
> 50 °C: Install in RAL
RAL = Restricted Access Location - e.g. a lockable cabinet
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.
Mounting on rails
Wall mounting
LED lights
The LED lights status provide information on efficient self-diagnostics. The following graphics
show the LED lights of the MindConnect Nano:
You can find more information about LED error codes in section Troubleshooting (Page 38).
LED lights
The LED lights provide information on the status of the device for efficient self-diagnostics.
The following table describes the device behavior associated when a different USER LED status
is displayed
You can find more information about LED error codes in section Troubleshooting (Page 38).
6.4.3 Troubleshooting
Prerequisites
• A MindConnect device e.g. MindConnect Nano or MindConnect IoT2040
• A fat32 formatted USB stick
Procedure
To use a USB command, proceed as follows:
1. Make sure your USB stick is fat32 formatted.
2. Create a file named “ConBox_Commands.json” directly on the USB stick.
3. Open the “ConBox_Commands.json” file in a text editor.
4. Enter one of the "JSON Code" commands that you want to execute.
5. Save the changes to the "ConBox_Commands.json".
6. Plug the USB STick into the MindConnect device.
The LEDs should directly indicate that it is reading the USB. You can find more information in
the LED lights of MindConnect Elements (Page 34) chapter.
Note
For the MindConnect IoT2040 it can take up to 15 minutes to collect all files.
Note
To store the file locally, disable the log file upload.
"NewTime": "2017-09-19T12:34:56"
}
]
}
Note
You have to set to the current UTC (Coordinated Universal Time) time.
Parameter Description
EnableUpload true: enable log file upload
false: disable log file upload
Note
Changing log upload by USB command will not be synchronized with the asset’s device
configuration on MindSphere side.
The network and BoxMgr settings will be reset to their initial state on MindConnect Nano/
IoT2040. All BoxMgr and MERS logging files and temporary files will be then deleted. At the end
the MindConnect device will be restarted automatically.
Note
Offboard the asset and device before factory reset execution and perform the factory reset. After
the execution, the asset and device should be onboarded again.
Note
The Unique ID has to be replaced with the serial number of the device
You can find more information on how to set a MindConnect Element to factory settings in
chapter Manual firmware update of MindConnect Element (Page 203)
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 Code:
{
"Commands": [
{ "Cmd":"RestrictDeviceConfiguration",
"networkInterfaces": [
{
"name": "WebInterface",
"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)
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.
Check network
Command description
To find out, if the MindConnect device is successfully connected to MindSphere using the current
onboarding configuration, a ConBox_Commands.json file containing "CheckNetwork"
command on an USB stick can be used. After the network analysis has been performed, the
analysis result will be written to the USB stick.
Depending on the current network situation, it might be possible that the execution of all
internally executed tests will take some minutes.
Note
This command is available from the version MindConnect Nano/IoT2040 firmware V03.04.02.10
b003.
CheckNetwork command
Using following JSON command in a ConBox_Commands.json file, a network analysis will be
performed and the result will be written to the USB stick:
{
"Commands": [
{
"Cmd": "CheckNetwork",
"NetworkChecks": [
{
"CheckCloudConnection": "true"
}
]
}
]
}
Parameter Description
CheckCloudConnection • true: Cloud connection check will be executed.
• false: Cloud connection check will not be exe‐
cuted.
NetworkChecks • List of checks that have to be executed.
• Currently CheckCloudConnection check is avail‐
able only.
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 32).
• 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.
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.
– The graphic demonstrates the steps how to connect the power supply for MindConnect
IoT2040:
– For MindConnect IoT2040, switch on the power supply. The graphic shows the “PWR” LED
lights up green.
3:5
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 38) for more
information about LED messages.
If you are trying to login from the firewall backend, you need *.eu1.mindsphere.io and in
addition a MindSphere Interactive Login Page URL is required, example
"diswlogin.siemens.com". The below given links are the examples for interactive logins in the
browser for agents or application starting with *.eu1.mindsphere.io:
• https://*.industrysoftware.automation.siemens.com
• https://identity.industrysoftware.automation.siemens.com
• https://www2.industrysoftware.automation.siemens.com
• https://content.industrysoftware.automation.siemens.com
• https://identityapi.industrysoftware.automation.siemens.com
• https://ws-apip.industrysoftware.automation.siemens.com
• https://cdn.auth0.com
• https://diswlogin.siemens.com
• https://static.mentor-cdn.com
To communicate agent only, you will only need the “southgate.eu1.mindsphere.io.
Port exceptions
For region eu2, please add the following port exception to enable the online firmware download:
• https://resources.edge-prod.eu2.mindsphere.io/
① X63 port
② PN/IE LAN X1 P1 port
③ PN/IE LAN X2 P1 port
Figure 7-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).
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.
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.
① X60 port
② PN/IE LAN X1 P1 port
③ PN/IE LAN X2 P1 port
Figure 7-6 Interfaces of MindConnect IoT2040
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.
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.
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.
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:
The following graphic shows the connecting port of the MindConnect IoT2040:
Note
In both scenarios it is important that you set X1 and X2 in different (and not overlapping)
subnets.
Scenario A
The following scenario shows a setup example where each network-port of the MindConnect is
connected to another switch or router.
MindConnect ; ;
Elements
'DWDVRXUFH
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.
Scenario B
This following scenario shows a setup example where both network-ports of the MindConnect,
are connected to the same switch or router.
MindConnect Element ; ;
'DWDVRXUFH
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.
Requirements
• MindConnect Elements 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 Elements 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 for MindConnect
Nano/IoT2040 only.
• You have the role "mdsp:core:TenantAdmin". The user roles are set in Settings.
• MindConnect Software Agent is installed on Windows 10 system which supports Hyper-V.
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 203).
Onboarding Procedure
In order to onboard MindConnect Nano/IoT2040, you must perform the following steps:
1. Login to MindSphere. (Page 66)
2. Create an asset in Asset Manager. (Page 67)
3. Enable connection to MindConnect Element in Asset Manager. (Page 68)
4. Configuring network settings (Page 70)
5. Transfer configuration to MindConnect Element (Page 75).
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.
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:
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.
Result
You have enabled the connection to the MindConnect Element.
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".
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.
Note
• Router gateways can only be added after firmware installation.
Buffer Mechanism
In buffer mechanism, there are two options:
• Default Buffer Mechanism: It provides parallel upload from cache and real time data. It
prioritises newest data to old data while storing (works as a last in, first out (LIFO))
• Chronological Buffer Mechanism: It is chronological upload of data. If "Chronologic Upload"
is selected, the buffer mechanism will prioritise oldest data to new data (works as first in,
first out (FIFO)).
You can configure the buffer behavior from "Network and Diagnostic Settings" screen.
Note
• If the buffer behavior is changed, it will restart the data collection process and this process
will take few minutes.
• Buffer mechanism restricted to MindConnect Nano and IoT 2040.
Note
Data loss
The data collection will be stopped during the time of buffer behavior change. The amount of
data collection is stopped for few minutes, it depends on restart of the device. It may take longer
time on slow devices like, IoT2040.
Note
Chronologic Upload Specification
• If there is a bad network connection or no connection at all, the data is going to be stored in
cache memory. In "Chronologic Upload", overwritten of cache memory is not possible. Only
if there is any space on cache memory, the data is going to be written to it. If the cache
memory reaches out it's limit and filled with data, then the data is not going to be saved on
cache memory. It will cause data loss until some data is uploaded.
• As chronological upload the flow of real data to cloud will take longer time comparing to
default behavior.
• The events are not cached in any case of the disconnection. Therefore, "Chronologic Upload"
is not applicable for the event upload.
Diagnostic Settings
This section contains the configurations related with logging. To perform a diagnostic settings
change, follow these steps:
1. In "Asset" tab, select the asset.
2. Open MindConnect plugin.
3. Click , next to "Onboarding Status".
4. In “Diagnostic Settings” section, make the changes in Auto Log Upload or Log Level.
5. Click “Save”.
Note
If Auto Log Upload is disabled, MindConnect device stops logging and uploading log files.
However, there are some third party applications that keep logging on device. These logs will be
uploaded when Auto Log Upload is enabled again.
Log Levels
Log level represents the log level of MindConnect device. There are five possible log levels, and
the hierarchy is as follows in lowest (TRACE) to highest (ERROR) priority. In “TRACE” mode, the
device will log extensively and in “ERROR” mode device will only log error messages.
The selected log level and logging mechanism works as logging only selected level and the
higher levels.
Log level is set to “INFO” by default.
Note
Auto Log Level Change
• “TRACE/DEBUG” log levels provide more verbose logs which will be helpful to troubleshoot
issues, however they produce more files. If the log level is set to “TRACE/DEBUG”. It will be
automatically changed to INFO after one day.
• Auto log level change operation will not be synchronized with the asset’s device
configuration.
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.
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.
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.
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.
Note
The online and offline firmware updates from V3.5 to V3.6 for MindConnect Software Agent are
not supported. To update the firmware, you need to uninstall MindConnect Software Agent V3.5
current version and install MindConnect Software Agent V3.6 latest version manually using
MindConnect Software Agent InstallShield setup.
Prerequisites
The following prerequisites apply to install MindConnect Software Agent on a Windows PC or IPC
and Docker in Linux:
Note
From the version MindConnect Software Agent V03.06.00.00, the following are the
recommended requirements:
• Memory: mininum 4GB RAM.
• Disk space needed: 15GB.
Features
The following features are supported with MindConnect Software Agent:
Windows Linux
• Install Shield based setup • Shell script based Linux installer
• MindConnect Nano core functionality, except USB stick • Dialog based configuration script for managing MCSA
support Docker containers
• Local web UI • MindConnect Edge Analytics
– Onboarding support • Local web UI
– Shows current device status and information – Onboarding support
– Diagnosis support includes download of diagnosis, – Shows current device status and information
log, and system files – Diagnosis support includes the download of diagnosis,
– Manual firmware update logs and system files and cloud connection check
– Factory reset – Manual firmware update
– Log file upload control – Factory reset
– Change system time support – Log file upload control
– Localization in English and German – Change system time support
• Supported protocols – Localization in "English" and "German"
– S7 • Supported protocols
– OPC UA – S7
– Modbus TCP – OPC UA
– Rockwell (Ethernet/IP CIP) – Modbus TCP
– System information – Rockwell (Ethernet/IP CIP)
– S7+ * – System information
– Fanuc Focas * – S7+ *
– Sinumerik * – Fanuc Focas *
– IEC61850 * – Sinumerik *
– MTConnect * – IEC61850 *
– MTConnect *
Note
• To use these (*) protocols, you need version MindConnect Software Agent V03.06.00.00
b008 and "MC Advanced package".
• Currently Google Chrome or Microsoft Edge web browsers are supported only.
① Navigation menu
② Serial number of the device
③ MindConnect Software Agent overview area
④ Onboarding status
⑤ Network status
⑥ Data source connection status after a data source configuration has been applied in the Mind‐
Sphere asset manager and downloaded to the device
⑦ Current firmware version
Note
Onboarding, network, and data connection statuses shows the current status of the device like
they are shown by the LED states of MindConnect Nano device (This information is not same as
shown in MindSphere Asset Manager).
Navigation menu
On the left side of the UI, there is a menu to navigate between the different tabs:
• Overview
• Onboarding
• Diagnosis
• Maintenance
• Settings
Overview area
The overview area provides following information:
• Onboarding status pane with direct link to onboarding area (only visible if device is not
onboarded).
• Current network status pane.
Onboarding area
Open the onboarding area by clicking the "Onboard your device" link in the overview area, or by
using the "Onboarding" tab in the navigation menu.
Procedure to onboard
To onboard the device, you need to create an asset in the Asset Manager. To create an asset for
your in Asset Manager, see Create Asset (https://documentation.mindsphere.io/resources/html/
asset-manager/en-US/113537813003.html). Once the asset is created, open the UI plugin in
Asset Manager to follow these steps:
1. In Asset Manager, click the MindConnect Software Agent plugin.
– Download firmware: Click download and install the MindConnect Software Agent
firmware.
3. Install and run the MindConnect Software Agent firmware.
Note
• Start MCSA setup.exe, only once at a time.
• The downloaded “setup.exe” file for MCSA installation can be opened with any archiver but
the suggested archiver is “7z”.
Note
HyperV has to be activated on the local host PC.
① Connects to MindSphere
② Connects to the field devices like PLCs
Note
Ensure to use the correct adapter for each connection.
Note
Maximum RAM must be higher than the minimum RAM specification. Recommended is 8GB
as maximum RAM and 4GB as minimum RAM.
Installation completed
After installing MindConnect Software Agent firmware, follow these steps:
1. Restart your PC.
2. Open Hyper-V Manager.
3. Click on virtual machine (MindConnect Software Agent) and click "Connect".
In VM console, information will be displayed (IP Address and Serial Number).
Note
To uninstall MindConnect Software Agent using Windows Control Panel is available from the
version MCSA V03.05.00.01 b004.
Procedure to access the web server URL and onboard the device
To access the web server URL and onboard the device, follow these steps:
1. In browser, open new tab and enter web server URL.
2. In MindConnect Software Agent overview page, copy the "Serial Number (UID)".
3. In MindConnect Software Agent plugin page, paste the "Serial Number" and click "Start
Configuration" and then click to initiate the onboarding process.
4. In Edit MindConnect page, check the settings and download the onboarding key file.
– Click "Select file" to upload the downloaded onboarding key file with the filename
constructed form of serial number.
or
– Copy the text from the onboarding key file and click "Insert JSON content" to paste.
7. Click "Start onboarding".
8. In Edit MindConnect page, click "Save" after the device is onboarded.
9. After the device is succesfully onboarded, you can add data sources and data point mapping.
For more information on adding a data source and data points, see Adding a data source and
data points (Page 132).
To manage and maintain multiple virtual machines (VM's) in MindConnect Software Agent, see
Managing or maintaining the virtual machines or instances in MindConnect Software Agent
(Page 106).
Serial number
The serial number section provides the serial number to copy and paste it to the serial number
field during the asset configuration in MindSphere asset manager.
Configuration status
The status of the onboarding/configuration process will be shown in the "Configuration status"
section.
Note
If the network settings are changed by the new configuration data like a new IP address is
updated, then the MindConnect Software Agent's web browser must be opened again by using
the new IP address of the system. In that case, it might be possible that the diagnosis messages
will be displayed twice in the diagnosis messages section. To resolve the issue, restart the virtual
machine.
2. After the "McsaInstallerLinux.zip" file is downloaded successfully, extract the file on the target
Linux system.
Note
It is recommended to extract it directly on a Linux system so that the file permissions of the
extracted mcsa-installer.sh will remain
Prerequisites
Before installing MCSA Linux installer, check these components are installed on the target
system. Following additional components are currently required to install, configure and run
MCSA on Linux:
• dialog
• docker
• docker-compose
• xz
Furthermore, check if the Docker engine is already running.
If one of these components is not installed or the Docker engine is not running, the installer will
show a message which components are missing and provides the option to exit the installation:
• To install the required components manually, or
• To continue the installation and to install the missing components later
In the latter case, the MSCA components will be extracted to the installation folder, so that the
MCSA installation can be started manually after installing the required components.
Note
Installation of required components
• dialog belongs to ncurses and can be installed by using the Linux package manager (e.g. apt).
• docker should be installed by following the steps described on the Docker installation (https://
docs.docker.com/engine/install/debian/#install-using-the-repository) page.
• docker-compose installation is also described in the Docker documentation (https://
docs.docker.com/compose/install/). Because docker compose plugin is currently not
supported. The docker-compose "Linux Standalone binary" needs to be installed.
• xz can be installed by installing xz-utils using the Linux package manager (e.g. apt).
Note
By default, MCSA installer offers the possibility to install MCSA components in following
folder:
• /opt/siemens/mindsphere/mcsa
This folder will be used, if "enter" is being pressed without entering a file path.
– After entering the file path click "enter", then the installer checks if the folder already
exists. If the folder is already existing, it will offer the possibility to select another folder
or to delete the folder, so that the new MCSA components can be installed there.
– It is also possible to exit the installer at this point to manually remove the already existing
MCSA installation folder, and to start the installer later again.
4. Extract the "mcsa-installer.sh" file to the selected installation folder for MCSA components.
Note
While installing, the Docker engine should not be running, or docker, docker-compose, or xz
should not be installed on the target system, the MCSA installer will end after extracting
MCSA components. After the required components are installed, the “mcsa-install.sh” can be
called manually to load the MCSA Docker image afterwards.
Result
After MCSA installation is finished, the MCSA configuration dialog exits.
After the installation, a message is displayed that “mcsa-config.sh” can be called later again to
create new or maintain existing MCSA Docker containers.
Diagnosis tab
In the navigation menu, click "Diagnosis" tab to open the "Diagnosis" area. It provides following
features:
① Diagnosis messages
② Diagnosis files
③ Network analysis
Diagnosis messages
The "Diagnosis messages" section provides a list of currently stored diagnosis messages in the
web UI of the following components in separate sub-tabs:
• Box manager: Shows current states like onboarding, network connection, or data source
connection states.
• Data provider: Shows diagnosis messages of Modbus TCP, Rockwell and system information
data sources.
Note
Diagnosis messages of OPC UA and S7 data sources are currently not available.
In “Diagnosis messages” section, the last diagnosis message will be displayed. You can download
the previous diagnosis messages from the “Diagnosis files” section.
If the diagnosis messages section is open for a long time, the last 50 diagnosis messages will be
displayed.
With the "Delete messages" button, the internal buffer of the currently visible component's
diagnosis buffer will be deleted.
Diagnosis files
In “Diagnosis files” section, you can download the following kind of diagnosis files:
① Log files
② System files
③ Diagnostic files
To download the diagnosis files, select the checkbox. Thereafter, click "Get files" button to start
the collection and preparation process. When the preparation process completed, the download
buttons will be enabled, and you can the download the created diagnosis file packages by
clicking download buttons.
Note
If the files are not downloaded by the browser, check the download is blocked by the browser and
enable the download for MindConnect Software Agent.
Network analysis
After the test has been executed the following test results will be shown:
• Start and end time of the test in UTC format.
• Current IP addresses of web and production interfaces.
• Result of direct connection test.
• Result of connection test via proxy server if the proxy server is configured in asset manager.
• Proxy server and proxy authentication info if they are configured in asset manager.
After clicking the "Details" button the result log of the executed cloud connection check will be
shown in a dialog. The result log can also be downloaded as a file by clicking the "Result file"
button.
Note
• It might be possible that the execution of the cloud connection check will take some time
depending on the current network configuration.
• This feature is available with MindConnect Software Agent V03.06.00.04 b006 or higher.
Cloud connection status messages are also available in the MCSA tab in the diagnosis messages
section.
Maintenance area
In the navigation menu, click "Maintenance" tab to open the "Maintenance" area. It provides
following features:
• Firmware update
• Factory reset
Firmware update
In “Firmware update” section, a new firmware version can be updated to MindConnect Software
Agent.
Note
Make sure to download the correct fw.tar file from SIOS.
Note
• After the new firmware version has been updated, MindConnect Software Agent system will
be rebooted. It is recommended to close the current browser window or to reload the page
after the reboot.
• It might be possible that the firmware update status does not switch from "started" to
"succeeded" because, the reboot of the system was too fast and the UI did not get success
message. Therefore, in this case the current browser window should be closed or reloaded
after a couple of minutes.
Factory reset
After clicking the "Start" button, a confirmation dialog will be shown before the factory reset will
be executed.
Note
• After the factory reset has been executed, MindConnect Software Agent system will be
rebooted, and it is recommended to close the current browser window or to reload the page
after the reboot.
• Because the network settings will also be reset, it might be possible that the device will get
new IP addresses from the DHCP server. The current IP addresses can be found by opening the
MindConnect Software Agent VM in Hyper-V-Manager or in Docker.
• If the device is onboarded before factory reset execution, the asset needs to be offboarded in
Asset Manager and the device has to be onboarded again.
Settings area
In the navigation menu, click "Settings" tab to open the "Settings" area. It provides following
features:
• Diagnosis
• System
Diagnosis settings
Note
While changing the log upload setting, it will overwrite the log upload settings of the asset’s
device configuration. This change will not be synchronized with the asset’s device configuration.
Diagnostic settings
This section has the configurations related with diagnostics setting such as level of logging.
Log Level
MindConnect Software Agent log level can be set from diagnostic configuration. The five
different values of log levels are
• TRACE
• DEBUG
• INFO
• WARNING
• ERROR.
The behaviour of the logging on the device will be included to the selected level and the upper
log levels only. The lower log levels will not be logged.
Log Upload
Log upload: It means, the device is going to upload logs generated to MindSphere. The log
upload on the device is enabled by default and it is possible to disable this feature. “Upload Logs
Now” triggers the upload of the device log files immediately. This feature triggers the log upload
regardless of the auto log upload status.
System settings
Note
• It is recommended to use Google Chrome for changing the system time, so that the new time
can be updated by using date and time picker which is not supported by all browsers (e.g.
Firefox).
• If you change the system time, this may lead to some abrupt behavior on the data ingested.
File transfer
In "File transfer" section, click "Get state" button to get the current state of the file transfer
service. In this section, following actions can be executed:
• Functionality to transfer files to MindSphere can be enabled or disabled.
• Password can be changed.
• Shared "filetransfer" folder can be cleaned up manually.
Click "Apply changes" button to execute selected actions.
Note
File transfer functionality is available from the version MindConnect Software Agent
V03.06.00.03 b001.
Service enablement
• File transfer service can be enabled or disabled by checking or unchecking the "File transfer
active" check-box.
• By default, this feature is disabled and needs to be enabled first before it can be used.
• First enablement will take some time because further components will be installed on the
system.
Note
• Before disabling the file transfer service, it is recommended to disconnect all network
mappings to the shared "filetransfer" folder.
• File transfer service needs to be enabled and re-configured after the firmware update, if it had
been configured before.
Prerequisites
During first enablement of file transfer feature, it is necessary that following URLs can be
accessed:
• http://ftp.debian.org/debian
• http://security.debian.org/debian-security
Changing password
To access MindConnect Software Agent shared folder, it is necessary to provide a password.
Afterwards, the shared "filetransfer" folder can be mapped as a network drive. For example,
using MindConnect Software Agent's IP address and the user "mindsphere" and the provided
password as credentials.
Example: \\192.168.0.47\filetransfer
Clean folder
If some files cannot be transferred to the upload folder, it is important to clean the shared
"filetransfer" folder manually.
Opening the VM
To open MindConnect-SoftwareAgent VM , start Windows Hyper-V-Manager and connect
MindConnect-SoftwareAgent VM.
Autostart
MindConnect Software Agent's VM will be configured during installation process and
automatically restarts after the restart of Windows host.
System restart
In Windows Hyper-V Manager, restart the MindConnect Software Agent manually. To restart the
VM, click the following button:
System shutdown
In Windows Hyper-V Manager, shut down the MindConnect Software Agent manually. To shut
down the VM, click the following button:
Troubleshooting
MindConnect Software Agent's VM is shut down, before the restart of Windows host
If MindConnect Software Agent's VM is shut down before the restart of Windows host, then the
VM must be started manually again.
Note
Installation of multiple MindConnect Software Agent instances is supported from the version
MCSA V03.05.00.03 b005.
Result
The second instance is succesfully installed.
Note
Multi instances
Only one instance can be modified at a time. If you want to modify another MindConnect
Software Agent instance setup must be started again.
To modify the multiple instances in MindConnect Software Agent, follow these steps:
1. Open "setup.exe" file, click "Yes" to make the changes to the device.
2. In "Maintenance program", select "Modify" and click "Next".
3. Select the installed virtual machine (VM) to be modified from the list and click "Next".
4. Select the generated virtual switches to be modified and click "Next".
5. Configure the virtual machine settings and click "Next".
6. Click "Finish" to modify the virtual machine in MindConnect Software Agent.
Result
The selected virtual machine instance is succesfully modified.
Note
Multi instances
• Only one instance can be repaired at a time! If you want to repair another MindConnect
Software Agent instance setup must be started again.
• During the repair process, the selected MindConnect Software Agent instance's virtual
machine will be configured using the settings which had been applied during its installation
process. Furthermore, the virtual hard disk will be replaced by the original hard disk i.e., all
customer data and settings will be lost and MindConnect Software Agent instance needs to
be onboarded again.
To repair the multiple instances in MindConnect Software Agent, follow these steps:
1. Open "setup.exe" file, click "Yes" to make the changes to the device.
2. In "Maintenance program", select "Repair" and click "Next".
3. Select the installed virtual machine (VM) to be modified from the list click "Next".
4. Select the generated virtual switches to be modified and click "Next".
5. Configure the virtual machine settings and click "Next".
6. Click "Finish" to modify the virtual machine in MindConnect Software Agent.
Result
The selected virtual machine instance is succesfully repaired.
Note
Multi instances
Only one instance can be deleted at a time. If you want to delete the "MindConnect Software
Agent " completely, then every single instance must be deleted. The last instance will deletes the
complete folder structure.
5. Select the list of all installed virtual machines (VM's) to be removed and click "Next".
6. Click "Finish" to remove the virtual machines (VM's) completely from the PC.
Result
The virtual machines (VM's) is succesfully removed or uninstalled.
Note
It is mandatory to execute the MCSA installation with root privileges
• Either, directly as root, or
• By getting root rights using “su” command.
• "mcsa-config.sh" can be started using "sudo" command to execute it with root rights.
If the configuration script is not started as root, a message will be shown to start as root and the
script will be terminated.
It is also necessary to start "mcsa-config.sh" script directly in the MCSA installation folder to make
sure that the internally used files will be available during script execution.
MCSA configuration
After the installation, select the network adapters of the host system which are used by the
MCSA containers as web and production interfaces, if the MCSA configuration is started for the
first time.
These settings are necessary for the static network settings need to be applied via MindSphere
asset manager UI.
Note
• Be aware that MCSA containers directly use the Linux host's network interfaces and selecting
web and production interfaces is only necessary for applying network interface settings via
device configuration in MindSphere asset manager.
• If the Linux host is having further network interfaces, it might be possible that MCSA Docker
containers will communicate with MindSphere and the data sources using these network
interfaces.
• Therefore, it is recommended that only the host's network interface, which is selected as web
interface provided with internet access.
Note
It is mandatory to select Web interface.
You can select a task by using “Up/Down” keys and pressing “Enter” key and you can close the
main menu by selecting "Exit" task.
Note
TCP Ports
• Providing unique TCP ports for every MCSA Docker container is necessary because MCSA
Docker containers run in host network mode of Docker.
• Therefore, after entering the TCP port number value it will be checked, if the port is already
in use on the system.
• Although it is checked, if the entered port number is already in use, it is recommended to
check the currently used ports of the already existing MCSA Docker containers beforehand,
because it might be possible that the already used port is currently not active and therefore,
it is not detected automatically.
• TCP port numbers should be entered in the allowed range (1 ... 65535).
• Because many ports are already standardized and used by other applications and protocols,
port numbers in the upper number range is considered to be used.
• Information about already used and allowed port numbers can be found on following page:
List of TCP and UDP (https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers)
port numbers.
Container name
Note
During creation of the MCSA Docker container an "mcsa_1" postfix will be added to the name of
the container automatically (example: c1_mcsa_1), it is not necessary to add "mcsa" to the name
in this dialog.
HTTP port
MCSA Docker containers are running in host network mode, it is mandatory to define a system
unique TCP port which will be used to access the local web server in the Docker container.
MQTT port
It is also necessary to define a unique MQTT port for every MCSA Docker container.
Confirmation
After all settings are entered and the confirmation to create the new MCSA container is given,
then a new container will be created.
The main menu is displayed again after the new MCSA Docker container is created.
Note
• After creation of an MCSA Docker container, the system will set up internally be which takes
some time. Hence, it is recommended to wait for 2 minutes before trying to onboard the
system, or to create another MCSA container.
• MCSA Docker containers will automatically be restarted after the system restart.
After selecting an MCSA container and click “OK”, following information is displayed:
Select the containers to be started and click “OK” to start the containers.
The start progress is displayed by the following dialog:
After all the selected containers are started, the main menu is displayed again.
After all the selected containers are stopped, the main menu is displayed again.
After all the containers are deleted, the main menu is displayed again.
Network settings
All MCSA Docker containers are running in host network mode only, one MCSA container is
chosen to have static IP addresses in the device configuration, if it is necessary that the IP
addresses of the Linux host system is to be configured by the asset of the chosen MCSA Docker
container.
Note
Requirement
It is necessary that the host network interfaces are configured by the MCSA Docker containers
which are configured with the static IP addresses, otherwise it is possible that another IP address
will be assigned by DHCP during runtime.
Onboarding
In case of MCSA in Docker, the Docker container ID is being used as serial number, because the
ID is quite long to be displayed and reduced in the status area of local MCSA UI.
But for onboarding the complete Docker container ID is displayed as a serial number:
System settings
In the system settings, the file transfer is currently not available, therefore the local MCSA UI will
provide the possibility to change the system time only.
Datasource protocols
System protocol
Following system protocol variables are not supported in MCSA Docker containers:
kernel
• /kernel/osrelease
• /kernel/ostype
• /kernel/version
memory
• /memory/cmafree
• /memory/cmatotal
• /memory/available
network
• /network/pawspassive
• /network/tcpdirectcopyfrombacklog
• /network/tcpdirectcopyfromprequeue
• /network/tcpfackreorder
• /network/tcpforwardretrans
• /network/tcphphitstouser
• /network/tcpprequeued
• /network/tcpprequeuedropped
• /network/tcpschedulerfailed
disk
Affected sub categories:
• persistent
• persistent_appconfig
• persistent_massdata
Local UI
Date & Time picker is not shown to select new system time
Date & Time picker input fields are not supported in all web browsers (e.g. Mozilla Firefox). Use
chromium based browsers like Google Chrome or Microsoft Edge.
Onboarding
Re-onboarding
If the asset has been offboarded in the Asset manager and the device is being onboarded again,
it might be possible that the new onboarding configuration has to be applied twice because the
system will internally offboard first and reboot later. Therefore, the new onboarding
configuration has to be applied again in the local MindConnect Software Agent UI.
Firmware update
8.7.12 Troubleshooting
In this case the setup will end, and the Hyper-V Windows feature has to be enabled in Windows
control panel.
Thereafter restart your Windows, open MindConnect Software Agent setup again.
In this case the setup will end and Windows has to be restarted before MindConnect Software
Agent can be started again.
In this case the setup will end and the hypervisor has to be enabled manually using following
command in a command prompt with adminstrative rights:
bcdedit /set hypervisorlaunchtype auto
Afterwards, Windows has to be restarted before MindConnect Software Agent setup can be
started again.
Asset Manager
In order to configure data in Asset Manager you need to fulfill the following steps:
• Creating an aspect and variables (Page 128)
In this step you create aspects and variables you want to use in MindSphere.
• Creating a type in Asset Manager (Page 130)
In this step you create an asset type to enable data mapping.
• Adding a data source (Page 132)
The data source defines the reading of the data from the MindConnect Element.
• Mapping an aspect to a data source (Page 136)
In this final step you map the data of the MindConnect Element to the aspects and variables
in MindSphere.
Note
You will need to sign-out and resign in case of role changes, depending on the system it might
take up to 15 minutes for the current configuration to be effective.
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"
Result
The new aspect type with its variables is available in the aspect list.
Requirement
• You have created an aspect.
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 128)
6. Enter an aspect name and click "Add".
7. To save the asset type click "Save".
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.
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 149).
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:
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 221).
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 149).
• 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.
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:
Requirement
You have created an asset based on your desired aspect and asset type.
Note
Browser compatibility
Microsoft Edge browser do have some issues with the user interface (e.g. Mapping). Please use
another browser e. g. Chrome or Firefox.
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".
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 130).
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).
Result
The data point is now mapped to the variable.
The following graphic shows a mapped variable:
:LQG7XUELQH1DQR
Prerequisites
The prerequisites to configure the data sources are:
• Asset and aspect are created.
• MindConnect Nano/IoT2040 is connected.
• Prepare a file to import according to the following guidelines.
• Check the structure in the template file. It differs for each plugin type, but similar with its basic
format. The below given example is a basic structure in the template file:
DS; datasource-nameX;datasource-description
DP; dp-name1;dp-description;LONG;dp-unit
DP; dp-name2;dp-description;LONG;dp-unit
DP; dp-name3;dp-description;LONG;dp-unit
DS; datasource-nameX;datasource-description
DP; dp-name1;dp-description;LONG;dp-unit
DP; dp-name2;dp-description;LONG;dp-unit
DP; dp-name3;dp-description;LONG;dp-unit
Procedure
To import the data source configuration for an asset of the type MindConnect Nano/IoT2040,
follow these steps:
1. In the "Assets" tab, click asset. For example, "Wind turbine".
2. In "Connectivity" section, click MindConnect Nano/IoT2040 plugin. For example,
"MindConnect Nano".
3. To configure the data source, click "Configure your data sources" or "Enter edit mode" if the
data source is already created.
Note
• To check the format of the data configuration file before importing the configuration,
download the template file by clicking download template.
• The template file consists of an example data configuration. In the below given
screenshot, the information related to data source and datapoint declarations for S7 and
it can switch to each protocol from the bottom of the file (e.g S7, OPC UA, modbus-tcp,
etc).
• The supported protocols for import and export configurations are S7, OPC UA, Modbus-
TCP, Rockwell and System.
Result
Data source configuration are imported. The new data sources will be available at the asset
details of MindConnect Nano/IoT2040.
Prerequisites
The prerequisites to configure the data sources are:
• Asset and aspect are created.
• MindConnect Software Agent is connected.
• Prepare a file to import according to the following guidelines.
• Check the structure in the template file. It differs for each plugin type, but similar with its basic
format. The below given example is a basic structure in the template file:
DS; datasource-nameX;datasource-description
DP; dp-name1;dp-description;LONG;dp-unit;asset
name1;aspectname1;variablename1
DP; dp-name2;dp-description;LONG;dp-unit;asset
name2;aspectname2;variablename2
DP; dp-name3;dp-description;LONG;dp-unit;asset
name3;aspectname3;variablename3
DS; datasource-nameX;datasource-description
DP; dp-name1;dp-description;LONG;dp-unit;asset
name4;aspectname4;variablename4
DP; dp-name2;dp-description;LONG;dp-unit;asset
name5;aspectname5;variablename5
DP; dp-name3;dp-description;LONG;dp-unit;asset
name6;aspectname6;variablename6
Procedure
To import the data source configuration for an asset of the type MindConnect Software Agent,
follow these steps:
1. In the "Assets" tab, click asset. For example, "Wind turbine".
2. In "Connectivity" section, click MindConnect Software Agent plugin. For example,
"MindConnect Software Agent".
3. To configure the data source, click "Configure your data sources" or "Enter edit mode" if the
data source is already created.
4. To import a file, click "Import configuration".
Note
• To check the format of the data configuration file before importing the configuration,
download the template file by clicking download template.
• The template file consists of an example data configuration with datapoint mappings. In
the below given screenshot, the information related to data source and datapoint
declarations for S7 and it can switch to each protocol from the bottom of the file (e.g S7,
OPC UA, modbus-tcp, etc).
• The supported protocols for import and export configurations are S7, OPC UA, Modbus-
TCP, Rockwell and System.
Result
Data source configuration are imported with mapped datapoints. The new data sources will be
available at the asset details of MindConnect Software Agent.
Note
Limitations of importing datapoint mappings
• Asset name needs to be unique in the tenant. If multiple assets are with the same name in the
tenant, then datapoint mappings may have discrepancy.
• Asset needs to be available before importing the configuration. Asset will not be created
during import configuration.
• Datapoint name needs to be unique in excel sheet across data sources and protocols.
• Datapoint mapping of a datapoint with multiple variables of multiple assets is not supported.
• Importing of datapoint mappings is an async process.
AgentManagement API
You can configure MindConnect elements via api calls with public API’s that are offered from
MindSphere. To update the data source configuration of AgentManagement api, refer to the
endpoint "Data Source Configuration Operations" in Agent Management Service – API
Specification (https://developer.mindsphere.io/apis/connectivity-agentmanagement/api-
agentmanagement-api-swagger-v3-4-0.html).
For more information on how to authenticate and how to get the information related with the
MindConnect element from Mindsphere, refer to Develop for MindSphere (https://
developer.mindsphere.io/).
This below information will show, how to structure the configuration part for the above api
request for specific industrial protocols.
Protocol configurations
You can configure the device to AgentManagement using the below protocol specific
configurations that needs to be configured in the api call.
Note
In case the body structure is not as expected, the configuration might be rejected or may lead to
corrupt configuration on MindSphere. Always verify the operation from MindConnect Element
UI.
The json configuration in body part of the request consists of below key-value pairs. All the
documented key-value pairs given below are important. The customData child fields of
dataPoints and dataSource items are free formatted fields and should be a valid json. Below
is the configuration body:
{
"name": "DataSource Name",
"customData": {
"protocol": "Name of the protocol",
"protocolData": { },
"readCycleInSeconds": "Value"
},
"description": "",
"dataPoints": [
{
"id": "a37d9e1fee6b4",
"name": "DatapointName",
"description": "-",
"unit": "Unit",
"type": "Type",
"customData": {
"dataPointData": { }
}
}
]
}
Note
The above key-value pairs are important for the body, if missing any key-value pair will result in
configuration failure.
Each protocol has it's unique protocolData representing its protocol specific fields and
dataPointData field for representing it's unique datapoint configuration. In order to get the
successful configuration for each one of the protocol, the free formatted parts of the body needs
to be a valid json. Otherwise, the configuration will be failed.
The below given an example of how to configure a datasource with one datapoint for S7
protocol:
Note
• The below json content can be changed as required, do not depend on it strictly.
• The free formatted fields "protocolData" and "dataPointData" has a specific configuration to
S7 protocol.
{
"name": "S7DS",
"customData": {
"protocol": "S7",
"protocolData": {
"ipAddress": "192.168.0.1",
"manualRackAndSlot": "Automatic",
"rackNumber": "0",
"slotNumber": "2"
},
"readCycleInSeconds": "1"
},
"description": "",
"dataPoints": [
{
"id": "a37d9e1fee6b4",
"name": "DatapointName",
"description": "-",
"unit": "%",
"type": "LONG",
"customData": {
"dataPointData": {
"address": "DB1.DBWORD0",
"hysteresis": "0",
"onDataChanged": false,
"acquisitionType": "WRITE"
}
}
}
]
}
Note
The json content of each protocol varies and should be extracted after an initial UI configuration.
To get the data source configuration of AgentManagement api, refer to the endpoint "Data
Source Configuration Operations" in Agent Management Service – API Specification (https://
developer.mindsphere.io/apis/connectivity-agentmanagement/api-agentmanagement-api-
swagger-v3-4-0.html).
Note
Symbolic access
This solution does not allow full symbolic access.
Detailed examples:
Example address format DB15.DBX6.3:
DB15.DBX6.3
Area indicator Data type Offset address
DB15 - DB X 6 - 3
Datablock ad‐ Separator Datablock Bool Offset Byte Separator Offset Bit
dress
Reads 3rd bit of byte 6 of datablock 15
IW10
Area indicator Data type Offset address
I W 10
Process Input Word Offset Byte
Reads a word of input starting from offset 10
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 / unsigned/ Data type Address example Description
signed (length)
Bool 1 bit BOOLEAN DB15.DBX6.3 2) Reads 3rd bit of byte 6 of dat‐
(1 bit) ablock 15.
Byte 1 byte / unsigned DB15.DBB4 2) Reads an unsigned byte start‐
USInt DB15.DBBYTE4 ing from offset 4 out of data‐
block 15.
SInt 1 byte / signed
Char 1 byte / signed DB15.DBCHAR6 Reads a char starting from off‐
set 6 of datablock 15.
INT (4
Word 2 bytes / unsigned DB15.DBW10 2) Reads an unsigned word start‐
bytes)
UInt DB15.DBWORD10 ing from offset 10 of data‐
LONG (8 block 15.
bytes)
Int 2 bytes / signed DB15.DBINT12 Reads a signed integer start‐
DOUBLE ing from offset 12 out of dat‐
(8 bytes) 1) ablock 15.
DINT 4 bytes / signed DB15.DBDINT28 Reads a signed double integer
starting from offset 28 of dat‐
ablock 15.
DWord 4 bytes / unsigned LONG (8 DB15.DBDW24 2) Reads an unsigned double
UDInt bytes) DB15.DBDWORD24 word starting from offset 24
DOUBLE of datablock 15.
(8 bytes) 1)
S7 MindSphere
Data type Length / unsigned/ Data type Address example Description
signed (length)
Real 4 bytes / signed DOUBLE DB15.DBD32 2) Reads a floating-point num‐
(8 bytes) DB15.DBREAL32 ber starting from offset 32 of
datablock 15.
String Length of variable, DB15.DBSTRING10 The maximum string length
max. 254 bytes (Byte10) is read first. Then the
number of bytes that Byte10
indicates are read. After that
the number of bytes that
Byte11 indicates are extrac‐
ted from the byte array that is
the result of second read op‐
eration.
STRING For example:
(max. 254
bytes) • (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 consid‐
ering Byte11's value.
String Min. 100 bytes , max. DB15.DBSTRING10,100 Reads 100 bytes of string
254 bytes 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 Number
S7 datapoint addresses must contain area number.
E.g.: DB10 (10. datablock)
Data Types
The following table shows the MindSphere 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
Offset
Variable types must have an offset. Offset is the starting byte number.
E.g. DW4 (a double word starting from byte 4)
String
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
Returns milliseconds.
Format
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:
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:
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 Address Enter the OPC UA Server Address.
OPC UA Server IP Ad‐ Enter the OPC UA Server IP Address.
dress
Parameter Description
OPC UA Authentication You can choose between the following types:
Type • 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 MindSphere.
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.
Note
OPC browsing is not supported.
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
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
Note
String for Identifier
The string you enter at the four Identifier will be case sensitive.
Numeric
Guid
Base64(Opaque)
Base64(Opaque) Example
IdentifierType
ns=[id];b=[base64] ns=2;b=M/RbKBsRVkePCePcx24oRA==
Datatypes Conversion
The following table shows the Datatype Conversion:
Note
“NodeID“ is not a valid part of the OPC string anymore.
Data Source Event Type It is the default event type which can collect some static fields
of events from OPC UA server.
Custom Event Type These types can be created by user/owner of tenant, and they
can collect both static and extra fields from OPC UA server.
A new event type must be created from “AgentBaseEvent” type with required extra fields and
then, it can be selected from the event drop-down list which is shown during OPC UA server
configuration.
Note
• If there is no created custom event type in tenant, "Data Source Event Type" will be selected
by default.
• Both, data source events and custom events will be uploaded to MindSphere. They can be
displayed on fleet manager regarding to their types. For more information on displaying
events, see Viewing events (Page 219).
"updatable": true,
"type": "STRING"
},
{
"name": "testField3",
"filterable": false,
"required": false,
"updatable": true,
"type": "STRING"
}
]
}
Note
• The “name” field in body must be same as the “browseName” of the field which will be
collected in the OPC UA Server. It is case-sensitive.
• Name for "Event Type" needs to be unique
• The “type” field must be “STRING” for all data types.
• The “scope” field should always be given as “Local” unless a particular reason is required to
make it "Public".
• The field with name “Message” is the static field and it is not included to custom event types.
It is needed to be added as an extra field.
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.
For more information about how to create a new data source see chapter Adding a data source
and data points (Page 132).
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 waiting
before receiving the response is longer than the given timeout, an error will be generated.
Range:
500ms (default) … 60000ms
responseSuspension‐ If a byte timeout or a response timeout was detected, then this waiting time is added before the next
Time request is started. During this time any response from the Modbus device will be flushed.
Range:
0ms (default) … 45000ms
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
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.
Parameter Description
VariableType You can choose the following variable types of the Modbus data to be read:
1: char : 8 bits
2: unsigned char : 8 bits
3: short : 16 bits
4: unsigned short : 16 bits
5: long : 32 bits
6: unsigned long : 32 bits
7: float : 32 bits
8: double : 64 bits
9: ascii-text : 8 bits / char
Real Type Real type - determines, if the registers of real values have to be processed in reversed order
0: Normal order
1: Reversed order
2: Byte swap order
3: Word swap order
Real types 2 and 3 are available from V03.04.02.01.
Integer Byte Order It determines in which byte order format the read value will be processed (default: 0)
0: Normal order (big-endian)
1: Reversed order (little-endian byte swap)
2: Byte swap order (big-endian byte swap)
3: Word swap order (little-endian)
Note:
Integer byte order is available for 16 bits and 32 bits variable types only, and it is supported for the
version starting from MindConnect Nano/IoT2040 V03.04.02.13.
Response Address Off‐ Offset of the data to return in register units.
set
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.
Addressing
The information is stored in the Modbus Slave device in 4 different tables. 2 tables store on/off
discrete values (coils) and two store numerical values (registers). Each coil is 1 bit long and
assigned a data address between 0 and 65535.
Each register has the size of 1 word(16 bits/ 2 bytes) and has a data address between 0 and
65535.
The coil/register number can be considered a location name as stated in the device
documentation; otherwise, the data address can be used as Start Address.
Data Types
MindSphere data types:
Examples
Example Data type Function type Start ad‐ Variable Response Response Quan‐
dress type Address tity
Offset
Reading the first Holding Register, int Read Holding 0 unsigned 0 1
number 40001, has the start ad‐ Registers short
dress 0. or short
VariableType: 4 or 3 (unsigned short int Read Input Regis‐ 1 unsigned 0 1
or short)Reading the second Input ters short
Register, number 30002, has the or short
start address 1.
Reading a float (32 bits) from Input double Read Input Regis‐ 107 float 0 1
Register 30108 / 30109, has the ters (reads
start address 107. two regis‐
ters)
Reading a string. This example de‐ string Read Holding 5 unsigned 0 2 (registers)
scribes to read four letters from reg‐ Registers short
ister 40006 and 40007. Each regis‐
ter contains two characters.
Reading a Boolean from the Holding Boolean Read Holding 10 unsigned 0 1
Register 40011, has the start ad‐ Registers short or
dress 10. If the hole Holding Register short
has the value 0 then it is displayed as
0. If one bit(or more) has the value 1
then it will be displayed as 1.
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.
For more information about how to create a new data source see chapter Adding a data source
and data points (Page 132)
Parameter Description
Serial Port Available serial ports:
• COM1
• COM2
Serial Type Supported serial communication standards:
• RS232
• RS422
• RS485
Baud rate Baud rate for serial communication:
• 9600
• 2400
• 4800
• 19200
• 38400
• 57600
• 115200
Parameter Description
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 waiting
before receiving the response is longer than the given timeout, an error will be generated.
Range:
500ms (default) … 60000ms
responseSuspension‐ If a byte timout or a response timeout was detected, then this waiting time is added before the next
Time 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
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
Real Type Real type - determines, if the registers of real values have to be processed in reversed order
0: Normal order
1: Reversed order
2: Byte swap order
3: Word swap order
Real types 2 and 3 are available from V03.04.02.01.
Integer Byte Order It determines in which byte order format the read value will be processed (default: 0)
0: Normal order (big-endian)
1: Reversed order (little-endian byte swap)
2: Byte swap order (big-endian byte swap)
3: Word swap order (little-endian)
Note:
Integer byte order is available for 16 bits and 32 bits variable types only, and it is supported for the
version starting from MindConnect Nano/IoT2040 V03.04.02.13.
Response Address Off‐ Offset of the data to return in register units.
set
Response Quantity Quantity of the returned data. Only for string data a value greater than 1 is supported.
Addressing
The information is stored in the Modbus Slave device in 4 different tables. 2 tables store on/off
discrete values (coils) and two store numerical values (registers). Each coil is 1 bit long and
assigned a data address between 0 and 65535.
Each register has the size of 1 word(16 bits/ 2 bytes) and has a data address between 0 and
65535.
Coil / register numbers can be considered as location names since they do not appear in the
configuration. The Data Addresses (Start Address) are used in the configuration.
Data Types
MindSphere data types:
Examples
Example Data type Function type Start ad‐ Variable Response Response Quan‐
dress type Address tity
Offset
Reading the first Holding Register, int Read Holding 0 unsigned 0 1
number 40001, has the Data Ad‐ Registers short
dress 0. or short
VariableType: 4 or 3 (unsigned short int Read Input Regis‐ 1 unsigned 0 1
or short)Reading the second Input ters short
Register, number 30002, has the Da‐ or short
ta Address 1.
Reading a float (32 bits) from Input double Read Input Regis‐ 107 float 0 1
Register 30108 / 30109, has the Da‐ ters (reads
ta Address 107. two regis‐
ters)
Reading a string. This example de‐ string Read Holding 5 unsigned 0 2 (registers)
scribes to read four letters from reg‐ Registers short
ister 400006 and 400007. Each reg‐
ister contains two characters.
Technical specification
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:
After selecting the protocol you can enter the parameter Name, Description and Reading Cycle.
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
The following table shows the available variables for the applications:
CPU information
The following table shows the available variables for the category CPU information:
Disk information
Disk collects information about disk usage and provides the following subcategories:
• persistent_massdata
• persistent_appconfig
• persistent
• root
The following table shows the available variables for the category Disk information:
KERNEL information
The following table shows the available variables for the category KERNEL information:
Memory information
The following table shows the available variables for the category Memory information:
Network information
The following table shows the available variables for the category Network information:
Parameter Description
CPU type Shows available CPU types:
• COMPACT_LOGIX
• CONTROL_LOGIX
• MICRO_800
• OTHER_CPU
Currently not available:
• FLEX_LOGIX
• MICRO_LOGIX
• SOFT_LOGIX
• PLC5
• SLC500
Note: The CONTROL_LOGIX and MICRO_800 CPU types are
supported from the version MindConnect Nano/IoT2040
V03.04.02.06 b002.
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).
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.
Note
PCL data types
Currently only these PLC data types are supported.
In order to connect a S7+ device, you need to select the S7+ protocol and enter the following
data source parameters:
Parameter Description
IP Address IP address or hostname of the S7+ device
PLC Type The following PLCs are supported:
• S7-1200
• S7-1500
• S7-1500 Software Controller
• ET200SP
• PLCSIM (Advanced)
Note
Maximum limit for the number of connections is 8.
The following table shows the parameter of the S7+ data point window:
Parameter Description
Datapoint type The following datapoint types are supported:
• int
• long
• double
• boolean
• string
Datapoint Address The PLC connection must be available (symbolic
addressing is used).
Parameter Description
Type Transformation The transformation type is the interpretation of da‐
ta of the peripheral device.
For the datatypes above the following transforma‐
tion types are available (see also table below):
• int: UINT, USINT, UDINT, SINT, INT, DINT, WORD,
BYTE, DWORD
• long: UINT, USINT, UDINT, ULINT, SINT, INT,
DINT, LINT, WORD, BYTE, DWORD, LWORD,
DATE, DATETIME, TIME, TIME_OF_DAY, LDATE‐
TIME, LTIME, LTOD, DTL, S5TIME
• double: REAL, LREAL
• boolean: BOOL
• string: STRING, WSTRING, DATE, DATETIME,
TIME, TIME_OF_DAY, LDATETIME, LTIME, LTOD,
DTL, S5TIME
Data Acquisition Mode The following modes are supported:
• READ
• WRITE
• READ and WRITE
The following table shows the transformation type of the S7+ data point window:
• PMi-A
• FS30i-B
• FS0i-F Plus iHMI
• FS0i-F
• FS0i-F Plus
• FS30i-B 32AX
• FS30i-B 48AX
• FS30i-B iHM
• FS30i-B Plus
• FS31i-B Plus
• FS31i-B
• FS31i-B5 Plus
• FS31i-B5
• FS31i-LB
• FS31i-PB
• FS31i-WB
• FS32i-B Plus
In order to connect a Fanuc Focas device, you need to select the Fanuc Focas protocol and enter
the following data source parameter:
Parameter Description
IP Address The IP address (and optional port – separated by ‘:’ )
of the device must be filled in Datasource.
Follow the simple rules to fill the parameters for the Fanuc Focas:
1. Choose a predefined component for the Datapoint Address.
2. For every “*” or “?” in the listed item an extra field is displayed, which must be filled as per
above example screenshot.
3. The field “Datapoint Address” is the final address string and displayed read only. It is the result
of selected address with combo boxes and user defined parts.
4. The fields “Type” and “Type Transformation” are limited to the possible types, depending on
the selection of the address component.
The following table shows the parameter of the all components, including possible datatype,
explanation and example:
Note
You need to ensure the parameters entered are valid for Fanuc Focas protocol.
Note
The supported device types are S7 SINUMERIK, example S7 840D sl.
In order to connect a Sinumerik device, you need to select the Sinumerik protocol and enter the
following data source parameters:
Parameter Description
IP Address IP address of the device.
Slot Number Choose the correct slot number, where the “NC
unit” of the device is mounted.
The following table shows the parameter of the Sinumerik data point window:
Parameter Description
Datapoint Address Peripheral address strings in WinCC OA must be en‐
tered in a symbolic manner using the Siemens BTSS
format.
Examples:
S7Conn1./Nck/Spindle/speedOvr[1]
NCK2.@SinumerikErrors@
Type The following datapoint types are supported:
• int
• long
• double
• boolean
• string
Parameter Description
Type Transformation For the above datatypes, the following transforma‐
tion types are available (see also table below):
• int: INT16, INT32, UINT16, UINT32, BYTE
• long: INT16, INT32, UINT16, UINT32, BYTE, DA‐
TETIMELONG
• double: FLOAT, DATETIMELONG
• boolean: BIT
• string: STRING, DATETIMELONG, BLOB
Data Acquisition Mode The following modes are supported:
• READ
• WRITE
• READ and WRITE
The following table shows the transformation type of the Sinumerik data point window:
In order to connect a IEC61850 device, you need to select the IEC61850 protocol and enter the
following data source parameters:
Parameter Description
SCD File Choose a valid SCD file. It contains the connection
details (IP address, server name, access point) and
the data (logical nodes, data types, data points, …).
The SCD File must have a valid extension: *.xml,
*.zip, *.tgz, *.tar.gz.
Server Name Name of the Intelligent Electronic Devices (IED)
must match to the SCD file.
Access point name Name of the access point must match to the SCD
file.
Note
• The IED name within the SCD file must be set to “MindSphereClient” or to the serial number
of the device.
• Server Name and Access point must match with the data in the SCD file. It is necessary for a
double check of the configuration.
The following table shows the parameter of the IEC61850 data point window:
Parameter Description
Datapoint Address The browse string, as defined in the SCD file.
Example:
MSC_SRV01CTRL/ATCC1$ST$HiTapPos$stVal
Type The following datapoint types are supported:
• int
• long
• double
• boolean
• string
Parameter Description
Type Transformation For the above datatypes, the following transformation types
are available (see also table below):
• int: INT8, INT16, INT32, INT64, UINT8, UINT16, UINT32
• long: INT8, INT16, INT32, INT64, UINT8, UINT16, UINT32,
BITSTRING, TIMESTAMP
• double: FLOAT32, FLOAT64, INT32, INT64, UINT8, UINT16,
UINT32, BITSTRING, TIMESTAMP
• boolean: BOOL
• string: OCTET_STRING64, VISIBLE_ STRING64, VISIBLE_
STRING255, TIMESTAMP
Data Acquisition Mode The following modes are supported:
• READ (spontaneous / reports)
• WRITE
• READ and WRITE
In order to connect a MTConnect device, you need to select the MTConnect protocol and enter
the following data source parameter:
Parameter Description
URL The URL of the MTConnect device. The port is also part of the
URL.
Example:
http://mtconnect.mazakcorp.com:5610/
The following table shows the parameter of the MTConnect data point window:
Parameter Description
Datapoint Address ID of the DataItem from the MTConnect device.
Example (excerpt of an xml-file):
<DataItem category="SAMPLE"
coordinateSystem="MACHINE" id="xpm"
name="Xabs" nativeUnits="MILLIMETER"
subType="ACTUAL" type="POSITION"
units="MILLIMETER"/>
→ Datapoint Address: xpm
Type The following datapoint types are supported:
• int
• long
• double
• boolean
• string
Note
This procedure is only necessary for boxes that were already connected to MindSphere V2 (SAP).
V1 cannot be upgraded.
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.
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 might be canceled. In that case you have to click firmware update on the user interface
to restart the process. It is still possible to do manual firmware updates via USB stick.
Note
The firmware update operation can take longer time depending on the network quality.
Once the cancellation operation successful, it is possible to re-trigger the online firmware
update.
Note
• If the system is already updated with a new version available for the device and the auto
firmware update option is enabled later, MindConnect Element will be not triggered to
update the previous released version. Auto firmware update will work only for further
releases.
• If the auto firmware update is enabled, manual firmware update operation is not allowed.
• If the firmware update job is in progress triggered by the auto firmware update, then "Cancel"
button will be activated. By clicking "Cancel" button, the ongoing operation will be
interrupted and cancelled. If an auto firmware update trigger is cancelled, it will not be
tirggered again for the same firmware release.
• Double
• Boolean
• Float
• String (OPC UA only)
WARNING
It is important to know the limitations of your devices, before you set a specific value for
a datapoint.
Failure to check value ranges within your controllers may result in damages to your devices. We
recommend to set and verify limits within your local program to block values out of device
limits.
User interface
The following screen shows the data source configuration screen:
Value Description
Read Within this type you can only collect data.
Write Within this type you can only send data.
Read&Write Within this type you can collect and send data.
The "Send a value" button is only visible on writeable data point types. This creates a command
instance on cloud platform on Edge area for execution.
The "Log" column shows the general result of the latest operation made on the data point itself.
For more information you can click on the data point name on the left hand side and view the
details of the executed command.
The following screen shows the "Send value" detailed screen with the entry of the value to be
written to the data point:
Getting deviceId
You can "GET" the "id" of your device using the "id" of your asset with a below request.
/api/devicemanagement/v3/devices?assetId={id}
In the response, device id will be displayed. For more information, see Device Management
Service (https://documentation.mindsphere.io/MindSphere/apis/edge-devicemanagement/api-
devicemanagement-api.html) documentation.
{
"id": "392fe515-5b61-439d-814d-b37b9fa7ef7b",
"agentId": "25137086d6c141b682d9fcb135c8168e",
"uploadCycle": "10",
"configurationId": "1650623649731",
"dataSources": [
{
"id": "326340f5-88c6-409a-a5d9-03e95ce7af94",
"name": "WindTurbine",
"description": "datasource_description",
"protocol": "S7",
"readCycleInSeconds": "60",
"protocolData": {
"ipAddress": "192.168.1.1",
"manualRackAndSlot": "Automatic",
"rackNumber": "0",
"slotNumber": "2"
},
"dataPoints": [
{
"id": "6efc38d1-b4e7-4e6e-98ce-cb6b3b3f36b2",
"dataPointId": "36cd56f91c154",
"name": "Energy",
"description": "description",
"unit": "kw",
"dataType": "DOUBLE",
"dataPointData": {
"address": "DB1.DBD1",
"hysteresis": "0",
"onDataChanged": false,
"acquisitionType": "READ"
}
}
]
}
]
}
The final api call is to deploymentworkflow service. For more information, see Deployment
Workflow Service (https://documentation.mindsphere.io/MindSphere/apis/edge-
deploymentworkflow/api-deploymentworkflow-api.html). A "POST" request to the below
endpoint should be made,
/api/deploymentworkflow/v3/instances
The body of the request should be, as below example:
{
"deviceId": "f5168f95-2cc6-4a2c-b598-bfd5dadfc4df",
"model": {
"key": "mdsp-core-commandDispatcher"
},
"data": {
"type": "datapoint-write",
"createdBy": "[email protected]",
"version": "v1.0",
"to": "some_protocol",
"payload": {
"desiredValue": "7",
"dataSourceId": "10d9c36c-69f7-4c33-8624-f67537e142a4",
"dataPointId": "b932b9da42f04",
"protocol": "some_protocol"
}
}
}
In the below list, there are some fields which require certain data only:
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 215)
2. View aspects of a selected asset. (Page 217)
3. View events of a selected asset. (Page 219)
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.
– Or click the “Filter & sort" button to restrict the asset list.
Result
The navigation displays the selected asset that corresponds to the search or filter parameters.
Requirement
You have created aspects in Asset Manager.
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.
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.
Note
It can take up to 15 minutes for the events to arrive in MindSphere.
The time series data includes the value and the quality code.
Mindsphere IoT storage Time Series API
Type
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.7 Quality codes S7+, Fanuc Focas, Sinumerik, IEC61850 and MTConnect
The following table shows the possible quality codes for devices that use the S7+, Fanuc Focas,
Sinumerik, IEC61850 and MTConnect protocol:
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)
Functions
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
Supply voltage
Type of supply voltage 24 V
Current consumption max. 1.8 A at 24 V
Mains buffering
Mains/voltage failure stored energy 20 ms
time
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‐ ±6 kV contact discharge acc. to IEC 61000-4-2; ±8 kV air discharge acc. to IEC 61000-4-2
charge of static electricity
Interference immunity to cable-borne interference
Interference immunity on supply • ±2 kV acc. to IEC 61000-4-4, burst; ±1 kV acc. to IEC 61000-4-5, surge symmetric;
cables • ±2 kV acc. to IEC 61000-4-5, surge asymmetric;
Interference immunity on signal ca‐ • ±2 kV acc. to IEC 61000-4-5, surge, length > 30 m;
bles >30m
Interference immunity on signal ca‐ • ±1 kV acc. to IEC 61000-4-4; burst; length < 3 m;
bles < 30m • ±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
EMC
Interference immunity against high-frequency electromagnetic fields
Interference immunity against high • 10 V/m for 80 - 1000 MHz and 1.4 - 2 GHz, 80% AM acc. to IEC 61000-4-3;
frequency radiation • 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
Interference immunity to magnetic 100 A/m; to IEC 61000-4-8
fields at 50 Hz
Emission of conducted and non-conducted interference
Interference emission via line/AC EN 61000-6-3, EN 61000-6-4, CISPR 22 Class B, FCC Class A
current cables
Ambient conditions
Ambient temperature during operation
Ambient temperature during opera‐ 0 °C up to 60 °C
tion
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)
Ambient conditions
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)
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
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
Current consumption max. 1.4 A
Mains buffering
Mains/voltage failure stored energy 5 ms
time
Interfaces
USB port 1x USB 2.0, 1x USB client
Connection for keyboard/mouse USB / USB
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‐ ±4 kV contact discharge acc. to IEC 61000-4-2; ±8 kV air discharge acc. to IEC 61000-4-2
charge of static electricity
Interference immunity against high-frequency electromagnetic fields
Interference immunity against high • 10 V/m for 80 - 1000 MHz, 80% AM acc. to IEC 61000-4-3;
frequency radiation • 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 ca‐ • ±2 kV acc. to IEC 61000-4-4, burst;
bles • ±1 kV acc. to IEC 61000-4-5, surge symmetric;
• ±2 kV acc. to IEC 61000-4-5, surge asymmetric;
Interference immunity on signal ca‐ ±2 kV acc. to IEC 61000-4-5, surge, length > 30 m
bles >30m
Interference immunity on signal ca‐ ±2 kV in accordance with IEC 61000-4-4, burst, length > 30 m
bles < 30m
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 100 A/m; to IEC 61000-4-8
fields at 50 Hz
Emission of conducted and non-conducted interference
Emission of conducted and non-con‐ EN 61000-6-4:2007 +A1:2011
ducted interference
Ambient conditions
Ambient temperature during operation
Ambient temperature during opera‐ 0 °C to 50 °C
tion
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
%XIIHUVL]H
%XIIHUWLPH
1XPEHURIGDWDSRLQWV5HDGF\FOH
%\WHVSHUGDWDSRLQW
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.
E\WH
%XIIHUWLPH VฬKUV
V
E\WH
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.
• For MindConnect Software Agent, the readings are not applicable as it depends on the
hardware for a particular agent and configuration.
Note
To make sure a configuration works for your setup it needs to be monitored over a longer period
of time.
MindConnect NANO
MindConnect IOT2040
• Read of a string data point you have to multiply the time with 2,5 per data point
• All devices are around 75% full
① Corporate / Office Network with route to the internet or direct internet access, e.g. via a DSL
modem
② Production / Machine Network
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.
① 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.
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
Each CIP message contains the routing information to the target. Every time a bridge accepts
such a CIP message it strips out its own address information and forwards the modified CIP
message to the next addressee along the way. When there is no further routing information
available the destination target has been reached and the CIP message will be interpreted. Once
interpreted the response will be send the same way back the request came. This means each
bridge keeps a reference to the request package.
It recognizes the CIP message is not for it and therefore, it removes its address part (1) from the
CIP message. The remaining CIP message is being forwarded to the processor module as
indicated by the remaining address information (2). The message contains a reduced
communication path with the slot number. The processor removes that information and start
interpreting the remaining message, as there is no further routing information in the packet.
The following Wireshark packet analysis shows the additional segment.
A.11.2 Case 2 – Accessing the Allen- Bradley PLC via integrated Ethernet port
In this scenario, the CIP client sends some data into the CPU module using the integrated
Ethernet port. In a CPU module with integrated Ethernet port, the Ethernet port is in the same
slot as the CPU module.
The CIP client in the MindConnect sends a request package to the CPU module at 192.168.0.32
addressing the processor module in slot 0.
Following the previous schema, the above image represents the communication path (route
parameters).
Following the previous made explanations, the CIP message travels first through the processor
module to the backplane and it returns back to the processor module for interpretation. For such
situations, it is possible to use an abbreviated communication path only containing the IPv4
address.
The MindConnect block uses the parameter "slot" to form the communication path (route
parameters).
A.11.3 Case 3 – Accessing the Allen- Bradley PLC via the ControlNet interface
In this scenario, the CIP client reads data from the Allen- Bradley PLC. Now, the communication
path will be through the CompactLogix acting as bridge between EtherNet/IP and ControlNet.
The yellow line in the above image represents the communication path (route parameters).
In the communication path, the red marked sections always contain a network specific address.
The blue marked part identifies the backplane or the interface to be used. It is not important that
the backplane is physically existing or virtual. The green part identifies the slot number of the
next bridge module (next hop) or the destination module.
With the initial access token, the agent can prove it‘s identity towards MindSphere agent
management by:
• The Initial Access Token (IAT) is physically entitled to onboard the agent.
• The initial access token is valid for 7 days for security measures to avoid the misuse.
Case 1
• The shared secret (valid for 7 days) – to be used to access token in the request.
• The re-registration access token (RAT) – to be used for the renewal of registration, once the
registration is expired.
Case 2
• The re-registration access token (RAT) – to be used for the renewal of registration, once the
registration is expired.
• The agent management stores the public key received after registering an agent and uses it
to verify the request access token from agent, which uses JWT signed with private key from
now on. For more information, see Onboarding an Agent (https://developer.mindsphere.io/
howto/howto-agent-onboard.html).
The Agent requests an access token from Agent IAM using a self signed JSON Web Token (JWT).
The JWT is signed (see RFC-7515) with either the shared secret (Case 1) or the private key of the
public / private key pair (Case 2) in Step 2. The JWT contains the tenantId
The granted access token is valid for 30 minutes. It is also a JWT and contains:
• tenantId
• scopes: It describes the type of services used in this token holder.
After expiry, a new token needs to be requested.
Firmware management
Firmware management is stored in secure cloud storage. Agent accesses secure storage through
a signed URL issued by MindSphere and it is valid for 7 days.
Firmware is signed with private key from MindSphere. Firmware installer (MERS) on device,
checks signature against matching public key provided at initial installation in the factory.
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
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 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.
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
present it to the user after processing. In Asset Manager, the measurements, that have to be
collected, can be specified.