# why do we need triggdata?

**URL:** <https://tech-community.robotics.abb.com/t/why-do-we-need-triggdata/2049>\
**Category:** RobotStudio\
**Created:** [July 31, 2008, 8:22pm UTC](https://tech-community.robotics.abb.com/t/why-do-we-need-triggdata/2049 "2008-07-31T20:22:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/system/32/6_2.png) [@system](https://tech-community.robotics.abb.com/u/system)\
**Post date:** [July 31, 2008, 8:22pm UTC](https://tech-community.robotics.abb.com/t/why-do-we-need-triggdata/2049/1 "2008-07-31T20:22:00Z")

</div>

I know that RAPID will start processing the following code before finishing moving the robot. That is why ABB designed triggdata. But why don’t we just write the same robot-moving command twice? That should ensure that the robot finishes its movement before processing the following code.

---

<div class="post-metadata">

**Author:** ![Joan](https://avatars.discourse-cdn.com/v4/letter/j/43a26b/32.png) [@Joan](https://tech-community.robotics.abb.com/u/Joan)\
**Post date:** [July 31, 2008, 9:56pm UTC](https://tech-community.robotics.abb.com/t/why-do-we-need-triggdata/2049/2 "2008-07-31T21:56:37Z")

</div>

First of all, my english is not my best so I don’t know if I’ve understood you correctly…

If you want to wait the movement to be finished just before making anything else…

You can use:

WaitTime 0;

As far as I know any attempt to modify a signal (DI, DO…) will also stop it.

Also you can place a FINE at the movement just to make it to finish the movement before making something else…

But anyway, I’ve not understood the point with triggdata… As I understand it it is used precisely to be able to activate an output just at a certain distance from a specified point… something that in the other hand would be impossible (I don’t know if placing two movements to the same place and the first one with a bigger zone would work (I suppose that) but you’ll have more control with triggdata)…

Hope this helps…

---

<div class="post-metadata">

**Author:** ![Henrik\_Berlin](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/henrik_berlin/32/1011_2.png) [@Henrik\_Berlin](https://tech-community.robotics.abb.com/u/Henrik_Berlin)\
**Post date:** [August 5, 2008, 9:18am UTC](https://tech-community.robotics.abb.com/t/why-do-we-need-triggdata/2049/3 "2008-08-05T09:18:52Z")

</div>

Hi,

Use a stop point (zone = fine) if you don’t want the following instructions to be executed before the robot has finished motion.
