# Turning MoveAbsJ movement into Targets

**URL:** <https://tech-community.robotics.abb.com/t/turning-moveabsj-movement-into-targets/10297>\
**Category:** RobotStudio\
**Created:** [July 22, 2021, 7:00am UTC](https://tech-community.robotics.abb.com/t/turning-moveabsj-movement-into-targets/10297 "2021-07-22T07:00:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JHID](https://avatars.discourse-cdn.com/v4/letter/j/dfb087/32.png) [@JHID](https://tech-community.robotics.abb.com/u/JHID)\
**Post date:** [July 22, 2021, 7:00am UTC](https://tech-community.robotics.abb.com/t/turning-moveabsj-movement-into-targets/10297/1 "2021-07-22T07:00:28Z")

</div>

If I run a simulation that contains a MoveAbsJ instruction, is there some way to turn this movement into targets. Perhaps 3 or 4 points within the movement?

ENDGOAL: Eliminate MoveAbsJ & replace with MoveLs for those targets.

---

<div class="post-metadata">

**Author:** ![lemster68](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/lemster68/32/1945_2.png) [@lemster68](https://tech-community.robotics.abb.com/u/lemster68)\
**Post date:** [July 22, 2021, 12:04pm UTC](https://tech-community.robotics.abb.com/t/turning-moveabsj-movement-into-targets/10297/2 "2021-07-22T12:04:37Z")

</div>

Use function CalcRobT

---

<div class="post-metadata">

**Author:** ![JHID](https://avatars.discourse-cdn.com/v4/letter/j/dfb087/32.png) [@JHID](https://tech-community.robotics.abb.com/u/JHID)\
**Post date:** [August 11, 2021, 12:26pm UTC](https://tech-community.robotics.abb.com/t/turning-moveabsj-movement-into-targets/10297/3 "2021-08-11T12:26:32Z")

</div>

Thanks Lee, I overlooked that in the Technical reference manual.

BR,  
J H

---

<div class="post-metadata">

**Author:** ![JHID](https://avatars.discourse-cdn.com/v4/letter/j/dfb087/32.png) [@JHID](https://tech-community.robotics.abb.com/u/JHID)\
**Post date:** [February 9, 2022, 8:19pm UTC](https://tech-community.robotics.abb.com/t/turning-moveabsj-movement-into-targets/10297/4 "2022-02-09T20:19:12Z")

</div>

Revisiting this, CalcRobT isn’t the function that would work. I would like to create multiple targets during a moveabsj movement & store it somewhere so that I can use the targets.

I think CRobT & a loop triggered by I/O would help. Im not sure where to place or call this loop
