# Modify position via FlexPendant

**URL:** https://tech-community.robotics.abb.com/t/modify-position-via-flexpendant/5497
**Category:** Robot Controller
**Created:** [May 8, 2013, 10:12am UTC](https://tech-community.robotics.abb.com/t/modify-position-via-flexpendant/5497 "2013-05-08T10:12:39Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![greenvirag](https://avatars.discourse-cdn.com/v4/letter/g/db5fbb/32.png) [@greenvirag](https://tech-community.robotics.abb.com/u/greenvirag)
#### Post date: [May 8, 2013, 10:12am UTC](https://tech-community.robotics.abb.com/t/modify-position-via-flexpendant/5497/1 "2013-05-08T10:12:39Z")

</div>

Hi everyone,

I have a problem which occurs time after time (but not always): I would like to modify a named position via the FlexPendant, using the Program Editor view. I run the program and stop it at the desired target, so the motion pointer is set. Then I jog away, and select the position name and click on “Modify position”. After the confirmation a window appears, that “Modify Position Error - Unable to modify the position”. I didn’t find anything in the manuals nor in Google search about what can cause this problem.

Do you have any idea or suggestion?

Thank you very much,  
Virag

---

<div class="post-metadata">

### Author: ![cabraja](https://avatars.discourse-cdn.com/v4/letter/c/ebca7d/32.png) [@cabraja](https://tech-community.robotics.abb.com/u/cabraja)
#### Post date: [May 10, 2013, 6:06am UTC](https://tech-community.robotics.abb.com/t/modify-position-via-flexpendant/5497/2 "2013-05-10T06:06:25Z")

</div>

Check so that you have proper tool AND proper work object selected in the jogging window.

---

<div class="post-metadata">

### Author: ![greenvirag](https://avatars.discourse-cdn.com/v4/letter/g/db5fbb/32.png) [@greenvirag](https://tech-community.robotics.abb.com/u/greenvirag)
#### Post date: [May 10, 2013, 11:08am UTC](https://tech-community.robotics.abb.com/t/modify-position-via-flexpendant/5497/3 "2013-05-10T11:08:17Z")

</div>

Thanks, but they do correspond. If we choose wrong workobject or tool, then we get a message about it – but in our case, no explanation, only “Modify Position Error - Unable to modify the position”.

---

<div class="post-metadata">

### Author: ![sanderb](https://avatars.discourse-cdn.com/v4/letter/s/e495f1/32.png) [@sanderb](https://tech-community.robotics.abb.com/u/sanderb)
#### Post date: [October 17, 2013, 7:48am UTC](https://tech-community.robotics.abb.com/t/modify-position-via-flexpendant/5497/4 "2013-10-17T07:48:18Z")

</div>

Check with "Debug-\>“View value” ïf the position has a value. If not this message will appear.

If the position has no value change it’s declaration.

This is wrong  
_VAR robtarget pUnload;_

This is correct  
_VAR robtarget pUnload:=[[-657.32,-485.01,92.14],[4.06594E-05,-0.707061,0.707159,6.52999E-05],[-1,0,0,1],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]];_

Do a PP to routine to make sure the position has its value and try again.
