RobotStudio event

Teach Position

Hello Everyone

I wanted to ask how you guys solved this.
At the moment i have a program with a defined 0 point. From this point i target different positions with offsets. This works fine. Now what i want to do is teach the point 0. I want the Robot to move to a position then stop the program and let the operator move the robot manually to the correct position. Then start the Program again, the robot will then take this position as its point 0.
Could someone help me with this? i just cant solve this. Or does someone have an other idea?

Here my code:

MoveJ Offs(pPositioning,0,0,-20),v100,fine,tPenWObj:=obTable;
WaitRob InPos;
TPWrite "Pleese Teach Position!";
Stop;
pPositioning:=CRobT(Tool:=tPen WObj:=obTable);

Thanks for your help

Franklin


Comments

  • Moved to RobotWare forum.

    Henrik Berlin
    ABB
  • You may need to use "Stop NoRegain;" This allows you to move the robot away from the stop position before you continue.
     

    Liam