Calculating time left ....

briana banks

Member
Join Date
Jul 2005
Posts
242
Hi All

Sorry for this novice question.
Using RSlogix 5000.

If I have 5 stations .In each station operator enters SP amount
of fuel.

all stations are connected via single line to a tank.
there is a totalyzer on that line.

hence,each station line up in a queue to consume oil.

I calculate time by using formula (SP - Actual)/rate = time (in sec) for each station

How should i calculate the time left for each station,
until it reaches its turn.?

Thanks
 
The sum of all the times remaining for each station ahead of the one. Then add in what ever time it takes to switch between filling one station to filling another (Should be a constant?)

So if Station 4 is the 4th station in the Queue, then it will have to wait for the whole cycle of the 3 stations ahead of it, plus the time to switch between each station.
 
Last edited:
Hi

I need to display a clock counting backwards of each
station's time left.


the time to switch from one station to a nother is neglectable.
 
Use a Count-Down Counter for each Station, with Preset value set to the Sum of the Station Times that are ahead of this one. Countdown Accumulator is then decremented by using a 1-second timer or 1-second internal clock bit.
 
Last edited:

Similar Topics

This application has a motor with encoder feedback that drives a linear actuator that moves in/out, and is at roughly 45 degs from horiz. As the...
Replies
19
Views
1,365
I need to keep a running pass/fail yield of the previous 5,000 parts produced. I have used this formula before to calculate average: AvgValue =...
Replies
6
Views
2,156
Does anyone know how to calculate the savings from now needing to run an air compressor all day? Basically I have a design that replaced 6 * 1"...
Replies
26
Views
4,828
I would like to refer to this document of which I used some data ...
Replies
1
Views
1,478
Seems like this should be a simple thing but I’m struggling with it. The basis is that I am trying to detect if a linear assembly is stopped or...
Replies
6
Views
3,099
Back
Top Bottom