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,077
Hi All, Someone at work has put a PLC system on my desk, that's just been taken off an idle production line. He said "It's an S7 PLC. We don't...
Replies
10
Views
249
Hi guys , I'm new with Allen Bradley, but I have experience with Tia portal (s7 1200 ,s7 1500) I want to convert my project from Tia portal to...
Replies
2
Views
205
Hi, I have had problem with upgrading some projects from v16 to v18. I tried it on 3 diffrent computers. I want to post this so that anyone that...
Replies
3
Views
170
Hello gentlemen, Im working on a small project on TIA Portal, about establishing a Modbus TCP connection between my ET200SP plc and a socomec...
Replies
12
Views
310
Back
Top Bottom