Technical data

Creating Blocks and Libraries
9.3 Creating Blocks
Programming with STEP 7
Manual, 05/2010, A5E02789666-01 233
How Block Comparison Works: Comparison in the SIMATIC Manager
1. In the SIMATIC Manager, select the block folder or the blocks to be compared.
2. Select the Options > Compare Blocks menu command.
3. In the "Compare Blocks" dialog box that is displayed, select the type of comparison
(ONLINE/offline or Path1/Path2).
4. For a Path1/Path2 comparison: In the SIMATIC Manager, select the block folder or the blocks
to be compared. These blocks are then automatically entered in the dialog box.
5. If also want to compare SDBs, select the "Including SDBs" check box.
6. If you also want to compare code, select the "Execute code comparison" check box. In a
detailed comparison, in addition to the execution-related parts of the block (interface and code),
any changes in the names for local variables and parameters are displayed. In addition, you
can select the "Including blocks created in different programming languages" check box to
compare blocks created in different programming languages (e.g. AWL, FUP....). In this case,
the blocks are compared based on STL.
7. Confirm your settings in the dialog box by clicking "OK".
The results of the comparison are displayed in the "Compare Blocks - Results" dialog box.
8. To display the properties (i.e. time of last modification, checksum, etc.) of the compared blocks,
click on the "Details" button in this dialog box
To open the program editor, in which the results of the comparison are displayed in the lower
portion of the window, click the "Go to" button.
Note
When comparing an offline block folder with an online one, only loadable block types (OB, FB, ...)
are compared.
When comparing offline/online or Path1/Path2, all blocks included in a multiple selection are
compared, even if some of then are not loadable ones (i.e. variable tables or UDTs).