Get the name of the current tool
scottMHA
✭
Comments
-
That doesn't return the name? it just returns the frame, load and robheld0
-
Ah, sorry, reading too quickly. How about GetSysData?
0 -
my understanding of that function is that you can retrieve the values of a data type from the object name?
I want to just get the name of the current tool being used whilst jogging... must be a way as ABB display it when running the tool identify routine in the basefun tasks0 -
Using Example 1 & 2 from the manual -- it outputs the current tool as a string value:MODULE mMain
PERS tooldata curtoolvalue;
VAR string curtoolname;
PROC main()
GetSysData curtoolvalue \ObjectName := curtoolname;
TPWrite curtoolname;
ENDPROC
ENDMODULE
1
Categories
- All Categories
- 5.5K RobotStudio
- 394 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 309 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