From the course: PLC Program Flow and Control Instructions

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Illustrate FIFO operation: Example

Illustrate FIFO operation: Example - Ladder Logic Tutorial

From the course: PLC Program Flow and Control Instructions

Start my 1-month free trial

Illustrate FIFO operation: Example

- [Instructor] I'm going to use this example to show you how the FIFO instructions work, since both load and unload instructions always work in pairs. To illustrate the operation, let's say we're using a thumbwheel to input the data in. The data is loaded into a FIFO stack using a load instruction. Then, using the unload instruction, the data is unloaded to a destination, which is an LED display. Now the parameters. For the load instruction, the source is thumbwheel address input five, and for the unload instruction, the destination is the LED display output six. FIFO stack is file N7 integer starting from ward zero. The same address is programmed for the load and unload instructions. The control file, R6:0. FIFO load and unload instructions have the same control element, which may not be used to control any other instruction. And for the length, I'll choose six words for demonstration. And by default, the…

Contents