Is it possible to use RAPID to create a Robtarget projected from two existing RobTargets?
I am trying to create Robtarget defined inline from two existing robtargets, without offsetting usign tool, Frame or wObj.
0
Best Answer
-
Look here:
https://github.com/ernell/ABB-RAPID-UTILITY-LIBRARY/blob/master/Contributions/RobertAndersson/lib_rob.sys
particularly for function Midpos.Lee Justice0
Answers
-
0
-
You are quite welcome.Lee Justice0
-
@lemster68
Sorry to say, I am struggling to get to the complete solution I am after. I have two programmed positions (p01_FirstPos and p01_lastPos) and want to create a third position in front of the first and inline with the two positions. which i have done using your code, however I want the position to be 300mm in front, I assume its possible but cant work out the correct syntax to manipulate the target0 -
That is not my code. I suppose that you could figure the vector of those points and project that in the 300mm that you need. I am not that great with the math, though. Maybe there is another function in that library that you can use.Lee Justice0
-
been reading thru the manuals, Vector seems to the way to go but I am struggling with the syntax
0
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)
- 799 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings