Retentive Timer On issue

Krilun

Member
Join Date
Aug 2008
Location
Cleveland
Posts
44
Hey all,

I wrote some ladder logix using RSLogix 5000 v15. When I make changes to the logic, I download it to the PLC. I use some Retentive timer on's to keep track of how long pumps have been running.

The Problem: When I download the modified programs to the PLC the Retentive Timer resets to some value, not zero, instead of staying the same. I saved the project once when I was online and in run mode and it asked me if i want to save the tag values as well and I did. Now everytime I make a change, the value resets to the value it was saved as.

Does anybody know how to disable that feature and let the Retentive Timers not reset to the saved value?? Or am I screwed??

Thanks,
-Ken
 
The only for sure way of not changing a timer's accumulated value (or the entire data table for that matter) is to make the program changes online. Otherwise, whatever is in your offline data table will be transferred to the processor on a download.
 
I think you are SOL in version 15. What I usually do is make changes offline, and instead of downloading the program make copy and paste in online changes to the ladder so that the data table values are not affected. I believe in version 17 there is a partial download ability but I haven't investigated it very much.
 
If its in memory it can get changed, intentionally or accidentally. If you absolutely don't want to chance it then use external hour meters.

BTW, if you have the FB language extensions for Logix5000 then consider using the TOT instruction instead for traking motor run hours.
See http://www.plctalk.net/qanda/showpost.php?p=251927&postcount=5 for information on how to configure it to totalize hours and using the TOT flags.
 
Last edited:
Oakley said:
Create a startup routine that zero's the acc values of your retentive timers/counters.

I don't think he wants them to start over. He wants them to maintain their current count of time running, even when a new program is dumped in.

My suggestion is do an Upload just before dumping, cut/paste your new logic in offline, and dump the new program back in. That's whay I usually do to insure that I have fresh data.
 
robertmee said:
I don't think he wants them to start over. He wants them to maintain their current count of time running, even when a new program is dumped in.

My suggestion is do an Upload just before dumping, cut/paste your new logic in offline, and dump the new program back in. That's whay I usually do to insure that I have fresh data.

Ok then, you could use the Tag Upload/Download tool from RA.
 

Similar Topics

Does anyone know of a library that already has a implemented RTO? I was going to write my own but I'd rather not take the time.
Replies
35
Views
11,329
Hi all, I was wondering if anybody knows how to reset a retentive timer after it has started timing. I am using Schneider Electric's EcoStruxure...
Replies
5
Views
3,441
Greetings! I am working on a system for controlling various pumps on a recipe that is time based. In schneiders machine expert basic there is a...
Replies
0
Views
2,866
I wanted to use a retentive timer where I can read the accumulated time in the time(i.e. the PV of the timer). I the case of allen B we use...
Replies
3
Views
2,844
Hi Guys and Girls, I'm looking for suggestions, I need to measure how often an analog signal is above a set point and trip if it's above the SP...
Replies
15
Views
4,756
Back
Top Bottom