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
Hi Kevin

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(尺寸:7.67 MB /下载:52022世界杯国家队名单32)
Find useful information about RoboDK and its features by visiting our2022世界杯32强赛程表时间 and by watching tutorials on ourYoutube Channel.






Users browsing this thread:
1 Guest(s)