Want to invite a potential Pro ? Click here!

louis_bergeron Apprentice

Username louis_bergeron
Joined
Visits 85
Last Active
Roles No Roles
Points 39
Full Name Louis Bergeron
Country -
Company (optional) Robotiq
Posts
7
Badges
4
  • Re: Adding limits to operator variables on Universal Robot

    Sebastien,

    I'll suggest you program your loop in a script file as a new function.  Placing this script file in the beginning of your UR program will allow you to use your own function everywhere in a neat way.  As an example, I've programmed a new min/max prompt function in a script file.  Then I simply use this new function anywhere I need it in the program.



      


    This new operator prompt function is made for an integer but you can do the same for a floating point variable.  By changing the function request_integer_from_primary_client with request_float_from_primary_client.

    Is it something like this you're looking for?