Measure the path's length
Hello,
I would like to measure the length of the path that is followed by the tool...is it possible to do it in someway?
Thank you.
I would like to measure the length of the path that is followed by the tool...is it possible to do it in someway?
Thank you.
0
Comments
-
The distance function, Dist() will calculate the distance between two points.Lee Justice0
-
I know that function but it only gives the distance between the 2 point but not the lenght of the path that the tool follows from one point to the other0
-
I think that is the best that you have available. I can imagine that a joint move could have the tcp moving along a longer path than merely the straight line distance in cartesian space.Lee Justice0
-
There is a new function in RW 6.09. From the Rapid reference Manual2.132 PathLengthGet - Reads the current path-length value of the counter
Usage
PathLengthGet is used to read the current value of the counter that measures the path-length travelled by the robot’s TCP.
The returned value is in millimeters and is always measured relative the work object.
This function can be called at any time, but it is advisable that it is called when the robot is standing still to get a predictable behavior.
The path-length value is read for the TCP robot in actual or connected motion task.Example 1PathLengthStart;MoveJ p10, v1000, z50, L10tip;...MoveL p40, v1000, fine, L10tip;PathLengthStop;TPWrite "PathLengthGet: "+ValToStr(PathLengthGet());PathLengthReset;This example read out the value of the counter that measures the path-lengthtravelled by the robot’s TCP. The value is then written to the FlexPendant.2 -
Thank you!!!0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings