How to Setup Aventics 580 EtherNet/IP DLR with Omron Machine Automation Controller N Series PLC

Hello everyone, today I will illustrate how to set up Aventics 580 EtherNet IP DLR with Omron Machine Automation Controller N series PLC.

I'm Tom Trinh, Senior Application Engineer for Valin Corporation. Let's get started.
So let's go over the hardware layout for this demo. So what I have here is a Aventics 580 Ethernet IP DLR with some valves on the manifold, and what I have here is the W4S1 EtherNet switch. And on this side is the Omron Machine Automation Controller and NX02-1020 and I have a 24 Volt power supply that I need to power up my PLC,  the switch and the 580 Ethernet IP DLR.

So let's take a look at this Aventics 580 EtherNet IP DLR with some valves in here. So you notice here this is a power connector which is the M12 connector. So I am supplying the power from my 24 Volt power supply through the valve manifold and then here you notice there are two ports. Both of these ports are Ethernet IP. So the first port is to connect from my switch on this side of RJ45. This size M12. So I connect that EtherNet cable from the Aventics 580 EtherNet IP DLR to this switch. if I have more than one manifold, I can connect this EtherNet IP port to the next bank and so forth. Also on the W4S1 here I have another EtherNet port connecting to the EtherNet IP port of my Omron PLC and then I have another port here connect to the EtherNet port of my laptop. On the laptop itself I am using Omron Sysmac studio software to be able to program my PLC and configuration of the Aventics 580 Ethernet IP DLR. I'm just using the Google Chrome browser, so that's what I use for configure EtherNet IP address and also to figure out how many bytes that I need for the inputs and how many bytes I need for the output when I set up my Internet IP network. You notice here. Also I'm setting up my EtherNet IP address for the 580 EtherNet IP DLR to be 192.168.250.120. My computer is 192.168.250.100, and my PLC is 192.168.250.001 we have all the videos on how to change the IP address on your PC as well as changing the IP address of the PLC that you can watch. But I'm not going to go over that on this video. What I would like to show you next is the web server that the Aventics 580 Ethernet IP DLR has. So what I did here is I open my browser, I'm going to type in the IP address, which is 192.168.250.120, which is the address for that pneumatic manifold. As soon as I do that, I have this web page. So if I click on the node configuration I can change the IP address and subnet mask and the gateway if I need to. But for now I'm just going to leave it like this. But you can also change this IP address as well and the subnet mask via panel. The set up on the manifold itself, which I will show you later on, but for now, let's get to the diagnostics real quick here. So in the diagnostics you will see the actual number of bytes that you will need for setting up your EtherNet IP network. So let's find out how many input bytes I need and how many output bytes I need. So to do that, you would click on show details and then show IO mapping and size and here it shows that OK on the input. E 0 and the status input is 2 bytes.

So make a mental Note 2 bytes there and then if I go to the 32 coils on the valves. if I click on that and if I Scroll down and click the show IO mapping and size, iIt will show another four input byte and another 4 output bytes, so the total for the inputs you will have 4 + 2, which is 6 bytes and the output would be 4 bytes and this information will be needed later on when you set up the EtherNet IP network, but I want to show you one more thing. The web server on the page itself. It already has the EDS file, so all you do is click on this tab and here's the file. You can just download it, or you call us. We'll get that to you as well, but then beauty on this is everything is on the web server itself. Going back to the diagnostics real quick, you see these outputs. You can actually look at this page if you want to troubleshoot it. All you have to do is just type in this EtherNet IP address and this diagnosis will come up. So once this manifold is connected within your network anywhere within your factory, you can have access to the browser. You can just type in this IP address and you'll be able to see all the outputs diagnostics right here, which we're gonna do that later on. But what we're going to do next is to go into Sysmac studio and I will show you how to set it up.

What I'm showing you here is the Sysmac studio development software from Omron for the Omron NX102-1020. So what we're going to do first is to open up our EtherNet IP connection settings. And since the PLC has two ports I'm using the first port, which is 192.168.250.1 to connect to the Aventics 580 EtherNet IP DLR. I'm going to click on that now on this side I already configure it for the Aventics 580 DLR, but if you need to add it what you need to do is to click add here and you're going to type in the IP address of that unit, let's say 192.168.250.121, for example, the model name you're going to click here and select the Aventics which is right here 580. So you click on that and then the revision will be 2 and then you click add. I'm not going to do it because I already add it so I'm going to cancel all of this but once you add it successfully, this is how it shows up. I already installed the EDS file but if you remember I show you how to get the EDS file so if you have not done this, install the EDS file you need to do that first. So what you do is you put your cursor here, right mouse click and select display EDS library. So here if you need to install them in the EDS file. You would click install and it will take you the folder where you have the EDS file and then you install it. Like I said I already install it. I'm not gonna do it, but once you install it successfully it will go right here so you notice I have a Aventics G3. I also have the. Aventics 580 EtherNet IP DLR and this is what we use for this demo. OK I'm going to close this so now once you install the device successfully what you do is you go on this side and first and foremost you need to create two global variables, one for inputs and once for outputs. And since I know So what I'm going to do, I'm going to go to the global variable. I already create it. I want to show you so you going through the global variable and you want to. Right mouse click anywhere in here and then create new and that's how you input the global variable for the inputs and the outputs so that you can communicate through the manifold itself. I'm not going to create it, but I'm going to show you what I have. So I have A tag called Aventics_580_Output. The data type is an array of four bytes, so I have an array from zero to three, so I have 4 bytes here and I have for the input I have Aventics_580_Inputs with an array from zero to five of bytes, so that's six bytes and again, where do I get this information. It was the information that I got from the page that I showed you earlier. The important thing also to notice here is that for the output, you need to make sure that the network publish is output. And for the inputs the network publish is inputs.

So how do you change that? There's an arrow key here. This is how you select them, so those are the two variables we need to set up. The next thing we want to do is to. Back to the EtherNet IP configuration. You click on this icon and you click on the device information here. Expand it and then you select registration all so why it will do is that it knows that you already have the global variables that you define already and for the inputs and outputs. And by click registration all it will automatically populate all this into this table for you. Which is a great thing.

Once you have this in here for the inputs and outputs, you may want to check it. What do you do next is click this icon here. And this is where you would click add here. So I'm going to go ahead and try to do it for you, but I already did this for you. But let's see how you perform it. If you haven't done it first time so you click arrow or you click this arrow now and select the IP device that you want to add into this, which is the numeric. So you select that. Once you do that, this is populating. First and foremost, for the inputs, it's a target variable 101, so you click that. And then here see how it shows 16 you need to change that to be 6 select six and global variable that you created earlier. I already did it up here, so that's why it isn't appear here. So let me delete this because we’ve already done that, but the bottom line is so you would select this the variable that you create in a global variable for the inputs and for the outputs. Make sure that you select the target variable is 150 and the size is 4 and the originator variable output for that. Once you've done all this, you need to go to project/rebuild. I'm going to go ahead and do that. So what it does is basically compile and also gathering all the hardware devices that you created or defined. So now you are ready to download to the PLC Ethernet IP configuration. You click this icon to go online. We have a video and how to get online and all that. I'm not going to go through this video here. We provide a link later on and in the transcript that you can see. And you can click on that how to do that. OK, but I'm going to go online here. You notice these icons now are no longer grayed out so you want to transfer it to controller. I'm not going to do it because I've done it already. I'm just going to compare. There you go. So everything is ready to go. At this point I'm ready to program, which I've done it already, so I have these two statements here so that I can move all the bytes into all the bits so I can address them individually. So that's what this program this section is for.

What I want to show you is this right here what I'm doing here is I can individually turn on every single valve. So to do that, I'm gonna show also the video. The camera that I have which is here at the same time. So what you're seeing here  Basically the manifold with the EtherNet IP gateway here, and these are the individual valves, so I'm going ahead and force this on as soon as I turn this on you will see the light comes on here on this valve. Here we go. So what I'm going to show you here is in my program here I have all these inputs. And each of these inputs will basically turn on the solenoid valve, which I have video feed here, so you can actually see it right away. So this is the 580 DLR EtherNet gateway and you notice here there's a Ethernet IP address here, and as I mentioned. You can also change the IP address by pressing this button here if you want to do that, which is great. This is the power connection. This is the Ethernet connection here, so these are individual valves. So what I'm going to do is I'm going to turn on the valve here. You see, it turns on. I'm going to turn on the next one. Here we go. Here's another one, and let's turn out another one here. OK, so now let's say what I want to see is on my diagnostic page. I'm a maintenance person. I need to go and see how the valve works. So what I can do is I'm going to launch my browser, which I opened it already here. If I'm looking at this, do you see these four outputs are turned on, right? I'm going to turn on another output here as soon as I turn on you will see number 8 will turn on and here we go number 8. I'm gonna turn on number 9 and there's number 9. Here's number 10 so that number 10 and here's number 11 voila. I can turn them off if I want to. So this kind of show you how to set up the Aventics 580 Ethernet IP DLR with an Omron Machine Automation Controller NX102-1020.

If you have questions, you can reach us at (855) 737-4716 or fill out our online form.