# MoveAbsJ

**URL:** <https://tech-community.robotics.abb.com/t/moveabsj/142>\
**Category:** RobotStudio S4\
**Created:** [May 25, 2004, 4:31pm UTC](https://tech-community.robotics.abb.com/t/moveabsj/142 "2004-05-25T16:31:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bob\_Brown](https://avatars.discourse-cdn.com/v4/letter/b/8c91f0/32.png) [@Bob\_Brown](https://tech-community.robotics.abb.com/u/Bob_Brown)\
**Post date:** [May 25, 2004, 4:31pm UTC](https://tech-community.robotics.abb.com/t/moveabsj/142/1 "2004-05-25T16:31:25Z")

</div>

Has anyone used the MoveAbsJ command in RS. It seems that I am not able to get the MoveAbsJ to “Sync to Station”. I do have in the Instruction Template MoveAbsJ setup, so I am not sure what I may be missing.

Thanks in advance,

Bob

---

<div class="post-metadata">

**Author:** ![Thomas](https://avatars.discourse-cdn.com/v4/letter/t/e36b37/32.png) [@Thomas](https://tech-community.robotics.abb.com/u/Thomas)\
**Post date:** [June 4, 2004, 9:15am UTC](https://tech-community.robotics.abb.com/t/moveabsj/142/2 "2004-06-04T09:15:32Z")

</div>

Hello Bob,

Below please find a solution to your problem :

MoveAbsJ will not sync if the target is not declared as a named CONST jointtarget.

Below, module1 will sync to station but module2 wont.

MODULE module1

CONST jointtarget ThisWorks:=[[0,0,0,0,30,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]];

PROC routine1()

MoveAbsJ ThisWorks,v1000,fine,tool0WObj:=wobj0;

ENDPROC

ENDMODULE

MODULE module2

PROC routine2()

MoveAbsJ [[0,0,0,0,30,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]]NoEOffs,v1000,z50,tool0;

ENDPROC

ENDMODULE
