Forum Migration Notice
We're transitioning to a more modern community platform by the end of this year. Learn about the upcoming changes and what to expect.
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.6K RobotStudio
- 401 UpFeed
- 21 Tutorials
- 15 RobotApps
- 306 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.9K Robot Controller
- 365 IRC5
- 84 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 854 RAPID Programming
- 37 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 110 Collaborative Robots
- 5 Job listings
