how to bypass one instrcution in program!
How to temprary bypass one line in robot program by using teachpandent?
For example:
MoveJ P1,Vmax,fine,tool1;
MoveJ P2,Vmax,fine,tool1;
I need temprary jump first line and run second line,when i need i can put line 1 back to program so i don't want lose P1 point.
I trid to put "!" on front of the line change the line to comment,but I couldn't.
If anyone know how to do it pls let me know<
Thanks a lot!!!!!
0
Comments
-
Hi
Why don't you just use a IF instruction like bellow
where you control if P1 should be executed with a bool bJumpFirstLineIF bJumpFirstLine THEN
MoveJ P2,Vmax,fine,tool1;
ELSE
MoveJ P1,Vmax,fine,tool1;
MoveJ P2,Vmax,fine,tool1;
ENDIF
Per Svensson
Robotics and Vision Specialist
Consat Engineering0 -
Hi Jefftoron
Even easier is
IF FALSE MoveJ P1, vmax, fine, tool1;
Then you just need to change FALSE into TRUE to re-enable the line.
Bye
Claudio
0 -
thx a lot!0
Categories
- All Categories
- 5.5K RobotStudio
- 397 UpFeed
- 18 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 319 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 804 RAPID Programming
- 4 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings