Inst ToolsInst ToolsInst Tools
  • Courses
  • Videos
  • Q & A
    • Interview
      • Instrumentation
      • Electronics
      • Electrical
      • Practical Questions
    • MCQ
      • Instrumentation MCQ
      • Electrical MCQ
      • Electronics MCQ
      • Control Systems MCQ
      • Analog Electronics MCQ
      • Digital Electronics MCQ
      • Power Electronics MCQ
      • Microprocessor MCQ
      • Multiple Choice Questions
  • EE
    • Electronics
      • Electronics Q & A
      • Electronic Basics
      • Electronic Devices & Circuits
      • Electronics Animation
      • Digital Electronics
    • Electrical
      • Electrical Basics
      • Electrical Q & A
      • Power Electronics
      • Electrical Machines
      • Electrical Animation
      • Power Systems
      • Switchgear & Protection
      • Transmission & Distribution
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Search
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Reading: What are FIFO and LIFO Sequences in PLC?
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • PLC Tutorials
  • Control Systems
Search
  • Courses
  • Videos
  • Q & A
    • Interview
    • MCQ
  • EE
    • Electronics
    • Electrical
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > What are FIFO and LIFO Sequences in PLC?

What are FIFO and LIFO Sequences in PLC?

In this article, we will learn the LIFO and FIFO sequence concepts in PLC programming.

Last updated: May 17, 2023 11:22 am
Viral Nagda
PLC Tutorials
No Comments
Share
5 Min Read
SHARE

Sequential logic is of great use in PLC programming. It helps in sorting out things easily. A wide range of applications that use PLC has some or the other sequential logic written in it.

Contents
FIFO Sequence in PLCLIFO Sequence in PLC

Two of the most widely used sequences are LIFO and FIFO. You must have heard the names in electronics when used for stacking and sequencing. These types of sequential logic are available in PLC too.

In this article, we will learn the LIFO and FIFO sequence concepts in PLC programming.

FIFO Sequence in PLC

FIFO stands for first in first out. The meaning of this sequence can be understood easily from its name. The thing that comes first will go out first. You input one element; and when you request an element, the first one that is entered will be given to you. This same logic works in PLC programming for the FIFO sequence.

In programming, a logic block is assigned named FIFO. It can store up to 16 words or more, depending on the PLC. It contains three types of inputs – reset, storage, and retrieval.

On a rising edge of the reset input, the sequence is reset and made empty. On a rising edge of the storage input, the word present at the input is stored in the block. The block will memorize the sequence of words received.

On a rising edge of the retrieval input, the word entered first will be given in the destination word configured by the PLC programmer. It has two outputs – empty and full. If the empty bit is true, then it indicates that the storage is empty, and if the full input is true, then it indicates that the storage is full.

FIFO and LIFO Sequences in PLC

LIFO Sequence in PLC

LIFO stands for last in first out. The meaning of this sequence can be understood easily from its name. The thing that comes last will go out first. You input one element; and when you request an element, the last one that is entered will be given to you. This same logic works in PLC programming for the LIFO sequence.

In programming, a logic block is assigned named LIFO. It can store up to 16 words or more, depending on the PLC. It contains three types of inputs – reset, storage, and retrieval. On a rising edge of the reset input, the sequence is reset and made empty.

On a rising edge of the storage input, the word present at the input is stored in the block. The block will memorize the sequence of words received.

On a rising edge of the retrieval input, the word which entered last will be given in the destination word configured by the programmer. It has two outputs – empty and full. If the empty bit is true, then it indicates that the storage is empty, and if the full input is true, then it indicates that the storage is full.

These sequences are pretty easy to operate. The programmer has to take care that any inputs are not given simultaneously to the storage blocks. The block will then not do any action in this case. Only one input has to be given at a time. It is also to be noted that different PLCs function differently on warm restart or cold restart.

Generally, in a PLC cold restart, for example, the register will be reset and in case of a warm restart, the register will be intact as it is. It depends on manufacturer to manufacturer.

If you liked this article, then please subscribe to our YouTube Channel for Instrumentation, Electrical, PLC, and SCADA video tutorials.

You can also follow us on Facebook and Twitter to receive daily updates.

Read Next:

  • Find the Best PLC for Your Project
  • HMI Screens on a Mobile or Tablet
  • Top Automation Vendors in World
  • Tia Portal Interrupt Organization Block
  • Timers in Siemens PLC Programming
Don't Miss Our Updates
Be the first to get exclusive content straight to your email.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
You've successfully subscribed !

Recommended Articles

Compare Two Offline PLC Projects
Instrumentation and Control Project Packages – Detail Engineering
Elevator PLC Ladder Logic
Create a Function (FC) for a Valve Logic in Siemens PLC
Parallel Tanks Level Control using PLC Ladder Diagram Tutorial
Types of Failures in Industrial Automation Systems
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

128.3kFollowersLike
69.1kFollowersFollow
208kSubscribersSubscribe
38kFollowersFollow

Categories

Recent Comments

  • William Snyder on Top Non-PLC Certification Courses for Automation Professionals
  • Kamli on Top Free PLC Software
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals

Related Articles

Motor Feedback Fail Logic in PLC

Motor Feedback Fail Logic in PLC

Switch NO or NC Contact

Normally-open and Normally-closed Switch Contacts

PLC Program to Control Motor Speed using VFD Drive

Motor Speed Control using VFD and PLC Programming

How to choose between PLC and DCS Systems

How to choose between PLC and DCS Systems ?

Relay Internal Parts

Relay Operation, Types, Symbols & Characteristics

PLC Program Example - Signal Lamp Task

PLC Program Examples

PLC Programming Software

What Factors Affect the Choice of PLC Programming Software?

PLC Programming for Train Detection and Gate Operation

PLC Programming for Train Detection and Gate Operation

More Articles

Peripheral Inputs and Outputs in Siemens PLC

Peripheral Inputs and Outputs in Siemens PLC

Absorption chiller

Capacity Control of Absorption Chillers

four-way-solenoid-valve-diagram

Four Way Solenoid Valve Working Principle

PLC Instructions

Program Flow Control Instructions in PLC Programming

Advanced Microcontroller Projects Using Proteus Simulation

Advanced Microcontroller Projects Using Proteus Simulation

IP transducer

Pilot Valves and Pneumatic Amplifying Relays

What is Profibus

What is Profibus? – A Comprehensive Guide for Beginners

ESP8266 WiFi Module Projects

ESP8266 WiFi Module Projects for Engineering Students

Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?