Tuesday, March 27, 2012

Reseting program pointer, ABB PC SDK


ResetProgramPointer method
Using ResetProgramPointer you can set the program pointer to the main entry point of the task.
VB:
aTask.ResetProgramPointer()

C#:
aTask.ResetProgramPointer();

Stop [ \NoRegain ], ABB RAPID



MoveL point_1, v1000, z10, tool1;
TPWrite “Jog the robot to the position for pallet corner 1”;
Stop \NoRegain;
p1_read := CRobT();
MoveL point_2, v500, z50, tool1;

Program execution stops with the robot at point_1. The operator jogs the robot to p1_read. For the next program start, the robot does not regain to point_1, so the position p1_read can be stored in the program