Let’s say I put a sphere on the table on my left. And I want that robot to pick it up, then drop it off on a table across from me. After it places the sphere object away, the robot comes back to my side and waits for me to set another object. This time it’s a cube. I place the cube on the right side of the table and I want that robot to take that and put it in a box on a different table. Throughout this play, I will have placed many spheres and cubes at random, and the robot has placed them all in their designated place. All in one program. How do I do that with a pop up screen where it waits for user input?
Hi,
Go to assignment in the advanced tab in the program and in command you change the source from expression to operator
You can choose a whole number as request and in the operator message : " 1 is a cube / 2 is a sphere … And after that you the switch function.
Best regards
JH
Hi @Evonne,
two options came to my mind:
-
Pure polyscope solution
Use an Assignment node with Source = Operator and Request operator for = Whole Number.
Then use and if condition to check the value choosen by the user.
When running the program a popup like this will be displyed to the user:
-
Third party HMI URCap solution
There are some URCap that let you desing custom HMI panels.
We have developed Robpod Studio, a tool that let you easily create personalized user interfaces.
With that you could realize something like this:
If you are curious about this kind of solution you can find a video tutorial here:
If this was me and I wanted my operator to keep placing parts on the table as they are sorting them I would either create a pressure sensor on each half of the table so when I place the part in the correct side it would signal the robot to run the correct part of the program based on the electrical input. You could also do this with a button the operator pushes on the table instead of the pendant. The pendant isn’t always as sensitive as you want it to be especially if you wear gloves. A physical button that isn’t a touch screen would be more receptive and faster.