Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.
We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.
How to move by instruction to a joystick-edited position while executing a program in manual mode?
crhak
✭
Hi,
!In manual mode ROB reaches a Target.
1: MoveL RelTool(Target,0,0,45),vX,fine,tGripX\wobj:=wobjX;
2: Stop;
!Here is ROB moved by joystick to a new position then pushed button "Play" on Pendant.
3: pCurrentPos:=CRobT(\Tool:=tGripX\wobj:=wobjX); !New position saved.
4: MoveL pCurrentPos,vX,fine,tGripX\wobj:=wobjX; !Stay in new position.
5: MoveL Target2,vX,fine,tGripX\wobj:=wobjX; !Go to next position.
Problem: motion pointer remains on line 1 and ROB moves back to Target after "Play" instead of continuing from pCurrentPos to Target2.
Is there any other option than use "PP to Cursor" and start program from line 3?
Thank you, C.
!In manual mode ROB reaches a Target.
1: MoveL RelTool(Target,0,0,45),vX,fine,tGripX\wobj:=wobjX;
2: Stop;
!Here is ROB moved by joystick to a new position then pushed button "Play" on Pendant.
3: pCurrentPos:=CRobT(\Tool:=tGripX\wobj:=wobjX); !New position saved.
4: MoveL pCurrentPos,vX,fine,tGripX\wobj:=wobjX; !Stay in new position.
5: MoveL Target2,vX,fine,tGripX\wobj:=wobjX; !Go to next position.
Problem: motion pointer remains on line 1 and ROB moves back to Target after "Play" instead of continuing from pCurrentPos to Target2.
Is there any other option than use "PP to Cursor" and start program from line 3?
Thank you, C.
0
Best Answer
-
Hi Crhak,
You could try changing your stop command to:
Stop\NoRegain;
Typically when the program stops and the robot is moved, if the program is started again the robot will try to regain it's position, moving back to where it was when the stop occurred and then continuing onwards.
The \NoRegain option means that the robot does not try to go back to where it was when program execution was stopped. I frequently use this to teach the robot positions mid program where I want it to store positions and then execute using the new positions.
Good Luck,
Harry
0
Answers
-
Hi Harry, thank you very much for your help to less skilled people, that's exactly what I need. C.
0
Categories
- All Categories
- 5.7K RobotStudio
- 402 UpFeed
- 21 Tutorials
- 16 RobotApps
- 307 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 251 ScreenMaker
- 2.9K Robot Controller
- 368 IRC5
- 92 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 859 RAPID Programming
- 43 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 111 Collaborative Robots
- 5 Job listings
