Simatic manager - unused variables

naturephoenix

Member
Join Date
Jan 2015
Location
Vienn
Posts
181
Hello,

The way I'm making my program inside SIMATIC MANAGER is that I take someone else's project.

IN that way on the end I have quite a lot of unused SCLs, TIMERS,BOOLS,INTs and even DBs, FCs, FBs.

What the best way to remove all them from project once I have finish my project.
 
I'd say that you are modifying someone's program and not necessarily making it.

SCL's, DB's, FC's and FB's are program files. An SCL source code file can create, when compiled, several FC, FB and DB blocks. So I'd look into the SCL files and check which of the FC/FB/DB are created by it and start by deleting those (if not needed).

Then to delete what you call BOOLs and INTs, I'd go to the Program folder and open the Symbol List. In there, the BOOL's and INT's are defined with a symbolic name that you can delete.

Normally, by deleting DB's, there will be a window popping up asking you if you also want to delete the symbolic information. If you do that, you don't have to go to the Symbol List apart for Symbols related to memory bits, timers, counters, structs, etc...

Edit: I assume, obviously, that you have a backup copy of the program before you start deleting things so that you can revert back to it if you delete something you shouldn't have.
 
Two of my biggest customers requires that all unused components be deleted out of the program before they'll accept it (they provide a template that has everything and the unused stuff is to be deleted). I use a combination of the Block Consistency Check and the Cross Reference for Unused Symbols to delete the unused and that has satisfied them.
 
Little add-on to Mr. Cardosocea. Are you referring to the symbols? Or the actual blocks/bits n bytes?

Everything in your blocks folder will be downloaded, if you have declared symbols for non existing objects, these do not take any space. However, I would certainly delete them for clarity.
 

Similar Topics

I'm trying to build my Classic Step 7 programming skills this weekend. I get stuck on little things that are not covered in YouTube tutorials. I'm...
Replies
7
Views
316
Got a VIPA 315-2AG23 that i try to go online with but can't seem to make it work through a network. I can go online if i'm plugged directly in the...
Replies
4
Views
270
Hello all. I went to a customers location, uploaded from the S7-300 (CPU312) and performed a save, performed some work then came back to the shop...
Replies
7
Views
605
Hello.We are trying to convert a program written with S7-300 Simatic Manager to S7-1200 V16.Unfortunately, there is only LAD,FBD option in S7-1200...
Replies
2
Views
754
Hi, I have recently gone full in on TIA after holding on to Simatic Manager. One thing which I find more difficult is the filter function for...
Replies
6
Views
1,726
Back
Top Bottom