User Data Format - Siemens SIMATIC CloudConnect CC7 Series Operating Instructions Manual

Industrial ethernet
Table of Contents

Advertisement

Data buffering and QoS
In case of a connection abort between gateway and cloud server, the gateway saves the last
16 data frames of topics with "QoS" = 1 or 2 in its frame memory.
The frame memory has a capacity of 16. It operates chronologically; in other words, the
oldest data is sent first (FIFO principle). As of the 17th data frame, the oldest data frame in
the frame memory is overwritten.
Recurring cloud connection
Depending on the configured QoS value, the following behavior is in effect for a recurring
connection between gateway and cloud server.
● QoS = 0
The gateway sends the current values once with the quality "Good".
● QoS = 1 / 2
The gateway sends the saved values once with the quality "Good".
Afterwards, the current values are sent after the trigger conditions are triggered.
4.9.3.2

User data format

Because different cloud systems expect different user data formats, you must adapt the
format to the requirements of the processing systems.
In the user data editor ("User data format" button), you will find syntax templates. You can
select the appropriate one and adapt it to the requirements of the cloud system, if needed.
You change the code in the "User data format" text box. If the code meets the requirements,
do not change it.
The UTF-8 character encoding is used for formatting the user data.
Syntax templates
The following templates are available:
● JSON / JSON PubSub
– JSON uses the JSON syntax of the gateway with firmware version V1.1.
– JSON PubSub uses the syntax of the JSON format according to ECMA-404 and
Both templates are suitable for connection to:
– AWS (Amazon) / IoT Core
– Azure (Microsoft) / IoT Hub
– IBM Cloud (IBM) / Watson IoT Platform
● XML
Template for the connection to cloud services that expect the XML format.
● MindConnect IoT Extension
Template for the connection to MindSphere (Siemens) / MindConnect IoT Extension
SIMATIC CC7
Operating Instructions, 10/2019, C79000-G8976-C503-02
ISO/IEC 21778:2017.
Configuration
4.9 Cloud configuration
89

Advertisement

Table of Contents
loading

Table of Contents