Technical data
Contents
Programming with STEP 7
16 Manual, 05/2010, A5E02789666-01
13.7.2 Example of Organization Blocks in STL Source Files ..........................................................299
13.7.3 Example of Functions in STL Source Files...........................................................................301
13.7.4 Example of Function Blocks in STL Source Files.................................................................304
13.7.5 Example of Data Blocks in STL Source Files .......................................................................307
13.7.6 Example of User-Defined Data Types in STL Source Files..................................................308
14 Displaying Reference Data.....................................................................................................................309
14.1 Overview of the Available Reference Data...........................................................................309
14.1.1 Cross-Reference List ............................................................................................................311
14.1.2 Program Structure.................................................................................................................312
14.1.3 Assignment List.....................................................................................................................314
14.1.4 Unused Symbols...................................................................................................................316
14.1.5 Addresses Without Symbols.................................................................................................317
14.1.6 Displaying Block Information for LAD, FBD, and STL ..........................................................317
14.2 Working with Reference Data ...............................................................................................318
14.2.1 Ways of Displaying Reference Data .....................................................................................318
14.2.2 Displaying Lists in Additional Working Windows ..................................................................318
14.2.3 Generating and Displaying Reference Data .........................................................................319
14.2.4 Finding Address Locations in the Program Quickly..............................................................320
14.2.5 Example of Working with Address Locations........................................................................321
15 Checking Block Consistency and Time Stamps as a Block Property ...............................................325
15.1 Checking Block Consistency.................................................................................................325
15.2 Time Stamps as a Block Property and Time Stamp Conflicts..............................................327
15.3 Time Stamps in Logic Blocks................................................................................................328
15.4 Time Stamps in Shared Data Blocks ....................................................................................329
15.5 Time Stamps in Instance Data Blocks ..................................................................................329
15.6 Time Stamps in UDTs and Data Blocks Derived from UDTs ...............................................330
15.7 Correcting the Interfaces in a Function, Function Block, or UDT .........................................330
15.8 Avoiding Errors when Calling Blocks....................................................................................331
16
Configuring Messages............................................................................................................................333
16.1 The Message Concept..........................................................................................................333
16.1.1 What Are the Different Messaging Methods?.......................................................................333
16.1.2 Choosing a Messaging Method ............................................................................................335
16.1.3 SIMATIC Components..........................................................................................................337
16.1.4 Parts of a Message ...............................................................................................................338
16.1.5 Which Message Blocks Are Available? ................................................................................339
16.1.6 Formal Parameters, System Attributes, and Message Blocks .............................................341
16.1.7 Message Type and Messages..............................................................................................342
16.1.8 How to Generate an STL Source File from Message-Type Blocks......................................344
16.1.9 Assigning Message Numbers ...............................................................................................344
16.1.10 Differences Between Project-Oriented and CPU-Oriented Assignment
of Message Numbers............................................................................................................345
16.1.11 Options for Modifying the Message Number Assignment of a Project .................................346
16.2 Project-Oriented Message Configuration..............................................................................347
16.2.1 How to Assign Project-Oriented Message Numbers ............................................................347
16.2.2 Assigning and Editing Block-Related Messages ..................................................................347
16.2.2.1 How to Create Block-Related Messages (Project-Oriented) ................................................348
16.2.2.2 How to Edit Block-Related Messages (Project-Oriented).....................................................350
16.2.2.3 How to Configure PCS 7 Messages (Project-Oriented) .......................................................351
16.2.3 Assigning and Editing Symbol-Related Messages ...............................................................352
16.2.3.1 How to Assign and Edit Symbol-Related Messages (Project-Oriented)...............................352
16.2.4 Creating and Editing User-Defined Diagnostic Messages....................................................353