Connecting to the Micro800 Controller

Home / Micro800 / Connected Components Workbench

Description
Connect CCW software to the Micro820 PLC using an Ethernet connection between the laptop and the PLC.


Transcript
(00:02) okay this video since we’ve now have our ip address set on our laptop and we were able to verify that we do have a connection into the micro h20 and that our laptop can see the microwave 20 we can now start using the programming software which is called the connected components workbench or ccw software from rockwell automation there was a separate video that talked about how to download it and then install it so also making sure that you have done those steps before of course you get to this point so again if we if we got our ip address
(00:37) set and we have a good you know we were able to see the device through in our slings classic we can now proceed with opening up ccw and doing some real basic configuration and and downloading to the controller so um so to do that we will uh there’s a couple ways to go about it if you just installed it it might have been under the recently added um i have mine set as a little bit of a bookmark here connected components workbench but if you don’t have those two things of course you scroll down a bit and you’re going to find a folder called rockwell
(01:15) automation and under recall automation there will be connected components workbench and it has this kind of strange looking icon almost like uh like a two electrons going around something but uh we’re going to click on that and this will open up the software it’s going to take a minute or two i’m just going to do this live and let it what it uh actually run its course so it will take a few moments so this will kind of also help validate to you that if you think it’s taking too long um just relax and uh let it do its thing
(01:52) so i’m gonna bring it over to this window um so this is kind of what happens when you first come to the software we’ll kind of get to the start page um what you’ll see here is we have a project we have the ability to say a new open existing or discover a project we have recent so any recent projects that i’ve created will show up here in this list and then we also have a section over here called getting started and this is a very useful information first the link here will bring it to the software home page that was back on
(02:25) rockwell’s website the training videos and sample codes so if you click on training videos there will be several videos that have been created to help step you through getting started so if you’re stuck and you want to spend some time you can run through some of these videos sample codes is they do have some sample code library basically some starter projects that you can take well um you can you’re more than welcome to to take a look in there and see what they have we’re probably not going to use those most likely
(02:57) uh in this class but uh just know that you know rockwell does spot you on some some cases first for some sample projects uh but for us for the very first time we need to create a new project so we’re going to say new and it’s going to come to default mine says project seven yours will probably say project one it also gives a default location which you can also change this was basically uh the default my my documents folder and the ccw folder that got created when it got installed i probably recommend keeping it there
(03:32) but if you wanted to put it into a another folder that you you know and can find quickly then that’s fine too and project seven by default um we can of course call this anything we want uh we can call it uh elet 287 um you know demo and give a unique name of course and we’re gonna hit create now at this point we need to tell ccw what it is we’re going to be developing for this software does more than just the micro h20 controllers it does controllers it does our drives our variable frequency drives it does motor starters our smart motor starters it
(04:22) does allen bradley’s safety products and it does allen burley graphic terminals as well this is a controller so of course you can expand all these and you can see the various products underneath each one i’m just kind of interested in seeing what else it can do but for us we’re going to go under controllers and when we chose controllers we even had a few other options we have uh we have one two three four we have five different controller types at the micro 810 the microwave 20 830 850 and 870.
(04:55) we have the micro a20 so we want to choose micro 820 we expand that then we still have a few more choices here and that is the model of the microwave 20 that we’re using so there are three models available and for what we have and you’ll be using we have this last one the 20 qwb so we’re going to highlight that when we highlight it you can see we get a we kind of get the information about that unit pops up right here and it gives us a description it says there’s a micro 820 it’s a two it’s got 12 24 volt dcn
(05:32) puts it’s got four configurable analog inputs thermistor seven relay out so this will just give you a little bit more validation and make sure that you’ve actually um you know this is kind of the one you have if you didn’t quite know your part number uh the version we’re going to leave this at 12 this is just the firmware version that we could use so we’re going to stick with version 12 firmware another important thing is to choose select right here so we choose select that now put it into the selection list and we say add the project
(06:12) so what’s happening now is it’s just going to kind of build the project frame around this microwave 20 it’s putting in all the microwave h20 pieces so that we can conf you know further program and develop the micro reach 20. so once we uh now that we have that we have the the project organizer on the left and this gives you our project name or the type well the project name is actually up here and then we have it’s a micro h20 and then we have programs global variables user defined function blocks usually find functions and data types
(06:48) so we’ll kind of mess with this stuff as we go throughout the class we have a picture of what our device looks like and it should look like what you have sitting in front of you on your desk or table again we have a name uh we can put a description in here just for our own documentation uh we have one more information about the vendor the catalog number its life cycles it’s act it’s an active product means not this hasn’t been obsoleted and its version and then we have whatever kind of general configuration properties
(07:22) underneath this kind of tree structure here so that’s our general we have memory again so many things we may not be able to change it might just be more information but this just tells you about the amount of memory you have in a controller maybe what’s been used um startup serial port and uh what we really need to worry about at least at this point is the ethernet port because by default when we create this project there is no ethernet settings in here as a matter of fact it’s kind of like we talked about in the in the setting your
(07:57) ip address on your laptop it’s defaulted to obtain ip address dynamically or automatically using the dhcp or the dynamic host configuration protocol well we don’t want that like we talked about in that previous video we want to set what we call a static ip address and it’s fixed it’s also very important at this point that you type in the ip address that is actually in the controller because if you typed in a different number here and here it’s going to overwrite and change that setting in the controller so ideally we
(08:28) don’t want to do that so the ip address that is currently set to your controller is 10 dot 10 out of one dot eleven now again the subnet mask populates automatically with two fifty five zero zero zero and that is uh perfectly fine to keep it like that or if you wanted to you could go ahead and do the 255 255 and octets two and three but again making sure to leave the last octet as a zero don’t change that and then the gateway can stay default that’s it there is no accept or okay um so the reason why that’s important is again
(09:15) because when i get connected and when i download it’s going to take that that ethernet setting it’s going to set that into the controller and if you had a different number there or if you put obtain automatically it’s going to put that setting in the controller and uh it might if you if you change something you didn’t realize what you changed it to you might have a very hard time getting back connected to this controller again so this is very important step um at this point just for what i’m trying to show here i just want to show
(09:48) the the main step of how we’re going to get connected so up here there’s a button that says connect now this is again the very first time so we’re going to have to set what we call a connection path to the controller it’s not set right now but if i hit the connect button it’s going to open up basically that same kind of rs links tool that we showed earlier this is it’s a version that’s kind of built in and this should look kind of familiar to this right we had links gateway ethernet ip dash one and we’ve got the same thing here we’ve
(10:26) got backplane ethernet a b e t h dash one e t h p ethip-1 and some other stuff we’re going to go with the e-t-h-i-p-1 and when i just kind of expand that automatically we found it populated with the the pan the uh the microwave 20 that is actually on the network and it shows the ip address 10.10.1.11 and what it is that the catalog number and the microwave 20.
(11:00) so just some further validation that we know that this is the right thing of course there’s nothing else connected so but if you’re out in the field you can have three four five up to ten even more devices all listed here so you just want to make sure you’re connecting to the right device i’m going to sit here i’m going to highlight it i’m just going to hit ok now when i did that my connection path changed it now shows this is just the name of my computer in the uh a b t h uh e t h i p one and then the i i p address itself
(11:36) now this will come up too the current project does not match the contents in the connected controller just basically telling you that the project you’ve created is different than what’s inside of the controller do you want to download or do you want to upload very important to note if you want to download that means i’m going to take what’s on my laptop computer and download it to the micro h20 so i’m going to overwrite whatever in the microwave 20 plc if i were to choose upload it’s the exact opposite it’ll take whatever is in
(12:08) the microwave 20 plc and upload it to my laptop and overwrite what is in my laptop so be very careful there and make sure you choose the right thing for most part we’re going to only do downloads in this class there could be a time where you want to upload out the controller but you don’t know what’s in there and you want to see what the program was that you had in there but probably majority of what we’re going to do in this class will always be a download so just make sure to choose that properly otherwise you could overwrite some of
(12:42) your your hard work and you’ll have to do it again so i chose download it will take a moment to um so we get this uh kind of we get this kind of uh output window down here that just talks about you know any errors or warnings that’ll kind of show them down here so it’s very important keep an eye on that if there’s any errors it’ll tell you what they are uh and then just says a warning hey the project the controller will be overwritten and you have two choices here download or download with project values we’ll just choose download this is just again
(13:21) kind of a are you sure you want to do this kind of step and then we are done so that is essentially um what we will do uh the very first kind of you know when you first get this thing you’ll just you know kind of take the software you can kind of validate that you can make this connection to the controller um get connected with the you know create a project get your connection path set get connected and download if you can do that then it’s going to be pretty much downhill from there all right we’ll pick up another video that
(14:01) actually will show programming but that’ll be we’ll cover that in a separate video