You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old February 20th, 2009, 10:34 AM   #1
Michal1981
Member
United Kingdom

Michal1981 is offline
 
Join Date: Feb 2009
Location: Aberdeen
Posts: 1
RSLogix 5000 - tags export, modify and import

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
  Reply With Quote
Old February 20th, 2009, 03:17 PM   #2
HallerGK
Member
United States

HallerGK is offline
 
HallerGK's Avatar
 
Join Date: Jan 2009
Location: Indiana
Posts: 26
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
__________________
GKHaller

"Few men are lucky enough to be born brothers, the rest of us must earn it."

"Some people learn it in the schools, some learn it in the streets, me and kyle, we were born with it holms."

Last edited by HallerGK; February 20th, 2009 at 03:27 PM. Reason: misunderstood the question
  Reply With Quote
Old February 21st, 2009, 11:25 AM   #3
gmferg
Lifetime Supporting Member + Moderator
United States

gmferg is offline
 
gmferg's Avatar
 
Join Date: Feb 2008
Location: Modesto, CA
Posts: 308
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.
  Reply With Quote
Old February 21st, 2009, 05:23 PM   #4
daba
Lifetime Supporting Member + Moderator
United Kingdom

daba is offline
 
daba's Avatar
 
Join Date: Jul 2004
Location: uk
Posts: 2,624
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.
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
RSLogix 5000 V15 Features Samneggs LIVE PLC Questions And Answers 18 April 20th, 2006 05:45 PM


All times are GMT -5. The time now is 02:31 AM.


.