Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.

Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.

We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.

MoveAbsJ

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

Comments


  • 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
    Thomas Andersson
    Support Engineer
    ABB Automation Technologies
    ATMA/RO/AIS