# Problem with detacher smart component

**URL:** <https://tech-community.robotics.abb.com/t/problem-with-detacher-smart-component/7430>\
**Category:** RobotStudio\
**Tags:** palletizing, robotstudio, smart-components\
**Created:** [November 15, 2016, 7:19am UTC](https://tech-community.robotics.abb.com/t/problem-with-detacher-smart-component/7430 "2016-11-15T07:19:45Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![alex\_tir](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/alex_tir/32/3135_2.png) [@alex\_tir](https://tech-community.robotics.abb.com/u/alex_tir)\
**Post date:** [November 15, 2016, 7:19am UTC](https://tech-community.robotics.abb.com/t/problem-with-detacher-smart-component/7430/1 "2016-11-15T07:19:45Z")

</div>

Hi! i’m working with Robotstudio v5.14 and I want to do a pick and place station. I can’t make detacher component working fine. I set all right (bindings, I\O connections and signals, signal in rapid editor and all I’ve seen in several online tutorial), I am able to attach a box to the tool but I’m not able to make it detaching from tool itslelf. It seems like when I put the signal to 0 in RAPID editor the program can’t execute the detacher instruction.  
Someone can help me to solve my problem?

Thanks in advantage for your availability.

---

<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:** [November 15, 2016, 7:13pm UTC](https://tech-community.robotics.abb.com/t/problem-with-detacher-smart-component/7430/2 "2016-11-15T19:13:18Z")

</div>

You will need to share your smart component as it depends on what components you have used.

---

<div class="post-metadata">

**Author:** ![alex\_tir](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/alex_tir/32/3135_2.png) [@alex\_tir](https://tech-community.robotics.abb.com/u/alex_tir)\
**Post date:** [November 16, 2016, 7:26am UTC](https://tech-community.robotics.abb.com/t/problem-with-detacher-smart-component/7430/3 "2016-11-16T07:26:01Z")

</div>

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

Sorry for that, I forgot it!  
This is my smart component. When I set in rapid editor the DigitalOutput from System to 0, the Input in SmartComponent diAttacca is set 0 but the detacher component doesn’t work and my box still atttach.

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

---

<div class="post-metadata">

**Author:** ![sturner](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/sturner/32/3432_2.png) [@sturner](https://tech-community.robotics.abb.com/u/sturner)\
**Post date:** [November 16, 2016, 4:29pm UTC](https://tech-community.robotics.abb.com/t/problem-with-detacher-smart-component/7430/4 "2016-11-16T16:29:14Z")

</div>

Check that your input, di Attacca, is not ‘auto reset’.

Test the line sensor manually to see if it gives an output when sensing a part, (freehand move an part into the sensor).

Check to see if the attacher, attaches the sensed part in the **browser**

---

<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:** [November 16, 2016, 6:29pm UTC](https://tech-community.robotics.abb.com/t/problem-with-detacher-smart-component/7430/5 "2016-11-16T18:29:23Z")

</div>

Check the not logic gate output toggles when running from your code.

If it does not manually set and rest the input signal to check the component works - if it does work retry running from your code (this sometimes sorts it out!).

If it is not working replace the logic gate with a new one - may have got corrupted.

---

<div class="post-metadata">

**Author:** ![techieme](https://avatars.discourse-cdn.com/v4/letter/t/e9a140/32.png) [@techieme](https://tech-community.robotics.abb.com/u/techieme)\
**Post date:** [November 21, 2016, 12:22pm UTC](https://tech-community.robotics.abb.com/t/problem-with-detacher-smart-component/7430/6 "2016-11-21T12:22:27Z")

</div>

I normally use the ‘sensed part’ of Linear Sensor as ‘Child’ for detacher (just like ‘child’ for attacher):

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

---

<div class="post-metadata">

**Author:** ![alex\_tir](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/alex_tir/32/3135_2.png) [@alex\_tir](https://tech-community.robotics.abb.com/u/alex_tir)\
**Post date:** [November 22, 2016, 8:12am UTC](https://tech-community.robotics.abb.com/t/problem-with-detacher-smart-component/7430/7 "2016-11-22T08:12:30Z")

</div>

Sorry for the late response but onlt now I am able to access the project.

> [@sturner](#):
>
> Check that your input, di Attacca, is not ‘auto reset’.
> 
> Test the line sensor manually to see if it gives an output when sensing a part, (freehand move an part into the sensor).
> 
> Check to see if the attacher, attaches the sensed part in the **browser**

As you said, I tested manually the line sensor and the attacher works very well. Instead, the detacher still not work fine also in manual mode.

Now I will try the other two options and I’ll let you know if they work or not.  
Thanks in advantage for your availabiliy!

---

<div class="post-metadata">

**Author:** ![sturner](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/sturner/32/3432_2.png) [@sturner](https://tech-community.robotics.abb.com/u/sturner)\
**Post date:** [November 22, 2016, 8:33am UTC](https://tech-community.robotics.abb.com/t/problem-with-detacher-smart-component/7430/8 "2016-11-22T08:33:52Z")

</div>

Just a thought, is the sensed part ‘Detectable by Sensors’… right click - modify -

---

<div class="post-metadata">

**Author:** ![svoldgaard](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/svoldgaard/32/3334_2.png) [@svoldgaard](https://tech-community.robotics.abb.com/u/svoldgaard)\
**Post date:** [March 8, 2017, 12:32pm UTC](https://tech-community.robotics.abb.com/t/problem-with-detacher-smart-component/7430/9 "2017-03-08T12:32:28Z")

</div>

Check if the child in detatcher still holds value, after you have removed the part away from the sensor.  
When you have moved the part away from the sensor, the part is not detected by the sensor anymore and there is nothing in the “sensedpart” properti. You then deteach “nothing”, by the time the signal is triggered.
