Move to home position

Casius
✭
Hello, I'm trying to move the robot at home in AUTO. I want to compare the last position in auto with the position if someone moves the robot in manual mode.
To save in manual mode I use this:
IF OpMode()=OP_MAN_PROG AND MechUnitNotMoving=1 THEN
pTemp:=CJointT();
How can I save the position in AUTO before they switch to manual mode? I don't want to save the last position in auto if they only switch to auto and robot doesn't move.
I have multitasking option.
Does someone knew a better idea to move at home in a safe way?
Thank you!
To save in manual mode I use this:
IF OpMode()=OP_MAN_PROG AND MechUnitNotMoving=1 THEN
pTemp:=CJointT();
How can I save the position in AUTO before they switch to manual mode? I don't want to save the last position in auto if they only switch to auto and robot doesn't move.
I have multitasking option.
Does someone knew a better idea to move at home in a safe way?
Thank you!
0
Categories
- All Categories
- 5.6K RobotStudio
- 399 UpFeed
- 20 Tutorials
- 14 RobotApps
- 301 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 339 IRC5
- 67 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 832 RAPID Programming
- 14 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 107 Collaborative Robots
- 5 Job listings