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?
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.
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.
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.