Udemy

Studio 5000 FAL Instruction

A free video tutorial from Shane Welcher
Electrical Engineer of Manufacturing Machine Automation
Rating: 4.5 out of 5Instructor rating
6 courses
10,861 students
Studio 5000 FAL Instruction - Please Watch Twice to get a full grasp

Learn more from the full course

Allen Bradley PLC Training - RSLogix 5000 Series

This course will give a person with no experience learn PLC programming from scratch using RSLogix 5000 and Studio 5000.

21:48:49 of on-demand video • Updated December 2022

Be able to completely setup basic Rockwell Automation in RSLogix 5000 and Studio 5000 from scratch, understanding PLC programming.
Be able to program a basic Rockwell Automation in RSLogix 5000 and Studio 5000 from scratch
Be a PLC Troubleshooting Master - Get PLC programming knowledge not discussed anywhere else on the internet.
Get Access to My Other Platform As Well.
English [Auto]
Okay. So in this video, what we're going to be doing is showing the instruction. This is again, this is to show the working environment. This is version 2811. This is the emulated system. So something very, very simple just to show the process being used. So what we'll do is we'll go ahead and download and then we'll we'll go ahead and do the programming itself. So just kind of bear with me real quick. Just why downloads? It shouldn't take long at all. It's an empty program. And again, this is going to be under the F a L instruction. So it's a very helpful instruction if you're trying to copy stuff. Copy. Just I'll show you a couple of different methods that you can do. Like all, um, you can copy all you can copy just increments and stuff of that nature. So let's get, get started with that. So again, what we can do is we can just type it in up here. Or you could have come over to, I believe it's file. So if you wanted to, let's just delete that. You can go to file. And actually do that. So what we'll do. So this instruction, once you got to have the control of it. So basically your your tag structure for this instruction that they have, this is basically where you put in. So you're going to make this tag. In this case, we'll say f a l control. Something simple, right? And nothing nothing real elaborate. And then that's that's made. So our length is going to be based upon basic the arrays that we have so we know how many arrays that we want to actually move. So in our case, what we're going to be doing is we're going to have ten, we'll have ten arrays. And I'll explain this to you in a minute. We'll start out with moving all, but just know you can do all our increment them first and foremost, we'll just do all. And then next what we want to do is start making our what we're going to be doing is, is moving different arrays and stuff of that nature. So what we want to do is create an array for that. So we'll call this array. One. Ah, let's just call this data one for that matter, and then let's create the dimensions of that. The dimensions of the array would be ten. So now we have that in there, right? And then this one would be. Data. Two. And then again, we want to put the dimensions as ten. All right, so then we'll do that. So now what we want to do is actually. We want to move. The stuff that's inside of data to. Ah, I'm sorry. Let's let's move these around. Let's change this to data. Oh two And then this changes to data one. Actually, I did that wrong. Let's change this to data two and let's change this to data one. That's right. So we want to move the stuff that's in data two into data one, and that will be I know it's kind of confusing, so actually let's just line it up. Better for you that way it's easy to see. So we'll keep this as the stuff that's in data two. We want to move into data one. Okay. So what we do is now we want to actually indirect address this as we want to put our brackets. And then we want to put. So basically, you can come up here and copy this. We can copy that and just paste it in there, paste and then we want to use the position and then. Put our brackets. So again, that didn't take so let me just type that out. Data one. And then we want to put our brackets and we'll put. Control. That pose. Okay, so now we want to do the same thing. We want to add the position of this into the data too. So again, we'll put our brackets. We'll put our instruction that the control. Then we'll put again the position. So the position it keeps track of the position it's in. So basically we're going to be using indirect addressing to address to each one of these. So that way we know exactly where we're at and we're going to put the position. Obviously, that's going to be a zero and then we're going to put a bit in front of this. So we're not going to index this until we choose to. So we'll call this. Uh, move data. And then we'll put that as we'll just name it as name data command our Move Data command. Right. So first and foremost, we got to go into our data and see that there's nothing in there. Right? So we got to see that there's nothing in data right now. And what we're trying to do is move the stuff that's in data two into data one, Right. So what we need to do with that being said is we need to put data into data. Data two Right. If we're trying to move the stuff that's in data two into data one, let's go ahead and put some data into that system. So for just the sake of what we're doing, we'll put ten. And then we put. We'll put 20 here. 30. 40. 50. 60, actually. 60. 70. 80. 90. Okay, so now we have data inside data to. Right. And we have nothing inside. Data one. So now let's go ahead and shift that. Okay, so now we just moved the data that was inside. Inside of data to into data one. So you see how that just how easy that was. And basically it did it off the position. So to see this a lot easier. Then I'll show you this to see how this happens. A lot easier is we'll change the the instruction from an all to an increment. And that way you get to see it go one by one. So actually we can change this. Exhale. Let's put that back the way it was. So view and then organize. Okay, So what we want to do is change the data that's in here now, and we'll call this one. To. Three. For. 505. Six. So all we're going to do is change the data and then we'll watch it actually change itself when we do an increment. Okay, so now what we have in data one is ten through 90. What we have in data two is one through nine. Okay. So now. Let me go ahead and. All right, let's pull that up and then shrink this. So that you can see because our screen, our rung that we're doing is not very big at all. So what I want to do is kind of show you how it's it will index. And maybe bring that up just a little bit more. Okay. So now that we have that, what we're going to do is we're going to index it now. Okay. So it indexed the first one. Index, the second one. So you see how it's indexing, It's moving. What is in the control position? So the control itself, the pose, the position it's in, is indirect addressing to that one part of that array. So we know we have a length of that array is at ten. So we're basically going from one. It's directing it to the first array, right? So that now the next thing is going to do is go to the second array. So it's incrementing down, right? So now every time it counts, it's going to indirect address to the next part. So we'll just keep on cycling that, right. So you kind of get the point. Now, if we did again to that point, if we did all instead of increment. Then it's going to move all of the data at once. You see that? See how easy that was? So this instruction, the reason I wanted to kind of show this instruction is, is how powerful it is. You can do a lot of stuff with this instruction. Just know that, you know, it's mainly good for moving data around or I'm not even going to. You can use it for other stuff as well. I mean, the possibilities are kind of endless. You know, Rockwell probably has a many different ways. You know, they build instructions. And with that instruction, you know, you come in and and you come up with just different ideas. Again, their their main thing was moving arrays around. So that's kind of the one of the big highlights that they they their main driving point for using this. Even in their flowcharts and stuff like that. Um, it just shows the bits being used. It shows exactly how that that diagram I just showed. It shows array two. Array one. It's the same basic principle, right? So and but you can do a lot different stuff, right? So you can do this just a whole bunch of stuff. So even right here, you can get as complex as this. You know, this is showing that a lot of lot of stuff. So it's basically saying that the indirect address of this is going to go into array, to the indirect, indirect address is going to go into the array three, whatever those two you want to divide by, and then have that going to the indirect address, going to one so you can actually do a mathematical equation and come up with something. And that's exactly what that expression says. So if you look at that. So there's a lot of things you can really kind of do with this instruction. I just highlighted one of the two most simplest things to kind of get your thought pattern going and get you thinking about some possibilities on using this instruction. This has been around for quite some time, so it's not nothing new The way you can control it and the way you do things with it is completely up to you. Like I said, programming is all about logic and it's all if you can think it, you can do it. So why not show as many different attributes and stuff of that nature as we can? So again, I'll go ahead and close out this video and for those that are interested in seeing more stuff like this and showing more elements and just programming in general, you can go to my visit, my I have a link below, either my Patreon, you can you can join and be a Patreon for and it's a pretty low cost per month. But and again that's that's there to support my efforts and stuff like that so you don't feel like you need to but I am throwing extra stuff in there that I don't throw anywhere else. So I am putting stuff in there that only, only the people that support the Patreon account will get. So again, this is this is type stuff that, you know, it's just some, some different stuff, right? I've been doing a lot of servo stuff lately, so. So I kind of wanted to venture out and show, you know, some more basic stuff and show some more, you know, just just different different ways of programming. Okay. So hopefully that video was enlightening and helped you out. And again, I'll have my link below if you're interested. Check it out. Okay. Thank you.