Logix5000 - How to retain memory between downloads

Join Date
Aug 2007
Location
Saint Augustine, FL
Posts
178
This oughta be a simple one --

I'm noticing that if I'm online with a Logix5000 PLC, and "save" the project (thereby uploading memory), and later go offline, make a change, and download it again, the PLC's memory gets reset to soem virgin values. None of my setpoints remain.

What do you think i'm doing wrong?
 
When you download to a ControlLogix processor, the tag values are also written to the processor. You can't just download the "code" without also downloading the tag values that you have in your offline project.
 
Agreed. But why doesn't the current tag values get uploaded, so that the next download simply pushes them back down?

It does on all of my processors here. When you are online, and do a save, do you select to upload current tags? If you do, they will be pushed down again on a download.

The start-up routine could be changing them again though, or values may have been changed between your upload and your download.

Why not just make the changes online?

For completeness, I should ask what processor firmware version you are using.
 
It does on all of my processors here. When you are online, and do a save, do you select to upload current tags? If you do, they will be pushed down again on a download.

The start-up routine could be changing them again though, or values may have been changed between your upload and your download.

Why not just make the changes online?

For completeness, I should ask what processor firmware version you are using.

Logix v16 does not allow the editing of UDTs and AOI's while online.

And yes, I *am* uploading tags when I save, it just is being dumb, i guess.
 
Ahhh... If you are losing UDT/AOI definitions, that makes possible sense then. You might want to try using the "Tag Upload/Download Tool" included with the RSLogix 5000 installation, that may work.

Upload them with that first, DL the program, then DL the tags.

Changing the definitions is probably wiping out some or all of the UDT/AOI data due to alignment changes in the structure.
 
I'll have to pay attention to that. I don't *think* i'm changing the AOI definition, but it would make sense that it'd cause this issue.

It'd be neat if they had a Run handler that ran everytime the CPU went into RUN.
 
I'll have to pay attention to that. I don't *think* i'm changing the AOI definition, but it would make sense that it'd cause this issue.

It'd be neat if they had a Run handler that ran everytime the CPU went into RUN.

Well, write one. Two ways. One, is the "Power-Up Handler" routine (just under the controller tags in the application tree). Another is in routines that need initialization, use the S:FS (first scan) bit to run an initialization routine.

ETA- the "Power-Up Handler" I believe only runs after a powerdown, I'm not sure about a download of a new program. I generally just use the XIC S:FS JSR _000_Initialize myself.
 

Similar Topics

Hi! So my problem is a little funky, I had Studio 5000 v 24 and 30 installed, but forgot to install RSLogix (which I cannot go without). Is there...
Replies
2
Views
149
So I had an odd request from a customer for the above. I have written the logic and tested it all in one PLC with only using 7 outputs and 7...
Replies
15
Views
448
I'm a Siemens person, and this is one of my first AB programs. The customer wants everything programmed in Ladder. I have a lot of data (3...
Replies
14
Views
244
Good day everyone. if you have a logic for 3 pumps (lead/lag/off), would you please email it to me? I really appreciate it!
Replies
7
Views
227
Maybe this is just not possible, or maybe I am doing something wrong. Background; I have a data array of over 1500 products. For sorting I...
Replies
6
Views
770
Back
Top Bottom