RobotStudio event

Robottarget


Hello!
I am wondering if it's possibel to write a program in rapid or through ProgramMaker that can write to a robottarget? For instance 10 position from a circle there I can put in the diameter.image
Arve S

Comments

  • Hi

    Here is some info how you could write to a robtarget


    MODULE
    Module1
    PERS pos myPos:=[0,0,0];
    PERS robtarget myTarget:=[[0,0,0],[1,0,0,0],[0,0,0,0],[9E+09,9E+09,9E+09,9E+09,9E+09,9E+09]];
    PROC main()
    !Example 1
    myPos.x:=10;
    myPos.y:=20;
    myPos.z:=30;
    myTarget.trans:=myPos;
    !Example 2
    myTarget.trans.x:=10;
    myTarget.trans.y:=20;
    myTarget.trans.z:=30;
    ENDPROC
    ENDMODULE
    Per Svensson
    Company Specialist
    ABB Automation Technology Products