FANUC Custom HMI Screens on iPendant

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi everybody adam with fanuc here today i want to talk to you briefly about how to turn your teach pendant into a customized hmi uh it's super nice every time you buy a robot you get a teach pendant so why not use it on those simple standalone projects where you don't want to spend a lot of money on a third party touch screen hmi device it's just a robot doing some pick and place and you want some general controls hey you know this thing is a touch screen uh it's usable it's customizable and it's free so let's get talking about it i'm going to explain to you the four steps and the four things you need so let's take a look at that all right so the four things we're going through today first you need to download and install either microsoft sharepoint designer 2007 or microsoft expression web 4. these are both free they're online google is your friend shouldn't be any struggles there i personally prefer sharepoint designer 07. i know it's old i know it's legacy the newer sharepoints are not compatible so don't try it um but just old school i've been using that one forever i feel like the interface is a little bit simpler um whereas with expression web i i don't know i feel like they got fancy with and sometimes you lose some functionality when you get too fancy so uh i prefer designer uh but today we're actually gonna be showing it in expression web because of compatibility issues with my brand new laptop uh i had to use expression so you're gonna see the one i don't like today anyway get those next you need to download and install the fanuc i pendant controls uh and you'll want the user manual that's the i pendant customization manual if you're in the americas uh just call up 888 fanuc us let them know you want the i pendant customization controls and manual or call your local fanuc rep he or she will be happy to talk to you of course if you're overseas fanuc is everywhere call your local guys they'll help you out once you have the softwares both from microsoft and fanuc we're going to build screens and then we're going to load it into the teach pendant the awesome thing about this that's free and that's free and you already own the teach pendant so why not so now let's uh dive into uh the critical steps here all right once you have uh everything downloaded and installed the first thing you'll be seeing is uh let me actually back this up one the eye pendant controls zip folder that fanuc is going to give you uh it has everything in there you need of course there's your executable to to get it all installed on your system um but what's nice is when you get that from fanuc we give you a bunch of examples so we give you a bunch of stm files showing you how to set up alarm banners uh different uh examples for indicators how to set up forms all all this great stuff uh so so you have these nice foundation blocks to start with let me open up my microsoft web expression four years will probably look quite similar to this uh here's some of the example ones that fanuc gives you uh some nice little reset your parts counters and uh you know everything that comes along with that all these push buttons here's one that shows status indicators are we in cycle are we stopped just real simple things that you can use um of course you can copy and paste them here's a nice uh big alarm banner that you can put across the top of your um teach pennant screen you'll see that as you start clicking through these um different activex controls you can start mapping so this one is a uh a label box we just call it uh you know the activex label and what the label is is we're mapping in this case we're mapping a system variable and a system variable is uh alarm if last alarm so basically if and when your robot throws an alarm uh that alarm code will show up in this box so you can just take this box copy and paste it into whatever stm you're using um fanuc also gives you this nice little uh table here of commonly used things uh push buttons uh lamp indicators there's that label control for you know like alarms edit boxes for doing register values all kinds of fun things it's all right here and anytime you want to use something you can just come in here copy it and then bring it over somewhere else paste it and then resize it rescale it so i'm not going to dwell too long on how to build screens because that's between you and microsoft expression web get as creative as you want uh in this one i've you know i brought in some imagery uh this could be renderings of your system um because i'm gonna be working with an lr mate i thought it would be kind of neat to throw an lr made on the on the screen um company logos this and that so let me just show you a few quick things that i have on mine and and just for a stupid simple example how it's going to work uh one thing i did down here this is one of the edit boxes activex edit box and what i'm doing is i'm going to say okay this box is going to write to a numeric register which register the data index register 5 what's it going to look like it's going to be a normal keypad yes and what's going to happen is when the operator touches the teach pendant touch screen a numeric keypad is is gonna pop up i could have a full keypad come up with a full qwerty keyboard um uh in this case i just need numeric then i can even program a min and a max i you know i'm gonna clamp them between one and a hundred but that's completely modifiable you can change it to whatever you want and then all the fun stuff how do you want your border to look horizontal and vertical alignment what color do you want this thing [Music] different fonts supported we have check conditions which means you cannot act activate or use this button unless and so i can go through and say well if they're not holding down the dead man safety enable then that button does nothing or is the teach pendant turned on or not do they have to hold the shift key or is there certain i o that i'm looking to monitor maybe i want to monitor my digital input number four and make sure that that's turned on before they use the button so these are nice little safety measures and qualifiers uh to prevent or allow people from entering data when they should or shouldn't you know in the middle of a cycle things like that so let me back out of here uh so again what i've built here is a numerical entry that's going to register number five if you want to see what i'm thinking in advance uh i will pull this up numerical register number five is run speed how original right uh this is not the most efficient and easy way to change the speed of the robot um but just for fun and just for this video i want my screen to be able to change the speeds another thing that i have on here is a end program command now i'm doing this slightly different than actually stopping and aborting a program or issuing a whole via the you ops what i'm doing here is i'm going to write to my digital outputs i'll explain why in a minute but i'm going to write to d02 and this button it can either be momentary uh which would be it's sustained right it's only going to be pushing the the true signal while you're holding it or it can be a toggle so it's a true on off you press it once it goes on you press it again it goes off hence toggle of course style colors all that fun stuff but here's what i'm going to do with it when somebody pushes that button it's going to turn on digital output 2. let me show you why if i go in and look of course by the way i've already pre-mapped all this stuff so if i look digital output 2 i named it the end program always comment your code i've got a simple little program here and i've built just four points in a semi-infinite loop all right here's label one here's where i set the speed register five which this guy's writing to uh four positions just one two three four comes back kind of makes a circle loop d loop but line eight here says if digital output 2 is off jump back to label 1. so if nobody is pressing that button i'm just going to sit here and run production all day run run run run run run run if somebody while i'm running hits that button it's going to set the signal to be on so when i get down here it'll say oh hey digital output 2 is on i need to go to my next lines of code well the next line of code is to hurry up and kick it right back off because keep in mind this is a toggle button you can either turn it on and off with your finger or you can turn it on and off in the code so obviously if somebody touched it to turn it on i want to turn it back off and then i just end the program so that's a real simple logic a real simple handshake between your custom screen and your code that while you're running production i don't want to just stop in the middle of a cycle i want to finish my cycle turn off the i o end it so there's my simple program another thing i like to do in my hmis is a start button tons of ways to skin this cat guys but probably the most used way for me is i set a command button that writes a value of a 1 to the system variable shellwork custom start and why am i writing there well you've probably seen in my other videos if you haven't go watch them but in my program select i like to select programs using shellwork so if this program is looking at shellwork custom name circle which is my circle program then when somebody clicks the shellwork custom start boom starts running production right from your teach pendant so now you don't have to go over and hit the green button on the operator panel or or send a signal from somewhere else you can actually start and stop your robot from your custom hmi all right so we've talked about microsoft web expression we talked about the manuals here's a real basic screen we have to get this screen into this teach pendant uh so we can use it so the first thing i want to show you you may or may not have known but your teach pendant has web browsing capabilities that should be inferred by now but down here browser menu next page browser you'll see right now there are no other options there's no arrows there's nothing there's just browser if i click on it it actually goes to the robot home page all right a lot of fun stuff in here with your comment tools and robot status but this is the robot's home page you can actually access this from your laptop if you're plugged into the robot and you just type in the robot's ip address you'll see this on your pc but you can also see the web page from the robot so keep in mind menu next browser this is going to be our friend in just a minute all right so let me open up robo guide here okay what you need to do is you need to open up your uh well in robo guide you open up your tools folder because i need to get the files from web expression into robo guide but in real life you will just put them on a flash drive so grab a usb and put your files on so here's what it's going to look like if i'm in robo guide robot 1 ut1 i've been doing some work earlier i dropped the gun uh ut1 is this is my pretend usb stick all right so i need to get the files from my documents my websites so you'll see on your computer you know your local documents websites the website that i've been building i named it adam example and then i also put in some imagery i put in a fanuc logo and i put in this lr mate image okay so in here on your flash drive or in your virtual world you need the stm that you built and you need any of the imagery that you built copy so this in real life would be put on a usb but here we go so now in my virtual world i have these files on a pretend usb that's plugged into my pretend teach pendant so that's good so now i'll pull up my pen to dependent menu file and i want to browse to my usb that's on the teach pendant and i want to look at all the files so i'm going to press enter here's all the files there's my stm that i built there's my logo and my uh robot image so now that i have now that i've found them let's put them on the robot go to this page you know next page and you want to copy the files so adam example i want to copy from the usb on the teach pendant to my f rom so i just say choice ephron do copy and you'll see that it gives me a little love note copied to fr adam example awesome uh let's do it again i need the fanuc logo copy to my from do copy all right it was copied next lr image copy from do copy and there it is all right so now all three files are in my from so that's the first step next step i want to go menu next system variables and once in my system variables i want to scroll all the way down uh quite a ways down to this tx underscore screen area once i'm in there i want to open up the first screen you cannot use that is the default fanuc browser that we just looked at a minute ago so don't worry about that one but you have eight more that your excuse me nine more that you can play with two through ten so by default you can do nine different screens it is expandable tomorrow if you need it yes start with one and see how you do so let's open that up what i need to do is i need to give it a destination where does this variable need to go look to find the screen that i built so what i'm going to do is say forward slash from forward slash and then the name of the file which was adam example stm perfect so now i've given it a directory make sure you do forward slash um and then the fr forward slash and then the exact name of your stm as it is and then what do you want the screen called as you look at it on the teach pendant i'm just going to call mine run screen all right so now we have the directory set we have a name set check this out right now in real time just that easy if we go menu next look at my browser it now has one of the little arrows to say hey you've got options in here bud come down look at my options i can go to the default browser or i can go to this new thing called run screen let's check it out boom i have now turned my fanuc teach pendant into a nice little hmi this is residing on the teach pendant okay before we jump into using it i want to show you another neat trick once your screen is up i like to set a quick access menu favorite so with it open press menu and then see down here where it says menu favorites press and hold to set i'm just gonna press and hold on this one and override it press and hold boom now it says run screen so if you're over here you're you're in here you're looking at your code you're doing whatever just press menu run screen and boom you're right there so it's a nice little handy quick jump to always make sure you get right there so let's run this robot let's have some fun let's test it and see see how it works i'm going to get this thing running a circle here all right so he's going around in his nice little infinite loop that we have if a user comes over and clicks on that min value max value current value so they could crank this bad boy up to a hundred and this robot will start running at a hundred come down here put in a 5. now we got a nice slow robot all right so that's working good if you want to look at it in real time i can look at my data there's my data run speed is a 5 right so you see it passing through you'll go here and put in a 20 or something like that and i can watch it update right here it's at 20 robot comes around and a little bit faster now so that's cool so we can see that in real time and now like i said uh i want to end this program all i'm going to do is while this robot's going i'm going to slow it down a little so you can see a better effect as it's going i'm going to say hey i want you to be done after the next cycle you see me hit the toggle robot comes around stops running production releases the toggle it's just that easy that way you can see you know that the command has been sent and that it was received so uh there you have it my friends um not hard at all this is this is free this is fun uh obviously some limitations you know but i think they look good i think they look simple um what do you expect for free so get yourself a web expression or a sharepoint get yourself the fanuc tools uh and go ahead and get yourself set up and of course uh from your your robot when you take your file backups uh you can import stms back into expression modify them bring them back in and if you want to bring them back in and and uh change them offline and bring them back in and and install them just file put in the new one copy where am i copying it to and it'll ask you are you sure you want to overwrite of course i want to overwrite you'll hit yes but then the important thing is is when you go in here you got to click this refresh button so if you made changes if you made some kind of edits and totally moved things around or changed variables or whatever just make sure that you overwrite what's in the from and that when you come back in you refresh it to clear the cache all right guys i hope that helps get after it and have fun coding
Info
Channel: Adam Willea
Views: 6,256
Rating: undefined out of 5
Keywords:
Id: 2eURFLeHW8o
Channel Id: undefined
Length: 23min 7sec (1387 seconds)
Published: Sat Oct 10 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.