# CallRoutine with parameter - IRC5 FlexPendant SDK

**URL:** <https://tech-community.robotics.abb.com/t/callroutine-with-parameter-irc5-flexpendant-sdk/3917>\
**Category:** Developer Tools\
**Created:** [November 16, 2010, 10:15am UTC](https://tech-community.robotics.abb.com/t/callroutine-with-parameter-irc5-flexpendant-sdk/3917 "2010-11-16T10:15:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ECapitanio](https://avatars.discourse-cdn.com/v4/letter/e/ec9cab/32.png) [@ECapitanio](https://tech-community.robotics.abb.com/u/ECapitanio)\
**Post date:** [November 16, 2010, 10:15am UTC](https://tech-community.robotics.abb.com/t/callroutine-with-parameter-irc5-flexpendant-sdk/3917/1 "2010-11-16T10:15:56Z")

</div>

Hello,  
my problem it’s easy: I must to launch one routine with some parameters (tipically one), there is some method or ploy do to it?? I know that method “CallRoutine” of FlexPendant SDK do not take any parameters but I must to force it..  
Some help?? some idea??

thank you very much  
Emanuele

---

<div class="post-metadata">

**Author:** ![carlosmtz2000](https://avatars.discourse-cdn.com/v4/letter/c/e79b87/32.png) [@carlosmtz2000](https://tech-community.robotics.abb.com/u/carlosmtz2000)\
**Post date:** [November 16, 2010, 4:11pm UTC](https://tech-community.robotics.abb.com/t/callroutine-with-parameter-irc5-flexpendant-sdk/3917/2 "2010-11-16T16:11:26Z")

</div>

At the RAPID Editor, you can only move the PP to a routine with no parameters; the same applies here.

The best work around is just have a routine which actually calls your routine. You can also move the parameter value to a variable, then you can write the variable’s value, and then call the routine.

---

<div class="post-metadata">

**Author:** ![ECapitanio](https://avatars.discourse-cdn.com/v4/letter/e/ec9cab/32.png) [@ECapitanio](https://tech-community.robotics.abb.com/u/ECapitanio)\
**Post date:** [November 16, 2010, 4:36pm UTC](https://tech-community.robotics.abb.com/t/callroutine-with-parameter-irc5-flexpendant-sdk/3917/3 "2010-11-16T16:36:42Z")

</div>

ok thanks,  
I’ll do it!! 😉

ema
