# How many Untils are possible in the program

**URL:** <https://forum.universal-robots.com/t/how-many-untils-are-possible-in-the-program/32253>\
**Category:** Technical Questions\
**Created:** [January 22, 2024, 9:21am UTC](https://forum.universal-robots.com/t/how-many-untils-are-possible-in-the-program/32253 "2024-01-22T09:21:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![slon](https://avatars.discourse-cdn.com/v4/letter/s/ccd318/32.png) [@slon](https://forum.universal-robots.com/u/slon)\
**Post date:** [January 22, 2024, 9:21am UTC](https://forum.universal-robots.com/t/how-many-untils-are-possible-in-the-program/32253/1 "2024-01-22T09:21:55Z")

</div>

Hello, in the script i can see command Direction Until Distance is a thread, is there a limit on how many Untils and thus threads i can put into the program? Is there a difference for cb3 and Eseries?

---

<div class="post-metadata">

**Author:** ![eric.feldmann](https://avatars.discourse-cdn.com/v4/letter/e/94ad74/32.png) [@eric.feldmann](https://forum.universal-robots.com/u/eric.feldmann)\
**Post date:** [January 23, 2024, 6:56pm UTC](https://forum.universal-robots.com/t/how-many-untils-are-possible-in-the-program/32253/2 "2024-01-23T18:56:35Z")

</div>

You can have 50 threads running at one point on the controller. This doesn’t mean you can only have 50 untils, just that you can’t have 50 threads running AT THE SAME TIME.
