Tips And Recommendations; Rules For Subscriptions - Siemens SIMATIC S7-1500 Function Manual

Hide thumbs Also See for SIMATIC S7-1500:
Table of Contents

Advertisement

OPC UA communication

9.5 Tips and recommendations

9.5
Tips and recommendations
9.5.1

Rules for subscriptions

The following rules apply to subscriptions:
● Group subscriptions in the client according to different sampling and publishing intervals
and distribute the monitored elements (variables) to these groups.
Example: Create a subscription for longer publishing intervals (e.g. 5 seconds) and a
subscription for shorter publishing intervals (e.g. 0.1 second).
● Disable unneeded subscriptions.
Reason: The "Deactivated" subscription mode reduces resource consumption.
● Consider the maximum number of monitored items of subscriptions for the corresponding
S7-1500 CPU.
The information can be found in the technical specification of the respective CPU. The
information is based on a sampling / publishing interval of 1 second.
You can find additional information in the FAQ 109755846
(https://support.industry.siemens.com/cs/us/en/view/109755846).
● Select the same sampling and publishing intervals for the OPC UA client and for the
OPC UA server.
● Avoid arrays and structures as elements of subscriptions – if the process allows.
Reason: If even one value of an array/structure changes, the entire structure is
transferred, creating an unnecessary communication load.
● Occasional non-compliance with the required sampling rate is acknowledged by the OPC
UA server of the S7-1500 CPU according to OPC UA specification with a "GoodOverload"
error code, see also TIA Portal Help. Different OPC UA clients handle "Good" error codes
unequal to "0" differently. Consider this behavior and, if needed, reduce the
communication load according to the measures described above.
See also
Settings of the server for subscriptions (Page 181)
284
Function Manual, 11/2019, A5E03735815-AH
Communication

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents