# Dynamically Choosing RobConfig

**URL:** <https://tech-community.robotics.abb.com/t/dynamically-choosing-robconfig/6143>\
**Category:** Developer Tools\
**Created:** [May 21, 2014, 10:22am UTC](https://tech-community.robotics.abb.com/t/dynamically-choosing-robconfig/6143 "2014-05-21T10:22:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MechatronicsStudent](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@MechatronicsStudent](https://tech-community.robotics.abb.com/u/MechatronicsStudent)\
**Post date:** [May 21, 2014, 10:22am UTC](https://tech-community.robotics.abb.com/t/dynamically-choosing-robconfig/6143/1 "2014-05-21T10:22:01Z")

</div>

Hi All

I am updating a robtarget with new position data, at first I had orientation errors but those have been solved using OrientZYX, now when my program runs I get ‘Joint out of Range’ Error due to the robot picking a difficult configuration to move in.

Is there a way of dynamically choosing the easiest (minimal movement from the last configuration) configuration for each robtarget?

Many thanks
