Home Integration

Discussion

Left ArrowBack to discussions page
SebastienSebastien Posts: 219 Handy
Hi Pros,
just wondering what people do when designing an interface for a UR robot? Do you guys use PLC with their HMI features or any of you programming caps or any other way to do this. What we usually show on interfaces are production status or request to the operator. We need something that would be more real time than insight. For example the robot scans a barcode on a part and we want to display the part number on the interface.
@matthewd92 what do you use?


Comments

  • matthewd92matthewd92 Founding Pro, Tactile Sensor Beta Testers Posts: 1,079 Handy
    @sebastien We cheat.....we use the built-in pendant, anything that we want to be highly visible to the user we use a leading capital for the variable name so that it appears near the top of the variables list.  We have the ability also to use popups and concatenate what is displayed, meaning we can make easy to use custom messages that contain strings and variable data.  We can either use the standard popup where you get the stop program/continue buttons or if its purely a notification we will popup a message that only has an ok button (cannot block execution though), we also have written the ability to close those whenever we want programmatically so that if we need to display something else we can as popups come to the bottom of the stack so you have to close the previous popup to see the new one.  This has allowed us for the time being to not need to develop any other displays for use in our cells.
  • SebastienSebastien Posts: 219 Handy
    @matthewd92 thanks a lot for the tip. I will try to post what we decided to use for that particular project we are looking at later on!

  • ColinColin Partner Posts: 17 Apprentice
    can you all share the code for a Popup that you display variable values within?
  • matthewd92matthewd92 Founding Pro, Tactile Sensor Beta Testers Posts: 1,079 Handy
    Unfortunately @Colin its proprietary code that we have written that runs off of the robot since there is no string manipulation available on the robot natively.

    If all you want to do is display the value of a variable and no text you can use the popup script function.  Download the script manual from UR, here, and look for popup.

  • ColinColin Partner Posts: 17 Apprentice
    Okay. I am looking for a way to concatenate the message that is in out as the "s" or script arguement. I would like to display "the value is:" get_value.variable1 ()  . Any ideas what the proper syntax is to display the latter half of that message?

    If the value of variable1 is 100, I want the popup to display the value is: 100

    Ideas on syntax?
  • matthewd92matthewd92 Founding Pro, Tactile Sensor Beta Testers Posts: 1,079 Handy
    Can’t be done on the robot natively. There’s no string manipulation so no concatenation. That’s why we developed our own server running with the robot to handle stuff like that over the xmlrpc protocol. 
Sign In or Register to comment.
Left ArrowBack to discussions page