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.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