Forum Migration Notice
We're transitioning to a more modern community platform by the end of this year. Learn about the upcoming changes and what to expect.

Moving only one axis by RAPID

Hi,

is it possible to move just one axis of the robot?


Comments

  • Hi 
    yes use MoveabsJ command .for example this module moves axis one from 30 to -30 dgrees

    CONST jointtarget jpos10:=[[-30,0,0,0, 0, 0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]];
      CONST jointtarget jpos20:=[[ 30, 0, 0, 0, 0, 0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]];
    PROC main()
      MoveAbsJ jpos10NoEOffs, v1000T:= 1, z50, tool0;
      WaitTime 2;
      MoveAbsJ jpos20NoEOffs, v1000T:= 1, z50, tool0;
      WaitTime 2;
    ENDPROC
    ENDMODULE