Specifications

3 General Programming
3.5 Retentivity
Programming Guideline for S7-1200/1500
V1.2, Entry ID: 81318674
46
Copyright
Siemens AG 2014 All rights reserved
Figure 3-21: Program editor (Functions block interfaces)
Figure 3-22: Program editor (Data block)
Example: Retentive of PLC tags
The setting of the retentive data is performed in the tables of the PLC tags, function
blocks and data blocks.
Figure 3-23: Setting of the retentive tags in the table of PLC tags
Retentivity can be set from
address 0 onward!
e.g. from MB0, T0 or C0
Example: Retentive counter
You can also declare instances of functions (timer, counter, etc.) retentive. As
already described in chapter 3.2.5 Multi-instances
.