How to Setup the Beijer HMI X2 Base 7 to Communicate with an Omron C Series PLC

Good morning everyone, I'm Tom Trinh, Senior Application Engineer for Valin Corporation. Today I will illustrate how to set up the Beijer HMI, X2Base7 to communicate to an Omron C series PLC such as CP1L, CJ, CS1 and many other old C series PLC.

So what I have in front of you here is the development software called IX Developer and I have a screen here which is a demo screen and I create an extra button. If I click on this written button here it will get me to another page which is this page right here that I want to go over with you how to set it up. But first and foremost you need to set up the controller, the settings as well as the tags. So to do that you click on the tags here. I already created a controller under controller one, but if you set up already you're going to set up the settings here and you notice here that the communication mode need to be set up as Ethernet instead of serial. The fins source address needs to be 3 and the reason being because my HMI. The Beijer screen is 192.168.250.3 so this is basically needs to be the same as the last octet in your IP address. You also need to change the local UDP port to be 9600. The next thing is you click on the station and you make sure that this is the IP address of the PLC. In my case, the Omron CP1L-EL PLC that I have is 192.168.250.2. You also need to make sure the destination address, the Finn's destination address to be two. This has to match what is the last octet of the PLC, so that's the basic setting that you need to set up. Then you click OK. Then you go to the tags tab and this is where you will define all the tags. So right now I have the lamp that I will be using on my page as well as the switch. The address for that is W 10.7. I also have a real data numeric entry and I use data memory 100 for that. And another numeric register that I'm using is called Data_integer and I'm using data memory 104 for that. Okay this same tag data memory 104 is for the bar graph as well as the dial indicator. So let's go back to the page that I created. So what you see here is this button here that I'm using.  Let me go to the property tag and show you. What happens is I group everything into this. Anyway the lamp I show you here. The property tag is if I click on this you see it fills basically the color blue if the state of the lamp is 0, and it will be red when the state of the lamp is 1. Okay, so that's how you set it up for the lamp. For the real numeric entry, you specify the tags right here to be data which I defined already in the tag OKAY which is here. And the data means I'm using data memory 100. Going back for this data integer or numeric entry I'm using the tag called Data_integer. And one more time going back to the tag you will see that the data integer is using data memory 104. Okay now also, the bar graph is using the same tag which is Data_integer. The dial indicator is the same way the tag is Data_integer. So as I input the value into this Register here in this numeric data numeric entry you will see the bar graph changing so as the dial indicator. So I already downloaded this into the screen. Another beauty on the Beijer screen that you can use the VNC to display it. So I'm going to go ahead and open up my VNC and the utility, the VNC viewer is here. What I want to connect is 192.168.250.3 which is my HMI. I'm going to go ahead and connect it now and voila. So what I'm seeing is actually what's on the screen right now. I'm going to show you also the this one so you can see the value as I'm changing it within the PLC. So here we go. The W 10.07 is basically the lamp and also the button here. So if I click on this button you will see that it will change. The color the lamp will be from blue to red. Let's do that right now. Here we go. And you notice in here the bit W 1.07 is 1. I'm going to click it again and voila it turns off, so now it's zero. This data numeric register for the real right now it's 19.3. I'm going to change that value to let's say, 90.5.  As soon as I click enter here that value will be showing up right here. Here we go. So now the PLC has that value. Right now my bar graph is at 80 so as my dial indicator. I'm going to change this to a value let's say 20. As soon as I click enter it will show 20 here and also the bar graph now is at 20 so as the dial indicator.

So that's how you set up the bare HMI X2base7 to communicate to an Omron C series PLC. If you have any questions, please call the number below and thank you for watching.

Contact Valin’s automation experts today at (855) 737-4716 to discuss migrating your system or fillout our online form.