Measure traveltime and simulate moves between targets automaticlly
nordhv
✭
I´m trying to create an add-In to RobotStudio in C#, there I´m trying to simulate the robot to move between all targets and at the same time measure the time it takes for the robot to moves betweeen each pair of target. Does some one know how to do it? Or, if it possible to solve it in another way. The result need to be the time it takes to go from one target to all other targets, for each targets.
0
Comments
-
You can set a clock in the RAPID code that can do the trick for you. Set an output high every time it reaches a target which then triggers an interrupt and a trap routine to store the current value of the clock.0
-
But I´m just using c# in the add-in, not RAPID. I have tried out the Stopwatch method in C# but it doesn´t measure the correct time because it include the time to execute the commands and not only the robotmoves.Does anyone know how to simulate a robotpath and measure the time between every target, automatic in C# add-in? I´ve tried the method MoveTo() but it doesn´t work..I create a RsMoveInstruction for every target and use MoveTo() for each moveinstuction but it doesn´t work. I can create a path automatic but need help to fix the problem to move the robot and measure the time.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)
- 800 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings