LIFO and FIFO

oldmanraskers

Member
Join Date
Sep 2014
Location
United Kingdom
Posts
10
I have been trying to get to grips with the LIFO and FIFO functions using Compact Logix but it seems that if you have multiple LFL instructions on separate rungs only one item of data is actually put onto the stack - is this how the instruction really works or am I missing something. I expected that each subsequent rung would push something onto the stack?
 
Get on your instruction (LFL or whatever) and press 'F1' for help on the instruction. At least for LFL it says 'instruction loads one value each time the instruction is enabled' - if the instruction is not dis-enabled, another rung that attempts to enable it will have no effect.
 
if the instruction is not dis-enabled, another rung that attempts to enable it will have no effect.
What he said. You will need to do one of two things: a. after each LFL add a rung with an unconditional OTU of the enable bit, or 2. add a rung with an always false input condition going to an LFL identical to the one you've just ENabled. Either of these will reset the enable bit and allow the instruction to see a false-to-true transition.
 

Similar Topics

Hi friends, I have a big question and a big problem, I'm new to programming PLC, I have a system where we use a cognex data reader to read a code...
Replies
2
Views
1,844
Hi, We have an application where we are using a FIFO list to track parts moving through a queue. the FIFO Load/Unload pair is working without...
Replies
9
Views
11,789
Well HI all I am trying to use the FiFo/LiFo with a S7 300 and I am not to sure how to use it. I think I need the ATT table so that I could store...
Replies
4
Views
4,526
I’m new user of S7, so I want to use the FIFO LIFO, I do as the help says,I create a DB1 and put the information, but it does not work when I test...
Replies
2
Views
2,227
Hi to everyone. Kindly discuss when to used LIFO & FIFO Instruction. I appreciate if you can give actual application on the use of this instruction.
Replies
10
Views
14,916
Back
Top Bottom