Is it posible to monitor and limit axis motion in runtime?
JWempe
✭
I want a behavior like the following in my program:
At any point in operation, if external axis 1 receives a command to rotate backward by greater than some amount (say 500 degrees), throw an error or perform an interrupt.
Is there a function that compares the previous robot target with the current target in the motion planner? Or a function that can monitor the joint deltas (p2-p1) calculated in runtime by the robot's inverse kinematic model?
I realize I could achieve this using some sort of work around like assigning robot targets to variables like pCurrentTarget and pToTarget and comparing those, but this is suboptimal.
0
Answers
-
You can calculate the Joint Angles with CalcJointT and check if it is in reach, but you can also limit your axis for all movements in the motion configuration.
0 -
Why would it receive a "command" to move more than 500 degrees? It will move to where you have it programmed in the robtarget. Is there some external device passing targets to the robot?Lee Justice0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 798 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings