Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Variable based looping
#1
I really need variable based looping before I can use RoboDK as a direct replacement for physical robots. Some sort of "For...next" loop AND a "While x
Thanks

Kevin
#2
你好,凯文

Thanks for your suggestion. It is currently not possible to create for loops in a user friendly way. However, you can accomplish this in one of the following ways:
  • Manually enter the code required to run the loop as a Program call or "insert code" instruction
  • Use the API
Albert
#3
I also never understood why it is not possible to program loops in RoboDK. Every robot programming language offers such commands. For example, if you want to grip twenty parts, it is very inconvenient to call a subroutine twenty times. RoboDK is great, but this functionality would make it even better.
#4
Thank you for your feedback.

We'll try to integrate a for-loop or a while-loop in the UI without making things too messy.
#5
This function was added with RoboDK Version 5.2

Here's an example of how to implement it.
Let us know what you think.

Jeremy


Attached Files
.rdk 09A - Pick and Scan.rdk(Size: 7.67 MB / Downloads: 457)
Find useful information about RoboDK and its features by visiting ourOnline Documentationand by watching tutorials on ourYoutube Channel.






Users browsing this thread:
1 Guest(s)

Baidu
map