# How to set PP to main at Start

**URL:** <https://tech-community.robotics.abb.com/t/how-to-set-pp-to-main-at-start/7020>\
**Category:** RobotStudio\
**Tags:** programming, rapid, program-pointer\
**Created:** [February 29, 2016, 4:34pm UTC](https://tech-community.robotics.abb.com/t/how-to-set-pp-to-main-at-start/7020 "2016-02-29T16:34:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![medinadan](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@medinadan](https://tech-community.robotics.abb.com/u/medinadan)\
**Post date:** [February 29, 2016, 4:34pm UTC](https://tech-community.robotics.abb.com/t/how-to-set-pp-to-main-at-start/7020/1 "2016-02-29T16:34:02Z")

</div>

Hello all,

I have been searching for a while and I did not find a way to set the PP to main at Start from RAPID code or controller configuration.  
I need a way to start always from the begining when the Start button is pressed.  
is there any way to do it?

I have seen the system input ‘Start at main’, but I am not able to use it right now.  
I have also seen the programmable button in the FlexPendant, but I need to do it automatically.

Thank you in advance.  
Best regards,  
Daniel M.

---

<div class="post-metadata">

**Author:** ![PerSvensson](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/persvensson/32/1040_2.png) [@PerSvensson](https://tech-community.robotics.abb.com/u/PerSvensson)\
**Post date:** [February 29, 2016, 6:53pm UTC](https://tech-community.robotics.abb.com/t/how-to-set-pp-to-main-at-start/7020/2 "2016-02-29T18:53:23Z")

</div>

ExitCycle will do it

---

<div class="post-metadata">

**Author:** ![medinadan](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@medinadan](https://tech-community.robotics.abb.com/u/medinadan)\
**Post date:** [March 1, 2016, 9:23am UTC](https://tech-community.robotics.abb.com/t/how-to-set-pp-to-main-at-start/7020/3 "2016-03-01T09:23:04Z")

</div>

too easy to find it.  
thanks
