How to disable a timer's preset?

Syrist

Member
Join Date
Jun 2006
Location
Kitchener
Posts
17
I'm working in logix 5000 and I using an RTO timer to keep track of the total running time of a conveyor. Each day the timer will be reset back to zero.

Since I'm not using the preset function of the timer, is there a way I can disable or ignore the preset?

Could I simply use a preset value of 0 or something?

-Pete
 
You could set the timer preset to the max time allowed for it. Or you could set the timer to 6 seconds and use it to increment an integer, and keep count in tenths of minutes there.
 
as jtn suggested, most programmers would just set it for the max and forget it ...

try 2,147,483,647 (note: leave the commas out when you enter the value) ...
 
As an alternative, if you have the RSLogix5000 Pro or the extensions for ST or FB languages you can skip using the timer altogether and set up a time totalizer using the TOT instruction.

To totalize time, fix the tagname.In value at 1.0 instead of connecting it to another tag. Fix the gain at 1.0. Set tagname.timebase to 0 for seconds, 1 for minutes, 2 for hours, 3 for days. Use the tagname.EN bit to start/stop time totalizing.

Your TOT tag also will contains some elements named .Target and .TargetDev1 and .TargetDev2. These can be used to signal events in much the same way as a timer DN bit works, however unlike a DN bit the TOT doesn't stop counting time when the bits are set.
 

Similar Topics

Hello, I am still new to PLC programming and I just got this job two year out of school so I don’t remember much. I was given a task were I have...
Replies
1
Views
160
How can we disable the DHCP server on a Stratix 5700 ethernet switch? It is running on a machine with Rockwell automation and drives. We...
Replies
6
Views
1,570
Hello. We have a Powerflex 700s phase II firmware 4.002, but the encoder card is burned. We want to disable it to use the Drive without motion...
Replies
0
Views
450
As above. I've been fishing around on TIA portal but haven't found a "Disable channel" tickbox. Is there one? If so, where is it? Cheers
Replies
9
Views
1,316
Hello, I have plc Schneider TM241CE40T with the hmi HMIS5T. Do you have idea how to disable a button after an emergency stop to vijeo designer ...
Replies
5
Views
1,427
Back
Top Bottom