RSLogix5000 Copy Tag Values from one program to another

DamianInRochester

Lifetime Supporting Member
Join Date
Jan 2011
Location
Rochester NY
Posts
1,292
I have two separate programs open in two instances of RSLogix5000.

Each program has a user defined tag that is a large array of a user defined data type.

I need to copy the values of just this array from one program to another. I tried dragging and dropping but it did not work. I tried copy and paste but that did not work either. Any ideas on how to copy these values from one program to another?
 
There is a utility call "Tag Upload/Download Tool" but I think it requires a licensed version of RSLinx to act as OPC server. I have never used it but I think it does include the functionality you require. There was a thread on this subject recently in which some members offered other methods...I'll see if I can locate that thread.
 
It sounds like these programs are offline, assuming that is the case, go to the Edit Tags window on both programs. Delete the tag from program 1, copy/paste the tag from program 2 into program 1. The values will come with it.

If my assumption is incorrect, let us know...
 
Thanks Guys.

dmroeder your assumption is correct.

After Okie's post I figured out that I could paste it in the target tags if i went all the way down to the last row. When I pasted it in it created a copy of the same tag but with all the values. Then I was just able to just a quick program to copy the values from the copied tag into the original tag. Practically the same thing you were suggesting only I didn't have to delete the original.
 
You can add a dummy rung in the program you want to copy from, and use one tag from the array on the rung. Doesn't matter what, just one bit will do. Then export the rung. In the program you want to copy to, just import the rung. If the tag already exists, you will need to select "overwrite" from the import dialog. Once the rung is imported, you can delete it. The tag values from the other program will then be in the target program.

I use this method to create tags in a running program. Create the tags in Excel, import into an offline program, use the new tags in a dummy rung (also created in Excel), then export. The exported rung can then be imported into a running program, thus getting around the inability to import tags from a CSV file while the processor is running.
 
..... Delete the tag from program 1, copy/paste the tag from program 2 into program 1. The values will come with it....

later posts say this works, and is new to me...

handy to know, for the future, thanks dmroeder
 
I may be a bit late to the party, but I've just been using the Logix Designer Compare tool in 'merge' mode - it was new to me but my customer needed a fix to avoid having to enter lists of parameters and recipe details for a system upgrade.

The original data preservation tool doesn't work with W10 or with programs past V24, so that wasn't working.

The Merge tool allowed us to keep all of the programs and hardware settings from the new platform, but apply the tag values from the original program which had just been backed up.

You need to watch out to deselect any changed alias references, but it worked flawlessly and didn't take long to understand.
 

Similar Topics

Hi, done Cop(Copy) instruction but usually with DINT or INT in an array, but just happen an hour ago that I try to COPy an array of 380Boolian...
Replies
0
Views
2,078
Hi All, Can anyone tell me how I would go about copying or moving a DINT into an array of 32 Boolean values in rslogix5000? I've tried using...
Replies
11
Views
19,781
in a copy instruction can the source element be the same as the destination element like can it be a counter pointed at the same tag. I wont be...
Replies
4
Views
4,701
Hello everyone, I have an RSLogix5000 project which is running live in the factory but I need to make some changes to the logic. I want to test...
Replies
0
Views
1,097
Good Morning Everyone, I'm looking to use the GSV instruction to get I/O fault codes for my project so I know if there's a comms issue in my E/IP...
Replies
5
Views
810
Back
Top Bottom