Symbolic And Comments - Siemens S7-1200 Programming Manualline

Step 7 tia portal, background and system description
Hide thumbs Also See for S7-1200:
Table of Contents

Advertisement

2 S7-1200/1500 Innovations

2.10 Symbolic and comments

2.10
Symbolic and comments
Advantages
You can make the code easy to understand and readable for your colleagues with
the use of symbolic names and comments in your program.
The complete symbolic is saved together with the program code during the
download to the controller and allows fast maintenance of the plant when no offline
project is at hand.
Recommendation
Use the comments in the programs in order to improve readability. Network title
comments are visible even if networks are collapsed.
Design the program code in a way so that colleagues can understand the
program straight away.
In the following example you can see the extensive options for commenting the
program editors.
Example
In the following figure you can see the options for commenting in the LAD editor
(same functionality in FDB).
Figure 2-14: Commenting in the user program (LAD)
1
The following comments are possible:
3. Block comment
4. Network title comment
5. Network comment
6. Comment on instructions, blocks and functions (open, close, etc.)
In the programming languages SCL and STL, it can be commented with // in every
row.
Programming Guideline for S7-1200/1500
V1.2, Entry ID: 81318674
2
3
4
22

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S7-1500

Table of Contents