converting fifo

James Mcquade

Member
Join Date
Oct 2007
Location
Nashville, Tennessee area
Posts
3,675
Hi everyone,

Several months ago, i asked for help in doing a fifo for a 12 station and 24 station machine in which we had an issue with our water utilities, and everyone came thru with flying colors. Thanks again !

The logic is complete and the software ran with the emulator with flying colors. Tomorrow i was to install the software and test it for our start of production next week.

HOLD Everything!!

Someone failed to tell me that the engineering study they did on the water utilities revealed that the utilities will be able to support two stations running at the same time, but not three and now they want to run two stations at the same time but not three. wished i had that information sooner.

Do any of you have a good suggestion / idea how to convert the fifo logic so i can run two stations at a time?

Management - wished they had to put up with the stuff we do, the left hand doesn't tell the right hand what its doing or what it wants.

Thanks in advance,
James
 
Can you post what you have? It might be pretty easy to modify or add something for this after seeing the existing structure you have followed.
 
quick and dirty fix:

Search for N7:13.

It will let the fifo keep unloading as long as there are less than two bits set in the output word. This will allow requests to come in and be processed in order, and if later you decide to allow three at a time, it is easy enough to do that by only changing one LES instruction constant (or make it N7:14).

Paul
 
we need to instead, only hmm. green light...;)

count stations actually running, so when one finishes, another can be FFUd

And ensure, that they seal in once permitted to start.
 
Last edited:
OkiePC,

i started playing with it as soon as i downloaded the file
and found that same problem.

thanks for the follow up , BUT !!!
thanks for your help!!

thanks to this site!
many of us would be in the dark without everyone's help.

james
 
Last edited:
James,

I see you run into a little problem. Unfortunately you did not take my suggestion and use "water fill" as the control for your FFU (FIFO UNLOAD). Instead, you tied your unload to the original start requests, simply unloading them in order without regard to the water AT ALL.

Now you have a problem. What can I say? Been there, done that. It would be nice if I could just convince a person that something has already been done, and a better way found. It rarely happens. We all have to learn the hard way - in the "school of hard knocks".

PS: I still have the original UNLOAD routine, if you need it. If you remember, I had 12 timers set up so that when the first running station signalled it had enough water, the next station could immediately start (the next FFU Unload would occur). With that method, it would be easy to start 2 or more stations together, by changing the Timer Done bits to whatever bit you want to use to signal the next start.
 
Last edited:

Similar Topics

Hello everyone, can anyone help me with covert the STL code to ladder. Iam using plc s71200. A %DB1.DBX33.7 // angel of vaccum...
Replies
2
Views
207
Hello PLCs Forum, I am in a bit of a pickle and was hoping someone could offer me some help. I have a .rss file and just need to see the ladder...
Replies
2
Views
121
Hello nice to meet you, im new in here, I'm currently trying to convert code written in STL for a S7-400 to SCL for an S7-1500, because when i run...
Replies
5
Views
316
Hello, did anybody know, if there exist an converting cable like the1492-CM1746-M01 (for an 1746-IB16 to an 5069-IB16), for an 1746-HSCE to an...
Replies
3
Views
388
Hello, This will be my first time converting powerflex 40's and 400's from devicenet to ethernet. I did some research, and it seems I will need...
Replies
4
Views
745
Back
Top Bottom