Can I edit tags and UDTs in Logix5K without having to reload entire program?

defcon.klaxon

Lifetime Supporting Member
Join Date
Feb 2015
Location
Far NorCal
Posts
616
Hi all,

I'm working on some Control and Compact Logix A&B PLCs, running Logix5K version 24. I've been doing online edits just fine, but I've noticed that if I want to adjust tags (like changing the size of an existing array), I can't do it. Also, I can't modify UDTs. Obviously if I go offline and reload the whole program to the controller I can do that, but that of course shuts down processes and takes longer. Was wondering if there was any way to make these tag/UDT changes without having to do the whole program reload?
 
Hi all,

I'm working on some Control and Compact Logix A&B PLCs, running Logix5K version 24. I've been doing online edits just fine, but I've noticed that if I want to adjust tags (like changing the size of an existing array), I can't do it. Also, I can't modify UDTs. Obviously if I go offline and reload the whole program to the controller I can do that, but that of course shuts down processes and takes longer. Was wondering if there was any way to make these tag/UDT changes without having to do the whole program reload?

A tag/udt cant be redefined online.

what I do sometimes...

Redefine a new tag/udt.... after just use it on your logic.... if its highly used It would be a pain... if just a few rungs you would be ok...

Once your old tag is not used any more it may be deleted online... not udts...

Regards
 
Changing the definition of structures can't be done online.

That includes changing the datatype of an existing tag, or changing the size of an array, or changing the contents of a User-Defined Data Type.

It's just the nature of the beast. The structure of data types is essential enough to the program that you can't change it while the program is running.

I usually save up my structural changes, then take the opportunity to do the download when something else goes wrong or there's a break in the action.
 
You can change a UDT online in version 21 and greater, but there can be no tags defined with that type. Some tags can be renamed online as long as it doesn't have an HMI reading that tag.
 
I like to put "spare" definitions in my UDT, use them while online and before doing a new download, rename the members in the UDT to something making sense. Renaming UDT members will transition through to the routines that use it. Best to rename one at a time compiling between each, I have tried doing too many and the compiler couldn't track it.

I don't recall which version this was allowed, but having the ability to edit the member description while online even with tags defined of that UDT has been a real plus.
 

Similar Topics

Hey Everyone, Does anyone know of a way to bulk edit tags in an AOI in Stuido5000? I see a way to export the AOI tags to an excel file, but no...
Replies
16
Views
6,029
I have a list of names that are stored in string tags that I need to be able to edit at run time. There is a control list selector that chooses...
Replies
14
Views
5,750
Hello, I made a change in alarm setup in factory view studio, where I changed a alarm message text. After that I made a run application and...
Replies
0
Views
132
Searching edit zones within all routines and other criteria still says no results found, yet I still have the "edits present" indicator at the...
Replies
6
Views
253
Does anyone know where I can get TouchWin Edit software version V2.C.5 or above? Xinje's website is lacking. I just got a newer TH765-N display...
Replies
0
Views
170
Back
Top Bottom