TIA Portal: "Retain" setting in Instance DBs

kdcui

Lifetime Supporting Member
Join Date
Dec 2007
Location
USA
Posts
386
This may seem like a basic question, but for some reason I have having real trouble deciphering the built in help content, as well as navigating the official Siemens forums.

I have a program I've inherited (v14 of TIA Portal). There is an FB and a corresponding Instance DB (it is only instantiated once, so far). When I open this one IDB, the "Retain" setting is set for several (but not all) parameters, however the entire column is greyed out and I am unable to set (or unset) this setting.

I'm can't for the life of me figure out how to change this. I need to add some parameters to the FB definition and want to ensure they are retained.

Thanks.
 
This may seem like a basic question, but for some reason I have having real trouble deciphering the built in help content, as well as navigating the official Siemens forums.

I have a program I've inherited (v14 of TIA Portal). There is an FB and a corresponding Instance DB (it is only instantiated once, so far). When I open this one IDB, the "Retain" setting is set for several (but not all) parameters, however the entire column is greyed out and I am unable to set (or unset) this setting.

I'm can't for the life of me figure out how to change this. I need to add some parameters to the FB definition and want to ensure they are retained.

Thanks.


I believe it is set in the FB interface. Each parameter can be set as Retain/Non-retain/Set in IDB.
 
Thanks, that was it - I completely missed this.
Does modifying this change anything about the memory reserve available for retention?

I know with PLC Tags, it is more specific / restrictive in that you need to click the "Retain Memory" button and then specify the address size (starting from address 0), and then the Retain is automatically applied to all tags starting from 0 to [Max Address].

Adding new tags into my FB and setting them to Retain did not seem to change the "Currently available retain memory" shown in the "Retain memory" menu accessible from the PLC tags list (I have a feeling they are treated separately).
 
Last edited:
The field you mention won't update until the blocks are compiled. The Program Info display has the same requirement (with the additional requirement that it only updates when it is opened or actively refreshed via the toolbar button).
 

Similar Topics

Hello everyone, I am currently having a problem retaining values that i changed. Lets say today i ran my programme and i put my max motor speed...
Replies
6
Views
2,137
Hi everyone I want to use a vm to run tia portal v13 to v15 What would you suggest, Windows an specification for each portal . Thanks will...
Replies
3
Views
36
Hi PLC people, think about this scenario: The PLC is somehow connected to the same network with the facilities` network. Then someone connects to...
Replies
2
Views
133
Hello, good morning, I have been having two problems with the Tia Portal software. The first is that I have installed it on my computer and...
Replies
5
Views
214
Hello all! So I have one project with a S7-1214 and a MTP1500 "Project1" and one project with another S7-1214 "Project2". Both of these PLC:s need...
Replies
6
Views
148
Back
Top Bottom