Friday, March 6, 2015

Copying a Block from the Standard Library

For later use, copy the FC105 block from the STEP7 "Standard Library" into the
Blocks folder of the Step7 Program "My_Program" in the project "My_Project".

What To Do
1. Open the "Standard Library" in the SIMATIC Manager:
File > Open... -> select the "Libraries" tab -> choose "Standard Library" in the
list -> confirm
2. In the project "Standard Library" open the Blocks folder of the S7 Program
"TI-S7-Converting Blocks"
3. Display your project called "My_Project" and the "Standard Library" at the
same time in two windows in the SIMATIC  Manager
Window > Arrange > Horizontally
4. Using drag & drop, copy the FC 105 block from the "Standard Library" into
your program folder "My_Program"
5. Close the library.

The FC 105 block is stored in the Blocks folder of your Step7 Program called
"My_Program" in addition to the still empty OB 1.

Libraries are used for storing blocks which contain standardized functions. You
can copy the blocks from the library into any project you wish. If the name
(number) of the block you are copying already exists, you can rename the library
block (number) when you insert the block into your program folder.

Performing a CPU Memory Reset and Warm Restart

You are to perform a CPU memory reset and check whether the memory reset
was successful.

What To Do
• Carry out the memory reset according to the steps in the slide above
• Check the success of the memory reset. The memory reset was successful
when only system blocks (SDBs, SFCs, SFBs) are left in the CPU
in the SIMATIC Manager, select the Step7 Program folder "My_Program" ->
switch to the Online view.

When the CPU memory is reset, all user data in the CPU are deleted.
To make sure that no “old” blocks are left in the CPU, a memory reset of the
CPU should be performed. The following takes place during a memory reset:
• All user data are deleted
(with the exception of the MPI parameter assignments).
• Hardware test and initialization
• If an Eprom memory card is installed, the CPU copies the EPROM contents
back into the internal RAM after the memory reset.
• If no memory card is installed, the preset MPI address is retained. If,
however, a memory card is installed, the MPI address stored on it is loaded.
• The contents of the diagnostic buffer (which can be displayed with the PG)
are retained.