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.
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
-
Good evening, PathLengthStart and PathLengthStop are very interesting commands, but they only work with MoveL commands. When I try to use them with PaintL commands, the result is always 0. Are there any commands that measure the length of the path with PaintL and SetBrush commands, or any functions within PaintPowerPac?0
-
PathLengthStartandPathLengthStopdo not function withPaintLinstructions within ABB RAPID. An ABB user forum discussion explicitly notes that using these functions withPaintLcommands consistently yields a result of 0.ThePaintLinstruction is part of the specialized Painting PowerPac software suite, which handles path generation and analysis differently from standard RAPID movements.Alternative MethodsInstead of using the RAPID functions for path measurement in the controller, you should use the analysis tools within the RobotStudio Painting PowerPac simulation environment:- Simulation Reports: The Painting PowerPac provides built-in tools that calculate essential data after a simulation run, such as estimated paint consumption, gun-on time, and coverage analysis. This information implicitly relies on accurate path length calculations managed internally by the software.
- Virtual Measurement: Within the RobotStudio environment, you can use the built-in measurement tools to check distances and paths on the CAD models.
- Synchronize to standard RAPID (Workaround): For testing standard path length functions, you could temporarily synchronize your
PaintLpaths to standardMoveLcommands in RobotStudio. While this would allowPathLengthGetto work, the resulting length might slightly differ from the actual paint path due to how the PowerPac handles specific process instructions and potential path optimizations.
The primary method for analyzing paint paths, including length, is through the comprehensive reporting features available in the ABB RobotStudio Painting PowerPac simulation.
0
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
- 364 IRC5
- 83 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
