
Configuration
4.9 Cloud configuration
SIMATIC CC7
88
Operating Instructions, 10/2019, C79000-G8976-C503-02
Transmission and "QualityCode"
The "QualityCode" quality status of a data point is also transferred with the user data. The
status indicates the validity of the value.
The status is set by the gateway as publisher and has the following value range:
●
GOOD
The value is valid.
●
BAD
The value of the tag is not valid or not current. Possible causes:
–
CPU in STOP
–
Value not current
–
Error while reading the tag
The value of the status has the following effect on the transmission:
●
Publisher
→
Cloud
Publishing of messages of the gateway as publisher is independent of the value of the
status.
●
Cloud
→
Subscriber
Receiving of messages by the gateway as subscriber is independent of the value of the
status.
However, when a message with the status "BAD" is received, the value of the gateway as
subscriber is not written to the CPU.
Connection abort and QualityCode
The behavior for a connection abort is as follows:
●
Connection abort between station and gateway
–
During the connection abort
The gateway sends the topic with empty strings for the values and the QualityCode
"Bad".
–
Recurring connection
When the trigger condition is met, the gateway sends the topic with the current values
and the QualityCode "Good".
●
Connection abort between gateway and cloud
–
During the connection abort - Cable at the gateway is pulled
The gateway is not sending data.
–
During the connection abort - Cloud server cannot be reached
The gateway sends the last valid values once with the QualityCode "Good".
–
Recurring connection
For the behavior, see the section "Data buffering".