RSLogix 5000 - tags export, modify and import

Michal1981

Member
Join Date
Feb 2009
Location
Aberdeen
Posts
1
Hi All,


Does someone know how to export tags in RSLogix 5000 modify their names and import again without losing references in the logic?
In S7 it's very simple you can change point of reference to the address and import modified tag names without any problems.



Best Regards
Michal
 
I like to use excel to edit and keep track of my tags.

Sorry, I have no idea how to export/import without loosing ladder logic references. I'm assuming that you need to do a 'mass-renaming' of your tags. I know that if you edit the tags in RSLogix one-at-a-time, it will maintain your ladderlogic references. But It's alot easier to change the references of alot of tags (in the program) if you use structured text.

Step 1 the export:
In RSLogix5000
go to 'Tools'
and select "Export Tags" from the drop down menu.
You have your choice of alltags/controllertags/programtags
if you don't understand the difference, then search the help for the meaning of the word 'scope'

You should be able to save as a CSV filetype, this data is comma delimited and can be opened easily with microsoft excel.
depending on which scope you chose you may have up to 3 sections. All the properties of the tags are in columns with headers. This will be the format you need to follow EXACTLY, if you want to add some tags and then import them.

Once you master this, try what I do. I move all my data around by generating structured text with excels formula editor. I actually use excel to generate the tedious parts of my programs for me!

Structured text is also the best alternative to aliasing the individual elements in an array.
Array[0] := thisOne;
Array[1] := thatOne;
Array[2] := theOtherOne;
etc.

Hope this helps, I'm sorry if it doesn't
 
Last edited:
Check out .L5K

1. Save your program as an .L5K file. This creates a completely text file of your entire program.

2. Open .L5K file in a text editor (Notepad).

3. Perform search and replace of old tagnames with new tagnames. This will replace the tagnames in the tag database and in all the logic.

4. Save new .L5K text file and close text editor.

5. Open new .L5K file in RS5000.
 
Be careful with Search/Replace on the L5K with a text editor.

Remember that you have multiple databases in Logix5000. Tags in a Program Tags database can have tagnames identical to other tags in other programs. You may not want to change everything....

You need to double-check your intentions, and so long as you are aware of your search/replace options and scope, then all can be well.
 
get program tags in excel using opc

Hi,
I want to get program tags data in excel, can anyone guide me please.
I know how to get controller tags in excel using opc but i cannot get program tags in my excel file.
Thanks in advance.
 
Put the program name before the tag name with a *****....

eg. "ProgramName:TagName"
 
Visual basic to OPC

Hi guys,
I am developing a visual basic application to monitor/ read the tag values from Allan bradley control logix controllers program.

It is pretty bit simple to get tag data from OPC server to microsoft excel but i need help to get tag value directly in my VB program.
(I am using Visual basic express edition 2008)

i'll be very thankful if you just show me the code to get single tag value using OPC server to visual basic program.
 

Similar Topics

I am trying to get all of the controller tags from a RSLogix 5000 project into an excel spreadsheet along with the style, data type and...
Replies
1
Views
1,431
This is a stupid question but I'm not finding a clear answer in the Rockwell docs and I don't have 2 plcs to test on... In other words, if I...
Replies
4
Views
1,483
Is there a way to count the number of tags (including dot fields) in RSLogix 5000 automatically? When I export the tag database and open it in...
Replies
4
Views
2,967
Hello, I'm trying to create IO tags that will allow I/O to be changed via the HMI once the system is deployed, and without needing to connect via...
Replies
3
Views
2,767
I'm creating an HMI project using Crimson 3.0. I saved my PLC project as a .L5K file and imported that into Crimson. It imported most of the...
Replies
1
Views
1,484
Back
Top Bottom