Siemens SIMATIC CC712 Operating Instructions Manual page 73

Industrial ethernet - cloudconnect
Table of Contents

Advertisement

Code components
The code for formatting the user data can consist of the following components listed below.
The use of the components is optional. A sensible use depends on the further use of the
transferred data.
If you do not only want to use the variables for the transfer of user data but want to add text,
you can add the text in front of or after a variable.
The following description of the individual code components is structured as follows:
● Code component
Syntax
Meaning
– Examples (not for all components)
Code components: Syntax and meaning
● 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:
SIMATIC CC712
Operating Instructions, 05/2019, C79000-G8976-C503-01
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.
"
<DATAPOINTS_END>
"
"
AAAA
Configuration
4.9 Cloud configuration
"
" (end of the text block, see
"
73

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents