# Picking up an object - 180 degree rotated

**URL:** <https://tech-community.robotics.abb.com/t/picking-up-an-object-180-degree-rotated/10423>\
**Category:** RobotStudio\
**Tags:** robotstudio\
**Created:** [October 19, 2021, 8:27pm UTC](https://tech-community.robotics.abb.com/t/picking-up-an-object-180-degree-rotated/10423 "2021-10-19T20:27:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![popoff\_1](https://avatars.discourse-cdn.com/v4/letter/p/e5b9ba/32.png) [@popoff\_1](https://tech-community.robotics.abb.com/u/popoff_1)\
**Post date:** [October 19, 2021, 8:27pm UTC](https://tech-community.robotics.abb.com/t/picking-up-an-object-180-degree-rotated/10423/1 "2021-10-19T20:27:39Z")

</div>

Hi,

how the gripper attach an object? I mean does the gripper attach the object at his origin? Because when I try to pick up an object, see picture, when the gripper receive the I/O Signal to pick it up, the object is rotated by 180 degree. See picture. Why is the part rotated 180 degrees when it is picked up? Thank you!

 ![image.png](https://europe1.discourse-cdn.com/flex005/uploads/robotics1/original/2X/9/9b3c31e39e870e1717bda3d3575636cde3f8e6be.png)

---

<div class="post-metadata">

**Author:** ![graemepaulin](https://avatars.discourse-cdn.com/v4/letter/g/258eb7/32.png) [@graemepaulin](https://tech-community.robotics.abb.com/u/graemepaulin)\
**Post date:** [October 19, 2021, 8:38pm UTC](https://tech-community.robotics.abb.com/t/picking-up-an-object-180-degree-rotated/10423/2 "2021-10-19T20:38:41Z")

</div>

Are you using Events or a smart component?

---

<div class="post-metadata">

**Author:** ![popoff\_1](https://avatars.discourse-cdn.com/v4/letter/p/e5b9ba/32.png) [@popoff\_1](https://tech-community.robotics.abb.com/u/popoff_1)\
**Post date:** [October 20, 2021, 5:41am UTC](https://tech-community.robotics.abb.com/t/picking-up-an-object-180-degree-rotated/10423/3 "2021-10-20T05:41:09Z")

</div>

I have used the EventManager and have set DO\_01 to 1 when the grippger is picking up the object. In the rapid code I have written like this: SetDO DO\_01,1;

 ![image.png](https://europe1.discourse-cdn.com/flex005/uploads/robotics1/original/1X/b308a4f5194122028e1715ae5daafa5e88fd5ff2.png)

---

<div class="post-metadata">

**Author:** ![graemepaulin](https://avatars.discourse-cdn.com/v4/letter/g/258eb7/32.png) [@graemepaulin](https://tech-community.robotics.abb.com/u/graemepaulin)\
**Post date:** [October 20, 2021, 8:58am UTC](https://tech-community.robotics.abb.com/t/picking-up-an-object-180-degree-rotated/10423/4 "2021-10-20T08:58:03Z")

</div>

Try selecting keep position instead of update position - this will keep the object in the same place relative to robot (but move with the robot)

---

<div class="post-metadata">

**Author:** ![popoff\_1](https://avatars.discourse-cdn.com/v4/letter/p/e5b9ba/32.png) [@popoff\_1](https://tech-community.robotics.abb.com/u/popoff_1)\
**Post date:** [October 20, 2021, 1:09pm UTC](https://tech-community.robotics.abb.com/t/picking-up-an-object-180-degree-rotated/10423/5 "2021-10-20T13:09:11Z")

</div>

Ok now it works. Thank you very much! :smile:
