Renaming tags in TIA portal

Jim G.

Member
Join Date
Nov 2007
Location
Georgia
Posts
187
I have a small modification that I want to make to a program in an S7-1500 using TIA portal V14 SP1.

I have a global data block containing some tags labelled as "Spares". The block contains non-optimized tags.

I want to use some of these spare tags and just rename them for my purpose.
I know how to do that.

What I want to know is upon downloading the changes, do I need to re-initialize the block values? How do I put just tag name changes in without changing or re-initializing any values. The spare tag are only going to br renamed for future purpose.

I hope this inquiry makes sense. I an still learning Siemens and TIA portal.

Thank you
 
You have two ways to do this.


1. take snapshot of current values, make modifications, download changes and load snapshot values back to DB.
(After download values are different (start values) as long as you have restored snapshot, at least I think so.)
https://support.industry.siemens.co...3-sp1-and-restore-them-in-v14-?dti=0&lc=en-GB


2. Another method. Take first snapshot.
- mark variables as setpoints (at least them, which you want to save as initial value)
- mark variables as retains on DB.
- Copy snapshot as start values.

- make modifications to DB, after download you have same values on setpoints as them where on snapshot. (start values after initialization)


Also if CPU is restarted your block remains values or values are start/init values (from snapshot)
https://support.industry.siemens.com/cs/mdm/109011420?c=69540267403&lc=en-WW
 
Last edited:
If you're using optimized blocks, "Download without reinitialization" is the tool for that; the trick is that you need to activate it, download, and reinitialize everything BEFORE you need to use it to add tags on the fly.

https://support.industry.siemens.com/cs/ww/en/view/76278125

Since you aren't using optimized, I'd recommend what Lare said, to utilize snapshots to set the start values appropriately. Should be fine for things like parameters; might be tricky for things that are constantly changing.
 
As an alternative, you could create another global DB and use that for your new variables and hence download without interfering with existing DBs.
 
I thought about creating a new global DB and creating the tags there. Will I still be prompted to re-initialize when I download the changes?


Thanks
 
If you haven't modified any existing DBs then no.


You could also 'demo' this by trying it out using plcsim.
 
I thought about creating a new global DB and creating the tags there. Will I still be prompted to re-initialize when I download the changes?


Thanks


You only reinitialize the DBs you change when you download. the existing DBs won't be changed, so they won't be reinitialized.


Whether the new DB is being reinitialized or not (just initialized, since its the first time?) might boil down to sematics, i guess, but you aren't losing data there because it doesn't exist yet.
 

Similar Topics

Hello, I am working on a project where we are migrating from PLC-5 to ControlLogix. I have used Project Migrator in an attempt to expedite the...
Replies
13
Views
8,412
I have a GE Proficy Machine Edition v9.5 project. I have to rename about 100 variables but keep the same addresses. (The customer is getting a...
Replies
8
Views
2,932
Hi All, I am using a Micrologix 1100 to load various Jobs on a cognex camera. The way it works is that I send a command to load the file and I...
Replies
1
Views
1,540
I have a large number of simultaneous logs being generated. One for each machine it's connected to. However, It seems that the log file naming...
Replies
0
Views
2,013
Hi all, If I rename an element of a UDT the new name flows through to the tag database where the UDT is used however it does not flow through to...
Replies
1
Views
10,420
Back
Top Bottom