How To Set Up an Ethernet/IP Comm To Receive 2D Matrix Code Between Omron V430 and CJ2M-CPU33 PLC

Hello everyone. Today I will show you how to set up Ethernet IP communications between an Omron. V430 code reader and an Omron PLC CJ2M-CPU33.

I’m Tom Trinh, Senior Application Engineer for Valin Corporation. Let’s get started.

What I have here is the network configuration tool that you will need to be able to do this. So I launch it already. And first thing we need to do is to select the CJ2M-E IP21. To do that you want to expand this communication adapter. Select that CJ2M-EIP21 and drag it over to the network. Then you want to right mouse click on it. And select change note address. For me for my network here I want to change this to This can be any IP address that fit your setup. The next thing we want to do is to select the code reader, and then drag it over. So here's the code reader that I want to drag it over. Then the next thing we need to do is to create two Tag Sets, one for input and one for the output. So, I just double click on that CJ2M-EIP21 and I'm going to select the Tag Sets. I'm going to select the icon edit tags. Now I'm going to add the Tag for the consumer so I'm going to click new. D0 would be the first address for the Ethernet IP input. I'm going to have 84 bytes. I'm going to click Regist. I'm going to close. I'm going to do the same thing for output. I’m going to click new. The output I'm going to have it start at D500. I'm going to need 12 bytes for that. Click Regist. Close.  click OK. Yes, I want to create these new tags. So just to check, I got D500 for Out. And I got D0 for In and I click OK here. Now I'm going to select the code reader. Press and hold it and drag it over to the PLC.

Now I'm going to select the Input_100 to my D0 that I created earlier. I do the same thing for the output 198. I'm going to select D500 instead. I’m going to click Regist. So now I'm done setting that up. Just to verify one more time, I'm going to double click on this PLC. And you will then select the connection and we'll see the Input_100 is now tighted to D0 and Output_198 will be tighted to D500. I'm going to click OK here. At this point I am ready to download. So I'm going to select network. Click connect. This is my Ethernet for my laptop. I'm going to click OK. I’m going to select TCP2 and then click OK. I'm going to select this network. So now it's online. So to download it you right mouse click on that PLC, select parameter and click download. When I select Yes download after it switch to program mode. So now it's downloading my configuration to the PLC. So now I will switch back the PLC to monitor mode. OK, so now we got everything set up, so let's test it. So let's bring up my code reader. And let's bring up my PLC so I can trigger it from my memory map. So let's go online and monitor it. The trigger bit for the code reader is this bit right here. Bit zero of D502. I’m going to turn it off first, then I'm going to turn it on to trigger it. So I’m going to toggle it. I know what the problem is. I didn't change the address, so I need to change this to 5. That is actually the IP address, I'm going to click OK here. I'm going to make sure that I am downloading again.

OK, so now it's all done. I’m going back go back to my Code Reader screen and my trigger screen. I'm going to go online and monitor it. And I'm going to turn it on now. And here we go. The data that we see is NPA352-09, and let's check it up here to see if we have that. And sure, it is NPA352-09 matching what we see on the box here. So I'm going to switch the box over because I have another 2D matrix here. I'm going to trigger it again and see what we get. I'm going to turn it off and then I’m going to trigger it again. Here it comes. So it's on. Now I have a new code and that is NPA351-09. And let's see what we have up here. And here we go. NPA351-09, matching exactly what we see here.

That's how you set up the Ethernet IP configuration and communication between the Omron V430 code reader and Omron PLC CJ2M-CPU33. If you have any questions, please call the number below and thank you for watching.

If you have questions you can reach us at the link on the screen or you can call Valin at (855) 737-4716 or fill out our online form.