RobotStudio event

How to set PP to main at Start

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.

Best Answer