# About RelTool

**URL:** <https://tech-community.robotics.abb.com/t/about-reltool/1512>\
**Category:** Robot Controller\
**Created:** [November 1, 2007, 4:10pm UTC](https://tech-community.robotics.abb.com/t/about-reltool/1512 "2007-11-01T16:10:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![junjun](https://avatars.discourse-cdn.com/v4/letter/j/7ea924/32.png) [@junjun](https://tech-community.robotics.abb.com/u/junjun)\
**Post date:** [November 1, 2007, 4:10pm UTC](https://tech-community.robotics.abb.com/t/about-reltool/1512/1 "2007-11-01T16:10:02Z")

</div>

Hi everyone  
i need your help,the robot type is IRB 6400 and the OS is S4C 3.0-4.  
i want the robot to rotate 180 degree around its Z-axis.so i program it like below:  
MoveL RelTool (p1, 0, 0, 0 Rx:=0Ry:=0Rz:= 180), v100, fine, tool1;  
but when you run it,an error message will appear on the teachpendant,which says 50080:Position not compatible.  
Position cannot be reached with the  
given robot configuration,if you change180 degree to less than 135 degree,it can be run  
what’s the reason

thanks a lot!

---

<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:** [November 1, 2007, 4:53pm UTC](https://tech-community.robotics.abb.com/t/about-reltool/1512/2 "2007-11-01T16:53:15Z")

</div>

Hi  
You need to turn of configuration, because the teached configuration on axis6 is different between p1 and rotated p1.

And you do that like this

ConfLOff;

---

<div class="post-metadata">

**Author:** ![vulpes\_h](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/vulpes_h/32/1293_2.png) [@vulpes\_h](https://tech-community.robotics.abb.com/u/vulpes_h)\
**Post date:** [November 1, 2007, 5:15pm UTC](https://tech-community.robotics.abb.com/t/about-reltool/1512/3 "2007-11-01T17:15:33Z")

</div>

The reason is that the robot don’t now witch way to go to archive the configuration, so it is limit to reorient more than 90 degrees to keep the robot on a liner path.

You can turn off the configuration check whit ConfLoff ; and on ConfLon;

divide the reorientation in more points…

MoveL RelTool (p1, 0, 0, 0 Rx:=0Ry:=0Rz:= 90), v100, fine, tool1;  
!! ok if fine is use before !!

P2:=CrobT();

MoveL RelTool (p2, 0, 0, 0 Rx:=0Ry:=0Rz:= 90), v100, fine, tool1;

or use MoveJ

MoveJ RelTool (p2, 0, 0, 0 Rx:=0Ry:=0Rz:= 90), v100, fine, tool1;

or

p2::=CalcJointT(RelTool (p1, 0, 0, 0 Rx:=0Ry:=0Rz:= 180),tool1);

MoveABSJ p2, v100, fine, tool1;

or

P2:=CalcJointT(RelTool (p1, 0, 0, 0 Rx:=0Ry:=0Rz:= 180),tool1);

p1:=CalcRobT(p2,tool1);

MoveL p1, v100, fine, tool1; !more than 90 deggres

or I think you change the value of the recorded configuration to be betwen the 2 points. coresponding in your case to real position RelTool (p1, 0, 0, 0 Rx:=0Ry:=0Rz:= 90)

like

p1.confdata.cf1:=??

p1.confdata.cf4:=??

p1.confdata.cf6:=??

p1.confdata.cfx:=??

PS. if the reorientation is more than 90 confdata will change by +/- 1

MoveL instrucktion will give alarm if change by +/- 2 equals more than 180 degrees. if not ConfLoff ..!

or if confdata is set to [0,0,0,0] no configdata is used

IS THIS CORRECT ??

---

<div class="post-metadata">

**Author:** ![Semircn](https://avatars.discourse-cdn.com/v4/letter/s/a587f6/32.png) [@Semircn](https://tech-community.robotics.abb.com/u/Semircn)\
**Post date:** [November 2, 2007, 2:11am UTC](https://tech-community.robotics.abb.com/t/about-reltool/1512/4 "2007-11-02T02:11:19Z")

</div>

Use the instruction confL/OFF

---

<div class="post-metadata">

**Author:** ![junjun](https://avatars.discourse-cdn.com/v4/letter/j/7ea924/32.png) [@junjun](https://tech-community.robotics.abb.com/u/junjun)\
**Post date:** [November 2, 2007, 2:31am UTC](https://tech-community.robotics.abb.com/t/about-reltool/1512/5 "2007-11-02T02:31:42Z")

</div>

Thank you,PerSvensson,vulpes\_h and Semircn

all your solutions can solve this problem

I really appreciate your help
