how can i Acknowledge error messages in trap routine?
Options
splata
✭
Hello.
i have a trap routine triggered by motion supervision signal, but i need acknowledge the collision in the trap routine and not in the flex pendant, the robot have this robotware options
i have a trap routine triggered by motion supervision signal, but i need acknowledge the collision in the trap routine and not in the flex pendant, the robot have this robotware options
644-3 Spanish
645-1 French
709-x DeviceNet
709-1 DeviceNet m/s
840-1 EtherNet/IP Fieldbus Adapter
608-1 World Zones
612-1 Path Offset
613-1 Collision Detection
616-1 PC Interface
this is my trap routine.
this is my trap routine.
TRAP Trap_Colision
var robtarget pActual_Colision;
StopMove;
pActual_Colision := CRobT(\Tool:=tGripper);
SetDO DOOpenGrip,1;
WaitTime 1;
StartMove;
GripLoad load0;
MoveL Offs(pActual_Colision,0,0,400),v300,z200,tGripper;
Colision:= true;
IDisable;
ENDTRAP
0
Comments
-
I personally would not load trap routines with so much code. I would normally just have tge trap routine to set a flag up, say in your case, collisionDetected, and then handle it in the main flow of the program.0
Categories
- All Categories
- 5.4K RobotStudio
- 385 UpFeed
- 15 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 243 ScreenMaker
- 2.7K Robot Controller
- 285 IRC5
- 47 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 748 RAPID Programming
- 15 Wizard Easy Programming
- 110 Collaborative Robots
- 3 Job listings