Siemens SIMATIC CloudConnect CC7 Series Operating Instructions Manual page 92

Industrial ethernet
Table of Contents

Advertisement

Configuration
4.9 Cloud configuration
The code of the formatted user data can contain the following keys depending on the format.
● Time stamp
<PUBLISH_TIMESTAMP>
Time of the publication
– Example for coding the time stamp with added text "sent at ":
● Start of data without or with semicolon as separator
<DATAPOINTS_BEGIN>
Start of a text block that is repeated for sending data. The text block can contain
variables.
"
below).
If you add text rather than variables for data points afterwards, the text is transferred.
– Example for the user data of a topic with four data points:
– Example for transferring data with separator:
Alternative:
● Start of data with separator or special character
<DATAPOINTS_BEGIN SEPARATOR=,\n>
Start of a text block that is repeated for sending data with separator string. The text block
can contain variables.
During the transfer of values or properties of data points, a separator string is added
between each text block to ensure reliable evaluation of the data. In this version, the
character string "comma + line break" is added after each text block but not after the last
block.
"
You declare the "
Line breaks as well as the characters "
after "
92
Syntax: "
sent at <PUBLISH_TIMESTAMP>
Results in string: "
sent at 2019-04-20T13:58:16.192313634+00:00
" must be listed before "
<DATAPOINTS_BEGIN>
Syntax: "
<DATAPOINTS_BEGIN>A<DATAPOINTS_END>
Results in: User data string "
Syntax: "
<DATAPOINTS_BEGIN><DATAPOINT_NAME>:<DATAPOINT_VALUE>;<DATAPOINTS_END>
Results in: String with semicolon (;) as separator between the values
With this format, a semicolon is also inserted after the last sent item of data.
" is the separator.
SEPARATOR=
" separator string after the equal sign "
,\n
"
" is the separator.
,
"
" causes a line break.
\n
".
SEPARATOR=
"
<DATAPOINTS_END>
"
"
AAAA
" and "
" are not permitted in the separator string
<
>
Operating Instructions, 10/2019, C79000-G8976-C503-02
"
" (end of the text block, see
":
=
SIMATIC CC7
"

Advertisement

Table of Contents
loading

Table of Contents