EP2 - Programming Environment (Beckhoff TwinCAT 3)
Video: https://youtu.be/mHq9QihUDUU
#PLC #TwinCAT3 #Beckhoff #Industrial_Automation
Table of Contents:
A) Int
Hey everyone, this is Evan. Welcome back to episode two of learning motion control and some IO with PLCs.
In this video series, we're gonna talk about IO, servo steppers, some stuff like that, just to give you a general idea of how this works in the PLC environment.
Jumping right in, we're gonna establish communication with this PLC, but I wanted to give you a tour of kind of what we're working with in this series. I'll be showing stuff as it moves later on, but this would be your general tour of what we have to work with.
Up at the top left, I got my handy pointer hand here. The top left is a Beckhoff CX 5130 PLC. It's very similar; all the CXs are in that same form factor, so it's essentially a windows-based PC x86 architecture, usually like 2 to 4 gigs of RAM, but you can spec them all the way up after that if you want. So, what's important to note about this guy: he's got a DVI port on this side, two network cards at the top left there too, four USBs, and you can expand out on this left side and put additional equipment there, extra network cards and stuff; that's essentially a PCI Express bus, I believe. So you can add sound cards and kind of weird stuff like that, but they're very expandable on that side. The other side is we've got some IO slices there, and this is all made to be DIN rail mountable, so those IO slices will mount right up, and they connect to what they call an E-bus; that's just like a little six or seven conductor bus, very similar to the EtherCAT bus that's this network system to talk to all these EtherCAT devices. So, I'll get into that a little bit more later on, but I just want to let you know this is kind of the brain of the whole process up here, so it talks to the rest of this IO and the IO that's directly attached to it, and that's how it works.
Some of the other stuff we have going on here: this beast right here in the center, that's an AX 5,000 dual-channel servo drive, so it can actually run like two of these motors at once completely separate. It's just like having two servo amps but built into one chassis, so you can get single-channel versions of that, and the dual-channel, it's an absolute animal. It will pretty much control anything: VFDs or servo motors or just DC motors or whatever you want, really. It's really configurable, so I've got a lot of extra IO up top here that comes in handy, and then you've got your 24 volts coming in here, DC for the DC bus, and then down, I believe, at the bottom is your, no sorry, right up front here, that's your, what we call the high voltage, which normally would be, you know, 480 3-phase or something. This one's rigged up for 120 single-phase though, just for testing.
Other than that, top right, we've got just an off-the-shelf 24-volt power supply, supplies the PLC that runs on 24 and all the IO as well. So, it's just worth noting that that's up there. And then we have some servo motors. I think it gets interesting here on this slice though; the first one with this taller set of lights on it is actually an AL 7201 styled servo slice. So it's an entire servo closed-loop system in a single slice, which is pretty incredible. It runs 8 to 50-volt DC. Some of their big ones, actually, they're double wide at that current, but they'll run up to 8 amps, which is like comes out at 400 watts or pretty well close to half a horsepower, actually. So, they get pretty big for such a small and really excellent form factor there. I really like those, and I've used them on a project before, and they worked out really well.
Additionally, on this right side here, we've got an L 70 41, and that's a stepper controller. So just something like these little steppers or like the ones on my 3D printer back here in the background. I'm actually gonna dig into that a little bit later in the series; that's why I don't mind showing it now.
Otherwise, let's see, we have an EP Slice Stone here. Those are really nice IP 67 rated, I guess they call them pods, not really slices, but they're great. So you get power in and power out and EtherCAT in and EtherCAT out, and it lets you do a lot of cool stuff with IO on the end of a robot arm and stuff like that. So it really saves you on cabling and stuff, but they're a little more expensive. Another option would be like this EK 1100 down here, so I've got a bus coupler and then some IO slices, some like IL 1008 and 2000 data that are just 24-volt DC digital IO, so your proximity switches and cylinder valve actuators can come off of those, or you can get crazy with a bunch of other different kinds of IO. But this is just a pretty basic setup that should get us going on some motion control and just showing how all that stuff works inside the PLC.
One other thing to mention real quick on these CXAs, the actual hard drive in the system is stored on this little CFast card behind this little door. There's also a CMOS battery there, so that's a CFast card; it runs on a SATA interface. It's very similar to the old CF cards that were in digital cameras; they were actually in the old Beckhoff PLCs as well. So when you pop that in there, boot it up, and that's where it loads the OS.
Z) 🗃️ Glossary
File | Definition |
---|
Uncreated files | Origin Note |
---|---|
Next Part 🔜 | EP2 - Programming Environment (Beckhoff TwinCAT 3) |
Next Part 🔜 | EP2 - Programming Environment (Beckhoff TwinCAT 3) |