how to bypass one instrcution in program!
Options
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.4K RobotStudio
- 384 UpFeed
- 14 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 247 ScreenMaker
- 2.7K Robot Controller
- 279 IRC5
- 46 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 734 RAPID Programming
- 15 Wizard Easy Programming
- 105 Collaborative Robots
- 3 Job listings