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

  Рет қаралды 10,894

SolisPLC

SolisPLC

4 жыл бұрын

PLC Interview Question - Array FIFO Logic Programming Example Average Rolling Mean RSLogix 5000
Visit SolisPLC.com for more Tutorials, Information & to connect with the Community
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:
solisplc.com/plc-interview-qu...
Find us on social media:
Web: solisplc.com/
Forum: solisplc.com/forum/
LinkedIn: / solisplc
Facebook: / solisplc
Instagram: / solisplc
Twitter: / solis_plc
Other Cool Content:
PLC Programming Tutorial | Allen Bradley Training in RSLogix 5000 Ladder Logic Basics for Beginners
• PLC Programming Tutori...
Industrial Relay Control System | Wiring a 24 Vold DC Relay Circuit
• Industrial Relay Contr...
PointIO Allen Bradley Hardware & Software Tutorial | 1734-AENT Point IO EtherNet RSLogix 5000 Logic
• PointIO Allen Bradley ...
RSLogix 5000 Analog Input Programming | Wiring Scaling Tutorial for PLC Analog Input Signal Example
• RSLogix 5000 Analog In...
RSLogix PID Loop PLC Programming | Example of PID Control Instruction in Studio RSLogix 5000
• RSLogix PID Loop PLC P...

Пікірлер: 11
@benc8030
@benc8030 4 жыл бұрын
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
@ManuelMartinez-fx6ql
@ManuelMartinez-fx6ql 4 жыл бұрын
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!
@benc8030
@benc8030 4 жыл бұрын
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.
@davesoutdooradventures5523
@davesoutdooradventures5523 2 жыл бұрын
Thanks for showing how to use these commands, can you give examples of applications they they might be used in please
@fethilakhdari1078
@fethilakhdari1078 2 жыл бұрын
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
@antonioportugal9164
@antonioportugal9164 4 жыл бұрын
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
@davebennett5069
@davebennett5069 2 жыл бұрын
FBD has a rolling average instruction already. Stand on the shoulders of those who came before you!
@SolisPLC
@SolisPLC 2 жыл бұрын
Every interview question has previously been solved. It's not about the "solution", but rather the path the candidate takes.
@davebennett5069
@davebennett5069 2 жыл бұрын
@@SolisPLC true, but I don't want prospective job candidates trying to build a can opener with their bare hands if a can opener is already on the table. Perhaps the path I take is not what this interviewer is looking for, but it is the path I take.
@SolisPLC
@SolisPLC 2 жыл бұрын
@@davebennett5069 again, it really depends on the goal of the interview. If the candidate mentions that the instruction is available in FBD, I can immediately tell that they're more than a beginner in PLC programming. The idea behind implementing a known function is that it's easy to explain the functionality and it's just as easy to validate the solution. The analogy you brought up is incorrect as "building a can opener" does not necessarily test your ability to use the can opener. In the case of a programming interview, writing logic that is implemented at the core of an advanced function tests your ability to use basic instructions to create a more complex one. This is very common practice in every single coding interview: in C++, you're always asked to build a class, you're used to build a data structure that exists, etc. You can always say "there is a library for this", but the reality is that your showcase of base programming skills can be easily tested. In either case, I'd be more than happy to hear what interview questions you've seen and would like for me to cover.
@mrtrader4628
@mrtrader4628 4 жыл бұрын
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
Cool Items! New Gadgets, Smart Appliances 🌟 By 123 GO! House
00:18
123 GO! HOUSE
Рет қаралды 17 МЛН
Beautiful gymnastics 😍☺️
00:15
Lexa_Merin
Рет қаралды 14 МЛН
Became invisible for one day!  #funny #wednesday #memes
00:25
Watch Me
Рет қаралды 59 МЛН
Studio 5000 AVE Instruction to Average Data
15:54
Shane Welcher
Рет қаралды 2,4 М.
Studio 5000 AVE Average, FAL File Arithmetic and Logic, and FOR
47:48
Cool Items! New Gadgets, Smart Appliances 🌟 By 123 GO! House
00:18
123 GO! HOUSE
Рет қаралды 17 МЛН