HMI and UR Polyscope
Last updated
Last updated
There are several ways to structure an HMI program within the UR polyscope program editor, and typically each developer has his own preferred way. Below you can find the two most used ways to structure a program with HMI (a mix of the two is also possible):
Interaction based on variables
Interaction based on functions
In this scenario, to triger a robot action, HMI Buttons are linked to program (or installation) variables . Robot task is defined inside the Main Program, which can loop continuously.
In this scenario, to triger a robot action, HMI Buttons are linked to program functions (called Sub Program inside Polyscope). Robot tasks are defined inside Sub Programs, which are automatically called by HMI components. As robot tasks are executed inside Sub Programs, Main Program can be stopped as it is not required to loop continuously.