S5 Timers count up or down?

Brownhat

Member
Join Date
Mar 2007
Location
MN
Posts
139
So I'm working on converting an S5 program to a CompactLogix. The S5 program uses alot of compares on timer values. While the timer is active, does the timer value count up, or count down? The processor was a S5-115U, if that makes a difference. Thanks.

timer.jpg
 
So I'm working on converting an S5 program to a CompactLogix. The S5 program uses alot of compares on timer values. While the timer is active, does the timer value count up, or count down? The processor was a S5-115U, if that makes a difference. Thanks.

Also timers come in three resolutions.
0.1s
1s
10s
with a maximum preset of 999
99.9
999
9990
 
Also timers come in three resolutions.
0.1s
1s
10s
with a maximum preset of 999
99.9
999
9990
No, they come in FOUR resolutions: 0.01s, 0.1s, 1s and 10s. Comparing a timervalue as shown in the picture from the OP only compares the three digits to a given number, but doesn't take care of the timebase.

Kind regards,
 
Okay, so I'll have to emulate a count down using (.PRE - .ACC). Now, when the S5 timer is inactive, is the timer value at the preset, or at zero?
 
If the timer has not been started or has timed out, a value of zero will be read.

If the timer has been started but is stopped before it times out, the time remaining to zero when it was stopped will be read.

t4.gif
 
Last edited:

Similar Topics

Hi, I'm quite new to Rockwell PLC and currently trying to implement the following if Sw1 then for i:=1 to 20 by 1 do xEnable := 1...
Replies
9
Views
363
I'm writing some alterations to an FPWin program and need to see the running value of timers so I can set them correctly. It's my first time with...
Replies
0
Views
131
Hi everyone I am using Winproladder software for programming FATEK FBs PLCs and in programming, we often use Timers for activation of the...
Replies
4
Views
576
Hi all, I have what is likely not a complex issue, but I am working in Automation Studio and want an accumulating/retentive timer when a...
Replies
17
Views
1,911
Dear all, I want to use the interrupt service routine in FATEK PLC using WinproLadder Software. I had configured the interrupt in software as...
Replies
17
Views
1,572
Back
Top Bottom