Hi all!
I have a program that is used for recording positions with a robot and transmitting them to a PC. In order to record a position, the operator clicks a button in the GUI on the PC. A signal is sent to the robot program, and the robot program shows a message to the operator, and stops. The operator can now jog the robot to the desired position and resume. The position is then recorded and transmitted to the PC.
If the robot program contains any movements before the point where the operator jogs the robot, it doesn't seem to work. The operator can jog the robot, but the robot will always return to the point that it was jogged from, when the robot is started again.
This leads me to assume that the robot will always "remember" the latest target position in the program, and return to this position when resuming the program, if the operator jogged the robot while the program was halted. As long as the robot has not yet been moved by the robot program, there is no stored "target position", and the robot will not have any such point to move back to.
Is this correctly assumed? And if so, is there a way to clear the "target position", so that the robot will not move back to the original position when the program is started again?
Thanks in advance!
/RoboticsMan