# \#loop

**URL:** https://tech-community.robotics.abb.com/tag/loop/295.md

[Latest](https://tech-community.robotics.abb.com/latest.md) · [Categories](https://tech-community.robotics.abb.com/categories.md) · [Tags](https://tech-community.robotics.abb.com/tags.md)

---

## [First cycle only in continuous cycle running](https://tech-community.robotics.abb.com/t/first-cycle-only-in-continuous-cycle-running/11678)

<div class="topic-metadata">

**Author:** [@leem2209](https://tech-community.robotics.abb.com/u/leem2209)\
**Replies:** 4\
**Last updated:** [November 6, 2024, 1:55pm UTC](https://tech-community.robotics.abb.com/t/first-cycle-only-in-continuous-cycle-running/11678 "2024-11-06T13:55:22Z")

</div>

I’m looking to achieve a way to have instructions execute only on first cycle, things like moving to a first start position, having operators input some data, etc. These things only need to happen at the beginning so do…

---

## [Looping a program](https://tech-community.robotics.abb.com/t/looping-a-program/8805)

<div class="topic-metadata">

**Author:** [@quinten](https://tech-community.robotics.abb.com/u/quinten)\
**Replies:** 5\
**Last updated:** [February 11, 2022, 7:12am UTC](https://tech-community.robotics.abb.com/t/looping-a-program/8805 "2022-02-11T07:12:04Z")

</div>

Hello I’ve made a program in RoboDK software and got it to run on the ABB 6400 150 robot. I would like to have it running in auto-mode and have it looping constantly. I’m unable to find a configuration on the teachpend…

---

## [How to assigne varible's name in a loop?](https://tech-community.robotics.abb.com/t/how-to-assigne-varibles-name-in-a-loop/6686)

<div class="topic-metadata">

**Author:** [@WuYue](https://tech-community.robotics.abb.com/u/WuYue)\
**Replies:** 1\
**Last updated:** [June 29, 2015, 4:55pm UTC](https://tech-community.robotics.abb.com/t/how-to-assigne-varibles-name-in-a-loop/6686 "2015-06-29T16:55:32Z")

</div>

Hi, I want to write a loop to assign variable names: For i FROM 1 to 100 DO VAR pos Mypos\_(i) ! I want to have Mypos\_1 all the way until Mypos\_100. how to achieve this in RAPID? END Thanks!
