# \#trap

**URL:** https://tech-community.robotics.abb.com/tag/trap/136.md

[Latest](https://tech-community.robotics.abb.com/latest.md) · [Categories](https://tech-community.robotics.abb.com/categories.md) · [Tags](https://tech-community.robotics.abb.com/tags.md)

---

## [Moving in the opposite direction, stopping midway and returning to the starting point](https://tech-community.robotics.abb.com/t/moving-in-the-opposite-direction-stopping-midway-and-returning-to-the-starting-point/11728)

<div class="topic-metadata">

**Author:** [@Jarramy](https://tech-community.robotics.abb.com/u/Jarramy)\
**Replies:** 2\
**Last updated:** [December 5, 2024, 6:55am UTC](https://tech-community.robotics.abb.com/t/moving-in-the-opposite-direction-stopping-midway-and-returning-to-the-starting-point/11728 "2024-12-05T06:55:38Z")

</div>

Hello, I’m new to RobotStudio. I am sitting on a task that involves the reverse movement of the robot, i.e. it follows a given path, the operator presses the button and the robot returns back to the point from which it …

---

## [StorePath while SearchL error.](https://tech-community.robotics.abb.com/t/storepath-while-searchl-error/11427)

<div class="topic-metadata">

**Author:** [@Audrius](https://tech-community.robotics.abb.com/u/Audrius)\
**Replies:** 1\
**Last updated:** [May 6, 2024, 3:32pm UTC](https://tech-community.robotics.abb.com/t/storepath-while-searchl-error/11427 "2024-05-06T15:32:33Z")

</div>

Hello, I have TRAP function which moves robot to safe heigh, then moves to safe pont, then moves to home point, and after this function I resseting pointer to main. This funtion is called from PLC when operator sees tha…

---

## [How to skip Trap\\SingleSafe execution during UNDO](https://tech-community.robotics.abb.com/t/how-to-skip-trap-singlesafe-execution-during-undo/11323)

<div class="topic-metadata">

**Author:** [@NES](https://tech-community.robotics.abb.com/u/NES)\
**Replies:** 4\
**Last updated:** [January 11, 2024, 9:58am UTC](https://tech-community.robotics.abb.com/t/how-to-skip-trap-singlesafe-execution-during-undo/11323 "2024-01-11T09:58:36Z")

</div>

Hey, I have traps with SingleSafe argument for process control even when normal tasks are inactive. The trouble is when PPtoMain is made UNDO handler is activated and after that controller executes the trap \\SingleSafe…

---

## [Send continuosly position value to PLC without Multitasking](https://tech-community.robotics.abb.com/t/send-continuosly-position-value-to-plc-without-multitasking/10905)

<div class="topic-metadata">

**Author:** [@dragolollo](https://tech-community.robotics.abb.com/u/dragolollo)\
**Replies:** 5\
**Last updated:** [October 24, 2022, 6:58am UTC](https://tech-community.robotics.abb.com/t/send-continuosly-position-value-to-plc-without-multitasking/10905 "2022-10-24T06:58:33Z")

</div>

Hello, I’d like to have your opinion about this application and its possible implementations. A IRB4600 must check if the top layer of a pallet is full (there are no holes), i.e. it goes in the center of the pallet, do…

---

## [Does an interrupt always stop the robot motion?](https://tech-community.robotics.abb.com/t/does-an-interrupt-always-stop-the-robot-motion/10887)

<div class="topic-metadata">

**Author:** [@dragolollo](https://tech-community.robotics.abb.com/u/dragolollo)\
**Replies:** 3\
**Last updated:** [September 27, 2022, 12:01pm UTC](https://tech-community.robotics.abb.com/t/does-an-interrupt-always-stop-the-robot-motion/10887 "2022-09-27T12:01:01Z")

</div>

Hello, I have this doubt: let say the robot is moving from point p1 to point p2; during this motion an interrupt occurs. In this situation, is the robot motion stopped until the trap routine has been executed or the mot…

---

## [Raise an Error from TRAP](https://tech-community.robotics.abb.com/t/raise-an-error-from-trap/7420)

<div class="topic-metadata">

**Author:** [@MNeuer](https://tech-community.robotics.abb.com/u/MNeuer)\
**Replies:** 10\
**Last updated:** [August 16, 2022, 7:22pm UTC](https://tech-community.robotics.abb.com/t/raise-an-error-from-trap/7420 "2022-08-16T19:22:21Z")

</div>

Hi to all, I have developed next script in order to modify by fliying the speed. As I am using an old robot version I have no “speedrefresh” and I have realized that I can not refresh speed value using “velset” if I do …

---

## [Execution of Trap Routine during movement of MoveAbsJ](https://tech-community.robotics.abb.com/t/execution-of-trap-routine-during-movement-of-moveabsj/10583)

<div class="topic-metadata">

**Author:** [@JHID](https://tech-community.robotics.abb.com/u/JHID)\
**Replies:** 1\
**Last updated:** [February 14, 2022, 3:58pm UTC](https://tech-community.robotics.abb.com/t/execution-of-trap-routine-during-movement-of-moveabsj/10583 "2022-02-14T15:58:47Z")

</div>

Hi all, ROOBOT STUDIO - USING 5500-27 I am trying to split a moveabsJ into several robtargets. Currently I have the following. How can I get the interrupt to trigger at the same time as the moveabsj & continually inte…

---

## [CONNECT TRAP execution error](https://tech-community.robotics.abb.com/t/connect-trap-execution-error/10205)

<div class="topic-metadata">

**Author:** [@SelenErsoy](https://tech-community.robotics.abb.com/u/SelenErsoy)\
**Replies:** 6\
**Last updated:** [May 27, 2021, 5:23pm UTC](https://tech-community.robotics.abb.com/t/connect-trap-execution-error/10205 "2021-05-27T17:23:10Z")

</div>

Dear ABB family, I am trying to execute a trap/interrupt function and I get fallowing error, see photo below. I think i declare de "CONNECT"in wrong place. Can someone give me a tip how to o it properly? Thank you a …

---

## [Nested interrupts](https://tech-community.robotics.abb.com/t/nested-interrupts/10136)

<div class="topic-metadata">

**Author:** [@dragolollo](https://tech-community.robotics.abb.com/u/dragolollo)\
**Replies:** 3\
**Last updated:** [May 5, 2021, 8:21am UTC](https://tech-community.robotics.abb.com/t/nested-interrupts/10136 "2021-05-05T08:21:35Z")

</div>

Hello, Is it possible to have nested interrupts? I would like to be able to detect an interrupt inside another interrupt (I’ve tried and looks like it’s not possible but myabe I’m doing something wrong). Thank you.

---

## [Trap routine not executing](https://tech-community.robotics.abb.com/t/trap-routine-not-executing/9257)

<div class="topic-metadata">

**Author:** [@csmith](https://tech-community.robotics.abb.com/u/csmith)\
**Replies:** 3\
**Last updated:** [January 7, 2020, 2:39pm UTC](https://tech-community.robotics.abb.com/t/trap-routine-not-executing/9257 "2020-01-07T14:39:22Z")

</div>

Hi, I want to setup a trap routine to execute when the robot runs into a Motion Error. In my motion task, I’m setting up the interrupt and tying it to a DO; PROC SetupInterrupts() IDelete intOverride; CONNE…

---

## [Interrupt in queue?](https://tech-community.robotics.abb.com/t/interrupt-in-queue/9022)

<div class="topic-metadata">

**Author:** [@Paba](https://tech-community.robotics.abb.com/u/Paba)\
**Replies:** 11\
**Last updated:** [August 14, 2019, 12:54pm UTC](https://tech-community.robotics.abb.com/t/interrupt-in-queue/9022 "2019-08-14T12:54:42Z")

</div>

Hello, i’ve got this little code example here: If b\_ObjectReady=TRUE THEN GoToPickPos; WaitUntil b\_PickPosReached=TRUE; PickObject; ELSE WaitUntil b\_ObjectReady=TRUE; GoToPickPos; WaitUntil b\_PickPosR…

---

## [AUTO / MAN mode best practices](https://tech-community.robotics.abb.com/t/auto-man-mode-best-practices/8302)

<div class="topic-metadata">

**Author:** [@AlexRad](https://tech-community.robotics.abb.com/u/AlexRad)\
**Replies:** 2\
**Last updated:** [June 12, 2018, 1:23pm UTC](https://tech-community.robotics.abb.com/t/auto-man-mode-best-practices/8302 "2018-06-12T13:23:50Z")

</div>

Hello, I am putting together a IRB 140 robot system with an indexing table.Everything is going to be controlled from a control panel, a PLC being master and the robot slave. There are two operating modes: AUTOMATIC and …

---

## [Trap routine is not called](https://tech-community.robotics.abb.com/t/trap-routine-is-not-called/8164)

<div class="topic-metadata">

**Author:** [@cerminek](https://tech-community.robotics.abb.com/u/cerminek)\
**Replies:** 4\
**Last updated:** [April 10, 2018, 7:13pm UTC](https://tech-community.robotics.abb.com/t/trap-routine-is-not-called/8164 "2018-04-10T19:13:28Z")

</div>

Hi all, we need to make an update to control sensors during one movement. The controler has RobotWare ver.5 and it has no multitasking. So we used Trap routine to detect if the sensor switches on during movent. Here is…

---

## [Is it possible to interrupt Motion Task from another Task by using MultiTasking?](https://tech-community.robotics.abb.com/t/is-it-possible-to-interrupt-motion-task-from-another-task-by-using-multitasking/7546)

<div class="topic-metadata">

**Author:** [@kazoo](https://tech-community.robotics.abb.com/u/kazoo)\
**Replies:** 1\
**Last updated:** [January 31, 2017, 9:42pm UTC](https://tech-community.robotics.abb.com/t/is-it-possible-to-interrupt-motion-task-from-another-task-by-using-multitasking/7546 "2017-01-31T21:42:57Z")

</div>

Hi, I’m thinking to interrupt a robot motion from another task by using MultiTasking. For example, if I run two Tasks at the same time, one is Motion Task, and the other is the Task that monitors the robot’s state/enviro…

---

## [Interrupt if TWO DO's are high](https://tech-community.robotics.abb.com/t/interrupt-if-two-dos-are-high/7207)

<div class="topic-metadata">

**Author:** [@SteveMob](https://tech-community.robotics.abb.com/u/SteveMob)\
**Replies:** 4\
**Last updated:** [June 17, 2016, 12:52pm UTC](https://tech-community.robotics.abb.com/t/interrupt-if-two-dos-are-high/7207 "2016-06-17T12:52:48Z")

</div>

Hello, I have a interrupt that is activated based on a Digital Output being set to high: ISignalDO do1, 1, sig1int; My question is, can I have this interrupt occur if TWO digital outputs are high? For example can I do…

---

## [Get actual Euler and Quaternion angles](https://tech-community.robotics.abb.com/t/get-actual-euler-and-quaternion-angles/7210)

<div class="topic-metadata">

**Author:** [@SteveMob](https://tech-community.robotics.abb.com/u/SteveMob)\
**Replies:** 4\
**Last updated:** [June 13, 2016, 9:41am UTC](https://tech-community.robotics.abb.com/t/get-actual-euler-and-quaternion-angles/7210 "2016-06-13T09:41:20Z")

</div>

Hello, I have a list of targets(Targets 001-127), and I have a TRAP routine set up to constantly update and print out the position (X,Y,Z) of the robot, even while it is in the middle of a move. My question is, can I al…

---

## [Trap Routines](https://tech-community.robotics.abb.com/t/trap-routines/5834)

<div class="topic-metadata">

**Author:** [@Ercan](https://tech-community.robotics.abb.com/u/Ercan)\
**Replies:** 2\
**Last updated:** [December 3, 2013, 7:58am UTC](https://tech-community.robotics.abb.com/t/trap-routines/5834 "2013-12-03T07:58:37Z")

</div>

Hello everyone, I have some questions for you. I want to learn somethng about trap routines. For exaple Why I must use trap routiens? or How can I use that? I need basic samples about this. I found a module aboot Trap r…
