PLC Interview Question - Array FIFO Logic Programming Example Average Rolling Mean RSLogix 5000

preview_player
Показать описание
PLC Interview Question - Array FIFO Logic Programming Example Average Rolling Mean RSLogix 5000

PLC Interviews aren't very complex. Within a short period of time, you may be asked to implement a simple logical structure such as a Motor Starter, a stack light system or a basic FIFO set of rungs. By practicing implementing such structure, you will build your knowledge of PLCs, the software package of your choice and you'll become a more proficient programmer.
Today, we're looking at an example that involves a FIFO Implementation and results in a way to store data based on short periods in order to compute a rolling average of such data. In other words, the logic can be used to report a rolling average of the number of products made in the last hour. At first glance, it may seem that such systems already exist, but from our experience, most will report the quantity produced at every hour. The nuance here is that as you walk up to the production line at 7:43 AM, you should be able to see how many cases were made from 6:43 AM to 7:43 AM. A traditional system will give you the number of cases from 6 AM to 7 AM and sometimes a rolling number starting from 7 AM.
Full Tutorial:

Find us on social media:

Other Cool Content:
PLC Programming Tutorial | Allen Bradley Training in RSLogix 5000 Ladder Logic Basics for Beginners

Industrial Relay Control System | Wiring a 24 Vold DC Relay Circuit

PointIO Allen Bradley Hardware & Software Tutorial | 1734-AENT Point IO EtherNet RSLogix 5000 Logic

RSLogix 5000 Analog Input Programming | Wiring Scaling Tutorial for PLC Analog Input Signal Example

RSLogix PID Loop PLC Programming | Example of PID Control Instruction in Studio RSLogix 5000
Рекомендации по теме
Комментарии
Автор

Thanks for showing how to use these commands, can you give examples of applications they they might be used in please

davesoutdooradventures
Автор

I am using udt to do it and it would be beneficial if you can show me your way. I am a superfan of you.

benc
Автор

Hi Vlad, Can you show an example of constructing product database that binds together with different attributes for i.e. barcode, height and etc using plc

benc
Автор

Thank you for a good presentation, I have tried the same logic on my "RSLogix Emulate 5000", although the behavior was somewhat similar, I noticed a few differences compared to what I can see in the video. Here are the most important:
1- The FFL Position increments from 0 to Length at each execution, whereas in your application the position remains at value 12
2- In my implementation the data is written downward i.e. from low array element index to high array element index (the opposite for your direction)
I am puzzled as I did not see in your logic anything that explains the change in behavior, could you kindly provide any explanation for the observed differences in behavior?
Thank you in advance for your help

fethilakhdari
Автор

Hi, Vlad very nice video!! I have one question for you, you are using a periodic task for the FIFO instruction so, what time of execution do you recommend for this periodic task? Thanks!

ManuelMartinez-fxql
Автор

FBD has a rolling average instruction already. Stand on the shoulders of those who came before you!

davebennett
Автор

How could I move the elements in an array? for example, I have 10 elements and I want to add a new one at position 0 by moving the one that was in 0 towards 1, 1 through 2, 2 through 3 and so on

antonioportugal
Автор

WTF Hi Vlad way to fast for us new guys or just me... need to make it a bit more basic FIFO, load and unload Please

mrtrader