Skip to main content

<span>How to Import SCU5 Controller as a Device into Rockwell Studio 5000 IO Tree</span>
May 10, 2023

This video shows how to import SCU5 controller as a device into Rockwell Automation Studio 5000 IO tree.

For more information about the SCU5 controller please visit: https://r2r.tech/products/roll-2-roll-controller

Video Tags
Products Tags

Transcript

Show full transcript (813 words)

hi this is Carlo from Roll to roll technology and in this video I'm gonna show you how to add su5 controller into a Rockwell Automation PLC first of all let me show you my setup I have my local automation PLC over here and I have my su5 controller over here and I have my sensor over here let's head to the studio 5000 and I'll show you how to add the device to object first of all we provide two different kind of interface through ethernet IP and we need to find out which one you are using to do this we can head to the su5 controller over here and go into settings power user communication and over here you will see the brand the kind of interface that we you are using in this case is the heel chair so let's go back into the studio 5000 we will go into the io tree and right click on the ethernet and add a new module and we're going to search and type r2r and have the wheelchair controller over here and do create over here you will give a name to the controller I'll call it demo and you will type in the IP address the you can if you don't know this you can also find that on the su5 controller over here you will see the either the IP address for the controller which is the IP address you need to put into the studio 5000. you will enter the IP address here one two three one couple and then Define your connection Click Change exclusive owner you will need to change this from s int to int and press ok vs and then if you want to change the RPI which is the interval at which the PLC talks to the su-5 controller you can do that over here we are going to leave it at 20 millisecond for this demo and that's it I'm gonna click ok you click ok and close and now you have your su5 controller over here and you will also see that under the controller tags you will have the generated automatically the variables they show you the input and output register over here now I'm gonna download the program and verify that I can actually see data coming in and out of these so I'm gonna go online I'm Gonna Do download yes I'm in run mode the controller is okay the i o is okay I can verify that the connection is running properly and I can look at the input data I have some data coming in and if I move my finger in front of the sensor I have data changing so I know I have a good connection to the device let's say if by mistake you other than any bus IC module instead of the proper e-share model let me show you what happened that's when you try to go online download you see now you have the i o no responding message over here and if you go to the any bus property you will say that status is IO faulted and you get uh never say that that key is mismatching that's an indication that you have an improper configuration of the SEO 5 controller another common mistake is to forget to change the sides of the variable from as in to end in that case what will happen is the variable that automatically created when you add the device will be of the wrong size so there will be eight bit variable or short end and in case you are using our aoi instruction this variable will not match the sides that the aoi extraction is expecting so the AI won't work also if you decide to do your own conversion of the register into the real variables this won't match our documentation so it will make your high life a little bit harder and there is one also thing to notice that if you once you realize the mistake if you go back and try to change this back to end and say okay yes and okay even though you change it Rockwell at that point won't change the size or the variable they were created so in that case to fix the problem you have to go back delete the module and add the module from the beginning in your module I have to R e a name demo IP address and this time make the right selection here okay close and now if we open the variable we see the int or 16 bits this matches the size that the aoi is expecting and the match is also the documentation of our website and this concludes the video on how to add the su5 controller into the aoi tree for a Rockwood project